CN111770134B - Service fusing method based on service quality - Google Patents

Service fusing method based on service quality Download PDF

Info

Publication number
CN111770134B
CN111770134B CN202010446253.7A CN202010446253A CN111770134B CN 111770134 B CN111770134 B CN 111770134B CN 202010446253 A CN202010446253 A CN 202010446253A CN 111770134 B CN111770134 B CN 111770134B
Authority
CN
China
Prior art keywords
fusing
service
cooling time
current
quality
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.)
Active
Application number
CN202010446253.7A
Other languages
Chinese (zh)
Other versions
CN111770134A (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.)
State Grid Corp of China SGCC
State Grid Hebei Electric Power Co Ltd
State Grid Jiangsu Electric Power Co Ltd
NARI Group Corp
Nari Technology Co Ltd
NARI Nanjing Control System Co Ltd
State Grid Electric Power Research Institute
Original Assignee
State Grid Corp of China SGCC
State Grid Hebei Electric Power Co Ltd
State Grid Jiangsu Electric Power Co Ltd
NARI Group Corp
Nari Technology Co Ltd
NARI Nanjing Control System Co Ltd
State Grid Electric Power Research Institute
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 State Grid Corp of China SGCC, State Grid Hebei Electric Power Co Ltd, State Grid Jiangsu Electric Power Co Ltd, NARI Group Corp, Nari Technology Co Ltd, NARI Nanjing Control System Co Ltd, State Grid Electric Power Research Institute filed Critical State Grid Corp of China SGCC
Priority to CN202010446253.7A priority Critical patent/CN111770134B/en
Publication of CN111770134A publication Critical patent/CN111770134A/en
Application granted granted Critical
Publication of CN111770134B publication Critical patent/CN111770134B/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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1012Server selection for load balancing based on compliance of requirements or conditions with available server resources
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications
    • Y04S10/52Outage or fault management, e.g. fault detection or location

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The invention discloses a service fusing method based on service quality, which comprises the following steps: acquiring a quality information parameter value of a service, reading a fusing configuration of the service, selecting any one or more parameters in the quality information parameter of the service as fusing elements of the fusing configuration, and acquiring a fusing element threshold value; comparing the quality information parameter value of the service with the fusing element threshold value, if any one of the quality information parameter values is lower than the corresponding fusing element threshold value, the service is in a fusing off state, otherwise, the service is in a fusing on state; after the fusing is opened, setting the current fusing cooling time as the fusing cooling time of the fusing configuration; and waiting for the end of the current fusing cooling time, and dynamically adjusting the fusing cooling time of the service in the next fusing period according to the change trend of the current service quality if the previous state machine is fusing. The invention can withdraw from fusing in advance according to the quality change trend, and quicken the recovery of faults of the power grid dispatching automation system.

Description

