CN116467238A - Control method and device of transmission channel, storage medium and electronic device - Google Patents

Control method and device of transmission channel, storage medium and electronic device Download PDF

Info

Publication number
CN116467238A
CN116467238A CN202310264845.0A CN202310264845A CN116467238A CN 116467238 A CN116467238 A CN 116467238A CN 202310264845 A CN202310264845 A CN 202310264845A CN 116467238 A CN116467238 A CN 116467238A
Authority
CN
China
Prior art keywords
transmission channel
transmitting
configuration information
service data
pcie device
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.)
Pending
Application number
CN202310264845.0A
Other languages
Chinese (zh)
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202310264845.0A priority Critical patent/CN116467238A/en
Publication of CN116467238A publication Critical patent/CN116467238A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0026PCI express
    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Abstract

The embodiment of the application provides a control method and device of a transmission channel, a storage medium and an electronic device, wherein the control method of the transmission channel comprises the following steps: acquiring current configuration information of target high-speed serial computer expansion bus standard PCIE equipment on a server; and under the condition that the current configuration information is inconsistent with the initial configuration information corresponding to the target PCIE equipment, adjusting a transmission channel for transmitting the management data from the first transmission channel to the third transmission channel according to the initial configuration information, and adjusting the performance parameters of the second transmission channel, so that the efficiency of transmitting the service data of the adjusted second transmission channel is consistent with the efficiency of transmitting the service data of the fourth transmission channel. Through the embodiment of the application, the problem that the efficiency of the improvement of PCIE equipment is low is solved, and the effect of improving the efficiency of the improvement of PCIE equipment is further achieved.

Description

