DUP equipment message management method and device

文档序号:1834625 发布日期:2021-11-12 浏览:11次 中文

阅读说明:本技术 Dup设备消息管理方法及装置 (DUP equipment message management method and device ) 是由 莫志城 于 2021-09-02 设计创作,主要内容包括:本申请实施例提供一种DUP设备消息管理方法及装置,方法包括:通过所述主节点系统获取各系统的当前任务队列积压消息量,并根据所述各系统的当前任务队列积压消息量和设定任务执行时间确定所述各系统的目标消息消费速率;根据所述各系统的目标消息消费速率和设定令牌桶算法确定各系统对应的任务队列消息消费速率,并与DUP设备接口建立通信连接;根据所述各系统对应的任务队列消息消费速率将当前消息队列中经过非法字段替换和数据格式统一转换后的目标数据通过所述DUP设备接口发送至DUP设备;本申请能够有效调节系统与DPU接口之间的吞吐量,保障自身系统稳定性。(The embodiment of the application provides a DUP equipment message management method and a device, wherein the method comprises the following steps: acquiring the backlog message volume of the current task queue of each system through the master node system, and determining the target message consumption rate of each system according to the backlog message volume of the current task queue of each system and the set task execution time; determining the task queue message consumption rate corresponding to each system according to the target message consumption rate of each system and a set token bucket algorithm, and establishing communication connection with a DUP device interface; according to the task queue message consumption rate corresponding to each system, target data after illegal field replacement and data format unified conversion in the current message queue are sent to DUP equipment through the DUP equipment interface; the method and the device can effectively adjust the throughput between the system and the DPU interface, and ensure the stability of the system.)

1. A DUP device message management method, the method comprising:

determining a main node system from a distributed service architecture formed by different systems by setting election rules, acquiring the backlog message volume of the current task queue of each system by the main node system, and determining the target message consumption rate of each system according to the backlog message volume of the current task queue of each system and the set task execution time;

determining the task queue message consumption rate corresponding to each system according to the target message consumption rate of each system and a set token bucket algorithm, and establishing communication connection with a DUP device interface;

replacing illegal fields of target data in the current message queue of each system with corresponding legal fields according to a set pattern matching strategy and a regular matching strategy, and performing data format unified conversion on the target data according to a set structured data format;

and according to the message consumption rate of the task queue corresponding to each system, sending the target data subjected to illegal field replacement and data format unified conversion in the current message queue to DUP equipment through the DUP equipment interface.

2. The DUP device message management method according to claim 1, wherein the replacing of the illegal fields of the target data in the current message queue of each system with corresponding legal fields according to a set pattern matching policy and a regular matching policy further comprises:

determining a check field in the target data in the current message queue of each system and extracting the field to obtain a target check field;

and replacing illegal fields in the target check fields with corresponding legal fields according to a set pattern matching algorithm and a regular expression.

3. The DUP device message management method according to claim 1, wherein the sending, to the DUP device through the DUP device interface, target data in a current message queue after illegal field replacement and unified data format conversion according to the task queue message consumption rate corresponding to each system, further comprises:

performing service route marking on the route entry parameter of each system by setting a static configuration file;

and determining the communication routes corresponding to the DUP equipment and the systems according to the service route marks.

4. A DUP device message management apparatus, comprising:

the target message consumption rate determining module is used for determining a main node system from a distributed service architecture formed by different systems by setting election rules, acquiring the backlog message quantity of the current task queue of each system through the main node system, and determining the target message consumption rate of each system according to the backlog message quantity of the current task queue of each system and the set task execution time;

the DUP communication connection module is used for determining the task queue message consumption rate corresponding to each system according to the target message consumption rate of each system and a set token bucket algorithm and establishing communication connection with the DUP equipment interface;

the target data preprocessing module is used for replacing illegal fields of target data in the current message queues of all the systems with corresponding legal fields according to a set pattern matching strategy and a regular matching strategy and performing data format unified conversion on the target data according to a set structured data format;

and the target data sending module is used for sending the target data subjected to illegal field replacement and data format unified conversion in the current message queue to the DUP equipment through the DUP equipment interface according to the message consumption rate of the task queue corresponding to each system.

5. The DUP-device-message-management apparatus of claim 4, wherein the target-data-preprocessing module comprises:

a field extraction unit, configured to determine a check field in target data in a current message queue of each system, and perform field extraction to obtain a target check field;

and the field processing unit is used for replacing illegal fields in the target check fields with corresponding legal fields according to a set pattern matching algorithm and a regular expression.

6. The DUP device message management apparatus of claim 4, wherein the target data sending module comprises:

the routing marking unit is used for marking the service routing of the route entry of each system by setting a static configuration file;

and the routing determining unit is used for determining communication routing corresponding to the DUP equipment and each system according to the service routing marks.

7. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the steps of the DUP device message management method of any of claims 1 to 3 are implemented when the program is executed by the processor.

8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the DUP device message management method according to any one of claims 1 to 3.

Technical Field

The application relates to the field of DPU (dual port unit) equipment, in particular to a DUP (dual port protocol) equipment message management method and device.

Background

A Distribution Processing Unit (DPU) device refers to a device placed at a branch point (DP) node. The Network side is a passive optical Network (xPON)/ethernet uplink interface, and the user side is a VDSL2/g.fast Digital Subscriber Line (DSL) interface.

In the prior art, when different systems send messages to a DPU interface, an external request is unstable when the traffic is unstable, instant traffic spurs are easy to occur, and the external sending rate cannot be dynamically and automatically adjusted.

Disclosure of Invention

Aiming at the problems in the prior art, the application provides a DUP equipment message management method and device, which can effectively adjust the throughput between a system and a DPU interface and ensure the stability of the system.

In order to solve at least one of the above problems, the present application provides the following technical solutions:

in a first aspect, the present application provides a DUP device message management method, including:

determining a main node system from a distributed service architecture formed by different systems by setting election rules, acquiring the backlog message volume of the current task queue of each system by the main node system, and determining the target message consumption rate of each system according to the backlog message volume of the current task queue of each system and the set task execution time;

determining the task queue message consumption rate corresponding to each system according to the target message consumption rate of each system and a set token bucket algorithm, and establishing communication connection with a DUP device interface;

replacing illegal fields of target data in the current message queue of each system with corresponding legal fields according to a set pattern matching strategy and a regular matching strategy, and performing data format unified conversion on the target data according to a set structured data format;

and according to the message consumption rate of the task queue corresponding to each system, sending the target data subjected to illegal field replacement and data format unified conversion in the current message queue to DUP equipment through the DUP equipment interface.

Further, the replacing, according to the set pattern matching policy and the regular matching policy, the illegal field of the target data in the current message queue of each system with the corresponding legal field further includes:

determining a check field in the target data in the current message queue of each system and extracting the field to obtain a target check field;

and replacing illegal fields in the target check fields with corresponding legal fields according to a set pattern matching algorithm and a regular expression.

Further, the sending, according to the message consumption rate of the task queue corresponding to each system, the target data after the illegal field replacement and the unified data format conversion in the current message queue to the DUP device through the DUP device interface, further includes:

performing service route marking on the route entry parameter of each system by setting a static configuration file;

and determining the communication routes corresponding to the DUP equipment and the systems according to the service route marks.

In a second aspect, the present application provides a DUP device message management apparatus, including:

the target message consumption rate determining module is used for determining a main node system from a distributed service architecture formed by different systems by setting election rules, acquiring the backlog message quantity of the current task queue of each system through the main node system, and determining the target message consumption rate of each system according to the backlog message quantity of the current task queue of each system and the set task execution time;

the DUP communication connection module is used for determining the task queue message consumption rate corresponding to each system according to the target message consumption rate of each system and a set token bucket algorithm and establishing communication connection with the DUP equipment interface;

the target data preprocessing module is used for replacing illegal fields of target data in the current message queues of all the systems with corresponding legal fields according to a set pattern matching strategy and a regular matching strategy and performing data format unified conversion on the target data according to a set structured data format;