Service fusing method based on service quality
Technical Field
The invention relates to a service fusing method based on service quality, and belongs to the field of power grid dispatching automation.
Background
In an automatic power grid dispatching system, a plurality of layers of service calls are usually generated, a plurality of layers of dependency relations exist among services, a large number of requests can be blocked on abnormal remote service calls under extreme conditions, so that some key system resources are exhausted, key core services are affected, after basic services are abnormal, a service avalanche effect is easily caused, system-level hazards are caused, a service fusing mechanism is required to be provided for the situation, abnormal call of node micro-services can be fused, and system-level faults are effectively avoided.
In the existing service fusing mechanism, a large amount of external requests access internal services through a gateway, and fusing occurs after a certain number of failures reach a threshold, but the power grid dispatching automation system is an independent network which is completely and physically isolated from the outside, wherein the requests are all accessed to the internal services by an internal service client, and the access granularity is more compact and different scenes and sub-scenes are distinguished from the internet access, and the different scenes and sub-scenes are provided with independent service programs for service, and the different service programs are deployed on different servers. In a service chain, service programs of multiple scenes and sub-scenes can be accessed in sequence, the request content is various, different results can be obtained when different clients call the same service program, the condition that one client continuously accesses is not excluded, and wrong request results are returned and system resources are occupied. Therefore, a great amount of misjudgments may be formed by using a method for performing service fusing judgment statistics according to service calling results, and the fusing measure after a certain number of failures is lagged, which is not suitable for a power grid dispatching automation system with extremely high stability requirements.
Disclosure of Invention
The invention aims to overcome the defects in the prior art, and provides a service fusing method based on service quality, which can realize early exit fusing according to the quality change trend, accelerate the recovery of faults of a power grid dispatching automation system and better ensure the stability of the power grid dispatching automation system.
In order to achieve the above purpose, the invention is realized by adopting the following technical scheme:
the invention provides a service fusing method based on service quality, which comprises the following steps: acquiring a quality information parameter value of a service, reading a fusing configuration of the service, selecting any one or more parameters in the quality information parameter of the service as fusing elements of the fusing configuration, and acquiring a fusing element threshold value;
comparing the quality information parameter value of the service with the fusing element threshold value, if any one of the quality information parameter values is lower than the corresponding fusing element threshold value, judging that the fuse is in a fusing off state, otherwise, judging that the fuse is in a fusing on state;
after the fusing is opened, setting the current fusing cooling time as the fusing cooling time T of the fusing configuration;
if the previous state machine is in fusing, dynamically adjusting the fusing cooling time of the service in the next fusing period according to the change trend of the current service quality, feeding back, waiting for the current fusing cooling time T to finish, and acquiring new service quality information parameter values and fusing judgment.
Further, if the previous state machine is not in fusing, waiting for the end of the current fusing cooling time T, and then acquiring a new service quality information parameter value and fusing and judging.
Further, the quality information parameters of the service include the number of client connections of the service, the CPU occupancy rate of the service, and the memory.
Further, if the previous state machine is in fusing, the method for dynamically adjusting the fusing cooling time of the service in the next fusing period according to the variation trend of the current service quality specifically includes the following steps: if the current service quality is improved, setting the fusing cooling time of the next period to be 0.5T; if the current service quality is unchanged, maintaining the fusing cooling time of the next period as T; if the current quality of service is degraded, the fuse cooling time of the next cycle is set to 2T.
Further, if the fuse is in the fusing off state, the service request is normally executed, the response of the server is waited and the result that the service is not in the fusing state is returned.
Further, if the fuse is in the opened state, the rejection policy is directly executed, the result of the service in the fusing is returned, and the service request is not executed any more.
Compared with the prior art, the invention has the beneficial effects that:
according to the invention, the fusing cooling time of the service in the next fusing period can be dynamically adjusted according to the change trend of the current service quality, so that early exiting fusing can be realized, the recovery of faults of the power grid dispatching automation system is accelerated, and the stability of the power grid dispatching automation system is better ensured.
Drawings
FIG. 1 is a flowchart of a service fusing method based on service quality according to an embodiment of the present invention;
fig. 2 is a flowchart of a specific implementation of a service request to be initiated in a power grid dispatching automation system according to an embodiment of the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings. The following examples are only for more clearly illustrating the technical aspects of the present invention, and are not intended to limit the scope of the present invention.
As shown in fig. 1, the service fusing method based on service quality provided by the embodiment of the invention includes the following steps:
acquiring a quality information parameter value of a service, wherein the quality information parameter of the service comprises the number of client connections of the service, the CPU occupancy rate of the service and a memory;
reading a fusing configuration of a service, selecting any one or more parameters of quality information parameters of the service, such as any one of the connection number of a client of the service, the CPU occupancy rate of the service and a memory, or a combination of a plurality of the parameters to serve as a fusing element of the fusing configuration, and acquiring a fusing element threshold;
comparing the quality information parameter value of the service with the fusing element threshold value, if any one of the quality information parameter values is lower than the corresponding fusing element threshold value, judging that the fuse is in a fusing off state, and if only one of the quality information parameter values is higher than or equal to the corresponding fusing element threshold value, judging that the fuse is in a fusing on state;
after fusing and opening, setting the current fusing cooling time as a fusing cooling time T of fusing configuration, wherein all service requests are fused within the current fusing cooling time T, and the system does not send requests to the service end any more;
if the previous state machine is not in fusing, waiting for the end of the current fusing cooling time T, and then acquiring a new service quality information parameter value and fusing and judging;
if the previous state machine is in fusing, dynamically adjusting the fusing cooling time of the service in the next fusing period and feeding back according to the change trend of the current service quality, so that the fusing can be withdrawn in advance, the recovery of faults of the power grid dispatching automation system is accelerated, and the stability of the power grid dispatching automation system is better ensured, and the method specifically comprises the following steps: if the current service quality is improved, setting the fusing cooling time of the next period to be 0.5T; if the current service quality is unchanged, maintaining the fusing cooling time of the next period as T; if the current service quality is deteriorated, the fusing cooling time of the next period is set to be 2T, then the current fusing cooling time T is waited to be ended, and then the acquisition and fusing judgment of new service quality information parameter values are carried out.
As shown in fig. 2, a service request is to be initiated in the power grid dispatching automation system, if the fuse is in a fusing off state, the service request is normally executed, the response of the service end is waited and a result that the service is not in fusing is returned; if the fuse is in the fusing open state, the refusal strategy is directly executed, the result of service in fusing is returned, and the service request is not executed any more.
The foregoing is merely a preferred embodiment of the present invention, and it should be noted that modifications and variations could be made by those skilled in the art without departing from the technical principles of the present invention, and such modifications and variations should also be regarded as being within the scope of the invention.