Control method and device of transmission channel, storage medium and electronic device
Technical Field
The embodiment of the application relates to the field of computers, in particular to a control method and device of a transmission channel, a storage medium and an electronic device.
Background
With the development of internet industry in recent years and the large-scale application of cloud computing and big data technology, large-scale machine rooms and data centers are increasing. In a machine room or a data center, the configuration is a common task, that is, in order to meet new requirements of a service, a configuration model of an existing server is changed, for example, a type or a kind of a PCIE (peripheral component interconnect express, high-speed serial computer expansion bus standard) add-in card on the server is replaced, and a data volume of a hard disk is changed.
In the prior art, in the case that a PCIE device on a server is changed, for example: when the PCIE device is changed from the slot 1 to the slot 2, except for completing the hardware configuration, because the PCIE port corresponding to the PCIE device and the managed I2C (Inter-Integrated Circuit, two-wire serial bus) are both changed, development and adaptation are often required to be performed on the management channel and the service data channel between the BMC and the PCIE device, so that the operation requirement of the service can be met. Development and adaptation of the transmission channel takes up a great deal of effort in the adaptation, including code modification and testing, and is also prone to error. In summary, such a method has the disadvantages of large development workload and low reconfiguration efficiency.
Aiming at the technical problem of lower efficiency of the improvement of PCIE equipment in the related art, no effective solution is proposed yet.
Disclosure of Invention
The embodiment of the application provides a control method and device of a transmission channel, a storage medium and an electronic device, so as to at least solve the problem of low efficiency of changing PCIE equipment in the related art.
According to an embodiment of the present application, there is provided a control method of a transmission channel, including: acquiring current configuration information of a target high-speed serial computer expansion bus standard PCIE device on a server, wherein the current configuration information comprises an identifier of a first transmission channel of the target PCIE device and an identifier of a second transmission channel, the first transmission channel is a transmission channel for transmitting management data of the target PCIE device at present, and the second transmission channel is a transmission channel for transmitting service data of the server of the target PCIE device at present; when the current configuration information is inconsistent with initial configuration information corresponding to the target PCIE device, according to the initial configuration information, a transmission channel for transmitting the management data is adjusted from the first transmission channel to a third transmission channel, and performance parameters of the second transmission channel are adjusted, so that efficiency of transmitting the service data by the adjusted second transmission channel is consistent with efficiency of transmitting the service data by a fourth transmission channel, wherein the initial configuration information includes an identifier of the third transmission channel and an identifier of the fourth transmission channel of the target PCIE device, the third transmission channel is a transmission channel for transmitting management data of the target PCIE device by default, and the fourth transmission channel is a transmission channel for transmitting the service data of the server of the target PCIE device by default, and efficiency of transmitting the service data includes at least one of: the bandwidth of a transmission channel for transmitting the service data and the speed for transmitting the service data.
In an exemplary embodiment, the adjusting the transmission channel for transmitting the management data from the first transmission channel to the third transmission channel according to the initial configuration information includes: disconnecting the first transmission channel from the second transmission channel; and connecting the second transmission channel with the third transmission channel.
In an exemplary embodiment, the adjusting the performance parameter of the second transmission channel includes: acquiring a first performance parameter of the fourth transmission channel from the initial configuration information; and adjusting the performance parameters of the second transmission channel to the second performance parameters matched with the first performance parameters, so that the efficiency of the adjusted second transmission channel for transmitting the service data is consistent with the efficiency of the fourth transmission channel for transmitting the service data.
In an exemplary embodiment, the adjusting the performance parameter of the second transmission channel to a second performance parameter matching the first performance parameter includes: acquiring a control instruction, wherein the control instruction carries the first performance parameter, and the control instruction is used for adjusting the transmission parameter of the second transmission channel; and responding to the control instruction, and adjusting the performance parameters of the second transmission channel to the second performance parameters matched with the first performance parameters by running Basic Input Output System (BIOS) codes.
In an exemplary embodiment, the adjusting the performance parameter of the second transmission channel to a second performance parameter matching the first performance parameter includes at least one of: adjusting the bandwidth of the second transmission channel to the initial bandwidth in the case that the first performance parameter includes the initial bandwidth of the fourth transmission channel; and adjusting the speed of the second transmission channel for transmitting the service data to the initial speed under the condition that the first performance parameter comprises the initial speed of the fourth transmission channel for transmitting the service data.
In an exemplary embodiment, before said adjusting the transmission channel for transmitting the management data from the first transmission channel to the third transmission channel according to the initial configuration information, and adjusting the performance parameter of the second transmission channel, the method further includes: acquiring an identifier of an initial port where the target PCIE equipment is located, an identifier of the third transmission channel and an identifier of the fourth transmission channel from the initial configuration information; the identification of the current port where the target PCIE equipment is located, the identification of the first transmission channel and the identification of the second transmission channel are obtained from the current configuration information; comparing the identification of the initial port with the identification of the current port, the identification of the third transmission channel with the identification of the first transmission channel, and the identification of the fourth transmission channel with the identification of the second transmission channel; and determining that the current configuration information is inconsistent with the initial configuration information under the condition that the identification of the initial port is different from the identification of the current port, or the identification of the third transmission channel is different from the identification of the first transmission channel, or the identification of the fourth transmission channel is different from the identification of the second transmission channel.
In an exemplary embodiment, after said adjusting the transmission channel for transmitting the management data from the first transmission channel to a third transmission channel according to the initial configuration information, and adjusting the performance parameter of the second transmission channel, the method further includes: updating the initial configuration information by using the identifier of the third transmission channel, the identifier of the second transmission channel, the second performance parameter and the identifier of the current port where the target PCIE equipment is located, so as to obtain updated configuration information; acquiring configuration information of the target PCIE equipment; and under the condition that the configuration information of the target PCIE device is inconsistent with the updated configuration information, adjusting a transmission channel for transmitting the management data from a fifth transmission channel to the third transmission channel according to the updated configuration information, and adjusting performance parameters of a sixth transmission channel so that the efficiency of transmitting the service data by the sixth transmission channel after adjustment is consistent with the efficiency of transmitting the service data by the second transmission channel, wherein the configuration information of the target PCIE device comprises an identifier of the fifth transmission channel and an identifier of the sixth transmission channel of the target PCIE device, and the fifth transmission channel is a transmission channel for transmitting the management data of the target PCIE device at present, and the sixth transmission channel is a transmission channel for transmitting the service data of the server of the target PCIE device at present.
According to another embodiment of the present application, there is provided a control device for a transmission channel, including: the first acquisition module is used for acquiring current configuration information of a target high-speed serial computer expansion bus standard PCIE device on a server, wherein the current configuration information comprises an identifier of a first transmission channel of the target PCIE device and an identifier of a second transmission channel, the first transmission channel is a transmission channel for transmitting management data of the target PCIE device at present, and the second transmission channel is a transmission channel for transmitting service data of the server of the target PCIE device at present;
the first adjusting module is configured to adjust, according to the initial configuration information, a transmission channel for transmitting the management data from the first transmission channel to a third transmission channel and adjust performance parameters of the second transmission channel so that efficiency of transmitting the service data by the adjusted second transmission channel is consistent with efficiency of transmitting the service data by a fourth transmission channel, where the initial configuration information includes an identifier of the third transmission channel and an identifier of the fourth transmission channel of the target PCIE device, the third transmission channel is a transmission channel for transmitting management data of the target PCIE device by default, and the fourth transmission channel is a transmission channel for transmitting the service data of the server of the target PCIE device by default, and the efficiency of transmitting the service data includes at least one of: the bandwidth of a transmission channel for transmitting the service data and the speed for transmitting the service data.
According to a further embodiment of the present application, there is also provided a computer readable storage medium having stored therein a computer program, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
According to a further embodiment of the present application, there is also provided an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
According to the embodiment of the application, under the condition that the PCIE equipment is changed, the transmission channels for transmitting the management data of the PCIE equipment and the service data of the server of the PCIE equipment are changed, and under the condition, the transmission channel for transmitting the management data of the PCIE equipment at present can be adjusted to the transmission channel for transmitting the management data of the PCIE equipment by default, and the performance parameters of the transmission channel for transmitting the service data of the server of the PCIE equipment at present are adjusted, so that the efficiency of transmitting the service data of the transmission channel for transmitting the service data of the server of the PCIE equipment at present after adjustment is consistent with the efficiency of transmitting the service data of the transmission channel for transmitting the service data of the server of the PCIE equipment by default. By the mode, the situation that a transmission channel for transmitting management data and service data of PCIE equipment is required to be developed again under the condition that the PCIE equipment is changed is avoided. Therefore, the problem that the efficiency of the improvement of the PCIE equipment is low can be solved, and the effect of improving the efficiency of the improvement of the PCIE equipment is achieved.
Drawings
Fig. 1 is a hardware block diagram of a mobile terminal of a control method of a transmission channel according to an embodiment of the present application;
fig. 2 is a schematic diagram of a PCIE device reconfiguration according to an embodiment of the present application;
fig. 3 is a schematic diagram of a change of a transmission channel of a PCIE device after the PCIE device is configured according to an embodiment of the present application;
fig. 4 is a flowchart of control of a transmission channel according to an embodiment of the present application;
fig. 5 is a schematic diagram of adjusting a transmission channel of a PCIE device according to an embodiment of the present application;
fig. 6 is a block diagram of a control device of a transmission channel according to an embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in detail below with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and the claims of the embodiments of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be performed in a mobile terminal, a computer terminal or similar computing device. Taking the mobile terminal as an example, fig. 1 is a block diagram of a hardware structure of the mobile terminal according to a control method of a transmission channel according to an embodiment of the present application. As shown in fig. 1, a mobile terminal may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the structure shown in fig. 1 is merely illustrative and not limiting of the structure of the mobile terminal described above. For example, the mobile terminal may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1.
The memory 104 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to a control method of a transmission channel in the embodiment of the present application, and the processor 102 executes the computer program stored in the memory 104, thereby performing various functional applications and data processing, that is, implementing the above-mentioned method. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located relative to the processor 102, which may be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is configured to communicate with the internet wirelessly.
Fig. 2 is a schematic diagram of a modification of PCIE device according to an embodiment of the present application, as shown in fig. 2, a server back window generally has multiple PCIE device installation slots (including, but not limited to, a PCIE plug 1, a PCIE plug 2, a PCIE plug 3, a PCIE plug 4, a PCIE plug 5, and a PCIE plug 6), which can support PCIE devices with various specifications and sizes such as full-length, half-height, and half-factory. The server back window further comprises a plurality of hard disks, two PSUs (power supply unit, power supply devices) and a back window IO (Input Output) interface (which may include, but is not limited to, a network port, a USB interface, a key, etc.).
The application scenario of the control method of the transmission channel in the embodiment of the present application may be explained and illustrated by, but not limited to, the case where the position of the PCIE device 1 on the server changes, and may be applicable to the embodiment of the present application. PCIE equipment 1 is originally installed on slot 1, because of business requirement needs to increase PCIE equipment 2, because reasons such as size, business requirement, PCIE equipment 2 need install on slot 1 and slot 2's position, then original PCIE equipment 1 need move to slot 4 position. In such a case, the PCIE device 1 is reconfigured.
In general, a PCIE device has two main signals, one is a PCIE signal, and transmits service data; one is a sideband signal (I2C (two-wire serial bus, inter-Integrated Circuit)) to transmit control and management signals. Fig. 3 is a schematic diagram of a change of a transmission channel of a PCIE device after the PCIE device is configured according to an embodiment of the present application, as shown in fig. 3, in a case where PCIE device 1 is not configured, PCIE device 1 installed on PCIE slot 1 may transmit service data of a server of the PCIE device through a pcie_1 channel; PCIE device 1 may transmit management data of PCIE device 1 between the i2c_1 channel and the BMC. The PCIE device 2 installed on the PCIE slot 2 may transmit service data of a server of the PCIE device 2 through a pcie_2 channel, and the PCIE device 2 may transmit management data of the PCIE device 2 between the i2c_2 channel and the BMC. The PCIE device 3 installed on the PCIE slot 3 may transmit service data of a server of the PCIE device 3 through a pcie_3 channel, and the PCIE device 3 may transmit management data of the PCIE device 3 between the i2c_3 channel and the BMC. The PCIE device 4 installed on the PCIE slot 4 may transmit service data of a server of the PCIE device 4 through a pcie_4 channel, and the PCIE device 4 may transmit management data of the PCIE device 4 between the i2c_4 channel and the BMC.
In the case where the PCIE device 1 is reconfigured, for example: the PCIE device 1 is instead installed on the PCIE slot 1 and installed on the PCIE slot 4, in this case, since the motherboard of the server is unchanged, the PCIE device 1 uses the pcie_4 channel on the CPU to perform service data communication with the motherboard of the server, and the i2c_4 channel performs management data communication with the BMC.
Compared with the prior art, the Pcie_4 bus and the I2C_4 bus need to be developed specifically for the functions of the Pcie equipment 1, and the whole change work can be completed after the test passes the upgrade server. According to the embodiment of the application, the transmission channel i2c_4 for currently transmitting the management data of the PCIE device 1 can be adjusted to the transmission channel i2c_1 for transmitting the management data of the PCIE device 1 by default, and the performance parameters of the transmission channel pcie_4 for currently transmitting the service data of the server of the PCIE device 1 are adjusted, so that the efficiency of transmitting the service data by the adjusted transmission channel pcie_4 for currently transmitting the service data of the server of the PCIE device 1 is consistent with the efficiency of transmitting the service data by default by the transmission channel pcie_1 for transmitting the service data of the server of the PCIE device 1. By the mode, the situation that the management data and the service data of the PCIE equipment need to be developed again under the condition that the PCIE equipment is changed is avoided, and the efficiency of the changing is greatly improved.
In this embodiment, a method for controlling a transmission channel running in the mobile terminal is provided, and fig. 4 is a flowchart of control of the transmission channel according to an embodiment of the present application, as shown in fig. 4, where the flowchart includes the following steps:
step S402, current configuration information of a target high-speed serial computer expansion bus standard PCIE device on a server is obtained, wherein the current configuration information comprises an identifier of a first transmission channel of the target PCIE device and an identifier of a second transmission channel, the first transmission channel is a transmission channel for transmitting management data of the target PCIE device at present, and the second transmission channel is a transmission channel for transmitting service data of the server of the target PCIE device at present;
step S404, when the current configuration information is inconsistent with the initial configuration information corresponding to the target PCIE device, adjusting, according to the initial configuration information, a transmission channel for transmitting the management data from the first transmission channel to a third transmission channel, and adjusting performance parameters of the second transmission channel, so that efficiency of transmitting the service data by the adjusted second transmission channel is consistent with efficiency of transmitting the service data by a fourth transmission channel, where the initial configuration information includes an identifier of the third transmission channel and an identifier of the fourth transmission channel of the target PCIE device, the third transmission channel is a transmission channel for transmitting management data of the target PCIE device by default, and the fourth transmission channel is a transmission channel for transmitting service data of the server of the target PCIE device by default, and efficiency of transmitting the service data includes at least one of: the bandwidth of a transmission channel for transmitting the service data and the speed for transmitting the service data.
Through the steps, under the condition that the PCIE device is changed, the transmission channels for transmitting the management data of the PCIE device and the service data of the server of the PCIE device are changed, and under the condition, the transmission channel for transmitting the management data of the PCIE device currently can be adjusted to the transmission channel for transmitting the management data of the PCIE device by default, and the performance parameters of the transmission channel for transmitting the service data of the server of the PCIE device currently are adjusted, so that the efficiency of transmitting the service data by the adjusted transmission channel for transmitting the service data of the server of the PCIE device currently is consistent with the efficiency of transmitting the service data by the transmission channel for transmitting the service data of the server of the PCIE device by default. By the mode, the situation that a transmission channel for transmitting management data and service data of PCIE equipment is required to be developed again under the condition that the PCIE equipment is changed is avoided. Therefore, the problem that the efficiency of the improvement of the PCIE equipment is low can be solved, and the effect of improving the efficiency of the improvement of the PCIE equipment is achieved.
The main execution body of the above steps may be a terminal, but is not limited thereto.
The execution order of step S402 and step S404 may be interchanged, i.e. step S404 may be executed first and then step S402 may be executed.
In the technical solution provided in step S402, the server may be but not limited to be configured with one or more PCIE (peripheral component interconnect express) devices, each PCIE device may be but not limited to have corresponding configuration information, and it may be understood that each PCIE device may be but not limited to have a corresponding transmission channel for transmitting management data of the PCIE device, and a transmission channel for transmitting service data of the server of the PCIE device.
Alternatively, in this embodiment, transmission channels corresponding to different PCIE devices for transmitting service data of servers of PCIE devices may, but are not limited to, satisfy PCIE protocols and the like.
Alternatively, in this embodiment, the management data of the target PCIE device may, but not limited to, include an operating temperature, a memory usage rate, and the like of the target PCIE device, and the service data of the server of the target PCIE device may, but not limited to, include service data of a server transmitted through the target PCIE device, and the like.
In the technical solution provided in step S404, in the case that the current configuration information is inconsistent with the initial configuration information corresponding to the target PCIE device, it may indicate that the target PCIE device has been changed, that is, the transmission channel for transmitting the service data of the server of the target PCIE device and the transmission channel for transmitting the management data of the target PCIE device have been changed, and in this case, the first transmission channel for transmitting the management data of the target PCIE device currently may be adjusted to the default third transmission channel, and the performance parameters of the second transmission channel may be adjusted. By the mode, the transmission channel for transmitting the management data of the target PCIE equipment and the transmission channel for transmitting the service data of the server of the target PCIE equipment are prevented from being redeveloped and improved, and the efficiency of the modification is greatly improved.
Alternatively, in this embodiment, the third transmission channel for transmitting the management data of the target PCIE device by default may, but is not limited to, allow the target PCIE device to use, and other PCIE devices except the target PCIE device cannot use the third transmission channel.
Optionally, in this embodiment, in the case that the target PCIE device is changed, performance parameters of the second transmission channel may be, but are not limited to, adjusted, so that the efficiency of the adjusted second transmission channel in transmitting the service data of the server of the target PCIE device is consistent with that of the fourth transmission channel.
In one exemplary embodiment, the transmission channel for transmitting the management data may be adjusted from the first transmission channel to a third transmission channel by, but not limited to: disconnecting the first transmission channel from the second transmission channel; and connecting the second transmission channel with the third transmission channel.
Optionally, in this embodiment, before the reconfiguration is performed, the third transmission channel and the fourth transmission channel of the target PCIE device are connected, after the reconfiguration is performed, the channel for transmitting management data of the target PCIE device becomes the first transmission channel, the transmission channel for transmitting service data of the server of the target PCIE device becomes the second transmission channel, and the first transmission channel and the second transmission channel are connected, in this case, connection between the first transmission channel and the second transmission channel may be disconnected, and then the second transmission channel and the third transmission channel may be connected. By the mode, development and adaptation of the first transmission channel aiming at the target PCIE equipment are avoided, development workload is greatly reduced, and efficiency of the adaptation is improved.
In one exemplary embodiment, the performance parameters of the second transmission channel may be, but are not limited to, adjusted by: acquiring a first performance parameter of the fourth transmission channel from the initial configuration information; and adjusting the performance parameters of the second transmission channel to the second performance parameters matched with the first performance parameters, so that the efficiency of the adjusted second transmission channel for transmitting the service data is consistent with the efficiency of the fourth transmission channel for transmitting the service data.
Optionally, in this embodiment, the second transmission channel and the fourth transmission channel may not be limited to each satisfying the same transmission protocol (for example, PCIE protocol), and in this case, the performance parameter of the second transmission channel may not be limited to the first performance parameter of the fourth transmission channel, so that the adjusted efficiency of transmitting the service data of the server by the second transmission channel and the adjusted efficiency of transmitting the service data of the server by the fourth transmission channel are consistent.
In one exemplary embodiment, the performance parameters of the second transmission channel may be adjusted to a second performance parameter that matches the first performance parameter by, but is not limited to: acquiring a control instruction, wherein the control instruction carries the first performance parameter, and the control instruction is used for adjusting the transmission parameter of the second transmission channel; and responding to the control instruction, and adjusting the performance parameters of the second transmission channel to the second performance parameters matched with the first performance parameters by running Basic Input Output System (BIOS) codes.
Alternatively, in this embodiment, where the performance parameters of the second transmission channel need to be adjusted, the bios BIOS (Basic Input Output System) code may be run to adjust the performance parameters of the second transmission channel to the second performance parameters matching the first performance parameters.
In one exemplary embodiment, the performance parameter of the second transmission channel may be adjusted to a second performance parameter that matches the first performance parameter by at least one of:
in one aspect, when the first performance parameter includes an initial bandwidth of the fourth transmission channel, the bandwidth of the second transmission channel is adjusted to the initial bandwidth.
Optionally, in this embodiment, when the first performance parameter includes an initial bandwidth of the fourth transmission channel, the bandwidth included in the performance parameter of the second transmission channel is adjusted to the initial bandwidth, so that the second transmission channel and the fourth transmission channel have the same performance parameter, and the transmission requirement of the service data of the target PCIE device is satisfied.
In a second mode, when the first performance parameter includes an initial speed at which the fourth transmission channel transmits the service data, the speed at which the second transmission channel transmits the service data is adjusted to the initial speed.
Optionally, in this embodiment, in a case where the first performance parameter includes an initial speed at which the fourth transmission channel transmits service data, the speed of the transmission service data included in the performance parameter of the second transmission channel is adjusted to the initial speed, so that the adaptation between the performance parameter of the second transmission channel and the performance parameter of the fourth transmission channel is achieved.
In order to better understand the control method of the transmission channel in the embodiment of the present application, the following explanation and explanation of the process of controlling the transmission channel in the embodiment of the present application in conjunction with the alternative embodiment may be, but not limited to, applicable to the embodiment of the present application.
Fig. 5 is a schematic diagram of adjusting a transmission channel of a PCIE device according to an embodiment of the present application, as shown in fig. 5, I2C management links slot_ic1 to slot_i2c4 on a PCIE Slot are connected to an I2C switching module, and bmc_i2c1 to bmc_i2c4 of a BMC are also connected to the I2C switching module. In the case of no reconfiguration, the slot_i2c1 is connected to the bmc_i2c1, and so on, the slots_ic2 to slot_ic4 are connected to the bmc_i2c2 to bmc_i2c4 in sequence, respectively.
In detail, the Pcie device 1 installed on the Pcie Slot 1 transmits service data of a server of the Pcie device 1 through the slot_ic1, and the Pcie device 1 transmits management data of the Pcie device 1 to the BMC through the bmc_i2c1, where the slot_i2c1 is connected to the bmc_i2c1. The Pcie device 2 installed on the Pcie Slot 2 transmits service data of a server of the Pcie device 2 through the slot_IC2, the Pcie device 2 transmits management data of the Pcie device 2 to the BMC through the BMC_I2C2, and the slot_I2C2 is connected with the BMC_I2C2. The Pcie device 3 installed on the Pcie Slot 3 transmits service data of a server of the Pcie device 3 through the slot_IC3, the Pcie device 3 transmits management data of the Pcie device 3 to the BMC through the BMC_I2C3, and the slot_I2C3 is connected with the BMC_I2C3. The Pcie device 4 installed on the Pcie Slot 4 transmits service data of a server of the Pcie device 4 through the slot_IC4, the Pcie device 4 transmits management data of the Pcie device 4 to the BMC through the BMC_I2C4, and the slot_I2C4 is connected with the BMC_I2C4.
The function of the I2C switching module is to connect the left slot_I2C with the right BMC_I2C at will under the control command of the control unit. For example, in the case of no reconfiguration, the pcie device 1 is installed on the Slot 1, and the slot_i2c1 is connected to the bmc_i2c1; in the event of a reconfiguration, the pcie device 1 is mounted on the Slot 4 instead of the Slot 1, in which case the control unit issues an instruction to connect slot_i2c4 with bmc_i2c1. In this way, although the location of the Pcie device 1 changes, for the BMC, the device on the bmc_i2c1 management bus is still the Pcie device 1 and is unchanged, so that after the Pcie device 1 is changed, a transmission channel for transmitting management data of the Pcie device 1 does not need to be subjected to adaptation development, and thus the workload of the adaptation development is greatly reduced.
After the PCIE device 1 is adapted, in addition to the transmission channel for transmitting the management data of the PCIE device 1, the transmission channel for transmitting the service data of the server of the PCIE device 1 needs to be adapted. After the PCIE device 1 is modified, the pce device 1 is changed from the original pce_1 bus on the CPU to the pce_4 bus, that is, a transmission channel for transmitting service data of the server of the PCIE device 1 is changed from slot_ic1 to slot_ic4.
In such a case, the BIOS needs to configure the bandwidth of the pcie_4 bus to the bandwidth required by the Pcie device 1 (i.e., configure the bandwidth of the slot_ic4 to the bandwidth of the slot_ic1), in which case the BMC obtains the Pcie device 1 information (i.e., the initial configuration information described above) mounted on the channel through the I2C management channel, thereby knowing the bandwidth required by the Pcie device 1, and then sends a command (i.e., the control instruction described above) to the control unit through the bmc_i2c_ctrl, which sets the bandwidth required by the Pcie device 1 in the register in the bandwidth ID unit. The BIOS acquires the bandwidth required by the pcie device 1 through the IO Switch, and then sets the bandwidth of the pcie_4 bus to the bandwidth of the pcie_1 bus. By the mode, the adaptation between transmission channels for transmitting the service data of the server by the software developer through manual identification and configuration is avoided, and the efficiency of adapting the transmission channels is greatly improved.
The control unit is used for receiving a command sent by the BMC through the BMC_I2C_Ctrl, and then switching an I2C link (namely a transmission channel for transmitting management data of the pcie device) of the pcie device in the BMC_I2C_SW control system or setting the bandwidth of a pcie bus (namely a transmission channel for transmitting service data of a server of the pcie device) corresponding to the pcie device through the BMC_I2C_IO so that the BIOS obtains the bandwidth information of the pcie device.
In one exemplary embodiment, the current configuration information may be determined to be inconsistent with the initial configuration information by, but not limited to: acquiring an identifier of an initial port where the target PCIE equipment is located, an identifier of the third transmission channel and an identifier of the fourth transmission channel from the initial configuration information; the identification of the current port where the target PCIE equipment is located, the identification of the first transmission channel and the identification of the second transmission channel are obtained from the current configuration information; comparing the identification of the initial port with the identification of the current port, the identification of the third transmission channel with the identification of the first transmission channel, and the identification of the fourth transmission channel with the identification of the second transmission channel; and determining that the current configuration information is inconsistent with the initial configuration information under the condition that the identification of the initial port is different from the identification of the current port, or the identification of the third transmission channel is different from the identification of the first transmission channel, or the identification of the fourth transmission channel is different from the identification of the second transmission channel.
Optionally, in this embodiment, the identification of the port where the PCIE device is located may, but is not limited to, include a name, a code, a character, or the like of the port where the PCIE device is located; the identification of the transmission channel for transmitting the management data of the PCIE device may be, but not limited to, a name, a code, a character, or the like of the transmission channel including the management data of the PCIE device; the identification of the transmission channel for transmitting the service data of the server of the PCIE device may be, but is not limited to, a name of the transmission channel including the management data of the PCIE device, or a code or character, etc.
Optionally, in this embodiment, in a case where it is determined that the current configuration information is inconsistent with the initial configuration information, it may indicate that the target PCIE device is configured.
In one exemplary embodiment, in the case where the second reconfiguration of the target PCIE device is required, the transmission channel of the target PCIE device may be adjusted, but is not limited to, by: updating the initial configuration information by using the identifier of the third transmission channel, the identifier of the second transmission channel, the second performance parameter and the identifier of the current port where the target PCIE equipment is located, so as to obtain updated configuration information; acquiring configuration information of the target PCIE equipment; and under the condition that the configuration information of the target PCIE device is inconsistent with the updated configuration information, adjusting a transmission channel for transmitting the management data from a fifth transmission channel to the third transmission channel according to the updated configuration information, and adjusting performance parameters of a sixth transmission channel so that the efficiency of transmitting the service data by the sixth transmission channel after adjustment is consistent with the efficiency of transmitting the service data by the second transmission channel, wherein the configuration information of the target PCIE device comprises an identifier of the fifth transmission channel and an identifier of the sixth transmission channel of the target PCIE device, and the fifth transmission channel is a transmission channel for transmitting the management data of the target PCIE device at present, and the sixth transmission channel is a transmission channel for transmitting the service data of the server of the target PCIE device at present.
Optionally, in this embodiment, after the target PCIE device is configured once, the initial configuration information may be updated by using the identifier of the third transmission channel, the identifier of the second transmission channel, the second performance parameter, and the identifier of the current port where the target PCIE device is located, so as to obtain updated configuration information.
Alternatively, in this embodiment, the identifier of the transmission channel for transmitting the management data of the target PCIE device after the current reconfiguration is completed, the identifier of the transmission channel for transmitting the traffic data of the server of the target PCIE device, and the performance parameter of the transmission channel for transmitting the traffic data of the server of the target PCIE device may be used, but are not limited to, updating the identifier of the transmission channel for transmitting the management data of the target PCIE device after the previous reconfiguration is completed, the identifier of the transmission channel for transmitting the traffic data of the server of the target PCIE device, and the performance parameter of the transmission channel for transmitting the traffic data of the server of the target PCIE device.
Optionally, in this embodiment, after the target PCIE device is subjected to the first reconfiguration, if the target PCIE device is also subjected to the second reconfiguration, in this case, according to the identifier of the third transmission channel, the identifier of the second transmission channel, and the second performance parameter included in the updated current configuration information, the fifth transmission channel in the configuration information of the target PCIE device after the second reconfiguration may be adjusted to the third transmission channel, and the performance parameter of the sixth transmission channel in the configuration information of the target PCIE device after the second reconfiguration may be adjusted, so that the efficiency of the sixth transmission channel for transmitting the service data of the server of the target PCIE device and the efficiency of the second transmission channel for transmitting the service data of the server of the target PCIE device are consistent.
In order to better understand the control method of the transmission channel in the embodiment of the present application, the following description and the description of the control method of the transmission channel in the embodiment of the present application are provided in connection with an alternative embodiment, which may be, but not limited to, applicable to the embodiment of the present application.
Step 1: when the device is started up and initialized for the first time, the BMC acquires the information of each Pcie device on each Pcie slot, namely, knows which Pcie device is installed on each Pcie slot, which Pcie bus (namely, a transmission channel for transmitting service data of a server of the Pcie device) is used, which I2C management link (namely, a transmission channel for transmitting management data of the Pcie device) and the like (namely, initial configuration information). These information formation maps may be stored in, but are not limited to, a flash chip.
Step 2: each time the BMC is started later, each piece of Pcie equipment information (namely current configuration information) on each piece of Pcie slot position is obtained, the obtained information (namely the current configuration information) is compared with the information in initialization (namely initial configuration information), if the obtained information and the information are consistent, the situation that the Pcie equipment is not changed can be indicated, and the current situation is kept without action. And if the two are inconsistent, the pcie equipment is considered to be modified, and the next software adaptation work is carried out.
Step 3: the BMC acquires a new I2C management channel of the changed Pcie equipment (namely, a transmission channel currently used for transmitting management data of the Pcie equipment), and switches the management channel of the changed Pcie equipment to an original channel (namely, a transmission channel for transmitting the management data of the Pcie equipment by default) in initialization by using the I2C Switch through the control unit, so that the I2C management channel of the Pcie equipment is kept unchanged under the condition of changing the position of the Pcie equipment.
Step 4: the BMC acquires at least one of the Pcie bandwidth information (namely the bandwidth included in the first performance parameter) of the modified Pcie equipment or the transmission speed information (namely the speed of the transmission service data transmission channel) of the modified Pcie equipment, and transmits the bandwidth information of the new Pcie bus or at least one of the transmission speed information of the modified Pcie equipment to the BIOS through the control unit so as to enable the BIOS to perform corresponding setting.
Step 5: and (3) completing software adaptation work of the system after the steps 1 to 4, restarting the BMC control system, and enabling the new setting to be effective. And (2) repeating the step (1) to refresh the Pcie equipment information (namely updating configuration information) on the changed Pcie slot position into a mapping list in the flash chip again, so as to prepare for the next change.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or portions contributing to the prior art may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiment also provides a control device for a transmission channel, which is used for implementing the foregoing embodiments and preferred embodiments, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 6 is a block diagram of a control device for a transmission channel according to an embodiment of the present application, as shown in fig. 6, the device includes:
a first obtaining module 602, configured to obtain current configuration information of a target high-speed serial computer expansion bus standard PCIE device on a server, where the current configuration information includes an identifier of a first transmission channel of the target PCIE device and an identifier of a second transmission channel, where the first transmission channel is a transmission channel for currently transmitting management data of the target PCIE device, and the second transmission channel is a transmission channel for currently transmitting service data of the server of the target PCIE device;
a first adjusting module 604, configured to adjust, according to the initial configuration information, a transmission channel for transmitting the management data from the first transmission channel to a third transmission channel and adjust performance parameters of the second transmission channel, so that efficiency of transmitting the service data by the adjusted second transmission channel is consistent with efficiency of transmitting the service data by a fourth transmission channel, where the initial configuration information includes an identifier of the third transmission channel and an identifier of the fourth transmission channel of the target PCIE device, the third transmission channel is a transmission channel for transmitting management data of the target PCIE device by default, and the fourth transmission channel is a transmission channel for transmitting the service data of the server of the target PCIE device by default, and the efficiency of transmitting the service data includes at least one of: the bandwidth of a transmission channel for transmitting the service data and the speed for transmitting the service data.
According to the embodiment of the application, under the condition that the PCIE equipment is changed, the transmission channels for transmitting the management data of the PCIE equipment and the service data of the server of the PCIE equipment are changed, and under the condition, the transmission channel for transmitting the management data of the PCIE equipment at present can be adjusted to the transmission channel for transmitting the management data of the PCIE equipment by default, and the performance parameters of the transmission channel for transmitting the service data of the server of the PCIE equipment at present are adjusted, so that the efficiency of transmitting the service data of the transmission channel for transmitting the service data of the server of the PCIE equipment at present after adjustment is consistent with the efficiency of transmitting the service data of the transmission channel for transmitting the service data of the server of the PCIE equipment by default. By the mode, the situation that a transmission channel for transmitting management data and service data of PCIE equipment is required to be developed again under the condition that the PCIE equipment is changed is avoided. Therefore, the problem that the efficiency of the improvement of the PCIE equipment is low can be solved, and the effect of improving the efficiency of the improvement of the PCIE equipment is achieved.
In one exemplary embodiment, the first adjustment module includes:
a disconnection unit configured to disconnect the connection between the first transmission channel and the second transmission channel;
And the connection unit is used for connecting the second transmission channel with the third transmission channel.
In one exemplary embodiment, the first adjustment module includes:
an obtaining unit, configured to obtain a first performance parameter of the fourth transmission channel from the initial configuration information;
and the adjusting unit is used for adjusting the performance parameters of the second transmission channel to the second performance parameters matched with the first performance parameters, so that the efficiency of the adjusted second transmission channel for transmitting the service data is consistent with the efficiency of the fourth transmission channel for transmitting the service data.
In an exemplary embodiment, the adjusting unit is configured to:
acquiring a control instruction, wherein the control instruction carries the first performance parameter, and the control instruction is used for adjusting the transmission parameter of the second transmission channel;
and responding to the control instruction, and adjusting the performance parameters of the second transmission channel to the second performance parameters matched with the first performance parameters by running Basic Input Output System (BIOS) codes.
In an exemplary embodiment, the adjusting unit is configured to at least one of:
Adjusting the bandwidth of the second transmission channel to the initial bandwidth in the case that the first performance parameter includes the initial bandwidth of the fourth transmission channel;
and adjusting the speed of the second transmission channel for transmitting the service data to the initial speed under the condition that the first performance parameter comprises the initial speed of the fourth transmission channel for transmitting the service data.
In one exemplary embodiment, the apparatus further comprises:
the second obtaining module is configured to obtain, from the initial configuration information, an identifier of an initial port where the target PCIE device is located, an identifier of the third transmission channel, and an identifier of the fourth transmission channel before the transmission channel for transmitting the management data is adjusted from the first transmission channel to the third transmission channel according to the initial configuration information and before performance parameters of the second transmission channel are adjusted; the identification of the current port where the target PCIE equipment is located, the identification of the first transmission channel and the identification of the second transmission channel are obtained from the current configuration information;
a comparison module, configured to compare the identifier of the initial port with the identifier of the current port, the identifier of the third transmission channel with the identifier of the first transmission channel, and the identifier of the fourth transmission channel with the identifier of the second transmission channel;
A determining module, configured to determine that the current configuration information is inconsistent with the initial configuration information when the identifier of the initial port is different from the identifier of the current port, or the identifier of the third transmission channel is different from the identifier of the first transmission channel, or the identifier of the fourth transmission channel is different from the identifier of the second transmission channel.
In one exemplary embodiment, the apparatus further comprises:
the updating module is configured to update the initial configuration information by using an identifier of the third transmission channel, an identifier of the second transmission channel, a second performance parameter, and an identifier of a current port where the target PCIE device is located after the transmission channel for transmitting the management data is adjusted from the first transmission channel to the third transmission channel and the performance parameter of the second transmission channel is adjusted according to the initial configuration information, so as to obtain updated configuration information;
a third obtaining module, configured to obtain configuration information of the target PCIE device;
and the second adjusting module is configured to adjust, according to the update configuration information, a transmission channel for transmitting the management data from a fifth transmission channel to the third transmission channel and adjust performance parameters of a sixth transmission channel so that efficiency of transmitting the service data by the adjusted sixth transmission channel is consistent with that of transmitting the service data by the second transmission channel, where the configuration information of the target PCIE device includes an identifier of the fifth transmission channel and an identifier of the sixth transmission channel of the target PCIE device, and the fifth transmission channel is a transmission channel for currently transmitting the management data of the target PCIE device, and the sixth transmission channel is a transmission channel for currently transmitting the service data of the server of the target PCIE device.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
Embodiments of the present application also provide a computer readable storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
In one exemplary embodiment, the computer readable storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
Embodiments of the present application also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
In an exemplary embodiment, the electronic apparatus may further include a transmission device connected to the processor, and an input/output device connected to the processor.
Specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the exemplary implementation, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the embodiments of the application described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than what is shown or described, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps of them may be fabricated into a single integrated circuit module. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the embodiments of the present application, but rather, various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principles of the embodiments of the present application should be included in the protection scope of the embodiments of the present application.

Claims (10)

1. A method for controlling a transmission channel, comprising:
acquiring current configuration information of a target high-speed serial computer expansion bus standard PCIE device on a server, wherein the current configuration information comprises an identifier of a first transmission channel of the target PCIE device and an identifier of a second transmission channel, the first transmission channel is a transmission channel for transmitting management data of the target PCIE device at present, and the second transmission channel is a transmission channel for transmitting service data of the server of the target PCIE device at present;
when the current configuration information is inconsistent with initial configuration information corresponding to the target PCIE device, according to the initial configuration information, a transmission channel for transmitting the management data is adjusted from the first transmission channel to a third transmission channel, and performance parameters of the second transmission channel are adjusted, so that efficiency of transmitting the service data by the adjusted second transmission channel is consistent with efficiency of transmitting the service data by a fourth transmission channel, wherein the initial configuration information includes an identifier of the third transmission channel and an identifier of the fourth transmission channel of the target PCIE device, the third transmission channel is a transmission channel for transmitting management data of the target PCIE device by default, and the fourth transmission channel is a transmission channel for transmitting the service data of the server of the target PCIE device by default, and efficiency of transmitting the service data includes at least one of: the bandwidth of a transmission channel for transmitting the service data and the speed for transmitting the service data.
2. The method of claim 1, wherein adjusting the transmission channel for transmitting the management data from the first transmission channel to a third transmission channel according to the initial configuration information comprises:
disconnecting the first transmission channel from the second transmission channel;
and connecting the second transmission channel with the third transmission channel.
3. The method of claim 1, wherein said adjusting the performance parameter of the second transmission channel comprises:
acquiring a first performance parameter of the fourth transmission channel from the initial configuration information;
and adjusting the performance parameters of the second transmission channel to the second performance parameters matched with the first performance parameters, so that the efficiency of the adjusted second transmission channel for transmitting the service data is consistent with the efficiency of the fourth transmission channel for transmitting the service data.
4. A method according to claim 3, wherein said adjusting the performance parameter of the second transmission channel to a second performance parameter that matches the first performance parameter comprises:
acquiring a control instruction, wherein the control instruction carries the first performance parameter, and the control instruction is used for adjusting the transmission parameter of the second transmission channel;
And responding to the control instruction, and adjusting the performance parameters of the second transmission channel to the second performance parameters matched with the first performance parameters by running Basic Input Output System (BIOS) codes.
5. A method according to claim 3, wherein said adjusting the performance parameter of the second transmission channel to a second performance parameter matching the first performance parameter comprises at least one of:
adjusting the bandwidth of the second transmission channel to the initial bandwidth in the case that the first performance parameter includes the initial bandwidth of the fourth transmission channel;
and adjusting the speed of the second transmission channel for transmitting the service data to the initial speed under the condition that the first performance parameter comprises the initial speed of the fourth transmission channel for transmitting the service data.
6. The method of claim 1, wherein before said adjusting the transmission channel for transmitting the management data from the first transmission channel to a third transmission channel according to the initial configuration information, and adjusting the performance parameter of the second transmission channel, the method further comprises:
Acquiring an identifier of an initial port where the target PCIE equipment is located, an identifier of the third transmission channel and an identifier of the fourth transmission channel from the initial configuration information; the identification of the current port where the target PCIE equipment is located, the identification of the first transmission channel and the identification of the second transmission channel are obtained from the current configuration information;
comparing the identification of the initial port with the identification of the current port, the identification of the third transmission channel with the identification of the first transmission channel, and the identification of the fourth transmission channel with the identification of the second transmission channel;
and determining that the current configuration information is inconsistent with the initial configuration information under the condition that the identification of the initial port is different from the identification of the current port, or the identification of the third transmission channel is different from the identification of the first transmission channel, or the identification of the fourth transmission channel is different from the identification of the second transmission channel.
7. The method of claim 1, wherein after said adjusting the transmission channel for transmitting the management data from the first transmission channel to a third transmission channel according to the initial configuration information and adjusting the performance parameter of the second transmission channel, the method further comprises:
Updating the initial configuration information by using the identifier of the third transmission channel, the identifier of the second transmission channel, the second performance parameter and the identifier of the current port where the target PCIE equipment is located, so as to obtain updated configuration information;
acquiring configuration information of the target PCIE equipment;
and under the condition that the configuration information of the target PCIE device is inconsistent with the updated configuration information, adjusting a transmission channel for transmitting the management data from a fifth transmission channel to the third transmission channel according to the updated configuration information, and adjusting performance parameters of a sixth transmission channel so that the efficiency of transmitting the service data by the sixth transmission channel after adjustment is consistent with the efficiency of transmitting the service data by the second transmission channel, wherein the configuration information of the target PCIE device comprises an identifier of the fifth transmission channel and an identifier of the sixth transmission channel of the target PCIE device, and the fifth transmission channel is a transmission channel for transmitting the management data of the target PCIE device at present, and the sixth transmission channel is a transmission channel for transmitting the service data of the server of the target PCIE device at present.
8. A control device of a transmission channel, characterized by comprising:
the first acquisition module is used for acquiring current configuration information of a target high-speed serial computer expansion bus standard PCIE device on a server, wherein the current configuration information comprises an identifier of a first transmission channel of the target PCIE device and an identifier of a second transmission channel, the first transmission channel is a transmission channel for transmitting management data of the target PCIE device at present, and the second transmission channel is a transmission channel for transmitting service data of the server of the target PCIE device at present;
the first adjusting module is configured to adjust, according to the initial configuration information, a transmission channel for transmitting the management data from the first transmission channel to a third transmission channel and adjust performance parameters of the second transmission channel so that efficiency of transmitting the service data by the adjusted second transmission channel is consistent with efficiency of transmitting the service data by a fourth transmission channel, where the initial configuration information includes an identifier of the third transmission channel and an identifier of the fourth transmission channel of the target PCIE device, the third transmission channel is a transmission channel for transmitting management data of the target PCIE device by default, and the fourth transmission channel is a transmission channel for transmitting the service data of the server of the target PCIE device by default, and the efficiency of transmitting the service data includes at least one of: the bandwidth of a transmission channel for transmitting the service data and the speed for transmitting the service data.
9. A computer readable storage medium, characterized in that a computer program is stored in the computer readable storage medium, wherein the computer program, when being executed by a processor, implements the steps of the method according to any of the claims 1 to 7.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of any one of claims 1 to 7 when the computer program is executed.
CN202310264845.0A 2023-03-17 2023-03-17 Control method and device of transmission channel, storage medium and electronic device Pending CN116467238A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310264845.0A CN116467238A (en) 2023-03-17 2023-03-17 Control method and device of transmission channel, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310264845.0A CN116467238A (en) 2023-03-17 2023-03-17 Control method and device of transmission channel, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN116467238A true CN116467238A (en) 2023-07-21

Family

ID=87176142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310264845.0A Pending CN116467238A (en) 2023-03-17 2023-03-17 Control method and device of transmission channel, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN116467238A (en)

Similar Documents

Publication Publication Date Title
US11392417B2 (en) Ultraconverged systems having multiple availability zones
CN104615455B (en) A kind of the IPMC program remote upgrading methods and device of ATCA frameworks
CN107070731B (en) Master-slave arbitration method and system
CN110554943A (en) I3C-based multi-node server CMC management system and method
CN114079615B (en) Application synchronization method, system, medium and electronic equipment in multi-cluster environment
CN103685530A (en) Automatic upgrade control method and system for WLAN current network APs
US9779037B2 (en) Establishing connectivity of modular nodes in a pre-boot environment
CN112073555A (en) Method for configuring IP address, electronic device and computer readable storage medium
CN114064091A (en) OTA (over the air) upgrade control method and device, electronic equipment and automatic driving vehicle
US20150220350A1 (en) Information processing device and method for managing information processing device
CN112511621A (en) Data transmission method and device, storage medium, and electronic device
US11758391B2 (en) User equipment (UE) identification in a wireless communication network
CN116467238A (en) Control method and device of transmission channel, storage medium and electronic device
CN115733729A (en) Communication fault processing method, system and equipment
KR102184507B1 (en) The apparatus of hybrid v2x roadside wquipment using internal multi-communication bus and medium protocol stack connection layer archtecture
KR20150088462A (en) Method for linking network device in cloud environment and apparatus therefor
CN112596763A (en) Method, device and equipment for wireless upgrading of intelligent household equipment
US20200065291A1 (en) Interconnection System, and Interconnection Control Method and Apparatus
CN107454021B (en) Communication method and device
US10977026B2 (en) Data updating system, embedded electronic device and data updating method
CN117978811B (en) Mapping relation determination method and system, storage medium and electronic device
CN115599311B (en) Polarity inversion method and apparatus, storage medium, and electronic apparatus
CN114115955B (en) Method, system, terminal and storage medium for upgrading FPGA firmware of server resource box
CN117997658A (en) Communication method and device and electronic equipment
CN117675792A (en) Network communication method and device, storage medium and electronic equipment

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