WO2021129327A1 - 表项下发方法及装置、表项处理方法及装置 - Google Patents

表项下发方法及装置、表项处理方法及装置 Download PDF

Info

Publication number
WO2021129327A1
WO2021129327A1 PCT/CN2020/133128 CN2020133128W WO2021129327A1 WO 2021129327 A1 WO2021129327 A1 WO 2021129327A1 CN 2020133128 W CN2020133128 W CN 2020133128W WO 2021129327 A1 WO2021129327 A1 WO 2021129327A1
Authority
WO
WIPO (PCT)
Prior art keywords
entry
service
service modules
module
modules
Prior art date
Application number
PCT/CN2020/133128
Other languages
English (en)
French (fr)
Inventor
孙其瑞
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2021129327A1 publication Critical patent/WO2021129327A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • H04L45/7453Address table lookup; Address filtering using hashing

Definitions

  • the present invention relates to the field of communications, and in particular to a method and device for issuing table entries, and a method and device for table entry processing.
  • Data center rack switches need to issue various entries during the business operation phase, such as ARP, routing, etc.
  • the entries are sent to the underlying business processing logic, that is, the business module, and then the underlying business processing logic writes the configuration of the above entries To the hardware forwarding chip.
  • the control plane of the switch when the control plane of the switch is in the process of delivering entries to the business bottom layer processing logic of the business plane, if an entry is associated with more than one business module, the control plane not only needs to deliver the entry In the current business module, the business module associated with the entry needs to be notified; while the control plane sends the entry to the business bottom layer processing logic of the business plane, the entry uses serial writing, That is, after the notification of all associated business modules is completed, the next entry will be written.
  • the embodiment of the present invention provides an entry issuing method and device, an entry processing method and device, so as to at least solve the problem of inefficient notification processing caused by unnecessary notification processing in the entry issuing process in the related art. problem.
  • a method for issuing entries is provided, which is applied to a control plane, and the method includes:
  • a method for issuing entries which is applied to the control plane, and the method includes:
  • a notification queue is established, and the correspondence between the first entry and one or more fourth service modules is added to the notification queue; wherein, the one or more fourth service modules are the first table The business module associated with the item;
  • an entry processing method which is applied to the business plane, and the method includes:
  • the first service module receives the first entry issued by the control plane, and performs logical processing according to the first entry;
  • control plane In response to the one or more second service modules, the control plane responds to the one or more second service modules according to the pre-acquired correspondence between the first entry and the one or more second service modules.
  • the call event of the callback function In response to the one or more second service modules, the control plane responds to the one or more second service modules according to the pre-acquired correspondence between the first entry and the one or more second service modules.
  • an entry processing method which is applied to the business plane, and the method includes:
  • the first service module receives the first entry issued by the control plane, and performs logical processing according to the first entry;
  • One or more fourth service modules respond to the call event of the callback function of the one or more fourth service modules by the control plane through a pre-established notification queue; wherein, the notification queue is added with the first Correspondence between an entry and the one or more fourth service modules, and the one or more fourth service modules are service modules associated with the first entry.
  • a device for issuing entries which is applied to the control plane, and the device includes:
  • An obtaining module configured to obtain a corresponding relationship between a first entry and one or more second business modules, wherein the second business module is a business module that needs to use the first entry;
  • the first issuing module is configured to issue the first entry to the first service module for the first service module to perform logical processing according to the first entry; and, according to the first entry
  • the corresponding relationship with the one or more second service modules calls the callback function of the one or more second service modules.
  • a device for issuing entries which is applied to the control plane, and the device includes:
  • the establishment module is configured to establish a notification queue, and add the corresponding relationship between the first entry and one or more fourth service modules to the notification queue; wherein, the one or more fourth service modules are The service module associated with the first entry;
  • the second issuing module is configured to issue the first entry to the first business module, so that the first business module can perform logical processing according to the first entry; and, call the office through the notification queue Describe one or more callback functions of the fourth service module.
  • the first processing module is configured to receive the first entry issued by the control plane by the first service module, and perform logical processing according to the first entry;
  • the first response module is configured to respond to one or more second service modules by the control plane according to the pre-acquired correspondence between the first entry and the one or more second service modules. Or multiple call events of the callback function of the second business module.
  • the second processing module is configured to receive the first entry issued by the control plane by the first service module, and perform logical processing according to the first entry;
  • the second response module is set to one or more fourth service modules in response to the call event of the callback function of the one or more fourth service modules by the control plane through a pre-established notification queue; wherein, the notification The corresponding relationship between the first entry and the one or more fourth service modules is added to the queue, and the one or more fourth service modules are service modules associated with the first entry.
  • a computer-readable storage medium and a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute any one of the foregoing when running. The steps in the method embodiment.
  • an electronic device including a memory and a processor, the memory is stored with a computer program, and the processor is configured to run the computer program to execute any of the above Steps in the method embodiment.
  • the control plane can obtain the corresponding relationship between the first entry and one or more second business modules, wherein the second business module is a business module that needs to use the first entry; therefore, When the control plane issues the first entry to the first business module for the first business module to perform logical processing according to the first entry, the control plane can use the first entry and the first business module to perform logical processing. Describe the correspondence between the one or more second service modules, and call the callback function of the one or more second service modules. Therefore, the present invention can solve the problem of low efficiency of table item issuance caused by unnecessary notification processing in the process of table item issuance in the related art, achieves the improvement of the efficiency of table item issuance, and realizes the effect of rapid table item issuance. .
  • Figure 1 is a flowchart (1) of a method for issuing entries according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of the work of different threads in the issuance of entries according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of the issuance of an ARP entry according to a specific embodiment of the present invention.
  • Figure 4 is a flowchart (2) of a method for issuing entries according to an embodiment of the present invention.
  • Fig. 5 is a flowchart (1) of an entry processing method according to an embodiment of the present invention.
  • Fig. 6 is a flowchart (2) of an entry processing method according to an embodiment of the present invention.
  • Fig. 7 is a structural block diagram (1) of the device for issuing entries according to an embodiment of the present invention.
  • Figure 8 is a structural block diagram (2) of the device for issuing entries according to an embodiment of the present invention.
  • Fig. 9 is a structural block diagram (1) of an entry processing device according to an embodiment of the present invention.
  • Fig. 10 is a structural block diagram (2) of an entry processing device according to an embodiment of the present invention.
  • FIG. 1 is a flowchart (1) of the method for issuing entries according to an embodiment of the present invention. As shown in FIG. 1, in this embodiment The method of issuing entries includes:
  • step S102 the corresponding relationship between the first entry and one or more second service modules is obtained, that is, the business module that clearly needs to use the first entry is determined, so as to obtain the corresponding relationship from the first entry.
  • the above-mentioned business modules are screened out as the second business module, and then used as the notification object in the process of issuing the table entry.
  • step S102 the corresponding relationship between the first entry and one or more second service modules can be recorded, stored, or inquired through a database, a lookup table, etc., which is not limited in the present invention.
  • step S104 the callback function of one or more second service modules is called, that is, the notification to the one or more second service modules is controlled.
  • the first service module performs logical processing according to the first entry, which may specifically be a write operation of the first entry.
  • step S104 according to the corresponding relationship between the first entry and one or more second business modules, the operation of invoking the callback function of one or more second business modules can be used to issue the first entry to the first business. Modules are executed at the same time, or after the first entry is issued to the first business module, the first business module performs logical processing according to the first entry, and then executes the notification processing of the second business module.
  • the present invention does not limit this.
  • step S102 the operation of obtaining the corresponding relationship between the first entry and one or more second service modules can be implemented before step S104 is performed, or during the process of performing step S104 , Or after step S104 is performed, step S102 is performed again, that is, the corresponding relationship between the first entry and one or more second service modules is supplemented or updated.
  • the control plane can obtain the corresponding relationship between the first table entry and one or more second service modules, the second service module needs to use the first service module.
  • a business module of an entry therefore, when the control plane issues the first entry to the first business module for the first business module to perform logical processing according to the first entry, the control plane can follow
  • call the callback function of the one or more second service modules For the correspondence between the first entry and the one or more second service modules, call the callback function of the one or more second service modules. Therefore, the method for issuing table entries in this embodiment can solve the problem of low efficiency of table entry issuance caused by unnecessary notification processing in the table entry issuance process in related technologies, thereby improving the efficiency of table entry issuance, and then Realize the effect of quickly issuing entries.
  • the second service module that needs to use the first entry is obtained in advance, so that the entry is not enabled or does not need to be used in the business modules associated with the first entry.
  • the screening is performed, so that during the notification process of the control plane, the service modules that need to be notified are limited to the second service module.
  • the foregoing obtaining the corresponding relationship between the first entry and one or more second service modules includes:
  • a lookup table is established, and the lookup table is configured to store the correspondence between the first entry and one or more second business modules.
  • the foregoing obtaining the correspondence between the first entry and one or more second service modules further includes:
  • the third business module that needs to use the first entry is used as the second business module to update the correspondence between the first entry in the query table and one or more second business modules; among them, the third business The module is a business module configured at any time on the control plane.
  • the third service module is set to instruct the control plane to perform service configuration processing at any time as the configuration target service module, and the control plane is in the process of configuring the third service module.
  • the third business module may need to use multiple entries.
  • the third business module can be marked as the second business module to compare the first entry in the lookup table with one entry. Or the corresponding relationship between multiple second business modules is updated, specifically, the number and objects of the second business modules corresponding to the first entry are increased.
  • the above query table is configured to store index information of the first entry and identification information of one or more second service modules.
  • the index information of the first entry and the identification information of one or more second service modules can be stored in the above-mentioned lookup table to correspondingly indicate the correspondence between the first entry and the second service module.
  • the index information of the above-mentioned first entry may be the index field of the first entry, such as Internet Protocol (IP) field, (Virtual Private Network Routing and Forwarding, VRF) virtual private network routing and forwarding table fields ,and many more.
  • IP Internet Protocol
  • VRF Virtual Private Network Routing and Forwarding
  • the above-mentioned query table is further configured to store status indication information of one or more second service modules, where the status indication information is used to indicate whether one or more second service modules are turned on in the switch .
  • the status indication information can be used to indicate whether the second service module is enabled in the switch, and the second service module that is not enabled may not be notified.
  • the above-mentioned calling the callback function of one or more second service modules according to the corresponding relationship between the first entry and one or more second service modules further includes:
  • the index information of the first entry such as the IP field and the VRF field
  • the identification information of the second service module corresponding to the first entry is determined by searching or searching. In this way, the control plane can call one or more callback functions of the second service module according to the above identification information.
  • the above-mentioned lookup table is a hash table.
  • the callback function of the one or more second service modules is a callback function for the one or more second service modules to perform static registration in the initialization phase.
  • the above-mentioned calling the callback function of one or more second service modules according to the corresponding relationship between the first entry and one or more second service modules includes:
  • the control plane is not made to directly call one or more of the second service modules in the manner of serial writing of entries.
  • Callback function and the notification queue is established in advance.
  • the above notification queue is independent of the issuance of entries.
  • the corresponding relationship between the first entry and one or more second business modules is added to the notification queue, that is, the notification queue is determined in the notification queue.
  • the second service module corresponding to the first entry can further call one or more callback functions of the second service module through the notification queue, so that the notification operation can be realized while the control plane continues to issue subsequent entries.
  • the serial writing of entries causes the control plane to notify all service modules one by one before issuing subsequent entries.
  • the control plane Based on the notification of the service module implemented by the notification queue, after the control plane completes the issuance of the first entry, subsequent entries can be issued, so that the time for the overall entry is further shortened.
  • the technical solutions recorded in the foregoing optional embodiment based on the corresponding relationship between the first entry and one or more second service modules obtained in advance in this embodiment, to notify the second service module, the notification The mechanism has been further improved to further improve the efficiency of table entry issuance.
  • the method further includes:
  • the callback function of one or more second service modules is called through the notification queue.
  • FIG. 2 is a schematic diagram of the work of different threads in the issuance of entries according to an embodiment of the present invention. The above-mentioned process of issuing entries and notification queues in different threads is shown in FIG. 2.
  • the foregoing adding the correspondence between the first entry and one or more second service modules to the notification queue includes:
  • the index information of the first entry and the identification information of one or more second service modules are added to the notification queue.
  • the above notification queue is further configured to merge the identification information of one or more second service modules in the notification queue according to the index information of the first entry.
  • the merging process in the above-mentioned optional embodiment instructs the notification queue to merge different second service modules corresponding to the first entry into one operation for notification.
  • the notification queues are in different There are different identification information corresponding to the second service module in the processing sequence.
  • the notification queue needs to notify the second service module according to the identification information in the corresponding processing sequence, and through the above optional embodiment
  • the technical solution described in the above-mentioned different processing sequence can be combined with the identification information of the second service module, so as to notify at one time in the same processing sequence, thereby further improving the notification efficiency of the notification queue.
  • the aforementioned notification queue adopts a circular (First Input First Output, FIFO) first-in first-out queue.
  • FIG. 3 is a schematic diagram of the issuance of ARP entries according to a specific embodiment of the present invention. The process of issuing ARP entries in this specific embodiment is shown in FIG. 3.
  • ARP Address Resolution Protocol
  • each business module statically registers the callback function.
  • the system creates a hash table, which is used to store the corresponding relationship between the table item and the business module that needs to use the table item, that is, the first table item in the above-mentioned embodiment and the second business module that needs to use the first performance Correspondence between.
  • the aforementioned hash table stores the index fields of the entry, such as the IP field, the VRF field, and the mark of the service module that needs to use the entry.
  • the system also needs to establish a circular FIFO queue for notification.
  • the control plane when the control plane is configured with the corresponding business module, if the business needs to use an entry in the hash table, if the ARP module of the ARP entry needs to be used, then the corresponding relationship between the business module and the entry To be added to the above hash table, specifically, it can be to update the number and objects of the business module corresponding to the original entry, or it can be to add a new entry and the corresponding business module.
  • the control plane When the control plane learns the above ARP entry, the control plane sends the ARP entry to the ARP module. After the ARP module writes the ARP entry to the hardware table, it uses the above index field to query the hash table. If it is found There are other service modules that need to use ARP entries in the hash table, then the index information of the ARP entries and the identification information of the corresponding service modules are added to the ring FIFO queue. After the above-mentioned ARP module completes the writing of the ARP entry, it exits and continues the processing of issuing the entry of the next hop ARP entry.
  • the system establishes the processing thread of the circular FIFO queue.
  • the business modules corresponding to the ARP entries in the circular FIFO queue are merged, specifically, it traverses all the content that needs to be processed in the circular FIFO queue and queries different operations Whether there are business modules corresponding to the same ARP table entry in the database, if so, according to the merging rules, the business modules corresponding to the same ARP table entry in different operations are merged, and the operation records are added and updated to follow the latest Further, if the merged business modules are the same, only the operations of the merged business modules will be merged; if the merged business modules are different, the order notification needs to be added.
  • the business modules that need to be notified in the circular FIFO queue are processed, specifically calling the callback functions of the business modules that need to be notified in turn.
  • the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is Better implementation.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes a number of instructions to enable a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the method described in each embodiment of the present invention.
  • FIG. 4 is a flowchart (2) of the method for issuing entries according to an embodiment of the present invention. As shown in FIG. 4, this embodiment The method of distributing entries in the table includes:
  • S204 Issue the first entry to the first service module for the first service module to perform logical processing according to the first entry; and call one or more callback functions of the fourth service module through the notification queue.
  • the fourth service module is all the associated service modules of the first entry.
  • step S204 during the notification process of the third service module, the control plane is not made to directly call one or more callback functions of the third service module in the manner of serial writing of entries.
  • the notification queue is pre-established in step S202.
  • the above notification queue is independent of the issuance of the entry.
  • the corresponding relationship between the first entry and one or more third service modules is added to the notification queue established in step S202, that is, it is determined in the notification queue.
  • the third service module corresponding to the first entry that needs to be notified can be used to further call one or more callback functions of the third service module through the notification queue, so that the control plane can continue to issue subsequent entries at the same time. Implement notification operations.
  • a notification queue can be established in advance, and the correspondence between the first entry and one or more fourth service modules can be added to the notification queue; among them, one or more
  • the fourth business module is the business module associated with the first entry; further, the control plane can issue the first entry to the first business module for the first business module to perform logical processing according to the first entry; and through notification
  • the queue calls one or more callback functions of the fourth service module. Therefore, the method for issuing table entries in this embodiment can solve the problem of low efficiency of table entry issuance caused by unnecessary notification processing in the table entry issuance process in related technologies, thereby improving the efficiency of table entry issuance, and then Realize the effect of quickly issuing entries.
  • the serial writing of entries causes the control plane to notify all service modules one by one before issuing subsequent entries.
  • the above can be
  • subsequent entries can be issued, so that the time for the overall entry is further shortened. In turn, the efficiency of issuing entries can be improved.
  • the method includes:
  • the callback function of one or more fourth service modules is called through the notification queue.
  • the above-mentioned first processing thread and the second processing thread are different threads, that is, after the control plane completes the issuance of the first entry, it further issues the second entry and the notification to the fourth service module
  • the processing is carried out in different threads.
  • the above-mentioned first processing thread is the original thread used by the control plane to issue entries
  • the above-mentioned second processing thread is the newly created thread for the notification queue; the above-mentioned optional embodiment is adopted.
  • the documented technical solution can further ensure that the notification processing of the notification queue is independent of the entry issuance processing, so that the coupling between the notification operation in the notification queue and the rest of the business on the control plane is reduced, so as to avoid its possibility. interdependent.
  • the foregoing adding the correspondence between the first entry and one or more fourth service modules to the notification queue includes:
  • the index information of the first entry and the identification information of one or more fourth service modules are added to the notification queue.
  • the index information of the first entry may be an index field of the first entry, such as an IP field, a VRF field, and so on.
  • the above notification queue is further configured to merge identification information of one or more fourth service modules in the notification queue according to the index information of the first entry.
  • the merging process in the above-mentioned optional embodiment instructs the notification queue to merge different fourth service modules corresponding to the first entry into one operation for notification.
  • the notification queues are in different There are different identification information corresponding to the fourth service module in the processing sequence.
  • the notification queue needs to notify the fourth service module according to the identification information in the corresponding processing sequence, and through the above optional embodiment
  • the identification information of the fourth service module in the above-mentioned different processing orders can be combined to notify at one time in the same processing order, thereby further improving the notification efficiency of the notification queue.
  • the foregoing fourth service module includes a second service module, where the second service module is a service module that needs to use the first entry.
  • the aforementioned notification queue adopts a circular first-in-first-out FIFO queue.
  • the callback function of the one or more fourth service modules is a callback function for one or more fourth service modules to perform static registration in the initialization phase.
  • the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is Better implementation.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes a number of instructions to enable a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the method described in each embodiment of the present invention.
  • FIG. 5 is a flowchart (1) of the entry processing method according to an embodiment of the present invention. As shown in FIG. 5, the method in this embodiment Table entry processing methods include:
  • the first service module receives the first entry issued by the control plane, and performs logical processing according to the first entry;
  • One or more second service modules respond to the call event of the callback function of one or more second service modules by the control plane according to the pre-acquired correspondence between the first entry and the one or more second service modules .
  • the one or more second service modules respond to the control plane according to the pre-acquired correspondence between the first entry and the one or more second service modules.
  • Calling events of the module's callback function including:
  • One or more second service modules respond to the call event of the callback function of one or more second service modules by the control plane according to the pre-established lookup table; wherein, the lookup table is configured to store the first entry and one or more Correspondence between the second business modules.
  • the above query table is configured to store index information of the first entry and identification information of one or more second service modules.
  • the above-mentioned query table is further configured to store status indication information of one or more second service modules, where the status indication information is used to indicate whether one or more second service modules are turned on in the switch .
  • the above-mentioned one or more second service modules in response to the call event of the callback function of the one or more second service modules by the control plane according to a pre-established query table further includes:
  • the one or more second service modules respond to the call event of the callback function of the one or more second service modules by the control plane according to the identification information;
  • the identification information is the identification information of one or more second service modules corresponding to the first entry, which the control plane queries in the query table according to the index information of the first entry.
  • the above-mentioned lookup table is a hash table.
  • the callback function of the one or more second service modules is a callback function for one or more second service modules to perform static registration in the initialization phase.
  • the one or more second service modules respond to the control plane according to the pre-acquired correspondence between the first entry and the one or more second service modules.
  • Calling events of the module's callback function including:
  • One or more second service modules respond to the call event of the callback function of one or more second service modules by the control plane through a pre-established notification queue;
  • the corresponding relationship between the first entry and one or more second service modules is added to the notification queue.
  • the above method further includes:
  • the first service module receives the second entry issued by the control plane in the preset first processing thread; and,
  • the one or more second service modules respond to the call event of the callback function of the one or more second service modules by the control plane through the pre-established notification queue.
  • the index information of the first entry and the identification information of one or more second service modules are added to the aforementioned notification queue.
  • the above notification queue is further configured to merge the identification information of one or more second service modules in the notification queue according to the index information of the first entry.
  • the aforementioned notification queue adopts a circular first-in-first-out FIFO queue.
  • the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is Better implementation.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes a number of instructions to enable a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the method described in each embodiment of the present invention.
  • FIG. 6 is a flowchart (2) of the entry processing method provided according to an embodiment of the present invention. As shown in FIG. 6, the method in this embodiment Table entry processing methods include:
  • the first service module receives the first entry issued by the control plane, and performs logical processing according to the first entry;
  • One or more fourth service modules respond to the call event of the callback function of one or more fourth service modules by the control plane through a pre-established notification queue; wherein, the notification queue adds the first entry and one or Correspondence between multiple fourth service modules, one or more fourth service modules are service modules associated with the first entry.
  • the above method further includes:
  • the first service module receives the second entry issued by the control plane in the preset first processing thread; and,
  • one or more fourth service modules respond to the call event of the callback function of one or more fourth service modules by the control plane through a pre-established notification queue.
  • the index information of the first entry and the identification information of one or more fourth service modules are added to the notification queue.
  • the above notification queue is further configured to merge identification information of one or more fourth service modules in the notification queue according to the index information of the first entry.
  • the foregoing fourth service module includes a fourth service module, where the fourth service module is a service module that needs to use the first entry.
  • the aforementioned notification queue adopts a circular first-in-first-out FIFO queue.
  • the callback function of the one or more fourth service modules is a callback function that is statically registered by the one or more fourth service modules in the initialization phase.
  • the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is Better implementation.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes a number of instructions to enable a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the method described in each embodiment of the present invention.
  • This embodiment provides a device for issuing entries, which is applied to the control plane.
  • the device is used to implement the above-mentioned embodiments and preferred implementations. What has been described will not be repeated.
  • the term "module" can implement a combination of software and/or hardware with predetermined functions. Although the devices described in the following embodiments are preferably implemented by software, implementation by hardware or a combination of software and hardware is also possible and conceived.
  • Fig. 7 is a structural block diagram (1) of a device for issuing entries according to an embodiment of the present invention. As shown in Fig. 7, the device includes:
  • the obtaining module 502 is configured to obtain the corresponding relationship between the first entry and one or more second business modules, where the second business module is a business module that needs to use the first entry;
  • the first issuing module 504 is configured to issue the first entry to the first business module for the first business module to perform logical processing according to the first entry; and, according to the first entry and one or more second entries For the correspondence between the business modules, call one or more callback functions of the second business module.
  • the foregoing obtaining the corresponding relationship between the first entry and one or more second service modules includes:
  • a lookup table is established, and the lookup table is configured to store the correspondence between the first entry and one or more second business modules.
  • the foregoing obtaining the correspondence between the first entry and one or more second service modules further includes:
  • the third business module that needs to use the first entry is used as the second business module to update the correspondence between the first entry in the query table and one or more second business modules; among them, the third business The module is a business module configured at any time on the control plane.
  • the above query table is configured to store index information of the first entry and identification information of one or more second service modules.
  • the above-mentioned query table is further configured to store status indication information of one or more second service modules, where the status indication information is used to indicate whether one or more second service modules are turned on in the switch .
  • the above-mentioned calling the callback function of one or more second service modules according to the corresponding relationship between the first entry and one or more second service modules further includes:
  • the above-mentioned lookup table is a hash table.
  • the callback function of the one or more second service modules is a callback function for one or more second service modules to perform static registration in the initialization phase.
  • the above-mentioned calling the callback function of one or more second service modules according to the corresponding relationship between the first entry and one or more second service modules includes:
  • the method further includes:
  • the callback function of one or more second service modules is called through the notification queue.
  • the foregoing adding the correspondence between the first entry and one or more second service modules to the notification queue includes:
  • the index information of the first entry and the identification information of one or more second service modules are added to the notification queue.
  • the above notification queue is further configured to merge the identification information of one or more second service modules in the notification queue according to the index information of the first entry.
  • the aforementioned notification queue adopts a circular first-in-first-out FIFO queue.
  • each of the above modules can be implemented by software or hardware.
  • it can be implemented in the following manner, but not limited to this: the above modules are all located in the same processor; or, the above modules can be combined in any combination.
  • the forms are located in different processors.
  • a device for issuing table entries is also provided, which is applied to the control plane.
  • the device is used to implement the above-mentioned embodiments and preferred implementations, and those that have been described will not be repeated.
  • the term "module" can implement a combination of software and/or hardware with predetermined functions.
  • the devices described in the following embodiments are preferably implemented by software, implementation by hardware or a combination of software and hardware is also possible and conceived.
  • Fig. 8 is a structural block diagram (2) of a device for issuing entries according to an embodiment of the present invention. As shown in Fig. 8, the device includes:
  • the establishment module 602 is configured to establish a notification queue, and add the correspondence between the first entry and one or more fourth service modules to the notification queue; wherein, one or more fourth service modules are the first table The business module associated with the item;
  • the second issuing module 604 is configured to issue the first entry to the first business module for the first business module to perform logical processing according to the first entry; and, call one or more fourth business modules through the notification queue Callback function.
  • the method includes:
  • the callback function of one or more fourth service modules is called through the notification queue.
  • the foregoing adding the correspondence between the first entry and one or more fourth service modules to the notification queue includes:
  • the index information of the first entry and the identification information of one or more fourth service modules are added to the notification queue.
  • the above notification queue is further configured to merge identification information of one or more fourth service modules in the notification queue according to the index information of the first entry.
  • the foregoing fourth service module includes a fourth service module, where the fourth service module is a service module that needs to use the first entry.
  • the aforementioned notification queue adopts a circular first-in-first-out FIFO queue.
  • the callback function of the one or more fourth service modules is a callback function for one or more fourth service modules to perform static registration in the initialization phase.
  • each of the above modules can be implemented by software or hardware.
  • it can be implemented in the following manner, but not limited to this: the above modules are all located in the same processor; or, the above modules can be combined in any combination.
  • the forms are located in different processors.
  • an entry processing device is also provided, which is applied to the business plane.
  • the device is used to implement the above-mentioned embodiments and preferred implementations, and those that have been described will not be repeated.
  • the term "module" can implement a combination of software and/or hardware with predetermined functions.
  • the devices described in the following embodiments are preferably implemented by software, implementation by hardware or a combination of software and hardware is also possible and conceived.
  • Fig. 9 is a structural block diagram (1) of an entry processing device according to an embodiment of the present invention. As shown in Fig. 9, the device includes:
  • the first processing module 702 is configured to receive the first entry issued by the control plane by the first service module, and perform logical processing according to the first entry;
  • the first response module 704 is configured to respond to one or more second service modules by the control plane according to the pre-acquired correspondence between the first entry and the one or more second service modules.
  • the call event of the callback function is configured to respond to one or more second service modules by the control plane according to the pre-acquired correspondence between the first entry and the one or more second service modules.
  • the one or more second service modules respond to the control plane according to the pre-acquired correspondence between the first entry and the one or more second service modules.
  • Calling events of the module's callback function including:
  • One or more second service modules respond to the call event of the callback function of one or more second service modules by the control plane according to the pre-established lookup table; wherein, the lookup table is configured to store the first entry and one or more Correspondence between the second business modules.
  • the above query table is configured to store index information of the first entry and identification information of one or more second service modules.
  • the above-mentioned query table is further configured to store status indication information of one or more second service modules, where the status indication information is used to indicate whether one or more second service modules are turned on in the switch .
  • the above-mentioned one or more second service modules respond to the call event of the callback function of the one or more second service modules by the control plane according to a pre-established query table, and further includes:
  • the one or more second service modules respond to the call event of the callback function of the one or more second service modules by the control plane according to the identification information;
  • the identification information is the identification information of one or more second service modules corresponding to the first entry, which the control plane queries in the query table according to the index information of the first entry.
  • the above-mentioned lookup table is a hash table.
  • the callback function of the one or more second service modules is a callback function for one or more second service modules to perform static registration in the initialization phase.
  • the one or more second service modules respond to the control plane according to the pre-acquired correspondence between the first entry and the one or more second service modules.
  • Calling events of the module's callback function including:
  • One or more second service modules respond to the call event of the callback function of one or more second service modules by the control plane through a pre-established notification queue;
  • the corresponding relationship between the first entry and one or more second service modules is added to the notification queue.
  • the above device further includes:
  • the first service module receives the second entry issued by the control plane in the preset first processing thread; and,
  • the one or more second service modules respond to the call event of the callback function of the one or more second service modules by the control plane through the pre-established notification queue.
  • the index information of the first entry and the identification information of one or more second service modules are added to the aforementioned notification queue.
  • the above notification queue is further configured to merge the identification information of one or more second service modules in the notification queue according to the index information of the first entry.
  • the aforementioned notification queue adopts a circular first-in-first-out FIFO queue.
  • each of the above modules can be implemented by software or hardware.
  • it can be implemented in the following manner, but not limited to this: the above modules are all located in the same processor; or, the above modules can be combined in any combination.
  • the forms are located in different processors.
  • an entry processing device is also provided, which is applied to the business plane.
  • the device is used to implement the above-mentioned embodiments and preferred implementations, and those that have been described will not be repeated.
  • the term "module" can implement a combination of software and/or hardware with predetermined functions.
  • the devices described in the following embodiments are preferably implemented by software, implementation by hardware or a combination of software and hardware is also possible and conceived.
  • Fig. 10 is a structural block diagram (2) of an entry processing device according to an embodiment of the present invention. As shown in Fig. 10, the device includes:
  • the second processing module 802 is configured to receive the first entry issued by the control plane by the first service module, and perform logical processing according to the first entry;
  • the second response module 804 is configured to respond to one or more fourth service modules in response to the control plane’s invoking events of the callback functions of one or more fourth service modules through a pre-established notification queue; wherein the notification queue adds a Correspondence between an entry and one or more fourth service modules, and one or more fourth service modules are service modules associated with the first entry.
  • the above device further includes:
  • the first service module receives the second entry issued by the control plane in the preset first processing thread; and,
  • one or more fourth service modules respond to the call event of the callback function of one or more fourth service modules by the control plane through a pre-established notification queue.
  • the index information of the first entry and the identification information of one or more fourth service modules are added to the notification queue.
  • the above notification queue is further configured to merge identification information of one or more fourth service modules in the notification queue according to the index information of the first entry.
  • the foregoing fourth service module includes a fourth service module, where the fourth service module is a service module that needs to use the first entry.
  • the aforementioned notification queue adopts a circular first-in-first-out FIFO queue.
  • the callback function of the one or more fourth service modules is a callback function that is statically registered by the one or more fourth service modules in the initialization phase.
  • each of the above modules can be implemented by software or hardware.
  • it can be implemented in the following manner, but not limited to this: the above modules are all located in the same processor; or, the above modules can be combined in any combination.
  • the forms are located in different processors.
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute any of the foregoing method embodiments when running. step.
  • the foregoing computer-readable storage medium may be configured to store a computer program for executing the steps described in the foregoing embodiments 1 to 4:
  • the foregoing computer-readable storage medium may include, but is not limited to: U disk, Read-Only Memory (Read-Only Memory, ROM for short), Random Access Memory (Random Access Memory, for short) It is a variety of media that can store computer programs such as RAM), mobile hard drives, magnetic disks or optical discs.
  • An embodiment of the present invention also provides an electronic device, including a memory and a processor, the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the foregoing method embodiments.
  • the aforementioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the aforementioned processor, and the input-output device is connected to the aforementioned processor.
  • the above-mentioned processor may be configured to execute the steps described in the above-mentioned Embodiments 1 to 4 through a computer program.
  • modules or steps of the present invention can be implemented by a general computing device, and they can be concentrated on a single computing device or distributed in a network composed of multiple computing devices.
  • they can be implemented with program codes executable by the computing device, so that they can be stored in the storage device for execution by the computing device, and in some cases, can be executed in a different order than here.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

