CN108881451B - Service request deadline processing method and system - Google Patents

Service request deadline processing method and system Download PDF

Info

Publication number
CN108881451B
CN108881451B CN201810680122.8A CN201810680122A CN108881451B CN 108881451 B CN108881451 B CN 108881451B CN 201810680122 A CN201810680122 A CN 201810680122A CN 108881451 B CN108881451 B CN 108881451B
Authority
CN
China
Prior art keywords
service
network quality
quality value
grid control
control plane
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
CN201810680122.8A
Other languages
Chinese (zh)
Other versions
CN108881451A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201810680122.8A priority Critical patent/CN108881451B/en
Publication of CN108881451A publication Critical patent/CN108881451A/en
Application granted granted Critical
Publication of CN108881451B publication Critical patent/CN108881451B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a service request deadline processing method and a service request deadline processing system. The method comprises the following steps: sensing a network quality value and a service classification corresponding to the network quality value by a service grid control plane side; the service grid control plane side inquires out a network quality threshold value corresponding to the service classification; the service grid control plane side judges whether the network quality value is smaller than the network quality threshold value; and if the service grid control surface side judges that the network quality value is smaller than the network quality threshold, adjusting the service request deadline corresponding to the service classification into monitoring time. In the invention, the side car does not need to consult the service request to the control plane side of the service grid, thereby reducing the consultation times, improving the resource utilization rate and improving the network efficiency.

Description