and the target data sending module is used for sending the target data subjected to illegal field replacement and data format unified conversion in the current message queue to the DUP equipment through the DUP equipment interface according to the message consumption rate of the task queue corresponding to each system.

Further, the target data preprocessing module comprises:

a field extraction unit, configured to determine a check field in target data in a current message queue of each system, and perform field extraction to obtain a target check field;

and the field processing unit is used for replacing illegal fields in the target check fields with corresponding legal fields according to a set pattern matching algorithm and a regular expression.

Further, the target data sending module comprises:

the routing marking unit is used for marking the service routing of the route entry of each system by setting a static configuration file;

and the routing determining unit is used for determining communication routing corresponding to the DUP equipment and each system according to the service routing marks.

In a third aspect, the present application provides an electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the DUP device message management method when executing the program.

In a fourth aspect, the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the DUP device message management method.

According to the technical scheme, the DUP equipment message management method and device can guarantee the stability of the system by adjusting the throughput between the system and the DPU interface.

Drawings

In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.

FIG. 1 is a flow diagram illustrating a DUP device message management method according to an embodiment of the present application;

FIG. 2 is a second flowchart of a DUP device message management method according to an embodiment of the present application;

FIG. 3 is a third flowchart illustrating a DUP device message management method according to an embodiment of the present application;

FIG. 4 is one of the block diagrams of a DUP device message management apparatus in an embodiment of the present application;

FIG. 5 is a second block diagram of a DUP device message management apparatus according to an embodiment of the present application;

FIG. 6 is a third block diagram of a DUP device message management apparatus in an embodiment of the present application;

fig. 7 is a schematic structural diagram of an electronic device in an embodiment of the present application.

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

In consideration of the problems that in the prior art, when different systems send messages to a DPU interface, an external request is unstable when the traffic is unstable, instant traffic spurs are easy to occur, and the external sending rate cannot be dynamically and automatically adjusted, the application provides a DUP equipment message management method and device, and the stability of the system per se is guaranteed by adjusting the throughput between the system and the DPU interface.

In order to effectively adjust throughput between a system and a DPU interface and guarantee system stability, the present application provides an embodiment of a DUP device message management method, and referring to fig. 1, the DUP device message management method specifically includes the following contents:

step S101: determining a main node system from a distributed service architecture formed by different systems by setting election rules, acquiring the backlog message volume of the current task queue of each system by the main node system, and determining the target message consumption rate of each system according to the backlog message volume of the current task queue of each system and the set task execution time.

Optionally, the master node system may be determined from a distributed service architecture formed by different systems by setting an election rule or an election policy (for example, the current computing power in all systems is the largest, and the current idle computing resources in all systems are the largest), and since all systems already form a distributed service architecture, the master node system may obtain the current task queue backlog message volume of each system through the distributed service architecture.

Specifically, the set distributed service architecture may be a zookeeper framework, the data volume of backlogged messages of current task queues (MQ) of each system is counted through a election mechanism of the zookeeper, and meanwhile, each system is registered in the zookeeper, so that a master node system in the zookeeper framework can dynamically sense the current traffic volume (i.e., the backlogged message volume of the current task queues) of each system, and a target message consumption rate of each system is obtained through dynamic calculation in combination with the number of system nodes and a preset task execution time, so that the overall external stable issuing rate of the multiple systems is ensured.

Step S102: and determining the task queue message consumption rate corresponding to each system according to the target message consumption rate of each system and a set token bucket algorithm, and establishing communication connection with the DUP equipment interface.

Optionally, in the present application, each system may control a corresponding task queue message consumption rate through a token bucket algorithm, a master node system of a distributed service architecture may issue a target message consumption rate of each system node from a current system in real time through a zookeeper, and after obtaining the target message consumption rate, each system node may control a corresponding message queue consumption rate through the token bucket algorithm, and finally, a plurality of systems are kept at a stable issue rate to a downstream system, and meanwhile, a communication connection is established with a DUP device interface.

Step S103: and replacing illegal fields of the target data in the current message queue of each system with corresponding legal fields according to a set pattern matching strategy and a regular matching strategy, and performing data format unified conversion on the target data according to a set structured data format.

