CN116541084B - Method, device, equipment and medium for controlling drive loading of compressor driver - Google Patents

Method, device, equipment and medium for controlling drive loading of compressor driver Download PDF

Info

Publication number
CN116541084B
CN116541084B CN202310782604.5A CN202310782604A CN116541084B CN 116541084 B CN116541084 B CN 116541084B CN 202310782604 A CN202310782604 A CN 202310782604A CN 116541084 B CN116541084 B CN 116541084B
Authority
CN
China
Prior art keywords
loading
adapter plate
adjustment
feedback information
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310782604.5A
Other languages
Chinese (zh)
Other versions
CN116541084A (en
Inventor
邓超
曾泳波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Aiwei Electrical Technology Co ltd
Original Assignee
Shenzhen Aiwei Electrical Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Aiwei Electrical Technology Co ltd filed Critical Shenzhen Aiwei Electrical Technology Co ltd
Priority to CN202310782604.5A priority Critical patent/CN116541084B/en
Publication of CN116541084A publication Critical patent/CN116541084A/en
Application granted granted Critical
Publication of CN116541084B publication Critical patent/CN116541084B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention discloses a method, a device, equipment and a medium for controlling the drive loading of a compressor driver, wherein the method comprises the following steps: receiving an input loading instruction, and carrying out segmentation processing on a pre-stored driver file corresponding to the loading instruction according to segmentation rules to obtain a plurality of corresponding program segments; sequentially transmitting each program segment to each adapter plate so as to load the program segments into corresponding drivers through the adapter plates; receiving loading feedback information fed back by each adapter plate and generating loading adjustment instructions matched with each adapter plate according to instruction generation rules and loading feedback information corresponding to each adapter plate; and respectively sending the loading adjustment instructions to the corresponding adapter plates, and returning to the step of executing the loading feedback information fed back by each adapter plate. According to the method, the loading adjustment instruction can be generated according to the loading feedback information, so that each adapter plate can adjust the loading rate of the driver according to the loading adjustment instruction, the driver can synchronously complete loading, and the loading efficiency of the driving program is improved.

Description

Method, device, equipment and medium for controlling drive loading of compressor driver
Technical Field
The present invention relates to the field of drive loading technologies, and in particular, to a method, an apparatus, a device, and a medium for controlling drive loading of a compressor driver.
Background
The electric appliance is generally provided with a driver, and the electric appliance is efficiently and accurately controlled by a signal sent out by the driver, for example, the driver can be arranged on the compressor so as to drive and control the compressor through the driver. The driver needs to be loaded with a corresponding driver, so that the driver needs to be loaded into the driver before the driver is loaded, and in the conventional technical method, a loading control terminal is usually connected with a plurality of adapter plates in a wired manner, and each adapter plate is connected with a plurality of drivers in a wired manner respectively, so that the capacity of using the loading control terminal is maximized, however, due to fluctuation of data transmission rate in the loading process, the drivers bridged with the loading control terminal cannot be controlled to complete loading of the driver simultaneously in the conventional technical method. The same batch of drivers connected with each adapter plate needs to complete loading of the drivers at the same time to replace the drivers of the next batch of drivers not loaded with the drivers, and if the loading rate of the drivers connected with part of the adapter plates is slower, the loading efficiency of the whole batch of drivers on the drivers is affected. Therefore, in the prior art method, when the driver is loaded on the batch driver through the adapter plate, the problem of low loading efficiency exists.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a medium for controlling the driving and loading of a compressor driver, which aim to solve the problem of lower loading efficiency when a batch driver is loaded with a driving program through an adapter plate in the prior art.
In a first aspect, an embodiment of the present invention provides a method for controlling driving and loading of a compressor driver, where the method is applied to a loading control terminal, where the loading control terminal is simultaneously connected to a plurality of adapter plates to implement transmission of data information, and each adapter plate is respectively connected to at least one driver, and the method includes:
receiving an input loading instruction, and carrying out segmentation processing on a pre-stored driver file corresponding to the loading instruction according to a preset segmentation rule to obtain a plurality of corresponding program segments;
sequentially transmitting each program segment to each adapter plate so as to load the corresponding program segment into a corresponding driver through the adapter plate;
receiving loading feedback information fed back by each adapter plate, and generating loading adjustment instructions matched with each adapter plate according to preset instruction generation rules and loading feedback information corresponding to each adapter plate;
and respectively sending loading adjustment instructions corresponding to the adapter plates so that the adapter plates can adjust the loading rate of the driver according to the loading adjustment instructions, and returning to execute the step of receiving loading feedback information fed back by the adapter plates.
In a second aspect, an embodiment of the present invention further provides a driving and loading control device for a compressor driver, where the device is configured in a loading control terminal, where the device applies the driving and loading control method for a compressor driver according to the first aspect, and the loading control terminal is connected to a plurality of adapter plates at the same time to implement transmission of data information, where each adapter plate is connected to at least one driver respectively, and the device includes:
the driver file segmentation unit is used for receiving an input loading instruction, and carrying out segmentation processing on a pre-stored driver file corresponding to the loading instruction according to a preset segmentation rule to obtain a plurality of corresponding program segments;
the program segment output unit is used for sequentially transmitting each program segment to each adapter plate so as to load the corresponding program segment into the corresponding driver through the adapter plate;
the loading adjustment instruction generation unit is used for receiving loading feedback information fed back by each adapter plate and generating loading adjustment instructions matched with each adapter plate according to preset instruction generation rules and loading feedback information corresponding to each adapter plate;
and the loading adjustment instruction sending unit is used for respectively sending loading adjustment instructions corresponding to the adapter plates so that the adapter plates can adjust the loading rate of the driver according to the loading adjustment instructions, and the step of receiving loading feedback information fed back by the adapter plates is performed.
In a third aspect, an embodiment of the present invention further provides a computer device, where the device includes a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and a processor for implementing the step of driving loading control of the compressor driver according to the first aspect when executing the program stored in the memory.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the drive loading control of the compressor driver as described in the first aspect above.
The embodiment of the invention provides a method, a device, equipment and a medium for controlling the drive loading of a compressor driver, wherein the method comprises the following steps: receiving an input loading instruction, and carrying out segmentation processing on a pre-stored driver file corresponding to the loading instruction according to segmentation rules to obtain a plurality of corresponding program segments; sequentially transmitting each program segment to each adapter plate so as to load the program segments into corresponding drivers through the adapter plates; receiving loading feedback information fed back by each adapter plate and generating loading adjustment instructions matched with each adapter plate according to instruction generation rules and loading feedback information corresponding to each adapter plate; and respectively sending the loading adjustment instructions corresponding to the adapter plates to each adapter plate, and returning to the step of executing the loading feedback information fed back by each adapter plate so that each adapter plate adjusts the loading of the program files in the subsequent program section according to the loading adjustment instructions. According to the driving loading control method of the compressor driver, the loading adjustment instruction can be generated according to the loading feedback information, so that each adapter plate can adjust the loading rate of the driver according to the loading adjustment instruction, each driver can synchronously complete loading of the driver, and the efficiency of the driver for loading the driver is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for controlling the drive load of a compressor driver according to an embodiment of the present invention;
fig. 2 is a schematic view of an application scenario of a method for controlling driving loading of a compressor driver according to an embodiment of the present invention;
FIG. 3 is a schematic block diagram of a drive load control device for a compressor driver provided in an embodiment of the present invention;
fig. 4 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Referring to fig. 1 and 2, as shown in the drawings, an embodiment of the present invention provides a method for controlling driving and loading of a compressor driver, where the method for controlling driving and loading of a compressor driver is applied to a loading control terminal 10, and the loading control terminal 10 is simultaneously connected with a plurality of adapter plates 20 to realize transmission of data information, each adapter plate 20 is also connected with at least one driver 30, and the loading control terminal 10 is a terminal device for sending program segments to the adapter plates 20 to realize loading control of each adapter plate 20, such as a desktop computer, a notebook computer, a tablet computer or a mobile phone; the driver 30 is a terminal device for loading the driver segments, such as a compressor driver; the adapter board 20 is used for connecting with the loading control terminal 10 and the drivers 30 to synchronously load the received driver segments to the terminal equipment of each driver 30, such as a circuit control board with an MCU chip and a plurality of connection ports. As shown in FIG. 1, the method includes steps S110 to S140.
S110, receiving an input loading instruction, and carrying out segmentation processing on a pre-stored driver file corresponding to the loading instruction according to a preset segmentation rule to obtain a plurality of corresponding program segments.
And receiving an input loading instruction, and carrying out segmentation processing on a pre-stored driver file corresponding to the loading instruction according to a preset segmentation rule to obtain a plurality of corresponding program segments. The loading control terminal can receive a loading instruction input by a user, and acquire a file matched with the loading instruction from files prestored in the loading control terminal according to the loading instruction as a prestored driver file, wherein the prestored driver file matched with the loading instruction can comprise one or more program files. Further, the pre-stored driver files may be segmented, where the pre-stored driver files may be segmented by a segmentation rule, and then each of the pre-stored driver files may be segmented into a plurality of program segments.
Specifically, the segmentation rule is specific rule information for segmenting the program file contained in the pre-stored driver file. The segmentation rule may include a segmentation calculation formula for calculating the number of segments, where the segmentation calculation formula may be represented by formula (1):
(1);
wherein p is the number of adapter plates connected with the loading control terminal, x is the number of program files contained in the pre-stored driver files, f is the calculated number of segments (integer value obtained by rounding based on the calculation result), and each program file contained in the pre-stored driver files can be respectively subjected to segment processing according to the obtained number of segments f, so that the number of finally obtained program segments is xxf.
And S120, sequentially transmitting each program segment to each adapter plate so as to load the corresponding program segment into a corresponding driver through the adapter plate.
And sequentially transmitting each program segment to each adapter plate so as to load the corresponding program segment into a corresponding driver through the adapter plate. According to the sorting of the split program segments, sequentially transmitting the program segments to the adapter plates connected with the loading control terminal, and after receiving the program segments, each adapter plate loads the corresponding program segments into drivers connected with the adapter plates respectively.
S130, receiving loading feedback information fed back by each adapter plate, and generating loading adjustment instructions matched with each adapter plate according to preset instruction generation rules and loading feedback information corresponding to each adapter plate.
And receiving loading feedback information fed back by each adapter plate, and generating loading adjustment instructions matched with each adapter plate according to preset instruction generation rules and loading feedback information corresponding to each adapter plate. In the process of loading the program segments, the adapter plate can generate corresponding loading feedback information according to the loading condition of each driver on the program segments, and feeds the generated loading feedback information back to the loading control terminal. After receiving the loading feedback information fed back by each adapter plate, the loading control terminal can comprehensively analyze the loading feedback information of each adapter plate, and generate a corresponding loading adjustment instruction according to analysis results and instruction generation rules, wherein the loading adjustment instruction is instruction information for adjusting the loading process of each adapter plate on a program section, and after receiving the loading adjustment instruction, the adapter plate can correspondingly adjust the loading process of the program section according to the loading adjustment instruction, so that the loading speeds of the adapter plates on the program section tend to be synchronous; that is, the loading rate of the drivers is adjusted according to the loading adjustment command so that each driver can synchronously complete the loading of the driver, thereby improving the efficiency of the drivers for loading the driver.
In a specific embodiment, step S130 specifically includes the following sub-steps: judging the loading feedback information according to the judging conditions in the instruction generation rule so as to determine a corresponding adjustment strategy; and generating a loading adjustment instruction corresponding to the adjustment strategy according to the loading feedback information corresponding to each adapter plate.
Specifically, the loading feedback information may be judged according to a judging condition in the instruction generating rule, that is, the judging condition is used for judging the loading feedback information fed back by each adapter plate, so as to determine an adjustment policy, where the determined adjustment policy may be acceleration adjustment, slow adjustment or non-adjustment. The loading adjustment instructions corresponding to the adjustment strategies can be generated according to the loading feedback information corresponding to the adapter plates, namely, the loading adjustment instructions corresponding to different adapter plates are different, and as the adapter plates are not required to be adjusted, namely, not all the adapter plates can receive the loading adjustment instructions; for the adapter plate which does not need to be adjusted, a loading adjustment instruction corresponding to the adapter plate does not need to be generated.
In a specific embodiment, the determining the loading feedback information according to the determining condition in the instruction generating rule to determine the corresponding adjustment policy includes: calculating the numerical value in the loading feedback information according to a strategy coefficient calculation formula in the judging condition to obtain a corresponding strategy coefficient; and matching the strategy coefficients with coefficient intervals of all strategies in the judging conditions, and acquiring the strategies with the coefficient intervals containing the strategy coefficients as corresponding adjustment strategies.
Firstly, calculating the numerical value in loading feedback information according to a strategy coefficient calculation formula in a judging condition, specifically, the loading feedback information fed back by each adapter plate comprises an average loading progress of drivers, an access quantity of the drivers and a transfer rate of the adapter plate, wherein the average loading progress of the drivers is an average value of the progress values of loading the same program section currently by each driver connected with the adapter plate, and the average loading progress is any numerical value between 0 and 100 percent; the drive access number is the number of drives connected with the adapter plate; the transfer rate of the patch panel, i.e., the overall rate value at which the patch panel loads the program segments to each drive. The policy coefficient calculation formula may be as shown in formula (2):
(2);
wherein C is the calculated strategy coefficient, p is the number of adapter plates connected with the loading control terminal, S f For the peak value of the transfer rate of the adapter plate, S i For the transfer rate of the i-th transfer plate, S 0 For the transfer rate average of the adapter plate, JMax is the maximum value of the average loading progress of the drive, JMin is the minimum value of the average loading progress of the drive, J 0 Is the average of the average loading progress of the drive.
The judgment condition comprises a plurality of strategies, each strategy corresponds to a coefficient interval, and whether the strategy coefficient is positioned in the coefficient interval of a certain strategy can be judged, so that the strategy with the strategy coefficient positioned in the coefficient interval is determined to be a corresponding adjustment strategy. If the adjustment strategy is not adjusted, the target adapter plate is not required to be determined and a loading adjustment instruction is generated, namely, the subsequent steps are not required to be executed; if the adjustment strategy is acceleration adjustment or deceleration adjustment, the subsequent steps are correspondingly executed, and corresponding loading adjustment instructions are generated.
In a specific embodiment, the generating, according to the loading feedback information corresponding to each adapter board, a loading adjustment instruction corresponding to the adjustment policy includes: calculating a rate coefficient corresponding to the loading feedback information of each adapter plate according to a rate coefficient calculation formula in the instruction generation rule; determining an adapter plate matched with the adjustment strategy as a target adapter plate; and generating a corresponding loading adjustment instruction according to the corresponding rate coefficient of the target adapter plate.
Further, a rate coefficient corresponding to the loading feedback information of each adapter plate can be calculated according to a rate coefficient calculation formula in the instruction generation rule, a part of the adapter plates are determined to be used as target adapter plates through an adjustment strategy, and a corresponding loading adjustment instruction is generated according to the rate coefficient of the target adapter plates. The rate coefficient calculation formula can be represented by a formula (3):
(3);
wherein r is i For the calculated rate coefficient of the ith adapter plate, S i For the transfer rate of the i-th transfer plate, S 0 For the average value of the transfer rates of the adapter plates, ji is the average loading progress of the drivers of the ith adapter plate, J 0 And m is the number of the drivers connected with the ith adapter plate, which is the average value of the average loading progress of the drivers.
Further, the matched adapter plates are obtained according to the adjustment strategy, if the adjustment strategy is acceleration adjustment, a plurality of adapter plates with the drivers being sequenced in average loading progress are obtained as target adapter plates matched with the adjustment strategy, and the number of the target adapter plates can beRounding; if the adjustment strategy is to slow down the adjustment, a plurality of adapter plates with the front average loading progress sequence of the driver are obtained as target adapter plates matched with the adjustment strategy, wherein the number of the target adapter plates can be +.>And (5) rounding.
And respectively generating loading adjustment instructions corresponding to the target adapter plates according to the rate coefficients, wherein the loading adjustment instructions at least comprise the rate coefficients.
And S140, respectively sending loading adjustment instructions corresponding to the adapter plates so that the adapter plates can adjust the loading rate of the driver according to the loading adjustment instructions, and returning to execute the step of receiving loading feedback information fed back by the adapter plates.
And respectively sending loading adjustment instructions corresponding to the adapter plates so that the adapter plates can adjust the loading rate of the driver according to the loading adjustment instructions, and returning to execute the step of receiving loading feedback information fed back by the adapter plates. And the loading control terminal respectively sends the generated loading adjustment instructions to the corresponding adapter plates, so that each target adapter plate receiving the loading adjustment instructions can adjust the loading rate according to the loading adjustment instructions, specifically, the adapter plates can multiply the current transfer rate of the adapter plates with the rate coefficient in the loading adjustment instructions, the product result is used as a new transfer rate of the adapter plates, and the adapter plates are configured, so that the adapter plates can adjust the loading rate of the driver according to the loading adjustment instructions. After the target adapter plates receiving the loading adjustment instruction adjust the loading rate, loading the program segments based on the adjusted transfer rate of the adapter plates, and returning to execute the step of receiving the loading feedback information fed back by the adapter plates, that is, returning to execute the step S130 until the program segments obtained by segmentation are loaded into the batch driver. The method realizes the adjustment of the loading rate of the adapter plates, so that the loading progress of program segments of each adapter plate is synchronized as much as possible, and the problem that the loading efficiency is affected due to the fact that the drivers in the same batch cannot synchronously complete the loading of the drivers is avoided.
In a specific embodiment, step S140 further includes the following steps: judging whether instruction receiving feedback information fed back by each adapter plate receiving the loading adjustment instruction is acquired within preset acquisition time; if feedback information is not received in the preset acquisition time, the loading adjustment instruction corresponding to the adapter plate which does not send the instruction receiving feedback information is sent to the adapter plate again.
Further, after the loading adjustment instruction is sent, whether instruction receiving feedback information fed back by the corresponding adapter plate is received within a preset acquisition time can be judged, wherein the instruction receiving feedback information is generated after the adapter plate adjusts the loading rate according to the loading adjustment instruction, and the instruction receiving feedback information can be generated and sent after the loading rate adjustment is performed by the adapter plate. If the adapter plates which need to receive the loading adjustment instruction all feed back the instruction receiving feedback information, the adapter plates indicate that the loading rate of each adapter plate is adjusted according to the loading adjustment instruction, and the subsequent steps are continuously executed. If the instruction receiving feedback information fed back by a certain adapter plate which needs to receive the loading adjustment instruction is not obtained within the preset obtaining time, the loading adjustment instruction corresponding to the adapter plate which does not send the instruction receiving feedback information is sent to the adapter plate again, and the purpose of speed adjustment on each target adapter plate is achieved by sending the loading adjustment instruction again.
According to the driving loading control method of the compressor driver, which is provided by the embodiment of the invention, an input loading instruction is received, and a pre-stored driving program file corresponding to the loading instruction is subjected to segmentation processing according to segmentation rules, so that a plurality of corresponding program segments are obtained; sequentially transmitting each program segment to each adapter plate so as to load the program segments into corresponding drivers through the adapter plates; receiving loading feedback information fed back by each adapter plate and generating loading adjustment instructions matched with each adapter plate according to instruction generation rules and loading feedback information corresponding to each adapter plate; and respectively sending the loading adjustment instructions corresponding to the adapter plates to each adapter plate, and returning to the step of executing the loading feedback information fed back by each adapter plate so that each adapter plate adjusts the loading of the program files in the subsequent program section according to the loading adjustment instructions. According to the driving loading control method of the compressor driver, the loading adjustment instruction can be generated according to the loading feedback information, so that each adapter plate can adjust the loading rate of the driver according to the loading adjustment instruction, each driver can synchronously complete loading of the driver, and the efficiency of the driver for loading the driver is improved.
The embodiment of the present invention further provides a driving load control device of a compressor driver, which is configured in the load control terminal 10, and the driving load control device of the compressor driver is used for executing any embodiment of the driving load control method of the compressor driver. Specifically, referring to fig. 3, fig. 3 is a schematic block diagram of a driving load control device of a compressor driver according to an embodiment of the present invention.
As shown in fig. 3, the drive load control device 100 of the compressor driver includes a driver file segmenting unit 110, a program segment outputting unit 120, a load adjustment instruction generating unit 130, and a load adjustment instruction transmitting unit 140.
The driver file segmenting unit 110 is configured to receive an input loading instruction, segment a pre-stored driver file corresponding to the loading instruction according to a preset segmentation rule, and obtain a plurality of corresponding program segments.
And the program segment output unit 120 is configured to sequentially transmit each program segment to each patch panel, so that the corresponding program segment is loaded into the corresponding driver through the patch panel.
The load adjustment instruction generating unit 130 is configured to receive load feedback information fed back by each of the patch panels, and generate a load adjustment instruction matched with each of the patch panels according to a preset instruction generating rule and load feedback information corresponding to each of the patch panels.
And the load adjustment instruction sending unit 140 is configured to send load adjustment instructions corresponding to the patch panels respectively, so that the patch panels adjust the load rate of the driver according to the load adjustment instructions, and return to executing the step of receiving the load feedback information fed back by the patch panels.
The driving and loading control device of the compressor driver provided by the embodiment of the invention is applied to the driving and loading control method of the compressor driver, receives an input loading instruction and performs segmentation processing on a pre-stored driving program file corresponding to the loading instruction according to segmentation rules to obtain a plurality of corresponding program segments; sequentially transmitting each program segment to each adapter plate so as to load the program segments into corresponding drivers through the adapter plates; receiving loading feedback information fed back by each adapter plate and generating loading adjustment instructions matched with each adapter plate according to instruction generation rules and loading feedback information corresponding to each adapter plate; and respectively sending the loading adjustment instructions corresponding to the adapter plates to each adapter plate, and returning to the step of executing the loading feedback information fed back by each adapter plate so that each adapter plate adjusts the loading of the program files in the subsequent program section according to the loading adjustment instructions. According to the driving loading control method of the compressor driver, the loading adjustment instruction can be generated according to the loading feedback information, so that each adapter plate can adjust the loading rate of the driver according to the loading adjustment instruction, each driver can synchronously complete loading of the driver, and the efficiency of the driver for loading the driver is improved.
The drive load control device of the compressor drive described above may be implemented in the form of a computer program which can be run on a computer device as shown in fig. 4.
Referring to fig. 4, fig. 4 is a schematic block diagram of a computer device according to an embodiment of the present invention. The computer apparatus may be a loading control terminal for performing a driving loading control method of the compressor driver to implement loading control of each of the adapter plates.
Referring to fig. 4, the computer device 500 includes a processor 502, a memory, and a network interface 505, which are connected by a communication bus 501, wherein the memory may include a storage medium 503 and an internal memory 504.
The storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032, when executed, causes the processor 502 to execute a method for controlling the drive loading of a compressor driver, wherein the storage medium 503 may be a volatile storage medium or a nonvolatile storage medium.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the execution of a computer program 5032 in the storage medium 503, which computer program 5032, when executed by the processor 502, causes the processor 502 to perform a method of controlling the drive loading of a compressor drive.
The network interface 505 is used for network communication, such as providing for transmission of data information, etc. It will be appreciated by those skilled in the art that the architecture shown in fig. 4 is merely a block diagram of some of the architecture relevant to the present inventive arrangements and is not limiting of the computer device 500 to which the present inventive arrangements may be implemented, and that a particular computer device 500 may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
The processor 502 is configured to execute a computer program 5032 stored in a memory, so as to implement the corresponding functions in the method for controlling the loading of the compressor driver.
Those skilled in the art will appreciate that the embodiment of the computer device shown in fig. 4 is not limiting of the specific construction of the computer device, and in other embodiments, the computer device may include more or less components than those shown, or certain components may be combined, or a different arrangement of components. For example, in some embodiments, the computer device may include only a memory and a processor, and in such embodiments, the structure and function of the memory and the processor are consistent with the embodiment shown in fig. 4, and will not be described again.
It should be appreciated that in an embodiment of the invention, the processor 502 may be a central processing unit (Central Processing Unit, CPU), the processor 502 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSPs), application specific integrated circuits (Application Specific Integrated Circuit, ASICs), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In another embodiment of the invention, a computer-readable storage medium is provided. The computer readable storage medium may be a volatile or nonvolatile computer readable storage medium. The computer readable storage medium stores a computer program which, when executed by a processor, implements the steps included in the above-described method for controlling the drive loading of a compressor driver.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus, device and unit described above may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein. Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the units is merely a logical function division, there may be another division manner in actual implementation, or units having the same function may be integrated into one unit, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices, or elements, or may be an electrical, mechanical, or other form of connection.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment of the present invention.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention is essentially or part of what contributes to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a computer-readable storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned computer-readable storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (6)

