CN112181738B - Device cluster serial number identification device and electronic equipment - Google Patents

Device cluster serial number identification device and electronic equipment Download PDF

Info

Publication number
CN112181738B
CN112181738B CN202010854363.7A CN202010854363A CN112181738B CN 112181738 B CN112181738 B CN 112181738B CN 202010854363 A CN202010854363 A CN 202010854363A CN 112181738 B CN112181738 B CN 112181738B
Authority
CN
China
Prior art keywords
adder
clusters
serial
cluster
serial numbers
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010854363.7A
Other languages
Chinese (zh)
Other versions
CN112181738A (en
Inventor
李岡晏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202010854363.7A priority Critical patent/CN112181738B/en
Publication of CN112181738A publication Critical patent/CN112181738A/en
Application granted granted Critical
Publication of CN112181738B publication Critical patent/CN112181738B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/263Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested

Abstract

The invention provides a device for identifying serial numbers of device clusters and electronic equipment, belongs to the technical field of network equipment, and solves the technical problem that operation and maintenance work efficiency of serial device clusters in the prior art is low. The device cluster serial number identification device comprises a plurality of serial device clusters, and each device cluster is correspondingly provided with an adder; in two adjacent adders, the output end of the former adder is connected with the first input end of the latter adder; the second input of each adder inputs a non-zero fixed value.

Description

Device cluster serial number identification device and electronic equipment
Technical Field
The invention relates to the technical field of network equipment, in particular to a device cluster serial number identification device and electronic equipment.
Background
With the continuous development of network technology, the cooperative operation among various network devices becomes more and more extensive, and various device clusters are generally required to be used in series. When a display core cluster (Just a Bunch Of GPU, JBOG for short) or a disk cluster (Just a Bunch Of Disks, JBOD for short) is used in series, in order to identify the actual physical position Of equipment, monitor positioning data and facilitate later maintenance, the sequence Of the serial device clusters needs to be clearly separated.
At present, the serial number identification method for displaying the serial connection of the core clusters or the disk clusters mainly uses a dial switch, and the dial switch needs to set different values on each serial device cluster so as to achieve the purpose of distinguishing the specific position of each display core cluster or disk cluster by using different numerical values of a dial indicator. Such operation steps are complicated and low in efficiency, and the operation and maintenance work efficiency of the series device cluster can be directly influenced.
Therefore, in the existing identification method for displaying serial numbers of core clusters or disk clusters, different numerical values of dial switches on each device cluster need to be set manually in sequence. The repeated operation and setting are carried out in a large amount of time, the serial number identification mode is complicated, and the working efficiency of operation and maintenance work of the serial device cluster is reduced.
Disclosure of Invention
The invention aims to provide a serial number identification device for serial connection of device clusters and electronic equipment, and aims to solve the technical problem that in the prior art, the operation and maintenance work efficiency of serial device clusters is low.
In a first aspect, the device for identifying serial numbers of device clusters provided by the present invention comprises a plurality of serial device clusters, each device cluster being provided with an adder;
in two adjacent adders, the output end of the former adder is connected with the first input end of the latter adder;
the second input of each adder inputs a non-zero fixed value.
Further, the adder is a full adder.
Further, the adder is a four-bit full adder.
Further, each adder is disposed at the series interface with its corresponding device cluster.
Further, the first input terminal of the first adder has an input value of 0.
Furthermore, in two adjacent adders, the latter adder is correspondingly provided with a General-purpose input/output (GPIO for short);
the output end of the former adder is also connected with the GPIO corresponding to the latter adder.
Further, the system also comprises a host node which is connected with each GPIO through an I2C bus.
Further, the device cluster is a display core cluster or a disk cluster.
In a second aspect, the present invention further provides an electronic device, including the apparatus for identifying serial numbers of device clusters according to any one of the first aspects.
Further, the electronic device is a server.
The device cluster serial number identification device provided by the invention comprises a plurality of serial device clusters, and each device cluster is correspondingly provided with an adder. In two adjacent adders, the output end of the former adder is connected with the first input end of the latter adder, and the second input end of each adder inputs a non-zero fixed value. By adopting the device for identifying serial numbers of the device clusters in series provided by the invention, a binary algorithm of an adder on the device cluster is used for accumulating the numerical value of the first input end and the non-zero fixed value of the second input end to obtain a new numerical value, the numerical value is transmitted to the first input end of the next adder, and the first input end of the next adder continues to perform binary accumulation calculation with the non-zero fixed value of the second input end. By utilizing the automatic accumulation function of the numerical values on the adder, the numerical values can be automatically accumulated every time when the numerical values pass through one device cluster, so that different serial numbers can be automatically generated corresponding to each device cluster, and the serial numbers and the actual physical positions can be simply and conveniently identified. The complicated procedures of manual sequential operation and setting of different numerical values are eliminated, and the working efficiency of operation and maintenance of the series device cluster is improved.
Accordingly, the electronic device provided by the embodiment of the invention also has the technical effects.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a first schematic diagram of a serial number identification apparatus for serial connection of device clusters according to an embodiment of the present invention;
fig. 2 is a second schematic diagram of a serial number identification apparatus for serial connection of device clusters according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "comprising" and "having," and any variations thereof, as referred to in embodiments of the present invention, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
At present, the serial number identification method for displaying the serial connection of the core clusters or the disk clusters mainly uses a dial switch, and the dial switch needs to set different values on each serial device cluster so as to achieve the purpose of distinguishing the specific position of each display core cluster or disk cluster by using different numerical values of a dial indicator. Such operation steps are complicated and low in efficiency, and the operation and maintenance work efficiency of the serial device cluster can be directly influenced.
Therefore, in the existing identification method for displaying serial numbers of core clusters or disk clusters, different numerical values of dial switches on each device cluster need to be set manually in sequence. The repeated operation and setting are carried out in a large amount of time, the serial number identification mode is complicated, and the working efficiency of operation and maintenance work of the serial device cluster is reduced.
In order to solve the above problems, embodiments of the present invention provide a serial number identification apparatus for serial connection of device clusters and an electronic device.
Example 1:
as shown in fig. 1 and fig. 2, an embodiment of the present invention provides a serial number identification apparatus for serial connection of device clusters, including multiple serial device clusters, where each device cluster is correspondingly provided with an adder; in two adjacent adders, the output end of the former adder is connected with the first input end of the latter adder; the second input of each adder inputs a non-zero fixed value.
By adopting the device for identifying serial numbers of device clusters provided by the embodiment of the invention, a binary algorithm of an adder on the device cluster is used for accumulating the numerical value of the first input end and the non-zero fixed value of the second input end to obtain a new numerical value, the numerical value is transmitted to the first input end of the next adder, and the first input end of the next adder continues to perform binary accumulation calculation with the non-zero fixed value of the second input end.
For example, the preset serial number of the first device cluster is 0000, the value 0000 is the value at the first input terminal of the adder, the non-zero fixed value at the second input terminal of the adder can be set to 0001, the first adder adds 0001 to 0000 to obtain the value 0001, the value 0001 is the value at the first input terminal of the second adder, and the value 0010 is obtained by adding 0001 to the second input terminal; the value 0010 is the value at the first input of the third adder, 0010 is added to the value 0001 at the second input to obtain the value 0011, and so on. By utilizing the automatic accumulation function of the numerical values on the adder, the numerical values can be automatically accumulated every time when the numerical values pass through one device cluster, so that different serial numbers can be automatically generated corresponding to each device cluster, and the serial numbers and the actual physical positions of the serial device clusters can be simply and conveniently identified. The complicated procedures of manual sequential operation and setting of different numerical values are eliminated, and the working efficiency of operation and maintenance of the series device cluster is improved.
In one possible embodiment, the adder is a full adder. The full adder can complete the accumulation of two multi-bit binary numbers, so that the numerical value of the adder can realize multi-bit operation, and the function of generating the multi-bit serial number of the device cluster is realized.
In one possible embodiment, the adder is a four-bit full adder. The four-bit full adder can generate four-bit serial numbers, the serial number of the device cluster can automatically generate 16 different values at most, and the upper limit requirement of the serial number of the device cluster is greatly met.
In one possible implementation, each adder is disposed at the series interface with its corresponding device cluster. Thus, every time a device cluster is passed, namely an adder is passed, the accumulation of sequence numbers is completed. Therefore, different serial numbers can be automatically generated corresponding to each device cluster, and complicated procedures of manual sequential operation and setting of different numerical values are eliminated.
In one possible embodiment, the first input of the first adder has an input value of 0000. Therefore, the serial number of the first device cluster is the minimum value, the adder can automatically accumulate the largest number of different serial numbers, and the identifiable serial device clusters are also the largest in number. In other embodiments, the first input value may also be 0001 or other values 0010, 0011, 0100, etc.
In a possible implementation manner, in two adjacent adders, the latter adder is correspondingly provided with a GPIO; the output end of the former adder is also connected with the corresponding GPIO of the latter adder, and the host node is also connected with each GPIO through an integrated circuit bus (IIC bus/I2C bus for short). The output value of the adder is transmitted back to the GPIO, and the host node acquires the serial number value on the GPIO through an I2C bus, so that the host node can acquire the serial number result generated by the adder on each device cluster.
In one possible implementation, the device cluster is a display core cluster or a disk cluster. The serial equipment can be in a serial form between display core clusters or in a serial form between disk clusters, so that the application range of the serial number identification device for different types of device clusters is enlarged, and the universality is high.
Example 2:
an embodiment of the present invention further provides an electronic device, including the serial number identification apparatus for serial connection of device clusters provided in embodiment 1.
In this embodiment, the electronic device may be a server. The server node obtains the serial number value on the GPIO through the I2C bus, and the working efficiency of operation and maintenance work when the server is connected with the display core cluster or the disk cluster in series is improved.
The electronic device provided by the embodiment of the present invention has the same technical features as the serial number identification apparatus for serially connecting device clusters provided by the above embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings or the orientations or positional relationships that the products of the present invention are conventionally placed in use, and are only used for convenience in describing the present invention and simplifying the description, but do not indicate or imply that the devices or elements referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention.
In the description of the present invention, it should also be noted that, unless otherwise explicitly specified or limited, the terms "disposed," "mounted," "connected," and "connected" are to be construed broadly and may, for example, be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
The apparatus provided by the embodiment of the present invention may be specific hardware on the device, or software or firmware installed on the device, etc. The device provided by the embodiment of the present invention has the same implementation principle and technical effect as the method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the method embodiments without reference to the device embodiments. It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the foregoing systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; and the modifications, changes or substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention. Are intended to be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (9)

1. A device for identifying serial numbers of device clusters is applied to a server and comprises a plurality of serial device clusters, wherein each device cluster is correspondingly provided with an adder;
in two adjacent adders, the output end of the former adder is connected with the first input end of the latter adder;
the second input of each adder inputs a non-zero fixed value.
2. The apparatus for identifying serial numbers of device clusters according to claim 1, wherein the adder is a full adder.
3. The apparatus for identifying serial numbers of device clusters according to claim 2, wherein said adder is a four-bit full adder.
4. The apparatus for identifying serial numbers of device clusters according to claim 1, wherein each adder is disposed at a serial interface of a device cluster corresponding to the adder.
5. The apparatus for identifying serial numbers of device clusters according to claim 1, wherein the first input terminal of the first adder has an input value of 0.
6. The device for identifying serial numbers of device clusters according to claim 1, wherein in two adjacent adders, the latter adder is correspondingly provided with a GPIO;
the output end of the former adder is also connected with the GPIO corresponding to the latter adder.
7. The device cluster serial number identification apparatus according to claim 6, further comprising a host node, said host node connecting each GPIO through an I2C bus.
8. The apparatus for identifying serial numbers of device clusters according to claim 1, wherein the device clusters are display core clusters or disk clusters.
9. An electronic device, which is a server, comprising the apparatus for identifying serial numbers of device clusters according to any one of claims 1 to 8.
CN202010854363.7A 2020-08-24 2020-08-24 Device cluster serial number identification device and electronic equipment Active CN112181738B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010854363.7A CN112181738B (en) 2020-08-24 2020-08-24 Device cluster serial number identification device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010854363.7A CN112181738B (en) 2020-08-24 2020-08-24 Device cluster serial number identification device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112181738A CN112181738A (en) 2021-01-05
CN112181738B true CN112181738B (en) 2022-06-03

Family

ID=73924331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010854363.7A Active CN112181738B (en) 2020-08-24 2020-08-24 Device cluster serial number identification device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112181738B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279323A (en) * 2013-05-31 2013-09-04 福建星网锐捷网络有限公司 Adder
CN110839135A (en) * 2019-12-04 2020-02-25 厦门市美亚柏科信息股份有限公司 Recovery method and system for DV or HDV video file
CN110888590A (en) * 2018-09-07 2020-03-17 阿里巴巴集团控股有限公司 JBOD storage system and access method and access device thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279323A (en) * 2013-05-31 2013-09-04 福建星网锐捷网络有限公司 Adder
CN110888590A (en) * 2018-09-07 2020-03-17 阿里巴巴集团控股有限公司 JBOD storage system and access method and access device thereof
CN110839135A (en) * 2019-12-04 2020-02-25 厦门市美亚柏科信息股份有限公司 Recovery method and system for DV or HDV video file

Also Published As

Publication number Publication date
CN112181738A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
CN111176937A (en) Message middleware monitoring and warning system, method, terminal equipment and storage medium
CN109933264A (en) Graph data display methods and device
CN108923957B (en) Distribution network terminal DTU fault elimination method and device and terminal equipment
CN111240876A (en) Fault positioning method and device for microservice, storage medium and terminal
CN112181738B (en) Device cluster serial number identification device and electronic equipment
CA2393445A1 (en) Method and apparatus for recursive data filtering
CN109426598A (en) A kind of hard disk state indicator lamp control method and device
CN113792058B (en) Index data processing method and device, electronic equipment and storage medium
CN111984723A (en) Data synchronization method and device and terminal equipment
CN113434604B (en) Time sequence database synchronization method, system, equipment and storage medium
CN115734143A (en) Earphone reliability evaluation method and device, readable storage medium and electronic equipment
CN110213120B (en) Message middleware pressure measurement method and device and terminal equipment
CN114595135A (en) Log data processing method, device, equipment, storage medium and program product
CN113037578B (en) Equipment binding port fault warning method and device
CN114443445A (en) Hard disk lighting method and device, electronic equipment and storage medium
CN114282603A (en) Alarm information clustering method and device and storage medium
CN113110970A (en) Method, device, equipment and medium for monitoring components in server working mode
CN113672574A (en) Log processing method, electronic device and computer-readable storage medium
CN109510855B (en) Event distribution system, method and device
CN111124841A (en) Abnormal page alarming method and device and computer system
CN111401796A (en) Method and device for establishing equipment energy efficiency model
CN110647543A (en) Data aggregation method, device and storage medium
CN105137232A (en) Meter monitoring method and device
CN116991545B (en) Virtual machine deployment position determining method and device
CN109388546A (en) Handle the methods, devices and systems of the failure of application program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant