CN117312086A - Method, device, equipment and medium for adjusting USB interface of server - Google Patents

Method, device, equipment and medium for adjusting USB interface of server Download PDF

Info

Publication number
CN117312086A
CN117312086A CN202311309530.XA CN202311309530A CN117312086A CN 117312086 A CN117312086 A CN 117312086A CN 202311309530 A CN202311309530 A CN 202311309530A CN 117312086 A CN117312086 A CN 117312086A
Authority
CN
China
Prior art keywords
usb interface
preset
eye pattern
interface
signal
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
CN202311309530.XA
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.)
Hexin Technology Co ltd
Shanghai Hexin Digital Technology Co ltd
Original Assignee
Hexin Technology Co ltd
Shanghai Hexin Digital 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 Hexin Technology Co ltd, Shanghai Hexin Digital Technology Co ltd filed Critical Hexin Technology Co ltd
Priority to CN202311309530.XA priority Critical patent/CN117312086A/en
Publication of CN117312086A publication Critical patent/CN117312086A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3041Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is an input/output interface
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0745Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in an input/output transactions management context
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/079Root cause analysis, i.e. error or fault diagnosis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Information Transfer Systems (AREA)

Abstract

The invention relates to the technical field of USB interface communication, and discloses a method, a device, equipment and a medium for regulating a server USB interface, wherein the method comprises the following steps: monitoring the identification condition of the external equipment of the USB interface, and judging that the interface signal of the USB interface is abnormal when the abnormal condition is identified; on-line adjustment is carried out on preset parameters of the USB interface based on a preset eye pattern tool which is pre-installed in the service system, and an eye pattern signal of the preset eye pattern tool is obtained in the adjustment process; judging whether the interface signals of the USB interface are normal or not under different preset parameters by carrying out quality analysis on the eye diagram signals, and taking the corresponding preset parameters as the operation parameters of the USB interface when the interface signals of the USB interface are normal. According to the invention, the USB interface can be timely and online adjusted when an abnormal condition occurs in the running process of the server, the abnormal interruption of equipment due to long-time running is prevented, and the manpower, time and cost can be reduced.

Description