Claims (1)

1. A service fusing method based on service quality, the method comprising the steps of:
acquiring a quality information parameter value of a service, reading a fusing configuration of the service, selecting any one or more parameters in the quality information parameter of the service as fusing elements of the fusing configuration, and acquiring a fusing element threshold value;
comparing the quality information parameter value of the service with the fusing element threshold value, if any one of the quality information parameter values is lower than the corresponding fusing element threshold value, judging that the fuse is in a fusing off state, otherwise, judging that the fuse is in a fusing on state;
after the fusing is opened, setting the current fusing cooling time as the fusing cooling time T of the fusing configuration;
if the previous state machine is in fusing, dynamically adjusting the fusing cooling time of the service in the next fusing period according to the change trend of the current service quality, feeding back, waiting for the end of the current fusing cooling time T, and acquiring a new service quality information parameter value and fusing judgment;
if the previous state machine is not in fusing, waiting for the end of the current fusing cooling time T, and then acquiring a new service quality information parameter value and fusing and judging;
the quality information parameters of the service comprise the number of client connections of the service, the CPU occupancy rate of the service and the memory; if the previous state machine is in fusing, the method for dynamically adjusting the fusing cooling time of the service in the next fusing period according to the change trend of the current service quality specifically comprises the following steps:
if the current service quality is improved, setting the fusing cooling time of the next period to be 0.5T; if the current service quality is unchanged, maintaining the fusing cooling time of the next period as T; if the current service quality is bad, setting the fusing cooling time of the next period to be 2T;
if the fuse is in a fusing closing state, normally executing a service request, waiting for a response of the service end and returning a result that the service is not in fusing;
if the fuse is in the fusing open state, the refusal strategy is directly executed, the result of service in fusing is returned, and the service request is not executed any more.
CN202010446253.7A 2020-05-25 2020-05-25 Service fusing method based on service quality Active CN111770134B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010446253.7A CN111770134B (en) 2020-05-25 2020-05-25 Service fusing method based on service quality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010446253.7A CN111770134B (en) 2020-05-25 2020-05-25 Service fusing method based on service quality

Publications (2)

Publication Number Publication Date
CN111770134A CN111770134A (en) 2020-10-13
CN111770134B true CN111770134B (en) 2024-03-29

Family

ID=72719558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010446253.7A Active CN111770134B (en) 2020-05-25 2020-05-25 Service fusing method based on service quality

Country Status (1)