Optionally, according to the present application, according to a preset pattern matching rule and a regular matching rule, replacing an illegal field in target data in a current message queue of each system with a corresponding legal field, so as to obtain target data after an illegal character cleaning and filtering operation.

In a specific embodiment, the method can identify the check fields in the current message queue of each system and extract the fields to obtain the target check fields and the fields possibly having illegal characters, and then converts or replaces meaningless illegal characters into corresponding legal characters according to a set pattern matching algorithm and a regular expression so as to protect the integrity and accuracy of the data entries in the conversion process.

Optionally, the application may also perform unified data format conversion on the target data of different systems according to a set structured data format, so as to ensure high efficiency of the implementation process when preprocessing a large amount of target data.

Step S104: and according to the message consumption rate of the task queue corresponding to each system, sending the target data subjected to illegal field replacement and data format unified conversion in the current message queue to DUP equipment through the DUP equipment interface.

As can be seen from the above description, the DUP device message management method provided in the embodiment of the present application can guarantee the system stability of the DUP device by adjusting the throughput between the system and the DPU interface.

In an embodiment of the DUP device message management method in the present application, referring to fig. 2, the following may be further included:

step S201: determining a check field in the target data in the current message queue of each system and extracting the field to obtain a target check field;

step S202: and replacing illegal fields in the target check fields with corresponding legal fields according to a set pattern matching algorithm and a regular expression.

Optionally, according to the present application, according to a preset pattern matching rule and a regular matching rule, replacing an illegal field in target data in a current message queue of each system with a corresponding legal field, so as to obtain target data after an illegal character cleaning and filtering operation.

In a specific embodiment, the method can identify the check fields in the current message queue of each system and extract the fields to obtain the target check fields and the fields possibly having illegal characters, and then converts or replaces meaningless illegal characters into corresponding legal characters according to a set pattern matching algorithm and a regular expression so as to protect the integrity and accuracy of the data entries in the conversion process.

In an embodiment of the DUP device message management method in the present application, referring to fig. 3, the following may be further included:

step S301: performing service route marking on the route entry parameter of each system by setting a static configuration file;

step S302: and determining the communication routes corresponding to the DUP equipment and the systems according to the service route marks.

Optionally, assuming that a system service is a1 and another system is a2, the DPU interface in the present application is consistent with a1 and a2 in the communication protocol and message interface layer, when the a1 and a2 services access the DPU interface through a channel, a service routing mark may be performed on a single or multiple route access parameters through static configuration file configuration (white list, proportional module access, etc.), and finally, a service routing decision is performed according to the routing mark to accurately send processed target data in the current task queue of each system to the DPU interface.

The method specifically comprises the following steps: the A1 service is shunted by a white list mode, the route label in the white list is transferred to a target DPU interface, the route label of a non-white list is transferred to other DPU interfaces, or the route label in the white list is transferred to a first memory of the target DPU interface, the route label of the non-white list is transferred to a second memory of the target DPU interface, and the route function can combine other screening classification parameters to perform route classification label according to the requirement.

In order to effectively adjust throughput between a system and a DPU interface and guarantee system stability, the present application provides an embodiment of a DUP device message management apparatus for implementing all or part of contents of the DUP device message management method, and referring to fig. 4, the DUP device message management apparatus specifically includes the following contents:

a target message consumption rate determining module 10, configured to determine a master node system from a distributed service architecture formed by different systems by setting election rules, obtain a current task queue backlog message volume of each system through the master node system, and determine a target message consumption rate of each system according to the current task queue backlog message volume of each system and a set task execution time;

the DUP communication connection module 20 is used for determining the task queue message consumption rate corresponding to each system according to the target message consumption rate of each system and a set token bucket algorithm, and establishing communication connection with the DUP equipment interface;

the target data preprocessing module 30 is configured to replace illegal fields of target data in the current message queue of each system with corresponding legal fields according to a set pattern matching policy and a regular matching policy, and perform unified data format conversion on the target data according to a set structured data format;

