CN115203083A - Information processing method and device and electronic equipment - Google Patents

Information processing method and device and electronic equipment Download PDF

Info

Publication number
CN115203083A
CN115203083A CN202210650777.7A CN202210650777A CN115203083A CN 115203083 A CN115203083 A CN 115203083A CN 202210650777 A CN202210650777 A CN 202210650777A CN 115203083 A CN115203083 A CN 115203083A
Authority
CN
China
Prior art keywords
sensor
sub
offset
read
sensors
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210650777.7A
Other languages
Chinese (zh)
Inventor
苏芳庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202210650777.7A priority Critical patent/CN115203083A/en
Publication of CN115203083A publication Critical patent/CN115203083A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The present disclosure provides an information processing method, an information processing apparatus, and an electronic device, including: confirming the offset and the sub serial number of the sensor to be read; acquiring sensing information of the sensor to be read based on the offset and the sub-serial number of the sensor to be read; and the sensor determined by the offset and the sub serial number is unique.

Description

Information processing method and device and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an information processing method and apparatus, and an electronic device.
Background
In the related art, a substrate control manager (BMC) reads sensing information of each sensor in an electronic device through an Intelligent Platform Management Interface (IPMI); however, IPMI has a limitation on the number of readings, and cannot read the sensing information of all the sensors in the electronic device.
Disclosure of Invention
The present disclosure provides an information processing method, an information processing apparatus, and an electronic device, so as to at least solve the above technical problems in the prior art.
According to a first aspect of the present disclosure, there is provided an information processing method including:
confirming the offset and the sub serial number of the sensor to be read;
acquiring sensing information of the sensor to be read based on the offset and the sub serial number of the sensor to be read;
and the sensor determined by the offset and the sub serial number is unique.
In the above scheme, the determining the offset and the sub serial number of the sensor to be read includes:
numbering all sensors in the electronic equipment, and confirming corresponding serial numbers of all the sensors;
determining the offset and the sub-sequence number of each sensor based on the sequence numbers corresponding to all the sensors and the reading threshold value;
and storing the corresponding relation among the sensor names, the offsets and the sub serial numbers of all the sensors.
In the foregoing solution, the determining the offset and the sub-serial number of each sensor based on the serial numbers corresponding to all the sensors and the reading threshold includes performing the following operations on each sensor:
in response to numbering all sensors in the electronic equipment in an incremental manner, dividing the serial numbers of the sensors by the reading threshold value to determine a division result;
and determining that the quotient in the division result is the offset and the remainder is the sub serial number.
In the above scheme, the determining the offset and the sub serial number of the sensor to be read includes:
and determining the offset and the sub-serial number of the sensor to be read based on the name of the sensor to be read and the corresponding relation between the sensor names, the offsets and the sub-serial numbers of all the sensors.
In the above solution, the reading threshold includes a maximum value of the sensor read by the electronic device based on IPMI.
According to a second aspect of the present disclosure, there is provided an information processing apparatus comprising:
the confirming unit is used for confirming the offset and the sub serial number of the sensor to be read;
the acquisition unit is used for acquiring the sensing information of the sensor to be read based on the offset and the sub serial number of the sensor to be read;
and the sensor determined by the offset and the sub serial number is unique.
In the foregoing solution, the confirmation unit is specifically configured to:
numbering all sensors in the electronic equipment, and confirming corresponding serial numbers of all the sensors;
determining the offset and the sub-sequence number of each sensor based on the sequence numbers corresponding to all the sensors and the reading threshold value;
and storing the corresponding relation among the sensor names, the offsets and the sub serial numbers of all the sensors.
In the foregoing solution, the confirming unit is specifically configured to:
in response to numbering all sensors in the electronic equipment in an incremental manner, dividing the serial numbers of the sensors by the reading threshold value to determine a division result;
and determining that the quotient in the division result is the offset and the remainder is the sub serial number.
In the foregoing solution, the obtaining unit is specifically configured to:
and determining the offset and the sub-serial number of the sensor to be read based on the name of the sensor to be read and the corresponding relation between the sensor names, the offsets and the sub-serial numbers of all the sensors.
According to a third aspect of the present disclosure, there is provided an electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the methods of the present disclosure.
The information processing method disclosed by the invention comprises the steps of confirming the offset and the sub serial number of the sensor to be read; acquiring sensing information of the sensor to be read based on the offset and the sub serial number of the sensor to be read; the sensor determined by the offset and the sub serial number is unique; therefore, the limitation of the number of IPMI reading sensors can be broken through, and the sensing information of all the sensors in the electronic equipment can be read.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present disclosure will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the present disclosure are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
in the drawings, like or corresponding reference characters designate like or corresponding parts.
Fig. 1 is a schematic diagram illustrating an alternative structure of an information processing method provided in an embodiment of the present disclosure;
fig. 2 is a schematic flow chart illustrating another alternative information processing method provided by the embodiment of the present disclosure;
fig. 3 shows an alternative schematic diagram of an information processing method provided by an embodiment of the present disclosure;
fig. 4 is a schematic diagram illustrating still another alternative flow of an information processing method provided in an embodiment of the present disclosure;
fig. 5 is a schematic diagram illustrating an alternative structure of an information processing apparatus provided in an embodiment of the present disclosure;
fig. 6 shows a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, features and advantages of the present disclosure more apparent and understandable, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
In the related technology, a substrate control manager reads the sensing information of each sensor in the electronic equipment through an intelligent platform management interface so as to realize the effect of monitoring a server; however, the IPMI has a limitation on the number of reading devices, and with the development of technology, the number of sensors in the electronic device is increasing, and the IPMI cannot read the sensing information of all the sensors in the electronic device.
In view of the defects in the related art solutions for reading sensor data, embodiments of the present disclosure provide an information processing method to solve at least some or all of the above technical problems.
Fig. 1 shows an alternative structure diagram of an information processing method provided in an embodiment of the present disclosure, which will be described according to various steps.
And step S101, confirming the offset and the sub serial number of the sensor to be read.
In some embodiments, an information processing apparatus (hereinafter referred to as an apparatus) determines the offset and the sub serial number of the sensor to be read based on the name of the sensor to be read and the correspondence between the sensor names and the offset and the sub serial numbers of all the sensors in the electronic device.
In other embodiments, the apparatus may further determine the offset and the sub-serial number of the sensor to be read based on the serial number of the sensor to be read and a read threshold. The serial number of the sensor to be read may be a unique identification number corresponding to the sensor to be read, or may be a sequence number read by the sensor to be read (for example, if the sensor to be read is an nth sensor read by the electronic device, the sequence number of the sensor to be read is N); the read threshold comprises a maximum value that the electronic device reads the sensor based on IPMI. For example, according to the related art, the maximum value of the IPMI read sensor is 256, and correspondingly, the read threshold is 256. Those skilled in the art will appreciate that 256 is merely exemplary and is not intended to limit the scope of the present disclosure, and that the read threshold may be set according to the maximum value of the IPMI read sensor, and is not a fixed value.
In still other embodiments, the apparatus may further determine an offset corresponding to the sensor to be read, and optionally, the apparatus may determine the offset corresponding to the sensor to be read based on an increasing order, or may determine the offset corresponding to the sensor to be read in a random manner; then, the device may further determine the sub serial number corresponding to the sensor to be read, optionally, the device may determine the sub serial number corresponding to the sensor to be read based on an increasing order, or may determine the sub serial number corresponding to the sensor to be read in a random manner; it should be noted that a set of offset and sub-serial number can only determine one sensor, i.e. the offset and sub-serial number of the sensor are unique.
And S102, acquiring the sensing information of the sensor to be read based on the offset and the sub serial number of the sensor to be read.
In some embodiments, the apparatus may be a BMC corresponding to an electronic device, and after determining the offset, the BMC reads the sensing information of the sensor to be read corresponding to the sub serial number through IPMI, and further obtains the sensing information of the sensor to be read. Optionally, the device (or BMC) may further store the offset, the sub-serial number, and the sensing information of the sensor to be read, so as to be used later.
In specific implementation, the BMC can obtain sensing information of at least one sensor corresponding to the same offset in batch; the sensing information of the sensor can also be read separately based on the serial number of the sensor.
In other embodiments, the BMC may further send an offset and a sub-serial number to the IPMI, determine the sensor to be read by the IPMI, further read the sensing information of the sensor to be read, and send the sensing information to the BMC, so as to achieve acquisition of the sensing information of the sensor to be read.
Therefore, by the information processing method provided by the embodiment of the disclosure, the offset and the sub-serial number of the sensor to be read are confirmed; acquiring sensing information of the sensor to be read based on the offset and the sub-serial number of the sensor to be read; the sensor determined by the offset and the sub-serial number is unique, so that the sensor to be read is determined again through the offset and the sub-serial number, and then the sensing information is obtained, the limitation of the maximum value of the IPMI reading sensor can be broken through, and the sensing information of all sensors in the electronic equipment can be obtained.
Fig. 2 shows another alternative flow chart of the information processing method provided by the embodiment of the present disclosure, which will be described according to various steps.
Step S201, confirming the offset and the sub serial number corresponding to each sensor in the electronic device.
In some embodiments, the information processing device numbers all sensors in the electronic equipment, and confirms corresponding serial numbers of all the sensors; determining the offset and the sub-sequence number of each sensor based on the sequence numbers corresponding to all the sensors and the reading threshold value; and storing the corresponding relation among the sensor names, the offsets and the sub serial numbers of all the sensors.
In specific implementation, the device may number all the sensors in an incremental manner (e.g., increment by +1, increment by + 2), divide the serial number of the sensor by the reading threshold, and determine a division result; and determining that the quotient in the division result is the offset and the remainder is the sub serial number. Alternatively, the offset may be determined by an OEM command function.
For example, the reading threshold includes that the electronic device reads a maximum value 256 of the sensor based on IPMI, an offset of the sensor with a serial number of 512 in the electronic device is 2, and a sub-serial number is 0; the offset of the sensor with serial number 212 in the electronic device is 0, and the sub serial number is 212.
Or, in specific implementation, the apparatus may generate in advance a correspondence between sensor names, offsets, and sub-serial numbers of all sensors in the electronic device, so as to determine the offset and the sub-serial number corresponding to each sensor.
Or, in specific implementation, the apparatus may further determine an offset corresponding to the sensor to be read, optionally, the apparatus may determine the offset corresponding to the sensor to be read based on an increasing order, or may determine the offset corresponding to the sensor to be read in a random manner; then, the device may further determine the sub serial number corresponding to the sensor to be read, optionally, the device may determine the sub serial number corresponding to the sensor to be read based on an increasing order, or may determine the sub serial number corresponding to the sensor to be read in a random manner; it should be noted that a set of offset and sub-serial number can only determine one sensor, i.e. the offset and sub-serial number of the sensor are unique.
Step S202, the offset and the sub serial number of the sensor to be read are confirmed.
In some embodiments, the apparatus may determine the offset and the sub serial number of the sensor to be read based on the name of the sensor to be read and a correspondence between the sensor names of all sensors in the electronic device and the offset and the sub serial number.
Or, the device may further determine the offset and the sub-serial number of the sensor to be read based on the serial number of the sensor to be read and a read threshold.
Step S203, acquiring the sensing information of the sensor to be read based on the offset and the sub serial number of the sensor to be read.
In some embodiments, the device may be a BMC corresponding to the electronic device, and after determining the offset, the BMC reads the sensing information of the to-be-read sensor corresponding to the sub serial number through IPMI, and further obtains the sensing information of the to-be-read sensor. Optionally, the device (or BMC) may further store the offset, the sub serial number, and the sensing information of the sensor to be read, so as to be used later.
In specific implementation, the BMC can obtain sensing information of at least one sensor corresponding to the same offset in batch; the sensing information of the sensor can also be read separately based on the serial number of the sensor.
For example, taking 256 as an example of a reading threshold, if the electronic device includes more than 256 sensors, the BMC may determine 256 sensors with an offset of 0, and read the sensing information of the sensors with an offset of 0 and a sub-serial number of 0 to 256 through IPMI; and then the BMC determines 256 sensors with the offset of 1, reads the sensing information of the sensors with the offset of 1 and the sub-serial numbers of 0-256 through the IPMI until the sensing information of all the sensors in the electronic equipment is obtained. Or the BMC can determine the corresponding offset and the sub-serial number based on the serial number of the sensor, and read the sensor corresponding to the sub-serial number through IPMI.
In other embodiments, the BMC may further send an offset and a sub-serial number to the IPMI, determine the sensor to be read by the IPMI, further read the sensing information of the sensor to be read, and send the sensing information to the BMC, so as to achieve acquisition of the sensing information of the sensor to be read.
Fig. 3 shows an alternative schematic diagram of an information processing method provided by the embodiment of the present disclosure.
As shown in fig. 3, when reading the sensing information of the sensor, the sensor monitoring task of the BMC first determines the offset (set offset) of the sensor to be read, and then reads the sensing information of the sensor corresponding to the offset by IPMI. As shown in fig. 3, sensing information of a sensor with an offset amount of 0 is read, and then sensing information of a sensor with an offset amount of 1 is read. Alternatively, if the reading threshold is 256, the offset amount is 1 for the sensor with serial number 426, and the sub-serial number is 170, when the sensing information of the sensor with offset amount is read, the sensing information of the sensor 170 that is read is substantially the sensing information of the sensor 426.
Therefore, by the information processing method provided by the embodiment of the disclosure, the offset and the sub-serial number of the sensor to be read are confirmed; acquiring sensing information of the sensor to be read based on the offset and the sub-serial number of the sensor to be read; the sensor determined by the offset and the sub-serial number is unique, so that the sensor to be read is determined again through the offset and the sub-serial number, and then the sensing information is acquired, the limitation of the maximum value of the IPMI reading sensor can be broken through, the sensing information of all sensors in the electronic equipment is acquired, and the method is compatible with the existing BMC design.
Fig. 4 shows a schematic flow chart of yet another alternative of the information processing method provided in the embodiment of the present disclosure, which will be described according to various steps.
In step S301, an offset is determined.
In some embodiments, the information processing apparatus first determines the offset when reading the sensing information. The offset may be determined based on the serial number of the sensor to be read, or may be determined in an increasing order. Wherein each offset corresponds to a read threshold sub-sequence number. The read threshold comprises a maximum value at which the BMC reads the sensor through IPMI.
For example, when the serial number of the sensor to be read is n, the quotient of the offset amount n ÷ read threshold value is set.
Step S302, reading the sensing information of at least one sensor based on the offset.
In some embodiments, the apparatus reads sensing information of at least one sensor corresponding to the offset amount based on IPMI.
Further, after receiving the sensing information, the BMC confirms the sensor corresponding to the sensing information based on the offset and the sub-sequence number, so as to facilitate subsequent operation.
Therefore, by the information processing method provided by the embodiment of the disclosure, the offset and the sub-serial number of the sensor to be read are confirmed; acquiring sensing information of the sensor to be read based on the offset and the sub serial number of the sensor to be read; the sensor determined by the offset and the sub-serial number is unique, so that the sensor to be read is determined again through the offset and the sub-serial number, and then the sensing information is acquired, the limitation of the maximum value of the IPMI reading sensor can be broken through, the sensing information of all sensors in the electronic equipment is acquired, and the method is compatible with the existing BMC design.
Fig. 5 is a schematic diagram showing an alternative structure of an information processing apparatus provided in an embodiment of the present disclosure, which will be described according to various parts.
In some embodiments, the information processing apparatus 500 includes a confirmation unit 501 and an acquisition unit 502.
The confirming unit 501 is configured to confirm the offset and the sub serial number of the sensor to be read;
the obtaining unit 502 is configured to obtain sensing information of the sensor to be read based on the offset and the sub serial number of the sensor to be read;
and the sensor determined by the offset and the sub serial number is unique.
The confirming unit 501 is specifically configured to number all sensors in the electronic device and confirm serial numbers corresponding to all the sensors; determining the offset and the sub-sequence number of each sensor based on the sequence numbers corresponding to all the sensors and the reading threshold value; and storing the corresponding relation among the sensor names, the offsets and the sub serial numbers of all the sensors.
The confirming unit 501 is specifically configured to, in response to numbering all sensors in the electronic device in an incremental manner, divide the serial number of the sensor by the reading threshold value, and determine a division result; and determining that the quotient in the division result is the offset and the remainder is the sub serial number.
The obtaining unit 502 is specifically configured to determine the offset and the sub-serial number of the sensor to be read based on the name of the sensor to be read and the corresponding relationship between the sensor names, the offsets and the sub-serial numbers of all the sensors.
In some embodiments, the read threshold comprises a maximum value that the electronic device reads the sensor based on IPMI.
The present disclosure also provides an electronic device and a readable storage medium according to an embodiment of the present disclosure.
Fig. 6 illustrates a schematic block diagram of an example electronic device 800 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the electronic device 800 includes a computing unit 801 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 802 or a computer program loaded from a storage unit 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic apparatus 800 can also be stored. The calculation unit 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
A number of components in the electronic device 800 are connected to the I/O interface 805, including: an input unit 806 such as a keyboard, a mouse, or the like; an output unit 807 such as various types of displays, speakers, and the like; a storage unit 808, such as a magnetic disk, optical disk, or the like; and a communication unit 809 such as a network card, modem, wireless communication transceiver, etc. The communication unit 809 allows the electronic device 800 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
Computing unit 801 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 801 executes the respective methods and processes described above, such as an information processing method. For example, in some embodiments, the information processing method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 808. In some embodiments, part or all of the computer program can be loaded and/or installed onto the electronic device 800 via the ROM 802 and/or the communication unit 809. When the computer program is loaded into the RAM 803 and executed by the computing unit 801, one or more steps of the information processing method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the information processing method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server with a combined blockchain.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present disclosure, "a plurality" means two or more unless specifically limited otherwise.
The above description is only for the specific embodiments of the present disclosure, but the scope of the present disclosure is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present disclosure, and shall cover the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (10)

1. An information processing method, the method comprising:
confirming the offset and the sub serial number of the sensor to be read;
acquiring sensing information of the sensor to be read based on the offset and the sub serial number of the sensor to be read;
and the sensor determined by the offset and the sub serial number is unique.
2. The method of claim 1, before confirming the offset and sub-serial number of the sensor to be read, the method comprising:
numbering all sensors in the electronic equipment, and confirming corresponding serial numbers of all the sensors;
determining the offset and the sub-sequence number of each sensor based on the sequence numbers corresponding to all the sensors and the reading threshold value;
and storing the corresponding relation among the sensor names, the offset and the sub serial numbers of all the sensors.
3. The method of claim 2, wherein determining the offset and sub-sequence number for each sensor based on the sequence number and read threshold corresponding to all sensors comprises:
in response to numbering all sensors in the electronic equipment in an incremental manner, dividing the serial numbers of the sensors by the reading threshold value to determine a division result;
and determining that the quotient in the division result is the offset and the remainder is the sub-serial number.
4. The method of claim 1, wherein the confirming the offset and the sub-serial number of the sensor to be read comprises:
and determining the offset and the sub-serial number of the sensor to be read based on the name of the sensor to be read and the corresponding relation between the sensor names, the offsets and the sub-serial numbers of all the sensors.
5. The method of claim 2, wherein the first and second light sources are selected from the group consisting of,
the reading threshold value comprises the maximum value of the sensor read by the electronic equipment based on the IPMI.
6. An information processing apparatus includes:
the confirming unit is used for confirming the offset and the sub serial number of the sensor to be read;
the acquisition unit is used for acquiring the sensing information of the sensor to be read based on the offset and the sub serial number of the sensor to be read;
and the sensor determined by the offset and the sub serial number is unique.
7. The apparatus of claim 6, the validation unit to specifically:
numbering all sensors in the electronic equipment, and confirming corresponding serial numbers of all the sensors;
determining the offset and the sub-sequence number of each sensor based on the sequence numbers corresponding to all the sensors and the reading threshold value;
and storing the corresponding relation among the sensor names, the offsets and the sub serial numbers of all the sensors.
8. The apparatus of claim 6, the validation unit to specifically:
in response to numbering all sensors in the electronic equipment in an incremental manner, dividing the serial numbers of the sensors by the reading threshold value to determine a division result;
and determining that the quotient in the division result is the offset and the remainder is the sub-serial number.
9. The apparatus according to claim 6, wherein the obtaining unit is specifically configured to:
and determining the offset and the sub-serial number of the sensor to be read based on the name of the sensor to be read and the corresponding relation between the sensor names, the offsets and the sub-serial numbers of all the sensors.
10. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
CN202210650777.7A 2022-06-09 2022-06-09 Information processing method and device and electronic equipment Pending CN115203083A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210650777.7A CN115203083A (en) 2022-06-09 2022-06-09 Information processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210650777.7A CN115203083A (en) 2022-06-09 2022-06-09 Information processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN115203083A true CN115203083A (en) 2022-10-18

