An industrial high-throughput network MPU board-level communication module, communication method and communication equipment

By obtaining the preset frequency mapping relationship in the main control module, and automatically selecting the clock frequency corresponding to the resource utilization rate, the poor user experience caused by the user manually setting the clock frequency in the prior art is solved, and the automatic adjustment of high-throughput data transmission is achieved.

CN119512332BActive Publication Date: 2025-08-26深圳腾信百纳科技有限公司
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510081409.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-20
Publication Date
2025-08-26
Estimated Expiration
2045-01-20

AI Technical Summary

Technical Problem

Existing communication modules require users to manually set the clock frequency to match throughput, resulting in poor user experience.

Method used

By obtaining the preset frequency mapping relationship in the main control module, the target clock frequency corresponding to the current resource utilization rate is automatically selected and sent to the communication module for data transmission.

Benefits of technology

It realizes automatic selection of clock frequency according to different resource utilization rates, without manual adjustment by users, improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119512332B_ABST
    Figure CN119512332B_ABST
Patent Text Reader

Abstract

The present application relates to the field of communication technology, and discloses an industrial high-throughput network MPU board-level communication module, a communication method, and a communication device. The module includes: a main control module and a communication module. The main control module and the communication module are both integrated in the MPU, and the main control module is connected to the communication module. The main control module of the present application obtains a preset frequency mapping relationship, and the preset frequency mapping relationship stores the correspondence between resource utilization and preset clock frequency; the main control module selects the corresponding target clock frequency from the preset frequency mapping relationship based on the current resource utilization, and sends the target clock frequency to the communication module; the communication module exchanges data with other modules based on the target clock frequency. Therefore, the present application realizes the automatic selection of the corresponding clock frequency according to different resource utilizations, without the need for manual adjustment by the user, which effectively improves the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to an industrial high-throughput network MPU board-level communication module, a communication method, and a communication device. Background Art

[0002] The industrial communication module integrated into the main processing unit (MPU) meets the networking needs of different devices in the industrial network by integrating baseband, RF, power, storage and other chips with electronic components such as resistors, capacitors and inductors, and equipped with specific packaging and software design.

[0003] Currently, existing communication modules generally use high-performance MPUs and large-capacity memories to output higher clock frequencies to support high-speed data processing and transmission with other modules or internal modules, thereby achieving high throughput.

[0004] However, the aforementioned approach fixes the clock frequency once the communication module's parameters are determined. When the actual scenario doesn't match the module's throughput, for example, when resource utilization is low and high throughput isn't required for data transmission, users often need to manually configure the module's parameters to change the clock frequency to ensure the module transmits data at the appropriate throughput, in order to avoid excessive throughput that increases module energy consumption and reduces battery life. This can result in a poor user experience. Summary of the Invention

[0005] The main purpose of this application is to provide an industrial high-throughput network MPU board-level communication module, communication method and communication equipment, aiming to solve the technical problem that the existing technology requires users to manually set the relevant parameters of the communication module to change the clock frequency, resulting in poor user experience.

[0006] To achieve the above objectives, the present application provides an industrial high-throughput network MPU board-level communication module, the module comprising: a main control module and a communication module;

[0007] The main control module and the communication module are both integrated in the MPU, and the main control module is connected to the communication module;

[0008] The main control module is used to obtain a preset frequency mapping relationship, where the preset frequency mapping relationship stores a correspondence between resource utilization and preset clock frequency;

[0009] The main control module is further configured to select a corresponding target clock frequency from the preset frequency mapping relationship based on the current resource utilization, and send the target clock frequency to the communication module;

[0010] The communication module is used to perform data transmission with other modules based on the target clock frequency.

[0011] In one embodiment, the main control module includes: a frequency selection unit and a frequency output unit;

[0012] The frequency output unit is connected to the frequency selection unit and the communication module respectively;

[0013] The frequency selection unit is configured to determine whether there is a target resource utilization rate corresponding to the current resource utilization rate in the preset frequency mapping relationship;

[0014] The frequency selection unit is further configured to, when a target resource utilization rate corresponding to the current resource utilization rate exists in the preset frequency mapping relationship, obtain a preset clock frequency corresponding to the target resource utilization rate from the preset frequency mapping relationship as the target clock frequency;

[0015] The frequency output unit is used to send the target clock frequency to the communication module.

[0016] In one embodiment, the frequency selection unit is further configured to, when there is no target resource utilization corresponding to the current resource utilization in the preset frequency mapping relationship, determine whether the current resource utilization is between adjacent first resource utilizations and second resource utilizations in the preset frequency mapping relationship;

[0017] The frequency selection unit is further configured to determine a target clock frequency according to the first resource utilization and the second resource utilization when the current resource utilization is between adjacent first resource utilization and the second resource utilization.

[0018] In one embodiment, the frequency selection unit is further configured to, when the current resource utilization is between adjacent first resource utilization and second resource utilization, determine a first difference between the current resource utilization and the first resource utilization, and determine a second difference between the current resource utilization and the second resource utilization;

[0019] The frequency selection unit is further configured to determine a proportional coefficient according to the first difference and the second difference;

[0020] The frequency selection unit is further configured to determine a first preset clock frequency corresponding to the first resource utilization rate and a second preset clock frequency corresponding to the second resource utilization rate;

[0021] The frequency selection unit is further configured to determine a target clock frequency according to the proportional coefficient, the first preset clock frequency, and the second preset clock frequency.

[0022] In one embodiment, the frequency selection unit is further configured to determine a maximum resource utilization and a minimum resource utilization in the preset frequency mapping relationship when the current resource utilization is not between the adjacent first resource utilization and the second resource utilization in the preset frequency mapping relationship;

[0023] The frequency selection unit is further configured to determine utilization growth trend information of each resource utilization in the preset frequency mapping relationship when the current resource utilization is higher than the maximum resource utilization;

[0024] The frequency selection unit is further configured to determine a target clock frequency corresponding to the current resource utilization rate according to the utilization rate growth trend information;

[0025] The frequency selection unit is further configured to use the preset clock frequency corresponding to the minimum resource utilization in the preset frequency mapping relationship as the target clock frequency when the current resource utilization is lower than the minimum resource utilization.

[0026] In one embodiment, the communication module includes: a clock generator and a data transmission unit;

[0027] The clock generator is connected to the data transmission unit and the main control module respectively;

[0028] The clock generator is configured to adjust the frequency of the current clock signal according to the target clock frequency, generate a target clock signal having the target clock frequency, and send the target clock signal to the data transmission unit;

[0029] The data transmission unit is used to perform data transmission with the other modules both during the high level time and the low level time of the target clock signal.

[0030] In one embodiment, the module further comprises: a serial module;

[0031] The serial module is connected to the communication module;

[0032] The serial module is configured to, upon receiving a plurality of data to be transmitted in parallel from the communication module, convert each of the data to be transmitted into target serial data of a single physical channel and then send the data to the corresponding module;

[0033] The serial module is further configured to, upon receiving the serial data to be transmitted sent by the other modules, convert the serial data to be transmitted into a plurality of target data to be transmitted and then transmit the data in parallel to the communication module.

[0034] In one embodiment, the module further includes: at least two cache modules;

[0035] Among them, different cache modules have different capacities;

[0036] Each of the cache modules is connected to the main control module;

[0037] The main control module is further configured to obtain the cache module with the lowest capacity as the initial cache module upon receiving the data acquisition instruction;

[0038] The main control module is further configured to determine whether target data corresponding to the data acquisition instruction exists in the initial cache module;

[0039] The main control module is also used to select a cache module with a capacity higher than that of the initial cache module and lower than that of other cache modules as the initial cache module when the target data is not queried in the initial cache module, and execute the operation of determining whether the target data corresponding to the data acquisition instruction exists in the initial cache module until the target data corresponding to the data acquisition instruction is read.

[0040] In addition, to achieve the above objectives, the present application also proposes a communication method based on the industrial high-throughput network MPU board-level communication module described above, the method comprising:

[0041] Acquire a preset frequency mapping relationship, where the preset frequency mapping relationship stores a correspondence between resource utilization and preset clock frequency;

[0042] Selecting a corresponding target clock frequency from the preset frequency mapping relationship based on the current resource utilization, and sending the target clock frequency to the communication module;

[0043] Data is exchanged with other modules based on the target clock frequency.

[0044] In addition, to achieve the above-mentioned purpose, the present application also proposes a communication device, which includes the industrial high-throughput network MPU board-level communication module described above.

[0045] One or more technical solutions proposed in this application have at least the following technical effects:

[0046] The industrial high-throughput network MPU board-level communication module of the present application includes: a main control module and a communication module, both of which are integrated in the MPU, and the main control module is connected to the communication module. The main control module of the present application obtains a preset frequency mapping relationship, and the preset frequency mapping relationship stores the correspondence between resource utilization and preset clock frequency; the main control module selects the corresponding target clock frequency from the preset frequency mapping relationship based on the current resource utilization, and sends the target clock frequency to the communication module; the communication module exchanges data with other modules based on the target clock frequency. Since the present application selects the target clock frequency corresponding to the current resource utilization through the preset frequency mapping relationship for data transmission, compared with the prior art, the present application can automatically select the corresponding clock frequency according to different resource utilizations without the need for manual adjustment by the user, which effectively improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0048] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0049] Figure 1 This is a structural diagram of the first embodiment of the industrial high-throughput network MPU board-level communication module of this application;

[0050] Figure 2 This is a structural diagram of the second embodiment of the industrial high-throughput network MPU board-level communication module of this application;

[0051] Figure 3 This is a first structural diagram of the third embodiment of the industrial high-throughput network MPU board-level communication module of the present application;

[0052] Figure 4 This is a second structural diagram of the third embodiment of the industrial high-throughput network MPU board-level communication module of the present application;

[0053] Figure 5 This is a third structural diagram of the third embodiment of the industrial high-throughput network MPU board-level communication module of the present application;

[0054] Figure 6 This is a flowchart of the communication method of this application.

[0055] The realization of the objectives, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0056] It should be understood that the specific embodiments described herein are merely used to explain the technical solutions of the present application and are not intended to limit the present application.

[0057] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0058] The main solution of the embodiment of the present application is: the main control module obtains the preset frequency mapping relationship, selects the corresponding target clock frequency from the preset frequency mapping relationship based on the current resource utilization, and sends the target clock frequency to the communication module; the communication module transmits data to other modules based on the target clock frequency.

[0059] Since the existing technology requires users to manually set relevant parameters of the communication module to change the clock frequency to ensure that the communication module transmits data with an appropriate throughput, it will result in a poor user experience.

