CN114221906A - Flow control method and device, electronic equipment and storage medium - Google Patents

Flow control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114221906A
CN114221906A CN202111335899.9A CN202111335899A CN114221906A CN 114221906 A CN114221906 A CN 114221906A CN 202111335899 A CN202111335899 A CN 202111335899A CN 114221906 A CN114221906 A CN 114221906A
Authority
CN
China
Prior art keywords
service group
strategy
corresponding service
policy
version number
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.)
Pending
Application number
CN202111335899.9A
Other languages
Chinese (zh)
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.)
Baidu Online Network Technology Beijing Co Ltd
Original Assignee
Baidu Online Network Technology Beijing 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 Baidu Online Network Technology Beijing Co Ltd filed Critical Baidu Online Network Technology Beijing Co Ltd
Priority to CN202111335899.9A priority Critical patent/CN114221906A/en
Publication of CN114221906A publication Critical patent/CN114221906A/en
Pending legal-status Critical Current

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present disclosure provides a flow control method, an apparatus, an electronic device and a storage medium, which relate to the technical field of data processing, in particular to the technical field of cloud computing, and include: the first equipment receives a request sent by the second equipment; acquiring an identifier of a second device sending the request; and if the identifier of the second equipment sending the request is in the service group policy identifier set corresponding to the at least one service group in which the first equipment is positioned, executing the service group policy corresponding to the service group policy identifier set on the request.

Description

