WO2023273532A1 - 服务治理方法、装置、服务器及计算机存储介质 - Google Patents

服务治理方法、装置、服务器及计算机存储介质 Download PDF

Info

Publication number
WO2023273532A1
WO2023273532A1 PCT/CN2022/087859 CN2022087859W WO2023273532A1 WO 2023273532 A1 WO2023273532 A1 WO 2023273532A1 CN 2022087859 W CN2022087859 W CN 2022087859W WO 2023273532 A1 WO2023273532 A1 WO 2023273532A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
background business
group
business
target
Prior art date
Application number
PCT/CN2022/087859
Other languages
English (en)
French (fr)
Inventor
熊铭
刘利
张斌斌
闫飞
周东琳
Original Assignee
中国民航信息网络股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国民航信息网络股份有限公司 filed Critical 中国民航信息网络股份有限公司
Publication of WO2023273532A1 publication Critical patent/WO2023273532A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Definitions

  • the present application relates to the field of computer technology, and in particular to a service management method, device, server and computer storage medium.
  • the airline's service governance solution is to independently manage each background business service, and each background business service cannot be efficiently managed through manual maintenance.
  • the present application provides a service management method, device, server and computer storage medium for efficient service management.
  • the first aspect of this application provides a service governance method, including:
  • For each background business service group classify each background business service in the background business service group to obtain a target background business group;
  • For each background business service in the target background business group generate the service corresponding to the background business service in the target background business group according to the monitoring data corresponding to the background business service in the target background business group governance strategy.
  • each background business service in the target background business group according to the monitoring data corresponding to the background business service in the target background business group, generate the After the service governance policy corresponding to the background business service, it also includes:
  • a governance policy template of the target background business group is generated.
  • the method before generating the governance policy template of the target background business group according to the service governance policies corresponding to the background business services in all the target background business groups, the method further includes:
  • the prompt information is used to prompt the user whether to continue to generate a new governance policy template
  • the feedback information is used to generate a new governance policy template for the target background business group or reuse a historical governance policy template for the target background business group;
  • the service governance method also includes:
  • grading each background business service in the background business service group to obtain a target background business group includes:
  • a target background business group is obtained.
  • the governance policy template of the target background business group corresponding to the current business requirement further includes:
  • an alarm message is generated; wherein the alarm message is used to prompt the user to adjust the governance policy template of the target background service group.
  • the governance policy template of the target background business group corresponding to the current business requirement further includes:
  • an alarm message is generated; wherein the alarm message is used to prompt the user to adjust the governance policy template of the target background service group.
  • the second aspect of the present application provides a service management device, including:
  • the obtaining unit is used to obtain monitoring data of all background business services currently running;
  • a grouping unit configured to group all the background business services according to the interface type of each background business service to obtain at least one background business service group;
  • a grading unit configured to classify each background business service in the background business service group for each background business service group, to obtain a target background business group
  • the first generation unit is configured to, for each background business service in the target background business group, generate the background business service in the target background business group according to the monitoring data corresponding to the background business service in the target background business group The service governance policy corresponding to the background business service.
  • the service management device also includes:
  • the second generation unit is used to generate the governance policy template of the target background business group according to the service governance policies corresponding to the background business services in all the target background business groups.
  • the service management device also includes:
  • a judging unit configured to judge whether the historical governance policy template of the target background business group exists in the database
  • the third generating unit is configured to generate prompt information if the judging unit judges that the historical management policy template of the target background business group is stored in the database; wherein, the prompt information is used to prompt the user whether to continue generating new governance policy template;
  • a response unit configured to respond to feedback information from users; wherein, the feedback information is used to generate a new governance policy template for the target background business group or reuse a historical governance policy template for the target background business group;
  • An activating unit configured to activate the second generating unit to execute the process according to all the target background business groups if the judging unit judges that there is no historical governance policy template of the target background business group stored in the database.
  • the service management device also includes:
  • a receiving unit configured to receive current business requirements
  • the selection unit is configured to select and take effect the governance policy template of the target background business group corresponding to the current business requirement.
  • the grading unit includes:
  • the first determining unit is configured to, for each of the background business services in the background business service group, determine the service architecture of the background business service and the background business service according to the monitoring data of the background business service the importance of;
  • a grading subunit configured to determine the service grading of the background business service according to the service architecture of the background business service, the importance of the background business service, the traffic of the background business service, and a preset grading specification;
  • the second determining unit is configured to determine the service level of each background business service in the background business service group to obtain a target background business group.
  • the service management device also includes:
  • the first monitoring unit is used to monitor the operation of the governance policy template of the target background business group applied by the service API gateway, and determine whether the operation of the governance policy template of the target background business group meets expectations;
  • the first alarm unit is configured to generate alarm information if the first monitoring unit judges that the operation of the governance policy template of the target background business group does not meet expectations; wherein the alarm information is used to prompt the user Adjust the governance policy template of the target background business group.
  • the service management device also includes:
  • the second monitoring unit monitors the running status of the governance policy template of the target background business group applied to the business background business service, and judges whether the running status of the governance policy template of the target background business group meets expectations;
  • the second alarm unit generates alarm information if the second monitoring unit judges that the operation of the governance policy template of the target background business group does not meet expectations; wherein the alarm information is used to prompt the user to adjust the Describe the governance policy template for the target back office business group.
  • the third aspect of the present application provides a server, including:
  • processors one or more processors
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors are made to implement the service management method according to any one of the first aspect.
  • a fourth aspect of the present application provides a computer storage medium on which a computer program is stored, wherein, when the computer program is executed by a processor, the service management method described in any one of the first aspect is implemented.
  • the service management method includes: firstly, obtaining the monitoring data of all background business services currently running; then, according to each The interface type of the background business service is grouped into all the background business services to obtain at least one background business service group; afterward, for each of the background business service groups, the background business service group in the Each background business service is graded to obtain the target background business group; finally, for each background business service in the target background business group, according to the monitoring data corresponding to the background business service in the target background business group , generating a service governance policy corresponding to the background business service in the target background business group. So as to achieve the purpose of efficient service management.
  • FIG. 1 is a specific flowchart of a service governance method provided in an embodiment of the present application
  • FIG. 2 is a flowchart of a method for classifying services provided by another embodiment of the present application.
  • FIG. 3 is a flowchart of a method for generating a governance policy template provided by another embodiment of the present application.
  • FIG. 4 is a schematic diagram of a service management device provided by another embodiment of the present application.
  • FIG. 5 is a schematic diagram of a server implementing a service governance method provided by another embodiment of the present application.
  • the term “comprise” and its variations are open-ended, ie “including but not limited to”.
  • the term “based on” is “based at least in part on”.
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one further embodiment”; the term “some embodiments” means “at least some embodiments.” Relevant definitions of other terms will be given in the description below.
  • the monitoring data of background business at least includes: business monitoring, traffic monitoring, system monitoring data and service topology map, which is not limited here.
  • the service information of all currently running background business services can also be obtained from the business registration center module.
  • the service information includes at least the service name and the number of service instances.
  • the position of the background business service in the overall business service and the associated background business service can also be understood through the service map of the monitoring system module, and can Perform unified maintenance on all background services on the UI interface.
  • the monitoring data of all currently running background business services can be acquired at intervals of a preset period of time; it can also be executed when a new background business service is added.
  • the monitoring data of all background business services currently running can also be manually started by the staff on the UI interface to obtain the monitoring data of all background business services currently running, which is not limited here.
  • each background business service and gateway will register the service to the business registration center module and establish a healthy heartbeat detection.
  • the business registration center module is used for service registration and service discovery, and maintains the background business service instance information. Subsequent UI modules pass This module automatically obtains business services running in the background.
  • S102 Group all background business services according to the interface type of each background business service to obtain at least one background business service group.
  • the background business service in each background business service group will be regarded as a business service, for example: the one-way ticket query interface and the multi-way ticket query structure are unified and classified as the ticket query interface, even if these interfaces are not in the In a microservice or in a monolithic project.
  • the background business service can be divided into 11 levels, but not limited to, among which level 1 is the highest level of platform business service, level 10 is the lowest level of platform business service, and level 0 means that the level of platform business service has not yet been graded.
  • this pair of background business service groups is used as the target background business group.
  • an implementation of step S103, as shown in Figure 2 includes:
  • the way to determine the importance of background business services can be, but not limited to, in the business structure, there are B and C background business services that need the cooperation of A background business service, D background business service does not have a relationship with other background business services, then A background business service Business services are more important; if it is found through the monitoring data that the call volume of A’s background business service is particularly large, A’s background business service is also more important; it is more important for the product manager to define the background business service, etc.
  • the methods are very diverse and will not be done here limited.
  • S202 Determine the service classification of the background business service according to the service structure of the background business service, the importance of the background business service, the traffic of the background business service, and a preset classification specification.
  • the preset grading standard is considered to be preset and can be adjusted, which is not limited here.
  • step S104 further includes:
  • a governance policy template of the target background business group is generated.
  • Each template is a collection of service governance policies of all levels. There are 10 policy levels in each template, from level 1 to level 10, corresponding to service levels 1 to 10.
  • step S302 is executed; if it is judged that the historical governance policy template of the target background business group is not stored in the database, then step S304 is executed.
  • the prompt information is used to prompt the user whether to continue to generate a new governance policy template.
  • the feedback information is used to generate a new governance policy template of the target background business group or reuse a historical governance policy template of the target background business group.
  • an implementation of the service governance method further includes:
  • the governance policy template of the target background business group corresponding to the current business demand may be but not limited to push the governance policy template of the target background business group corresponding to the current business demand to the business configuration center through the policy validation module, and the business API gateway of the background business service, A business service and B business service, etc.
  • the service will automatically pull the governance policy template of the target background business group corresponding to the current business requirement, and automatically and independently take effect in each system.
  • an implementation of the service governance method further includes:
  • the alarm information is used to prompt the user to adjust the governance policy template of the target background business group.
  • an implementation of the service governance method further includes:
  • the alarm information is used to prompt the user to adjust the governance policy template of the target background business group.
  • this application provides a service management method: first, obtain the monitoring data of all background business services currently running; then, group all background business services according to the interface type of each background business service, and obtain At least one background business service group; then, for each background business service group, classify each background business service in the background business service group to obtain the target background business group; finally, for the target background business group For each background business service in the target background business group, a service governance policy corresponding to the background business service in the target background business group is generated according to the monitoring data corresponding to the background business service in the target background business group. So as to achieve the purpose of efficient service management.
  • each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
  • the computer program codes for performing the operations of the present application may be written in one or more programming languages or combinations thereof, including but not limited to object-oriented programming languages—such as Python, Java, C++, etc., Also included are conventional procedural programming languages - such as the "C" language or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).
  • FIG. 4 Another embodiment of the present application provides a service management device, as shown in Figure 4, including:
  • the obtaining unit 401 is configured to obtain monitoring data of all currently running background business services.
  • the grouping unit 402 is configured to group all background business services according to the interface type of each background business service to obtain at least one background business service group.
  • the grading unit 403 is configured to, for each background business service group, classify each background business service in the background business service group to obtain a target background business service group.
  • an implementation manner of the grading unit 403 includes:
  • the first determining unit is configured to determine the service structure of the background business service and the importance of the background business service for each background business service in the background business service group according to the monitoring data of the background business service;
  • the classification sub-unit is used to determine the service classification of the background business service according to the service structure of the background business service, the importance of the background business service, the traffic of the background business service and the preset classification specification;
  • the second determining unit is configured to determine the service classification of each background business service in the background business service group to obtain a target background business group.
  • the first generating unit 404 is configured to, for each background business service in the target background business group, generate the corresponding background business service in the target background business group according to the monitoring data corresponding to the background business service in the target background business group service governance strategy.
  • an implementation of the service management device further includes:
  • the judging unit is used for judging whether the historical management policy template of the target background business group exists in the database.
  • the third generating unit is configured to generate prompt information if the judging unit judges that the historical management policy template of the target background business group is stored in the database.
  • the prompt information is used to prompt the user whether to continue to generate a new governance policy template.
  • the response unit is used to respond to the user's feedback information.
  • the feedback information is used to generate a new governance policy template of the target background business group or reuse a historical governance policy template of the target background business group.
  • the activation unit is used to activate the second generation unit to perform service governance corresponding to the background business services in all target background business groups if the judging unit judges that there is no historical governance policy template of the target background business group in the database Policy, generate the governance policy template step of the target background business group.
  • an implementation of the service management device further includes:
  • the receiving unit is configured to receive the current service requirement.
  • the selection unit is used to select and take effect the governance policy template of the target background business group corresponding to the current business requirement.
  • an implementation of the service management device further includes:
  • the second generating unit is configured to generate a governance policy template of the target background business group according to the service governance policies corresponding to the background business services in all target background business groups.
  • an implementation of the service management device further includes:
  • the first monitoring unit is configured to monitor the running status of the governance policy template of the target background business group applied by the service API gateway, and determine whether the running status of the governance policy template of the target background business group meets expectations.
  • the first alarm unit is configured to generate alarm information if the first monitoring unit determines that the operation of the governance policy template of the target background business group does not meet expectations.
  • the alarm information is used to prompt the user to adjust the governance policy template of the target background business group.
  • an implementation of the service management device further includes:
  • the second monitoring unit monitors the running status of the governance policy template of the target background business group of the business background business service application, and judges whether the running status of the governance policy template of the target background business group meets expectations.
  • the second alarm unit generates alarm information if the second monitoring unit judges that the operation of the governance policy template of the target background business group does not meet expectations.
  • the alarm information is used to prompt the user to adjust the governance policy template of the target background business group.
  • this application provides a service management device: first, the acquisition unit 401 acquires the monitoring data of all background business services currently running; then, the grouping unit 402 according to the interface type of each background business service Business services are grouped to obtain at least one background business service group; after that, the grading unit 403 classifies each background business service in the background business service group for each background business service group to obtain the target background business service group Finally, for each background business service in the target background business group, the first generation unit 404 generates the corresponding background business service in the target background business group according to the monitoring data corresponding to the background business service in the target background business group. service governance strategy. So as to achieve the purpose of efficient service management.
  • the units involved in the embodiments described in the present application may be implemented by means of software or by means of hardware.
  • the name of the unit does not constitute a limitation of the unit itself under certain circumstances, for example, the first obtaining unit may also be described as "a unit for obtaining at least two Internet Protocol addresses".
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSPs Application Specific Standard Products
  • SOCs System on Chips
  • CPLD Complex Programmable Logical device
  • FIG. 5 Another embodiment of the present application provides a server, as shown in Figure 5, including:
  • One or more processors 501 are included in the Appendix.
  • the storage device 502 stores one or more programs thereon.
  • the one or more processors 501 When the one or more programs are executed by the one or more processors 501, the one or more processors 501 are made to implement the service management method as described in any one of the foregoing embodiments.
  • Another embodiment of the present application provides a computer storage medium, on which a computer program is stored, wherein, when the computer program is executed by a processor, the service management method as described in any one of the above embodiments is implemented.
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage or any suitable combination of the foregoing.
  • the computer-readable medium mentioned above in this application may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
  • a computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, 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), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.
  • Another embodiment of the present application provides a computer program product, which is used to execute the service management method described in any one of the above when the computer program product is executed.
  • the processes described above with reference to the flowcharts can be implemented as computer software programs.
  • the embodiments of the present application include a computer program product, which includes a computer program carried on a non-transitory computer readable medium, where the computer program includes program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from a network via communication means, or installed from a storage means, or installed from a ROM.
  • the processing device the above-mentioned functions defined in the methods of the embodiments of the present application are executed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Engineering & Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本申请提供了一种服务治理方法、装置、服务器及计算机存储介质,所述服务治理方法包括:首先,获取当前运行的所有后台业务服务的监控数据;然后,根据每一个所述后台业务服务的接口类型,对所有所述后台业务服务进行分组,得到至少一个后台业务服务组别;之后,针对每一个所述后台业务服务组别,对所述后台业务服务组别中的每一个后台业务服务进行分级,得到目标后台业务组别;最终,针对所述目标后台业务组别中的每一个后台业务服务,根据所述目标后台业务组别中的后台业务服务对应的监控数据,生成所述目标后台业务组别中的后台业务服务对应的服务治理策略。从而达到了高效的进行服务治理的目的。