Method, device, equipment and medium for adjusting USB interface of server
Technical Field
The present invention relates to the field of USB interface communications technologies, and in particular, to a method, an apparatus, a device, and a medium for adjusting a USB interface of a server.
Background
When the USB interface on the server is inserted into the equipment, the equipment is abnormally interrupted due to long-time operation, mainly the signal quality is not good, so that a signal integrity test department is required, a special instrument is required to be used for USB eye diagram test, after the USB eye diagram test is finished, data are given to a developer, and the developer is refilled with BIOS codes according to the data, repacked and compiled, and then used for a customer. Thus, a lot of time is consumed, the cost is increased, and the manpower is increased.
Disclosure of Invention
In view of this, the present invention provides a method, device, equipment and medium for adjusting a USB interface of a server, so as to solve the problems of low efficiency and high cost of the existing method for adjusting a USB interface.
In a first aspect, the present invention provides a method for adjusting a USB interface of a server, where the method includes:
monitoring the identification condition of a service system of a server on external equipment of the USB interface, and judging that the interface signal of the USB interface is abnormal when the identification condition is abnormal;
on-line adjustment is carried out on preset parameters of the USB interface based on a preset eye pattern tool which is pre-installed in the service system, an eye pattern signal of the preset eye pattern tool is obtained in the adjustment process, and the eye pattern signal is characterized in that the bit results of the serial signals are accumulated, superimposed and displayed in an afterglow mode;
judging whether the interface signals of the USB interface are normal or not under different preset parameters by carrying out quality analysis on the eye diagram signals, and taking the corresponding preset parameters as the operation parameters of the USB interface when the interface signals of the USB interface are normal.
According to the method for adjusting the USB interface of the server, provided by the embodiment of the invention, the identification condition of the external equipment of the USB interface is monitored, when the abnormality is identified, the preset parameters of the USB interface are adjusted on line through the preset eye diagram tool which is pre-installed in the service system, in the adjustment process, whether the interface signal of the USB interface is normal is judged by carrying out quality analysis on the eye diagram signal of the preset eye diagram tool, and when the interface signal is normal, the corresponding preset parameters are used as the operation parameters of the USB interface. According to the invention, the USB interface is adjusted on line through the pre-developed eye diagram tool, so that the USB interface can be adjusted in time when abnormal conditions occur in the running process of the server, abnormal interruption of equipment due to long-time running is prevented, and manpower, time and cost can be reduced.
In an alternative embodiment, the preset parameters include: the ID number of the USB interface and the configuration parameters of the internal registers of the USB interface.
In an alternative embodiment, the configuration parameters include: at least one of a high speed transmission bias parameter, a high speed pre-emphasis bias parameter, and a half-bit pre-emphasis parameter.
The invention can realize the adjustment of the interface signal of the USB interface and improve the quality of the interface signal by adjusting the register parameters of the USB interface in the server, thereby being capable of identifying the external equipment again and preventing the equipment from being abnormally interrupted due to long-time operation.
In an alternative embodiment, the preset eye diagram tool is designed according to the layout structure of the USB interface in the server, and the preset eye diagram tool is used for reading the ID number of the USB interface in the server and the configuration parameters of the internal registers of the USB interface, and obtaining the parameter values adjusted by the user according to the preset parameter adjustment ranges of the configuration parameters.
According to the invention, the eye pattern tool is designed in advance according to the layout structure of the USB interface, and is deployed in the service system, so that the register parameters of the USB interface can be adjusted on line under the running condition of the service system without manual intervention, thereby reducing manpower, time and cost.
In an alternative embodiment, the eye pattern signal is grabbed by an oscilloscope and a corresponding eye pattern is generated.
In an alternative embodiment, the process of determining whether the interface signal of the USB interface is normal under different preset parameters by performing quality analysis on the eye diagram signal includes: if the opening degree of the eye pattern reaches a preset opening degree standard threshold, the jitter rate reaches a preset jitter rate standard threshold and the duty ratio reaches a preset duty ratio standard threshold, the signal quality of the eye pattern signal reaches a preset condition, and the interface signal corresponding to the USB interface is normal; if at least one of the opening degree of the eye pattern does not reach the preset opening degree standard threshold value, the jitter rate does not reach the preset jitter rate standard threshold value or the duty cycle does not reach the preset duty cycle standard threshold value occurs, the signal quality of the eye pattern signal does not reach the preset condition, and the interface signal corresponding to the USB interface is abnormal.
The invention judges whether the interface signal of the USB interface is normal or not through the eye pattern signal, and adopts the oscilloscope to grasp the eye pattern signal to generate the corresponding eye pattern, the eye pattern contains rich information, the influence of inter-code crosstalk and noise can be observed from the eye pattern, the integral characteristic of the digital signal can be embodied, and the quality degree of the USB interface can be estimated, so the eye pattern analysis is the core of the signal integrity analysis of the high-speed interconnection system. In addition, the characteristics of the receiving filter can be adjusted by using an eye diagram so as to reduce inter-code crosstalk and improve the transmission performance of the USB interface, thereby stably identifying external equipment and preventing the equipment from being abnormally interrupted due to long-time operation.
In an alternative embodiment, the abnormal condition includes: the external equipment which cannot be identified to the USB interface is identified, or the identification result is discontinuous.
The invention considers the situation that the external equipment of the USB interface is abnormally interrupted due to long-time operation and poor quality of the interface signal, and judges that the interface signal of the USB interface is abnormal when the external equipment is not identified or is not identified continuously, thereby carrying out online adjustment on the USB equipment and enabling the external equipment to be identified stably so as to operate uninterruptedly.
In a second aspect, the present invention provides a device for adjusting a USB interface of a server, including:
the signal monitoring module is used for monitoring the identification condition of the service system of the server to the USB interface external equipment, and judging that the interface signal of the USB interface is abnormal when the abnormal condition is identified;
the parameter adjustment module is used for carrying out on-line adjustment on preset parameters of the USB interface based on a preset eye pattern tool which is pre-installed in the service system, acquiring an eye pattern signal of the preset eye pattern tool in the adjustment process, and accumulating, superposing and displaying bit results of the acquired serial signals in an afterglow mode on the eye pattern signal;
and the operation judging module is used for judging whether the interface signals of the USB interface are normal or not under different preset parameters by carrying out quality analysis on the eye diagram signals, and when the interface signals of the USB interface are normal, the corresponding preset parameters are used as the operation parameters of the USB interface.
According to the adjusting device for the USB interface of the server, provided by the embodiment of the invention, through monitoring the identification condition of the external equipment of the USB interface, when the abnormality is identified, the preset parameters of the USB interface are adjusted on line through the preset eye diagram tool which is pre-installed in the service system, in the adjusting process, whether the interface signal of the USB interface is normal is judged through carrying out quality analysis on the eye diagram signal of the preset eye diagram tool, and when the interface signal is normal, the corresponding preset parameters are used as the operation parameters of the USB interface. According to the invention, the USB interface is adjusted on line through the pre-developed eye diagram tool, so that the USB interface can be adjusted in time when abnormal conditions occur in the running process of the server, abnormal interruption of equipment due to long-time running is prevented, and manpower, time and cost can be reduced.
In a third aspect, the present invention provides a computer device comprising: the memory and the processor are in communication connection with each other, the memory stores computer instructions, and the processor executes the computer instructions, so that the method for adjusting the USB interface of the server according to the first aspect or any corresponding embodiment of the first aspect is executed.
In a fourth aspect, the present invention provides a computer readable storage medium having stored thereon computer instructions for causing a computer to execute the method for adjusting a USB interface of a server according to the first aspect or any one of the embodiments corresponding thereto.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for adjusting a USB interface of a server according to an embodiment of the invention;
FIG. 2 is a diagram illustrating an eye diagram of a method for adjusting a USB interface of a server according to an embodiment of the present invention;
FIG. 3 is a block diagram of a device for adjusting a USB interface of a server according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a hardware structure of a computer device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The embodiment of the invention is suitable for the scene that the server runs the external equipment of the USB interface for a long time. The embodiment of the invention provides a method for adjusting a USB interface of a server, which achieves the effects of stably identifying and operating external equipment and reducing manpower, time and cost by carrying out on-line adjustment on the USB interface.
The present invention provides an embodiment of a method for adjusting a server USB interface, it being noted that the steps shown in the flowchart of the figures may be performed in a server service system, such as a set of computer executable instructions, and, although a logical sequence is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than what is shown or described herein.
In this embodiment, a method for adjusting a USB interface of a server is provided, which may be used in the server described above, and fig. 1 is a flowchart of a method for adjusting a USB interface of a server according to an embodiment of the present invention, as shown in fig. 1, where the flowchart includes the following steps:
step S101, the service system of the monitoring server recognizes the condition of the external equipment of the USB interface, and when recognizing the abnormal condition, the service system determines that the interface signal of the USB interface is abnormal.
Specifically, in the embodiment of the present invention, different numbers of USB (Universal Serial Bus ) interfaces are provided on the motherboard of the server, for plugging in external devices and running through the service system of the motherboard of the server. In the embodiment of the invention, the identification condition of the service system to each USB interface external device can be monitored in real time in the operation process of the external device, and when the abnormal condition occurs in the identification, the abnormal condition of the interface signal of the current USB interface is judged. The abnormal conditions of the embodiment of the invention comprise: the external device cannot be identified, or the identification result is discontinuous (i.e. the external device can be identified, and the external device cannot be identified), but the method is not limited to this.
Step S102, on-line adjustment is carried out on preset parameters of the USB interface based on a preset eye pattern tool which is pre-installed in the service system, an eye pattern signal of the preset eye pattern tool is obtained in the adjustment process, and the eye pattern signal is characterized in that the bit results of the serial signals are accumulated, superimposed and displayed in an afterglow mode.
Specifically, in the embodiment of the present invention, the eye diagram tool is designed in advance according to the layout structure of the USB interface in the server, and is installed in the service system in advance. When judging that the interface signal of a certain USB interface is abnormal, carrying out on-line adjustment on the preset parameters of the USB interface based on the eye pattern tool, and acquiring the eye pattern signal of the eye pattern tool in the adjustment process. The preset parameters of the USB interface comprise: the method comprises the steps that the ID number of the USB interface and the configuration parameters of the internal registers of the USB interface represent different USB interfaces, the configuration parameters of the internal registers of the USB interface are adjusted on line, and the configuration parameters comprise: at least one of the high speed transmission bias parameter (Per Port HS TX Bias), the high speed Pre-emphasis bias parameter (Per Port HS Pre-emergencies bias) and the half-bit Pre-emphasis parameter (Per Port Half Bit Pre-emergencies) is by way of example only, and not limitation. The eye pattern tool reads the ID number of the USB interface in the server and the configuration parameters of the internal register of the USB interface, sets corresponding preset parameter adjustment ranges for each configuration parameter in advance, and when a user performs parameter adjustment according to the preset parameter adjustment ranges of each configuration parameter, obtains the parameter value adjusted by the user. The preset parameter adjustment ranges set for each configuration parameter in this embodiment are as follows: per Port HS TX Bias is bits [10:8] (3 bits (0-7 range)), per Port HS Pre-empsis bias is bits [13:11] (3 bits- (0-7 range)), per Port Half Bit Pre-empsis is bits [14] (1 bits (0-1 range)).
Step S103, judging whether the interface signals of the USB interface are normal or not under different preset parameters by carrying out quality analysis on the eye diagram signals, and taking the corresponding preset parameters as the operation parameters of the USB interface when the interface signals of the USB interface are normal.
Specifically, in the embodiment of the invention, an eye pattern signal of an eye pattern tool is grabbed by an oscilloscope, and a corresponding eye pattern is generated. The eye diagram contains rich information, the influence of inter-code crosstalk and noise can be observed from the eye diagram, the integral characteristic of the digital signal is reflected, and the quality degree of the USB interface can be estimated, so that the eye diagram analysis is the core of the signal integrity analysis of the high-speed interconnection system. In addition, the characteristic of the receiving filter can be adjusted by using the pattern so as to reduce inter-code crosstalk and improve the transmission performance of the USB interface. The embodiment of the invention judges the eye pattern signal quality through the opening degree, the jitter rate and the duty ratio of the eye pattern, because the opening degree of the eye pattern is related to jitter and BER (bit error probability), the larger the opening degree of the eye pattern is, the larger the allowable error of the noise and the jitter is, which indicates that the better the judging sensitivity of the receiver is, and the duty ratio determined by the eye top, the eye fundus and the conversion area is wide indicates that the judging sensitivity of the receiver is reduced. As shown in fig. 2, if the opening degree of the eye pattern reaches a preset opening degree standard threshold, the jitter rate reaches a preset jitter rate standard threshold, and the duty cycle reaches a preset duty cycle standard threshold, the signal quality of the eye pattern signal reaches a preset condition, and the interface signal corresponding to the USB interface is normal; if at least one of the opening degree of the eye pattern does not reach the preset opening degree standard threshold value, the jitter rate does not reach the preset jitter rate standard threshold value or the duty cycle does not reach the preset duty cycle standard threshold value occurs, the signal quality of the eye pattern signal does not reach the preset condition, and the interface signal corresponding to the USB interface is abnormal. The embodiment of the invention determines the preset standard threshold values of the opening degree, the shaking rate and the duty ratio according to the actual experience of engineering personnel, and takes the adjusted preset parameters as the operation parameters of the USB interface.
According to the method for adjusting the USB interface of the server, provided by the embodiment of the invention, the identification condition of the external equipment of the USB interface is monitored, when the abnormality is identified, the preset parameters of the USB interface are adjusted on line through the preset eye diagram tool which is pre-installed in the service system, in the adjustment process, whether the interface signal of the USB interface is normal is judged by carrying out quality analysis on the eye diagram signal of the preset eye diagram tool, and when the interface signal is normal, the corresponding preset parameters are used as the operation parameters of the USB interface. According to the invention, the USB interface is adjusted on line through the pre-developed eye diagram tool, so that the USB interface can be adjusted in time when abnormal conditions occur in the running process of the server, abnormal interruption of equipment due to long-time running is prevented, and manpower, time and cost can be reduced.
The embodiment provides a device for adjusting a USB interface of a server, as shown in fig. 3, including:
the signal monitoring module 301 is configured to monitor a recognition condition of the external device of the USB interface by a service system of the server, and determine that an interface signal of the USB interface is abnormal when the recognition condition is abnormal;
the parameter adjustment module 302 is configured to perform online adjustment on preset parameters of the USB interface based on a preset eye pattern tool pre-installed in the service system, and obtain an eye pattern signal of the preset eye pattern tool during adjustment, where the eye pattern signal features that bit results of the serial signals are collected by accumulating and overlapping in an afterglow manner;
the operation judging module 303 is configured to judge whether the interface signal of the USB interface is normal or not under different preset parameters by performing quality analysis on the eye chart signal, and when the interface signal of the USB interface is normal, take the corresponding preset parameter as the operation parameter of the USB interface.
In an alternative embodiment, the abnormal situation in the signal monitoring module 301 includes: the external equipment which cannot be identified to the USB interface is identified, or the identification result is discontinuous.
In an alternative embodiment, the preset parameters in the parameter adjustment module 302 include: the ID number of the USB interface and the configuration parameters of the internal registers of the USB interface.
In an alternative embodiment, the configuration parameters in parameter adjustment module 302 include: at least one of a high speed transmission bias parameter, a high speed pre-emphasis bias parameter, and a half-bit pre-emphasis parameter.
In an alternative embodiment, the preset eye diagram tool in the parameter adjustment module 302 is designed according to the layout structure of the USB interface in the server, and is used for reading the ID number of the USB interface in the server and the configuration parameters of the internal registers of the USB interface, and obtaining the parameter values adjusted by the user according to the preset parameter adjustment ranges of the configuration parameters.
In an alternative embodiment, the eye pattern signal of the operation judging module 303 is grabbed by an oscilloscope, and a corresponding eye pattern is generated, if the opening degree of the eye pattern reaches a preset opening degree standard threshold, the jitter rate reaches a preset jitter rate standard threshold, and the duty ratio reaches a preset duty ratio standard threshold, the signal quality of the eye pattern signal reaches a preset condition, and the interface signal of the corresponding USB interface is normal; if at least one of the opening degree of the eye pattern does not reach the preset opening degree standard threshold value, the jitter rate does not reach the preset jitter rate standard threshold value or the duty cycle does not reach the preset duty cycle standard threshold value occurs, the signal quality of the eye pattern signal does not reach the preset condition, and the interface signal corresponding to the USB interface is abnormal.
Further functional descriptions of the above respective modules and units are the same as those of the above corresponding embodiments, and are not repeated here.
The adjustment means of the USB interface of the server in this embodiment are presented in the form of functional units, where the units refer to ASIC (Application Specific Integrated Circuit ) circuits, processors and memories executing one or more software or fixed programs, and/or other devices that can provide the above functions.
The embodiment of the invention also provides computer equipment, which is provided with the adjusting device of the USB interface of the server shown in the figure 3.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a computer device according to an alternative embodiment of the present invention, as shown in fig. 4, the computer device includes: one or more processors 10, memory 20, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are communicatively coupled to each other using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing within the computer device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In some alternative embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. Also, multiple computer devices may be connected, each providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system). One processor 10 is illustrated in fig. 4.
The processor 10 may be a central processor, a network processor, or a combination thereof. The processor 10 may further include a hardware chip, among others. The hardware chip may be an application specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general-purpose array logic, or any combination thereof.
Wherein the memory 20 stores instructions executable by the at least one processor 10 to cause the at least one processor 10 to perform a method for implementing the embodiments described above.
The memory 20 may include a storage program area that may store an operating system, at least one application program required for functions, and a storage data area; the storage data area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, memory 20 may optionally include memory located remotely from processor 10, which may be connected to the computer device 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.
Memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk, or solid state disk; the memory 20 may also comprise a combination of the above types of memories.
The computer device also includes a communication interface 30 for the computer device to communicate with other devices or communication networks.
The embodiments of the present invention also provide a computer readable storage medium, and the method according to the embodiments of the present invention described above may be implemented in hardware, firmware, or as a computer code which may be recorded on a storage medium, or as original stored in a remote storage medium or a non-transitory machine readable storage medium downloaded through a network and to be stored in a local storage medium, so that the method described herein may be stored on such software process on a storage medium using a general purpose computer, a special purpose processor, or programmable or special purpose hardware. The storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, a solid state disk or the like; further, the storage medium may also comprise a combination of memories of the kind described above. It will be appreciated that a computer, processor, microprocessor controller or programmable hardware includes a storage element that can store or receive software or computer code that, when accessed and executed by the computer, processor or hardware, implements the methods illustrated by the above embodiments.
Although embodiments of the present invention have been described in connection with the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope of the invention as defined by the appended claims.