Flow control method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to the field of cloud computing technologies.
Background
The existing flow control method needs to make strategies according to a single device to control the flow, each device corresponds to one identifier, the strategies of each device are different, the number of the strategies to be made is very large, and when the devices are changed, the number of the strategies to be modified is very large.
Disclosure of Invention
The disclosure provides a flow control method, a flow control device, electronic equipment and a storage medium.
According to an aspect of the present disclosure, there is provided a flow management method, including:
the first equipment receives a request sent by the second equipment;
acquiring an identifier of a second device sending the request;
and if the identifier of the second device sending the request is in the service group policy identifier set corresponding to the at least one service group in which the first device is positioned, executing the service group policy corresponding to the service group policy identifier set on the request.
According to another aspect of the present disclosure, there is provided a traffic management and control apparatus, including:
the receiving and sending module is used for receiving a request sent by the second equipment by the first equipment;
the acquisition module is used for acquiring the identifier of the second equipment sending the request;
and the computing module is used for executing the service group policy corresponding to the service group policy identifier set on the request if the identifier of the second device sending the request is in the service group policy identifier set corresponding to the at least one service group in which the first device is positioned.
According to another aspect of the present disclosure, there is provided an electronic device including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform any of the methods described above.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any of the above.
According to another aspect of the disclosure, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the method of any of the above.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is a schematic flow chart diagram of a flow management method according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart diagram of another flow management method provided in accordance with an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart diagram of another flow management method provided in accordance with an embodiment of the present disclosure;
FIG. 4 is a schematic flow chart diagram of another flow management method provided in accordance with an embodiment of the present disclosure;
FIG. 5 is a schematic flow chart diagram of another flow management method provided in accordance with an embodiment of the present disclosure;
fig. 6 is a schematic flow chart diagram illustrating a specific method for traffic control according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a flow management and control device provided according to an embodiment of the present disclosure;
FIG. 8 is a block diagram of an electronic device for implementing a flow management method of an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In order to perform traffic control on a device through a service group policy identifier set so that the device does not need to modify a policy when it is modified, and reduce device performance required for traffic control, as shown in fig. 1, an embodiment of the present disclosure provides a traffic control method, including:
step 101, a first device receives a request sent by a second device.
When a second device needs to request a certain service, sending a request to a first device in a service group capable of executing the service, wherein the service group is an identifier or a set of identifiers and ports of all devices capable of executing the certain service;
for example, when the second device needs to request data in the database, a request is sent to a certain first device in the first service group, that is, the database service group, to request the data needed by the second device.
Step 102, obtaining an identification of the second device sending the request.
Step 103, if the identifier of the second device sending the request is in the service group policy identifier set corresponding to the at least one service group in which the first device is located, executing the service group policy corresponding to the service group policy identifier set on the request.
The service group policy may be a policy made for the devices in the service group alone, or may be a general policy made for the devices in all service groups, and is distributed to the devices in the corresponding service group by the policy control center before use.
The existing method establishes policies according to a single device to manage and control traffic, for example, a first service group has 10 devices, a second service group has 20 devices, each policy of the devices is different, 10 × 20 policies need to be set, when a device in the first service group or the second service group is changed, the policies related to the device need to be modified, the demand on the device performance is very high, the cost for managing and controlling traffic is greatly increased, when a plurality of service groups are provided, the required device performance and the cost for managing and controlling traffic are increased exponentially, when the traffic management and control method in this embodiment is used, only the service group needs to be set with a service group policy identification set capable of accessing the service group, traffic management and control when other service groups access the devices in the service group can be realized, when the device in the service group is changed, the method has the advantages that only the service group strategy identification set of the service group needs to be modified to increase or reduce the equipment, the corresponding service group strategy does not need to be modified, the time complexity is greatly reduced, the strategy which is originally formulated according to a single piece of equipment is improved to be formulated by setting the service group strategy identification set, the number of the strategies to be generated and issued is greatly reduced, and the required equipment performance and the cost of flow control are reduced.
In an implementation manner, as shown in fig. 2, after the identifier of the second device is obtained in step 102, step 104 may be executed to determine whether the identifier of the second device sending the request is in a service group policy identifier set corresponding to at least one service group where the first device is located, and if the determination result is yes, step 103 is executed; and if the judgment result is negative, rejecting the request sent by the second equipment.
The second device has its own identifier, and sends a request to the first device, the first device may be capable of executing multiple services and belong to multiple service groups at the same time, so that the first device may have multiple service group policy identifier sets at the same time, and first determines whether the first device of the service to be accessed, which is sent by the second device, can execute the service, if so, determines whether the identifier of the second device is in the service group policy identifier set according to the corresponding service group policy identifier set, and the service group policy identifier set is a set containing identifiers of devices allowed to access the corresponding service group, which is obtained from a policy control center in advance;
for example, when the device identifier is an IP (internet protocol address) of the device, the first service group policy identifier set is {192.168.0.1, 192.168.0.10, 192.168.0.14, 192.168.0.18, 192.168.0.29, 192.168.0.35, 192.168.0.49}, the identifier of the second device sending the request is 192.168.0.29, and the identifier of the second device sending the request is in the first service group policy identifier set;
for another example, when the device identifier is an IP of the device, the first service group policy identifier set is {192.168.0.1, 192.168.0.10, 192.168.0.14, 192.168.0.18, 192.168.0.29, 192.168.0.35, 192.168.0.49}, the identifier of the second device sending the request is 192.168.0.82, and the identifier of the second device sending the request is not in the first service group policy identifier set.
After receiving the identifier of the second device sent by the second device, determining the identifier of the second device, determining whether the identifier of the second device is in a service group policy identifier set corresponding to at least one service group in which the first device is located, where the first device may belong to multiple service groups at the same time, that is, a service group policy identifier set corresponding to a plurality of service groups may exist in the first device, and if the identifier of the second device is in the service group policy identifier set corresponding to at least one service group existing in the first device, it indicates that the request of the second device is allowed to access the first device, and if the identifier of the second device is not in the service group policy identifier set corresponding to any one service group existing in the first device, the request of the second device is rejected, thereby reducing the risk of access between service group devices, and improving the security of traffic control.
Before step 101, in an embodiment, as shown in fig. 3, step 201 to step 203 are performed;
step 201, acquiring a first policy version number from a policy control center every a first time period;
step 202, judging whether the first strategy version number is the same as a second strategy version number on the local computer;
in step 202, determining whether the first policy version number is the same as a second policy version number on the local computer, if the first policy version number is the same as the second policy version number on the local computer, directly executing step 101 to execute the method shown in fig. 1 or fig. 2, and if the first policy version number is different from the second policy version number on the local computer, continuing to execute step 203;
step 203, if the two are different, acquiring a corresponding service group policy identifier set from a policy control center according to the first policy version number;
after acquiring the corresponding service group policy identifier set from the policy control center according to the first policy version number in step 203, step 101 is executed to execute the method shown in fig. 1 or fig. 2.
Every other first time period, each device in each service group acquires a first strategy version number from the strategy control center, the first strategy version number is the latest version number of the corresponding service group strategy in the strategy control center, whether the first strategy version number is the same as a second strategy version number on the local device is judged, if the first strategy version number is different from the second strategy version number, the corresponding service group strategy identification set is acquired from the strategy control center according to the first strategy version number, the modified service group strategy identification set can be updated regularly, and the real-time performance of flow control is improved.
Before step 101, in an embodiment, as shown in fig. 4, step 301 to step 303 are performed;
step 301, receiving a first policy version number sent by a message queue center;
step 302, judging whether the first strategy version number is the same as a second strategy version number on the local computer;
in step 302, determining whether the first policy version number is the same as a second policy version number on the local computer, if the first policy version number is the same as the second policy version number on the local computer, directly executing step 101 to execute the method shown in fig. 1 or fig. 2, and if the first policy version number is different from the second policy version number on the local computer, continuing to execute step 303;
and 303, if the number of the service group policy identifier set is different, acquiring a corresponding service group policy identifier set from the message queue center according to the first policy version number, wherein the corresponding service group policy identifier set is obtained by modifying the corresponding service group policy identifier set according to a change when the policy control center monitors that any device related to the corresponding service group policy identifier set is changed, and sending the modified service group policy identifier set to the message queue center.
After acquiring the corresponding service group policy identifier set from the message queue center according to the first policy version number in step 303, step 101 is executed to execute the method shown in fig. 1 or fig. 2.
When the policy control center monitors that any device involved in the corresponding service group policy identifier set changes, for example, a device allowed to access the corresponding service group is increased, the corresponding service group policy identifier set needs to increase the identifier of the device, the policy control center monitors and modifies the corresponding service group policy identifier set and then sends the corresponding service group policy identifier set to the message queue center, so that the message queue center sends a notification to the device of the corresponding service group needing to be updated, the device of the corresponding service group obtains the modified corresponding service group policy identifier set from the message queue center according to the notification after receiving the notification and updates the modified corresponding service group policy identifier set, the identifier set of the device in the service group with the modified identifier set can be updated in real time, and only the identifier set of the device in the service group with the modified identifier set is updated, the data volume of the update identification set is reduced, the service group strategy does not need to be updated, and the maintenance cost is reduced.
Before step 101, in an implementation manner, as shown in fig. 5, step 401 is executed to receive a corresponding service group policy identifier set sent by a message queue center, where the corresponding service group policy identifier set is that when a policy control center monitors that any device involved in the corresponding service group policy identifier set changes, the corresponding service group policy identifier set is modified according to the change and sent to the message queue center, and the message queue center sends the modified corresponding service group policy identifier set to a device in a corresponding service group.
After receiving the corresponding set of service group policy identifications sent by the message queue center in step 401, step 101 is performed to perform the method shown in fig. 1 or fig. 2.
When the policy control center monitors that any device involved in the corresponding service group policy identifier set changes, for example, a device allowed to access the corresponding service group is increased, the corresponding service group policy identifier set needs to increase the identifier of the device, the policy control center monitors and modifies the corresponding service group policy identifier set and then sends the corresponding service group policy identifier set to the message queue center, the message queue center directly sends the modified corresponding service group policy identifier set to the corresponding service group according to the modified corresponding service group policy identifier set, so that the corresponding service group receives and updates the modified corresponding service group policy identifier set, and since the message queue center does not send the version number any more, the device in the corresponding service group obtains the corresponding service group policy identifier set according to the version number, but directly sending the modified corresponding service group strategy identification set to the equipment in the corresponding service group, thereby reducing the steps of updating the service group strategy identification set, improving the efficiency of updating the service group strategy identification set and further reducing the maintenance cost.
As shown in fig. 6, an embodiment of the present disclosure provides a specific method for traffic control, where the method includes:
executing step 201, acquiring a first strategy version number from a strategy control center every a first time period;
step 202, judging whether the first strategy version number is the same as a second strategy version number on the local computer;
and 203, if the two are different, acquiring a corresponding service group policy identifier set from a policy control center according to the first policy version number.
Or executing step 301, receiving a first policy version number sent by a message queue center;
step 302, judging whether the first strategy version number is the same as a second strategy version number on the local computer;
and 303, if the number of the service group strategy identifier set is different, acquiring a corresponding service group strategy identifier set from the message queue center according to the first strategy version number, wherein the corresponding service group strategy is to modify the corresponding service group strategy identifier set according to the change and send the modified service group strategy identifier set to the message queue center when the strategy control center monitors that any device related to the corresponding service group strategy identifier set changes.
Or executing step 401, receiving a corresponding service group policy identifier set sent by the message queue center, where the corresponding service group policy identifier set is that when the policy control center monitors that any device related to the corresponding service group policy identifier set changes, the corresponding service group policy identifier set is modified according to the change and sent to the message queue center, and the message queue center sends the modified corresponding service group policy identifier set to the device in the corresponding service group.
Executing step 201 to step 203, or executing step 301 to step 303, or executing step 401 is to update the service group policy identifier sets in all the devices, and when there is a change in the service group policy identifier sets, executing the above three methods for updating, and after executing step 201 to step 203, or executing step 301 to step 303, or executing step 401, executing step 101, where the first device receives a request sent by the second device;
step 102, acquiring an identifier of a second device sending a request;
step 104, judging whether the identifier of the second device sending the request is in a service group policy identifier set corresponding to at least one service group where the first device is located;
step 103, if the identifier of the second device sending the request is in the service group policy identifier set corresponding to the at least one service group in which the first device is located, executing the service group policy corresponding to the service group policy identifier set on the request.
When the specific method for traffic control in this embodiment is used, only the service group needs to be provided with the service group policy identifier set capable of accessing the service group, and traffic control when other service groups access the devices in the service group can be realized.
An embodiment of the present disclosure provides a flow rate control device, as shown in fig. 7, the device includes:
a transceiver module 10, configured to receive, by a first device, a request sent by a second device;
the acquisition module 20 is configured to acquire an identifier of a second device that sends the request;
the calculating module 30 is configured to execute a service group policy corresponding to the service group policy identifier set on the request if the identifier of the second device sending the request is in the service group policy identifier set corresponding to the at least one service group in which the first device is located.
The transceiver module 10 is further configured to obtain a first policy version number from a policy control center every first time period;
the transceiver module 10 is further configured to, if the first policy version number is different from a second policy version number on the local device, obtain a corresponding service group policy identifier set from a policy control center according to the first policy version number.
The transceiver module 10 is further configured to receive a first policy version number sent by a message queue center;
the transceiver module 10 is further configured to, if the first policy version number is different from a second policy version number on the local device, obtain a corresponding service group policy identifier set from the message queue center according to the first policy version number, where the corresponding service group policy identifier set is configured to, when the policy control center monitors that any device involved in the corresponding service group policy identifier set is changed, modify the corresponding service group policy identifier set according to the change, and send the modified service group policy identifier set to the message queue center.
The transceiver module 10 is further configured to receive a corresponding service group policy identifier set sent by the message queue center, where the corresponding service group policy identifier set is configured to modify the corresponding service group policy identifier set according to a change when the policy control center monitors that any device involved in the corresponding service group policy identifier set changes, and send the modified corresponding service group policy identifier set to the message queue center, and the message queue center sends the modified corresponding service group policy identifier set to the device in the corresponding service group.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the personal information of the related user all accord with the regulations of related laws and regulations, and do not violate the good customs of the public order.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 8 shows a schematic block diagram of an example electronic device 500 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 8, the apparatus 500 includes a computing unit 501 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)502 or a computer program loaded from a storage unit 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The calculation unit 501, the ROM 502, and the RAM 503 are connected to each other by a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
A number of components in the device 500 are connected to the I/O interface 505, including: an input unit 506 such as a keyboard, a mouse, or the like; an output unit 507 such as various types of displays, speakers, and the like; a storage unit 508, such as a magnetic disk, optical disk, or the like; and a communication unit 509 such as a network card, modem, wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The computing unit 501 may be a variety of general-purpose and/or special-purpose processing components having processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The computing unit 501 performs the various methods and processes described above, such as the flow management method. For example, in some embodiments, the flow management method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 508. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 500 via the ROM 502 and/or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of the flow management method described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the flow management method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server with a combined blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (11)