1. The method is applied to a loading control terminal, the loading control terminal is simultaneously connected with a plurality of adapter plates to realize data information transmission, and each adapter plate is respectively connected with at least one driver, and the method comprises the following steps:
receiving an input loading instruction, and carrying out segmentation processing on a pre-stored driver file corresponding to the loading instruction according to a preset segmentation rule to obtain a plurality of corresponding program segments;
sequentially transmitting each program segment to each adapter plate so as to load the corresponding program segment into a corresponding driver through the adapter plate;
receiving loading feedback information fed back by each adapter plate, and generating loading adjustment instructions matched with each adapter plate according to preset instruction generation rules and loading feedback information corresponding to each adapter plate;
the method comprises the steps that loading adjustment instructions corresponding to the adapter plates are respectively sent to the adapter plates, so that the adapter plates can adjust the loading rate of a driver according to the loading adjustment instructions, the adapter plates receiving the loading adjustment instructions can continue loading program segments based on the adjusted transfer rate of the adapter plates after carrying out loading rate adjustment, and the step of receiving loading feedback information fed back by the adapter plates is carried out in a returning mode until the program segments obtained by segmentation are loaded into the batch driver;
the generating a loading adjustment instruction matched with each adapter plate according to a preset instruction generation rule and loading feedback information corresponding to each adapter plate comprises the following steps:
judging the loading feedback information according to the judging conditions in the instruction generation rule so as to determine a corresponding adjustment strategy;
generating a loading adjustment instruction corresponding to the adjustment strategy according to loading feedback information corresponding to each adapter plate;
the step of judging the loading feedback information according to the judgment condition in the instruction generation rule to determine the corresponding adjustment strategy comprises the following steps:
calculating the numerical value in the loading feedback information according to a strategy coefficient calculation formula in the judging condition to obtain a corresponding strategy coefficient, wherein the strategy coefficient calculation formula is as follows:the method comprises the steps of carrying out a first treatment on the surface of the C is the calculated strategy coefficient, p is the adapter plate connected with the loading control terminalQuantity S f For the peak value of the transfer rate of the adapter plate, S i For the transfer rate of the i-th transfer plate, S 0 For the average value of the transfer rate of the adapter plate, J max For maximum average drive loading progress, J min To be the minimum of the average loading progress of the drive, J 0 An average value of the average loading progress of the drive;
and matching the strategy coefficients with coefficient intervals of all strategies in the judging conditions, and acquiring the strategies with the coefficient intervals containing the strategy coefficients as corresponding adjustment strategies.
2. The method of controlling driving load of a compressor driver according to claim 1, wherein the generating a load adjustment command corresponding to the adjustment strategy according to load feedback information corresponding to each of the adapter plates includes:
calculating a rate coefficient corresponding to the loading feedback information of each adapter plate according to a rate coefficient calculation formula in the instruction generation rule;
determining an adapter plate matched with the adjustment strategy as a target adapter plate;
and generating a corresponding loading adjustment instruction according to the corresponding rate coefficient of the target adapter plate.
3. The method for controlling driving load of a compressor driver according to claim 1, wherein after said sending load adjustment commands corresponding to said adapter plates to each of said adapter plates, respectively, further comprises:
judging whether instruction receiving feedback information fed back by each adapter plate receiving the loading adjustment instruction is acquired within preset acquisition time;
if feedback information is not received in the preset acquisition time, the loading adjustment instruction corresponding to the adapter plate which does not send the instruction receiving feedback information is sent to the adapter plate again.
4. A drive load control device of a compressor driver, wherein the device is configured in a load control terminal, the device applies the drive load control method of a compressor driver according to any one of claims 1 to 3, the load control terminal is simultaneously connected with a plurality of adapter plates to realize transmission of data information, and each adapter plate is respectively connected with at least one driver, the device comprises:
the driver file segmentation unit is used for receiving an input loading instruction, and carrying out segmentation processing on a pre-stored driver file corresponding to the loading instruction according to a preset segmentation rule to obtain a plurality of corresponding program segments;
the program segment output unit is used for sequentially transmitting each program segment to each adapter plate so as to load the corresponding program segment into the corresponding driver through the adapter plate;
the loading adjustment instruction generation unit is used for receiving loading feedback information fed back by each adapter plate and generating loading adjustment instructions matched with each adapter plate according to preset instruction generation rules and loading feedback information corresponding to each adapter plate;
the loading adjustment instruction sending unit is used for sending loading adjustment instructions corresponding to the adapter plates respectively so that the adapter plates can adjust the loading rate of the driver according to the loading adjustment instructions, and the step of receiving loading feedback information fed back by the adapter plates is performed in a returning mode;
the load adjustment instruction generation unit includes:
the adjustment strategy determining unit is used for judging the loading feedback information according to the judging conditions in the instruction generating rule so as to determine a corresponding adjustment strategy;
the instruction generation unit is used for generating a loading adjustment instruction corresponding to the adjustment strategy according to the loading feedback information corresponding to each adapter plate;
the adjustment policy determining unit includes:
a policy coefficient obtaining unit for calculating the numerical value in the loading feedback information according to the policy coefficient calculation formula in the judgment condition to obtainTo the corresponding policy coefficients; the calculation formula of the strategy coefficients is as follows:the method comprises the steps of carrying out a first treatment on the surface of the C is the calculated strategy coefficient, p is the number of adapter plates connected with the loading control terminal, S f For the peak value of the transfer rate of the adapter plate, S i For the transfer rate of the i-th transfer plate, S 0 For the average value of the transfer rate of the adapter plate, J max For maximum average drive loading progress, J min To be the minimum of the average loading progress of the drive, J 0 An average value of the average loading progress of the drive;
and the adjustment strategy acquisition unit is used for matching the strategy coefficients with the coefficient intervals of all strategies in the judgment conditions and acquiring the strategies with the coefficient intervals containing the strategy coefficients as corresponding adjustment strategies.
5. A computer device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the steps of the drive loading control method of the compressor driver according to any one of claims 1 to 3 when executing the program stored on the memory.
6. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the drive load control method of a compressor drive according to any one of claims 1-3.
CN202310782604.5A 2023-06-29 2023-06-29 Method, device, equipment and medium for controlling drive loading of compressor driver Active CN116541084B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310782604.5A CN116541084B (en) 2023-06-29 2023-06-29 Method, device, equipment and medium for controlling drive loading of compressor driver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310782604.5A CN116541084B (en) 2023-06-29 2023-06-29 Method, device, equipment and medium for controlling drive loading of compressor driver