Claims (10)

1. A method for adjusting a USB interface of a server, the method comprising:
monitoring the identification condition of a service system of a server on external equipment of a USB interface, and judging that an interface signal of the USB interface is abnormal when the identification condition is abnormal;
on-line adjustment is carried out on preset parameters of the USB interface based on a preset eye pattern tool which is pre-installed in a service system, an eye pattern signal of the preset eye pattern tool is obtained in the adjustment process, and the eye pattern signal represents bit results of the serial signals which are collected by accumulating and superposing in an afterglow mode;
and judging whether the interface signals of the USB interface are normal or not under different preset parameters by carrying out quality analysis on the eye pattern signals, and taking the corresponding preset parameters as the operation parameters of the USB interface when the interface signals of the USB interface are normal.
2. The method of claim 1, wherein the preset parameters include: the ID number of the USB interface and the configuration parameters of the internal register of the USB interface.
3. The method of claim 2, wherein the configuration parameters comprise: at least one of a high speed transmission bias parameter, a high speed pre-emphasis bias parameter, and a half-bit pre-emphasis parameter.
4. The method of claim 3, wherein the preset eye diagram tool is designed according to a layout structure of the USB interface in the server, and the preset eye diagram tool is configured to read an ID number of the USB interface in the server and a configuration parameter of an internal register of the USB interface, and obtain a parameter value adjusted by a user according to a preset parameter adjustment range of each configuration parameter.
5. The method of claim 1, wherein the eye pattern signal is captured by an oscilloscope and a corresponding eye pattern is generated.
6. The method of claim 5, wherein the determining whether the interface signal of the USB interface is normal under different preset parameters by performing quality analysis on the eye signal comprises: if the opening degree of the eye pattern reaches a preset opening degree standard threshold, the jitter rate reaches a preset jitter rate standard threshold and the duty cycle reaches a preset duty cycle standard threshold, the signal quality of the eye pattern signal reaches a preset condition, and the interface signal corresponding to the USB interface is normal;
if at least one of the opening degree of the eye pattern does not reach the preset opening degree standard threshold value, the jitter rate does not reach the preset jitter rate standard threshold value or the duty ratio does not reach the preset duty ratio standard threshold value occurs, the signal quality of the eye pattern signal does not reach the preset condition, and the interface signal corresponding to the USB interface is abnormal.
7. The method of claim 1, wherein the abnormal condition comprises: and identifying the external equipment which cannot reach the USB interface, or identifying that the result is discontinuous.
8. An adjusting device for a USB interface of a server, the device comprising:
the signal monitoring module is used for monitoring the identification condition of the service system of the server to the USB interface external equipment, and judging that the interface signal of the USB interface is abnormal when the abnormal condition is identified;
the parameter adjusting module is used for carrying out on-line adjustment on preset parameters of the USB interface based on a preset eye pattern tool which is pre-installed in the service system, and acquiring an eye pattern signal of the preset eye pattern tool in the adjustment process, wherein the eye pattern signal represents bit results of the serial signals which are accumulated and overlapped in an afterglow mode;
and the operation judging module is used for judging whether the interface signals of the USB interface are normal or not under different preset parameters by carrying out quality analysis on the eye pattern signals, and when the interface signals of the USB interface are normal, the corresponding preset parameters are used as the operation parameters of the USB interface.
9. A computer device, comprising:
a memory and a processor, the memory and the processor being communicatively connected to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the method for adjusting a USB interface of a server according to any one of claims 1 to 7.
10. A computer-readable storage medium having stored thereon computer instructions for causing a computer to execute the method of adjusting a USB interface of a server according to any one of claims 1 to 7.
CN202311309530.XA 2023-10-10 2023-10-10 Method, device, equipment and medium for adjusting USB interface of server Pending CN117312086A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311309530.XA CN117312086A (en) 2023-10-10 2023-10-10 Method, device, equipment and medium for adjusting USB interface of server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311309530.XA CN117312086A (en) 2023-10-10 2023-10-10 Method, device, equipment and medium for adjusting USB interface of server

