CN115174686B - Method and device for dynamically adjusting weights of multiple service channels based on service efficiency - Google Patents

Method and device for dynamically adjusting weights of multiple service channels based on service efficiency Download PDF

Info

Publication number
CN115174686B
CN115174686B CN202210816480.3A CN202210816480A CN115174686B CN 115174686 B CN115174686 B CN 115174686B CN 202210816480 A CN202210816480 A CN 202210816480A CN 115174686 B CN115174686 B CN 115174686B
Authority
CN
China
Prior art keywords
service
weight
service channel
channel
heartbeat
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
CN202210816480.3A
Other languages
Chinese (zh)
Other versions
CN115174686A (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.)
Jiangsu Sushang Bank Co ltd
Original Assignee
Jiangsu Suning Bank Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Suning Bank Co Ltd filed Critical Jiangsu Suning Bank Co Ltd
Priority to CN202210816480.3A priority Critical patent/CN115174686B/en
Publication of CN115174686A publication Critical patent/CN115174686A/en
Application granted granted Critical
Publication of CN115174686B publication Critical patent/CN115174686B/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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Debugging And Monitoring (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the technical field of computer software application, and discloses a method and a device for dynamically adjusting weights of a plurality of service channels based on service efficiency, wherein the technical scheme is characterized by comprising the following steps: acquiring actual operation data of each service channel, and judging whether the state of the service channel is normal or not; for a service channel in a normal state, acquiring and calculating the service quantity, the service success rate and the average response time of the current period in the service channel at intervals of a first time period; weight adjustment is carried out according to the data; simultaneously, asynchronously performing heartbeat probe processing, and adjusting the state and weight of the service channel; according to the latest weight adjustment result and state adjustment result, the state and weight of each service channel are updated and configured, so that the adjustment is performed in real time according to the running state of each service channel, and the subsequent auxiliary selection of the best service channel can be facilitated.

Description

Method and device for dynamically adjusting weights of multiple service channels based on service efficiency
Technical Field
The invention relates to the technical field of computer software application, in particular to a method and a device for dynamically adjusting weights of a plurality of service channels based on service efficiency.
Background
In the operation process of some large enterprises, some service demands exceeding the business scope are often involved, and for the situation, some enterprises can choose to autonomously develop certain service projects for assisting in operation management, but the mode does not directly produce economic benefit, and general enterprises can not choose; most enterprises directly cooperate with corresponding manufacturers, such as the technologies of other manufacturers to solve the operation problem of the enterprises.
For example, in a banking scene, along with the continuous expansion of the scale of banking business and customers, when checking the qualification of customers or reimbursement of staff, the customers are required to upload invoice images (plane tickets, value-added tax special tickets, value-added tax general tickets, train tickets, taxi tickets and rated invoices), and then background business personnel manually input ticket face information, the office efficiency is very low, so that banking can introduce an OCR service system, and the text information on the invoice images is returned to the banks after the OCR service channel manufacturer service analysis by transmitting the invoice images to the OCR service channel manufacturer.
Considering the factors of stability, operation cost, response timeliness and the like of system operation, a plurality of OCR service channel manufacturers are accessed by general banking, and the acceptance weight background of each service channel manufacturer can be matched, so that the service quantity is distributed to each manufacturer in proportion.
However, in the actual use process, because the technical level and the volume of each service provider are different, the response speed of each service provider is limited by various aspects, so that the actual use experience of the user is influenced, and intelligent selection of each service provider is required.
Disclosure of Invention
The invention aims to provide a method and a device for dynamically adjusting weights of a plurality of service channels based on service efficiency, which achieve the effect of adjusting the weights in real time according to the running states of all the service channels and facilitating the subsequent auxiliary selection of the optimal service channel.
The technical aim of the invention is realized by the following technical scheme: a method for dynamically adjusting weights of a plurality of service channels based on service efficiency comprises the following steps:
acquiring actual operation data of each service channel, and judging whether the state of the service channel is normal or not;
for a service channel in a normal state, acquiring and calculating the service quantity, the service success rate and the average response time of the current period in the service channel at intervals of a first time period;
if the current period service number of the service channel is greater than the minimum sampling number, sending a service channel weight adjustment instruction; if the service success rate of the current period of the service channel is less than the first service success rate, initiating heartbeat probing processing to the service channel; if the service success rate of the current period is greater than the first service success rate or the service quantity of the current period is zero, the weight of the service channel is not adjusted;
according to the service channel weight adjustment instruction, if the service success rate of the current period is zero, initiating heartbeat probe processing, if the service success rate of the current period is not zero, judging whether the conditions that the service success rate of the current period is more than or equal to the second service success rate and the average response time of the current period is less than or equal to the first response time are simultaneously met, and if not, reducing the current weight of the service channel; if yes, the current weight of the service channel is increased;
simultaneously, asynchronously performing heartbeat probe processing, and adjusting the state and weight of the service channel;
and updating and configuring the state and the weight of each service channel according to the latest weight adjustment result and the latest state adjustment result.
As a preferable technical scheme of the invention, after the latest weight adjustment result is obtained, a weight range limiting algorithm is executed to obtain the operable weight of the service channel and update the configuration.
As a preferred embodiment of the present invention, the weight range defining algorithm includes:
when the service success rate of the current period is less than the second service success rate and/or the average response time of the current period is greater than the first response time, and the current weight of the service channel is reduced: if the reduced service channel weight is more than or equal to the weight threshold, updating the reduced weight to the cache; if the reduced service channel weight is less than the weight threshold value, updating the running state of the service channel to be abnormal;
when the service success rate of the current period is more than or equal to the second service success rate and the average response time of the current period is less than or equal to the first response time, and the current weight of the service channel is increased: if the added service channel weight is less than or equal to the maximum weight value, updating the added weight to a cache; if the added service channel weight is greater than the maximum weight value, updating the maximum weight value to the cache.
As a preferable technical scheme of the invention, the heartbeat probing process comprises the following steps:
acquiring first quantity of sampling data in a service channel, wherein the first quantity of sampling data in the service channel is derived from historical service data or manually preset sampling data before a first time period;
and carrying out heartbeat probing service on the service channel sequentially through the first quantity of sampling data in the service channel, and counting the success rate and average response time of the probing service.
As a preferred embodiment of the present invention, the object of the heartbeat probe processing includes: initiating heartbeat probing processing to the service channel in the abnormal state; initiating heartbeat probing processing to a normal service channel which does not meet the minimum sampling quantity in a first time period and has a service success rate of the current period of the service channel which is more than a first service success rate condition; initiating heartbeat probing processing to a normal state service channel which is in a first service period, has a current period service number larger than the minimum sampling number and meets the condition that the current period service success rate is zero;
when the heartbeat probing processing is initiated on a normal state service channel which does not meet the minimum sampling quantity in the first time period and has the service success rate of the current period of the service channel being more than the first service success rate condition, judging whether the heartbeat probing service is totally failed, if so, updating the running state of the service channel to be abnormal, and if not, not adjusting the weight of the service channel;
when the service quantity of the current period of the service channel is larger than the minimum sampling quantity in the first service period and the normal state service channel meeting the condition that the service success rate of the current period is zero initiates heartbeat probing processing: if the heartbeat probe service is successful, the weight of the service channel is not adjusted; if the heartbeat probe service is not completely successful, reducing the weight of the service channel; if the heartbeat test fails completely, judging the state of the service channel through an availability algorithm;
when initiating heartbeat heuristic processing to the service channel in an abnormal state, judging whether the successful number of the heartbeat heuristic service reaches a successful threshold value of the heartbeat heuristic service, wherein the average response time is less than the maximum response time, if so, updating the running state of the service channel to be normal, and setting the weight of the service channel as a first proportion of the original weight of the service channel; if not, then an independent timing task is performed on it.
As a preferred technical scheme of the invention, the usability algorithm is as follows: judging whether the result of the total number of service successes and the total number of heartbeat probe service successes is greater than 0, if so, judging that the service channel state is normal, and if not, judging that the service channel state is abnormal.
As a preferred technical solution of the present invention, a heartbeat probe process is asynchronously performed, and a weight recovery process for a service channel with reduced weight is also asynchronously performed, where the weight recovery process includes performing independent timing tasks, where the independent timing tasks include: for the normal state service channel with reduced weight, if at least M times of service processing are executed and all the service processing are successful in N periods after the period with reduced weight is executed, the weight is recovered; and if at least M times of heartbeat test service are executed and succeed in N periods after the heartbeat test processing fails, the abnormal channel which fails in the heartbeat test processing is changed into normal state and weight is recovered.
As a preferable technical scheme of the invention, when the weight of the service channel is increased, the adjusted weight F Rear part (S) =F Front part +b, when the weight of the service channel is reduced, the adjusted weight F Rear part (S) =F Front part -b, wherein F Front part And b is the weight adjustment base for the weight of the service channel of the previous period.
A multiple service channel weight dynamic adjustment device based on service efficiency, comprising: a processor and a memory, the memory storing a computer program executable by the processor, the processor implementing the method described above when executing the computer program.
In summary, the invention has the following beneficial effects: under the condition of poor service response of one manufacturer channel, the weight of the service channel can be quickly changed without manual parameter configuration modification, and the user experience is improved. The method can dynamically adjust the channels in real time according to the running states of the channels, and is convenient for the subsequent selection of the most efficient channel. The method has the advantages of complete channel weight adjustment scheme, automatic execution adjustment, high adjustment speed, more accuracy and high-efficiency operation of actual service.
Drawings
Fig. 1 is a flow chart of the method of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
As shown in fig. 1, the present invention provides a method for dynamically adjusting weights of a plurality of service channels based on service efficiency, comprising the following steps:
s1, acquiring actual operation data of each service channel, and judging whether the state of the service channel is normal or not; wherein the actual operation data comprises channel weight and state.
S2, for the service channels in the normal state, acquiring and calculating the service quantity, the service success rate and the average response time of the current period in the service channels at intervals of a first time period;
the method comprises the steps of obtaining service data in a computing service channel, namely request time, response ending time and response code of each service; the response code comprises success and failure and is used for indicating whether the service is successful or not, so that the service quantity in the current period, the service success rate in the current period and the average response time in the current period can be calculated;
taking intelligent recognition of a picture as an example, the service data model obtained by the intelligent recognition is shown in the following table 1:
TABLE 1
S3, if the current period service number of the service channel is greater than the minimum sampling number, sending out a service channel weight adjustment instruction; if the service success rate of the current period of the service channel is less than the first service success rate, initiating heartbeat probing processing to the service channel; if the service success rate of the current period is greater than the first service success rate or the service quantity of the current period is zero, the weight of the service channel is not adjusted; if the number of services in the period is 0, the current period is a working low peak period, heartbeat probing processing is not needed, a default channel is available, and weight adjustment is not needed due to insufficient sampling number
S4, according to the service channel weight adjustment instruction, if the service success rate of the current period is zero, initiating heartbeat probing processing, if the service success rate of the current period is not zero, judging whether the conditions that the service success rate of the current period is more than or equal to the second service success rate and the average response time of the current period is less than or equal to the first response time are simultaneously met, and if not, reducing the current weight of the service channel; if yes, the current weight of the service channel is increased;
s5, synchronously and asynchronously performing heartbeat probe processing, and adjusting the state and the weight of the service channel;
specifically, the heartbeat probing process comprises the following steps:
acquiring first quantity of sampling data in a service channel, wherein the first quantity of sampling data in the service channel is derived from historical service data or manually preset sampling data before a first time period;
taking picture recognition as an example: the sampling data collection is carried out daily, any 3 pieces of sampling data of successful service yesterday are stored, wherein the sampling data comprise image data and service return results, and meanwhile, each channel needs to store 3 pieces of successfully-serviced data.
Specifically, the heartbeat sampling data is updated through an independent daily timing task, and the time is 00:00 points per day;
the sampling data acquisition rule is as follows:
the line is firstly put on, all channels sample data, and the data can be preset manually, namely background sampling is developed;
if the channel has no request data yesterday, sampling data is taken from the service channel with the largest service quantity;
if all channels have no request data yesterday, taking one week of data from the channel with the largest service amount as acquisition data;
if all channels do not have the request data for a week, mails and short messages are sent for early warning, and manual intervention is required.
After the sampling data are obtained, heartbeat probing service is carried out on the service channel through the first quantity of sampling data in the service channel, and the success rate and average response time of the probing service are counted.
The object of the heartbeat probe processing includes: initiating heartbeat probing processing to the service channel in the abnormal state; initiating heartbeat probing processing to a normal service channel which does not meet the minimum sampling quantity in a first time period and has a service success rate of the current period of the service channel which is more than a first service success rate condition; initiating heartbeat probing processing to a normal state service channel which is in a first service period, has a current period service number larger than the minimum sampling number and meets the condition that the current period service success rate is zero;
when the heartbeat probing processing is initiated on a normal state service channel which does not meet the minimum sampling quantity in the first time period and has the service success rate of the current period of the service channel being more than the first service success rate condition, judging whether the heartbeat probing service is totally failed, if so, updating the running state of the service channel to be abnormal, and if not, not adjusting the weight of the service channel;
when the service quantity of the current period of the service channel is larger than the minimum sampling quantity in the first service period and the normal state service channel meeting the condition that the service success rate of the current period is zero initiates heartbeat probing processing: if the heartbeat probe service is successful, the weight of the service channel is not adjusted; if the heartbeat probe service is not completely successful, reducing the weight of the service channel; if the heartbeat test fails completely, judging the state of the service channel through an availability algorithm;
the availability algorithm is as follows: judging whether the result of the total number of service successes and the total number of heartbeat probe service successes is greater than 0, if so, judging that the service channel state is normal, and if not, judging that the service channel state is abnormal.
Specific examples are:
taking image service channel identifier a as an example, request time period data is constructed:
1) Starting from 00:00:00 daily-ending 24:00:00 daily;
2) 00:00:00-00:05:00, noted as the 1 st 5 minute period;
3) Recording: the image service channel identification A, the total number of service services in a time period, the total number of service failures in the time period and the total number of service successes in the time period;
4) Similarly, 1 data was recorded again for 5 minutes;
5) The service data under the scene are recorded as follows:
channel A1, 10 requests, 1 success, 9 failures;
channel A1, 10 requests, all failed (service types different);
channel A1, 1 request, all failures (different service types);
the data model is shown in table 2 below:
TABLE 2
When initiating heartbeat heuristic processing to the service channel in an abnormal state, judging whether the successful number of the heartbeat heuristic service reaches a successful threshold value of the heartbeat heuristic service, wherein the average response time is less than the maximum response time, if so, updating the running state of the service channel to be normal, and setting the weight of the service channel as a first proportion of the original weight of the service channel; if not, then an independent timing task is performed on it.
While asynchronously performing the heartbeat probe process, asynchronously performing a weight recovery process for the reduced weight service channel, the weight recovery process comprising performing an independent timing task, wherein the independent timing task comprises: for the normal state service channel with reduced weight, if at least M times of service processing are executed and all the service processing are successful in N periods after the period with reduced weight is executed, the weight is recovered; for example, the first time period is five minutes, then 6 first time periods are selected for statistics, if 3 services are successful within 30 minutes, the service channel can perform normal efficient service, and the weight of the service channel is recovered.
If at least M times of heartbeat probing service are executed and succeed in N periods after the heartbeat probing processing fails, the state of the abnormal channel is converted into normal and recovery weights, and because the abnormal channel cannot perform actual service, heartbeat service probing is adopted here, and when the abnormal channel can meet the conditions, the channel can be normally serviced and the efficiency reaches the standard, so that the weight can be recovered.
S6, updating and configuring the state and weight of each service channel according to the latest weight adjustment result and the latest state adjustment result; after the latest weight adjustment result is obtained, a weight range limiting algorithm is executed, and the operable weight of the service channel is obtained and the configuration is updated.
The weight range defining algorithm includes:
when the service success rate of the current period is less than the second service success rate and/or the average response time of the current period is greater than the first response time, and the current weight of the service channel is reduced: if the reduced service channel weight is more than or equal to the weight threshold, updating the reduced weight to the cache; if the reduced service channel weight is less than the weight threshold value, updating the running state of the service channel to be abnormal;
when the service success rate of the current period is more than or equal to the second service success rate and the average response time of the current period is less than or equal to the first response time, and the current weight of the service channel is increased: if the added service channel weight is less than or equal to the maximum weight value, updating the added weight to a cache; if the added service channel weight is greater than the maximum weight value, updating the maximum weight value to the cache.
Specifically, when the weight of the service channel is increased, the adjusted weight F Rear part (S) =F Front part +b, when the weight of the service channel is reduced, the adjusted weight F Rear part (S) =F Front part -b, wherein F Front part And b is the weight adjustment base for the weight of the service channel of the previous period. For example, if b is set to 5, each time the channel weight is increased, F Rear part (S) =F Front part +5, each time the channel weight is reduced, F Rear part (S) =F Front part -5。
The invention has the advantages that: under the condition of poor service response of one manufacturer channel, the weight of the service channel can be quickly changed without manual parameter configuration modification, and the user experience is improved. The method can dynamically adjust the channels in real time according to the running states of the channels, and is convenient for the subsequent selection of the most efficient channel. The method has the advantages of complete channel weight adjustment scheme, automatic execution adjustment, high adjustment speed, more accuracy and high-efficiency operation of actual service.
The above description is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above examples, and all technical solutions belonging to the concept of the present invention belong to the protection scope of the present invention. It should be noted that modifications and adaptations to the present invention may occur to one skilled in the art without departing from the principles of the present invention and are intended to be within the scope of the present invention.