Service request deadline processing method and system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and a system for processing a service request deadline.
Background
In a microservice architecture, a single application may consist of hundreds of services, each of which may consist of thousands of instances, and each of which may dynamically schedule a resource editor, instances may be in a constantly changing state. Thus, in the microservice architecture, inter-service communication is not only exceptionally complex, but is also the basis for runtime behavior. Managing good inter-service communication is very important to ensure end-to-end performance and reliability.
The Service Mesh is a dedicated infrastructure layer, a lightweight high-performance network proxy. Provides secure, fast, and reliable inter-service communication, along with practical application deployment, but is transparent to applications. The service grid is a network model of an abstraction layer located above TCP/IP. It assumes that the underlying L3/L4 network exists and is capable of transferring bytes from point to point. Somewhat like TCP/IP, TCP abstracts the mechanism for transferring bytes between network endpoints, while the service grid abstracts the mechanism for routing requests between service nodes. The service request deadline is the longest life cycle of an application allowing a request, and the service request deadline is set so that the request can not be subjected to dormant retry, thereby saving network resources.
In the prior art, in a system, a unified value is issued to a Sidecar (Sidecar) side from a service grid control plane side for a service request deadline. The method is suitable for the traditional single architecture, the network resources cannot be well utilized in the face of the complex communication situation of the micro-service architecture, and once the service flow request exceeds the service request deadline, the vehicle-side consultation is needed to be carried out to the control plane side of the service grid for updating, so that the consultation times are increased, the resource utilization rate is reduced, and the network efficiency is reduced.
Disclosure of Invention
The invention provides a service request deadline processing method and a service request deadline processing system, which are used for improving the resource utilization rate and improving the network efficiency.
In order to achieve the above object, the present invention provides a service request deadline processing method, comprising:
sensing a network quality value and a service classification corresponding to the network quality value by a service grid control plane side;
the service grid control plane side inquires out a network quality threshold value corresponding to the service classification;
the service grid control plane side judges whether the network quality value is smaller than the network quality threshold value;
and if the service grid control surface side judges that the network quality value is smaller than the network quality threshold, adjusting the service request deadline corresponding to the service classification into monitoring time.
Optionally, if the service grid control plane side determines that the network quality value is greater than or equal to the network quality threshold, the step of sensing the network quality value and the service classification corresponding to the network quality value by the service grid control plane side is continuously performed.
Optionally, the sensing, by the service grid control plane side, a network quality value and a service classification corresponding to the network quality value includes: and sensing the network quality value and the service classification corresponding to the network quality value by the service grid control surface side according to a set time interval.
Optionally, before sensing the network quality value and the service classification corresponding to the network quality value by the service grid control plane side, the method further includes:
the side car side judges whether the service request initiating time exceeds the service request deadline;
if the side car side judges that the service request initiating time exceeds the service request deadline, judging whether the service request deadline is the monitoring time;
and if the side car side judges that the service request deadline is not the monitoring time, sending a query request to the service grid control plane side, and continuously executing the step of sensing the network quality value and the service classification corresponding to the network quality value by the service grid control plane side.
Optionally, the querying, by the service grid control plane side, a network quality threshold corresponding to the service classification includes:
and the service grid control surface side inquires out a network quality threshold corresponding to the service classification from the preset corresponding relation between the service classification and the network quality threshold.
To achieve the above object, the present invention provides a service request deadline processing system, comprising: service grid control plane side;
a service grid control surface side for sensing a network quality value and a service classification corresponding to the network quality value; querying a network quality threshold corresponding to the service classification; determining whether the network quality value is less than the network quality threshold; and if the network quality value is judged to be smaller than the network quality threshold value, adjusting the service request deadline corresponding to the service classification into monitoring time.
Optionally, the service mesh control plane side is further configured to continue to perform the step of sensing the network quality value and the service classification corresponding to the network quality value if it is determined that the network quality value is greater than or equal to the network quality threshold.
Optionally, the service grid control plane side is specifically configured to sense a network quality value and a service classification corresponding to the network quality value at set time intervals.
Optionally, the method further comprises: side turning;
the side car is used for judging whether the service request initiating time exceeds the service request deadline; if the service request initiating time exceeds the service request deadline, judging whether the service request deadline is the monitoring time; and if the service request deadline is judged not to be the monitoring time, sending an inquiry request to the service grid control plane side, and triggering the service grid control plane side to execute the steps of sensing the network quality value and service classification corresponding to the network quality value.
Optionally, the service grid control plane side is specifically configured to query a network quality threshold corresponding to a service classification from a preset correspondence between the service classification and the network quality threshold.
The invention has the following beneficial effects:
in the technical scheme of the service request deadline processing method and system provided by the invention, the service grid control plane side senses the network quality value and the service classification corresponding to the network quality value, inquires out the network quality threshold corresponding to the service classification, judges whether the network quality value is smaller than the network quality threshold, and adjusts the service request deadline corresponding to the service classification into the monitoring time if the network quality value is smaller than the network quality threshold, so that the sidecar side does not need to consult the service request to the service grid control plane side, thereby reducing the consultation times, improving the resource utilization rate and improving the network efficiency.
Drawings
Fig. 1 is a flowchart of a method for processing a service request deadline according to an embodiment of the present invention;
fig. 2 is a flowchart of a service request deadline processing method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a service request deadline processing system according to a third embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the method and system for processing the service request deadline provided by the present invention are described in detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a service request deadline processing method according to an embodiment of the present invention, as shown in fig. 1, the method includes:
step 101, sensing the network quality value and the service classification corresponding to the network quality value on the control plane side of the service grid.
In this embodiment, the Service classification corresponding to the network quality value and the network quality value is sensed on the control plane side of the Service grid (Service Mesh) at set time intervals.
Specifically, the service grid control plane side senses the network quality of the whole network, and monitors the network quality in real time at set time intervals to sense the network quality value and the service classification corresponding to the network quality value.
Step 102, the service grid control plane side inquires out a network quality threshold value corresponding to the service classification.
In this embodiment, the service mesh control plane side sets in advance a correspondence between the service classification and the network quality threshold.
Table 1 is a service traffic classification data table.
TABLE 1
Serial number Service number Service classification Network quality threshold
As shown in table 1 above, the service grid control plane may pre-establish a service traffic classification data table for service traffic, where the service traffic classification data table includes a plurality of service traffic classification data. Each piece of traffic service classification data comprises a serial number, a service classification and a network quality threshold value, wherein the serial number is used for indicating that the piece of traffic service classification data is the number, the service number is used for indicating the number of the service classification, and the network quality threshold value is used for indicating the network quality value required by the service traffic of the service classification. Wherein the service classification in each piece of traffic service classification data corresponds to a network quality threshold. Therefore, the service grid control plane side can preset the corresponding relation between the service classification and the network quality threshold value through the service traffic classification data table.
The step may specifically include: the service grid control plane side inquires out a network quality threshold value corresponding to the service classification from the preset corresponding relation between the service classification and the network quality threshold value.
Step 103, judging whether the network quality value is smaller than a network quality threshold value or not by the service grid control plane side, if so, executing step 104; if not, go to step 101.
If the service mesh control plane side determines that the network quality value is less than the network quality threshold, step 104 is executed.
If the service mesh control plane side determines that the network quality value is greater than or equal to the network quality threshold, step 101 is continuously executed.
Step 104, the service grid control plane side adjusts the service request deadline corresponding to the service classification to the monitoring time.
The method specifically comprises the following steps: and issuing a command on the service grid control plane side, and adjusting the service request deadline corresponding to the service classification on the whole network side vehicle (Sidecar) side to be the monitoring time.
After the service request deadline corresponding to the service classification is adjusted to the monitoring time, the service nodes can not initiate service requests of service flow, and the side car does not need to consult the service request to the service grid control plane, so that the consultation frequency is reduced.
In the technical scheme of the service request deadline processing method provided by this embodiment, a service grid control plane side senses a network quality value and a service classification corresponding to the network quality value, queries a network quality threshold corresponding to the service classification, determines whether the network quality value is smaller than the network quality threshold, and adjusts the service request deadline corresponding to the service classification to a monitoring time if the network quality value is smaller than the network quality threshold, so that the sidecar side does not need to consult a service request to the service grid control plane side, thereby reducing the number of times of consultation, improving the resource utilization rate, and improving the network efficiency.
Fig. 2 is a flowchart of a service request deadline processing method according to a second embodiment of the present invention, as shown in fig. 2, the method includes:
step 201, the side car side judges whether the service request initiation time exceeds the service request deadline, if so, step 202 is executed; if not, go to step 208.
When a service request of service flow is initiated between server nodes, the sidecar side firstly matches the service request initiation time with the service request deadline so as to judge whether the service request initiation time exceeds the service request deadline.
If the side-car determines that the service request initiation time exceeds the service request deadline, step 202 is executed.
If the side-car determines that the service request initiation time does not exceed the service request deadline, go to step 208.
Step 202, the side car side judges whether the service request deadline is monitoring time, if not, step 203 is executed; if yes, the process ends.
If the side-car determines that the service request deadline is not the monitoring time, step 203 is executed.
If the side car side judges that the service request deadline is the monitoring time, service requests of service flow are not initiated between service nodes, and the side car side does not need to consult the service requests to the service grid control plane side, so that the consultation frequency is reduced.
Step 203, the side car side sends a query request to the service grid control plane side.
The side-car side sends an inquiry request to inquire the service grid control plane side about the service request deadline.
Step 204, sensing the network quality value and the service classification corresponding to the network quality value on the control plane side of the service grid.
For the description of step 204, refer to step 101 in the first embodiment, and details are not described here.
Step 205, the service grid control plane side queries the network quality threshold corresponding to the service classification.
The description of step 205 can refer to step 102 in the first embodiment, and is not repeated here.
Step 206, the service grid control plane side judges whether the network quality value is smaller than the network quality threshold value, if yes, step 207 is executed; if not, go to step 204.
Step 206 can be referred to as step 103 in the first embodiment, and is not described herein again.
Step 207, the service grid control plane side adjusts the service request deadline corresponding to the service classification to the monitoring time, and the process is finished.
Step 207 can be referred to as step 104 in the first embodiment, and is not described herein again.
Step 208, the sidecar side allows the service flow to enter, and continues to execute step 201.
In the technical scheme of the service request deadline processing method provided by this embodiment, a service grid control plane side senses a network quality value and a service classification corresponding to the network quality value, queries a network quality threshold corresponding to the service classification, determines whether the network quality value is smaller than the network quality threshold, and adjusts the service request deadline corresponding to the service classification to a monitoring time if the network quality value is smaller than the network quality threshold, so that the sidecar side does not need to consult a service request to the service grid control plane side, thereby reducing the number of times of consultation, improving the resource utilization rate, and improving the network efficiency.
Fig. 3 is a schematic structural diagram of a service request deadline processing system according to a third embodiment of the present invention, as shown in fig. 3, the system includes: serving mesh control plane side 1.
The service grid control surface side 1 is used for sensing a network quality value and a service classification corresponding to the network quality value; querying a network quality threshold corresponding to the service classification; determining whether the network quality value is less than the network quality threshold; and if the network quality value is judged to be smaller than the network quality threshold value, adjusting the service request deadline corresponding to the service classification into monitoring time.
Further, the service mesh control plane side 1 is further configured to continue to perform the step of sensing the network quality value and the service classification corresponding to the network quality value if it is determined that the network quality value is greater than or equal to the network quality threshold.
Further, the service grid control plane side 1 is specifically configured to sense the network quality values and the service classifications corresponding to the network quality values at set time intervals.
Further, the system further comprises: the sidecar side 2.
The side car 2 is used for judging whether the service request initiating time exceeds the service request deadline; if the service request initiating time exceeds the service request deadline, judging whether the service request deadline is the monitoring time; and if the service request deadline is judged not to be the monitoring time, sending an inquiry request to the service grid control plane side, and triggering the service grid control plane side 1 to execute the steps of sensing the network quality value and service classification corresponding to the network quality value.
Further, the service mesh control plane side 1 is specifically configured to query a network quality threshold corresponding to a service classification from a preset correspondence between the service classification and the network quality threshold.
In the technical scheme of the service request deadline processing system provided by this embodiment, a service grid control plane side senses a network quality value and a service classification corresponding to the network quality value, queries a network quality threshold corresponding to the service classification, determines whether the network quality value is smaller than the network quality threshold, and adjusts the service request deadline corresponding to the service classification to a monitoring time if the network quality value is smaller than the network quality threshold, so that the sidecar side does not need to consult a service request to the service grid control plane side, thereby reducing the number of times of consultation, improving the resource utilization rate, and improving the network efficiency.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.