Country Link
CN (1) CN111770134B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112653597B (en) * 2020-12-17 2022-07-12 中国联合网络通信集团有限公司 Service grid-based service fusing mechanism adjusting method and system
CN112764913A (en) * 2021-04-09 2021-05-07 腾讯科技(深圳)有限公司 Service fusing method and device, storage medium and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254331A (en) * 2016-07-28 2016-12-21 努比亚技术有限公司 A kind of terminal applies request managing device and method, communication system
CN107608812A (en) * 2017-09-08 2018-01-19 北京奇艺世纪科技有限公司 A kind of blowout method and server
CN108712309A (en) * 2018-06-11 2018-10-26 郑州云海信息技术有限公司 A kind of micro services node means of defence under micro services framework and system
CN109240765A (en) * 2018-08-28 2019-01-18 中国联合网络通信集团有限公司 Blowout method, device, equipment and the computer readable storage medium of Service Source
CN109976935A (en) * 2019-03-14 2019-07-05 北京三快在线科技有限公司 Micro services framework, micro services node and its fusing restoration methods, device
CN110187995A (en) * 2019-05-30 2019-08-30 北京奇艺世纪科技有限公司 A kind of method and device for fusing of the peer node that fuses
CN110347488A (en) * 2019-07-08 2019-10-18 北京字节跳动网络技术有限公司 A kind of service processing method, device, terminal device and storage medium
CN110704220A (en) * 2019-09-02 2020-01-17 东软集团股份有限公司 Method, device and equipment for adjusting fusing parameters
CN110995472A (en) * 2019-11-15 2020-04-10 苏州浪潮智能科技有限公司 Method and system for fusing micro-service
CN111104213A (en) * 2019-12-25 2020-05-05 上海众源网络有限公司 Method and device for adjusting fusing

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254331A (en) * 2016-07-28 2016-12-21 努比亚技术有限公司 A kind of terminal applies request managing device and method, communication system
CN107608812A (en) * 2017-09-08 2018-01-19 北京奇艺世纪科技有限公司 A kind of blowout method and server
CN108712309A (en) * 2018-06-11 2018-10-26 郑州云海信息技术有限公司 A kind of micro services node means of defence under micro services framework and system
CN109240765A (en) * 2018-08-28 2019-01-18 中国联合网络通信集团有限公司 Blowout method, device, equipment and the computer readable storage medium of Service Source
CN109976935A (en) * 2019-03-14 2019-07-05 北京三快在线科技有限公司 Micro services framework, micro services node and its fusing restoration methods, device
CN110187995A (en) * 2019-05-30 2019-08-30 北京奇艺世纪科技有限公司 A kind of method and device for fusing of the peer node that fuses
CN110347488A (en) * 2019-07-08 2019-10-18 北京字节跳动网络技术有限公司 A kind of service processing method, device, terminal device and storage medium
CN110704220A (en) * 2019-09-02 2020-01-17 东软集团股份有限公司 Method, device and equipment for adjusting fusing parameters
CN110995472A (en) * 2019-11-15 2020-04-10 苏州浪潮智能科技有限公司 Method and system for fusing micro-service
CN111104213A (en) * 2019-12-25 2020-05-05 上海众源网络有限公司 Method and device for adjusting fusing

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Constructing a Service Software with misroservice;Feng-jian Wang;《2018 IEEE World Congress on Service》;全文 *
基于Dubbo的服务治理研究;何瑢;《中国优秀硕士学位论文全文数据库》;全文 *

Also Published As

Publication number Publication date
CN111770134A (en) 2020-10-13

Similar Documents

Publication Publication Date Title
CN111770134B (en) Service fusing method based on service quality
US8973150B2 (en) Methods and apparatus to mitigate a denial-of-service attack in a voice over internet protocol network
US9813398B2 (en) Method and system for Internet of things capability integration
CN101631360B (en) Method, device and system for realizing load balancing
EP2418848A1 (en) Content location method and content delivery network node
US20080181123A1 (en) Methods and apparatus to manage network testing procedures
CN107124742A (en) Realize the method and communication terminal of WLAN and LTE network automatic switchover
CN101217561B (en) A method to enhance the storage reliability of the network and a network device
CN113900941A (en) Micro-service processing method, micro-service system, electronic device and storage medium
WO2022116665A1 (en) Method and system for adjusting tcp flow
CN103748925B (en) Manage the mechanism of the packet data network connection in Long Term Evolution/evolution block core net network
CN110855424B (en) Method and device for synthesizing asymmetric flow xDR in DPI field
CN112202812A (en) Water conservancy Internet of things terminal access authentication method and system based on block chain
CN109660869A (en) Barrage message screening method, storage medium, equipment and the system of multiterminal cooperation
CN111064821A (en) Method and device for determining IP address of edge node
CN103152794A (en) Service access method and access controller
CN107105037B (en) Distributed video CDN resource management system and method based on file verification
CN108984191A (en) A kind of method, apparatus and electronic equipment of application update
CN113543246A (en) Network switching method and equipment
CN111817953A (en) Method and device for electing master equipment based on Virtual Router Redundancy Protocol (VRRP)
KR100267379B1 (en) Top-down fault management method on the telecommunications network
Algar et al. A quality of experience management framework for mobile users
CN114091910A (en) 5G user quality difference complaint source tracing analysis method and device
CN111541585A (en) Access equipment inspection method and device
CN111177599A (en) Cross-system link tracking method based on tangent plane

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