本发明提供了一种表项下发方法及装置、表项处理方法及装置,其中,表项下发方法包括:获取第一表项与一个或多个第二业务模块之间的对应关系,其中,所述第二业务模块为需要使用所述第一表项的业务模块;下发所述第一表项至第一业务模块,以供所述第一业务模块根据所述第一表项进行逻辑处理;以及,根据所述第一表项与所述一个或多个第二业务模块之间的对应关系,调用所述一个或多个第二业务模块的回调函数。通过本发明,可以解决相关技术中表项下发过程中存在不必要的通知处理而造成表项下发效率低下的问题,达到提高表项下发的效率,进而实现表项快速下发的效果。

Description

表项下发方法及装置、表项处理方法及装置 技术领域
本发明涉及通信领域,具体而言,涉及一种表项下发方法及装置、表项处理方法及装置。
背景技术
数据中心机架交换机在业务运行阶段需要下发各种表项,如ARP、路由等,表项下发至业务底层处理逻辑,即业务模块,然后由业务底层处理逻辑将上述表项配置写入至硬件转发芯片中。相关技术中,交换机的控制面在将表项下发至业务面的业务底层处理逻辑过程中,如果某条表项与不止一个业务模块之间关联时,控制面不仅需要将该表项下发至当前的业务模块中,还需对该表项所关联的业务模块进行通知;而控制面在将表项下发至业务面的业务底层处理逻辑过程中,表项采用的串行写入,即完成对所有关联的业务模块进行通知后,才会进行下一条表项的写入。
上述表项下发过程中,可能存在部分业务模块未开启,或部分业务模块不需要该表项的现象,进而导致通知表项所有关联的业务模块时中存在不必要的操作。在表项规模较大,或业务模块数量较多时,会造成表项下发的效率低下,甚至形成性能制约。
针对上述相关技术中,表项下发过程中存在不必要的通知处理而造成表项下发效率低下的问题,相关技术中尚未提出有效的解决方案。
发明内容
本发明实施例提供了一种表项下发方法及装置、表项处理方法及装置,以至少解决相关技术中表项下发过程中存在不必要的通知处理而造成表项下发效率低下的问题。
根据本发明的一个实施例,提供了一种表项下发方法,应用于控制面,所述方法包括:
获取第一表项与一个或多个第二业务模块之间的对应关系,其中,所述第二业务模块为需要使用所述第一表项的业务模块;
下发所述第一表项至第一业务模块,以供所述第一业务模块根据所述第一表项进行逻辑处理;以及,根据所述第一表项与所述一个或多个第二业务模块之间的对应关系,调用所述一个或多个第二业务模块的回调函数。
根据本发明的另一个实施例,还提供了一种表项下发方法,应用于控制面,所述方法包括:
建立通知队列,并将第一表项与一个或多个第四业务模块之间的对应关系添加至所述通知队列中;其中,所述一个或多个第四业务模块为所述第一表项关联的业务模块;
下发所述第一表项至第一业务模块,以供所述第一业务模块根据所述第一表项进行逻辑处理;以及,通过所述通知队列调用所述一个或多个第四业务模块的回调函数。
根据本发明的另一个实施例,还提供了一种表项处理方法,应用于业务面,所述方法包括:
第一业务模块接收控制面下发的第一表项,并根据所述第一表项进行逻辑处理;
一个或多个第二业务模块响应所述控制面根据预先获取的所述第一表项与所述一个或多个第二业务模块之间的对应关系对所述一个或多个第二业务模块的回调函数的调用事件。
根据本发明的另一个实施例,还提供了一种表项处理方法,应用于业务面,所述方法包括:
第一业务模块接收控制面下发的第一表项,并根据所述第一表项进行逻辑处理;
一个或多个第四业务模块响应于所述控制面通过预先建立的通知队 列对所述一个或多个第四业务模块的回调函数的调用事件;其中,所述通知队列中添加有所述第一表项与所述一个或多个第四业务模块之间的对应关系,所述一个或多个第四业务模块为所述第一表项关联的业务模块。
根据本发明的另一个实施例,还提供了一种表项下发装置,应用于控制面,所述装置包括:
获取模块,设置为获取第一表项与一个或多个第二业务模块之间的对应关系,其中,所述第二业务模块为需要使用所述第一表项的业务模块;
第一下发模块,设置为下发所述第一表项至第一业务模块,以供所述第一业务模块根据所述第一表项进行逻辑处理;以及,根据所述第一表项与所述一个或多个第二业务模块之间的对应关系,调用所述一个或多个第二业务模块的回调函数。
根据本发明的另一个实施例,还提供了一种表项下发装置,应用于控制面,所述装置包括:
建立模块,设置为建立通知队列,并将第一表项与一个或多个第四业务模块之间的对应关系添加至所述通知队列中;其中,所述一个或多个第四业务模块为所述第一表项关联的业务模块;
第二下发模块,设置为下发所述第一表项至第一业务模块,以供所述第一业务模块根据所述第一表项进行逻辑处理;以及,通过所述通知队列调用所述一个或多个第四业务模块的回调函数。
根据本发明的另一个实施例,还提供了一种表项处理装置,应用于业务面,所述装置包括:
第一处理模块,设置为第一业务模块接收控制面下发的第一表项,并根据所述第一表项进行逻辑处理;
第一响应模块,设置为一个或多个第二业务模块响应所述控制面根据预先获取的所述第一表项与所述一个或多个第二业务模块之间的对应关系对所述一个或多个第二业务模块的回调函数的调用事件。
根据本发明的另一个实施例,还提供了一种表项处理装置,应用于业务面,所述装置包括:
第二处理模块,设置为第一业务模块接收控制面下发的第一表项,并根据所述第一表项进行逻辑处理;
第二响应模块,设置为一个或多个第四业务模块响应于所述控制面通过预先建立的通知队列对所述一个或多个第四业务模块的回调函数的调用事件;其中,所述通知队列中添加有所述第一表项与所述一个或多个第四业务模块之间的对应关系,所述一个或多个第四业务模块为所述第一表项关联的业务模块。
根据本发明的另一个实施例,还提供了一种计算机可读的存储介质,所述计算机可读的存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。
根据本发明的另一个实施例,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。
通过本发明,由于控制面可获取第一表项与一个或多个第二业务模块之间的对应关系,其中,所述第二业务模块为需要使用所述第一表项的业务模块;故控制面在下发所述第一表项至第一业务模块,以供所述第一业务模块根据所述第一表项进行逻辑处理的过程中,控制面可根据所述第一表项与所述一个或多个第二业务模块之间的对应关系,调用所述一个或多个第二业务模块的回调函数。因此,本发明可以解决相关技术中表项下发过程中存在不必要的通知处理而造成表项下发效率低下的问题,达到提高表项下发的效率,进而实现表项快速下发的效果。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据本发明实施例提供的表项下发方法的流程图(一);
图2是根据本发明实施例提供的表项下发中不同线程的工作示意图;
图3是根据本发明具体实施例提供的ARP表项下发的工作示意图;
图4是根据本发明实施例提供的表项下发方法的流程图(二);
图5是根据本发明实施例提供的表项处理方法的流程图(一);
图6是根据本发明实施例提供的表项处理方法的流程图(二);
图7是根据本发明实施例提供的表项下发装置的结构框图(一);
图8是根据本发明实施例提供的表项下发装置的结构框图(二);
图9是根据本发明实施例提供的表项处理装置的结构框图(一);
图10是根据本发明实施例提供的表项处理装置的结构框图(二)。
具体实施方式
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
实施例1
本实施例提供了一种表项下发方法,应用于控制面;图1是根据本发明实施例提供的表项下发方法的流程图(一),如图1所示,本实施例中的表项下发方法包括:
S102,获取第一表项与一个或多个第二业务模块之间的对应关系,其中,第二业务模块为需要使用第一表项的业务模块;
S104,下发第一表项至第一业务模块,以供第一业务模块根据第一表项进行逻辑处理;以及,根据第一表项与一个或多个第二业务模块之间的对应关系,调用一个或多个第二业务模块的回调函数。
需要进一步说明的是,上述步骤S102中,获取第一表项与一个或多个第二业务模块之间的对应关系,即确定明确需要使用第一表项的业务模块,以从第一表项所关联的业务模块中将上述业务模块筛选出来作为第二业务模块,进而在表项下发过程中作为通知的对象。
上述步骤S102中,第一表项与一个或多个第二业务模块之间的对应关系,可以通过数据库、查找表等方式进行记录、存储或查询等,本发明对此不做限定。
需要进一步说明的是,上述步骤S104中,调用一个或多个第二业务模块的回调函数,即实现控制面对一个或多个第二业务模块的通知。上述步骤S104中,第一业务模块根据第一表项进行逻辑处理,具体可为第一表项的写入操作。
上述步骤S104中,根据第一表项与一个或多个第二业务模块之间的对应关系,调用一个或多个第二业务模块的回调函数的操作可以在下发第一表项至第一业务模块的同时执行,也可以在下发第一表项至第一业务模块后,由第一业务模块根据第一表项进行逻辑处理后,再执行第二业务模块的通知处理。本发明对此不作限定。
需要进一步说明的是,上述步骤S102中,获取第一表项与一个或多个第二业务模块之间的对应关系的操作可以在执行步骤S104之前进行实现,也可以在执行步骤S104的过程中,或执行步骤S104之后,再次执行步骤S102,即对第一表项与一个或多个第二业务模块之间的对应关系进行补充或更新。
通过本实施例中的表项下发方法,由于控制面可获取第一表项与一个或多个第二业务模块之间的对应关系,其中,所述第二业务模块为需要使用所述第一表项的业务模块;故控制面在下发所述第一表项至第一业务模块,以供所述第一业务模块根据所述第一表项进行逻辑处理的过程中,控制面可根据所述第一表项与所述一个或多个第二业务模块之间的对应关系,调用所述一个或多个第二业务模块的回调函数。因此,本实施例中的 表项下发方法可以解决相关技术中表项下发过程中存在不必要的通知处理而造成表项下发效率低下的问题,达到提高表项下发的效率,进而实现表项快速下发的效果。
具体而言,本实施例通过在第一表项下发前,预先获取需要使用第一表项的第二业务模块,以对于第一表项关联的业务模块中未开启或不需要使用表项进行了筛选,进而使得控制面进行通知过程中,需要进行通知的业务模块限定在第二业务模块中。通过上述避免了非必要的通知操作,即可使得表项下发过程中的效率显著提升。
在一可选实施例中,上述获取第一表项与一个或多个第二业务模块之间的对应关系,包括:
建立查询表,查询表配置为存储第一表项与一个或多个第二业务模块之间的对应关系。
在一可选实施例中,上述获取第一表项与一个或多个第二业务模块之间的对应关系,还包括:
将需要使用第一表项的第三业务模块作为第二业务模块,以对查询表中的第一表项与一个或多个第二业务模块之间的对应关系进行更新;其中,第三业务模块为控制面任意时刻进行配置的业务模块。
需要进一步说明的是,上述可选实施例中,第三业务模块设置为指示控制面在任意时刻进行业务配置处理中作为配置对象的业务模块,控制面在配置的第三业务模块的过程中,第三业务模块可能需要使用多个表项,当第三业务模块需要使用第一表项时,即可将第三业务模块标记为第二业务模块,以对查找表中第一表项与一个或多个第二业务模块之间的对应关系进行更新,具体即增加第一表项所对应的第二业务模块的数量与对象。
在一可选实施例中,上述查询表配置为,存储第一表项的索引信息以及一个或多个第二业务模块的标识信息。
需要进一步说明的是,上述查找表中可通过存储第一表项的索引信息以及一个或多个第二业务模块的标识信息以对应表示第一表项与第二业 务模块之间的对应关系。上述第一表项的索引信息可以为第一表项的索引字段,如网际互连协议(Internet Protocol,IP)字段、(Virtual Private Network Routing and Forwarding,VRF)虚拟专用网络路由选择与转发表字段,等等。
在一可选实施例中,上述查询表还配置为,存储一个或多个第二业务模块的状态指示信息,其中,状态指示信息用于指示一个或多个第二业务模块是否在交换机中开启。
需要进一步说明的是,上述可选实施例中即可通过状态指示信息指示第二业务模块是否在交换机中开启,对于未开启的第二业务模块,可不进行通知。
在一可选实施例中,上述根据第一表项与一个或多个第二业务模块之间的对应关系,调用一个或多个第二业务模块的回调函数,还包括:
根据第一表项的索引信息在查询表中进行查询,以确定第一表项对应的一个或多个第二业务模块的标识信息,并根据标识信息调用一个或多个第二业务模块的回调函数。
需要进一步说明的是,上述可选实施例中,即在控制面下发第一表项的过程中,获取该第一表项的索引信息,如IP字段与VRF字段等,在上述查找表中根据索引字段采用查找或搜索的方式确定与该第一表项对应的第二业务模块的标识信息,以此,控制面即可根据上述标识信息调用一个或多个第二业务模块的回调函数。
在一可选实施例中,上述查询表为散列hash表。
在一可选实施例中,一个或多个第二业务模块的回调函数为,一个或多个第二业务模块在初始化阶段进行静态注册的回调函数。
在一可选实施例中,上述根据第一表项与一个或多个第二业务模块之间的对应关系,调用一个或多个第二业务模块的回调函数,包括:
建立通知队列,并将第一表项与一个或多个第二业务模块之间的对应关系添加至通知队列中;
根据第一表项与一个或多个第二业务模块之间的对应关系,通过通知队列调用一个或多个第二业务模块的回调函数。
需要进一步说明的是,上述可选实施例中,在进行第二业务模块的通知过程中,并未令控制面直接按照表项的串行写入的方式调用一个或多个第二业务模块的回调函数,而预先建立通知队列。上述通知队列独立于表项的下发,具体而言,将第一表项与一个或多个第二业务模块之间的对应关系添加至通知队列中,即在通知队列中确定需要进行通知的第一表项对应的第二业务模块,以此进一步通过通知队列进行调用一个或多个第二业务模块的回调函数,即可在控制面继续下发后续表项的同时,以实现通知操作。
相较于相关技术中表项下发过程中,采用表项的串行写入而导致控制面需要一一通知所有的业务模块后,再进行后续表项的下发,上述可选实施例中基于通知队列实现的业务模块的通知,控制面完成第一表项的下发后,即可进行后续表项的下发,以使得整体表项下发的时间得以进一步的缩短。上述可选实施例中记载的技术方案,在本实施例预先获取第一表项与一个或多个第二业务模块之间对应关系,以对第二业务模块进行通知的基础上,对于上述通知机制进行了进一步改进,以使得表项的下发效率得以进一步提升。
在一可选实施例中,上述下发第一表项至第一业务模块,以供第一业务模块根据第一表项进行逻辑处理之后,还包括:
在预设的第一处理线程中,下发第二表项至第一业务模块;以及,
在新建的第二处理线程中,通过通知队列调用一个或多个第二业务模块的回调函数。
需要进一步说明的是,上述第一处理线程与第二处理线程为不同的线程,即控制面在完成第一表项的下发后,进一步下发第二表项以及对第二业务模块的通知处理是分别在不同的线程中进行的,上述第一处理线程即为控制面进行表项下发的原有线程,上述第二处理线程即针对通知队列的 新建线程;采用上述可选实施例中记载的技术方案,可在进一步确保通知队列的通知处理独立于表项下发处理的情形下,使得通知队列中的通知操作与控制面其余的业务之间的耦合性降低,以避免其可能的相互影响。图2是根据本发明实施例提供的表项下发中不同线程的工作示意图,上述在不同线程中进行表项下发以及通知队列的通知处理的过程如图2所示。
在一可选实施例中,上述将第一表项与一个或多个第二业务模块之间的对应关系添加至通知队列中,包括:
将第一表项的索引信息以及一个或多个第二业务模块的标识信息添加至通知队列中。
在一可选实施例中,上述通知队列还配置为,根据第一表项的索引信息,对通知队列中的一个或多个第二业务模块的标识信息进行合并处理。
需要进一步说明的是,上述可选实施例中的合并处理即指示通知队列将第一表项对应的不同第二业务模块合并至一次操作中进行通知,具体而言,当通知队列中在不同的处理次序中分别存在不同的第二业务模块对应标识信息,按照预设方式,通知队列需在对应的处理次序中,分别根据标识信息对上述第二业务模块进行通知,而通过上述可选实施例中记载的技术方案,可将上述不同处理次序中的第二业务模块的标识信息进行合并,以在同一个处理次序中一次进行通知,进而进一步提高通知队列的通知效率。
在一可选实施例中,上述通知队列采用环形(First Input First Output,FIFO)先进先出队列。
为进一步说明本实施例中的表项下发方法,以下通过具体实施例的方式对上述表项下发方法进行详细阐述。
本具体实施例中以地址解析协议(Address Resolution Protocol,ARP)表项为例,即将ARP表项作为上述实施例中的第一表项。图3是根据本发明具体实施例提供的ARP表项下发的工作示意图,本具体实施例中的ARP表项下发的过程如图3所示。
系统初始化阶段,各个业务模块静态注册回调函数。系统创建hash表,该hash表用于存储表项与需要使用该表项的业务模块之间的对应关系,即上述实施例中的第一表项与需要使用第一表现的第二业务模块之间的对应关系。具体而言,上述hash表中存储有表项的索引字段,如IP字段、VRF字段,以及需要使用该表项的业务模块的标记。同时,系统还需建立环形FIFO队列,用于进行通知。
系统运行过程中,当控制面配置相应的业务模块后,如该业务需使用hash表中的某条表项,如需要使用ARP表项的ARP模块,则将该业务模块与表项的对应关系添加至上述hash表中,具体而言,可以是对原表项对应的业务模块进行数量与对象的更新,也可以是新增一条表项以及对应的业务模块。
当控制面学习到上述ARP表项时,控制面将ARP表项下发至ARP模块,ARP模块将ARP表项写入到硬件表后,利用上述索引字段在hash表内进行查询,如果查找到hash表存在需要使用ARP表项的其它业务模块,则将ARP表项的索引信息以及对应的业务模块的标识信息添加至环形FIFO队列中。上述ARP模块完成ARP表项的写入后,则退出继续下一跳ARP表项的表项下发处理。
系统建立环形FIFO队列的处理线程,该处理线程中,首先对环形FIFO队列内的ARP表项对应的业务模块进行合并处理,具体即遍历环形FIFO队列中所有的需要处理的内容,查询不同的操作中是否有对应同一个ARP表项的业务模块,如果有,则按照合并规则,将不同操作中对应同一个ARP表项的业务模块进行操作合并,通过添加、更新操作记录等方式,以按照最新的操作记录执行;进一步地,如果上述合并的业务模块相同,则仅合并业务模块的操作;如果上述合并的业务模块不同,则还需加入次序通知。
完成上述合并处理后,则对环形FIFO队列中需要通知的业务模块进行处理,具体为依次调用需要通知的业务模块的回调函数。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
实施例2
本实施例中提供了一种表项下发方法,应用于控制面,图4是根据本发明实施例提供的表项下发方法的流程图(二),如图4所示,本实施例中的表项下发方法包括:
S202,建立通知队列,并将第一表项与一个或多个第四业务模块之间的对应关系添加至通知队列中;其中,一个或多个第四业务模块为第一表项关联的业务模块;
S204,下发第一表项至第一业务模块,以供第一业务模块根据第一表项进行逻辑处理;以及,通过通知队列调用一个或多个第四业务模块的回调函数。
需要进一步说明的是,上述步骤S202中,第四业务模块即为第一表项所有关联的业务模块。
需要进一步说明的是,上述步骤S204中,在进行第三业务模块的通知过程中,并未令控制面直接按照表项的串行写入的方式调用一个或多个第三业务模块的回调函数,而是在步骤S202中预先建立通知队列。上述通知队列独立于表项的下发,具体而言,将第一表项与一个或多个第三业务模块之间的对应关系添加至步骤S202建立的通知队列中,即在通知队列中确定需要进行通知的第一表项对应的第三业务模块,以此进一步通过通知队列进行调用一个或多个第三业务模块的回调函数,即可在控制面继 续下发后续表项的同时,以实现通知操作。
通过本实施例中的表项下发方法,由于可以预先建立通知队列,并将第一表项与一个或多个第四业务模块之间的对应关系添加至通知队列中;其中,一个或多个第四业务模块为第一表项关联的业务模块;进而,控制面可以下发第一表项至第一业务模块,以供第一业务模块根据第一表项进行逻辑处理;以及通过通知队列调用一个或多个第四业务模块的回调函数。因此,本实施例中的表项下发方法可以解决相关技术中表项下发过程中存在不必要的通知处理而造成表项下发效率低下的问题,达到提高表项下发的效率,进而实现表项快速下发的效果。
具体而言,相较于相关技术中表项下发过程中,采用表项的串行写入而导致控制面需要一一通知所有的业务模块后,再进行后续表项的下发,上述可选实施例中基于通知队列实现的业务模块的通知,控制面完成第一表项的下发后,即可进行后续表项的下发,以使得整体表项下发的时间得以进一步的缩短,进而使得表项的下发效率得以提升。
在一可选实施例中,上述下发第一表项至第一业务模块,以供第一业务模块根据第一表项进行逻辑处理之后,包括:
在预设的第一处理线程中,下发第二表项至第一业务模块;以及,
在新建的第二处理线程中,通过通知队列调用一个或多个第四业务模块的回调函数。
需要进一步说明的是,上述第一处理线程与第二处理线程为不同的线程,即控制面在完成第一表项的下发后,进一步下发第二表项以及对第四业务模块的通知处理是分别在不同的线程中进行的,上述第一处理线程即为控制面进行表项下发的原有线程,上述第二处理线程即针对通知队列的新建线程;采用上述可选实施例中记载的技术方案,可在进一步确保通知队列的通知处理独立于表项下发处理的情形下,使得通知队列中的通知操作与控制面其余的业务之间的耦合性降低,以避免其可能的相互影响。
在一可选实施例中,上述将第一表项与一个或多个第四业务模块之间 的对应关系添加至通知队列中,包括:
将第一表项的索引信息以及一个或多个第四业务模块的标识信息添加至通知队列中。
需要进一步说明的是,上述第一表项的索引信息可以为第一表项的索引字段,如IP字段、VRF字段等等。
在一可选实施例中,上述通知队列还配置为,根据第一表项的索引信息,对通知队列中的一个或多个第四业务模块的标识信息进行合并处理。
需要进一步说明的是,上述可选实施例中的合并处理即指示通知队列将第一表项对应的不同第四业务模块合并至一次操作中进行通知,具体而言,当通知队列中在不同的处理次序中分别存在不同的第四业务模块对应标识信息,按照预设方式,通知队列需在对应的处理次序中,分别根据标识信息对上述第四业务模块进行通知,而通过上述可选实施例中记载的技术方案,可将上述不同处理次序中的第四业务模块的标识信息进行合并,以在同一个处理次序中一次进行通知,进而进一步提高通知队列的通知效率。
在一可选实施例中,上述第四业务模块包括第二业务模块,其中,第二业务模块为需要使用第一表项的业务模块。
在一可选实施例中,上述通知队列采用环形先进先出FIFO队列。
在一可选实施例中,上述一个或多个第四业务模块的回调函数为,一个或多个第四业务模块在初始化阶段进行静态注册的回调函数。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所 述的方法。
实施例3
本实施例中提供了一种表项处理方法,应用于业务面,图5是根据本发明实施例提供的表项处理方法的流程图(一),如图5所示,本实施例中的表项处理方法包括:
S302,第一业务模块接收控制面下发的第一表项,并根据第一表项进行逻辑处理;
S304,一个或多个第二业务模块响应控制面根据预先获取的第一表项与一个或多个第二业务模块之间的对应关系对一个或多个第二业务模块的回调函数的调用事件。
需要进一步说明的是,上述实施例中的表项处理方法的其余可选实施例以及对应的技术效果均与实施例1中的表项下发方法相对应,故在此不再赘述。
在一可选实施例中,上述一个或多个第二业务模块响应控制面根据预先获取的第一表项与一个或多个第二业务模块之间的对应关系对一个或多个第二业务模块的回调函数的调用事件,包括:
一个或多个第二业务模块响应于控制面根据预先建立的查询表对一个或多个第二业务模块的回调函数的调用事件;其中,查询表配置为存储第一表项与一个或多个第二业务模块之间的对应关系。
在一可选实施例中,上述查询表配置为,存储第一表项的索引信息以及一个或多个第二业务模块的标识信息。
在一可选实施例中,上述查询表还配置为,存储一个或多个第二业务模块的状态指示信息,其中,状态指示信息用于指示一个或多个第二业务模块是否在交换机中开启。
在一可选实施例中,上述一个或多个第二业务模块响应于控制面根据预先建立的查询表对一个或多个第二业务模块的回调函数的调用事件,还 包括:
一个或多个第二业务模块响应于控制面根据标识信息对一个或多个第二业务模块的回调函数的调用事件;
其中,标识信息为控制面根据第一表项的索引信息在查询表中进行查询以确定的第一表项对应的一个或多个第二业务模块的标识信息。
在一可选实施例中,上述查询表为散列hash表。
在一可选实施例中,上述一个或多个第二业务模块的回调函数为,一个或多个第二业务模块在初始化阶段进行静态注册的回调函数。
在一可选实施例中,上述一个或多个第二业务模块响应控制面根据预先获取的第一表项与一个或多个第二业务模块之间的对应关系对一个或多个第二业务模块的回调函数的调用事件,包括:
一个或多个第二业务模块响应于控制面通过预先建立的通知队列对一个或多个第二业务模块的回调函数的调用事件;
其中,通知队列中添加有第一表项与一个或多个第二业务模块之间的对应关系。
在一可选实施例中,上述方法还包括:
第一业务模块在预设的第一处理线程中接收控制面下发的第二表项;以及,
一个或多个第二业务模块在新建的第二处理线程中响应于控制面通过预先建立的通知队列对一个或多个第二业务模块的回调函数的调用事件。
在一可选实施例中,上述通知队列中添加有第一表项的索引信息以及一个或多个第二业务模块的标识信息。
在一可选实施例中,上述通知队列还配置为,根据第一表项的索引信息,对通知队列中的一个或多个第二业务模块的标识信息进行合并处理。
在一可选实施例中,上述通知队列采用环形先进先出FIFO队列。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
实施例4
本实施例中提供了一种表项处理方法,应用于业务面,图6是根据本发明实施例提供的表项处理方法的流程图(二),如图6所示,本实施例中的表项处理方法包括:
S402,第一业务模块接收控制面下发的第一表项,并根据第一表项进行逻辑处理;
S404,一个或多个第四业务模块响应于控制面通过预先建立的通知队列对一个或多个第四业务模块的回调函数的调用事件;其中,通知队列中添加有第一表项与一个或多个第四业务模块之间的对应关系,一个或多个第四业务模块为第一表项关联的业务模块。
需要进一步说明的是,上述实施例中的表项处理方法的其余可选实施例以及对应的技术效果均与实施例2中的表项下发方法相对应,故在此不再赘述。
在一可选实施例中,上述方法还包括:
第一业务模块在预设的第一处理线程中接收控制面下发的第二表项;以及,
一个或多个第四业务模块在新建的第二处理线程中响应于控制面通过预先建立的通知队列对一个或多个第四业务模块的回调函数的调用事件。
在一可选实施例中,上述通知队列中添加有第一表项的索引信息以及一个或多个第四业务模块的标识信息。
在一可选实施例中,上述通知队列还配置为,根据第一表项的索引信息,对通知队列中的一个或多个第四业务模块的标识信息进行合并处理。
在一可选实施例中,上述第四业务模块包括第四业务模块,其中,第四业务模块为需要使用第一表项的业务模块。
在一可选实施例中,上述通知队列采用环形先进先出FIFO队列。
在一可选实施例中,上述一个或多个第四业务模块的回调函数为,一个或多个第四业务模块在初始化阶段静态注册的回调函数。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
实施例5
本实施例提供了一种表项下发装置,应用于控制面,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图7是根据本发明实施例提供的表项下发装置的结构框图(一),如图7所示,该装置包括:
获取模块502,设置为获取第一表项与一个或多个第二业务模块之间的对应关系,其中,第二业务模块为需要使用第一表项的业务模块;
第一下发模块504,设置为下发第一表项至第一业务模块,以供第一业务模块根据第一表项进行逻辑处理;以及,根据第一表项与一个或多个第二业务模块之间的对应关系,调用一个或多个第二业务模块的回调函数。
需要进一步说明的是,上述实施例中的表项下发装置的其余可选实施例以及对应的技术效果均与实施例1中的表项下发方法相对应,故在此不再赘述。
在一可选实施例中,上述获取第一表项与一个或多个第二业务模块之间的对应关系,包括:
建立查询表,查询表配置为存储第一表项与一个或多个第二业务模块之间的对应关系。
在一可选实施例中,上述获取第一表项与一个或多个第二业务模块之间的对应关系,还包括:
将需要使用第一表项的第三业务模块作为第二业务模块,以对查询表中的第一表项与一个或多个第二业务模块之间的对应关系进行更新;其中,第三业务模块为控制面任意时刻进行配置的业务模块。
在一可选实施例中,上述查询表配置为,存储第一表项的索引信息以及一个或多个第二业务模块的标识信息。
在一可选实施例中,上述查询表还配置为,存储一个或多个第二业务模块的状态指示信息,其中,状态指示信息用于指示一个或多个第二业务模块是否在交换机中开启。
在一可选实施例中,上述根据第一表项与一个或多个第二业务模块之间的对应关系,调用一个或多个第二业务模块的回调函数,还包括:
根据第一表项的索引信息在查询表中进行查询,以确定第一表项对应的一个或多个第二业务模块的标识信息,并根据标识信息调用一个或多个第二业务模块的回调函数。
在一可选实施例中,上述查询表为散列hash表。
在一可选实施例中,上述一个或多个第二业务模块的回调函数为,一个或多个第二业务模块在初始化阶段进行静态注册的回调函数。
在一可选实施例中,上述根据第一表项与一个或多个第二业务模块之间的对应关系,调用一个或多个第二业务模块的回调函数,包括:
建立通知队列,并将第一表项与一个或多个第二业务模块之间的对应关系添加至通知队列中;
根据第一表项与一个或多个第二业务模块之间的对应关系,通过通知队列调用一个或多个第二业务模块的回调函数。
在一可选实施例中,上述下发第一表项至第一业务模块,以供第一业务模块根据第一表项进行逻辑处理之后,还包括:
在预设的第一处理线程中,下发第二表项至第一业务模块;以及,
在新建的第二处理线程中,通过通知队列调用一个或多个第二业务模块的回调函数。
在一可选实施例中,上述将第一表项与一个或多个第二业务模块之间的对应关系添加至通知队列中,包括:
将第一表项的索引信息以及一个或多个第二业务模块的标识信息添加至通知队列中。
在一可选实施例中,上述通知队列还配置为,根据第一表项的索引信息,对通知队列中的一个或多个第二业务模块的标识信息进行合并处理。
在一可选实施例中,上述通知队列采用环形先进先出FIFO队列。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。
实施例6
在本实施例中还提供了一种表项下发装置,应用于控制面,该装置用 于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图8是根据本发明实施例提供的表项下发装置的结构框图(二),如图8所示,该装置包括:
建立模块602,设置为建立通知队列,并将第一表项与一个或多个第四业务模块之间的对应关系添加至通知队列中;其中,一个或多个第四业务模块为第一表项关联的业务模块;
第二下发模块604,设置为下发第一表项至第一业务模块,以供第一业务模块根据第一表项进行逻辑处理;以及,通过通知队列调用一个或多个第四业务模块的回调函数。
需要进一步说明的是,上述实施例中的表项下发装置的其余可选实施例以及对应的技术效果均与实施例2中的表项下发方法相对应,故在此不再赘述。
在一可选实施例中,上述下发第一表项至第一业务模块,以供第一业务模块根据第一表项进行逻辑处理之后,包括:
在预设的第一处理线程中,下发第二表项至第一业务模块;以及,
在新建的第二处理线程中,通过通知队列调用一个或多个第四业务模块的回调函数。
在一可选实施例中,上述将第一表项与一个或多个第四业务模块之间的对应关系添加至通知队列中,包括:
将第一表项的索引信息以及一个或多个第四业务模块的标识信息添加至通知队列中。
在一可选实施例中,上述通知队列还配置为,根据第一表项的索引信息,对通知队列中的一个或多个第四业务模块的标识信息进行合并处理。
在一可选实施例中,上述第四业务模块包括第四业务模块,其中,第四业务模块为需要使用第一表项的业务模块。
在一可选实施例中,上述通知队列采用环形先进先出FIFO队列。
在一可选实施例中,上述一个或多个第四业务模块的回调函数为,一个或多个第四业务模块在初始化阶段进行静态注册的回调函数。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。
实施例7
在本实施例中还提供了一种表项处理装置,应用于业务面,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图9是根据本发明实施例提供的表项处理装置的结构框图(一),如图9所示,该装置包括:
第一处理模块702,设置为第一业务模块接收控制面下发的第一表项,并根据第一表项进行逻辑处理;
第一响应模块704,设置为一个或多个第二业务模块响应控制面根据预先获取的第一表项与一个或多个第二业务模块之间的对应关系对一个或多个第二业务模块的回调函数的调用事件。
需要进一步说明的是,上述实施例中的表项处理装置的其余可选实施例以及对应的技术效果均与实施例3中的表项处理方法相对应,故在此不再赘述。
在一可选实施例中,上述一个或多个第二业务模块响应控制面根据预先获取的第一表项与一个或多个第二业务模块之间的对应关系对一个或 多个第二业务模块的回调函数的调用事件,包括:
一个或多个第二业务模块响应于控制面根据预先建立的查询表对一个或多个第二业务模块的回调函数的调用事件;其中,查询表配置为存储第一表项与一个或多个第二业务模块之间的对应关系。
在一可选实施例中,上述查询表配置为,存储第一表项的索引信息以及一个或多个第二业务模块的标识信息。
在一可选实施例中,上述查询表还配置为,存储一个或多个第二业务模块的状态指示信息,其中,状态指示信息用于指示一个或多个第二业务模块是否在交换机中开启。
在一可选实施例中,上述一个或多个第二业务模块响应于控制面根据预先建立的查询表对一个或多个第二业务模块的回调函数的调用事件,还包括:
一个或多个第二业务模块响应于控制面根据标识信息对一个或多个第二业务模块的回调函数的调用事件;
其中,标识信息为控制面根据第一表项的索引信息在查询表中进行查询以确定的第一表项对应的一个或多个第二业务模块的标识信息。
在一可选实施例中,上述查询表为散列hash表。
在一可选实施例中,上述一个或多个第二业务模块的回调函数为,一个或多个第二业务模块在初始化阶段进行静态注册的回调函数。
在一可选实施例中,上述一个或多个第二业务模块响应控制面根据预先获取的第一表项与一个或多个第二业务模块之间的对应关系对一个或多个第二业务模块的回调函数的调用事件,包括:
一个或多个第二业务模块响应于控制面通过预先建立的通知队列对一个或多个第二业务模块的回调函数的调用事件;
其中,通知队列中添加有第一表项与一个或多个第二业务模块之间的对应关系。
在一可选实施例中,上述装置还包括:
第一业务模块在预设的第一处理线程中接收控制面下发的第二表项;以及,
一个或多个第二业务模块在新建的第二处理线程中响应于控制面通过预先建立的通知队列对一个或多个第二业务模块的回调函数的调用事件。
在一可选实施例中,上述通知队列中添加有第一表项的索引信息以及一个或多个第二业务模块的标识信息。
在一可选实施例中,上述通知队列还配置为,根据第一表项的索引信息,对通知队列中的一个或多个第二业务模块的标识信息进行合并处理。
在一可选实施例中,上述通知队列采用环形先进先出FIFO队列。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。
实施例8
在本实施例中还提供了一种表项处理装置,应用于业务面,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图10是根据本发明实施例提供的表项处理装置的结构框图(二),如图10所示,该装置包括:
第二处理模块802,设置为第一业务模块接收控制面下发的第一表项,并根据第一表项进行逻辑处理;
第二响应模块804,设置为一个或多个第四业务模块响应于控制面通过预先建立的通知队列对一个或多个第四业务模块的回调函数的调用事 件;其中,通知队列中添加有第一表项与一个或多个第四业务模块之间的对应关系,一个或多个第四业务模块为第一表项关联的业务模块。
需要进一步说明的是,上述实施例中的表项处理装置的其余可选实施例以及对应的技术效果均与实施例3中的表项处理方法相对应,故在此不再赘述。
在一可选实施例中,上述装置还包括:
第一业务模块在预设的第一处理线程中接收控制面下发的第二表项;以及,
一个或多个第四业务模块在新建的第二处理线程中响应于控制面通过预先建立的通知队列对一个或多个第四业务模块的回调函数的调用事件。
在一可选实施例中,上述通知队列中添加有第一表项的索引信息以及一个或多个第四业务模块的标识信息。
在一可选实施例中,上述通知队列还配置为,根据第一表项的索引信息,对通知队列中的一个或多个第四业务模块的标识信息进行合并处理。
在一可选实施例中,上述第四业务模块包括第四业务模块,其中,第四业务模块为需要使用第一表项的业务模块。
在一可选实施例中,上述通知队列采用环形先进先出FIFO队列。
在一可选实施例中,上述一个或多个第四业务模块的回调函数为,一个或多个第四业务模块在初始化阶段静态注册的回调函数。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。
实施例9
本发明的实施例还提供了一种计算机可读的存储介质,该计算机可读的存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执 行上述任一项方法实施例中的步骤。
可选地,在本实施例中,上述计算机可读的存储介质可以被设置为存储用于执行上述实施例1至4中记载步骤的计算机程序:
可选地,在本实施例中,上述计算机可读的存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。
实施例10
本发明的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。
可选地,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。
可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行上述实施例1至4中记载的步骤。
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (45)

  1. 一种表项下发方法,应用于控制面,所述方法包括:
    获取第一表项与一个或多个第二业务模块之间的对应关系,其中,所述第二业务模块为需要使用所述第一表项的业务模块;
    下发所述第一表项至第一业务模块,以供所述第一业务模块根据所述第一表项进行逻辑处理;以及,根据所述第一表项与所述一个或多个第二业务模块之间的对应关系,调用所述一个或多个第二业务模块的回调函数。
  2. 根据权利要求1所述的方法,其中,所述获取第一表项与一个或多个第二业务模块之间的对应关系,包括:
    建立查询表,所述查询表配置为存储所述第一表项与所述一个或多个第二业务模块之间的对应关系。
  3. 根据权利要求2所述的方法,其中,所述获取第一表项与一个或多个第二业务模块之间的对应关系,还包括:
    将需要使用所述第一表项的第三业务模块作为所述第二业务模块,以对所述查询表中的所述第一表项与所述一个或多个第二业务模块之间的对应关系进行更新;其中,所述第三业务模块为所述控制面任意时刻进行配置的业务模块。
  4. 根据权利要求2所述的方法,其中,所述查询表配置为,存储所述第一表项的索引信息以及所述一个或多个第二业务模块的标识信息。
  5. 根据权利要求4所述的方法,其中,所述查询表还配置为,存储所述一个或多个第二业务模块的状态指示信息,其中,所述状态指示信息用于指示所述一个或多个第二业务模块是否在交换机中开 启。
  6. 根据权利要求4所述的方法,其中,所述根据所述第一表项与所述一个或多个第二业务模块之间的对应关系,调用所述一个或多个第二业务模块的回调函数,还包括:
    根据所述第一表项的所述索引信息在所述查询表中进行查询,以确定所述第一表项对应的所述一个或多个第二业务模块的所述标识信息,并根据所述标识信息调用所述一个或多个第二业务模块的所述回调函数。
  7. 根据权利要求2至6任一项中所述的方法,其中,所述查询表为散列hash表。
  8. 根据权利要求1至6任一项中所述的方法,其中,所述一个或多个第二业务模块的所述回调函数为,所述一个或多个第二业务模块在初始化阶段进行静态注册的回调函数。
  9. 根据权利要求1至6任一项中所述的方法,其中,所述根据所述第一表项与所述一个或多个第二业务模块之间的对应关系,调用所述一个或多个第二业务模块的回调函数,包括:
    建立通知队列,并将所述第一表项与所述一个或多个第二业务模块之间的对应关系添加至所述通知队列中;
    根据所述第一表项与所述一个或多个第二业务模块之间的对应关系,通过所述通知队列调用所述一个或多个第二业务模块的所述回调函数。
  10. 根据权利要求9所述的方法,其中,所述下发所述第一表项至第一业务模块,以供所述第一业务模块根据所述第一表项进行逻辑处理之后,还包括:
    在预设的第一处理线程中,下发第二表项至所述第一业务模块;以及,
    在新建的第二处理线程中,通过所述通知队列调用所述一个或多个第二业务模块的所述回调函数。
  11. 根据权利要求9所述的方法,其中,所述将所述第一表项与所述一个或多个第二业务模块之间的对应关系添加至所述通知队列中,包括:
    将所述第一表项的索引信息以及所述一个或多个第二业务模块的标识信息添加至所述通知队列中。
  12. 根据权利要求11所述的方法,其中,所述通知队列还配置为,根据所述第一表项的所述索引信息,对所述通知队列中的所述一个或多个第二业务模块的所述标识信息进行合并处理。
  13. 根据权利要求9所述的方法,其中,所述通知队列采用环形先进先出FIFO队列。
  14. 一种表项下发方法,应用于控制面,所述方法包括:
    建立通知队列,并将第一表项与一个或多个第四业务模块之间的对应关系添加至所述通知队列中;其中,所述一个或多个第四业务模块为所述第一表项关联的业务模块;
    下发所述第一表项至第一业务模块,以供所述第一业务模块根据所述第一表项进行逻辑处理;以及,通过所述通知队列调用所述一个或多个第四业务模块的回调函数。
  15. 根据权利要求14所述的方法,其中,所述下发所述第一表项至第一业务模块,以供所述第一业务模块根据所述第一表项进行逻 辑处理之后,包括:
    在预设的第一处理线程中,下发第二表项至所述第一业务模块;以及,
    在新建的第二处理线程中,通过所述通知队列调用所述一个或多个第四业务模块的所述回调函数。
  16. 根据权利要求14所述的方法,其中,所述将第一表项与一个或多个第四业务模块之间的对应关系添加至所述通知队列中,包括:
    将所述第一表项的索引信息以及所述一个或多个第四业务模块的标识信息添加至所述通知队列中。
  17. 根据权利要求16所述的方法,其中,所述通知队列还配置为,根据所述第一表项的所述索引信息,对所述通知队列中的所述一个或多个第四业务模块的所述标识信息进行合并处理。
  18. 根据权利要求14至17任一项中所述的方法,其中,所述第四业务模块包括所述第二业务模块,其中,所述第二业务模块为需要使用所述第一表项的业务模块。
  19. 根据权利要求14至17任一项中所述的方法,其中,所述通知队列采用环形先进先出FIFO队列。
  20. 根据权利要求14至17任一项中所述的方法,其中,所述一个或多个第四业务模块的所述回调函数为,所述一个或多个第四业务模块在初始化阶段进行静态注册的回调函数。
  21. 一种表项处理方法,应用于业务面,所述方法包括:
    第一业务模块接收控制面下发的第一表项,并根据所述第一表项 进行逻辑处理;
    一个或多个第二业务模块响应所述控制面根据预先获取的所述第一表项与所述一个或多个第二业务模块之间的对应关系对所述一个或多个第二业务模块的回调函数的调用事件。
  22. 根据权利要求21所述的方法,其中,所述一个或多个第二业务模块响应所述控制面根据预先获取的所述第一表项与所述一个或多个第二业务模块之间的对应关系对所述一个或多个第二业务模块的回调函数的调用事件,包括:
    所述一个或多个第二业务模块响应于所述控制面根据预先建立的查询表对所述一个或多个第二业务模块的所述回调函数的调用事件;其中,所述查询表配置为存储所述第一表项与所述一个或多个第二业务模块之间的对应关系。
  23. 根据权利要求22所述的方法,其中,所述查询表配置为,存储所述第一表项的索引信息以及所述一个或多个第二业务模块的标识信息。
  24. 根据权利要求23所述的方法,其中,所述查询表还配置为,存储所述一个或多个第二业务模块的状态指示信息,其中,所述状态指示信息用于指示所述一个或多个第二业务模块是否在交换机中开启。
  25. 根据权利要求23所述的方法,其中,所述所述一个或多个第二业务模块响应于所述控制面根据预先建立的查询表对所述一个或多个第二业务模块的所述回调函数的调用事件,还包括:
    所述一个或多个第二业务模块响应于所述控制面根据所述标识信息对所述一个或多个第二业务模块的所述回调函数的调用事件;
    其中,所述标识信息为所述控制面根据所述第一表项的所述索引信息在所述查询表中进行查询以确定的所述第一表项对应的所述一个或多个第二业务模块的标识信息。
  26. 根据权利要求22至25任一项中所述的方法,其中,所述查询表为散列hash表。
  27. 根据权利要求21至25任一项中所述的方法,其中,所述一个或多个第二业务模块的回调函数为,所述一个或多个第二业务模块在初始化阶段进行静态注册的回调函数。
  28. 根据权利要求21至25任一项中所述的方法,其中,所述一个或多个第二业务模块响应所述控制面根据预先获取的所述第一表项与所述一个或多个第二业务模块之间的对应关系对所述一个或多个第二业务模块的回调函数的调用事件,包括:
    所述一个或多个第二业务模块响应于所述控制面通过预先建立的通知队列对所述一个或多个第二业务模块的所述回调函数的调用事件;
    其中,所述通知队列中添加有所述第一表项与所述一个或多个第二业务模块之间的对应关系。
  29. 根据权利要求28所述的方法,其中,所述方法还包括:
    所述第一业务模块在预设的第一处理线程中接收所述控制面下发的第二表项;以及,
    所述一个或多个第二业务模块在新建的第二处理线程中响应于所述控制面通过预先建立的通知队列对所述一个或多个第二业务模块的所述回调函数的调用事件。
  30. 根据权利要求28所述的方法,其中,所述通知队列中添加有所述第一表项的索引信息以及所述一个或多个第二业务模块的标识信息。
  31. 根据权利要求28所述的方法,其中,所述通知队列还配置为,根据所述第一表项的所述索引信息,对所述通知队列中的所述一个或多个第二业务模块的所述标识信息进行合并处理。
  32. 根据权利要求28所述的方法,其中,所述通知队列采用环形先进先出FIFO队列。
  33. 一种表项处理方法,应用于业务面,所述方法包括:
    第一业务模块接收控制面下发的第一表项,并根据所述第一表项进行逻辑处理;
    一个或多个第四业务模块响应于所述控制面通过预先建立的通知队列对所述一个或多个第四业务模块的回调函数的调用事件;其中,所述通知队列中添加有所述第一表项与所述一个或多个第四业务模块之间的对应关系,所述一个或多个第四业务模块为所述第一表项关联的业务模块。
  34. 根据权利要求33所述的方法,其中,所述方法还包括:
    所述第一业务模块在预设的第一处理线程中接收所述控制面下发的第二表项;以及,
    所述一个或多个第四业务模块在新建的第二处理线程中响应于所述控制面通过预先建立的通知队列对所述一个或多个第四业务模块的回调函数的调用事件。
  35. 根据权利要求33所述的方法,其中,所述通知队列中添加 有所述第一表项的索引信息以及所述一个或多个第二业务模块的标识信息。
  36. 根据权利要求33所述的方法,其中,所述通知队列还配置为,根据所述第一表项的所述索引信息,对所述通知队列中的所述一个或多个第二业务模块的所述标识信息进行合并处理。
  37. 根据权利要求33至36任一项中所述的方法,其中,所述第四业务模块包括所述第二业务模块,其中,所述第二业务模块为需要使用所述第一表项的业务模块。
  38. 根据权利要求33至36任一项中所述的方法,其中,所述通知队列采用环形先进先出FIFO队列。
  39. 根据权利要求33至36任一项中所述的方法,其中,所述一个或多个第四业务模块的所述回调函数为,所述一个或多个第四业务模块在初始化阶段静态注册的回调函数。
  40. 一种表项下发装置,应用于控制面,所述装置包括:
    获取模块,设置为获取第一表项与一个或多个第二业务模块之间的对应关系,其中,所述第二业务模块为需要使用所述第一表项的业务模块;
    第一下发模块,设置为下发所述第一表项至第一业务模块,以供所述第一业务模块根据所述第一表项进行逻辑处理;以及,根据所述第一表项与所述一个或多个第二业务模块之间的对应关系,调用所述一个或多个第二业务模块的回调函数。
  41. 一种表项下发装置,应用于控制面,所述装置包括:
    建立模块,设置为建立通知队列,并将第一表项与一个或多个第 四业务模块之间的对应关系添加至所述通知队列中;其中,所述一个或多个第四业务模块为所述第一表项关联的业务模块;
    第二下发模块,设置为下发所述第一表项至第一业务模块,以供所述第一业务模块根据所述第一表项进行逻辑处理;以及,通过所述通知队列调用所述一个或多个第四业务模块的回调函数。
  42. 一种表项处理装置,应用于业务面,所述装置包括:
    第一处理模块,设置为第一业务模块接收控制面下发的第一表项,并根据所述第一表项进行逻辑处理;
    第一响应模块,设置为一个或多个第二业务模块响应所述控制面根据预先获取的所述第一表项与所述一个或多个第二业务模块之间的对应关系对所述一个或多个第二业务模块的回调函数的调用事件。
  43. 一种表项处理装置,应用于业务面,所述装置包括:
    第二处理模块,设置为第一业务模块接收控制面下发的第一表项,并根据所述第一表项进行逻辑处理;
    第二响应模块,设置为一个或多个第四业务模块响应于所述控制面通过预先建立的通知队列对所述一个或多个第四业务模块的回调函数的调用事件;其中,所述通知队列中添加有所述第一表项与所述一个或多个第四业务模块之间的对应关系,所述一个或多个第四业务模块为所述第一表项关联的业务模块。
  44. 一种计算机可读的存储介质,所述计算机可读的存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求1至13、权利要求14至20、权利要求21至32、权利要求33至39任一项中所述的方法。
  45. 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利要求1至13、权利要求14至20、权利要求21至32、权利要求33至39任一项中所述的方法。
PCT/CN2020/133128 2019-12-24 2020-12-01 表项下发方法及装置、表项处理方法及装置 WO2021129327A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911349825.3A CN113037630B (zh) 2019-12-24 2019-12-24 表项下发方法及装置、表项处理方法及装置
CN201911349825.3 2019-12-24

Publications (1)

Publication Number Publication Date
WO2021129327A1 true WO2021129327A1 (zh) 2021-07-01

Family

ID=76452170

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/133128 WO2021129327A1 (zh) 2019-12-24 2020-12-01 表项下发方法及装置、表项处理方法及装置

Country Status (2)

Country Link
CN (1) CN113037630B (zh)
WO (1) WO2021129327A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116483872A (zh) * 2023-06-20 2023-07-25 合肥青谷信息科技有限公司 一种复杂数据处理方法、装置及电子设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160044145A1 (en) * 2011-09-29 2016-02-11 Hangzhou H3C Technologies Co., Ltd. Learning a mac address
CN105959220A (zh) * 2016-06-28 2016-09-21 杭州迪普科技有限公司 路由表下发的方法及装置
CN105991342A (zh) * 2015-03-23 2016-10-05 杭州迪普科技有限公司 分布式设备的业务处理方法、装置及分布式设备
CN106888282A (zh) * 2017-04-28 2017-06-23 新华三技术有限公司 一种地址解析协议arp表更新方法、板卡及分布式设备
CN108809837A (zh) * 2018-06-11 2018-11-13 深圳市风云实业有限公司 Arl表项集中管理优化系统
CN109218065A (zh) * 2017-07-07 2019-01-15 中兴通讯股份有限公司 业务单板管理方法、装置、设备及存储介质
CN110061992A (zh) * 2019-04-22 2019-07-26 杭州迪普科技股份有限公司 一种动态配置fpga的方法及网络安全设备

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219150B (zh) * 2014-09-03 2018-03-16 新华三技术有限公司 流表下发方法及装置
US20190130365A1 (en) * 2017-10-28 2019-05-02 Facebook, Inc. Generating notifications in a room management system
CN108833280B (zh) * 2018-03-19 2020-02-04 新华三信息安全技术有限公司 一种用户管理表项下发方法、装置及控制面设备
CN112866004B (zh) * 2018-08-23 2024-04-12 华为技术有限公司 控制面设备的切换方法、装置及转控分离系统
CN109361607B (zh) * 2018-10-15 2021-09-17 迈普通信技术股份有限公司 表项数据获取方法、装置及通信设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160044145A1 (en) * 2011-09-29 2016-02-11 Hangzhou H3C Technologies Co., Ltd. Learning a mac address
CN105991342A (zh) * 2015-03-23 2016-10-05 杭州迪普科技有限公司 分布式设备的业务处理方法、装置及分布式设备
CN105959220A (zh) * 2016-06-28 2016-09-21 杭州迪普科技有限公司 路由表下发的方法及装置
CN106888282A (zh) * 2017-04-28 2017-06-23 新华三技术有限公司 一种地址解析协议arp表更新方法、板卡及分布式设备
CN109218065A (zh) * 2017-07-07 2019-01-15 中兴通讯股份有限公司 业务单板管理方法、装置、设备及存储介质
CN108809837A (zh) * 2018-06-11 2018-11-13 深圳市风云实业有限公司 Arl表项集中管理优化系统
CN110061992A (zh) * 2019-04-22 2019-07-26 杭州迪普科技股份有限公司 一种动态配置fpga的方法及网络安全设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116483872A (zh) * 2023-06-20 2023-07-25 合肥青谷信息科技有限公司 一种复杂数据处理方法、装置及电子设备
CN116483872B (zh) * 2023-06-20 2023-09-12 合肥青谷信息科技有限公司 一种复杂数据处理方法、装置及电子设备