Claims (6)

1. A method for service request deadline processing, comprising:
sensing a network quality value and a service classification corresponding to the network quality value by a service grid control plane side;
the service grid control plane side inquires out a network quality threshold value corresponding to the service classification;
the service grid control plane side judges whether the network quality value is smaller than the network quality threshold value;
if the service grid control surface side judges that the network quality value is smaller than the network quality threshold value, the service request deadline corresponding to the service classification is adjusted to be monitoring time;
if the service grid control surface side judges that the network quality value is greater than or equal to the network quality threshold, the step of sensing the network quality value and the service classification corresponding to the network quality value on the service grid control surface side is continuously executed;
before sensing the network quality value and the service classification corresponding to the network quality value by the service grid control plane side, the method further comprises the following steps:
the side car side judges whether the service request initiating time exceeds the service request deadline;
if the side car side judges that the service request initiating time exceeds the service request deadline, judging whether the service request deadline is the monitoring time;
and if the side car side judges that the service request deadline is not the monitoring time, sending a query request to the service grid control plane side, and continuously executing the step of sensing the network quality value and the service classification corresponding to the network quality value by the service grid control plane side.
2. The method of claim 1, wherein sensing a network quality value and a service classification corresponding to the network quality value at the service grid control plane side comprises: and sensing the network quality value and the service classification corresponding to the network quality value by the service grid control surface side according to a set time interval.
3. The method of claim 1, wherein querying the service grid control plane side for the network quality threshold corresponding to the service classification comprises:
and the service grid control surface side inquires out a network quality threshold corresponding to the service classification from the preset corresponding relation between the service classification and the network quality threshold.
4. A service request deadline processing system, comprising: service grid control plane side;
a service grid control surface side for sensing a network quality value and a service classification corresponding to the network quality value; querying a network quality threshold corresponding to the service classification; determining whether the network quality value is less than the network quality threshold; if the network quality value is judged to be smaller than the network quality threshold value, the service request deadline corresponding to the service classification is adjusted to be monitoring time;
the service grid control surface side is further used for continuing to execute the step of sensing the network quality value and the service classification corresponding to the network quality value if the network quality value is judged to be greater than or equal to the network quality threshold;
the side car side is used for judging whether the service request initiating time exceeds the service request deadline; if the service request initiating time exceeds the service request deadline, judging whether the service request deadline is the monitoring time; and if the service request deadline is judged not to be the monitoring time, sending an inquiry request to the service grid control plane side, and triggering the service grid control plane side to execute the steps of sensing the network quality value and service classification corresponding to the network quality value.
5. The service request deadline processing system of claim 4, wherein the service grid control plane side is specifically configured to sense a network quality value and a service classification corresponding to the network quality value at set time intervals.
6. The system according to claim 4, wherein the service mesh control plane is specifically configured to query a network quality threshold corresponding to a service classification from a preset correspondence between the service classification and the network quality threshold.
CN201810680122.8A 2018-06-27 2018-06-27 Service request deadline processing method and system Active CN108881451B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810680122.8A CN108881451B (en) 2018-06-27 2018-06-27 Service request deadline processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810680122.8A CN108881451B (en) 2018-06-27 2018-06-27 Service request deadline processing method and system