Family

ID=83575291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210650777.7A Pending CN115203083A (en) 2022-06-09 2022-06-09 Information processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN115203083A (en)

Similar Documents

Publication Publication Date Title
CN114816393B (en) Information generation method, device, equipment and storage medium
CN115598505A (en) Chip detection method, device, equipment and storage medium
CN114417780A (en) State synchronization method and device, electronic equipment and storage medium
CN113641544A (en) Method, apparatus, device, medium and product for detecting application status
CN116450184B (en) System upgrading method and device, electronic equipment and storage medium
CN115203083A (en) Information processing method and device and electronic equipment
CN115865753A (en) Data processing method and device and electronic equipment
CN115269431A (en) Interface testing method and device, electronic equipment and storage medium
CN113590287A (en) Task processing method, device, equipment, storage medium and scheduling system
CN114610701A (en) Task data processing method and device, electronic equipment and medium
CN114138358A (en) Application program starting optimization method, device, equipment and storage medium
CN114816758B (en) Resource allocation method and device
CN111026571B (en) Processor down-conversion processing method and device and electronic equipment
CN115604091A (en) Data processing method and device, substrate control management system and electronic equipment
CN116301992A (en) Upgrading method, device, equipment and storage medium
CN115983222A (en) EasyExcel-based file data reading method, device, equipment and medium
CN116737547A (en) Application program detection method, device, equipment and storage medium
CN118070350A (en) Data verification method, device, equipment and storage medium
CN113901451A (en) Link detection method and device, electronic equipment and storage medium
CN114416194A (en) Picture loading method and device based on ImageView aggregation function component
CN115269318A (en) Data processing method and device, electronic equipment and storage medium
CN115981839A (en) Memory allocation method and device, equipment and medium
CN116991631A (en) Information updating method and device, electronic equipment and storage medium
CN118069141A (en) Method, device, equipment and storage medium for determining code change influence range
CN115098167A (en) Instruction execution method and device

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