CN109274597B - Control method, device and equipment for special service line - Google Patents

Control method, device and equipment for special service line Download PDF

Info

Publication number
CN109274597B
CN109274597B CN201811116265.2A CN201811116265A CN109274597B CN 109274597 B CN109274597 B CN 109274597B CN 201811116265 A CN201811116265 A CN 201811116265A CN 109274597 B CN109274597 B CN 109274597B
Authority
CN
China
Prior art keywords
target
service
line
private
owned
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
CN201811116265.2A
Other languages
Chinese (zh)
Other versions
CN109274597A (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811116265.2A priority Critical patent/CN109274597B/en
Publication of CN109274597A publication Critical patent/CN109274597A/en
Application granted granted Critical
Publication of CN109274597B publication Critical patent/CN109274597B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the specification discloses a method, a device and equipment for controlling a special service line, wherein the method comprises the following steps: acquiring service data of a target special line used by a target service; analyzing the service data to determine the service state of the target special line; and if the service state of the target special line is abnormal and the target special line meets a preset special line removing rule, removing the target special line from the special line used by the target service.

Description

Control method, device and equipment for special service line
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, and a device for controlling a dedicated service line.
Background
With the continuous development of terminal technology and internet technology, processing of various services through terminal equipment based on the internet has become a main processing mode of various services at present. In order to provide convenience for users, service providers of various services set online processing modes for various services, that is, a corresponding server is set for a certain service, and processing logic of the service is set on the server. The user can perform data interaction with the server in the online processing mode through the terminal device to execute corresponding services.
With the continuous development of various online services, the service flow is increasing day by day, and at a certain time or within a certain period of time, a large amount of service flow may exist to block network links among a plurality of nodes, so that the network links are abnormal, for example, a network link between a banking institution and a third-party payment institution may be abnormal because the third-party payment institution submits a large amount of transaction data to the banking institution in a short time, so that the network link between the banking institution and the third-party payment institution is blocked. Generally, when two paths of the network are abnormal, the processing can be performed manually, for example, the network link is directly rejected. However, the network link may have an avalanche effect in the above manner, which may cause an abnormality in the third-party payment institution or the banking institution, and therefore, a technical solution that has higher processing efficiency for a dedicated line and prevents the network link from having the avalanche effect is needed.
Disclosure of Invention
An object of the embodiments of the present specification is to provide a method, an apparatus, and a device for controlling a dedicated line of service, so as to provide a technical solution that has higher processing efficiency for the dedicated line and prevents an avalanche effect from occurring in a network link.
In order to implement the above technical solution, the embodiments of the present specification are implemented as follows:
the embodiment of the present specification provides a method for controlling a dedicated service line, where the method includes:
acquiring service data of a target special line used by a target service;
analyzing the service data to determine the service state of the target special line;
and if the service state of the target special line is abnormal and the target special line meets a preset special line removing rule, removing the target special line from the special line used by the target service.
Optionally, the service data includes a communication success rate, a service initiation amount and a service success rate,
the analyzing the service data to determine the service state of the target private line includes:
determining the service state of the target special line according to the communication success rate and the service initiation amount; and/or the presence of a gas in the gas,
and determining the service state of the target private line according to the service success rate and the service initiation amount.
Optionally, after the target private line is removed from the private line used by the target service, the method further includes:
and setting the weight information of the target private line to be 0.
Optionally, after the target dedicated line is removed from the dedicated line used by the target service, the method further includes:
carrying out service detection on the target special line;
and if the service success rate of the target special line reaches a preset success rate threshold value within a preset time, adding the target special line into the special line used by the target service.
Optionally, if the service state of the target private line is abnormal and the target private line meets a predetermined private line removing rule, removing the target private line from the private line used by the target service includes:
if the service state of the target private line is abnormal, acquiring the service states of other private lines except the target private line in the private lines owned by the target service and the weight information of the private line owned by the target service;
judging whether the target private line meets a preset private line rejection rule or not according to the service states of other private lines and the weight information of the private line owned by the target service;
and if the target private line meets a preset private line removing rule, removing the target private line from the private line used by the target service.
Optionally, the private line owned by the target service is arranged in a predetermined area range,
the judging whether the target private line meets a preset private line rejection rule according to the service states of other private lines and the weight information of the private line owned by the target service includes:
if the service states of the other private lines are abnormal and the service state of the private line owned by the target service outside the preset area range is normal, determining the abnormal capacity of the private line owned by the target service according to the weight information of the private line owned by the target service;
and if the abnormal capacity of the private line owned by the target service is not larger than a first preset threshold value, determining that the target private line meets a preset private line removing rule.
Optionally, the first predetermined threshold is determined by a total capacity of a private line owned by the target service outside the predetermined area range and a private line owned by the target service within the predetermined area range, and a predetermined first proportional threshold.
Optionally, the private line owned by the target service is arranged in a predetermined area range,
the judging whether the target private line meets a preset private line rejection rule according to the service states of other private lines and the weight information of the private line owned by the target service includes:
if the service states of other private lines include normal, determining the available capacity of the private line owned by the target service according to the weight information of the private line owned by the target service, and determining the number of the private lines with normal service states;
and if the available capacity of the private line owned by the target service is not less than a second preset threshold value and the number of the private lines with normal service states is not less than a third preset threshold value, determining that the target private line meets a preset private line rejection rule.
Optionally, the second predetermined threshold is determined by a total capacity of the private line owned by the target service and a predetermined second proportional threshold.
Optionally, the third predetermined threshold is determined by the total number of private lines owned by the target service and a predetermined third proportional threshold.
Optionally, the second proportion threshold is equal to the third proportion threshold.
An embodiment of the present specification provides a control device for a dedicated service line, where the device includes:
the data acquisition module is used for acquiring the service data of a target special line used by a target service;
the state determining module is used for analyzing the service data and determining the service state of the target special line;
and the special line removing module is used for removing the target special line from the special line used by the target service if the service state of the target special line is abnormal and the target special line meets a preset special line removing rule.
Optionally, the service data includes a communication success rate, a service initiation amount, and a service success rate, and the state determination module is configured to determine a service state of the target dedicated line according to the communication success rate and the service initiation amount; and/or determining the service state of the target private line according to the service success rate and the service initiation amount.
Optionally, the apparatus further comprises:
and the weight setting module is used for setting the weight information of the target private line to be 0.
Optionally, the apparatus further comprises:
the special line detection module is used for carrying out service detection on the target special line;
and the special line adding module is used for adding the target special line into the special line used by the target service if the service success rate of the target special line reaches a preset success rate threshold value within a preset time length.
Optionally, the special line eliminating module includes:
a first information obtaining unit, configured to obtain, if a service state of the target dedicated line is abnormal, a service state of another dedicated line other than the target dedicated line in the dedicated lines owned by the target service and weight information of the dedicated line owned by the target service;
the judging unit is used for judging whether the target special line meets a preset special line removing rule or not according to the service states of other special lines and the weight information of the special line owned by the target service;
and the first special line removing unit is used for removing the target special line from the special line used by the target service if the target special line meets a preset special line removing rule.
Optionally, the dedicated line owned by the target service is set in a predetermined area range, and the determining unit is configured to determine, if the service state of the other dedicated line is abnormal and the service state of the dedicated line owned by the target service outside the predetermined area range is normal, an abnormal capacity of the dedicated line owned by the target service according to the weight information of the dedicated line owned by the target service; and if the abnormal capacity of the private line owned by the target service is not larger than a first preset threshold value, determining that the target private line meets a preset private line removing rule.
Optionally, the first predetermined threshold is determined by a total capacity of a private line owned by the target service outside the predetermined area range and a private line owned by the target service within the predetermined area range, and a predetermined first proportional threshold.
Optionally, the dedicated line owned by the target service is set in a predetermined area range, and the dedicated line removing module includes:
a second information obtaining unit, configured to determine, according to weight information of a dedicated line owned by the target service, an available capacity of the dedicated line owned by the target service and determine the number of dedicated lines whose service states are normal, if the service states of the other dedicated lines include normal;
and the second private line removing unit is used for determining that the target private line meets a preset private line removing rule if the available capacity of the private line owned by the target service is not less than a second preset threshold value and the number of the private lines with normal service states is not less than a third preset threshold value.
Optionally, the second predetermined threshold is determined by a total capacity of the private line owned by the target service and a predetermined second proportional threshold.
Optionally, the third predetermined threshold is determined by the total number of private lines owned by the target service and a predetermined third proportional threshold.
Optionally, the second proportional threshold is equal to the third proportional threshold.
An embodiment of the present specification provides a control device for a dedicated service line, where the control device for the dedicated service line includes:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
acquiring service data of a target special line used by a target service;
analyzing the service data to determine the service state of the target special line;
and if the service state of the target special line is abnormal and the target special line meets a preset special line removing rule, removing the target special line from the special line used by the target service.
As can be seen from the above technical solutions provided by the embodiments of the present specification, the embodiments of the present specification determine the service state of a target private line by acquiring service data of the target private line used by a target service, and if the service state of the target private line is abnormal and the target private line satisfies a predetermined private line rejection rule, reject the target private line from the private line used by the target service, so that the service state of the target private line is analyzed by the service data of the target private line, thereby being capable of knowing in time whether each private line of the target service is normal or not, and after determining that the target private line is abnormal, further determining whether the target private line satisfies the predetermined private line rejection rule, and only when the target private line satisfies the predetermined private line rejection rule, rejecting the abnormal target private line from the private line used by the target service, therefore, the special lines used by the target service can be ensured not to be too few, the avalanche effect of the special lines caused by the special lines is reduced as much as possible, the mechanism for connecting the special lines is abnormal, and the service processing efficiency of the special lines can be ensured.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a flowchart of an embodiment of a method for controlling a dedicated service line in the present specification;
fig. 2 is a control system embodiment of a dedicated line for business in the present specification;
fig. 3 is another embodiment of a method for controlling a dedicated service line according to the present disclosure;
fig. 4 is a flowchart of another embodiment of a method for controlling a dedicated service line;
fig. 5 is an embodiment of a control device for a dedicated line of service according to the present disclosure;
fig. 6 is an embodiment of a control device of a dedicated line for service in this specification.
Detailed Description
The embodiment of the specification provides a method, a device and equipment for controlling a special service line.
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all of the embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present specification without any inventive step should fall within the scope of protection of the present specification.
Example one
As shown in fig. 1, an embodiment of the present specification provides a method for controlling a dedicated service line, where an execution subject of the method may be a terminal device or a server, where the terminal device may be a device such as a personal computer. The server may be an independent server, or a server cluster composed of a plurality of servers, and the server may be a background server of a certain service (such as financial service), or a background server of a certain website (such as an online shopping website or a payment application). The method can be used for detecting and analyzing the service state of a special line owned by a certain service, and in the processing of removing the special line with abnormality and the like, in order to improve the processing efficiency of data and the control capability of the special line for the service, the embodiment takes the execution main body as an example for the server, and for the case of the terminal device, the processing can be performed according to the following related contents, which is not described herein again. The method may specifically comprise the steps of:
in step S102, service data of a target private line used by the target service is acquired.
The target service may be any service, such as a financial transaction service, a data acquisition service, or a communication service, where the financial transaction service may be, for example, a service such as payment, refund, and inquiry performed between a third-party payment institution and a banking institution. The target dedicated line may be any dedicated line, the dedicated line may also be referred to as a network dedicated line, and the network dedicated line may be a dedicated link (for example, a link capable of providing a transmission rate of 2Mbps or more) providing various rates for a user, and the dedicated link may form an independent local area network and may be directly connected to an IP (Internet Protocol, Protocol for interconnection between networks) backbone network, so that a convenient and fast high-speed Internet access service may be implemented, and data transmission of the user may become reliable and credible. The service data may be data related to one or more services, for example, data related to financial transaction services, specifically, such as financial transaction amount, transaction success rate, and the like, and the service data may be different for different services, and may be specifically set according to corresponding services, which is not limited in this embodiment of the specification.
In implementation, with the continuous development of terminal technology and internet technology, processing of various services through terminal devices based on the internet has become a main processing mode of various services at present. In order to provide convenience for users, service providers of various services set online processing modes for various services, that is, a corresponding server is set for a certain service, and processing logic of the service is set on the server. The user can perform data interaction with the server in the online processing mode through the terminal device to execute corresponding services.
With the continuous development of various online services, the service flow is increasing, at a certain time or within a certain period of time, a large amount of service flow may block network links among a plurality of nodes, so that the network links are abnormal, for example, as shown in fig. 2, a network link between a banking institution and a third-party payment institution may be abnormal because the third-party payment institution submits a large amount of transaction data to the banking institution in a short time, so that the network link between the banking institution and the third-party payment institution is blocked. Generally, when two paths of the network are abnormal, the processing can be performed manually, for example, the network link is directly rejected. However, the network link may have an avalanche effect in the above manner, which may cause an abnormality of a third-party payment institution or a banking institution, and thus, the influence range of the network link abnormality is increased. Therefore, the embodiments of the present specification provide a technical solution capable of solving the above problems, and may specifically include the following:
in order to enhance the load capacity of the service and the stability of the service, a network private line can be arranged between two or more specified nodes, for example, a private line can be arranged between a banking institution and a third-party payment institution. Through the private line, the bank institution and the third-party payment institution can transmit various information, such as payment, refund, inquiry and other business processing. In order to ensure high availability of the service and processing speed of the service, a plurality of private lines may be set between two or more nodes specified in a predetermined area (for example, 4 or 5 private lines may be set between a banking institution and a third-party payment institution in a city, etc.), the plurality of private lines may belong to the same area, and a corresponding identifier may be set in each private line to indicate that there is a bloody relationship between the plurality of private lines, etc. Before any one private line is put into use, initialization processing can be performed on the private line, for example, associated area ranges (such as associated cities and the like), weight information (such as weight proportion and the like) and corresponding mechanism (such as bank mechanisms and/or third-party payment mechanisms and the like) information and the like can be configured for the private line. After the configuration is completed, the service can be performed by using the private line.
In the above manner, a plurality of dedicated lines can be set in a predetermined area range for the target service, and in order to know whether each dedicated line exists or is abnormal in time, the dedicated line currently used by the target service can be subjected to abnormality detection, specifically, a detection period, such as 3 minutes or 5 minutes, can be preset. Any one special line (namely, the target special line) used by the target service can be monitored in real time, and data passing through the target special line is recorded. When the detection period is reached, the service data of the target dedicated line used by the target service may be obtained based on the recorded data, for example, if the target service is a financial transaction service, the corresponding service data may be, for example, a financial transaction amount, a transaction success rate, and the like. By the method, the service data of each special line used by the target service can be obtained.
In step S104, the service data is analyzed to determine the service status of the target private line.
The service state may be information indicating whether a certain dedicated line is normal, the service state may include normal and abnormal, if the service state is normal, it indicates that the certain dedicated line may be used to execute a corresponding service, and if the service state is abnormal, it indicates that the certain dedicated line cannot be used to execute the corresponding service.
In implementation, a detection mechanism of the service state of the dedicated line may be set in the target service, and the detection mechanism may be set according to an actual situation, for example, a corresponding threshold may be set for one or more service data, when an actual value of the one or more service data of a certain dedicated line is greater than (or less than) the corresponding threshold, the service state of the dedicated line is abnormal, otherwise, the service state of the dedicated line is normal, and the like. After the service data of the target dedicated line used by the target service is obtained through the processing in step S102, the service data may be analyzed, for example, the service data matched with the detection mechanism of the service state may be extracted from the service data (for example, the detection mechanism of the service state is defined or set for the transaction success rate, and then the value of the transaction success rate of the target dedicated line may be extracted), or another parameter value may be further calculated through one or more service data. Then, the analysis result can be processed through the detection mechanism of the business state, and the business state of the target private line can be determined through the obtained processing result. For example, if the analysis result satisfies a condition that the service state in the detection mechanism of the service state is abnormal, the service state of the target dedicated line may be determined to be abnormal, and if the analysis result satisfies a condition that the service state in the detection mechanism of the service state is normal, the service state of the target dedicated line may be determined to be normal.
In step S106, if the service status of the target private line is abnormal and the target private line meets the predetermined private line rejection rule, the target private line is rejected from the private lines used by the target service.
The special line rejection rule may be a rule for stopping using a certain special line to perform a certain service, and the special line rejection rule may be determined according to an actual situation, for example, when the number of special lines that can be normally used by a certain service is greater than a predetermined value (e.g., 2 or 3), the current abnormal special line is stopped to be used, otherwise, the current abnormal special line is continuously used, and the like. The removing of the target dedicated line from the dedicated line used by the target service may be removing the target dedicated line from the dedicated line used by the target service, that is, stopping or suspending the use of the target dedicated line, and the like, instead of causing the target dedicated line to disappear or removing the target dedicated line from the dedicated line owned by the target service, and the like.
In practice, if it is determined through the processing of step S104 that the service status of the target private line is abnormal, it is further determined whether the target private line satisfies a predetermined private line rejection rule, so that when the number of private lines that can be normally used by a certain service is greater than a predetermined value, the current abnormal private line is stopped being used as the private line rejection rule, the service status of the private line owned by the target service can be obtained, and the number of private lines whose service statuses are abnormal and the number of private lines whose service statuses are normal are determined through the service status of each private line, and if the number of private lines whose service statuses are normal is greater than the predetermined value in the private line owned by the target service, it can be determined that the target private line satisfies the predetermined private line rejection rule, and at this time, the target private line can be rejected from the private lines used by the target service, that is the use of the target private line is stopped, but the target private line still belongs to the target service, but is only temporarily deactivated. If the number of the special lines with normal service states in the special lines owned by the target service is smaller than a preset value, the target special line can be determined not to meet the preset special line removing rule, and at the moment, the target special line can be continuously used. Meanwhile, an alarm notice can be sent to the user or the technical staff, so that the user or the technical staff can know the state of each special line in time and manage each special line.
The embodiment of the specification provides a control method of a special service line, which comprises the steps of acquiring service data of a target special line used by a target service, analyzing the service data, determining the service state of the target special line, removing the target special line from the special line used by the target service if the service state of the target special line is abnormal and the target special line meets a preset special line removing rule, analyzing the service state of the target special line through the service data of the target special line so as to know whether each special line of the target service is normal in time, further judging whether the target special line meets the preset special line removing rule after determining that the target special line is abnormal, removing the abnormal target special line from the special line used by the target service only when the target special line meets the preset special line removing rule, and ensuring that the special line used by the target service is not too few, the avalanche effect of the special line caused by the special line is reduced as much as possible, so that the abnormal mechanism of the special line connection is caused, and the service processing efficiency of the special line can be ensured.
Example two
As shown in fig. 3, the embodiment of the present specification provides a method for controlling a dedicated service line, where an execution subject of the method may be a terminal device or a server, where the terminal device may be a device such as a personal computer. The server may be an independent server, or a server cluster composed of a plurality of servers, and the server may be a background server of a certain service (such as financial service), or a background server of a certain website (such as an online shopping website or a payment application). The method may be used to detect and analyze a service state of a dedicated line owned by a certain service, and perform processing such as removing an abnormal dedicated line, in order to improve data processing efficiency and control capability of the service dedicated line, in this embodiment, an execution main body is taken as an example of a server, and for a terminal device, processing may be performed according to the following related contents, which are not described herein again. The method may specifically comprise the steps of:
in step S302, service data of the target private line used by the target service is acquired.
In practical application, the service data is not limited to the above-mentioned multiple types, and may also include other types or forms of service data, which is not limited in this description.
The content of the step S302 is the same as the content of the step S102 in the first embodiment, and the specific processing procedure of the step S302 may refer to the related content in the step S102, which is not described herein again.
In step S304, the service data is analyzed to determine the service status of the target private line.
For the specific processing procedure of the step S302, reference may be made to relevant contents in the step S104 in the first embodiment, and in practical application, the processing manner of the step S304 may further include multiple types, and based on the fact that the service data in the step S302 may include a communication success rate, a service initiation amount, and a service success rate, the specific processing procedure of the step S304 may include the following contents: determining the service state of the target special line according to the communication success rate and the service initiation amount; and/or determining the service state of the target private line according to the service success rate and the service initiation amount.
In implementation, a communication success rate threshold (e.g., 80% or 90%), a service initiation amount threshold (e.g., 10 or 20% per unit time), a service success rate threshold (e.g., 70% or 80%), and the like may be preset. The service state of the target dedicated line can be determined through the communication success rate and the service initiation amount of the target dedicated line, as well as the communication success rate threshold and the service initiation amount threshold, specifically, the communication success rate and the communication success rate threshold of the target dedicated line can be compared, meanwhile, the service initiation amount and the service initiation amount threshold of the target dedicated line can also be compared, if the service initiation amount of the target dedicated line is greater than the service initiation amount threshold and the communication success rate of the target dedicated line is less than the communication success rate threshold, it is indicated that the communication success rate of the target dedicated line is low, at this time, it can be determined that the service state of the target dedicated line is abnormal, otherwise, it can be determined that the service state of the target dedicated line is normal. For example, the communication success rate threshold is X%, the service initiation amount threshold is Z, if the service initiation amount of the target dedicated line is greater than Z and the communication success rate of the target dedicated line is less than X%, it may be determined that the service state of the target dedicated line is abnormal, otherwise, it may be determined that the service state of the target dedicated line is normal.
The service state of the target dedicated line can be determined according to the service success rate of the target dedicated line, the service initiation amount, the service success rate threshold and the service initiation amount threshold, specifically, the service success rate of the target dedicated line can be compared with the service success rate threshold, meanwhile, the service initiation amount of the target dedicated line can be compared with the service initiation amount threshold, if the service initiation amount of the target dedicated line is greater than the service initiation amount threshold and the service success rate of the target dedicated line is less than the service success rate threshold, the service success rate of the target dedicated line is indicated to be low, at this time, the target dedicated line can be determined to be abnormal, and otherwise, the service state of the target dedicated line can be determined to be normal. For example, the service success rate threshold is Y%, the service initiation amount threshold is Z, if the service initiation amount of the target dedicated line is greater than Z and the service success rate of the target dedicated line is less than Y%, it may be determined that the service state of the target dedicated line is abnormal, otherwise, it may be determined that the service state of the target dedicated line is normal.
It should be noted that, not only the service state of the target dedicated line may be determined through the above-mentioned manners, but also the two manners may be combined, and the service state of the target dedicated line may be determined through the combination manner, that is, the service state of the target dedicated line may be determined according to the communication success rate, the service success rate, and the service initiation amount of the target dedicated line, for example, when the service initiation amount of the target dedicated line is greater than Z, the service success rate of the target dedicated line is less than Y%, and the communication success rate of the target dedicated line is less than X%, the service state of the target dedicated line may be determined to be abnormal, otherwise, the service state of the target dedicated line may be determined to be normal.
In step S306, if the service state of the target dedicated line is abnormal, the service states of other dedicated lines except for the target dedicated line in the dedicated lines owned by the target service and the weight information of the dedicated line owned by the target service are acquired.
In implementation, if it is determined through the processing of step S304 that the service status of the target dedicated line is abnormal, it may be further determined whether the target dedicated line needs to be removed from the dedicated line currently used by the target service, so as to avoid affecting the efficiency of the target service. Considering different services, different used private lines are different, and the used degrees of the used private lines may be different, so that the weight information of each private line needs to be determined, and in addition, for different service states of the private lines, the weight information may change, so that the service state of each private line needs to be determined, and based on the above factors to be considered, if the service state of the target private line is abnormal, the service states of other private lines (including the private line used by the target service, the private line stopped to be used, the private line not used, and the like) owned by the target service, except the target private line, and the weight information of the private line owned by the target service can be acquired.
In step S308, it is determined whether the target private line meets a predetermined private line rejection rule according to the service states of the other private lines and the weight information of the private line owned by the target service.
In implementation, since the weight information may indicate the importance degree of the corresponding private line in the target service to a certain extent, whether the target private line needs to be rejected may be determined based on the service state and the weight information of each private line of the target service, specifically, a calculation may be performed based on the service state and the weight information of each private line to obtain a corresponding calculation value, for example, the service state may be set to be normal as 1, the service state may be abnormal as 0, then, the service state and the weight information of each private line may be multiplied, and the multiplied values of each private line are added to obtain a calculation value. The obtained calculated value can be compared with a preset threshold value, if the calculated value is larger than the threshold value, the number of the normal private lines of the target service is more, at the moment, the target private line can be determined to meet the preset private line removing rule, otherwise, the target private line does not meet the preset private line removing rule and the like.
The processing manner of step S308 may be implemented in various manners, and two achievable processing manners are provided below, and specifically may include the following manner one and manner two.
In the first mode, the private line owned by the target service is set in the predetermined area range, and all the private lines in the predetermined area range are abnormal, at this time, the following processing procedures of the first step and the second step may be executed.
Step one, if the service states of the other private lines are abnormal and the service state of the private line owned by the target service outside the preset area range is normal, determining the abnormal capacity of the private line owned by the target service according to the weight information of the private line owned by the target service.
The predetermined area range may be set according to an actual situation, specifically, a certain city or other designated geographic area range, and the like, which is not limited in the embodiments of the present specification. The abnormal capacity may be characterized by the sum of the weights of the private lines with abnormal traffic states, for example, the private line with abnormal traffic states includes private line 1 and private line 2, where the weight information of the private line 1 is 0.2, the weight information of the private line 2 is 0.3, and the abnormal capacity of the private line owned by the target traffic is 0.5 (i.e., 0.2+ 0.3).
In implementation, for a target service, if a service state of a target dedicated line is abnormal, and service states of other dedicated lines except the target dedicated line are also abnormal, a service state of the dedicated line owned by the target service outside a predetermined area range may be acquired, and if the service state of the dedicated line owned by the target service outside the predetermined area range is normal, it indicates that only the dedicated line within the predetermined area range has a problem, and at this time, an abnormal capacity of the dedicated line owned by the target service may be calculated according to weight information of the dedicated line owned by the target service within the predetermined area range.
And step two, if the abnormal capacity of the private line owned by the target service is not larger than the first preset threshold value, determining that the target private line meets a preset private line removing rule.
The first predetermined threshold may be set according to an actual situation, specifically, for example, 0.5 or 0.4, which is not limited in the embodiments of the present specification.
In implementation, after the abnormal capacity of the dedicated line owned by the target service is obtained through the processing of the first step, the abnormal capacity of the dedicated line owned by the target service may be compared with a preset first preset threshold, if the abnormal capacity of the dedicated line owned by the target service is not greater than the first preset threshold, it may be determined that the number of the dedicated lines whose service states are normal is greater, at this time, it may be determined that the target dedicated line satisfies a predetermined dedicated line rejection rule, otherwise, it may be determined that the target dedicated line does not satisfy the predetermined dedicated line rejection rule.
In practical applications, the first predetermined threshold may be determined in various manners, and in addition to the foregoing manners, various realizations may also be included, and the following provides an alternative realization, which may specifically include the following: the first predetermined threshold is determined by the total capacity of the private line owned by the target service outside the predetermined area range and the private line owned by the target service within the predetermined area range, and a predetermined first proportional threshold.
Specifically, the capacity of the private line owned by the target service outside the predetermined area range may be calculated from the weight information of the private line owned by the target service outside the predetermined area range according to the first predetermined threshold, and further, the capacity of the private line owned by the target service within the predetermined area range may be calculated according to the weight information of the private line owned by the target service within the predetermined area range, and then, the two capacities calculated above may be added to obtain the total capacity.
The first proportional threshold may be determined according to actual conditions, specifically, for example, 50% or 40%, and the like, which is not limited in the embodiments of the present specification. Based on the above, the first predetermined threshold may be a product of the total capacity and a first proportional threshold, and if the first proportional threshold is M%, the first predetermined threshold is the total capacity × M%.
In the second mode, the private line owned by the target service is set in the predetermined area range, and the private line in the predetermined area range is partially abnormal, at this time, the following processing procedures of the first step and the second step may be executed.
Step one, if the service states of the other private lines include normal, determining the available capacity of the private line owned by the target service according to the weight information of the private line owned by the target service, and determining the number of the private lines with normal service states.
The available capacity may be determined according to the weight information of the dedicated line used by the target service in the predetermined area range, for example, if the target service has 4 dedicated lines in the predetermined area range, that is, the dedicated line 1, the dedicated line 2, the dedicated line 3, and the dedicated line 4, where the currently used dedicated line is the dedicated line 3 and the dedicated line 4, and the weight information of the dedicated line 3 and the dedicated line 4 is 0.4 and 0.2, respectively, the available capacity may be 0.6 (that is, 0.4+ 0.2).
In implementation, for a target service, if a service state of a part of private lines of the target service in a predetermined area range is abnormal, that is, a service state of another private line of the target service in the predetermined area range includes normal, an available capacity of a private line (including a private line used by the target service, a private line stopped from being used, an unused private line, and the like) owned by the target service may be determined according to weight information of the private line owned by the target service. In addition, the number of the special lines with normal service states can be counted.
And step two, if the available capacity of the private line owned by the target service is not less than a second preset threshold value, and the number of the private lines with normal service states is not less than a third preset threshold value, determining that the target private line meets a preset private line rejection rule.
The second predetermined threshold and the third predetermined threshold may be set according to actual situations, specifically, the second predetermined threshold is 0.5 or 0.4, and the third predetermined threshold is 2 or 3, which are not limited in this embodiment of the specification.
In implementation, after the available capacity of the dedicated line owned by the target service is obtained through the processing in the first step, the available capacity of the dedicated line owned by the target service may be compared with a second predetermined threshold value set in advance, and the number of the dedicated lines in the normal service state may be compared with a third predetermined threshold value set in advance, if the available capacity of the dedicated line owned by the target service is not less than the second predetermined threshold value, and the number of the dedicated lines in the normal service state is not less than the third predetermined threshold value, it may be determined that the number of the dedicated lines used by the target service in the predetermined area range is relatively large, at this time, it may be determined that the target dedicated line satisfies a predetermined dedicated line rejection rule, and otherwise, it may be determined that the target dedicated line does not satisfy the predetermined dedicated line rejection rule.
In practical applications, the second predetermined threshold may be determined in various manners, and besides the foregoing manners, various realizations may also be included, and the following provides an alternative realization, which may specifically include the following: the second predetermined threshold is determined by the total capacity of the private line owned by the target service, and a predetermined second proportional threshold.
The second proportion threshold may be determined according to an actual situation, specifically, for example, 50% or 60%, which is not limited in the embodiment of the present specification. Based on the above, the second predetermined threshold may be a product of the total capacity and a second proportional threshold, and if the second proportional threshold is N%, the second predetermined threshold is the total capacity × N%.
In practical applications, the third predetermined threshold may be determined in various manners, and besides the foregoing manners, various realizations may also be included, and the following provides an alternative realization, which may specifically include the following: the third predetermined threshold is determined by the total number of private lines owned by the target service, and a predetermined third proportional threshold.
The third proportion threshold may be determined according to actual conditions, specifically, for example, 60% or 70%, and the like, which is not limited in the embodiments of the present specification. Based on the above, the third predetermined threshold may be a product of the total number of private lines owned by the target service and a second proportional threshold, and if the third proportional threshold is P%, the third predetermined threshold is equal to the total number of private lines owned by the target service × P%.
The two thresholds may be the same or different. In this embodiment, the second proportional threshold may be equal to the third proportional threshold.
In step S310, if the target private line meets a predetermined private line rejection rule, the target private line is rejected from the private lines used by the target service.
It should be noted that, if the abnormal capacity of the dedicated line owned by the target service is greater than the first predetermined threshold, an alarm notification may be sent out to send out alarm information to a corresponding user or technician, and the user or technician may perform predetermined processing on the target dedicated line, and the like. In addition, if the available capacity of the private line owned by the target service is less than a second predetermined threshold value, and/or the number of the private lines with normal service status is less than a third predetermined threshold value, an alarm notification may be issued.
In step S312, the weight information of the target private line is set to 0.
In implementation, since the target dedicated line does not transmit corresponding data for the target service any more, the weight information of the target dedicated line may be adjusted, and the weight information of the target dedicated line may be set to 0. In practical applications, other relevant processing may be performed on the target application, for example, a tag or identifier may be set for the target dedicated line to indicate that the target dedicated line is currently suspended for use.
In step S314, service detection is performed on the target private line.
The service detection may be processing for detecting an abnormal private line based on a target service.
In the implementation, considering that some abnormal private lines may only have temporary faults, after the private line is removed from the private line used by the target service, after a certain time period, the private line may recover the normal function of the private line.
In step S316, if it is detected that the service success rate of the target dedicated line reaches the predetermined success rate threshold within the predetermined time, the target dedicated line is added to the dedicated line used by the target service.
The predetermined success rate threshold may be determined according to an actual situation, specifically, for example, 50% or 80%, and the like, which is not limited in the embodiments of the present specification.
In implementation, if it is detected that the service success rate of the target dedicated line reaches the predetermined success rate threshold within the predetermined time, it indicates that the target dedicated line has reached the requirement for executing the target service, and at this time, the target dedicated line may be added back to the dedicated line used by the target service, and the target dedicated line may be continuously used for the target service.
The embodiment of the specification provides a control method of a special service line, which comprises the steps of acquiring service data of a target special line used by a target service, analyzing the service data, determining the service state of the target special line, removing the target special line from the special line used by the target service if the service state of the target special line is abnormal and the target special line meets a preset special line removing rule, analyzing the service state of the target special line through the service data of the target special line so as to know whether each special line of the target service is normal in time, further judging whether the target special line meets the preset special line removing rule after determining that the target special line is abnormal, removing the abnormal target special line from the special line used by the target service only when the target special line meets the preset special line removing rule, and ensuring that the special line used by the target service is not too few, the avalanche effect of the special line caused by the special line is reduced as much as possible, so that the abnormal mechanism of the special line connection is caused, and the service processing efficiency of the special line can be ensured.
EXAMPLE III
As shown in fig. 4, an embodiment of the present specification provides a method for controlling a dedicated service line, where an execution subject of the method may be a terminal device or a server, where the terminal device may be a device such as a personal computer. The server may be an independent server, or a server cluster composed of a plurality of servers, and the server may be a background server of a certain service (such as financial service), or a background server of a certain website (such as an online shopping website or a payment application). The method can be used for detecting and analyzing the service state of a special line owned by a certain service, and in the processing of removing the special line with abnormality and the like, in order to improve the processing efficiency of data and the control capability of the special line for the service, the embodiment takes the execution main body as an example for the server, and for the case of the terminal device, the processing can be performed according to the following related contents, which is not described herein again.
The embodiment is described in detail by taking an actual application scenario as an example, the application scenario may be a financial transaction scenario, specifically, the application scenario may be a third-party payment mechanism and a banking mechanism, a target private line may be any private line between the third-party payment mechanism and the banking mechanism, service data therein may be transaction data, a service initiation amount may be a transaction amount, a service success rate may be a transaction success rate, a predetermined area range may be a certain city, a predetermined area range may be in the same city and different places, and a predetermined area range may be other cities outside the predetermined area range, and the method specifically may include the following steps:
in step S402, transaction data of the target private line used by the target service is acquired.
The transaction data may include a communication success rate, a transaction amount, a transaction success rate, and the like.
In step S404, the transaction data is analyzed to determine the service status of the target private line.
The processing of step S404 described above may also be implemented by: determining the service state of the target special line according to the communication success rate and the transaction amount of the target special line; and/or determining the service state of the target special line according to the service success rate and the transaction amount of the target special line.
In step S406, if the service state of the target private line is abnormal, the service states of other private lines except the target private line among the private lines owned by the target service in different places in the same city (different places in the same city) and the weight information of the private line owned by the target service in different places in the same city are obtained.
In step S408, it is determined whether the target private line meets a predetermined private line rejection rule according to the service states of the other private lines and the weight information of the private line owned by the target service in the same city and different places.
The processing manner of step S408 may be implemented in various manners, and two achievable processing manners are provided below, and specifically may include the following manner one and manner two.
In the first mode, the private line owned by the target service is a private line in a different place in the same city, and all the private lines in different places in the same city are abnormal, and at this time, the following processing may be performed: if the service states of the other private lines are abnormal and the service states of the private lines owned by the target service in other cities are normal, determining the abnormal capacity of the private line owned by the target service in different places in the same city according to the weight information of the private line owned by the target service in different places in the same city; and if the abnormal capacity of the private line owned by the target service in the same city and different places is not larger than a first preset threshold value, determining that the target private line meets a preset private line removing rule.
Wherein the first predetermined threshold may be determined by the total capacity of the private line owned by the target service in other cities and the private line owned by the target service in the same city and the predetermined first proportional threshold.
In the second mode, the private line owned by the target service is a private line in the same city and in a different place, and the private line in the same city and in a different place is partially abnormal, at this time, the following processing may be performed: if the service states of the other private lines include normal, determining the available capacity of the private line owned by the target service in the same city and different places according to the weight information of the private line owned by the target service in the same city and different places, and determining the number of the private lines with normal service states; and if the available capacity of the private line owned by the target service in the same city and different places is not less than a second preset threshold value and the number of the private lines with normal service states is not less than a third preset threshold value, determining that the target private line meets a preset private line removing rule.
The second preset threshold is determined by the total capacity of the private line owned by the target service in the same city and different places and a preset second proportion threshold. The third predetermined threshold is determined by the total number of private lines owned by the target service in the same city and in different places, and a predetermined third proportional threshold.
Further, the second proportional threshold may be equal to the third proportional threshold.
In step S410, if the target private line satisfies a predetermined private line rejection rule, the target private line is rejected from the private lines used by the target service.
It should be noted that, if the abnormal capacity of the dedicated line owned by the target service is greater than the first predetermined threshold, an alarm notification may be sent out to send out alarm information to a corresponding user or technician, and the user or technician may perform predetermined processing on the target dedicated line, and the like. In addition, if the available capacity of the dedicated line owned by the target service is less than a second predetermined threshold, and/or the number of dedicated lines with normal service status is less than a third predetermined threshold, an alarm notification may be issued.
In step S412, the weight information of the target private line is set to 0.
In step S414, service detection is performed on the target private line.
In step S416, if it is detected that the transaction success rate of the target private line reaches the predetermined success rate threshold within the predetermined time, the target private line is added to the private line used by the target service.
The embodiment of the specification provides a control method of a special service line, which comprises the steps of obtaining service data of a target special line used by a target service, analyzing the service data, determining the service state of the target special line, removing the target special line from the special line used by the target service if the service state of the target special line is abnormal and the target special line meets a preset special line removing rule, analyzing the service state of the target special line through the service data of the target special line so as to know whether each special line of the target service is normal in time, further judging whether the target special line meets the preset special line removing rule after determining that the target special line is abnormal, removing the abnormal target special line from the special line used by the target service only when the target special line meets the preset special line removing rule, and ensuring that the special line used by the target service is not too few, the avalanche effect of the special line caused by the special line is reduced as much as possible, so that the abnormal mechanism of the special line connection is caused, and the service processing efficiency of the special line can be ensured.
Example four
Based on the same idea, the above-mentioned method for controlling a dedicated service line provided in the embodiment of the present specification further provides a device for controlling a dedicated service line, as shown in fig. 5.
The control device of the special service line comprises: a data acquisition module 501, a state determination module 502 and a special line elimination module 503, wherein:
a data obtaining module 501, configured to obtain service data of a target dedicated line used by a target service;
a state determining module 502, configured to analyze the service data and determine a service state of the target dedicated line;
a special line eliminating module 503, configured to eliminate the target special line from the special lines used by the target service if the service state of the target special line is abnormal and the target special line meets a predetermined special line eliminating rule.
In this embodiment of the present specification, the service data includes a communication success rate, a service initiation amount, and a service success rate, and the state determining module 502 is configured to determine a service state of the target dedicated line according to the communication success rate and the service initiation amount; and/or determining the service state of the target private line according to the service success rate and the service initiation amount.
In an embodiment of this specification, the apparatus further includes:
and the weight setting module is used for setting the weight information of the target private line to be 0.
In an embodiment of this specification, the apparatus further includes:
the special line detection module is used for carrying out service detection on the target special line;
and the special line adding module is used for adding the target special line into the special line used by the target service if the service success rate of the target special line reaches a preset success rate threshold value within a preset time length.
In this embodiment of the present specification, the private line eliminating module 503 includes:
a first information obtaining unit, configured to obtain, if a service state of the target dedicated line is abnormal, a service state of another dedicated line other than the target dedicated line in the dedicated lines owned by the target service and weight information of the dedicated line owned by the target service;
the judging unit is used for judging whether the target special line meets a preset special line removing rule or not according to the service states of other special lines and the weight information of the special line owned by the target service;
and the first special line removing unit is used for removing the target special line from the special line used by the target service if the target special line meets a preset special line removing rule.
In an embodiment of this specification, the dedicated line owned by the target service is set within a predetermined area, and the determining unit is configured to determine, if the service state of the other dedicated lines is abnormal and the service state of the dedicated line owned by the target service outside the predetermined area is normal, an abnormal capacity of the dedicated line owned by the target service according to weight information of the dedicated line owned by the target service; and if the abnormal capacity of the private line owned by the target service is not larger than a first preset threshold value, determining that the target private line meets a preset private line removing rule.
In this embodiment, the first predetermined threshold is determined by the total capacity of the private line owned by the target service outside the predetermined area range and the private line owned by the target service within the predetermined area range, and a predetermined first proportional threshold.
In this embodiment of the present specification, the private line owned by the target service is set in a predetermined area range, and the private line removing module 503 includes:
a second information obtaining unit, configured to determine, according to weight information of a dedicated line owned by the target service, an available capacity of the dedicated line owned by the target service and determine the number of dedicated lines whose service states are normal, if the service states of the other dedicated lines include normal;
and the second private line removing unit is used for determining that the target private line meets a preset private line removing rule if the available capacity of the private line owned by the target service is not less than a second preset threshold value and the number of the private lines with normal service states is not less than a third preset threshold value.
In this embodiment, the second predetermined threshold is determined by the total capacity of the private line owned by the target service and a predetermined second proportional threshold.
In this embodiment, the third predetermined threshold is determined by the total number of private lines owned by the target service and a predetermined third proportional threshold.
In an embodiment of the present specification, the second proportional threshold is equal to the third proportional threshold.
The control device of the dedicated service line in the embodiment of this specification may further execute the method executed by the server or the terminal device in fig. 1, fig. 3, and fig. 4, and implement the functions of the server or the terminal device in the embodiments shown in fig. 1, fig. 3, and fig. 4, which are not described herein again.
The embodiment of the specification provides a control device of a special service line, which analyzes service data of a target special line used by a target service to determine the service state of the target special line, if the service state of the target special line is abnormal and the target special line meets a preset special line removing rule, the target special line is removed from the special line used by the target service, thus, the service state of the target special line is analyzed by the service data of the target special line, whether each special line of the target service is normal or not can be known in time, after the target special line is determined to be abnormal, whether the target special line meets the preset special line removing rule or not can be further judged, and only when the target special line meets the preset special line removing rule, the abnormal target special line can be removed from the special line used by the target service, thereby ensuring that the special line used by the target service is not too few, the special line avalanche effect caused by the special line is reduced as much as possible, so that the abnormal mechanism of the special line connection is caused, and the service processing efficiency of the special line can be ensured.
EXAMPLE five
Based on the same idea, the control device for the dedicated service line provided in the embodiment of the present specification further provides a control device for the dedicated service line, as shown in fig. 6.
The control device of the dedicated service line may be the server or the terminal device provided in the above embodiment.
The control devices of the dedicated line may have a relatively large difference due to different configurations or performances, and may include one or more processors 601 and a memory 602, where one or more stored applications or data may be stored in the memory 602. Wherein the memory 602 may be transient or persistent storage. The application program stored in memory 602 may include one or more modules (not shown), each of which may include a series of computer-executable instructions in a control device for a dedicated line of business. Still further, the processor 601 may be configured to communicate with the memory 602 to execute a series of computer-executable instructions in the memory 602 on a control device of the line-of-business. The control apparatus for a dedicated line of business may also include one or more power supplies 603, one or more wired or wireless network interfaces 604, one or more input-output interfaces 605, and one or more keyboards 606.
In particular, in this embodiment, the control device of the dedicated service line includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the control device of the dedicated service line, and the one or more programs configured to be executed by the one or more processors include computer-executable instructions for:
acquiring service data of a target special line used by a target service;
analyzing the service data to determine the service state of the target special line;
and if the service state of the target special line is abnormal and the target special line meets a preset special line removing rule, removing the target special line from the special line used by the target service.
In the embodiment of the present specification, the service data includes a communication success rate, a service initiation amount and a service success rate,
the analyzing the service data to determine the service state of the target private line includes:
determining the service state of the target special line according to the communication success rate and the service initiation amount; and/or the presence of a gas in the gas,
and determining the service state of the target private line according to the service success rate and the service initiation amount.
In this embodiment of the present specification, after the removing the target private line from the private line used by the target service, the method further includes:
and setting the weight information of the target private line to be 0.
In this embodiment of the present specification, after the removing the target private line from the private line used by the target service, the method further includes:
carrying out service detection on the target special line;
and if the service success rate of the target special line reaches a preset success rate threshold value within a preset time, adding the target special line into the special line used by the target service.
In this embodiment of the present specification, if the service state of the target dedicated line is abnormal and the target dedicated line meets a predetermined dedicated line removing rule, removing the target dedicated line from the dedicated lines used by the target service includes:
if the service state of the target private line is abnormal, acquiring the service states of other private lines except the target private line in the private lines owned by the target service and the weight information of the private line owned by the target service;
judging whether the target private line meets a preset private line rejection rule or not according to the service states of other private lines and the weight information of the private line owned by the target service;
and if the target private line meets a preset private line removing rule, removing the target private line from the private line used by the target service.
In the embodiment of the specification, the private line owned by the target service is arranged in the range of a predetermined area,
the judging whether the target private line meets a preset private line rejection rule according to the service states of other private lines and the weight information of the private line owned by the target service includes:
if the service states of the other private lines are abnormal and the service state of the private line owned by the target service outside the preset area range is normal, determining the abnormal capacity of the private line owned by the target service according to the weight information of the private line owned by the target service;
and if the abnormal capacity of the private line owned by the target service is not larger than a first preset threshold value, determining that the target private line meets a preset private line removing rule.
In this embodiment, the first predetermined threshold is determined by the total capacity of the private line owned by the target service outside the predetermined area range and the private line owned by the target service within the predetermined area range, and a predetermined first proportional threshold.
In the embodiment of the specification, the private line owned by the target service is arranged in a predetermined area range,
the judging whether the target private line meets a preset private line rejection rule according to the service states of other private lines and the weight information of the private line owned by the target service includes:
if the service states of the other private lines comprise normal, determining the available capacity of the private line owned by the target service according to the weight information of the private line owned by the target service, and determining the number of the private lines with normal service states;
and if the available capacity of the private line owned by the target service is not less than a second preset threshold value and the number of the private lines with normal service states is not less than a third preset threshold value, determining that the target private line meets a preset private line rejection rule.
In this embodiment, the second predetermined threshold is determined by the total capacity of the private line owned by the target service and a predetermined second proportional threshold.
In this embodiment, the third predetermined threshold is determined by the total number of private lines owned by the target service and a predetermined third proportional threshold.
In an embodiment of the present specification, the second proportional threshold is equal to the third proportional threshold.
The control device of the dedicated service line in the embodiment of this specification may further execute the method executed by the server or the terminal device in fig. 1, fig. 3, and fig. 4, and implement the functions of the server or the terminal device in the embodiments shown in fig. 1, fig. 3, and fig. 4, which are not described herein again.
The embodiment of the specification provides a control device of a special service line, which analyzes service data of a target special line used by a target service to determine the service state of the target special line, if the service state of the target special line is abnormal and the target special line meets a preset special line rejection rule, the target special line is rejected from the special line used by the target service, so that the service state of the target special line is analyzed by the service data of the target special line, whether each special line of the target service is normal or not can be known in time, after the abnormality of the target special line is determined, whether the target special line meets the preset special line rejection rule or not can be further judged, and only when the target special line meets the preset special line rejection rule, the abnormal target special line can be rejected from the special line used by the target service, so that the special line used by the target service can not be too few, the avalanche effect of the special line caused by the special line is reduced as much as possible, so that the abnormal mechanism of the special line connection is caused, and the service processing efficiency of the special line can be ensured.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be conceived to be both a software module implementing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the various elements may be implemented in the same one or more software and/or hardware implementations in implementing one or more embodiments of the present description.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present description are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the description. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
One or more embodiments of the present description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more embodiments of the specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present specification, and is not intended to limit the present specification. Various modifications and alterations to this description will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification should be included in the scope of the claims of the present specification.

Claims (23)

1. A control method of a special service line, the method comprising:
acquiring service data of a target special line used by a target service;
analyzing the service data to determine the service state of the target special line;
if the service state of the target private line is abnormal and the target private line meets a preset private line removing rule, removing the target private line from the private line used by the target service, wherein the removing the target private line from the private line used by the target service comprises: stopping or suspending use of the target private line without removing the target private line from the private line owned by the target service;
the preset special line rejection rule comprises the following steps: and when the number of the special lines which can be normally used by the target service is larger than a preset value, stopping using the target special line.
2. The method of claim 1, the service data includes a communication success rate, a service initiation amount, and a service success rate,
the analyzing the service data to determine the service state of the target private line includes:
determining the service state of the target private line according to the communication success rate and the service initiation amount; and/or the presence of a gas in the gas,
and determining the service state of the target private line according to the service success rate and the service initiation amount.
3. The method of claim 1, after said removing said target private line from private lines used by said target service, further comprising:
and setting the weight information of the target private line to be 0.
4. The method of claim 2, after the target private line is removed from the private line used by the target service, the method further comprising:
carrying out service detection on the target special line;
and if the service success rate of the target special line reaches a preset success rate threshold value within a preset time, adding the target special line into the special line used by the target service.
5. The method of claim 3, wherein if the service status of the target private line is abnormal and the target private line meets a predetermined private line rejection rule, rejecting the target private line from private lines used by the target service comprises:
if the service state of the target private line is abnormal, acquiring the service states of other private lines except the target private line in the private lines owned by the target service and the weight information of the private line owned by the target service;
judging whether the target private line meets a preset private line rejection rule or not according to the service states of other private lines and the weight information of the private line owned by the target service;
and if the target private line meets a preset private line removing rule, removing the target private line from the private line used by the target service.
6. The method of claim 5, wherein the private line owned by the target service is located within a predetermined area,
the judging whether the target private line meets a preset private line rejection rule according to the service states of other private lines and the weight information of the private line owned by the target service includes:
if the service states of the other private lines are abnormal and the service state of the private line owned by the target service outside the preset area range is normal, determining the abnormal capacity of the private line owned by the target service according to the weight information of the private line owned by the target service;
and if the abnormal capacity of the private line owned by the target service is not larger than a first preset threshold value, determining that the target private line meets a preset private line removing rule.
7. The method of claim 6, the first predetermined threshold being determined by a total capacity of private lines owned by the target traffic outside the predetermined area coverage and private lines owned by the target traffic within the predetermined area coverage, and a predetermined first proportional threshold.
8. The method of claim 5, wherein the private line owned by the target service is located within a predetermined area,
the judging whether the target private line meets a preset private line rejection rule according to the service states of other private lines and the weight information of the private line owned by the target service includes:
if the service states of other private lines include normal, determining the available capacity of the private line owned by the target service according to the weight information of the private line owned by the target service, and determining the number of the private lines with normal service states;
and if the available capacity of the private line owned by the target service is not less than a second preset threshold value and the number of the private lines with normal service states is not less than a third preset threshold value, determining that the target private line meets a preset private line rejection rule.
9. The method of claim 8, wherein the second predetermined threshold is determined by a total capacity of a private line owned by the target service and a predetermined second proportional threshold.
10. The method of claim 9, the third predetermined threshold being determined by a total number of private lines owned by the target service, and a predetermined third proportional threshold.
11. The method of claim 10, the second scaling threshold equal the third scaling threshold.
12. A control apparatus of a dedicated line, the apparatus comprising:
the data acquisition module is used for acquiring the service data of a target special line used by a target service;
the state determining module is used for analyzing the service data and determining the service state of the target special line;
a special line removing module, configured to remove the target special line from the special line used by the target service if the service state of the target special line is abnormal and the target special line meets a predetermined special line removing rule, where the removing the target special line from the special line used by the target service includes: stopping or suspending use of the target private line without removing the target private line from the private line owned by the target service;
the preset special line rejection rule comprises the following steps: and when the number of the special lines which can be normally used by the target service is larger than a preset value, stopping using the target special line.
13. The apparatus of claim 12, wherein the service data includes a communication success rate, a service initiation amount, and a service success rate, and the state determination module is configured to determine a service state of the target dedicated line according to the communication success rate and the service initiation amount; and/or determining the service state of the target private line according to the service success rate and the service initiation amount.
14. The apparatus of claim 12, the apparatus further comprising:
and the weight setting module is used for setting the weight information of the target private line to be 0.
15. The apparatus of claim 13, the apparatus further comprising:
the special line detection module is used for carrying out service detection on the target special line;
and the special line adding module is used for adding the target special line into the special line used by the target service if the service success rate of the target special line reaches a preset success rate threshold value within a preset time length.
16. The apparatus of claim 14, the line culling module, comprising:
a first information obtaining unit, configured to obtain, if a service state of the target dedicated line is abnormal, a service state of another dedicated line other than the target dedicated line in the dedicated lines owned by the target service and weight information of the dedicated line owned by the target service;
the judging unit is used for judging whether the target special line meets a preset special line removing rule or not according to the service states of other special lines and the weight information of the special line owned by the target service;
and the first special line removing unit is used for removing the target special line from the special line used by the target service if the target special line meets a preset special line removing rule.
17. The apparatus according to claim 16, wherein the dedicated line owned by the target service is located within a predetermined area, and the determining unit is configured to determine, if the service status of the other dedicated lines is abnormal and the service status of the dedicated line owned by the target service outside the predetermined area is normal, an abnormal capacity of the dedicated line owned by the target service according to the weight information of the dedicated line owned by the target service; and if the abnormal capacity of the private line owned by the target service is not larger than a first preset threshold value, determining that the target private line meets a preset private line removing rule.
18. The apparatus of claim 17, the first predetermined threshold is determined by a total capacity of private lines owned by the target traffic outside the predetermined area coverage and private lines owned by the target traffic within the predetermined area coverage, and a predetermined first proportional threshold.
19. The apparatus of claim 16, wherein the private line owned by the target service is set within a predetermined area, and the private line removing module comprises:
a second information obtaining unit, configured to determine, according to weight information of a dedicated line owned by the target service, an available capacity of the dedicated line owned by the target service and determine the number of dedicated lines whose service states are normal, if the service states of the other dedicated lines include normal;
and the second private line removing unit is used for determining that the target private line meets a preset private line removing rule if the available capacity of the private line owned by the target service is not less than a second preset threshold value and the number of the private lines with normal service states is not less than a third preset threshold value.
20. The apparatus of claim 19, the second predetermined threshold is determined by a total capacity of a private line owned by the target service, and a predetermined second proportional threshold.
21. The apparatus of claim 20, the third predetermined threshold is determined by a total number of private lines owned by the target service, and a predetermined third proportional threshold.
22. The apparatus of claim 21, the second scaling threshold equal the third scaling threshold.
23. A control device of a dedicated service line, the control device of the dedicated service line comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
acquiring service data of a target special line used by a target service;
analyzing the service data to determine the service state of the target special line;
if the service state of the target special line is abnormal and the target special line meets a preset special line removing rule, removing the target special line from the special line used by the target service, wherein the removing the target special line from the special line used by the target service comprises the following steps: stopping or suspending use of the target private line without removing the target private line from the private line owned by the target service;
the preset special line rejection rule comprises the following steps: and when the number of the special lines which can be normally used by the target service is larger than a preset value, stopping using the target special line.
CN201811116265.2A 2018-09-25 2018-09-25 Control method, device and equipment for special service line Active CN109274597B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811116265.2A CN109274597B (en) 2018-09-25 2018-09-25 Control method, device and equipment for special service line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811116265.2A CN109274597B (en) 2018-09-25 2018-09-25 Control method, device and equipment for special service line

Publications (2)

Publication Number Publication Date
CN109274597A CN109274597A (en) 2019-01-25
CN109274597B true CN109274597B (en) 2022-05-27

Family

ID=65198036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811116265.2A Active CN109274597B (en) 2018-09-25 2018-09-25 Control method, device and equipment for special service line

Country Status (1)

Country Link
CN (1) CN109274597B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109728956A (en) * 2019-01-29 2019-05-07 网联清算有限公司 Link switch-over method, device, computer equipment and storage medium
CN110266564A (en) * 2019-07-02 2019-09-20 网联清算有限公司 The method of the method and control device and its execution of detection device and its execution
CN110516928B (en) * 2019-08-09 2023-08-22 创新先进技术有限公司 Decision method, device, equipment and computer readable medium for business private line
CN113645077B (en) * 2021-08-13 2022-11-29 中国工商银行股份有限公司 Multi-private-line asymmetric bandwidth planning method, device, equipment and medium
CN114338784A (en) * 2021-12-07 2022-04-12 中国联合网络通信集团有限公司 Service processing method, device and storage medium
CN115018498B (en) * 2022-05-16 2023-05-26 北京结慧科技有限公司 Automatic switching method, system, equipment and storage medium for special transaction line
CN115242621B (en) * 2022-07-21 2024-01-02 北京天一恩华科技股份有限公司 Network private line monitoring method, device, equipment and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2814203A1 (en) * 2013-06-11 2014-12-17 Alcatel Lucent Method for performing a failure analysis of a communication network
CN105900390A (en) * 2014-07-21 2016-08-24 华为技术有限公司 Link control node, link control method and communication system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2814203A1 (en) * 2013-06-11 2014-12-17 Alcatel Lucent Method for performing a failure analysis of a communication network
CN105900390A (en) * 2014-07-21 2016-08-24 华为技术有限公司 Link control node, link control method and communication system

Also Published As

Publication number Publication date
CN109274597A (en) 2019-01-25

Similar Documents

Publication Publication Date Title
CN109274597B (en) Control method, device and equipment for special service line
EP3780541B1 (en) Identity information identification method and device
JP6716149B2 (en) Blockchain-based data processing method and apparatus
CN110262937B (en) Identification method and device for index abnormality reasons
CN109327353B (en) Service flow determination method and device and electronic equipment
CN110022227A (en) Method for processing business, device, equipment and storage medium
CN110187992B (en) Fault analysis method and device
US10185614B2 (en) Generic alarm correlation by means of normalized alarm codes
CN110020769A (en) A kind of business risk monitoring method, device and equipment
CN108665251A (en) A kind of processing method and processing device that channel of disbursement restores
CN110046187B (en) Data processing system, method and device
CN109391512A (en) A kind of service issuing method, device and electronic equipment
CN111488289A (en) Fault positioning method, device and equipment
CN111639011A (en) Data monitoring method, device and equipment
CN110175084B (en) Data change monitoring method and device
CN115185777A (en) Abnormity detection method and device, readable storage medium and electronic equipment
CN114218020A (en) Disaster recovery switching method and device
CN109189677B (en) Test method and device for updating state of variable value
TW202037124A (en) Large-screen link system detection method, device and equipment
CN109039695B (en) Service fault processing method, device and equipment
CN109150643B (en) Service processing abnormity detection method and device
WO2021120845A1 (en) Homogeneous risk unit feature set generation method, apparatus and device, and medium
CN108920326A (en) Determine system time-consuming abnormal method, apparatus and electronic equipment
CN116614407A (en) Risk control method and device
CN109614415B (en) Data mining and processing method, device, equipment and medium

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