Claims (9)

1. A method for dynamically adjusting weights of a plurality of service channels based on service efficiency is characterized by comprising the following steps: the method comprises the following steps:
acquiring actual operation data of each service channel, and judging whether the state of the service channel is normal or not;
for a service channel in a normal state, acquiring and calculating the service quantity, the service success rate and the average response time of the current period in the service channel at intervals of a first time period;
if the current period service number of the service channel is greater than the minimum sampling number, sending a service channel weight adjustment instruction; if the service success rate of the current period of the service channel is less than the first service success rate, initiating heartbeat probing processing to the service channel; if the service success rate of the current period is greater than the first service success rate or the service quantity of the current period is zero, the weight of the service channel is not adjusted;
according to the service channel weight adjustment instruction, if the service success rate of the current period is zero, initiating heartbeat probe processing, if the service success rate of the current period is not zero, judging whether the conditions that the service success rate of the current period is more than or equal to the second service success rate and the average response time of the current period is less than or equal to the first response time are simultaneously met, and if not, reducing the current weight of the service channel; if yes, the current weight of the service channel is increased;
simultaneously, asynchronously performing heartbeat probe processing, and adjusting the state and weight of the service channel;
and updating and configuring the state and the weight of each service channel according to the latest weight adjustment result and the latest state adjustment result.
2. The method for dynamically adjusting weights of a plurality of service channels based on service efficiency according to claim 1, wherein the method is characterized by comprising the following steps: after the latest weight adjustment result is obtained, a weight range limiting algorithm is executed, and the operable weight of the service channel is obtained and the configuration is updated.
3. The method for dynamically adjusting the weights of a plurality of service channels based on service efficiency according to claim 2, wherein the method is characterized by comprising the following steps: the weight range defining algorithm includes:
when the service success rate of the current period is less than the second service success rate and/or the average response time of the current period is greater than the first response time, and the current weight of the service channel is reduced: if the reduced service channel weight is more than or equal to the weight threshold, updating the reduced weight to the cache; if the reduced service channel weight is less than the weight threshold value, updating the running state of the service channel to be abnormal;
when the service success rate of the current period is more than or equal to the second service success rate and the average response time of the current period is less than or equal to the first response time, and the current weight of the service channel is increased: if the added service channel weight is less than or equal to the maximum weight value, updating the added weight to a cache; if the added service channel weight is greater than the maximum weight value, updating the maximum weight value to the cache.
4. The method for dynamically adjusting weights of multiple service channels based on service efficiency according to claim 3, wherein the method is characterized by comprising the following steps: the heartbeat probing process comprises the following steps:
acquiring first quantity of sampling data in a service channel, wherein the first quantity of sampling data in the service channel is derived from historical service data or manually preset sampling data before a first time period;
and carrying out heartbeat probing service on the service channel sequentially through the first quantity of sampling data in the service channel, and counting the success rate and average response time of the probing service.
5. The method for dynamically adjusting weights of a plurality of service channels based on service efficiency according to claim 4, wherein the method comprises the following steps: the object of the heartbeat probe processing includes: initiating heartbeat probing processing to the service channel in the abnormal state; initiating heartbeat probing processing to a normal service channel which does not meet the minimum sampling quantity in a first time period and has a service success rate of the current period of the service channel which is more than a first service success rate condition; initiating heartbeat probing processing to a normal state service channel which is in a first service period, has a current period service number larger than the minimum sampling number and meets the condition that the current period service success rate is zero;
when the heartbeat probing processing is initiated on a normal state service channel which does not meet the minimum sampling quantity in the first time period and has the service success rate of the current period of the service channel being more than the first service success rate condition, judging whether the heartbeat probing service is totally failed, if so, updating the running state of the service channel to be abnormal, and if not, not adjusting the weight of the service channel;
when the service quantity of the current period of the service channel is larger than the minimum sampling quantity in the first service period and the normal state service channel meeting the condition that the service success rate of the current period is zero initiates heartbeat probing processing: if the heartbeat probe service is successful, the weight of the service channel is not adjusted; if the heartbeat probe service is not completely successful, reducing the weight of the service channel; if the heartbeat test fails completely, judging the state of the service channel through an availability algorithm;
when initiating heartbeat heuristic processing to the service channel in an abnormal state, judging whether the successful number of the heartbeat heuristic service reaches a successful threshold value of the heartbeat heuristic service, wherein the average response time is less than the maximum response time, if so, updating the running state of the service channel to be normal, and setting the weight of the service channel as a first proportion of the original weight of the service channel; if not, then an independent timing task is performed on it.
6. The method for dynamically adjusting weights of a plurality of service channels based on service efficiency according to claim 5, wherein the method comprises the following steps: the availability algorithm is: judging whether the result of the total number of service successes and the total number of heartbeat probe service successes is greater than 0, if so, judging that the service channel state is normal, and if not, judging that the service channel state is abnormal.
7. The method for dynamically adjusting weights of a plurality of service channels based on service efficiency according to claim 6, wherein the method comprises the following steps: while asynchronously performing the heartbeat probe process, asynchronously performing a weight recovery process for the reduced weight service channel, the weight recovery process comprising performing an independent timing task, wherein the independent timing task comprises: for the normal state service channel with reduced weight, if at least M times of service processing are executed and all the service processing are successful in N periods after the period with reduced weight is executed, the weight is recovered; and if at least M times of heartbeat test service are executed and succeed in N periods after the heartbeat test processing fails, the abnormal channel which fails in the heartbeat test processing is changed into normal state and weight is recovered.
8. The method for dynamically adjusting the weights of a plurality of service channels based on the service efficiency according to claim 7, wherein the method comprises the following steps: when the weight of the service channel is increased, the adjusted weight F Rear part (S) =F Front part +b, when the weight of the service channel is reduced, the adjusted weight F Rear part (S) =F Front part -b, wherein F Front part And b is the weight adjustment base for the weight of the service channel of the previous period.
9. A dynamic adjustment device for weights of a plurality of service channels based on service efficiency is characterized in that: comprising the following steps: a processor and a memory storing a computer program executable by the processor, the processor implementing the method of any one of claims 1-8 when the computer program is executed.
CN202210816480.3A 2022-07-12 2022-07-12 Method and device for dynamically adjusting weights of multiple service channels based on service efficiency Active CN115174686B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210816480.3A CN115174686B (en) 2022-07-12 2022-07-12 Method and device for dynamically adjusting weights of multiple service channels based on service efficiency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210816480.3A CN115174686B (en) 2022-07-12 2022-07-12 Method and device for dynamically adjusting weights of multiple service channels based on service efficiency