1. A method of flow management, comprising:
the first equipment receives a request sent by the second equipment;
acquiring an identifier of a second device sending the request;
and if the identifier of the second device sending the request is in the service group policy identifier set corresponding to the at least one service group in which the first device is positioned, executing the service group policy corresponding to the service group policy identifier set on the request.
2. The method of claim 1, further comprising:
acquiring a first strategy version number from a strategy control center every other first time period;
and if the first strategy version number is different from a second strategy version number on the local machine, acquiring a corresponding service group strategy identification set from a strategy control center according to the first strategy version number.
3. The method of claim 1, further comprising:
receiving a first strategy version number sent by a message queue center;
and if the first strategy version number is different from a second strategy version number on the local machine, acquiring a corresponding service group strategy identification set from the message queue center according to the first strategy version number, wherein the corresponding service group strategy is to modify the corresponding service group strategy identification set according to the change and send the modified service group strategy identification set to the message queue center when the strategy control center monitors that any device related to the corresponding service group strategy identification set changes.
4. The method of claim 1, further comprising:
receiving a corresponding service group strategy identification set sent by a message queue center, wherein the corresponding service group strategy identification set is that when a strategy control center monitors that any equipment related in the corresponding service group strategy identification set changes, the corresponding service group strategy identification set is modified according to the change and sent to the message queue center, and the message queue center sends the modified corresponding service group strategy identification set to the equipment in the corresponding service group.
5. A traffic management apparatus, comprising:
the receiving and sending module is used for receiving a request sent by the second equipment by the first equipment;
the acquisition module is used for acquiring the identifier of the second equipment sending the request;
and the computing module is used for executing the service group policy corresponding to the service group policy identifier set on the request if the identifier of the second device sending the request is in the service group policy identifier set corresponding to the at least one service group in which the first device is positioned.
6. The apparatus of claim 5, comprising:
the receiving and sending module is further used for acquiring a first strategy version number from the strategy control center every other first time period;
and the transceiver module is further configured to acquire a corresponding service group policy identifier set from a policy control center according to the first policy version number if the first policy version number is different from a second policy version number on the local device.
7. The apparatus of claim 5, comprising:
the receiving and sending module is also used for receiving a first strategy version number sent by the message queue center;
the receiving and sending module is further configured to, if the first policy version number is different from a second policy version number on the local device, obtain a corresponding service group policy identifier set from the message queue center according to the first policy version number, where the corresponding service group policy identifier set is configured to, when the policy control center monitors that any device involved in the corresponding service group policy identifier set is changed, modify the corresponding service group policy identifier set according to the change, and send the modified service group policy identifier set to the message queue center.
8. The apparatus of claim 5, comprising:
the receiving and sending module is further configured to receive a corresponding service group policy identifier set sent by the message queue center, where the corresponding service group policy identifier set is configured to modify the corresponding service group policy identifier set according to a change when the policy control center monitors that any device related to the corresponding service group policy identifier set changes, and send the modified corresponding service group policy identifier set to a device in the corresponding service group.
9. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-4.
10. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-4.
11. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-4.
CN202111335899.9A 2021-11-11 2021-11-11 Flow control method and device, electronic equipment and storage medium Pending CN114221906A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111335899.9A CN114221906A (en) 2021-11-11 2021-11-11 Flow control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111335899.9A CN114221906A (en) 2021-11-11 2021-11-11 Flow control method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114221906A true CN114221906A (en) 2022-03-22