Also Published As

Publication number Publication date
CN113037630B (zh) 2023-07-07
CN113037630A (zh) 2021-06-25

Similar Documents

Publication Publication Date Title
JP3851272B2 (ja) ステートフル・プログラム・エンティティの作業負荷管理
US8838703B2 (en) Method and system for message processing
JP3301648B2 (ja) サービス・アクセス・ポイントに接続を分散する通信制御システム
US20200403843A1 (en) Method and system for inter-device service access
CN106663033B (zh) 在事务中间件机器环境支持绕域和代理模型并更新服务信息以跨域消息传送的系统和方法
EP3703337B1 (en) Mobile edge host-machine service notification method and apparatus
US10771318B1 (en) High availability on a distributed networking platform
CN108322325B (zh) 一种虚拟机管理方法及装置
US7856461B2 (en) High availability for distributed non-persistent event propagation
JP2015036991A (ja) 待ち時間低減パケット処理を備えたソケット管理
US20190266006A1 (en) Accelerator Loading Method, System, and Apparatus
US10742748B2 (en) System and method for supporting live addition of a tenant in a connection pool environment
US9390156B2 (en) Distributed directory environment using clustered LDAP servers
CN108566291A (zh) 一种事件处理的方法、服务器及系统
CN111126977A (zh) 一种区块链系统的交易处理方法
WO2021129327A1 (zh) 表项下发方法及装置、表项处理方法及装置
KR101956320B1 (ko) 트랜잭셔널 미들웨어 머신 환경에서 단일 포인트 병목을 방지하는 시스템 및 방법
WO2016101759A1 (zh) 一种数据路由方法、数据管理装置和分布式存储系统
US10637918B2 (en) Load balancing content delivery servers
CN109756490B (zh) 一种mdc实现方法及装置
US11290540B2 (en) System and method for use of server-side connection pool tagging in a multi-tenant environment
CN110290215B (zh) 一种信号传输方法及装置
JP4392343B2 (ja) メッセージ配布方法、待機系ノード装置およびプログラム
US10120897B2 (en) Interception of database queries for delegation to an in memory data grid
JP6919419B2 (ja) 通信装置、通信プログラム、および、通信方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20907049

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20907049

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 23/02/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20907049

Country of ref document: EP

Kind code of ref document: A1