Publications (1)

Publication Number Publication Date
CN117312086A true CN117312086A (en) 2023-12-29

Family

ID=89236929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311309530.XA Pending CN117312086A (en) 2023-10-10 2023-10-10 Method, device, equipment and medium for adjusting USB interface of server

Country Status (1)

Country Link
CN (1) CN117312086A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117363A (en) * 2015-08-10 2015-12-02 广东欧珀移动通信有限公司 Method and system for improving USB OTG (On-The-Go) compatibility
CN108196993A (en) * 2017-12-28 2018-06-22 努比亚技术有限公司 USB interface test method, terminal and computer readable storage medium
CN111159067A (en) * 2019-12-26 2020-05-15 海光信息技术有限公司 Parameter optimization method, device, module, processor and computer storage medium
CN112506820A (en) * 2020-12-03 2021-03-16 深圳微步信息股份有限公司 USB port hardware parameter analysis method, device, equipment and storage medium
CN113342722A (en) * 2021-06-24 2021-09-03 Oppo广东移动通信有限公司 Eye diagram quality optimization method and device, electronic equipment and storage medium
CN115563773A (en) * 2022-09-30 2023-01-03 中科可控信息产业有限公司 Interface signal adjusting method, device, equipment and storage medium
CN115934438A (en) * 2022-12-02 2023-04-07 深圳市湘凡科技有限公司 Universal serial bus hub test system, method and related device
CN116431546A (en) * 2023-06-13 2023-07-14 荣耀终端有限公司 Parameter configuration method, electronic device, storage medium, and program product

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117363A (en) * 2015-08-10 2015-12-02 广东欧珀移动通信有限公司 Method and system for improving USB OTG (On-The-Go) compatibility
CN108196993A (en) * 2017-12-28 2018-06-22 努比亚技术有限公司 USB interface test method, terminal and computer readable storage medium
CN111159067A (en) * 2019-12-26 2020-05-15 海光信息技术有限公司 Parameter optimization method, device, module, processor and computer storage medium
CN112506820A (en) * 2020-12-03 2021-03-16 深圳微步信息股份有限公司 USB port hardware parameter analysis method, device, equipment and storage medium
CN113342722A (en) * 2021-06-24 2021-09-03 Oppo广东移动通信有限公司 Eye diagram quality optimization method and device, electronic equipment and storage medium
CN115563773A (en) * 2022-09-30 2023-01-03 中科可控信息产业有限公司 Interface signal adjusting method, device, equipment and storage medium
CN115934438A (en) * 2022-12-02 2023-04-07 深圳市湘凡科技有限公司 Universal serial bus hub test system, method and related device
CN116431546A (en) * 2023-06-13 2023-07-14 荣耀终端有限公司 Parameter configuration method, electronic device, storage medium, and program product

