CN112182664B - Method, device and system for displaying hard disk label and storage medium - Google Patents

Method, device and system for displaying hard disk label and storage medium Download PDF

Info

Publication number
CN112182664B
CN112182664B CN202010882690.3A CN202010882690A CN112182664B CN 112182664 B CN112182664 B CN 112182664B CN 202010882690 A CN202010882690 A CN 202010882690A CN 112182664 B CN112182664 B CN 112182664B
Authority
CN
China
Prior art keywords
label
target
dial
hard disk
disk type
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
CN202010882690.3A
Other languages
Chinese (zh)
Other versions
CN112182664A (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 CN202010882690.3A priority Critical patent/CN112182664B/en
Publication of CN112182664A publication Critical patent/CN112182664A/en
Application granted granted Critical
Publication of CN112182664B publication Critical patent/CN112182664B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • G06F21/73Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information by creating or determining hardware identification, e.g. serial numbers

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method, a device, a system and a storage medium for displaying hard disk labels, wherein the method comprises the following steps: acquiring a target hard disk type, and searching a corresponding target label and a target dial-up mechanism corresponding to the target label in a preset label library based on the target hard disk type; pushing a target dialing mechanism to a user; receiving dial information sent by a user, converting the dial information into a target label and displaying the target label; therefore, the corresponding target label and the dial mechanism corresponding to the target label can be directly searched, a user can directly dial according to the dial mechanism, and after receiving dial information, the dial information is converted into the target label and the target label is displayed; compared with a mode of sticking paper labels, the accuracy of the target label is ensured, even if misoperation occurs, the target label can be dialed again without tearing off the label and sticking again, the labor force of operators is reduced, and the label setting efficiency is improved; and the label is not required to be printed, so that the preorder processing flow of the server is reduced, and the production efficiency is ensured.

Description

Method, device and system for displaying hard disk label and storage medium
Technical Field
The invention belongs to the technical field of server design, and particularly relates to a method, a device, a system and a storage medium for displaying a hard disk label.
Background
In the design process of the server, a disk sequence label needs to be attached to the front window and the rear window of the server, so that a user can check information such as a serial number, a model number, a batch number, firmware, a production date and the like of a hard disk. Therefore, the server needs to paste a corresponding label on the hard disk of the server before online use.
In the prior art, a label needs to be printed first, and then the label is manually pasted to an area to be pasted. Due to the fact that the kinds of the disc sequence labels are various, time is wasted when the labels are printed; and when manual pasting is carried out, pasting errors can occur, and the pasting possibility needs to be torn off again. This not only consumes a lot of manpower, but also the overall sticking efficiency of the label is low.
Disclosure of Invention
Aiming at the problems in the prior art, the embodiment of the invention provides a method, a device, a system and a storage medium for displaying a hard disk label, which are used for solving the technical problems that in the prior art, when a disk sequence label is manually pasted on a hard disk, manpower is consumed, the pasting efficiency is low, and the production efficiency is reduced.
The invention provides a method for displaying a hard disk label, which comprises the following steps:
acquiring a target hard disk type, and searching a corresponding target label and a target dial-up mechanism corresponding to the target label in a preset label library based on the target hard disk type;
pushing the target dialing mechanism to a user;
receiving dial-up information sent by the user, and converting the dial-up information into the target label;
and sending the target label to a display screen, wherein the display screen is used for displaying the target label.
Optionally, before the obtaining the target hard disk type, the method further includes:
acquiring at least one hard disk type, a label corresponding to the at least one hard disk type and a dial-up mechanism corresponding to the label;
and storing the at least one hard disk type, the label corresponding to the at least one hard disk type and the dial-up mechanism corresponding to the label into the label library.
Optionally, the method further includes:
acquiring the historical use times of each label;
and determining the complexity of the dial-up mechanism according to the priority of the label.
Optionally, the converting the dial-up information into the target tag includes:
and converting binary data corresponding to the dial-up information into the target label based on a preset data conversion strategy.
The present invention also provides a device for displaying a hard disk label, the device comprising:
the device comprises an acquisition unit, a storage unit and a processing unit, wherein the acquisition unit is used for acquiring a target hard disk type, and searching a corresponding target label and a target dial-up mechanism corresponding to the target label in a preset label library based on the target hard disk type;
the sending unit is used for pushing the target dialing mechanism to a user;
the conversion unit is used for receiving dial information sent by the user and converting the dial information into the target label; and sending the target label to a display screen, wherein the display screen is used for displaying the target label.
Optionally, the obtaining unit is further configured to:
before obtaining a target hard disk type, obtaining at least one hard disk type, a label corresponding to the at least one hard disk type and a dial-up mechanism corresponding to the label;
and storing the at least one hard disk type, the label corresponding to the at least one hard disk type and the dial-up mechanism corresponding to the label into the label library.
Optionally, the obtaining unit is further configured to:
acquiring the historical use times of each label;
determining the priority corresponding to each label according to the historical use times corresponding to each label;
and determining the complexity of the dial-up mechanism according to the priority of the label.
Optionally, the conversion unit is specifically configured to:
and converting binary data corresponding to the dial-up information into the target label based on a preset data conversion strategy.
The present invention also provides a system for displaying a hard disk label, the system comprising: the device comprises a controller, a display screen and a dial; wherein the content of the first and second substances,
the controller is used for acquiring a target hard disk type, and searching a corresponding target label and a target dial-up mechanism corresponding to the target label in a preset label library based on the target hard disk type; pushing the target dialing mechanism to a user;
the dial is used for receiving dial information sent by the user and sending the dial information to the controller;
the controller is further configured to: converting the dial-up information into the target label;
the display screen is used for displaying the target label.
The invention also provides a computer-readable storage medium having stored thereon a computer program for execution by a processor of a method according to any one of the preceding claims.
The invention provides a method, a device, a system and a storage medium for displaying hard disk labels, wherein the method comprises the following steps: acquiring a target hard disk type, and searching a corresponding target label and a target dial-up mechanism corresponding to the target label in a preset label library based on the target hard disk type; pushing the target dialing mechanism to a user; receiving dial-up information sent by the user, and converting the dial-up information into the target label; sending the target label to a display screen, wherein the display screen is used for displaying the target label; therefore, when the type of the target hard disk is obtained, the corresponding target label and the dial mechanism corresponding to the target label can be directly found in the label library, the dial mechanism is sent to a user, the user can dial directly according to the dial mechanism, and after dial information sent by the user is received, the dial information is converted into the target label and the target label is displayed; compared with the mode of sticking paper labels, the method has the advantages that a user directly dials according to a pushed dialing mechanism, so that the accuracy of the target label can be ensured, even if misoperation occurs, dialing can be carried out again, the label does not need to be torn off, and sticking is carried out again; therefore, the labor force of operators can be reduced, and the label setting efficiency is improved; and the label printing is not needed, the preorder processing flow of the server is reduced, and the production efficiency is ensured.
Drawings
Fig. 1 is a schematic flow chart of a method for displaying a hard disk label according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a controller connected to a dial according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a dialing mechanism corresponding to a first tag according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a simulation of a dialing mechanism corresponding to a first tag according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a conversion of a dialing mechanism corresponding to a first tag into a tag according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a dialing mechanism corresponding to a second tag according to an embodiment of the present invention;
fig. 7 is a schematic diagram illustrating a simulation of a dialing mechanism corresponding to a second tag according to an embodiment of the present invention;
fig. 8 is a schematic diagram illustrating a conversion of a dialing mechanism corresponding to a second tag into a tag according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a dialing mechanism corresponding to a third tag according to an embodiment of the present invention;
fig. 10 is a schematic diagram illustrating a simulation of a dialing mechanism corresponding to a third tag according to an embodiment of the present invention;
fig. 11 is a schematic diagram illustrating a conversion of a dialing mechanism corresponding to a third tag into a tag according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of an apparatus for displaying a hard disk label according to an embodiment of the present invention;
FIG. 13 is a schematic diagram of a system according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
In order to solve the technical problems that in the prior art, when a disk sequence label is manually pasted on a hard disk, manpower is consumed, pasting efficiency is low, and production efficiency is reduced, the invention provides a method, a device and a system for displaying a hard disk label and a storage medium.
The technical solution of the present invention is further described in detail by the accompanying drawings and the specific embodiments.
Example one
The embodiment provides a method for displaying a hard disk label, which is applied to a device for displaying a hard disk label, wherein the device can comprise a controller; as shown in fig. 1, the method comprises:
s110, acquiring a target hard disk type, and searching a corresponding target label and a target dial-up mechanism corresponding to the target label in a preset label library based on the target hard disk type;
generally, the hard disk types include a plurality of types, and the corresponding label of each hard disk is different. As an optional embodiment, before the obtaining the target hard disk type, the method further includes:
acquiring at least one hard disk type, a label corresponding to the at least one hard disk type and a dial-up mechanism corresponding to the label;
and storing at least one hard disk type, a label corresponding to the at least one hard disk type and a dial-up mechanism corresponding to the label into the label library.
Here, the at least one hard disk type, the tag corresponding to the at least one hard disk type, and the dial-up mechanism corresponding to the tag may be stored in the computer in advance, and the at least one hard disk type, the tag corresponding to the at least one hard disk type, and the dial-up mechanism corresponding to the tag may be imported into the controller by the computer. The computer and the controller may be connected by a Video Graphics Array (VGA) cable.
Since the dialing mechanisms are different in complexity, as an alternative embodiment, the method further includes:
acquiring the historical use times of each label;
determining the priority corresponding to each label according to the historical use times corresponding to each label; and determining the complexity of the dial-up mechanism according to the priority of the label. The priority level of the tag is opposite to the complexity of the dialing mechanism.
That is to say, when the historical use frequency of the tag is higher, it indicates that the tag is a commonly used tag, and at this time, the priority level of the tag may be set to a high level, and then the dial mechanism corresponding to the tag is a dial mechanism with a low complexity, which is convenient for the user to operate.
For example, if the hard disk types include a and B, the corresponding labels are a1 and B1, respectively, and the priority of a1 is higher than that of B1, then the complexity of the dialing mechanism corresponding to a1 is lower than that of the dialing mechanism corresponding to B1. For example, a1 may correspond to a dialing mechanism of 10000000; the dialing mechanism corresponding to b1 may be 10100101.
When a user needs to set a tag for a certain target hard disk, the user can input the type of the target hard disk, so that the type of the target hard disk can be obtained, and a corresponding target tag and a target dial-up mechanism corresponding to the target tag are searched in a preset tag library based on the type of the target hard disk.
S111, pushing the target dialing mechanism to a user;
after the target dialing mechanism is obtained, the target dialing mechanism is sent to a display screen, and a user can receive the target dialing mechanism. The display screen and the controller can be integrated devices or independent devices, the display screen and the controller can be powered by the power supply of the server, and the power supply voltage is 12V or 24V.
S112, receiving dial-up information sent by the user, and converting the dial-up information into the target label;
after receiving the target dialing mechanism, the user can send dialing information through the dialing disc. Such as: when the dial is an 8-segment bit dial switch and the target dial mechanism is 10000000, the user only needs to set the first bit signal on the dial to be high level and the rest 7 bit signals to be low level, and the dial information is 10000000 at this moment.
Here, as shown in fig. 2, the dial is connected to a communication module of the controller, eight-bit switch signals of the dial are respectively connected to corresponding pins of the communication module, and the communication module is connected to a CPU chip of the controller. Therefore, after the user inputs corresponding dial information through the dial, the controller can receive the dial information sent by the user and convert the dial information into the target label.
Here, since the dial information is binary data, it is necessary to convert the binary data into the destination tag. As an alternative embodiment, converting the dial-up information into the target tag includes:
and converting binary data corresponding to the dial-up information into the target label based on a preset data conversion strategy. Such as: the data conversion strategy may be a binary to decimal conversion strategy.
For example, referring to fig. 3, if the dialing mechanism corresponding to a certain tag is 10000000, a schematic diagram of simulating the dialing mechanism is shown in fig. 4, and the target tag after conversion can refer to fig. 5.
Referring to fig. 6, if the dialing mechanism corresponding to a certain tag is 01000000, a schematic diagram of simulating the dialing mechanism is shown in fig. 7, and the converted target tag may refer to fig. 8.
Referring to fig. 9, if a dialing mechanism corresponding to a certain tag is 11000000, a schematic diagram of simulating the dialing mechanism is shown in fig. 10, and a converted target tag may refer to fig. 11.
S113, sending the target label to a display screen, wherein the display screen is used for displaying the target label.
And after the dial-up information is converted into a target label, sending the target label to a display screen, wherein the display screen is used for displaying the target label. This completes the setting of the tag.
It should be noted that, in practical application, the controller, the dial and the display screen are all arranged in the server, and in order to avoid that a user randomly changes a label after the server is on line, the controller and the dial in the embodiment are all arranged in a server case, and the display screen is arranged outside the case; when the user is powered on, the hard disk label can be directly viewed through the display screen.
Compared with the traditional mode of manually sticking paper labels, the mode of directly displaying the hard disk labels through the display screen can reduce the preorder processing flow of the server, save consumables and facilitate the operation of operators; even if the label is set wrongly, the code is dialed again, so that the labor force of operators can be reduced; and the label is not required to be printed, the processing flow before the server is on line is reduced, the label pasting efficiency is improved to a certain extent, and the production efficiency is further ensured.
Based on the same inventive concept, the invention also provides a device for displaying the hard disk label, which is shown in the second embodiment in detail.
Example two
The present embodiment provides an apparatus (specifically, may be a controller) for displaying a hard disk label, as shown in fig. 12, the apparatus includes: an acquisition unit 121, a transmission unit 122, and a conversion unit 123; wherein the content of the first and second substances,
an obtaining unit 121, configured to obtain a target hard disk type, and search a corresponding target tag and a target dial-up mechanism corresponding to the target tag in a preset tag library based on the target hard disk type;
a sending unit 122, configured to push the target dialing mechanism to a user; sending the target label to a display screen, wherein the display screen is used for displaying the target label;
a conversion unit 123, configured to receive dial-up information sent by the user through a dial, and convert the dial-up information into the target tag.
Generally, the hard disk types include a plurality of types, and the corresponding label of each hard disk is different. As an alternative embodiment, before the obtaining unit 121 obtains the target hard disk type, it is further configured to:
acquiring at least one hard disk type, a label corresponding to the at least one hard disk type and a dial-up mechanism corresponding to the label;
and storing at least one hard disk type, a label corresponding to the at least one hard disk type and a dial-up mechanism corresponding to the label into the label library.
Here, the at least one hard disk type, the tag corresponding to the at least one hard disk type, and the dial-up mechanism corresponding to the tag may be stored in the computer in advance, and the at least one hard disk type, the tag corresponding to the at least one hard disk type, and the dial-up mechanism corresponding to the tag may be imported into the controller by the computer. The computer and the controller may be connected by a Video Graphics Array (VGA) cable.
Since the complexity of the dialing mechanism is different, as an alternative embodiment, the obtaining unit 121 is further configured to:
acquiring the historical use times of each label;
determining the priority corresponding to each label according to the historical use times corresponding to each label; and determining the complexity of the dial-up mechanism according to the priority of the label. The priority level of the tag is opposite to the complexity of the dialing mechanism.
That is to say, when the historical use frequency of the tag is higher, it indicates that the tag is a commonly used tag, and at this time, the priority level of the tag may be set to a high level, and then the dial mechanism corresponding to the tag is a dial mechanism with a low complexity, which is convenient for the user to operate.
For example, if the hard disk types include a and B, the corresponding tags are a1 and B1, respectively, and the priority of a1 is higher than that of B1, then the complexity of the dialing mechanism corresponding to a1 is lower than that of the dialing mechanism corresponding to B1. For example, a1 may correspond to a dialing mechanism of 10000000; the dialing mechanism corresponding to b1 may be 10100101.
When a user needs to set a tag for a certain target hard disk, the user may input a target hard disk type, and then the obtaining unit 121 may obtain the target hard disk type, and search for a corresponding target tag and a target dial-up mechanism corresponding to the target tag in a preset tag library based on the target hard disk type.
After the target dialing mechanism is acquired, the sending unit 122 is configured to send the target dialing mechanism to the display screen, so that the user can receive the target dialing mechanism. The display screen and the controller can be integrated devices or independent devices, the display screen and the controller can be powered by the power supply of the server, and the power supply voltage is 12V or 24V.
After receiving the target dialing mechanism, the user can send dialing information through the dialing disc. Such as: when the dial is an 8-segment bit dial switch and the target dial mechanism is 10000000, the user only needs to set the first bit signal on the dial to be high level and the rest 7 bit signals to be low level, and the dial information is 10000000 at this moment.
Here, as shown in fig. 2, the dial is connected to a communication module of the controller, eight-bit switch signals of the dial are respectively connected to corresponding pins of the communication module, and the communication module is connected to a CPU chip of the controller. Therefore, after the user inputs corresponding dial information through the dial, the controller can receive the dial information sent by the user and convert the dial information into the target label.
Here, since the dial information is binary data, it is necessary to convert the binary data into the destination tag. As an alternative embodiment, the converting unit 123 converts the dial-up information into the target tag, which includes:
and converting binary data corresponding to the dial-up information into the target label based on a preset data conversion strategy. Such as: the data conversion strategy may be a binary to decimal conversion strategy.
For example, referring to fig. 3, if the dialing mechanism corresponding to a certain tag is 10000000, a schematic diagram of simulating the dialing mechanism is shown in fig. 4, and the target tag after conversion can refer to fig. 5.
Referring to fig. 6, if the dialing mechanism corresponding to a certain tag is 01000000, a schematic diagram of simulating the dialing mechanism is shown in fig. 7, and the converted target tag may refer to fig. 8.
Referring to fig. 9, if the dialing mechanism corresponding to a certain tag is 11000000, a schematic diagram of simulating the dialing mechanism is shown in fig. 10, and the converted target tag may refer to fig. 11.
After the dial-up information is converted into a target label, the sending unit 123 sends the target label to a display screen, and the display screen is used for displaying the target label; this completes the setting of the tag.
Based on the same inventive concept, the invention also provides a system for displaying the hard disk label, which is detailed in the third embodiment.
EXAMPLE III
The present embodiment provides a system for displaying a hard disk label, as shown in fig. 13, the system includes: a controller 131, a display 132, and a dial 133; wherein the content of the first and second substances,
the controller 131 is configured to obtain a target hard disk type, and search a corresponding target tag and a target dial-up mechanism corresponding to the target tag in a preset tag library based on the target hard disk type; pushing the target dialing mechanism to a user;
the dial 133 is configured to receive dial information sent by the user, and send the dial information to the controller;
the controller 131 is further configured to: converting the dial-up information into the target label;
the display screen 132 is used for displaying the target tag.
In practical application, the system may be a server; generally, the hard disk types include a plurality of types, and the corresponding label of each hard disk is different. As an alternative embodiment, before the controller 131 obtains the target hard disk type, it is further configured to:
acquiring at least one hard disk type, a label corresponding to the at least one hard disk type and a dial-up mechanism corresponding to the label;
and storing at least one hard disk type, a label corresponding to the at least one hard disk type and a dial-up mechanism corresponding to the label into the label library.
Here, at least one hard disk type, a tag corresponding to the at least one hard disk type, and a dial mechanism corresponding to the tag may be stored in the computer in advance, and the at least one hard disk type, the tag corresponding to the at least one hard disk type, and the dial mechanism corresponding to the tag may be imported into the controller 131 through the computer. The computer and the controller 131 may be connected to each other via a Video Graphics Array (VGA) cable.
Since the complexity of the dialing mechanism is different, as an alternative embodiment, the controller 131 is further configured to:
acquiring the historical use times of each label;
determining the priority corresponding to each label according to the historical use times corresponding to each label; the priority level of the tag is inversely proportional to the complexity of the dialing mechanism.
That is to say, when the historical use frequency of the tag is higher, it indicates that the tag is a commonly used tag, and at this time, the priority level of the tag may be set to a high level, and then the dial mechanism corresponding to the tag is a dial mechanism with a low complexity, which is convenient for the user to operate.
For example, if the hard disk types include a and B, the corresponding labels are a1 and B1, respectively, and the priority of a1 is higher than that of B1, then the complexity of the dialing mechanism corresponding to a1 is lower than that of the dialing mechanism corresponding to B1. For example, a1 may correspond to a dialing mechanism of 10000000; the dialing mechanism corresponding to b1 may be 10100101.
When a user needs to set a tag for a certain target hard disk, the user can input a target hard disk type, and then the controller 131 can obtain the target hard disk type, and search a corresponding target tag and a target dial-up mechanism corresponding to the target tag in a preset tag library based on the target hard disk type.
After the target dialing mechanism is acquired, the target dialing mechanism is sent to the display screen 132, and the user can receive the target dialing mechanism. Here, the display 132 and the controller 131 may be an integrated device or an independent device, and the display 132 and the controller 131 may be powered by power supplied from the power supply of the server, and the power supply voltage may be 12V or 24V.
After receiving the target dialing mechanism, the user may send dialing information via the dial 133. Such as: when the dial 133 is an 8-segment dial switch and the target dial mechanism is 10000000, the user only needs to set the first-bit signal on the dial to a high level and set the remaining 7-bit signals to a low level, and the dial information is 10000000 at this time.
Here, as shown in fig. 2, the dial 133 is connected to the communication module of the controller 131, eight-bit switching signals of the dial 133 are respectively connected to corresponding pins of the communication module, and the communication module is connected to the CPU chip of the controller 131. Therefore, when the user inputs the corresponding dial information through the dial 133, the controller 131 can receive the dial information sent by the user and convert the dial information into the target label.
Here, since the dial information is binary data, it is necessary to convert the binary data into the destination tag. As an alternative embodiment, the controller 131 converts the dial-up information into the target tag, including:
and converting binary data corresponding to the dial-up information into the target label based on a preset data conversion strategy. Such as: the data conversion strategy may be a binary to decimal conversion strategy.
For example, referring to fig. 3, if the dialing mechanism corresponding to a certain tag is 10000000, a schematic diagram of simulating the dialing mechanism is shown in fig. 4, and the target tag after conversion can refer to fig. 5.
Referring to fig. 6, if the dialing mechanism corresponding to a certain tag is 01000000, a schematic diagram of simulating the dialing mechanism is shown in fig. 7, and the converted target tag may refer to fig. 8.
Referring to fig. 9, if the dialing mechanism corresponding to a certain tag is 11000000, a schematic diagram of simulating the dialing mechanism is shown in fig. 10, and the converted target tag may refer to fig. 11.
After the dialing information is converted into the target tag, the target tag is displayed on the display screen 132. This completes the setting of the tag.
It should be noted that, in order to avoid the user changing the label at will after the server is on line, the controller 131 and the dial 133 in this embodiment are both disposed inside the server chassis, and the display screen 132 is disposed outside the chassis; the hard disk label can be viewed directly through the display screen 132 when the user is powered on.
The method for displaying the hard disk label and the server provided by the embodiment of the invention have the following beneficial effects that:
the invention provides a method, a device, a system and a storage medium for displaying hard disk labels, wherein the method comprises the following steps: acquiring a target hard disk type, and searching a corresponding target label and a target dial-up mechanism corresponding to the target label in a preset label library based on the target hard disk type; pushing the target dialing mechanism to a user; receiving dial-up information sent by the user, and converting the dial-up information into the target label; displaying the target label; therefore, when the type of the target hard disk is obtained, the corresponding target label and the dial mechanism corresponding to the target label can be directly found in the label library, the dial mechanism is sent to a user, the user can dial directly according to the dial mechanism, and after dial information sent by the user is received, the dial information is converted into the target label and the target label is displayed; compared with the mode of sticking paper labels, the method has the advantages that a user directly dials according to a pushed dialing mechanism, so that the accuracy of the target label can be ensured, even if misoperation occurs, dialing can be carried out again, the label does not need to be torn off, and sticking is carried out again; therefore, the labor force of operators can be reduced, and the label setting efficiency is improved; and the label printing is not needed, the preorder processing flow of the server is reduced, and the production efficiency is ensured.
Based on the same inventive concept, the invention also provides a storage medium corresponding to the fourth embodiment.
Example four
The present embodiment provides a computer-readable storage medium 500, as shown in fig. 14, on which a computer program 511 is stored, the computer program 511 implementing the following steps when executed by a processor:
acquiring a target hard disk type, and searching a corresponding target label and a target dial-up mechanism corresponding to the target label in a preset label library based on the target hard disk type;
pushing the target dialing mechanism to a user;
receiving dial-up information sent by the user, and converting the dial-up information into the target label;
and sending the target label to a display screen, wherein the display screen is used for displaying the target label.
In a specific implementation, the computer program 511 may implement any one of the embodiments when executed by a processor.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
The above description is only exemplary of the present invention and should not be taken as limiting the scope of the present invention, and any modifications, equivalents, improvements, etc. that are within the spirit and principle of the present invention should be included in the present invention.

Claims (8)

1. A method for displaying a hard disk label is applied to a device for displaying a hard disk label, and the device comprises the following steps: a controller; the method comprises the following steps:
acquiring a target hard disk type, and searching a corresponding target label and a target dial-up mechanism corresponding to the target label in a preset label library based on the target hard disk type;
pushing the target dialing mechanism to a user;
receiving dial information sent by the user through a dial, and converting the dial information into the target label;
sending the target label to a display screen, wherein the display screen is used for displaying the target label; the controller and the dial plate are arranged inside the server case, and the display screen is arranged outside the server case; wherein the content of the first and second substances,
the method further comprises the following steps:
acquiring historical use times of a label corresponding to at least one hard disk type;
determining the priority corresponding to each label according to the historical use times corresponding to each label;
and determining the complexity of the dial-up mechanism according to the priority of the label.
2. The method of claim 1, wherein prior to obtaining the target hard disk type, further comprising:
acquiring at least one hard disk type, a label corresponding to the at least one hard disk type and a dial-up mechanism corresponding to the label;
and storing the at least one hard disk type, the label corresponding to the at least one hard disk type and the dial-up mechanism corresponding to the label into the label library.
3. The method of claim 1, wherein said converting the dialing information into the target tag comprises:
and converting binary data corresponding to the dial-up information into the target label based on a preset data conversion strategy.
4. An apparatus for displaying a hard disk label, the apparatus comprising: a controller, the apparatus comprising:
the device comprises an acquisition unit, a storage unit and a processing unit, wherein the acquisition unit is used for acquiring a target hard disk type, and searching a corresponding target label and a target dial-up mechanism corresponding to the target label in a preset label library based on the target hard disk type;
the sending unit is used for pushing the target dialing mechanism to a user;
the conversion unit is used for receiving dial information sent by the user through a dial and converting the dial information into the target label; sending the target label to a display screen, wherein the display screen is used for displaying the target label; the controller and the dial plate are arranged inside the server case, and the display screen is arranged outside the server case; wherein the content of the first and second substances,
the acquisition unit is further configured to:
acquiring historical use times of a label corresponding to at least one hard disk type;
determining the priority corresponding to each label according to the historical use times corresponding to each label;
and determining the complexity of the dial-up mechanism according to the priority of the label.
5. The apparatus of claim 4, wherein the obtaining unit is further to:
before obtaining a target hard disk type, obtaining at least one hard disk type, a label corresponding to the at least one hard disk type and a dial-up mechanism corresponding to the label;
and storing the at least one hard disk type, the label corresponding to the at least one hard disk type and the dial-up mechanism corresponding to the label into the label library.
6. The apparatus of claim 4, wherein the conversion unit is specifically configured to:
and converting binary data corresponding to the dial-up information into the target label based on a preset data conversion strategy.
7. A system for displaying hard disk tags, the system comprising: the device comprises a controller, a display screen and a dial; wherein the content of the first and second substances,
the controller is used for acquiring a target hard disk type, and searching a corresponding target label and a target dial-up mechanism corresponding to the target label in a preset label library based on the target hard disk type; pushing the target dialing mechanism to a user;
the dial is used for receiving dial information sent by the user and sending the dial information to the controller;
the controller is further configured to: converting the dial-up information into the target label;
the display screen is used for displaying the target label; the controller and the dial plate are arranged inside the server case, and the display screen is arranged outside the server case; wherein the content of the first and second substances,
the controller is further configured to:
acquiring historical use times of a label corresponding to at least one hard disk type;
determining the priority corresponding to each label according to the historical use times corresponding to each label;
and determining the complexity of the dial-up mechanism according to the priority of the label.
8. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the method of any one of claims 1 to 3.
CN202010882690.3A 2020-08-28 2020-08-28 Method, device and system for displaying hard disk label and storage medium Active CN112182664B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010882690.3A CN112182664B (en) 2020-08-28 2020-08-28 Method, device and system for displaying hard disk label and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010882690.3A CN112182664B (en) 2020-08-28 2020-08-28 Method, device and system for displaying hard disk label and storage medium

Publications (2)

Publication Number Publication Date
CN112182664A CN112182664A (en) 2021-01-05
CN112182664B true CN112182664B (en) 2022-08-05

Family

ID=73923970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010882690.3A Active CN112182664B (en) 2020-08-28 2020-08-28 Method, device and system for displaying hard disk label and storage medium

Country Status (1)

Country Link
CN (1) CN112182664B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107256198A (en) * 2017-05-26 2017-10-17 郑州云海信息技术有限公司 Server and the method for server hard disc board distribution I2C addresses
CN110377553A (en) * 2019-06-26 2019-10-25 苏州浪潮智能科技有限公司 A kind of method and device detecting hard disk backboard and mainboard port corresponding relationship

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9390086B2 (en) * 2014-09-11 2016-07-12 Palantir Technologies Inc. Classification system with methodology for efficient verification

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107256198A (en) * 2017-05-26 2017-10-17 郑州云海信息技术有限公司 Server and the method for server hard disc board distribution I2C addresses
CN110377553A (en) * 2019-06-26 2019-10-25 苏州浪潮智能科技有限公司 A kind of method and device detecting hard disk backboard and mainboard port corresponding relationship

Also Published As

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

Similar Documents

Publication Publication Date Title
CN102708388B (en) Electronic tag system, electronic tag and method for updating electronic tag
CN111181804B (en) Intelligent device offline state automatic detection method and device, electronic device and medium
KR20110109072A (en) Electronic shelf lable system, and synchronization method between product and electronic shelf lable tag and product infomatioin update method in the same
CN113163345B (en) Broadcast communication method, system, gateway equipment and electronic price tag
CN105117953A (en) User sign-in processing method and device
US20140091985A1 (en) Method, system, and device for determining a location of micro digital signage devices
CN102023882A (en) System and method for computer to automatically identify mobile phone and install mobile phone driver
CN106598530A (en) Display panel configuration method and device
CN110460653A (en) The method and device of automatic driving vehicle data transmission
CN111651471A (en) Target data query method and device, electronic equipment and storage medium
CN112182664B (en) Method, device and system for displaying hard disk label and storage medium
CN114070763B (en) Test method, client, server and medium based on improved REST protocol
CN205396765U (en) Test tube automatic labeling machine's controlling means
CN108596298B (en) Device and method for electronic tag management
EP4012600A1 (en) Electronic price tag communications system, method and apparatus
CN201853464U (en) Electronic tag display terminal
EP2819085A1 (en) Terminal management apparatus and method of controlling the same
CN211827293U (en) Tool with display device
CN116047259A (en) Detection system and detection method
US20110211512A1 (en) Frame generation device, reception device, data transmission/reception system, frame generation method, and reception method
CN112242122A (en) Dual-screen display method, device and system based on android system
CN102625136B (en) STB (Set Top Box) quality control system and control method for STB quality control system
CN112199122A (en) Method, device and equipment for configuring display screen parameters
CN113190261A (en) Device driving configuration method, device driving method and device and terminal device
CN116302500B (en) CPIE resource sharing scheduling method and system based on X86 platform

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