[0060] The present application provides a solution that selects a target clock frequency corresponding to the current resource utilization for data transmission through a preset frequency mapping relationship. Therefore, compared with the existing technology, the present application can automatically select the corresponding clock frequency according to different resource utilization rates without the need for manual adjustment by the user, thereby effectively improving the user experience.

[0061] Based on this, the embodiment of the present application provides an industrial high-throughput network MPU board-level communication module, referring to Figure 1 , Figure 1 This is a structural diagram of the first embodiment of the industrial high-throughput network MPU board-level communication module of this application.

[0062] In this embodiment, the industrial high-throughput network MPU board-level communication module includes: a main control module 100 and a communication module 200 .

[0063] The main control module 100 and the communication module 200 are both integrated into the MPU, and the main control module 100 is connected to the communication module 200 .

[0064] It should be noted that the main control module 100 may be a multi-core heterogeneous processor composed of multiple cores, which is responsible for executing instructions, processing data and controlling all operations of the computer.

[0065] It is understandable that the communication module 200 may be a module for accessing data in a memory, such as a memory controller, and the communication module 200 may exchange data with other modules.

[0066] It should be noted that the above-mentioned MPU can be a component responsible for tasks such as routing calculation, device management and maintenance, and device monitoring to ensure the normal operation of the entire module.

[0067] The main control module 100 is used to obtain a preset frequency mapping relationship, where the preset frequency mapping relationship stores a correspondence between resource utilization and preset clock frequency.

[0068] It should be noted that the above-mentioned preset clock frequency may be a clock frequency configured in advance through customization.

[0069] It is understood that the resource utilization rate described above can be used to characterize the degree to which a module performs its intended function in actual applications. In other words, it represents the proportion of effective module utilization, which can be calculated by dividing the actual usage by the total amount and then multiplying by 100%. A high utilization rate means that the module can more fully utilize its functions, thereby improving the efficiency and performance of the overall device.

[0070] In a specific implementation, a test environment based on an industrial high-throughput network MPU board-level communication module can be built, and performance testing tools (such as stress testing software) can be used to simulate CPU usage under different loads, that is, CPU utilization is used as resource utilization. By adjusting parameters such as the number of concurrent users and data processing volume, the CPU utilization is gradually increased to obtain different resource utilizations. Then, at each resource utilization, the clock frequency supported by the module is recorded, and the changes in different clock frequencies are determined. Then, the optimal clock frequency supported by the module is selected at different resource utilizations, and the optimal clock frequency corresponding to different resource utilizations is used as the corresponding preset clock frequency. After determining the preset clock frequencies corresponding to different resource utilizations, they can be associated and saved in the same list to obtain a preset frequency mapping relationship. When the above-mentioned main control module 100 is running in the current scenario, it can obtain the pre-built preset frequency mapping relationship to perform subsequent operations.

[0071] The main control module 100 is further configured to select a corresponding target clock frequency from the preset frequency mapping relationship based on current resource utilization, and send the target clock frequency to the communication module 200 .

[0072] In a specific implementation, the above-mentioned main control module 100 can use built-in monitoring tools or third-party monitoring software to collect the usage of various resources in the module in real time. The resources involved include but are not limited to the central processing unit (CPU), memory, disk, network, etc., and then calculate the resource utilization of each resource based on the collected data. For example, the CPU utilization can be obtained by calculating the ratio of the CPU time currently in use to the total CPU time, and the memory utilization can be obtained by calculating the ratio of the used memory to the total memory. In addition, according to the actual operation scenario, the corresponding weights can be configured for different resources in advance according to the factors affecting the performance of different resources in the module. For example, the CPU configuration has the highest weight and the network has the lowest weight. Based on this, after obtaining the resource utilization of each resource, the weighted average resource utilization can be calculated as the current resource utilization.

[0073] Furthermore, after obtaining the current resource utilization, the above-mentioned main control module 100 can traverse the preset frequency mapping relationship based on the resource utilization, and determine the resource utilization that is consistent with the current resource utilization or has a deviation lower than the set deviation threshold as the successfully matched resource utilization, and then use the preset clock frequency corresponding to the successfully matched resource utilization in the preset frequency mapping relationship as the target clock frequency.

[0074] It should be understood that when the current resource utilization is high, selecting a corresponding higher target clock frequency can increase the number of instruction cycles that the module can execute per unit time, thereby achieving data transmission with high throughput.

[0075] The communication module 200 is configured to perform data transmission with other modules based on the target clock frequency.

[0076] In a specific implementation, the above-mentioned communication module 200 can generate a corresponding target clock signal based on the target clock frequency, that is, generate a target clock signal with a frequency of the target clock frequency, and then transmit data with other modules based on the target clock signal, such as other chips or other internal modules, for example, sending data to other modules on the rising edge of the target clock signal, or receiving data sent by other modules on the falling edge of the target clock signal.

[0077] For example, when the communication module 200 serves as a transmitting end and other modules serve as receiving ends, the communication module 200 can send the read data bit by bit to other modules according to the frequency of the target clock signal, for example, sending data on the rising edge of the target clock signal; when the communication module 200 serves as a receiving end and other modules serve as a transmitting end, the communication module 200 can receive data sent by other modules according to the frequency of the target clock signal.

[0078] The industrial high-throughput network MPU board-level communication module of this embodiment includes: a main control module and a communication module, both of which are integrated in the MPU, and the main control module is connected to the communication module. The main control module of this application obtains a preset frequency mapping relationship, and the preset frequency mapping relationship stores the correspondence between resource utilization and preset clock frequency; the main control module selects the corresponding target clock frequency from the preset frequency mapping relationship based on the current resource utilization, and sends the target clock frequency to the communication module; the communication module exchanges data with other modules based on the target clock frequency. Since this embodiment selects the target clock frequency corresponding to the current resource utilization through the preset frequency mapping relationship for data transmission, compared with the prior art, this embodiment can automatically select the corresponding clock frequency according to different resource utilizations without the need for manual adjustment by the user, which effectively improves the user experience.

[0079] Based on the first embodiment of the present application, the second embodiment of the present application is proposed. In the second embodiment of the present application, the same or similar contents as those in the first embodiment can be referred to the above introduction and will not be repeated hereafter. Figure 2 , Figure 2 This is a structural diagram of the second embodiment of the industrial high-throughput network MPU board-level communication module of this application.

[0080] In this embodiment, the main control module 100 includes a frequency selection unit 101 and a frequency output unit 102 .

[0081] The frequency output unit 102 is connected to the frequency selection unit 101 and the communication module 200 respectively.

[0082] It should be noted that the frequency selection unit 101 may be a unit that selects a preset clock frequency from a preset frequency mapping relationship.

[0083] It is understandable that the frequency output unit 102 may be a unit that communicates with the communication module 200 and is configured to output a preset clock frequency to the communication module 200 .

[0084] The frequency selection unit 101 is configured to determine whether there is a target resource utilization corresponding to the current resource utilization in the preset frequency mapping relationship.

[0085] In a specific implementation, the current resource utilization rate may be determined by the frequency selection unit 101 or by other units in the main control module 100, and this embodiment does not limit this. After obtaining the current resource utilization rate, the frequency selection unit 101 may traverse the preset frequency mapping relationship to determine whether there is a target resource utilization rate that corresponds to the current resource utilization rate, that is, the target resource utilization rate that is consistent with the current resource utilization rate.

[0086] The frequency selection unit 101 is further configured to, when a target resource utilization corresponding to the current resource utilization exists in the preset frequency mapping relationship, obtain a preset clock frequency corresponding to the target resource utilization from the preset frequency mapping relationship as the target clock frequency.

[0087] In a specific implementation, the above-mentioned frequency selection unit 101 may have a preset clock frequency corresponding to the target resource utilization in the preset frequency mapping relationship, that is, when there is a target resource utilization that is consistent with the current resource utilization, the preset clock frequency corresponding to the target resource utilization can be read from the preset frequency mapping relationship, and the read preset clock frequency can be used as the target clock frequency, and the read target clock frequency can be fed back to the frequency output unit 102.

[0088] The frequency output unit 102 is configured to send the target clock frequency to the communication module 200 .

[0089] In a specific implementation, when the frequency output unit 102 receives the target clock frequency fed back by the frequency selection unit 101, it can send the target clock frequency to the communication module 200, and the communication module 200 performs data transmission with other modules based on the target clock frequency.

[0090] In a feasible implementation manner, the frequency selection unit 101 is further used to determine whether the current resource utilization is between the adjacent first resource utilization and the second resource utilization in the preset frequency mapping relationship when there is no target resource utilization corresponding to the current resource utilization in the preset frequency mapping relationship.

[0091] In a specific implementation, the above-mentioned frequency selection unit 101 may further determine whether the read resource utilization is between any two adjacent resource utilizations in the preset frequency mapping relationship, that is, determine whether the read resource utilization is between the adjacent first resource utilization and the second resource utilization in the preset frequency mapping relationship, when there is no target resource utilization corresponding to the current resource utilization in the preset frequency mapping relationship.

[0092] The frequency selection unit 101 is further configured to determine a target clock frequency according to the first resource utilization and the second resource utilization when the current resource utilization is between adjacent first resource utilization and the second resource utilization.

[0093] In a specific implementation, the above-mentioned frequency selection unit 101 can determine the first preset clock frequency corresponding to the first resource utilization and the second preset clock frequency corresponding to the second resource utilization in the preset frequency mapping relationship when the current resource utilization is between the adjacent first resource utilization and the second resource utilization, and then randomly generate a clock frequency as the target clock frequency from the range formed by the first preset clock frequency and the second preset clock frequency.

[0094] In a feasible implementation manner, the frequency selection unit 101 is further used to determine a first difference between the current resource utilization and the first resource utilization when the current resource utilization is between the adjacent first resource utilization and the second resource utilization, and to determine a second difference between the current resource utilization and the second resource utilization.

[0095] In a specific implementation, the above-mentioned frequency selection unit 101 may, when the current resource utilization is between the adjacent first resource utilization and the second resource utilization, subtract the current resource utilization from the first resource utilization and then take the absolute value to obtain a first difference, and subtract the current resource utilization from the second resource utilization and then take the absolute value to obtain a second difference.

[0096] The frequency selection unit 101 is further configured to determine a proportional coefficient according to the first difference and the second difference.

[0097] In a specific implementation, the frequency selection unit 101 may divide the first difference by the second difference to obtain a proportional coefficient when the first resource utilization is less than the second resource utilization; and divide the second difference by the first difference to obtain a proportional coefficient when the first resource utilization is greater than the second resource utilization.

[0098] The frequency selection unit 101 is further configured to determine a first preset clock frequency corresponding to the first resource utilization rate and a second preset clock frequency corresponding to the second resource utilization rate.

[0099] In a specific implementation, the frequency selection unit may determine a first preset clock frequency corresponding to the first resource utilization and a second preset clock frequency corresponding to the second resource utilization in a preset frequency mapping relationship.

[0100] The frequency selection unit 101 is further configured to determine a target clock frequency according to the proportional coefficient, the first preset clock frequency, and the second preset clock frequency.

[0101] In a specific implementation, the above-mentioned proportional coefficient can represent the position of the current resource utilization between the first resource utilization and the second resource utilization. Taking the case where the first resource utilization is less than the second resource utilization as an example, at this time, a larger proportional coefficient represents that the current resource utilization is close to the first resource utilization, and a smaller proportional coefficient represents that the current resource utilization is close to the second resource utilization. Based on this, the proportional coefficient, the first preset clock frequency, and the second preset clock frequency can be substituted into the preset clock frequency formula to calculate the target clock frequency. Among them, the preset clock frequency formula is:

[0102]

[0103] Where, is the target clock frequency, is the current resource utilization, is the first resource utilization rate, is the second resource utilization, is a first preset clock frequency, is the second preset clock frequency.

[0104] It should be understood that, in this embodiment, when the first resource utilization is between the first resource utilization and the second resource utilization, compared to randomly generating a clock frequency as the target clock frequency from the range formed by the first preset clock frequency and the second preset clock frequency, the proportional coefficient is determined by the first difference between the current resource utilization and the first resource utilization and the second difference between the current resource utilization and the second resource utilization, and the target clock frequency is determined in combination with the proportional coefficient, the first preset clock frequency and the second preset clock frequency. This can more accurately obtain the target clock frequency that matches the current resource utilization, thereby effectively improving the determination accuracy of the target clock frequency.

[0105] In a feasible implementation manner, the frequency selection unit 101 is further used to determine the maximum resource utilization and the minimum resource utilization in the preset frequency mapping relationship when the current resource utilization is not between the adjacent first resource utilization and the second resource utilization in the preset frequency mapping relationship.

[0106] In a specific implementation, the above-mentioned frequency selection unit 101 may determine that the current resource utilization exceeds the range of the minimum resource utilization and the maximum resource utilization recorded in the preset frequency mapping relationship when there is no target resource utilization corresponding to the current resource utilization in the preset frequency mapping relationship, and the current resource utilization is not between the adjacent first resource utilization and the second resource utilization in the preset frequency mapping relationship, that is, it is not between the resource utilizations of any efficiency in the preset frequency mapping relationship. At this time, the minimum resource utilization and the maximum resource utilization in the preset frequency mapping relationship can be read.

[0107] The minimum resource utilization rate may be the minimum value of each resource utilization rate recorded in the preset frequency mapping relationship, and the maximum resource utilization rate may be the maximum value of each resource utilization rate recorded in the preset frequency mapping relationship.

[0108] The frequency selection unit 101 is further configured to determine utilization rate growth trend information of each resource utilization rate in the preset frequency mapping relationship when the current resource utilization rate is higher than the maximum resource utilization rate.

[0109] In a specific implementation, when the current resource utilization is higher than the maximum resource utilization, the above-mentioned frequency selection unit 101 can traverse each resource utilization and each preset clock frequency in the preset frequency mapping relationship, perform numerical fitting on each resource utilization and each preset clock frequency, generate a curve consisting of resource utilization and preset clock frequency, and then determine the growth rate of each resource utilization on the curve as utilization growth trend information, and determine the growth rate of each preset clock frequency on the curve as frequency growth trend information.

[0110] The frequency selection unit 101 is further configured to determine a target clock frequency corresponding to the current resource utilization rate according to the utilization rate growth trend information.

[0111] In a specific implementation, the frequency selection unit 101 can determine the deviation between the current resource utilization and the maximum resource utilization, and use the deviation as the degree of increase in the current resource utilization compared to the maximum resource utilization. Then, the degree of increase in clock frequency corresponding to the degree of increase in utilization is determined through the curve, and the maximum clock frequency corresponding to the maximum growth rate in the preset frequency mapping relationship is determined. The maximum clock frequency is added to the degree of increase in clock frequency to obtain the target clock frequency.

[0112] The frequency selection unit 101 is further configured to use the preset clock frequency corresponding to the minimum resource utilization in the preset frequency mapping relationship as the target clock frequency when the current resource utilization is lower than the minimum resource utilization.

[0113] In a specific implementation, the minimum preset clock frequency can be set relatively low during testing to prevent excessive throughput from increasing module energy consumption. Based on this, when the current resource utilization is lower than the minimum resource utilization, the frequency selection unit 101 can directly use the preset clock frequency corresponding to the minimum resource utilization in the preset frequency mapping relationship as the target clock frequency.

[0114] Alternatively, in order to improve accuracy, similarly, the deviation between the current resource utilization and the minimum resource utilization can be determined, and the deviation can be used as the degree of utilization decrease of the current resource utilization compared to the minimum resource utilization. Then, the degree of clock frequency decrease corresponding to the above-mentioned utilization decrease can be determined through the above-mentioned curve, and the minimum clock frequency corresponding to the minimum growth rate in the preset frequency mapping relationship can be determined. The target clock frequency can be obtained by subtracting the degree of clock frequency decrease from the minimum clock frequency.

[0115] In this embodiment, when there is a target resource utilization rate corresponding to the current resource utilization rate in the preset frequency mapping relationship, the preset clock frequency corresponding to the target resource utilization rate is obtained from the preset frequency mapping relationship as the target clock frequency; when there is no target resource utilization rate corresponding to the current resource utilization rate in the preset frequency mapping relationship, and when the current resource utilization rate is between the adjacent first resource utilization rate and the second resource utilization rate, the target clock frequency can be determined based on the first resource utilization rate and the second resource utilization rate; when there is no target resource utilization rate corresponding to the current resource utilization rate in the preset frequency mapping relationship, and when the current resource utilization rate is not between the adjacent first resource utilization rate and the second resource utilization rate, if the current resource utilization rate is higher than the maximum resource utilization rate, the target clock frequency is determined based on the utilization growth curve information; if the current resource utilization rate is lower than the minimum resource utilization rate, the preset clock frequency corresponding to the minimum resource utilization rate is used as the target clock frequency. Based on this, the corresponding target clock frequency can be accurately determined according to the different ranges of the current resource utilization rate, effectively improving the determination accuracy of the target clock frequency.

[0116] Based on the first and second embodiments of the present application, the third embodiment of the present application is proposed. In the third embodiment of the present application, the same or similar contents as those of the first and second embodiments can be referred to above and will not be described in detail later. Figure 3 , Figure 3 This is a first structural diagram of the third embodiment of the industrial high-throughput network MPU board-level communication module of the present application.

[0117] In this embodiment, the communication module 200 includes a clock generator 201 and a data transmission unit 202 .

[0118] The clock generator 201 is connected to the data transmission unit 202 and the main control module 100 respectively.

[0119] It should be noted that the clock generator 201 may be a device for generating a clock signal, such as a quartz crystal oscillator. The clock generator 201 may be connected to the frequency output unit 102 in the main control module 100.

[0120] It is understandable that the data transmission unit 202 may be a controller for accessing data in a memory and exchanging data with other modules.

[0121] The clock generator 201 is configured to adjust the frequency of the current clock signal according to the target clock frequency, generate a target clock signal having the target clock frequency, and send the target clock signal to the data transmission unit 202 .

[0122] In a specific implementation, the above-mentioned clock generator 201 can adjust the corresponding circuit parameters, such as crystal frequency, capacitance value or resistance value, when receiving the target clock frequency output by the frequency output unit 102, generate a target clock signal with a frequency of the target clock frequency, and then send the target clock signal to the data transmission unit 202.

[0123] The data transmission unit 202 is configured to perform data transmission with the other modules both during the high level time and the low level time of the target clock signal.

[0124] In a specific implementation, the above-mentioned data transmission unit 202 can send data to other modules or receive data sent by other modules during the high level time of the target clock signal, and can also send data to other modules or receive data sent by other modules during the low level time of the target clock signal.

[0125] In this embodiment, a clock generator adjusts the frequency of the current clock signal according to the target clock frequency, generates a target clock signal with the target clock frequency, and sends the target clock signal to the data transmission unit; data is transmitted with the other modules during the high level time and the low level time of the target clock signal, so that more data can be processed within one clock cycle, the data transmission rate is improved, and the throughput of the module is improved.

[0126] In one possible implementation, reference Figure 4 , Figure 4 This is a second structural diagram of the third embodiment of the industrial high-throughput network MPU board-level communication module of the present application. The module also includes: a serial module 300.

[0127] The serial module 300 is connected to the communication module 200 .

[0128] It should be noted that the serial module 300 may be a module that converts parallel data into serial data or converts serial data into parallel data, and may be specifically connected to the data transmission unit 202 in the communication module 200 .

[0129] The serial module 300 is configured to, upon receiving a plurality of data to be transmitted in parallel from the communication module 200 , convert each of the data to be transmitted into target serial data of a single physical channel and then send the data to a corresponding module.

[0130] In a specific implementation, the above-mentioned serial module 300 can convert each data to be transmitted into target serial data of a single physical channel through an internal serializer when receiving multiple data to be transmitted in parallel from the communication module 200, specifically, the data transmission unit 202 in the communication module 200, and then send the target serial data to other modules.

[0131] The serial module 300 is further configured to, upon receiving the serial data to be transmitted sent by the other modules, convert the serial data to be transmitted into a plurality of target data to be transmitted and then transmit the data in parallel to the communication module.

[0132] In a specific implementation, when the serial module 300 receives serial data to be transmitted on a single physical channel transmitted by other modules, it can convert the serial data to be transmitted into multiple target data to be transmitted for multi-channel transmission through an internal deserializer, and then transmit each target data to be transmitted in parallel to the communication module 200.

[0133] In this embodiment, when a serial module receives multiple data to be transmitted in parallel from a communication module, it converts each data to be transmitted into target serial data of a single physical channel and sends it to the corresponding module; when receiving serial data to be transmitted sent by other modules, it converts the serial data to be transmitted into multiple target data to be transmitted and transmits them in parallel to the communication module, thereby realizing concurrent data transmission and effectively improving the throughput of the module.

[0134] In one possible implementation, reference Figure 5 , Figure 5 This is a third structural diagram of the third embodiment of the industrial high-throughput network MPU board-level communication module of the present application, wherein the module further includes: at least two cache modules.

[0135] Among them, different cache modules have different capacities.

[0136] Each of the cache modules is connected to the main control module 100 .

[0137] It should be noted that the cache module can be a module for storing data. Figure 5 As shown, the cache module may include a first cache module, a second cache module, ..., an Nth cache module, and the number of cache modules may be set according to requirements.

[0138] The main control module 100 is further configured to obtain a cache module with the lowest capacity as an initial cache module when receiving a data acquisition instruction.

[0139] It should be noted that the above-mentioned data acquisition instruction may be an instruction for reading data in the cache module, and may be directly input by the user.

[0140] In a specific implementation, the cache module with the lowest capacity can be pre-configured as the initial cache module for reading data by the main control module 100. When receiving a data acquisition instruction, the main control module 100 gives priority to acquiring the initial cache module.

[0141] The main control module 100 is further configured to determine whether target data corresponding to the data acquisition instruction exists in the initial cache module.

[0142] In a specific implementation, the main control module 100 may traverse the initial cache module to determine whether the target data corresponding to the data acquisition instruction exists in the initial cache module.

[0143] The main control module 100 is also used to select a cache module with a capacity higher than that of the initial cache module and lower than that of other cache modules as the initial cache module when the target data is not queried in the initial cache module, and execute the operation of determining whether the target data corresponding to the data acquisition instruction exists in the initial cache module until the target data corresponding to the data acquisition instruction is read.

[0144] In a specific implementation, the first cache module, the second cache module, ..., and the Nth cache module are described in order of capacity from low to high, with the first cache module having the lowest capacity and the Nth cache module having the highest capacity. The main control module 100 may use the first cache module as the initial cache module. When the target data is not found in the first cache module, the main control module 100 may select a cache module with a capacity higher than the first cache module and lower than the other cache modules, i.e., the second cache module, and use the second cache module as the new initial cache module. The operation of determining whether the target data corresponding to the data acquisition instruction exists in the initial cache module is then repeated. That is, the above process is repeated until a target cache module containing the target data corresponding to the data acquisition instruction is determined to exist, and the target data is read from the target cache module.

[0145] It should be understood that in the description of the first, second, and third cache modules, the first cache module has the lowest capacity, while the third cache module has the highest capacity. By storing frequently used data and instruction data in the first cache module, the main control module 100 can obtain required data more quickly, thereby improving overall performance. The third-level cache module provides a larger capacity to store less frequently used data.

[0146] In this embodiment, multiple cache modules are set up. When the main control module receives a data acquisition instruction, it obtains the cache module with the lowest capacity as the initial cache module; it determines from the initial cache module whether the target data corresponding to the data acquisition instruction exists; when the target data is not found in the initial cache module, it selects a cache module with a capacity higher than the initial cache module and lower than other cache modules as the initial cache module, and executes an operation of querying from the initial cache module whether the target data corresponding to the data acquisition instruction exists until the target data corresponding to the data acquisition instruction is read, thereby reducing memory access delay and improving data access efficiency.

[0147] It should be noted that the above examples are only used to understand this application and do not constitute a limitation on the industrial high-throughput network MPU board-level communication module of this application. More simple transformations based on this technical concept are all within the scope of protection of this application.

[0148] This application also proposes a communication method based on the industrial high-throughput network MPU board-level communication module described above, referring to Figure 6 , Figure 6 This is a flowchart of the communication method of this application.

[0149] The communication method includes steps S10 to S30:

[0150] Step S10: Acquire a preset frequency mapping relationship, where the preset frequency mapping relationship stores a correspondence between resource utilization and preset clock frequency.

[0151] Step S20: Select a corresponding target clock frequency from the preset frequency mapping relationship based on the current resource utilization, and send the target clock frequency to the communication module.

[0152] Step S30: exchanging data with other modules based on the target clock frequency.

[0153] The communication method provided in this application can be executed by the industrial high-throughput network MPU board-level communication module in the above-mentioned embodiments. This method can solve the technical problem of the prior art requiring users to manually set relevant parameters of the communication module to change the clock frequency, resulting in a poor user experience. Compared with the prior art, the beneficial effects of the communication method provided in this application are the same as those of the industrial high-throughput network MPU board-level communication module provided in the above-mentioned embodiments, and the other technical features of the communication method are the same as those disclosed in the above-mentioned embodiments, and are not further described here.

[0154] The present application also provides a communication device, which includes the industrial high-throughput network MPU board-level communication module described in the above embodiment.

[0155] The communication device provided in this application utilizes the industrial high-throughput network MPU board-level communication module of the above-mentioned embodiment, which can resolve the technical problem of the prior art requiring users to manually set the relevant parameters of the communication module to change the clock frequency, resulting in a poor user experience. Compared with the prior art, the beneficial effects of the communication device provided in this application are the same as those of the industrial high-throughput network MPU board-level communication module provided in the above-mentioned embodiment, and the other technical features of the communication device are the same as those disclosed in the above-mentioned embodiment method, and are not further described here.

[0156] The above description is only part of the embodiments of the present application and does not limit the patent scope of the present application. All equivalent structural transformations made by using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect application in other related technical fields are included in the patent protection scope of the present application.

Claims

1. An industrial high-throughput network MPU board-level communication module, characterized in that: The module includes: a main control module and a communication module; The main control module and the communication module are both integrated in the MPU, and the main control module is connected to the communication module; The main control module is used to obtain a preset frequency mapping relationship, where the preset frequency mapping relationship stores a correspondence between resource utilization and preset clock frequency; The main control module is further configured to select a corresponding target clock frequency from the preset frequency mapping relationship based on the current resource utilization, and send the target clock frequency to the communication module; The communication module is used to perform data transmission with other modules based on the target clock frequency; The main control module includes: a frequency selection unit and a frequency output unit; The frequency output unit is connected to the frequency selection unit and the communication module respectively; The frequency selection unit is configured to determine whether there is a target resource utilization rate corresponding to the current resource utilization rate in the preset frequency mapping relationship; The frequency selection unit is further configured to, when a target resource utilization rate corresponding to the current resource utilization rate exists in the preset frequency mapping relationship, obtain a preset clock frequency corresponding to the target resource utilization rate from the preset frequency mapping relationship as the target clock frequency; The frequency output unit is used to send the target clock frequency to the communication module; The frequency selection unit is further configured to, when there is no target resource utilization corresponding to the current resource utilization in the preset frequency mapping relationship, determine whether the current resource utilization is between adjacent first resource utilizations and second resource utilizations in the preset frequency mapping relationship; The frequency selection unit is further configured to, when the current resource utilization is between adjacent first resource utilization and second resource utilization, determine a first difference between the current resource utilization and the first resource utilization, and determine a second difference between the current resource utilization and the second resource utilization; The frequency selection unit is further configured to determine a proportional coefficient according to the first difference and the second difference; The frequency selection unit is further configured to determine a first preset clock frequency corresponding to the first resource utilization rate and a second preset clock frequency corresponding to the second resource utilization rate; The frequency selection unit is further configured to determine a target clock frequency according to the proportional coefficient, the first preset clock frequency, and the second preset clock frequency; The frequency selection unit is further configured to determine a maximum resource utilization and a minimum resource utilization in the preset frequency mapping relationship when the current resource utilization is not between the adjacent first resource utilization and the second resource utilization in the preset frequency mapping relationship; The frequency selection unit is further configured to determine utilization growth trend information of each resource utilization in the preset frequency mapping relationship when the current resource utilization is higher than the maximum resource utilization; The frequency selection unit is further configured to determine a target clock frequency corresponding to the current resource utilization rate according to the utilization rate growth trend information; The frequency selection unit is further configured to use the preset clock frequency corresponding to the minimum resource utilization in the preset frequency mapping relationship as the target clock frequency when the current resource utilization is lower than the minimum resource utilization.

2. The industrial high-throughput network MPU board-level communication module according to any one of claim 1, characterized in that: The communication module includes: a clock generator and a data transmission unit; The clock generator is connected to the data transmission unit and the main control module respectively; The clock generator is configured to adjust the frequency of the current clock signal according to the target clock frequency, generate a target clock signal having the target clock frequency, and send the target clock signal to the data transmission unit; The data transmission unit is used to perform data transmission with the other modules both during the high level time and the low level time of the target clock signal.

3. The industrial high-throughput network MPU board-level communication module according to claim 1, characterized in that: The module further comprises: a serial module; The serial module is connected to the communication module; The serial module is configured to, upon receiving a plurality of data to be transmitted in parallel from the communication module, convert each of the data to be transmitted into target serial data of a single physical channel and then send the data to the corresponding module; The serial module is further configured to, upon receiving the serial data to be transmitted sent by the other modules, convert the serial data to be transmitted into a plurality of target data to be transmitted and then transmit the data in parallel to the communication module.

4. The industrial high-throughput network MPU board-level communication module according to claim 1, characterized in that: The module further includes: at least two cache modules; Among them, different cache modules have different capacities; Each of the cache modules is connected to the main control module; The main control module is further configured to obtain the cache module with the lowest capacity as the initial cache module upon receiving the data acquisition instruction; The main control module is further configured to determine whether target data corresponding to the data acquisition instruction exists in the initial cache module; The main control module is also used to select a cache module with a capacity higher than that of the initial cache module and lower than that of other cache modules as the initial cache module when the target data is not queried in the initial cache module, and execute the operation of determining whether the target data corresponding to the data acquisition instruction exists in the initial cache module until the target data corresponding to the data acquisition instruction is read.

5. A communication method based on the industrial high-throughput network MPU board-level communication module according to any one of claims 1 to 4, characterized in that: The method comprises: Acquire a preset frequency mapping relationship, where the preset frequency mapping relationship stores a correspondence between resource utilization and preset clock frequency; Selecting a corresponding target clock frequency from the preset frequency mapping relationship based on the current resource utilization, and sending the target clock frequency to the communication module; Data is exchanged with other modules based on the target clock frequency.

6. A communication device, characterized in that: The communication device includes the industrial high-throughput network MPU board-level communication module according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • DSP (Digital Signal Processor) capable of regulating working voltage and clock frequency and regulating method thereof

    CN102169357A

  • Motherboard control device and method

    CN106557152A

  • Method and system for regulating CPU frequency of mobile terminal

    CN107357658A

  • Power consumption control method and device of communication system based on FPGA

    CN118042564A