Description

服务治理方法、装置、服务器及计算机存储介质
本发明要求于2021年6月30日提交中国专利局、申请号为202110741215.9、发明名称为“服务治理方法、装置、服务器及计算机存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机技术领域,特别涉及一种服务治理方法、装置、服务器及计算机存储介质。
背景技术
随着航空业的蓬勃发展,航空业务的业务范围越来越广,业务深度越来越复杂,航空公司通过微服务化思想满足业务的范围扩张、深度开发和快速迭代,导致后台业务服务相对独立的同时,后台业务服务数量越来越多,后台业务服务架构越来越复杂。
现有技术中,航空公司的服务治理方案是各个后台业务服务独立治理,各后台业务服务通过人工维护,并不能高效的进行服务治理。
发明内容
有鉴于此,本申请提供一种服务治理方法、装置、服务器及计算机存储介质,用于高效的进行服务治理。
本申请第一方面提供了一种服务治理方法,包括:
获取当前运行的所有后台业务服务的监控数据;
根据每一个所述后台业务服务的接口类型,对所有所述后台业务服务进行分组,得到至少一个后台业务服务组别;
针对每一个所述后台业务服务组别,对所述后台业务服务组别中的每一个后台业务服务进行分级,得到目标后台业务组别;
针对所述目标后台业务组别中的每一个后台业务服务,根据所述目标后台 业务组别中的后台业务服务对应的监控数据,生成所述目标后台业务组别中的后台业务服务对应的服务治理策略。
可选的,所述针对所述目标后台业务组别中的每一个后台业务服务,根据所述目标后台业务组别中的后台业务服务对应的监控数据,生成所述目标后台业务组别中的后台业务服务对应的服务治理策略之后,还包括:
根据所有所述目标后台业务组别中的后台业务服务对应的服务治理策略,生成所述目标后台业务组别的治理策略模板。
可选的,所述根据所有所述目标后台业务组别中的后台业务服务对应的服务治理策略,生成所述目标后台业务组别的治理策略模板之前,还包括:
判断数据库中是否存有所述目标后台业务组别的历史治理策略模板;
若判断出数据库中存有所述目标后台业务组别的历史治理策略模板,则生成提示信息;其中,所述提示信息用于提示用户是否继续生成新的治理策略模板;
响应用户的反馈信息;其中,所述反馈信息用于为生成所述目标后台业务组别的新的治理策略模板或复用所述目标后台业务组别的历史治理策略模板;
若判断出数据库中没有存有所述目标后台业务组别的历史治理策略模板,则执行所述根据所有所述目标后台业务组别中的后台业务服务对应的服务治理策略,生成所述目标后台业务组别的治理策略模板步骤。
可选的,所述服务治理方法,还包括:
接收到当前业务需求;
选取并生效所述当前业务需求对应的目标后台业务组别的治理策略模板。
可选的,所述对所述后台业务服务组别中的每一个后台业务服务进行分级,得到目标后台业务组别,包括:
针对所述后台业务服务组别中的每一个所述后台业务服务,根据所述后台业务服务的监控数据,确定所述后台业务服务的服务架构以及所述后台业务服务的重要性;
根据所述后台业务服务的服务架构、所述后台业务服务的重要性、所述后台业务服务的流量以及预设的分级规范,确定所述后台业务服务的服务分级;
在确定所述后台业务服务组别中的每一个所述后台业务服务的服务分级,得到目标后台业务组别。
可选的,所述选取并生效所述当前业务需求对应的目标后台业务组别的治理策略模板之后,还包括:
监控业务API网关应用所述目标后台业务组别的治理策略模板的运行情况,判断所述目标后台业务组别的治理策略模板的运行情况是否符合预期;
若判断出所述目标后台业务组别的治理策略模板的运行情况不符合预期,则生成告警信息;其中,所述告警信息用于提示用户调整所述目标后台业务组别的治理策略模板。
可选的,所述选取并生效所述当前业务需求对应的目标后台业务组别的治理策略模板之后,还包括:
监控业务后台业务服务应用所述目标后台业务组别的治理策略模板的运行情况,判断所述目标后台业务组别的治理策略模板的运行情况是否符合预期;
若判断出所述目标后台业务组别的治理策略模板的运行情况不符合预期,则生成告警信息;其中,所述告警信息用于提示用户调整所述目标后台业务组别的治理策略模板。
本申请第二方面提供了一种服务治理装置,包括:
获取单元,用于获取当前运行的所有后台业务服务的监控数据;
分组单元,用于根据每一个所述后台业务服务的接口类型,对所有所述后台业务服务进行分组,得到至少一个后台业务服务组别;
分级单元,用于针对每一个所述后台业务服务组别,对所述后台业务服务组别中的每一个后台业务服务进行分级,得到目标后台业务组别;
第一生成单元,用于针对所述目标后台业务组别中的每一个后台业务服务,根据所述目标后台业务组别中的后台业务服务对应的监控数据,生成所述目标后台业务组别中的后台业务服务对应的服务治理策略。
可选的,所述服务治理装置,还包括:
第二生成单元,用于根据所有所述目标后台业务组别中的后台业务服务对 应的服务治理策略,生成所述目标后台业务组别的治理策略模板。
可选的,所述服务治理装置,还包括:
判断单元,用于判断数据库中是否存有所述目标后台业务组别的历史治理策略模板;
第三生成单元,用于若所述判断单元判断出,数据库中存有所述目标后台业务组别的历史治理策略模板,则生成提示信息;其中,所述提示信息用于提示用户是否继续生成新的治理策略模板;
响应单元,用于响应用户的反馈信息;其中,所述反馈信息用于为生成所述目标后台业务组别的新的治理策略模板或复用所述目标后台业务组别的历史治理策略模板;
激活单元,用于若所述判断单元判断出,数据库中没有存有所述目标后台业务组别的历史治理策略模板,则激活所述第二生成单元执行所述根据所有所述目标后台业务组别中的后台业务服务对应的服务治理策略,生成所述目标后台业务组别的治理策略模板步骤。
可选的,所述服务治理装置,还包括:
接收单元,用于接收到当前业务需求;
选取单元,用于选取并生效所述当前业务需求对应的目标后台业务组别的治理策略模板。
可选的,所述分级单元,包括:
第一确定单元,用于针对所述后台业务服务组别中的每一个所述后台业务服务,根据所述后台业务服务的监控数据,确定所述后台业务服务的服务架构以及所述后台业务服务的重要性;
分级子单元,用于根据所述后台业务服务的服务架构、所述后台业务服务的重要性、所述后台业务服务的流量以及预设的分级规范,确定所述后台业务服务的服务分级;
第二确定单元,用于在确定所述后台业务服务组别中的每一个所述后台业务服务的服务分级,得到目标后台业务组别。
可选的,所述服务治理装置,还包括:
第一监控单元,用于监控业务API网关应用所述目标后台业务组别的治理策略模板的运行情况,判断所述目标后台业务组别的治理策略模板的运行情况是否符合预期;
第一告警单元,用于若所述第一监控单元判断出,所述目标后台业务组别的治理策略模板的运行情况不符合预期,则生成告警信息;其中,所述告警信息用于提示用户调整所述目标后台业务组别的治理策略模板。
可选的,所述服务治理装置,还包括:
第二监控单元,监控业务后台业务服务应用所述目标后台业务组别的治理策略模板的运行情况,判断所述目标后台业务组别的治理策略模板的运行情况是否符合预期;
第二告警单元,若所述第二监控单元判断出,所述目标后台业务组别的治理策略模板的运行情况不符合预期,则生成告警信息;其中,所述告警信息用于提示用户调整所述目标后台业务组别的治理策略模板。
本申请第三方面提供了一种服务器,包括:
一个或多个处理器;
存储装置,其上存储有一个或多个程序;
当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如第一方面任意一项所述的服务治理方法。
本申请第四方面提供了一种计算机存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如第一方面任意一项所述的服务治理方法。
由以上方案可知,本申请提供了一种服务治理方法、装置、服务器及计算机存储介质,所述服务治理方法包括:首先,获取当前运行的所有后台业务服务的监控数据;然后,根据每一个所述后台业务服务的接口类型,对所有所述后台业务服务进行分组,得到至少一个后台业务服务组别;之后,针对每一个所述后台业务服务组别,对所述后台业务服务组别中的每一个后台业务服务进行分级,得到目标后台业务组别;最终,针对所述目标后台业务组别中的每一个后台业务服务,根据所述目标后台业务组别中的后台业务服务对应的监控数 据,生成所述目标后台业务组别中的后台业务服务对应的服务治理策略。从而达到了高效的进行服务治理的目的。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。
图1为本申请实施例提供的一种服务治理方法的具体流程图;
图2为本申请另一实施例提供的一种服务分级的方法的流程图;
图3为本申请另一实施例提供的一种生成治理策略模板的方法的流程图;
图4为本申请另一实施例提供的一种服务治理装置的示意图;
图5为本申请另一实施例提供的一种实现服务治理方法的服务器的示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本申请中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本申请中提及的“一个”、“多个”的修饰是示意性而非限制性 的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本申请实施例提供了一种服务治理方法,如图1所示,具体包括以下步骤:
S101、获取当前运行的所有后台业务服务的监控数据。
其中,后台业务的监控数据至少包括:业务监控、流量监控、系统监控数据以及服务拓扑图,此处不做限定。并且,在从监控体系获取监控数据的同时还可以从业务注册中心模块获取当前当前运行的所有后台业务服务的服务信息,服务信息至少包括服务名称、服务实例数量。
可以理解的是,在对后台业务服务进行监控的过程中,还可以通过监控体系模块的服务括扑图了解后台业务服务在整体业务服务中所处的位置以及所关联的后台业务服务,并且可以在UI界面上对所有后台业务进行统一维护。
需要说明的是,本申请再具体实现过程中,可以是每隔一段预设时间开始执行获取当前运行的所有后台业务服务的监控数据;也可以是有新的后台业务服务添加时,开始执行获取当前运行的所有后台业务服务的监控数据,也可以是工作人员在UI界面手动开始获取当前运行的所有后台业务服务的监控数据,此处不做限定。
其中,每一个后台业务服务、网关都会将服务注册到业务注册中心模块并建立健康心跳检测,该业务注册中心模块用于服务注册和服务发现,维护了后台业务服务实例信息,后续的UI模块通过该模块自动获得后台运行的业务服务。
S102、根据每一个后台业务服务的接口类型,对所有后台业务服务进行分组,得到至少一个后台业务服务组别。
需要说明的是,每一个后台业务服务组别中的后台业务服务会被当做一种业务服务,例如:将单程机票查询接口和多程机票查询结构统一归纳分类为机票查询接口,即使这些接口不在一个微服务中或者在一个单体项目中。
S103、针对每一个后台业务服务组别,对后台业务服务组别中的每一个后台业务服务进行分级,得到目标后台业务组别。
需要说明的是,可以是但不限于将后台业服务划分为11个级别,其中1 级台业务服务的级别最高,10级台业务服务的级别最低,0级表示台业务服务还未进行分级。
具体的,在对后台业务服务组别中的每一个后台业务服务进行分级后,将这个对后台业务服务组别,作为目标后台业务组别。
可选的,在申请的另一实施例中,步骤S103的一种实施方式,如图2所示,包括:
S201、针对后台业务服务组别中的每一个后台业务服务,根据后台业务服务的监控数据,确定后台业务服务的服务架构以及后台业务服务的重要性。
确定后台业务服务的重要性的方式可以是但不限于,在业务架构上有B、C后台业务服务都需要A后台业务服务配合,D后台业务服务不和其它后台业务服务发生关系,那么A后台业务服务就比较重要;如果通过监控数据发现A后台业务服务的调用量特别大,A后台业务服务也比较重要;由产品经理对后台业务服务定义比较重要等,方式十分多样化,此处不做限定。
S202、根据后台业务服务的服务架构、后台业务服务的重要性、后台业务服务的流量以及预设的分级规范,确定后台业务服务的服务分级。
其中,预设的分级规范为认为预先设置的,且是可以进行调整的,此处不做限定。
S203、在确定后台业务服务组别中的每一个后台业务服务的服务分级,得到目标后台业务组别。
S104、针对目标后台业务组别中的每一个后台业务服务,根据目标后台业务组别中的后台业务服务对应的监控数据,生成目标后台业务组别中的后台业务服务对应的服务治理策略。
可选的,在本申请的另一实施例中,步骤S104之后的一种实施方式,还包括:
根据所有目标后台业务组别中的后台业务服务对应的服务治理策略,生成目标后台业务组别的治理策略模板。
例如:工作日服务治理策略模板、大促活动服务治理策略模板等。每个模板都是含所有等级的服务治理策略的集合,每个模板中的策略级别有10级, 从1级到10级,对应服务分级的1到10级。
可以理解的是,在本申请的实际应用过程中,在数据库中还可能存有目标后台业务组别的历史治理策略模板,因此在执行根据所有目标后台业务组别中的后台业务服务对应的服务治理策略,生成目标后台业务组别的治理策略模板之前,如图3所示,还包括:
S301、判断数据库中是否存有目标后台业务组别的历史治理策略模板。
具体的,若判断出数据库中存有目标后台业务组别的历史治理策略模板,则执行步骤S302;若判断出数据库中没有存有目标后台业务组别的历史治理策略模板,则执行步骤S304。
S302、生成提示信息。
其中,提示信息用于提示用户是否继续生成新的治理策略模板。
S303、响应用户的反馈信息。
其中,反馈信息用于为生成目标后台业务组别的新的治理策略模板或复用目标后台业务组别的历史治理策略模板。
S304、根据所有目标后台业务组别中的后台业务服务对应的服务治理策略,生成目标后台业务组别的治理策略模板。
可选的,在本申请的另一实施例中,服务治理方法的一种实施方式,还包括:
接收到当前业务需求。
选取并生效当前业务需求对应的目标后台业务组别的治理策略模板。
具体的,可以是但不限于通过策略生效模块将当前业务需求对应的目标后台业务组别的治理策略模板推送到业务配置中心,后台业务服务的业务API网关、A业务服务和B业务服务等业务服务会自动拉取当前业务需求对应的目标后台业务组别的治理策略模板,并在各自系统自动独立生效。
可选的,在本申请的另一实施例中,服务治理方法的一种实施方式,还包括:
监控业务API网关应用目标后台业务组别的治理策略模板的运行情况,判断目标后台业务组别的治理策略模板的运行情况是否符合预期。
若判断出目标后台业务组别的治理策略模板的运行情况不符合预期,则生成告警信息。
其中,告警信息用于提示用户调整目标后台业务组别的治理策略模板。
可选的,在本申请的另一实施例中,服务治理方法的一种实施方式,还包括:
监控业务后台业务服务应用目标后台业务组别的治理策略模板的运行情况,判断目标后台业务组别的治理策略模板的运行情况是否符合预期。
若判断出目标后台业务组别的治理策略模板的运行情况不符合预期,则生成告警信息。
其中,告警信息用于提示用户调整目标后台业务组别的治理策略模板。
由以上方案可知,本申请提供了一种服务治理方法:首先,获取当前运行的所有后台业务服务的监控数据;然后,根据每一个后台业务服务的接口类型,对所有后台业务服务进行分组,得到至少一个后台业务服务组别;之后,针对每一个后台业务服务组别,对后台业务服务组别中的每一个后台业务服务进行分级,得到目标后台业务组别;最终,针对目标后台业务组别中的每一个后台业务服务,根据目标后台业务组别中的后台业务服务对应的监控数据,生成目标后台业务组别中的后台业务服务对应的服务治理策略。从而达到了高效的进行服务治理的目的。
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合, 可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
本申请实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
可以以一种或多种程序设计语言或其组合来编写用于执行本申请的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Python、Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
本申请的另一实施例提供了一种服务治理装置,如图4所示,包括:
获取单元401,用于获取当前运行的所有后台业务服务的监控数据。
分组单元402,用于根据每一个后台业务服务的接口类型,对所有后台业务服务进行分组,得到至少一个后台业务服务组别。
分级单元403,用于针对每一个后台业务服务组别,对后台业务服务组别中的每一个后台业务服务进行分级,得到目标后台业务组别。
可选的,在本申请的另一实施例中,分级单元403的一种实施方式,包括:
第一确定单元,用于针对后台业务服务组别中的每一个后台业务服务,根据后台业务服务的监控数据,确定后台业务服务的服务架构以及后台业务服务的重要性;
分级子单元,用于根据后台业务服务的服务架构、后台业务服务的重要性、后台业务服务的流量以及预设的分级规范,确定后台业务服务的服务分级;
第二确定单元,用于在确定后台业务服务组别中的每一个后台业务服务的服务分级,得到目标后台业务组别。
本申请上述实施例公开的单元的具体工作过程,可参见对应的方法实施例内容,如图2所示,此处不再赘述。
第一生成单元404,用于针对目标后台业务组别中的每一个后台业务服务,根据目标后台业务组别中的后台业务服务对应的监控数据,生成目标后台业务组别中的后台业务服务对应的服务治理策略。
本申请上述实施例公开的单元的具体工作过程,可参见对应的方法实施例内容,如图1所示,此处不再赘述。
可选的,在申请的另一实施例中,服务治理装置的一种实施方式,还包括:
判断单元,用于判断数据库中是否存有目标后台业务组别的历史治理策略模板。
第三生成单元,用于若判断单元判断出,数据库中存有目标后台业务组别的历史治理策略模板,则生成提示信息。
其中,提示信息用于提示用户是否继续生成新的治理策略模板。
响应单元,用于响应用户的反馈信息。
其中,反馈信息用于为生成目标后台业务组别的新的治理策略模板或复用目标后台业务组别的历史治理策略模板。
激活单元,用于若判断单元判断出,数据库中没有存有目标后台业务组别的历史治理策略模板,则激活第二生成单元执行根据所有目标后台业务组别中的后台业务服务对应的服务治理策略,生成目标后台业务组别的治理策略模板步骤。
本申请上述实施例公开的单元的具体工作过程,可参见对应的方法实施例内容,如图3所示,此处不再赘述。
可选的,在申请的另一实施例中,服务治理装置的一种实施方式,还包括:
接收单元,用于接收到当前业务需求。
选取单元,用于选取并生效当前业务需求对应的目标后台业务组别的治理策略模板。
本申请上述实施例公开的单元的具体工作过程,可参见对应的方法实施例内容,此处不再赘述。
可选的,在申请的另一实施例中,服务治理装置的一种实施方式,还包括:
第二生成单元,用于根据所有目标后台业务组别中的后台业务服务对应的服务治理策略,生成目标后台业务组别的治理策略模板。
本申请上述实施例公开的单元的具体工作过程,可参见对应的方法实施例内容,此处不再赘述。
可选的,在申请的另一实施例中,服务治理装置的一种实施方式,还包括:
第一监控单元,用于监控业务API网关应用目标后台业务组别的治理策略模板的运行情况,判断目标后台业务组别的治理策略模板的运行情况是否符合预期。
第一告警单元,用于若第一监控单元判断出,目标后台业务组别的治理策略模板的运行情况不符合预期,则生成告警信息。
其中,告警信息用于提示用户调整目标后台业务组别的治理策略模板。
本申请上述实施例公开的单元的具体工作过程,可参见对应的方法实施例内容,此处不再赘述。
可选的,在申请的另一实施例中,服务治理装置的一种实施方式,还包括:
第二监控单元,监控业务后台业务服务应用目标后台业务组别的治理策略模板的运行情况,判断目标后台业务组别的治理策略模板的运行情况是否符合预期。
第二告警单元,若第二监控单元判断出,目标后台业务组别的治理策略模板的运行情况不符合预期,则生成告警信息。
其中,告警信息用于提示用户调整目标后台业务组别的治理策略模板。
本申请上述实施例公开的单元的具体工作过程,可参见对应的方法实施例内容,此处不再赘述。
由以上方案可知,本申请提供了一种服务治理装置:首先,获取单元401获取当前运行的所有后台业务服务的监控数据;然后,分组单元402根据每一个后台业务服务的接口类型,对所有后台业务服务进行分组,得到至少一个后台业务服务组别;之后,分级单元403针对每一个后台业务服务组别,对后台业务服务组别中的每一个后台业务服务进行分级,得到目标后台业务组别;最 终,第一生成单元404针对目标后台业务组别中的每一个后台业务服务,根据目标后台业务组别中的后台业务服务对应的监控数据,生成目标后台业务组别中的后台业务服务对应的服务治理策略。从而达到了高效的进行服务治理的目的。
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,第一获取单元还可以被描述为“获取至少两个网际协议地址的单元”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
本申请另一实施例提供了一种服务器,如图5所示,包括:
一个或多个处理器501。
存储装置502,其上存储有一个或多个程序。
当所述一个或多个程序被所述一个或多个处理器501执行时,使得所述一个或多个处理器501实现如上述实施例中任意一项所述的服务治理方法。
本申请另一实施例提供了一种计算机存储介质,其上存储有计算机程序,其中,计算机程序被处理器执行时实现如上述实施例中任意一项所述的服务治理方法。
在本申请的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器 (EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
需要说明的是,本申请上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
本申请另一实施例提供了一种计算机程序产品,当该计算机程序产品被执行时,其用于执行上述任一项所述的服务治理方法。
特别地,根据本申请的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本申请的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置从网络上被下载和安装,或者从存储装置被安装,或者从ROM被安装。在 该计算机程序被处理装置执行时,执行本申请实施例的方法中限定的上述功能。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。
虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本申请的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的申请范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述申请构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本申请中申请的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。

Claims (10)

  1. 一种服务治理方法,其特征在于,包括:
    获取当前运行的所有后台业务服务的监控数据;
    根据每一个所述后台业务服务的接口类型,对所有所述后台业务服务进行分组,得到至少一个后台业务服务组别;
    针对每一个所述后台业务服务组别,对所述后台业务服务组别中的每一个后台业务服务进行分级,得到目标后台业务组别;
    针对所述目标后台业务组别中的每一个后台业务服务,根据所述目标后台业务组别中的后台业务服务对应的监控数据,生成所述目标后台业务组别中的后台业务服务对应的服务治理策略。
  2. 根据权利要求1所述的服务治理方法,其特征在于,所述针对所述目标后台业务组别中的每一个后台业务服务,根据所述目标后台业务组别中的后台业务服务对应的监控数据,生成所述目标后台业务组别中的后台业务服务对应的服务治理策略之后,还包括:
    根据所有所述目标后台业务组别中的后台业务服务对应的服务治理策略,生成所述目标后台业务组别的治理策略模板。
  3. 根据权利要求2所述的服务治理方法,其特征在于,所述根据所有所述目标后台业务组别中的后台业务服务对应的服务治理策略,生成所述目标后台业务组别的治理策略模板之前,还包括:
    判断数据库中是否存有所述目标后台业务组别的历史治理策略模板;
    若判断出数据库中存有所述目标后台业务组别的历史治理策略模板,则生成提示信息;其中,所述提示信息用于提示用户是否继续生成新的治理策略模板;
    响应用户的反馈信息;其中,所述反馈信息用于为生成所述目标后台业务组别的新的治理策略模板或复用所述目标后台业务组别的历史治理策略模板;
    若判断出数据库中没有存有所述目标后台业务组别的历史治理策略模板,则执行所述根据所有所述目标后台业务组别中的后台业务服务对应的服务治理策略,生成所述目标后台业务组别的治理策略模板步骤。
  4. 根据权利要求3所述的服务治理方法,其特征在于,还包括:
    接收到当前业务需求;
    选取并生效所述当前业务需求对应的目标后台业务组别的治理策略模板。
  5. 根据权利要求1所述的服务治理方法,其特征在于,所述对所述后台业务服务组别中的每一个后台业务服务进行分级,得到目标后台业务组别,包括:
    针对所述后台业务服务组别中的每一个所述后台业务服务,根据所述后台业务服务的监控数据,确定所述后台业务服务的服务架构以及所述后台业务服务的重要性;
    根据所述后台业务服务的服务架构、所述后台业务服务的重要性、所述后台业务服务的流量以及预设的分级规范,确定所述后台业务服务的服务分级;
    在确定所述后台业务服务组别中的每一个所述后台业务服务的服务分级,得到目标后台业务组别。
  6. 根据权利于要求4所述的服务治理方法,其特征在于,所述选取并生效所述当前业务需求对应的目标后台业务组别的治理策略模板之后,还包括:
    监控业务API网关应用所述目标后台业务组别的治理策略模板的运行情况,判断所述目标后台业务组别的治理策略模板的运行情况是否符合预期;
    若判断出所述目标后台业务组别的治理策略模板的运行情况不符合预期,则生成告警信息;其中,所述告警信息用于提示用户调整所述目标后台业务组别的治理策略模板。
  7. 根据权利于要求4所述的服务治理方法,其特征在于,所述选取并生效所述当前业务需求对应的目标后台业务组别的治理策略模板之后,还包括:
    监控业务后台业务服务应用所述目标后台业务组别的治理策略模板的运行情况,判断所述目标后台业务组别的治理策略模板的运行情况是否符合预期;
    若判断出所述目标后台业务组别的治理策略模板的运行情况不符合预期,则生成告警信息;其中,所述告警信息用于提示用户调整所述目标后台业务组别的治理策略模板。
  8. 一种服务治理装置,其特征在于,包括:
    获取单元,用于获取当前运行的所有后台业务服务的监控数据;
    分组单元,用于根据每一个所述后台业务服务的接口类型,对所有所述后台业务服务进行分组,得到至少一个后台业务服务组别;
    分级单元,用于针对每一个所述后台业务服务组别,对所述后台业务服务组别中的每一个后台业务服务进行分级,得到目标后台业务组别;
    第一生成单元,用于针对所述目标后台业务组别中的每一个后台业务服务,根据所述目标后台业务组别中的后台业务服务对应的监控数据,生成所述目标后台业务组别中的后台业务服务对应的服务治理策略。
  9. 一种服务器,其特征在于,包括:
    一个或多个处理器;
    存储装置,其上存储有一个或多个程序;
    当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如权利要求1至7中任一所述的服务治理方法。
  10. 一种计算机存储介质,其特征在于,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求1至7中任一所述的服务治理方法。
PCT/CN2022/087859 2021-06-30 2022-04-20 服务治理方法、装置、服务器及计算机存储介质 WO2023273532A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110741215.9 2021-06-30
CN202110741215.9A CN113486100A (zh) 2021-06-30 2021-06-30 服务治理方法、装置、服务器及计算机存储介质

Publications (1)

Publication Number Publication Date
WO2023273532A1 true WO2023273532A1 (zh) 2023-01-05

Family

ID=77937224

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/087859 WO2023273532A1 (zh) 2021-06-30 2022-04-20 服务治理方法、装置、服务器及计算机存储介质

Country Status (2)

Country Link
CN (1) CN113486100A (zh)
WO (1) WO2023273532A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113486100A (zh) * 2021-06-30 2021-10-08 中国民航信息网络股份有限公司 服务治理方法、装置、服务器及计算机存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101641912A (zh) * 2007-03-12 2010-02-03 艾利森电话股份有限公司 应用用于管理服务流的策略
US20110047274A1 (en) * 2009-08-19 2011-02-24 At&T Intellectual Property I, L.P. System and Method to Manage a Policy Related to a Network-Based Service
CN107528870A (zh) * 2016-06-22 2017-12-29 腾讯科技(深圳)有限公司 一种数据采集方法及其设备
CN107741955A (zh) * 2017-09-15 2018-02-27 平安科技(深圳)有限公司 业务数据监控方法、装置、终端设备及存储介质
CN111552483A (zh) * 2020-04-29 2020-08-18 深信服科技股份有限公司 一种云服务部署方法、装置、设备、介质
CN113486100A (zh) * 2021-06-30 2021-10-08 中国民航信息网络股份有限公司 服务治理方法、装置、服务器及计算机存储介质

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100042450A1 (en) * 2008-08-15 2010-02-18 International Business Machines Corporation Service level management in a service environment having multiple management products implementing product level policies
CN110795315A (zh) * 2018-08-01 2020-02-14 北京京东尚科信息技术有限公司 监控业务的方法和装置
CN111078780A (zh) * 2019-12-23 2020-04-28 北京中创信测科技股份有限公司 一种ai优化数据治理的方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101641912A (zh) * 2007-03-12 2010-02-03 艾利森电话股份有限公司 应用用于管理服务流的策略
US20110047274A1 (en) * 2009-08-19 2011-02-24 At&T Intellectual Property I, L.P. System and Method to Manage a Policy Related to a Network-Based Service
CN107528870A (zh) * 2016-06-22 2017-12-29 腾讯科技(深圳)有限公司 一种数据采集方法及其设备
CN107741955A (zh) * 2017-09-15 2018-02-27 平安科技(深圳)有限公司 业务数据监控方法、装置、终端设备及存储介质
CN111552483A (zh) * 2020-04-29 2020-08-18 深信服科技股份有限公司 一种云服务部署方法、装置、设备、介质
CN113486100A (zh) * 2021-06-30 2021-10-08 中国民航信息网络股份有限公司 服务治理方法、装置、服务器及计算机存储介质

Also Published As

Publication number Publication date
CN113486100A (zh) 2021-10-08

Similar Documents

Publication Publication Date Title
WO2018196239A1 (zh) 用于多个车辆的通信方法、车辆及服务器
US9148381B2 (en) Cloud computing enhanced gateway for communication networks
US9591064B2 (en) Method and apparatus for dynamic provisioning of communication services
US10552247B2 (en) Real-time monitoring alert chaining, root cause analysis, and optimization
US9354871B2 (en) Multi-stage push notifications for software logistic tools
CN111327451B (zh) 用于使用隐马尔可夫模型(hmm)标识和协助网络服务配置的创建和实现的系统
US9722890B2 (en) Integrated incident management for hybrid landscapes
WO2018133573A1 (zh) 业务生存性分析方法及装置
US20220279053A1 (en) Self-learning connected-device network
CN112235130A (zh) 一种实现基于sdn网络的运维自动化的方法和装置
US11765014B2 (en) Intent-based distributed alarm service
US10942785B2 (en) Integration of software applications with infrastructure
CN110321252B (zh) 一种技能服务资源调度的方法和装置
WO2023273532A1 (zh) 服务治理方法、装置、服务器及计算机存储介质
CN112214967A (zh) 一种报文格式转换方法及装置
WO2019062634A1 (zh) 通信方法及装置
CN114513552B (zh) 数据处理方法、装置、设备及存储介质
WO2022148050A1 (zh) 流量管理、配置流量管理策略的方法、装置、设备及介质
CN116112342A (zh) 告警信息处理方法、装置、电子设备以及存储介质
CN114979144B (zh) 云边通信方法、装置及电子设备
CN114070889B (zh) 配置方法、流量转发方法、设备、存储介质及程序产品
CN112328184B (zh) 一种集群扩容方法、装置、设备及存储介质
CN114756301A (zh) 日志处理方法、装置和系统
CN109495469B (zh) 流量分析安全管控系统、方法及装置
US10476910B2 (en) Systems and methods for secure network communication

Legal Events

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

Ref document number: 22831363

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE