A computing device, rack server, and component query method
By combining control units, read/write units, and tag units, the problem of low efficiency in locating server components in existing technologies is solved, enabling fast and accurate component retrieval and improving retrieval efficiency.
Patent Information
- Application Number
- CN202211439645.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-17
- Publication Date
- 2025-12-16
- Estimated Expiration
- 2042-11-17
AI Technical Summary
Existing technologies are inefficient in finding specific components in a server, as they cannot quickly determine whether a specific component is included, thus affecting the efficiency of component search.
The system employs a combination of control unit, read/write unit, and tag unit. Read/write operations are triggered by an interrupt signal. The system reads the information of the component to be queried from the tag unit, compares it with the component information list, and outputs the query result using an indicator unit.
It enables quick and accurate querying of whether the component to be queried exists in the computing device, improving the efficiency of component search and reducing the number of manual operations.
Smart Images

Figure CN115775005B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of computing devices, in particular to a computing device, a cabinet server and a component query method. BACKGROUND
[0002] Each server in a computer room contains a large number of components, such as central processing units (CPUs), memories, network cards, hard disks and the like. At present, when a specific component contained in a server needs to be found, a personal computer (PC) needs to be connected to the server, and a BaseBoard Management Controller (BMC) needs to be logged in to check whether the relevant component is contained, or the relevant component information needs to be manually checked by opening the server machine. These methods cannot conveniently and quickly determine whether the specific component to be found is contained in the server to be checked, thereby affecting the efficiency of component finding. SUMMARY
[0003] The embodiments of the present application provide a computing device, a cabinet server and a component query method, which can improve the efficiency of querying components in the computing device.
[0004] In a first aspect, the embodiments of the present application provide a computing device, which comprises a control unit and a read-write unit, wherein the control unit is connected with the read-write unit; and wherein:
[0005] The control unit is configured to receive an interrupt signal sent by the tag unit when the tag unit acquires to-be-queried component information, and send a read-write instruction to the read-write unit based on the interrupt signal.
[0006] The read-write unit is configured to read the to-be-queried component information from the tag unit in response to the read-write instruction, and send the queried to-be-queried component information to the control unit.
[0007] The control unit is further configured to compare the to-be-queried component information with each component information recorded in a component information list, and determine whether the to-be-queried component exists in the computing device according to a comparison result.
[0008] Further, the computing device further comprises an indication unit.
[0009] The control unit is further configured to output a first prompt or a second prompt through the indication unit according to the comparison result, wherein the first prompt is used to indicate that the to-be-queried component exists in the computing device, and the second prompt is used to indicate that the to-be-queried component does not exist in the computing device.
[0010] Furthermore, the computing device also includes a single-board management controller, which is connected to the control unit, wherein...
[0011] The single-board management controller is used to collect component information in the computing device and send it to the control unit;
[0012] The control unit is also used to receive information from the components.
[0013] Furthermore, the tag unit includes an RFID tag unit;
[0014] The RFID tag unit is used to obtain the information of the component to be queried from an external device with radio frequency functionality;
[0015] The RFID tag unit stores a list of component information of the computing device, and the control unit is used to read the list of component information stored in the RFID tag unit through the read / write unit.
[0016] Furthermore, the RFID tag unit includes a general purpose output (GPO) pin, and the RFID tag unit is connected to the general purpose input (GPIO) pin of the MCU of the computing device through the GPO pin; the RFID tag unit is used to send an interrupt signal to the control unit through the GPO pin.
[0017] Furthermore, the RFID read / write unit includes an RFID read / write chip and an RF antenna. The RFID read / write chip communicates with the MCU via an SPI bus. The MCU controls the RFID read / write chip to perform read / write operations on the RFID tag unit through the RF antenna.
[0018] Furthermore, the MCU includes a serial data output SDO pin, and the RFID read / write chip includes a serial digital interface SDI pin;
[0019] The RFID reader / writer chip obtains the read / write instructions sent by the MCU through the SDO pin;
[0020] The MCU obtains the information read by the RFID reader / writer chip from the RFID tag unit through the RF antenna via the SDI pin.
[0021] Furthermore, the MCU includes a serial data output SDO pin, a serial clock SCLK pin, and a chip select CS pin, and the RFID reader / writer chip includes a serial digital interface SDI pin. The RFID reader / writer chip and the MCU communicate with each other through the SDO pin, the SCLK pin, the chip select CS pin, and the SDI pin.
[0022] Further, the RFID read-write chip obtains the read-write instruction sent by the MCU through the SDO pin.
[0023] The MCU obtains the information read by the RFID read-write chip from the RFID tag unit through the RF antenna through the SDI pin.
[0024] Further, the MCU includes an MCU chip connected with the mainboard of the computing device through an I2C bus; the I2C bus includes a data signal SDA pin and a serial clock SCL pin.
[0025] Further, the computing device further includes a mainboard, the mainboard includes a single-board management controller BMC, the control unit is connected with the mainboard through the SDA pin and the SCL pin, and the control unit obtains the component information list of each component of the computing device from the BMC through the SDA pin and the SCL pin.
[0026] Further, the indication unit includes an LED lamp; the control unit is configured to control the LED lamp to light up in the color corresponding to the first prompt or the color corresponding to the second prompt through the GPIO pin.
[0027] Further, the computing device further includes a voltage conversion module, the voltage conversion module is connected with the mainboard of the computing device through a power supply voltage VCC pin and a ground voltage VSS pin, and the voltage conversion module is connected with the control unit through the power supply voltage VCC pin and the ground voltage VSS pin.
[0028] Further, the computing device further includes a backup battery, and the backup battery is connected with the control unit.
[0029] In a second aspect, the embodiments of the present application provide a cabinet server, including at least one tag unit and the computing device of any one of the first aspect, and each of the computing devices is connected with at least one of the tag units.
[0030] In a third aspect, the embodiments of the present application provide a component query method, and the method includes the following steps:
[0031] The tag unit sends an interrupt signal to the control unit of one or more computing devices according to the obtained to-be-queried component information;
[0032] The control unit of the computing device sends a read-write instruction to the read-write unit of the computing device based on the interrupt signal;
[0033] The read-write unit reads the to-be-inquired component information from the tag unit in response to the read-write instruction, and sends the inquired to-be-inquired component information to the control unit;
[0034] The control unit compares the to-be-inquired component information with each component information recorded in the component information list, and determines whether the to-be-inquired component exists in the computing device according to a comparison result.
[0035] In the case that the tag unit obtains the to-be-inquired component information, the tag unit sends an interrupt signal to the control unit of one or more computing devices to trigger a current operation of the control unit, reads the to-be-inquired component information stored in the tag unit through the read-write unit, compares the to-be-inquired component information with each component information recorded in the component information list, and determines whether the to-be-inquired component exists in the computing device according to a comparison result. In this way, it is helpful to efficiently and quickly inquire whether the to-be-inquired component exists in the computing device. BRIEF DESCRIPTION OF DRAWINGS
[0036] Figure 1 is a structural schematic diagram of a server provided by an embodiment of the present application;
[0037] Figure 2 is a structural schematic diagram of a cabinet server provided by an embodiment of the present application;
[0038] Figure 3 is a structural schematic diagram of another cabinet server provided by an embodiment of the present application;
[0039] Figure 4 is a flow schematic diagram of a component inquiring interaction method provided by an embodiment of the present application;
[0040] Figure 5 is a flow schematic diagram of a component inquiring method provided by an embodiment of the present application;
[0041] Figure 6 is a structural schematic diagram of a computing device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0042] The technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.
[0043] The application provides a computing device, which comprises a control unit, a read-write unit, an indication unit and a mainboard, wherein the control unit is connected with the read-write unit, the indication unit is connected with the control unit, and the control unit is connected with the mainboard; the computing device can be arranged in a server, and the server comprises a tag unit, the control unit is connected with the tag unit, the read-write unit is connected with the tag unit in radio frequency communication, and the tag unit is connected with an external device with radio frequency function. In other embodiments, the computing device can comprise a control unit, a read-write unit, an indication unit, a mainboard and a tag unit.
[0044] In one embodiment, the tag unit is used to acquire component information to be queried from the external device with radio frequency function; when the tag unit acquires the component information to be queried, the tag unit can send an interrupt signal to the control unit; when the control unit acquires the interrupt signal, the control unit sends a read-write instruction to the read-write unit based on the interrupt signal; the read-write unit reads the stored component information to be queried from the tag unit in response to the read-write instruction, and sends the component information to be queried to the control unit; the control unit compares the acquired component information to be queried with each component information recorded in a component information list, and determines whether the component to be queried exists in the computing device according to a comparison result. In some embodiments, the external device with radio frequency function comprises, but is not limited to, a terminal device (such as a mobile phone) supporting radio frequency function (such as RFID read-write function). In some embodiments, the component information to be queried comprises, but is not limited to, one or more of a component name, a component identifier and a code of the component to be queried.
[0045] Further, the control unit is also used to output a first prompt or a second prompt through the indication unit according to the comparison result, the first prompt is used to indicate that the component to be queried exists in the computing device, and the second prompt is used to indicate that the component to be queried does not exist in the computing device, and the first prompt is different from the second prompt.
[0046] In some embodiments, the mainboard can comprise a baseboard management controller (BMC), the BMC is connected with the control unit, the BMC can acquire component information of each component in the computing device, and the acquired component information of each component is stored as a component information list; the control unit can acquire the component information list from the BMC of the mainboard, and record the component information list in a receiving stack of the control unit. In other embodiments, the tag unit can acquire and store the component information list of the computing device, and the control unit can read the component information list stored in the tag unit through the read-write unit.
[0047] In some embodiments, the control unit comprises a microcontroller unit (MCU), the read-write unit comprises a radio frequency identification (RFID) read-write unit, and the tag unit comprises an RFID tag unit. The MCU comprises a general purpose input output (GPIO) pin, the RFID tag unit comprises a general purpose output (GPO) pin, the RFID read-write unit comprises an RFID read-write chip and a radio frequency (RF) antenna, the MCU comprises a serial data out (SDO) pin, a simplified clock (SCLK) pin and a chip selected (CS) pin, the RFID read-write chip comprises a serial digital interface (SDI) pin, and the MCU comprises an MCU chip. The computing device further comprises a voltage conversion module and / or a backup battery (such as a button cell or the like), wherein the voltage conversion module is configured to convert the voltage of the access circuit obtained from the mainboard when the voltage of the access circuit does not match the voltage required by the control unit, and output the voltage available for the control unit after conversion. The backup battery is configured to provide the electrical energy required for component query in the case of power failure of the server. The indication unit comprises, but is not limited to, any one of the following prompt modes: prompt information, voice prompt, picture prompt, light emitting diode (LED) lamp, etc., wherein the LED lamp can comprise, but is not limited to, one or more of the following: a single-color lamp, a double-color lamp, a multi-color lamp, etc.
[0048] As shown in Figure 1 , Figure 1 is a structural schematic diagram of a server according to an embodiment of the present application. As shown in Figure 1As shown, the RFID tag unit is connected with an external device with radio frequency function, the RFID tag unit is connected with the GPIO pin of the MCU of the computing device through the GPO pin, the RFID read-write chip is connected with the MCU through a serial peripheral interface (SPI) bus, wherein the SPI includes an SCLK pin, an SDO pin, an SDI pin and a CS pin. The MCU is connected with the mainboard of the computing device through a voltage conversion module, the voltage conversion module is connected with the mainboard of the computing device through a voltage current condenser (VCC) pin and a visual source safe (VSS) pin, the voltage conversion module is connected with the control unit MCU through the VCC pin and the VSS pin of the mainboard of the computing device, the voltage conversion module is used to obtain voltage from the mainboard of the computing device through the VCC pin and the VSS pin connected with the mainboard, convert the voltage into voltage available for the MCU, and output the converted voltage to the MCU through the VCC pin and the VSS pin connected with the MCU. The MCU is connected with the mainboard of the computing device through an inter-integrated circuit (I2C) bus, wherein the I2C bus includes a serial data (SDA) pin and a serial clock line (SCL) pin, and the MCU can obtain information in the mainboard through the SDA pin and the SCL pin. The MCU is used to send a read-write instruction to the RFID read-write chip through the SDO pin, and the RFID read-write chip sends component information read from the RFID tag unit in response to the read-write instruction to the MCU through the SDI pin; the MCU is used to select the RFID read-write chip through the CS pin, and the MCU is used to send a clock signal to the RFID read-write chip through the SCLK pin. The RF antenna is connected with the mainboard and the RFID tag unit through a radio frequency signal, and the RFID read-write chip obtains component information from the RFID tag unit through a video signal of the RF antenna.
[0049] In one embodiment, the RFID tag unit is used to obtain to-be-queried component information from an external device with radio frequency function, the RFID tag unit stores a component information list of the computing device, and in a case where the to-be-queried component information is obtained, the RFID tag unit can send an interrupt signal to the control unit MCU through the GPO pin and the GPIO pin, the MCU reads the to-be-queried component information and the component information list stored in the RFID tag unit through the RFID read-write chip in a case where the interrupt signal is obtained, compares the to-be-queried component information with each component information recorded in the component information list, and determines whether the to-be-queried component exists in the computing device according to a comparison result.
[0050] Further, the MCU can send a reading instruction to the RFID read-write chip through the SDO interface when the interrupt signal is acquired. The RFID read-write chip can acquire the component information list and the component information to be queried from the RFID tag unit through the RF antenna after acquiring the reading instruction, and send the acquired component information list and the component information to be queried to the MCU through the SDI interface.
[0051] The MCU can determine the first prompt or the second prompt according to the comparison result when determining whether the component to be queried exists in the computing device according to the comparison result. The first prompt is determined according to the comparison result that the component to be queried exists in the computing device, and the second prompt is determined according to the comparison result that the component to be queried does not exist in the computing device.
[0052] When the first prompt and the second prompt are LED light prompts, the MCU can output the first prompt or the second prompt through the LED light according to the comparison result when determining whether the component to be queried exists in the computing device according to the comparison result. The first prompt and the second prompt are different. In some embodiments, the color corresponding to the first prompt is different from the color corresponding to the second prompt. In other embodiments, the color corresponding to the first prompt is different from the color corresponding to the second prompt, and the display time of the color corresponding to the first prompt and the display time of the color corresponding to the second prompt can be the same or different.
[0053] In an embodiment, the color corresponding to the first prompt is different from the color corresponding to the second prompt. If the MCU finds the component to be queried according to the comparison result, the MCU can control the LED light to light up according to the color corresponding to the first prompt through the GPIO pin. If the MCU does not find the component to be queried according to the comparison result, the MCU can control the LED light to light up according to the color corresponding to the second prompt through the GPIO pin.
[0054] For example, the LED light is a double-color light. If the MCU finds the component to be queried according to the comparison result, the MCU can control the LED light to light up according to the green color corresponding to the first prompt, that is, the LED light displays a green light. If the MCU does not find the component to be queried according to the comparison result, the MCU can control the LED light to light up according to the yellow color corresponding to the second prompt, that is, the LED light displays a yellow light.
[0055] In another embodiment, the first prompt corresponds to a color, and the second prompt corresponds to no color. If the MCU finds the component to be queried according to the comparison result, the MCU can control the LED light to light up according to the color corresponding to the first prompt through the GPIO pin. If the MCU does not find the component to be queried according to the comparison result, the MCU can control the LED light to not light up according to the second prompt through the GPIO pin.
[0056] For example, the LED lamp is a single-color lamp. If the MCU finds the component to be queried according to the comparison result, the MCU can control the LED lamp to light up in green according to the first prompt, that is, the LED lamp displays a green light. If the MCU does not find the component to be queried according to the comparison result, the MCU can control the LED lamp to not light up according to the second prompt.
[0057] In another embodiment, the color and display time corresponding to the first prompt are different from the color and display time corresponding to the second prompt. If the MCU finds the component to be queried according to the comparison result, the MCU can control the LED lamp to light up according to the color and display time corresponding to the first prompt. If the MCU does not find the component to be queried according to the comparison result, the MCU can control the LED lamp to light up according to the color and display time corresponding to the second prompt.
[0058] For example, if the MCU finds the component to be queried according to the comparison result, the MCU can control the LED lamp to light up in green for 60 seconds according to the first prompt, that is, the LED lamp displays a green light for 60 seconds. If the MCU does not find the component to be queried according to the comparison result, the MCU can control the LED lamp to light up in yellow for 60 seconds according to the second prompt, that is, the LED lamp displays a yellow light for 60 seconds.
[0059] In another embodiment, the RFID tag unit is configured to obtain the component information to be queried from an external device with a radio frequency function. The MCU can obtain the component information list of the computing device from the BMC on the mainboard of the computing device. When the RFID tag unit obtains the component information to be queried, the RFID tag unit can send an interrupt signal to the MCU through the GPO pin and the GPIO pin. When the MCU obtains the interrupt signal, the MCU reads the component information to be queried stored in the RFID tag unit through the RFID read-write chip, and compares the component information to be queried with each component information recorded in the component information list. According to the comparison result, it is determined whether the component to be queried exists in the computing device. Further, the MCU can obtain the component information list of the computing device from the BMC on the mainboard of the computing device through the SDA pin and the SCL pin of the mainboard.
[0060] In an embodiment, when the MCU obtains the component information list of the computing device from the BMC of the computing device, the MCU can read the component information list in the BMC through the read-write unit. The MCU can read the component information list in the BMC according to a preset period and store it in the receiving stack of the MCU.
[0061] The control unit compares the to-be-inquired component with each component information in the component information list, which helps to improve the efficiency of finding the specific component (i.e., the to-be-inquired component) in the machine room. The query result is displayed by the prompt unit (e.g., an LED lamp), and the result feedback can be quickly obtained, which is more intuitive.
[0062] The application also provides a cabinet server, which comprises at least one tag unit and a plurality of computing devices, each of which is connected with the at least one tag unit, wherein one tag unit can be connected with a plurality of computing devices. Figure 2 For example, Figure 2 is a structural schematic diagram of a cabinet server provided by an embodiment of the application, as shown in Figure 2 , one RFID tag serving as a tag unit is connected with two computing devices, i.e., the RFID tag is connected with a computing device 1 and the RFID tag is connected with a computing device 2. One tag unit can be connected with a plurality of computing devices, and the plurality of computing devices can be quickly searched for a to-be-inquired component simultaneously by using one tag unit, which reduces the number of manual operations and improves the efficiency of searching for the to-be-inquired component in the machine room.
[0063] Optionally, a plurality of tag units can be connected with a plurality of computing devices. Figure 3 For example, Figure 3 is another structural schematic diagram of a cabinet server provided by an embodiment of the application, as shown in Figure 3 , two RFID tags serving as tag units are connected with two computing devices, i.e., one RFID tag is connected with a computing device 1 and the other RFID tag is connected with a computing device 2. A plurality of tag units can be connected with a plurality of computing devices, which helps to further quickly search for a to-be-inquired component simultaneously by using a plurality of computing devices and a plurality of tag units, which reduces the number of manual operations and improves the efficiency of searching for the to-be-inquired component in the machine room.
[0064] The component query method provided by the embodiments of the application will be described schematically below with reference to the accompanying Figure 4 , the accompanying Figure 5 .
[0065] For details, please refer to Figure 4 , Figure 4 is a flowchart of a component query interaction method provided by an embodiment of the application. The component query interaction method provided by the embodiments of the application can be applied to a server, which comprises a computing device and a tag unit. The computing device comprises a control unit and a read-write unit, the control unit is connected with the read-write unit, the control unit is connected with the tag unit, and the read-write unit is connected with the tag unit. Specifically, the method provided by the embodiments of the application comprises the following steps.
[0066] S401: The RFID tag acquires the to-be-inquired component information written by the external device with RFID read-write function.
[0067] S402: The RFID tag sends an interrupt signal to the MCU through the GPO pin.
[0068] S403: The MCU triggers the MCU interrupt when receiving the interrupt signal.
[0069] S404: The MCU reads the to-be-inquired component information in the RFID tag through the RFID read-write unit.
[0070] S405: The MCU compares the to-be-inquired component information acquired from the RFID tag with the component information list.
[0071] S406: The MCU judges whether the to-be-inquired component information is in the component information list according to the comparison result, if the to-be-inquired component information is in the component information list, step S407 is executed, if the to-be-inquired component information is not in the component information list, step S408 is executed.
[0072] S407: The MCU controls the LED lamp to light green, so that the user determines that the to-be-inquired component information exists in the computing device according to the green light of the LED lamp.
[0073] S408: The MCU controls the LED lamp to light yellow, so that the user determines that the to-be-inquired component information does not exist in the computing device according to the yellow light of the LED lamp.
[0074] When the RFID tag reads the to-be-inquired component information stored in the external device with RFID read-write function, the RFID tag sends an interrupt signal to the MCU, triggers the MCU interrupt, reads the to-be-inquired component information in the RFID tag through the RFID read-write unit, and compares the to-be-inquired component information acquired from the RFID tag with the component information list. If the to-be-inquired component information is in the component information list in the comparison result, the LED lamp can be controlled to light green, so that the user determines that the to-be-inquired component information exists in the computing device according to the green light of the LED lamp. If the to-be-inquired component information is not in the component information list in the comparison result, the LED lamp can be controlled to light yellow, so that the user determines that the to-be-inquired component information does not exist in the computing device according to the yellow light of the LED lamp. In this way, it is helpful to quickly inquire whether the to-be-inquired component exists in the computing device.
[0075] For details, please refer to Figure 5 , Figure 5is a flowchart of a component query method provided by an embodiment of the present application. The component query method of the embodiment of the present application can be applied to a server, which includes one or more computing devices and one or more tag units. The computing device includes a control unit and a read-write unit. The control unit is connected with the read-write unit. The control unit is connected with the tag unit. The read-write unit is connected with the tag unit. Specifically, the method includes the following steps.
[0076] S501: The tag unit sends an interrupt signal to the control unit of the one or more computing devices according to the obtained component information to be queried.
[0077] In the embodiment of the present application, the tag unit can obtain the component information to be queried from an external device with read-write function connected with the tag unit, and send an interrupt signal to the control unit of the one or more computing devices according to the obtained component information to be queried. The component information to be queried includes information such as name, number and version of the component to be queried.
[0078] S502: The control unit of the computing device sends a read-write instruction to the read-write unit of the computing device based on the interrupt signal.
[0079] In the embodiment of the present application, the control unit of the computing device can send a read-write instruction to the read-write unit of the computing device based on the interrupt signal. The read-write instruction is used to instruct the read-write unit to read the component information to be queried from the tag unit.
[0080] S503: The read-write unit reads the component information to be queried from the tag unit in response to the read-write instruction, and sends the queried component information to be queried to the control unit.
[0081] S504: The control unit compares the component information to be queried with each component information recorded in the component information list, and determines whether the component to be queried exists in the computing device according to the comparison result.
[0082] In the embodiment of the present application, after obtaining the interrupt signal, the control unit can trigger the control unit to interrupt the current operation, read the component information to be queried stored in the tag unit through the read-write unit, compare the component information to be queried with each component information recorded in the component information list, and determine whether the component to be queried exists according to the comparison result.
[0083] In one embodiment, when determining whether the component to be queried exists according to the comparison result, the control unit can output a first prompt or a second prompt according to the comparison result. The first prompt is used to indicate that the component to be queried exists in the computing device. The second prompt is used to indicate that the component to be queried does not exist in the computing device.
[0084] The embodiment of the present application acquires an interrupt signal for indicating a query component through a control unit, and after acquiring the interrupt signal, triggers the control unit to interrupt the current operation, reads the to-be-queried component information stored in a tag unit through a read-write unit, compares the to-be-queried component information with each component information recorded in a component information list, and determines whether there is a to-be-queried component according to the comparison result, which helps to more efficiently and quickly query whether there is a to-be-queried component in the computing device.
[0085] Please refer to Figure 6 , Figure 6 is a structural schematic diagram of a computing device provided by the embodiment of the present application. Specifically, the computing device comprises a control unit 601 and a read-write unit 602, wherein the control unit 601 is connected with the read-write unit 602;
[0086] The control unit 601 is configured to receive an interrupt signal sent by a tag unit in the case that the tag unit acquires to-be-queried component information, and send a read-write instruction to the read-write unit based on the interrupt signal;
[0087] The read-write unit 602 is configured to read the to-be-queried component information from the tag unit in response to the read-write instruction, and send the queried to-be-queried component information to the control unit;
[0088] The control unit 601 is further configured to compare the to-be-queried component information with each component information recorded in a component information list, and determine whether there is a to-be-queried component in the computing device according to the comparison result.
[0089] Further, the computing device further comprises an indication unit 603, which is connected with the control unit 601;
[0090] The control unit 601 is further configured to output a first prompt or a second prompt through the indication unit 603 according to the comparison result, wherein the first prompt is used to indicate that there is the to-be-queried component in the computing device, and the second prompt is used to indicate that there is no to-be-queried component in the computing device.
[0091] Further, the computing device further comprises a mainboard 604, and the mainboard 604 comprises a single-board management controller, which is connected with the control unit 601, wherein,
[0092] The single-board management controller is configured to collect component information in the computing device and send the component information to the control unit 601;
[0093] The control unit 601 is further configured to receive the component information.
[0094] Further, the tag unit comprises an RFID tag unit;
[0095] The RFID tag unit is configured to acquire the component information to be queried from an external device with radio frequency function.
[0096] The RFID tag unit stores a component information list of the computing device, and the control unit 601 is configured to read the component information list stored in the RFID tag unit through the read-write unit 602.
[0097] Further, the RFID tag unit comprises a general-purpose output (GPO) pin, and the RFID tag unit is connected to a general-purpose input and output (GPIO) pin of an MCU of the computing device through the GPO pin; the RFID tag unit is configured to send an interrupt signal to the control unit 601 through the GPO pin.
[0098] Further, the RFID read-write unit comprises an RFID read-write chip and an RF antenna, the RFID read-write chip is connected to the MCU through an SPI bus, and the MCU is configured to control the RFID read-write chip to perform read-write operation on the RFID tag unit through the RF antenna.
[0099] Further, the MCU comprises a serial data output (SDO) pin, and the RFID read-write chip comprises a serial digital interface (SDI) pin.
[0100] The RFID read-write chip acquires the read-write instruction sent by the MCU through the SDO pin.
[0101] The MCU acquires the information read by the RFID read-write chip from the RFID tag unit through the RF antenna through the SDI pin.
[0102] Further, the MCU comprises an MCU chip, the MCU chip is connected to a mainboard of the computing device through an I2C bus, and the I2C bus comprises a data signal (SDA) pin and a serial clock (SCL) pin.
[0103] Further, the control unit 601 is connected to the mainboard through the SDA pin and the SCL pin, and the control unit 601 acquires the component information list of each component of the computing device from the BMC through the SDA pin and the SCL pin.
[0104] Further, the computing device further comprises a voltage conversion module 605 connected with the mainboard 604 of the computing device through a supply voltage VCC pin and a ground voltage VSS pin, and connected with the control unit 601 through the supply voltage VCC pin and the ground voltage VSS pin.
[0105] Further, the computing device further comprises a backup battery 606 connected with the control unit 601.
[0106] Further, the indication unit 603 comprises an LED lamp, and the control unit 601 is configured to control the LED lamp to light up in a color corresponding to the first prompt or a color corresponding to the second prompt through a GPIO pin.
[0107] The embodiment of the present application sends an interrupt signal to the control unit when the tag unit obtains the to-be-inquired component information, so as to trigger the current operation of the control unit, and reads the to-be-inquired component information stored in the tag unit through the read-write unit, and compares the to-be-inquired component information with each component information recorded in the component information list, and determines whether the to-be-inquired component exists in the computing device according to the comparison result. In this way, it is helpful to efficiently and quickly inquire whether the to-be-inquired component exists in the computing device.
[0108] The embodiment of the present application provides a cabinet server, comprising at least one tag unit and the computing device described in any one of the above embodiments, and each computing device is connected with at least one tag unit.
[0109] The embodiment of the present application also provides a component inquiry device, specifically, the component inquiry device server, the server comprises a computing device and a tag unit, the computing device comprises a control unit and a read-write unit,
[0110] The tag unit is configured to send an interrupt signal to the control unit of one or more computing devices according to the obtained to-be-inquired component information.
[0111] The control unit of the computing device is configured to send a read-write instruction to the read-write unit of the computing device based on the interrupt signal.
[0112] The read-write unit is configured to read the to-be-inquired component information from the tag unit in response to the read-write instruction, and send the inquired to-be-inquired component information to the control unit.
[0113] The control unit is configured to compare the to-be-inquired component information with each component information recorded in a component information list, and determine whether the to-be-inquired component exists in the computing device according to the comparison result.
[0114] The embodiment of the present application can improve the efficiency of searching the component to be queried by comparing the component to be queried with each component information in the component information list through the control unit, and can quickly obtain result feedback by displaying the search result through the prompt unit, and is more intuitive.
[0115] The embodiment of the present application also provides a chip, which is arranged in a computing device, the computing device comprising a control unit and a read-write unit, the control unit being connected with the read-write unit, and the chip being used for executing the method described in the above corresponding embodiment, which will not be repeated here.
[0116] Those skilled in the art can also understand that the various illustrative logical blocks and steps listed in the embodiments of the present application can be implemented by electronic hardware, computer software or a combination of the two. Whether the function is implemented by hardware or software depends on the specific application and design requirements of the whole system. Those skilled in the art can use various methods to implement the functions for each specific application, but such implementation should not be understood as beyond the scope of the embodiments of the present application.
[0117] The present application also provides a computer readable storage medium, which stores a computer program, and the computer program comprises program instructions, which are executed by a computer to realize the functions of any of the above method embodiments.
[0118] The above computer readable storage medium includes but is not limited to a flash memory, a hard disk and a solid state disk.
[0119] The present application also provides a computer program product, which is executed by a computer to realize the functions of any of the above method embodiments.
[0120] The schemes described in this application can be implemented in various ways. For example, the techniques can be implemented in hardware, software, or a combination of hardware and software. For a hardware implementation, the processing units used to perform the methods described above can be implemented within one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), logic gates, discrete hardware components, or any other processing unit(s) or combination of processing units. The processing unit(s) can be a general purpose processor, which can optionally be a microprocessor, controller, microcontroller, or state machine. The processing unit(s) can also be a combination of a digital signal processor and a microprocessor, multiple microprocessors, one or more microprocessors in conjunction with a digital signal processor core, or any other such configuration.
[0121] In the embodiments described above, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium.
[0122] In this application, an element expressed in singular form is intended to represent "one or more", rather than "one and only one", unless otherwise specifically stated. In this application, "a plurality of" is intended to represent "two or more" unless otherwise specifically stated.
[0123] In addition, the term "and / or" in this application is only a description of the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which can represent the following three cases: A exists alone, A and B exist together, and B exists alone, where A can be singular or plural, and B can be singular or plural.
[0124] The preset (such as the preset period) in this application can be understood as defining, predefining, storing, pre-storing, pre-negotiating, pre-configuring, solidifying, or pre-burning.
[0125] Those skilled in the art can understand that, for the convenience and brevity of description, the specific working processes of the computing devices and units described above can refer to the corresponding processes in the foregoing method embodiments, which will not be described herein again.
[0126] The same or similar parts among various embodiments in the present application can be referred to each other. In the various embodiments in the present application, and the various implementation manners / implementation methods / realization methods in each embodiment, if there is no special description and logical conflict, the terms and / or descriptions among different embodiments, and among the various implementation manners / implementation methods / realization methods in each embodiment are consistent and can be referred to each other, and the technical features in different embodiments, and in the various implementation manners / implementation methods / realization methods in each embodiment can be combined to form new embodiments, implementation manners, implementation methods, or realization methods according to the inherent logical relationship. The above-described implementation manners of the present application do not constitute a limitation on the protection scope of the present application.
Claims
1. A computing device, characterized in that, The computing device includes a control unit and a read / write unit, wherein the control unit is connected to the read / write unit; wherein... The control unit is configured to receive an interrupt signal sent by the tag unit when the tag unit obtains information about the component to be queried, and send a read / write instruction to the read / write unit based on the interrupt signal. The read / write unit is used to respond to the read / write command, read the information of the component to be queried from the tag unit, and send the queried information of the component to be queried to the control unit; The control unit is further configured to compare the information of the component to be queried with the information of each component recorded in the component information list, and determine whether the component to be queried exists in the computing device based on the comparison result; The tag unit includes an RFID tag unit; The RFID tag unit is used to obtain the information of the component to be queried from an external device with radio frequency functionality; The RFID tag unit stores a list of component information of the computing device, and the control unit is used to read the list of component information stored in the RFID tag unit through the read / write unit; The RFID tag unit includes a general purpose output (GPO) pin, which is connected to the general purpose input (GPIO) pins of the MCU of the computing device. The RFID tag unit is used to send an interrupt signal to the control unit through the GPO pin.
2. The computing device according to claim 1, characterized in that, The computing device also includes an indicator unit; The control unit is further configured to output a first prompt or a second prompt through the indicator unit based on the comparison result, wherein the first prompt indicates that the component to be queried exists in the computing device, and the second prompt indicates that the component to be queried does not exist in the computing device.
3. The computing device according to claim 1, characterized in that, The computing device further includes a single-board management controller, which is connected to the control unit, wherein... The single-board management controller is used to collect component information in the computing device and send it to the control unit; The control unit is also used to receive information from the components.
4. The computing device according to claim 1, characterized in that, The read / write unit includes an RFID read / write unit, which includes an RFID read / write chip and an RF antenna. The control unit includes a microcontroller unit (MCU). The RFID read / write chip and the MCU communicate via an SPI bus. The MCU controls the RFID read / write chip to perform read / write operations on the RFID tag unit through the RF antenna.
5. The computing device according to claim 4, characterized in that, The MCU includes a serial data output SDO pin, and the RFID reader / writer chip includes a serial digital interface SDI pin. The RFID reader / writer chip obtains the read / write instructions sent by the MCU through the SDO pin; The MCU obtains the information read by the RFID reader / writer chip from the RFID tag unit through the RF antenna via the SDI pin.
6. The computing device according to any one of claims 1 to 5, characterized in that, The computing device also includes a backup battery, which is connected to the control unit.
7. A rack-mount server, characterized in that, It includes at least one tag unit and a plurality of computing devices as described in any one of claims 1 to 6, each of the computing devices being connected to at least one of the tag units.
8. A component query method, executed by the computing device according to any one of claims 1-6, characterized in that, The method includes: The tag unit sends an interrupt signal to the control unit of one or more computing devices based on the obtained information about the component to be queried; The control unit of the computing device sends read / write instructions to the read / write unit of the computing device based on the interrupt signal; The read / write unit responds to the read / write command, reads the information of the component to be queried from the tag unit, and sends the queried information of the component to be queried to the control unit; The control unit compares the information of the component to be queried with the information of each component recorded in the component information list, and determines whether the component to be queried exists in the computing device based on the comparison result.
Citation Information
Patent Citations
Label identification method and device
CN103679074A
Multi-reader-writer-triggering-label identification method and device
CN104680205A