and the target data sending module 40 is configured to send the target data after illegal field replacement and unified data format conversion in the current message queue to the DUP device through the DUP device interface according to the message consumption rate of the task queue corresponding to each system.

As can be seen from the above description, the DUP device message management apparatus provided in the embodiment of the present application can guarantee the system stability of the DUP device by adjusting the throughput between the system and the DPU interface.

In an embodiment of the DUP device message management apparatus of the present application, referring to fig. 5, the target data preprocessing module 30 includes:

a field extracting unit 31, configured to determine a check field in the target data in the current message queue of each system, and perform field extraction to obtain a target check field;

and the field processing unit 32 is configured to replace an illegal field in the target verification field with a corresponding legal field according to a set pattern matching algorithm and a regular expression.

In an embodiment of the DUP device message management apparatus of the present application, referring to fig. 6, the target data sending module 40 includes:

a route marking unit 41, configured to mark a service route for the route entry of each system by setting a static configuration file;

and a routing determining unit 42, configured to determine, according to the service routing flag, a communication routing corresponding to the DUP device for each system.

In terms of hardware, in order to effectively adjust throughput between a system and a DPU interface and guarantee system stability of the electronic device, the present application provides an embodiment of an electronic device for implementing all or part of contents in the DUP device message management method, where the electronic device specifically includes the following contents:

a processor (processor), a memory (memory), a communication Interface (Communications Interface), and a bus; the processor, the memory and the communication interface complete mutual communication through the bus; the communication interface is used for realizing information transmission between the DUP equipment message management device and relevant equipment such as a core service system, a user terminal, a relevant database and the like; the logic controller may be a desktop computer, a tablet computer, a mobile terminal, and the like, but the embodiment is not limited thereto. In this embodiment, the logic controller may refer to an embodiment of the DUP device message management method and an embodiment of the DUP device message management apparatus in the embodiments for implementation, and the contents thereof are incorporated herein, and repeated details are not repeated.

It is understood that the user terminal may include a smart phone, a tablet electronic device, a network set-top box, a portable computer, a desktop computer, a Personal Digital Assistant (PDA), an in-vehicle device, a smart wearable device, and the like. Wherein, intelligence wearing equipment can include intelligent glasses, intelligent wrist-watch, intelligent bracelet etc..

In practical applications, part of the DUP device message management method may be performed on the electronic device side as described above, or all operations may be performed in the client device. The selection may be specifically performed according to the processing capability of the client device, the limitation of the user usage scenario, and the like. This is not a limitation of the present application. The client device may further include a processor if all operations are performed in the client device.

The client device may have a communication module (i.e., a communication unit), and may be communicatively connected to a remote server to implement data transmission with the server. The server may include a server on the task scheduling center side, and in other implementation scenarios, the server may also include a server on an intermediate platform, for example, a server on a third-party server platform that is communicatively linked to the task scheduling center server. The server may include a single computer device, or may include a server cluster formed by a plurality of servers, or a server structure of a distributed apparatus.

Fig. 7 is a schematic block diagram of a system configuration of an electronic device 9600 according to an embodiment of the present application. As shown in fig. 7, the electronic device 9600 can include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. Notably, this fig. 7 is exemplary; other types of structures may also be used in addition to or in place of the structure to implement telecommunications or other functions.

In an embodiment, DUP device message management method functions may be integrated into central processor 9100. The central processor 9100 may be configured to control as follows:

step S101: determining a main node system from a distributed service architecture formed by different systems by setting election rules, acquiring the backlog message volume of the current task queue of each system by the main node system, and determining the target message consumption rate of each system according to the backlog message volume of the current task queue of each system and the set task execution time.

Step S102: and determining the task queue message consumption rate corresponding to each system according to the target message consumption rate of each system and a set token bucket algorithm, and establishing communication connection with the DUP equipment interface.

Step S103: and replacing illegal fields of the target data in the current message queue of each system with corresponding legal fields according to a set pattern matching strategy and a regular matching strategy, and performing data format unified conversion on the target data according to a set structured data format.

Step S104: and according to the message consumption rate of the task queue corresponding to each system, sending the target data subjected to illegal field replacement and data format unified conversion in the current message queue to DUP equipment through the DUP equipment interface.