Family

ID=80697022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111335899.9A Pending CN114221906A (en) 2021-11-11 2021-11-11 Flow control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114221906A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090055888A1 (en) * 2007-08-24 2009-02-26 Mark Cameron Little Self identifying services in distributed computing
CN102369701A (en) * 2010-04-29 2012-03-07 华为技术有限公司 Method and device for multi-user binding network resources control
CN102958046A (en) * 2011-08-22 2013-03-06 中兴通讯股份有限公司 Method and system for controlling mobile terminal access services and DRA (diameter routing agent)
CN106506729A (en) * 2017-01-11 2017-03-15 中国互联网络信息中心 A kind of DNS policy resolution method and devices based on DNS views
CN107347051A (en) * 2016-05-05 2017-11-14 阿里巴巴集团控股有限公司 A kind of service message processing method and system
CN107547432A (en) * 2017-08-28 2018-01-05 新华三信息安全技术有限公司 A kind of flow control methods and device
CN108418851A (en) * 2018-01-12 2018-08-17 阿里巴巴集团控股有限公司 Policy issue system, method, apparatus and equipment
US10216949B1 (en) * 2013-09-20 2019-02-26 Amazon Technologies, Inc. Dynamic quorum membership changes
CN109617718A (en) * 2018-12-06 2019-04-12 平安科技(深圳)有限公司 The traffic management and control method, apparatus and storage medium of SAAS cloud platform
CN111541616A (en) * 2020-03-31 2020-08-14 新华三技术有限公司 Flow control method and device
US10868836B1 (en) * 2017-06-07 2020-12-15 Amazon Technologies, Inc. Dynamic security policy management
CN112965836A (en) * 2021-03-04 2021-06-15 北京百度网讯科技有限公司 Service control method and device, electronic equipment and readable storage medium
CN113391890A (en) * 2021-04-16 2021-09-14 北京沃东天骏信息技术有限公司 Task processing method, device and equipment and computer storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090055888A1 (en) * 2007-08-24 2009-02-26 Mark Cameron Little Self identifying services in distributed computing
CN102369701A (en) * 2010-04-29 2012-03-07 华为技术有限公司 Method and device for multi-user binding network resources control
CN102958046A (en) * 2011-08-22 2013-03-06 中兴通讯股份有限公司 Method and system for controlling mobile terminal access services and DRA (diameter routing agent)
US10216949B1 (en) * 2013-09-20 2019-02-26 Amazon Technologies, Inc. Dynamic quorum membership changes
US20190188406A1 (en) * 2013-09-20 2019-06-20 Amazon Technologies, Inc. Dynamic quorum membership changes
CN107347051A (en) * 2016-05-05 2017-11-14 阿里巴巴集团控股有限公司 A kind of service message processing method and system
CN106506729A (en) * 2017-01-11 2017-03-15 中国互联网络信息中心 A kind of DNS policy resolution method and devices based on DNS views
US10868836B1 (en) * 2017-06-07 2020-12-15 Amazon Technologies, Inc. Dynamic security policy management
CN107547432A (en) * 2017-08-28 2018-01-05 新华三信息安全技术有限公司 A kind of flow control methods and device
CN108418851A (en) * 2018-01-12 2018-08-17 阿里巴巴集团控股有限公司 Policy issue system, method, apparatus and equipment
CN109617718A (en) * 2018-12-06 2019-04-12 平安科技(深圳)有限公司 The traffic management and control method, apparatus and storage medium of SAAS cloud platform
CN111541616A (en) * 2020-03-31 2020-08-14 新华三技术有限公司 Flow control method and device
CN112965836A (en) * 2021-03-04 2021-06-15 北京百度网讯科技有限公司 Service control method and device, electronic equipment and readable storage medium
CN113391890A (en) * 2021-04-16 2021-09-14 北京沃东天骏信息技术有限公司 Task processing method, device and equipment and computer storage medium

Similar Documents

Publication Publication Date Title
CN114064074A (en) Upgrade task management and control method and device, electronic equipment and storage medium
CN114911598A (en) Task scheduling method, device, equipment and storage medium
CN114448802B (en) Gateway configuration method, device, electronic equipment and storage medium
CN113360689B (en) Image retrieval system, method, related device and computer program product
CN116661960A (en) Batch task processing method, device, equipment and storage medium
CN114221906A (en) Flow control method and device, electronic equipment and storage medium
CN115550413A (en) Data calling method and device, service gateway and storage medium
CN114070889A (en) Configuration method, traffic forwarding method, device, storage medium, and program product
CN114612212A (en) Business processing method, device and system based on risk control
CN114095564A (en) Data processing method and device, equipment and medium
CN114139605A (en) Distributed model training method, system, device and storage medium
CN115037802B (en) Request processing method and device, electronic equipment and storage medium
CN116566737B (en) Permission configuration method and device based on SaaS platform and related equipment
EP3992794A2 (en) Method and apparatus for acquiring information
CN116996481B (en) Live broadcast data acquisition method and device, electronic equipment and storage medium
CN117081939A (en) Traffic data processing method, device, equipment and storage medium
CN116980386A (en) Domain name access method and device, electronic equipment and readable storage medium
CN115529346A (en) Service changing method, device, equipment and storage medium
CN114445246A (en) Trademark monitoring method and device, electronic equipment and storage medium
CN115951921A (en) Service processing method, device and storage medium
CN114356505A (en) Method, apparatus, device, medium and product for scheduling groups of containers
CN115776531A (en) Data access processing method and device, electronic equipment and readable storage medium
CN117743467A (en) Agent node replacement method, device, equipment and storage medium
CN114760251A (en) Data distribution method and device, electronic equipment and computer readable storage medium
CN115756532A (en) Configuration file updating method and device and electronic equipment

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