Publications (2)

Publication Number Publication Date
CN116541084A CN116541084A (en) 2023-08-04
CN116541084B true CN116541084B (en) 2023-12-15

Family

ID=87449128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310782604.5A Active CN116541084B (en) 2023-06-29 2023-06-29 Method, device, equipment and medium for controlling drive loading of compressor driver

Country Status (1)

Country Link
CN (1) CN116541084B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103402221A (en) * 2013-07-24 2013-11-20 京信通信系统(中国)有限公司 Method, device and system for loading software on basis of gateway data processing plate
CN105682040A (en) * 2016-03-30 2016-06-15 惠州Tcl移动通信有限公司 Method and system for automatically loading RF driver according to position by mobile terminal
CN107271289A (en) * 2017-05-18 2017-10-20 苏州铁马自动化科技有限公司 Pressure testing machine perseverance loading TT&C system
CN107645264A (en) * 2012-08-10 2018-01-30 艾默生环境优化技术有限公司 The method of the motor of control circuit, drive circuit and control compressor
CN108132811A (en) * 2017-12-15 2018-06-08 杭州迪普科技股份有限公司 A kind of loading method and device of FPGA program datas
CN108388451A (en) * 2018-03-02 2018-08-10 奇酷互联网络科技(深圳)有限公司 Method for starting up mobile terminal, device and mobile terminal
CN109302091A (en) * 2018-12-03 2019-02-01 中冶南方(武汉)自动化有限公司 A kind of exchange driving inverter parallel-control system and method
CN110618822A (en) * 2019-08-26 2019-12-27 杭州顺网科技股份有限公司 Method for pre-installing network card drive in starting stage of diskless workstation
CN113644856A (en) * 2021-06-07 2021-11-12 深圳市维京驱动有限公司 Drive control method of high-frequency converter
CN114691240A (en) * 2022-04-01 2022-07-01 武汉深之度科技有限公司 Drive hardware configuration information loading method, device and system and computing equipment
CN115705341A (en) * 2021-08-10 2023-02-17 中兴通讯股份有限公司 Data loading method, file server, management server and storage medium
CN116166332A (en) * 2023-04-25 2023-05-26 深圳艾为电气技术有限公司 Method, device, equipment and medium for parallel loading of compressor driver

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020147735A1 (en) * 2000-11-22 2002-10-10 Intra Inc. Method and system for optimizing file loading in a data communication network
JP4191563B2 (en) * 2003-08-28 2008-12-03 三菱重工業株式会社 Compressor control method
US9190940B2 (en) * 2009-11-06 2015-11-17 Bosch Security Systems Bv Brushless motor speed control system
US10338933B2 (en) * 2014-03-25 2019-07-02 Dell Products, Lp Method for generating custom BIOS setup interface and system therefor
US10372461B2 (en) * 2014-09-19 2019-08-06 Alab Inc. Device driver registration device and device driver registration method using same
US11431480B2 (en) * 2019-07-11 2022-08-30 EMC IP Holding Company LLC Smart compressor based on adaptive CPU/QAT scheduling method

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107645264A (en) * 2012-08-10 2018-01-30 艾默生环境优化技术有限公司 The method of the motor of control circuit, drive circuit and control compressor
CN103402221A (en) * 2013-07-24 2013-11-20 京信通信系统(中国)有限公司 Method, device and system for loading software on basis of gateway data processing plate
CN105682040A (en) * 2016-03-30 2016-06-15 惠州Tcl移动通信有限公司 Method and system for automatically loading RF driver according to position by mobile terminal
CN107271289A (en) * 2017-05-18 2017-10-20 苏州铁马自动化科技有限公司 Pressure testing machine perseverance loading TT&C system
CN108132811A (en) * 2017-12-15 2018-06-08 杭州迪普科技股份有限公司 A kind of loading method and device of FPGA program datas
CN108388451A (en) * 2018-03-02 2018-08-10 奇酷互联网络科技(深圳)有限公司 Method for starting up mobile terminal, device and mobile terminal
CN109302091A (en) * 2018-12-03 2019-02-01 中冶南方(武汉)自动化有限公司 A kind of exchange driving inverter parallel-control system and method
CN110618822A (en) * 2019-08-26 2019-12-27 杭州顺网科技股份有限公司 Method for pre-installing network card drive in starting stage of diskless workstation
CN113644856A (en) * 2021-06-07 2021-11-12 深圳市维京驱动有限公司 Drive control method of high-frequency converter
CN115705341A (en) * 2021-08-10 2023-02-17 中兴通讯股份有限公司 Data loading method, file server, management server and storage medium
CN114691240A (en) * 2022-04-01 2022-07-01 武汉深之度科技有限公司 Drive hardware configuration information loading method, device and system and computing equipment
CN116166332A (en) * 2023-04-25 2023-05-26 深圳艾为电气技术有限公司 Method, device, equipment and medium for parallel loading of compressor driver