Similar Documents

Publication Publication Date Title
CN110532168B (en) Full-link interface pressure measurement method and device, computer equipment and storage medium
CN103812726A (en) Automated testing method and device for data communication equipment
CN103731663B (en) The testing method of a kind of intelligent television and device
CN109639347B (en) Optical communication module testing method and device and terminal equipment
CN109995555A (en) Monitoring method, device, equipment and medium
CN112927385A (en) Log data collection method, system, mobile terminal and readable storage medium
CN116560889A (en) Data link management method, device, computer equipment and storage medium
CN109947636A (en) Abnormal thread localization method and device
CN111181808B (en) Method and system for testing BMC IP access control
CN117312086A (en) Method, device, equipment and medium for adjusting USB interface of server
CN111310160A (en) WINDOWS automatic login deployment method, device, computer equipment and storage medium
CN114500178A (en) Intelligent internet of things gateway capable of self-operation and self-maintenance
CN108429659A (en) Remote failure monitoring method, device and the router of router
CN111538666B (en) Method, device, computer equipment and storage medium for collecting test results in batches
CN111261271B (en) Service availability diagnosis method and device for video monitoring environment
CN111414299A (en) SSD extended information obtaining method and device based on hdparm
CN108805778A (en) Electronic device, the method and storage medium for acquiring collage-credit data
CN116094908B (en) Log file storage method, device, equipment and storage medium
CN112702511B (en) Method and device for outputting video
EP4336883A1 (en) Modeling method, network element data processing method and apparatus, electronic device, and medium
CN118433080A (en) Method, system, terminal and storage medium for detecting communication protocol in power transmission line
CN108052429A (en) A kind of method for monitoring state of URL, device and medium
CN115277362A (en) Fault diagnosis method, fault diagnosis device, electronic equipment and computer readable medium
CN112181692A (en) Method and device for judging fault, computer equipment and computer readable storage medium
CN110704258A (en) Memory insertion method and device and storage medium

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