Publications (2)

Publication Number Publication Date
CN115174686A CN115174686A (en) 2022-10-11
CN115174686B true CN115174686B (en) 2024-03-15

Family

ID=83492581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210816480.3A Active CN115174686B (en) 2022-07-12 2022-07-12 Method and device for dynamically adjusting weights of multiple service channels based on service efficiency

Country Status (1)

Country Link
CN (1) CN115174686B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117336300B (en) * 2023-12-01 2024-01-30 山东街景智能制造科技股份有限公司 Resource management system for state machine

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767776A (en) * 2014-01-07 2015-07-08 腾讯科技(深圳)有限公司 Real-time network routing adjustment method, device and system
CN105228210A (en) * 2015-08-25 2016-01-06 努比亚技术有限公司 Multichannel method for routing and device
CN105282259A (en) * 2015-11-13 2016-01-27 深圳联友科技有限公司 Load balancing allocation method, agent and system used for background cluster service
CN107169756A (en) * 2017-05-10 2017-09-15 北京凤凰理理它信息技术有限公司 Payment channel distribution method, device, storage medium and payment route system
CN108600005A (en) * 2018-04-23 2018-09-28 国云科技股份有限公司 A method of defence micro services avalanche effect
CN112236982A (en) * 2018-05-11 2021-01-15 剑桥宽带网络集团有限公司 System and method for distributing packets in a network
CN113038396A (en) * 2021-02-26 2021-06-25 平安壹钱包电子商务有限公司 Scheduling method, device and equipment of short message channel and storage medium
CN114157666A (en) * 2021-10-25 2022-03-08 北京千方科技股份有限公司 Load balancing system, method, medium and device based on intelligent cloud platform
CN114612037A (en) * 2022-02-28 2022-06-10 中国农业银行股份有限公司 Warehouse information management method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8422444B2 (en) * 2010-06-04 2013-04-16 Microsoft Corporation Dynamic channel and transmission rate selection

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767776A (en) * 2014-01-07 2015-07-08 腾讯科技(深圳)有限公司 Real-time network routing adjustment method, device and system
CN105228210A (en) * 2015-08-25 2016-01-06 努比亚技术有限公司 Multichannel method for routing and device
CN105282259A (en) * 2015-11-13 2016-01-27 深圳联友科技有限公司 Load balancing allocation method, agent and system used for background cluster service
CN107169756A (en) * 2017-05-10 2017-09-15 北京凤凰理理它信息技术有限公司 Payment channel distribution method, device, storage medium and payment route system
CN108600005A (en) * 2018-04-23 2018-09-28 国云科技股份有限公司 A method of defence micro services avalanche effect
CN112236982A (en) * 2018-05-11 2021-01-15 剑桥宽带网络集团有限公司 System and method for distributing packets in a network
CN113038396A (en) * 2021-02-26 2021-06-25 平安壹钱包电子商务有限公司 Scheduling method, device and equipment of short message channel and storage medium
CN114157666A (en) * 2021-10-25 2022-03-08 北京千方科技股份有限公司 Load balancing system, method, medium and device based on intelligent cloud platform
CN114612037A (en) * 2022-02-28 2022-06-10 中国农业银行股份有限公司 Warehouse information management method and system