Also Published As

Publication number Publication date
CN116541084A (en) 2023-08-04

Similar Documents

Publication Publication Date Title
CN105814543B (en) Power balancing for increased load density and improved energy efficiency
CN116166332B (en) Method, device, equipment and medium for parallel loading of compressor driver
CN112199036B (en) Data storage device, data processing system and acceleration device thereof
CN104243405A (en) Request processing method, device and system
CN108399136B (en) Control method and device of serial interface and host
CN111506154A (en) Method and system for increasing computing power and reducing computing power ratio of computer
US9304965B2 (en) Scheduling apparatus and method for load balancing when performing multiple transcoding operations
CN116541084B (en) Method, device, equipment and medium for controlling drive loading of compressor driver
US20180121295A1 (en) Backup Optimization Based Dynamic Resource Feedback
CN112477621B (en) Electric vehicle torque control method and device and computer readable storage medium
CN116521247B (en) Synchronous loading control method, device, equipment and medium for PTC driver
CN109298944B (en) Server pressure adjusting method and device, computer device and storage medium
EP2406720B1 (en) Method for controlling a data transfer on a serial transmission data transfer bus
CN111860560B (en) Model parameter adjustment method and device, electronic equipment and readable storage medium
US20210304884A1 (en) Medical data processing method, cluster processing system and method thereof
CN105302853A (en) Data reconstruction method and apparatus
CN114662689A (en) Pruning method, device, equipment and medium for neural network
CN115237204A (en) Electronic equipment control method and electronic equipment
KR20070077743A (en) Data transmitting apparatus and method
WO2018076659A1 (en) Backup optimization based dynamic resource feedback
CN113965270B (en) EMF intensity control method and communication device
US11930074B2 (en) Content distribution over a network
EP4336395A1 (en) Attack detection method, attack response method, and storage device
CN117807272A (en) Adaptive data flow method, system, equipment and storage medium
CN114546656A (en) Configuration method and system for graphic display data balanced transmission

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 518000, 601, 6th Floor, Tianyun Building, Chongzhi Avenue, Vanke City Community, Bantian Street, Longgang District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen Aiwei Electrical Technology Co.,Ltd.

Guo jiahuodiqu after: Zhong Guo

Address before: 518000 7f703a, Shenzhou computer building, Madame Curie Avenue, wankecheng community, Bantian street, Longgang District, Shenzhen, Guangdong Province

Patentee before: Shenzhen Aiwei Electrical Technology Co.,Ltd.

Guo jiahuodiqu before: Zhong Guo