Business processing method, device, equipment and medium based on tenant access to cloud network
By obtaining and judging the priority of tenant business flow and determining bandwidth, the tenant priority mapping problem in cloud networks is solved, DPU usage and server resource utilization are improved, and tenant service quality is improved.
Patent Information
- Application Number
- CN202311219516.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-20
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2043-09-20
AI Technical Summary
In cloud networks, non-trusted tenants may maliciously preempt bandwidth by setting high-priority packets, affecting the service quality of other tenants. Global non-mapping makes it impossible to distinguish service quality based on tenant message priority, and the tenant experience is poor.
By obtaining tenant business flow, querying the preset operation list to determine the original priority, obtaining the target priority, and determining the bandwidth according to the target priority, providing corresponding service quality distinction services on the DPU, improving DPU usage and reducing the burden on the central processor .
It realizes the distinction between service quality according to tenant priorities, improves DPU usage and server resource utilization, reduces the burden on the central processor, and improves the service experience of tenants.
Smart Images

Figure CN117376266B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a service processing method, device, equipment and medium based on tenant access to a cloud network. Background Art
[0002] The cloud network is deployed based on the physical network of the data center. The server nodes (including computing nodes and forwarding nodes) in the cloud network generally communicate using tunnel encapsulated messages. Tunnel messages are usually offloaded to the data processing unit (DPU) network card for encapsulation and decapsulation.
[0003] When the data center provides services, the messages sent by the virtual machines will carry their own priority information. When the device is connected to the cloud network, it will be tunnel encapsulated and then connected to the gateway device. Among them, the outer message priority is processed during tunnel encapsulation, including global mapping and global non-mapping. Global mapping is to map the priority information of all tenant messages to the outer message, which may cause untrusted tenants to maliciously occupy bandwidth by setting high-priority messages, affecting the service quality of other tenants; global non-mapping is that when the basic network of the data center forwards tunnel encapsulated messages, it is impossible to distinguish services based on the quality of service (QoS) according to the tenant message priority, resulting in a poor tenant experience.
[0004] Therefore, there is an urgent need for a business processing method based on tenant access to a cloud network to solve the above problems. Summary of the invention
[0005] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a business processing method, device, equipment and medium based on tenant access to a cloud network to improve the utilization rate of the DPU, reduce the burden on the central processing unit, and improve the resource utilization of the server.
[0006] In a first aspect, an embodiment of the present disclosure provides a service processing method based on tenant access to a cloud network, including:
[0007] Get the business flow corresponding to the tenant's business;
[0008] Querying a preset operation list based on the business flow, determining whether the business flow trusts the original priority, where the original priority is set by the tenant;
[0009] Based on the trust original priority of the business flow, obtaining the target priority of the business flow;
[0010] Based on the target priority of the service flow, a bandwidth of the service flow is determined.
[0011] In a second aspect, an embodiment of the present disclosure provides a service processing device based on tenant access to a cloud network, including:
[0012] A first acquisition module is used to acquire the business flow corresponding to the tenant business;
[0013] A judgment module, used to query a preset operation list based on the business flow to judge whether the business flow trusts the original priority, where the original priority is set by the tenant;
[0014] A second acquisition module is used to acquire the target priority of the service flow based on the trust original priority of the service flow;
[0015] The determination module is used to determine the bandwidth of the service flow based on the target priority of the service flow.
[0016] In a third aspect, an embodiment of the present disclosure provides an electronic device, including:
[0017] Memory;
[0018] Processor; and
[0019] Computer programs;
[0020] The computer program is stored in the memory and is configured to be executed by the processor to implement the method as described in the first aspect.
[0021] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the method described in the first aspect.
[0022] In a fifth aspect, an embodiment of the present disclosure further provides a computer program product, which includes a computer program or instructions, and when the computer program or instructions are executed by a processor, the method described in the first aspect is implemented.
[0023] The business processing method, device, equipment and medium based on tenant access to the cloud network provided by the embodiments of the present disclosure obtain the business flow corresponding to the tenant business; query the preset operation list based on the business flow to determine whether the business flow trusts the original priority, and the original priority is set by the tenant; obtain the target priority of the business flow based on the business flow trusting the original priority; determine the bandwidth of the business flow based on the target priority of the business flow, and provide service quality differentiation service corresponding to the target priority on the DPU according to the target priority of the business flow, thereby improving the utilization rate of the DPU. At the same time, the business flow is accelerated by hardware offload on the DPU, which reduces the burden on the central processing unit and improves the resource utilization of the server. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0025] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0026] Figure 1 A flow chart of a service processing method based on tenant access to a cloud network provided in an embodiment of the present disclosure;
[0027] Figure 2 A schematic diagram of a global trust priority mapping table issuance process provided in an embodiment of the present disclosure;
[0028] Figure 3 A schematic diagram of the process of adding an operation to a service flow table provided in an embodiment of the present disclosure;
[0029] Figure 4 A schematic diagram of the structure of a service processing device based on tenant access to a cloud network provided in an embodiment of the present disclosure;
[0030] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0031] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0032] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0033] The cloud virtual network is deployed based on the physical network of the data center. The server nodes (including computing nodes and forwarding nodes) in the cloud virtual network generally communicate using tunnel encapsulated messages. Tunnel messages are usually offloaded to the DPU network card for encapsulation and decapsulation.
[0034] When the data center provides services, the messages sent by the virtual machines will carry their own priority information. When the device accesses the cloud network, it will be tunnel encapsulated and then connected to the gateway device. The outer message priority during tunnel encapsulation includes: global mapping and global non-mapping. Global mapping is to map the priority information of all tenant messages to the outer message, which may cause untrusted tenants to maliciously occupy bandwidth by setting high-priority messages, affecting the service quality of other tenants; global non-mapping is when the basic network of the data center forwards the tunnel encapsulated message, it is impossible to distinguish the service quality (Quality of Service, QoS) according to the tenant message priority, and the tenant experience is not good. To solve this problem, the embodiment of the present disclosure provides a business processing method based on tenant access to the cloud network, and the method is introduced in conjunction with specific embodiments below.
[0035] Figure 1 A flow chart of a business processing method based on tenant access to a cloud network provided in an embodiment of the present disclosure. The method can be executed by a business processing device based on tenant access to a cloud network, and the business processing device based on tenant access to a cloud network can be implemented in software and / or hardware. The business processing device based on tenant access to a cloud network can be configured in an electronic device, such as a server or a terminal, wherein the terminal specifically includes a mobile phone, a computer or a tablet computer, etc. In addition, the method can be applied to application scenarios of business processing based on tenant access to a cloud network. It can be understood that the business processing method based on tenant access to a cloud network provided in an embodiment of the present disclosure can also be applied in other scenarios.
[0036] Below Figure 1 The service processing method based on tenant access to the cloud network is introduced, and the specific steps of the method are as follows:
[0037] S101. Obtain the service flow corresponding to the tenant service.
[0038] Get the business flow corresponding to the tenant business.
[0039] S102: query a preset operation list based on the business flow to determine whether the business flow trusts the original priority, where the original priority is set by the tenant.
[0040] A preset operation list is queried according to the business flow, and the preset operation list may specifically be an action list flow table, to determine whether the business flow trusts the original priority.
[0041] Optionally, the original priority includes a Differentiated Services Code Point.
[0042] Differentiated Services Code Point (DSCP) IETF released the Diff-Serv (Differentiated Service) Quality of Service (QoS) classification standard in December 1998. It uses the used 6 bits and unused 2 bits in the service category Tencent OS (TOS) identification byte of each data packet IP header to distinguish priorities through coded values. DSCP uses 6 bits, and the value range of DSCP is 0 to 63. DSCP is a combination of the "Internet Protocol (IP) Priority" and "Service Type" fields. In order to use old routers that only support "IP Priority", DSCP values are used because DSCP values are compatible with the "IP Priority" field. DSCP is encoded in the 8 identification bytes of the IP header of the data packet to ensure the QoS of communication, to classify service categories and distinguish service priorities. Each DSCP code value is mapped to a defined identification code (Per-Hop-Behavior, PHB).
[0043] Specifically, when the original priority is a differential service code point, a preset operation list is queried according to the service flow, and the preset operation list can be an action list flow table, and it is determined whether the service flow in the preset operation list trusts the differential service code point, and the trust differential service code point can be trust dscp action. The following will take the differential service code point DSCP as an example for specific explanation.
[0044] Optionally, the original priority also includes a Visual Networking Index (VIN) and a Virtual LAN (vlan), ie, VIN+vlan.
[0045] S103: Based on the trust original priority of the service flow, obtain the target priority of the service flow.
[0046] If the service flow trusts the original priority, the target priority of the service flow is obtained.
[0047] Specifically, when the original priority is a differentiated services code point, and the service flow trusts the differentiated services code point, the target priority of the service flow is obtained.
[0048] S104: Determine the bandwidth of the service flow based on the target priority of the service flow.
[0049] According to the target priority of the service flow, the priority queue of the service flow is determined, thereby determining the bandwidth of the service flow.
[0050] The disclosed embodiment obtains the business flow corresponding to the tenant's business; queries a preset operation list based on the business flow to determine whether the business flow trusts the original priority, where the original priority is set by the tenant; obtains the target priority of the business flow based on the business flow trusting the original priority; determines the bandwidth of the business flow based on the target priority of the business flow, and provides a service quality differentiation service corresponding to the target priority on the DPU according to the target priority of the business flow, thereby improving the utilization rate of the DPU. At the same time, the business flow is accelerated by hardware offload on the DPU, which reduces the burden on the central processing unit and improves the resource utilization of the server.
[0051] In some embodiments, based on the original trust priority of the business flow, the target priority of the business flow is obtained, including: based on the original trust priority of the business flow, selecting a mapping method for the business flow, the mapping method including global mapping and local mapping; based on the mapping method of the business flow being global mapping, searching a global trust priority mapping table to determine whether the tenant needs priority mapping, the global mapping being mapping of all business flows of the tenant; when the tenant needs priority mapping, determining the target priority of the business flow based on the tenant unique code corresponding to the business flow, the original priority and a preset priority mapping table.
[0052] Based on the original priority of business flow trust, select the mapping method of business flow, the mapping methods include global mapping and local mapping, among which global mapping maps all business flows of the tenant, and local mapping maps the target business flow of the tenant; the mapping method based on business flow is global mapping, and the global trust priority mapping table is searched, and it is judged whether the tenant needs priority mapping according to the result of searching the global trust priority mapping table; when the tenant needs priority mapping, based on the tenant unique code and original priority corresponding to the business flow, the preset priority mapping table is searched to determine the target priority of the business flow.
[0053] Exemplarily, when the original priority is a differential service code point, based on the above-mentioned business flow trust differential service code point, the mapping method of the business flow is selected, and the mapping method of the business flow includes global mapping and local mapping. If there is no trust dscp action in the preset operation list, the mapping method of the business flow is global mapping, and the tenant unique code (Identity document, ID) corresponding to the business flow is obtained; the global trust priority mapping table is searched, such as the global trust differential service code point table, that is, the global_trust_dscp table, and the tenant is judged whether priority mapping is required according to the result of the query of the global_trust_dscp table; when the value obtained after querying the global_trust_dscp table is 1, that is, the tenant needs to perform priority mapping, the target priority of the business flow is determined according to the tenant unique code, the original priority of the business flow and the preset priority mapping table, and the mapping of all the tenant's business flows is completed. Among them, the original priority of the business flow is set by the tenant according to the tenant's own needs, that is, the tenant can set the original priority of the business flow at will. It can be understood that, taking the virtual extensible LAN as an example, the tenant ID is VNI, the original priority of the service flow is DSCP, and the unique key password KEY is composed of VNI and DSCP. The server specifies the corresponding preset priority mapping table according to different tenant levels, and obtains the target priority (ie, VALUE value) of the service flow according to the preset priority mapping table. The purpose is to control the priority range of the service flow used by the tenant mapping, thereby providing QoS guarantee for important tenants (Very Important Person, VIP).
[0054] Specifically, the preset priority mapping table is shown in Table 1:
[0055] Table 1
[0056]
[0057] Specifically, the global trust priority mapping table may be a global trust differentiated services code point table, that is, a global_trust_dscp table, as shown in Table 2:
[0058] Table 2
[0059] VNI value 100 1 101 0
[0060] Among them, taking the Virtual eXtensible Local Area Network (VxLAN) as an example, the index is the tenant ID, that is, VNI is the index, the value is 0 or 1, and the value of 1 represents global trust priority enabling, that is, the global trust differential service code point.
[0061] Specifically, the global trust differential services code point table (i.e., global_trust_dscp table) needs to be issued through the Software Defined Network (SDN) controller. Figure 2 A schematic diagram of the process of issuing a global trust priority mapping table provided in an embodiment of the present disclosure, such as Figure 2 As shown in the figure, SDN controller is the SDN controller, Npu is the embedded neural network processor, Npu-drive is the Npu driver, and offload module is the offload module. The overall process is that the SDN controller sends the global_trust_dscp table to the offload module through the Npu-drive to facilitate hardware offload of the business flow on the DPU network card.
[0062] Optionally, the method also includes: determining the target business flow based on that the mapping method of the business flow is local mapping, and the local mapping is mapping the target business flow of the tenant; determining the target priority of the target business flow based on the tenant unique code corresponding to the target business flow, the original priority of the target business flow and a preset priority mapping table.
[0063] Specifically, when there is a trust dscp action in a business flow, the mapping method of the business flow is local mapping. The tenant specifies at least one business flow as the target business flow, thereby determining the target business flow, trusting the priority of the target business flow and mapping the target business flow. Specifically, according to the tenant unique code (VNI) corresponding to the target business flow and the original priority of the target business flow, the preset priority mapping table is searched to determine the target priority of the target business flow.
[0064] Figure 3 A schematic diagram of the process flow of adding an operation to a service flow table provided in an embodiment of the present disclosure is shown in FIG. Figure 3 As shown in the figure, SDNcontroller is the SDN controller, ovs-dpdk is the soft conversion module, rte-flow is the standard interface, flow-drv is the flow driver, and offload module is the offload module. The overall process is that the SDN controller sends and receives messages through ovs-dpdk, the dpdk in ovs-dpdk provides flow control function through rte-flow, and ovs-dpdk performs flow-drv through rte-flow, thereby unloading the service flow to the offload module.
[0065] The disclosed embodiments clarify the global trust priority enabling result of the service flow by specifically describing the global mapping and the local mapping, provide a service quality differentiated service corresponding to the target priority of the service flow, and improve the utilization rate of the DPU.
[0066] In some embodiments, the method also includes: when the tenant does not need priority mapping, determining the business flow priority set by the cloud network as the target priority of the business flow; tunneling the business flow based on the target priority of the business flow, and determining the priority queue of the business flow to determine the bandwidth of the business flow.
[0067] The global trust priority mapping table can be a global trust differential service code point table, that is, the global_trust_dscp table. Taking the Virtual eXtensible Local Area Network (VxLAN) as an example, the index is the tenant ID, that is, VNI is the index, the value is 0 or 1, and the value of 0 means that the global trust priority is not enabled, that is, the global differential service code point is not trusted.
[0068] When the value obtained after checking the global_trust_dscp table is 0, that is, the tenant does not need priority mapping. When the tenant is a non-trusted tenant, the preset priority mapping table is no longer checked, and the service flow priority set by the cloud network is determined as the target priority of the service flow; the service flow is tunneled and encapsulated according to the target priority of the service flow, and the priority queue of the service flow is determined, thereby determining the bandwidth of the service flow.
[0069] Optionally, the tunnel encapsulation includes: general network virtualization encapsulation, general routing encapsulation, and virtual extended local area network encapsulation.
[0070] Specifically, tunnel encapsulation includes: Generic Network Virtualization Encapsulation (GENEVE), General Routing Encapsulation (GRE), and Virtuale Xtensible Local Area Network (VXLAN).
[0071] The disclosed embodiment encapsulates the service flow so that the service flow is accelerated by hardware offloading on the DPU network card, thereby improving the resource utilization of the server.
[0072] In some embodiments, the bandwidth of the service flow is determined based on the target priority of the service flow, including: tunneling the service flow based on the target priority of the service flow, determining the priority queue of the service flow to determine the bandwidth of the service flow.
[0073] The service flow is tunnel-encapsulated based on the target priority of the service flow, and the priority queue of the service flow is determined, thereby determining the bandwidth of the service flow.
[0074] Optionally, the tunnel encapsulation includes: general network virtualization encapsulation, general routing encapsulation, and virtual extended local area network encapsulation.
[0075] Specifically, tunnel encapsulation includes: Generic Network Virtualization Encapsulation (GENEVE), General Routing Encapsulation (GRE), and Virtuale Xtensible Local Area Network (VXLAN).
[0076] The disclosed embodiment encapsulates the service flow so that the service flow is accelerated by hardware offloading on the DPU network card, thereby improving the resource utilization of the server.
[0077] In some embodiments, the processing flow of the business flow includes: obtaining the tenant business flow corresponding to the tenant business, searching for a preset operation list according to the tenant business flow, such as an action list flow table, if the preset operation list contains trust dscpaction, then determining the target business flow in the tenant business flow, the target business flow is at least one tenant business flow specified by the tenant, searching for a preset priority mapping table according to the tenant unique code (VNI) and the original priority of the target business flow, obtaining the target priority corresponding to the target business flow, and performing tunnel installation on the target business flow according to the target priority.
[0078] In some embodiments, the business flow processing flow also includes: obtaining the tenant business flow corresponding to the tenant business, searching the preset operation list according to the tenant business flow, such as the action list flow table, if there is no trustdscp action in the preset operation list, when performing vxlan encapsulation, searching the global_trust_dscp table, and determining whether to perform priority mapping based on the result of searching the global_trust_dscp table, if the value obtained after searching the table is 1, then searching the preset priority mapping table based on the tenant unique code (VNI) and the original priority of the tenant business flow, obtaining the target priority corresponding to the tenant business flow, and performing tunnel installation on the tenant business flow according to the target priority.
[0079] In some embodiments, the business flow processing flow also includes: obtaining the tenant business flow corresponding to the tenant business, searching the preset operation list according to the tenant business flow, such as the action list flow table, if there is no trustdscp action in the preset operation list, when performing vxlan encapsulation, searching the global_trust_dscp table, and determining whether to perform priority mapping based on the result of searching the global_trust_dscp table. If the value obtained after searching the table is 0, the tenant is a non-trusted tenant, and the preset priority mapping table is no longer searched. The target priority of the tenant business flow is set through the cloud network, and the tenant business flow is tunneled and installed.
[0080] Figure 4 The schematic diagram of the structure of the service processing device based on tenant access to cloud network provided in the embodiment of the present disclosure. The service processing device based on tenant access to cloud network can be the terminal as described in the above embodiment, or the service processing device based on tenant access to cloud network can be a component or assembly in the terminal. The service processing device based on tenant access to cloud network provided in the embodiment of the present disclosure can execute the processing flow provided in the service processing method based on tenant access to cloud network, such as Figure 4 As shown, the business processing device 40 based on tenant access to the cloud network includes: a first acquisition module 41, a judgment module 42, a second acquisition module 43, and a determination module 44; wherein the first acquisition module 41 is used to obtain the business flow corresponding to the tenant business; the judgment module 42 is used to query the preset operation list based on the business flow to determine whether the business flow trusts the original priority, and the original priority is set by the tenant; the second acquisition module 43 is used to obtain the target priority of the business flow based on the business flow trusting the original priority; the determination module 44 is used to determine the bandwidth of the business flow based on the target priority of the business flow.
[0081] Optionally, the second acquisition module 43 is also used to select a mapping method for the business flow based on the original trust priority of the business flow, and the mapping method includes global mapping and local mapping; based on the mapping method of the business flow being global mapping, search the global trust priority mapping table to determine whether the tenant needs priority mapping, and the global mapping is to map all business flows of the tenant; when the tenant needs priority mapping, determine the target priority of the business flow based on the tenant unique code corresponding to the business flow, the original priority and the preset priority mapping table.
[0082] Optionally, the second acquisition module 43 is also used to determine the target priority of the business flow based on the mapping method of the business flow being local mapping, based on the tenant unique code corresponding to the business flow, the original priority and a preset priority mapping table, and the local mapping is to map the target business flow of the tenant.
[0083] Optionally, the determination module 44 is also used to determine the service flow priority set by the cloud network as the target priority of the service flow when the tenant does not need priority mapping; tunnel encapsulate the service flow based on the target priority of the service flow, determine the priority queue of the service flow, and determine the bandwidth of the service flow.
[0084] Optionally, the determination module 44 is further configured to perform tunnel encapsulation on the service flow based on the target priority of the service flow, determine a priority queue of the service flow, and determine a bandwidth of the service flow.
[0085] Optionally, the original priority includes a Differentiated Services Code Point.
[0086] Figure 4 The business processing device based on tenant access to cloud network in the illustrated embodiment can be used to execute the technical solution of the above-mentioned business processing method embodiment based on tenant access to cloud network. Its implementation principle and technical effects are similar and will not be repeated here.
[0087] Figure 5 The electronic device provided in the embodiment of the present disclosure may be a terminal as described in the above embodiment. The electronic device provided in the embodiment of the present disclosure may execute the processing flow provided in the embodiment of the service processing method based on tenant access to the cloud network, such as Figure 5 As shown, the electronic device 50 includes: a memory 51, a processor 52, a computer program and a communication interface 53; wherein the computer program is stored in the memory 51 and is configured to be executed by the processor 52 for executing the business processing method based on tenant access to the cloud network as described above.
[0088] In addition, an embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement the business processing method based on tenant access to a cloud network as described in the above embodiment.
[0089] In addition, an embodiment of the present disclosure also provides a computer program product, which includes a computer program or instructions, and when the computer program or instructions are executed by a processor, the business processing method based on tenant access to the cloud network as described above is implemented.
[0090] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0091] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0092] The computer-readable medium may be included in the electronic device, or may exist independently without being installed in the electronic device.
[0093] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:
[0094] Get the business flow corresponding to the tenant's business;
[0095] Querying a preset operation list based on the service flow, and determining whether the service flow trusts the differentiated services code point operation;
[0096] Based on the service flow trust differential services code point operation, obtaining the target priority of the service flow;
[0097] Based on the target priority of the service flow, a bandwidth of the service flow is determined.
[0098] In addition, the electronic device may also execute other steps in the business processing method based on tenant access to the cloud network as described above.
[0099] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0100] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0101] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
[0102] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0103] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A 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, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0104] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0105] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A service processing method based on tenant access to a cloud network, characterized in that: The method comprises: Get the business flow corresponding to the tenant's business; Querying a preset operation list based on the business flow, determining whether the business flow trusts the original priority, where the original priority is set by the tenant; Based on the trust original priority of the business flow, obtaining the target priority of the business flow; Determining a bandwidth of the service flow based on a target priority of the service flow; Based on the trust original priority of the service flow, obtaining the target priority of the service flow includes: Based on the trust original priority of the service flow, selecting a mapping mode of the service flow, wherein the mapping mode includes global mapping and local mapping; Based on the mapping mode of the business flow being global mapping, searching the global trust priority mapping table to determine whether the tenant needs priority mapping, the global mapping being mapping all business flows of the tenant; When the tenant needs to perform priority mapping, the target priority of the service flow is determined based on the tenant unique code corresponding to the service flow, the original priority and a preset priority mapping table.
2. The method according to claim 1, characterized in that The method further comprises: Determine a target business flow based on that the mapping mode of the business flow is local mapping, wherein the local mapping is to map the target business flow of the tenant; The target priority of the target business flow is determined based on the tenant unique code corresponding to the target business flow, the original priority of the target business flow and a preset priority mapping table.
3. The method according to claim 1, characterized in that: The method further comprises: When the tenant does not need to perform priority mapping, determining the service flow priority set by the cloud network as the target priority of the service flow; The service flow is tunnel-encapsulated based on the target priority of the service flow, and a priority queue of the service flow is determined to determine the bandwidth of the service flow.
4. The method according to claim 1, characterized in that Determining a bandwidth of the service flow based on a target priority of the service flow includes: The service flow is tunnel-encapsulated based on the target priority of the service flow, and a priority queue of the service flow is determined to determine the bandwidth of the service flow.
5. The method according to claim 1, characterized in that The original priority level includes a Differentiated Services Code Point.
6. The method according to any one of claims 3-4, characterized in that: The tunnel encapsulation includes: general network virtualization encapsulation, general routing encapsulation, and virtual extended local area network encapsulation.
7. A service processing device based on tenant access to a cloud network, characterized in that: The device comprises: A first acquisition module is used to acquire the service flow corresponding to the tenant service; A judgment module, used to query a preset operation list based on the business flow to judge whether the business flow trusts the original priority, where the original priority is set by the tenant; A second acquisition module is used to acquire the target priority of the service flow based on the trust original priority of the service flow; A determination module, configured to determine a bandwidth of the service flow based on a target priority of the service flow; The second acquisition module is also used for: Based on the trust original priority of the service flow, selecting a mapping mode of the service flow, wherein the mapping mode includes global mapping and local mapping; Based on the mapping mode of the business flow being global mapping, searching the global trust priority mapping table to determine whether the tenant needs priority mapping, the global mapping being mapping all business flows of the tenant; When the tenant needs to perform priority mapping, the target priority of the service flow is determined based on the tenant unique code corresponding to the service flow, the original priority and a preset priority mapping table.
8. An electronic device, characterized in that: include: Memory; processor; as well as Computer programs; The computer program is stored in the memory and is configured to be executed by the processor to implement the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