As can be seen from the above description, the electronic device provided in the embodiment of the present application guarantees system stability of the electronic device by adjusting throughput between the system and the DPU interface.

In another embodiment, the DUP device message management apparatus may be configured separately from the central processor 9100, for example, the DUP device message management apparatus may be configured as a chip connected to the central processor 9100, and the DUP device message management method function is realized by the control of the central processor.

As shown in fig. 7, the electronic device 9600 may further include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is noted that the electronic device 9600 also does not necessarily include all of the components shown in fig. 7; further, the electronic device 9600 may further include components not shown in fig. 7, which may be referred to in the art.

As shown in fig. 7, a central processor 9100, sometimes referred to as a controller or operational control, can include a microprocessor or other processor device and/or logic device, which central processor 9100 receives input and controls the operation of the various components of the electronic device 9600.

The memory 9140 can be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information relating to the failure may be stored, and a program for executing the information may be stored. And the central processing unit 9100 can execute the program stored in the memory 9140 to realize information storage or processing, or the like.

The input unit 9120 provides input to the central processor 9100. The input unit 9120 is, for example, a key or a touch input device. Power supply 9170 is used to provide power to electronic device 9600. The display 9160 is used for displaying display objects such as images and characters. The display may be, for example, an LCD display, but is not limited thereto.

The memory 9140 can be a solid state memory, e.g., Read Only Memory (ROM), Random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes called an EPROM or the like. The memory 9140 could also be some other type of device. Memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application/function storage portion 9142, the application/function storage portion 9142 being used for storing application programs and function programs or for executing a flow of operations of the electronic device 9600 by the central processor 9100.

The memory 9140 can also include a data store 9143, the data store 9143 being used to store data, such as contacts, digital data, pictures, sounds, and/or any other data used by an electronic device. The driver storage portion 9144 of the memory 9140 may include various drivers for the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging applications, contact book applications, etc.).

The communication module 9110 is a transmitter/receiver 9110 that transmits and receives signals via an antenna 9111. The communication module (transmitter/receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as in the case of a conventional mobile communication terminal.

Based on different communication technologies, a plurality of communication modules 9110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, may be provided in the same electronic device. The communication module (transmitter/receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide audio output via the speaker 9131 and receive audio input from the microphone 9132, thereby implementing ordinary telecommunications functions. The audio processor 9130 may include any suitable buffers, decoders, amplifiers and so forth. In addition, the audio processor 9130 is also coupled to the central processor 9100, thereby enabling recording locally through the microphone 9132 and enabling locally stored sounds to be played through the speaker 9131.

An embodiment of the present application further provides a computer-readable storage medium capable of implementing all steps in the DUP device message management method with a server or a client as an execution subject in the foregoing embodiment, where the computer-readable storage medium stores a computer program thereon, and when the computer program is executed by a processor, the computer program implements all steps of the DUP device message management method with a server or a client as an execution subject in the foregoing embodiment, for example, when the processor executes the computer program, the processor implements the following steps:

step S101: determining a main node system from a distributed service architecture formed by different systems by setting election rules, acquiring the backlog message volume of the current task queue of each system by the main node system, and determining the target message consumption rate of each system according to the backlog message volume of the current task queue of each system and the set task execution time.

Step S102: and determining the task queue message consumption rate corresponding to each system according to the target message consumption rate of each system and a set token bucket algorithm, and establishing communication connection with the DUP equipment interface.

Step S103: and replacing illegal fields of the target data in the current message queue of each system with corresponding legal fields according to a set pattern matching strategy and a regular matching strategy, and performing data format unified conversion on the target data according to a set structured data format.

Step S104: and according to the message consumption rate of the task queue corresponding to each system, sending the target data subjected to illegal field replacement and data format unified conversion in the current message queue to DUP equipment through the DUP equipment interface.

As can be seen from the foregoing description, the computer-readable storage medium provided in the embodiments of the present application guarantees system stability of the computer system by adjusting throughput between the computer system and the DPU interface.

As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.

The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种服务降级方法及终端

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!