Also Published As

Publication number Publication date
CN115174686A (en) 2022-10-11

Similar Documents

Publication Publication Date Title
CN110086666B (en) Alarm method, device and system
CN109104336B (en) Service request processing method and device, computer equipment and storage medium
CN111428599A (en) Bill identification method, device and equipment
CN115174686B (en) Method and device for dynamically adjusting weights of multiple service channels based on service efficiency
CN110275799B (en) Method for snapshot balance of daily point-cut without shutdown of accounting system
CN116955455B (en) Processing method and platform suitable for radiation monitoring system
CN113141410A (en) Dynamically adjusted QPS control method, system, device and storage medium
CN111291054A (en) Data processing method and device, computer equipment and storage medium
CN111158999A (en) Method and device for calculating formatting time
CN109409948B (en) Transaction abnormity detection method, device, equipment and computer readable storage medium
WO2024104241A1 (en) Message-pushing method and apparatus based on implicit multi-target fusion of models
CN111984677B (en) Resource data checking method, device, computer equipment and storage medium
CN111506410B (en) Background batch processing business optimization method, system and storage medium
CN115170314A (en) Method, system and device for automatically selecting identification channel in image identification field
CN114201369A (en) Server cluster management method and device, electronic equipment and storage medium
EP2169574A1 (en) A system and method for calculating fees
CN113052674A (en) Quota management method, electronic device, computer device, and storage medium
CN111241143A (en) Distributed calculation method and system for water supply amount and water fee
CN112561368B (en) Visual performance calculation method and device for OA approval system
CN110930206A (en) Invoice matching method and device and storage medium
CN114218325A (en) Data synchronization method and device, electronic equipment and storage medium
CN116915664A (en) Traffic threshold reminding method and device, electronic equipment and storage medium
CN112217844B (en) Request forwarding method and device and Internet system
CN118195707A (en) User behavior analysis method, system, device and computer readable storage medium
CN115375313A (en) Multi-account high-speed transaction method and device, storage medium and electronic 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
CP03 Change of name, title or address

Address after: No.4 building, Hexi Financial City, Jianye District, Nanjing City, Jiangsu Province, 210000

Patentee after: Jiangsu Sushang Bank Co.,Ltd.

Country or region after: China

Address before: No.4 building, Hexi Financial City, Jianye District, Nanjing City, Jiangsu Province, 210000

Patentee before: JIANGSU SUNING BANK Co.,Ltd.

Country or region before: China