Publications (2)

Publication Number Publication Date
CN108881451A CN108881451A (en) 2018-11-23
CN108881451B true CN108881451B (en) 2021-06-08

Family

ID=64295304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810680122.8A Active CN108881451B (en) 2018-06-27 2018-06-27 Service request deadline processing method and system

Country Status (1)

Country Link
CN (1) CN108881451B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11012520B2 (en) * 2019-03-11 2021-05-18 International Business Machines Corporation Manage a network of microservices
CN112351106B (en) * 2020-11-12 2021-08-27 四川长虹电器股份有限公司 Service grid platform containing event grid and communication method thereof
CN112653597B (en) * 2020-12-17 2022-07-12 中国联合网络通信集团有限公司 Service grid-based service fusing mechanism adjusting method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10230571B2 (en) * 2014-10-30 2019-03-12 Equinix, Inc. Microservice-based application development framework
US10114970B2 (en) * 2015-06-02 2018-10-30 ALTR Solutions, Inc. Immutable logging of access requests to distributed file systems

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Service Mesh(服务网格)入门;Mike;《运维之美》;20180408;全文 *
Sidecar pattern;微软技术人员;《Sidecar pattern》;20170623;全文 *

Also Published As

Publication number Publication date
CN108881451A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN108881451B (en) Service request deadline processing method and system
WO2021082301A1 (en) Sleep and wakeup method for in-vehicle hybrid network comprising in-vehicle ethernet
CN109828935B (en) Parallel flash method based on CAN FD bus
CN104780080B (en) Deep message detection method and system
CN105141704A (en) Sleep wakeup method of vehicle-mounted communication controller assembly
US20160134436A1 (en) Chain-type wireless sensor network-oriented hybrid media access control method
CN103906207A (en) Wireless sensor network data transmission method based on self-adaptation required awakening technology
CN103942108B (en) Resource parameters optimization method under Hadoop isomorphism cluster
CN106230997A (en) A kind of resource regulating method and device
CN106060955B (en) wireless sensor network MAC protocol polling control method based on three types of services
CN102750368B (en) High-speed importing method of cluster data in data base
Li et al. GSPN-based reliability-aware performance evaluation of IoT services
CN109104313B (en) SFC dynamic deployment method with flow awareness and energy perception
CN110266757B (en) Edge computing resource optimization method for task collaborative scene
CN108833167B (en) Communication optimization system and method based on edge calculation
CN101909350A (en) Method for maximizing lifetime in wireless network
CN106507699A (en) Power consumption in control peer-to-peer communications
EP2477437B1 (en) Method and device for operating and managing memory
WO2017165999A1 (en) Network service implementation method, service controller, and communication system
US10674337B2 (en) Method and device for processing operation for device peripheral
CN107122246B (en) Intelligent numerical simulation operation management and feedback method
CN106101988B (en) A method of reducing machine type communication access interference probability and time delay
CN111225413A (en) Method and system for managing and controlling flow
CN103813425A (en) Traffic self-adaptive energy-saving media access control method
CN113727461A (en) Ad-hoc network flashing method of automobile assembly production line

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