Information acquisition method, device, equipment, medium and program product

By acquiring the status information of the cloud computing unit through optical communication, the problem of high cost in fault location of the cloud computing unit is solved, and low-cost and efficient fault location and repair are achieved.

CN114416477BActive Publication Date: 2025-12-16BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210016355.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-07
Publication Date
2025-12-16
Estimated Expiration
2042-01-07

AI Technical Summary

Technical Problem

In the long run, cloud computing units have difficulty quickly locating hardware or software faults, and existing technologies are costly and inefficient.

Method used

The status information of the cloud computing unit is obtained through optical communication. The working status of the cloud computing unit to be detected is determined by receiving and sending optical signals using adjacent target cloud computing units, and detection commands are sent to obtain or repair status information.

Benefits of technology

It enables low-cost and efficient fault location and repair, reduces the need for manual intervention, and improves fault location efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114416477B_ABST
    Figure CN114416477B_ABST
Patent Text Reader

Abstract

The present disclosure provides an information acquisition method, device, equipment, medium and program product, relates to the technical field of computers, and particularly relates to the technical field of cloud computing. A specific implementation scheme is as follows: acquiring detection information for a to-be-detected cloud computing unit; the detection information comprises relative position information between the to-be-detected cloud computing unit and a target cloud computing unit, and a detection instruction for the to-be-detected cloud computing unit; receiving, through a target optical signal receiver associated with the relative position information, an optical signal emitted by the to-be-detected cloud computing unit; determining a working state in which the to-be-detected cloud computing unit is located according to the received optical signal; and sending, according to the working state in which the to-be-detected cloud computing unit is located, the detection instruction to the to-be-detected cloud computing unit through a target optical signal transmitter associated with the relative position information. The present disclosure can acquire the working state of the to-be-detected cloud computing unit in an optical communication mode.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of computer, in particular to the technical field of cloud computing, and more particularly to an information acquisition method and device, equipment, medium and program product. BACKGROUND

[0002] With the development of information technology and the popularity of the Internet, the amount of data on the network is growing explosively. People urgently need to improve the ability and efficiency of data processing, and cloud computing technology emerges as the times require. The core idea of cloud computing is to uniformly manage and schedule a large number of computing resources to provide users with required services.

[0003] A cloud computing platform needs to deploy a large number of cloud computing servers, each cloud computing server includes a plurality of cloud computing units, each cloud computing unit is connected through a network, and the cloud computing platform accesses the cloud computing units in the cloud computing server through the network. Cloud computing units will have hardware or software failures in the long-term use process. In order to quickly locate the fault of the cloud computing unit, how to obtain the state information of the cloud computing unit is concerned. SUMMARY

[0004] The present disclosure provides an information acquisition method, device, equipment, medium and program product.

[0005] According to an aspect of the present disclosure, an information acquisition method is provided, comprising:

[0006] obtaining detection information for a to-be-detected cloud computing unit; the detection information includes relative position information between the to-be-detected cloud computing unit and a target cloud computing unit, and a detection instruction for the to-be-detected cloud computing unit;

[0007] receiving, through a target optical signal receiver associated with the relative position information, an optical signal emitted by the to-be-detected cloud computing unit;

[0008] determining a working state of the to-be-detected cloud computing unit according to the received optical signal;

[0009] sending, according to the working state of the to-be-detected cloud computing unit, the detection instruction to the to-be-detected cloud computing unit through a target optical signal transmitter associated with the relative position information.

[0010] According to another aspect of the present disclosure, an information acquisition device is provided, comprising:

[0011] a detection information acquisition module, configured to obtain detection information for a to-be-detected cloud computing unit; the detection information includes relative position information between the to-be-detected cloud computing unit and a target cloud computing unit, and a detection instruction for the to-be-detected cloud computing unit;

[0012] The light signal receiving module is configured to receive the light signal emitted by the cloud computing unit to be detected through a target light signal receiver associated with the relative position information.

[0013] The working state determining module is configured to determine a working state of the cloud computing unit to be detected according to the received light signal.

[0014] The detection instruction sending module is configured to send the detection instruction to the cloud computing unit to be detected through a target light signal transmitter associated with the relative position information according to the working state of the cloud computing unit to be detected.

[0015] According to another aspect of the present disclosure, an electronic device is provided, comprising:

[0016] at least one processor; and

[0017] a memory in communication with the at least one processor; wherein

[0018] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the information acquisition method of any embodiment of the present disclosure.

[0019] According to another aspect of the present disclosure, a non-transitory computer readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to perform the information acquisition method of any embodiment of the present disclosure.

[0020] According to another aspect of the present disclosure, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the information acquisition method of any embodiment of the present disclosure.

[0021] The embodiments of the present disclosure can acquire the working state of the cloud computing unit to be detected through an optical communication mode.

[0022] It should be understood that the contents described in this part are not intended to identify the key or important features of the embodiments of the present disclosure, nor to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0023] The accompanying drawings are used to better understand the present scheme, and do not limit the present disclosure. Among them:

[0024] Figure 1a is a schematic diagram of an information acquisition method according to an embodiment of the present disclosure;

[0025] Figure 1b is an architecture diagram of a cloud computing system according to an embodiment of the present disclosure;

[0026] Figure 1c is a schematic diagram of a cloud computing unit according to an embodiment of the present disclosure;

[0027] Figure 2 is a schematic diagram of an information acquisition method according to an embodiment of the present disclosure;

[0028] Figure 3 is a schematic diagram of an information acquisition method according to an embodiment of the present disclosure;

[0029] Figure 4a is a schematic diagram of an information acquisition method according to an embodiment of the present disclosure;

[0030] Figure 4b is a cloud computing platform processing flowchart according to an embodiment of the present disclosure;

[0031] Figure 4c is a target cloud computing unit processing flowchart according to an embodiment of the present disclosure;

[0032] Figure 5 is a schematic diagram of an information acquisition device according to an embodiment of the present disclosure;

[0033] Figure 6 is a block diagram of an electronic device for implementing an information acquisition method according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0034] Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, which include various details of the embodiments of the present disclosure to help the understanding of the present disclosure. These should be considered in the context of the overall description and should not be considered limiting in any way. Thus, it will be apparent to those skilled in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Also, for the sake of brevity and clarity, descriptions of well-known functions and constructions are omitted from the following description.

[0035] Figure 1a is a flowchart of an information acquisition method according to an embodiment of the present disclosure, which can be applied to the case of acquiring cloud computing unit state information through optical communication. The information acquisition method in the present embodiment can be applied to a target cloud computing unit. The target cloud computing unit is a cloud computing unit adjacent to the cloud computing unit to be detected and in a successful startup state. For example, the target cloud computing unit is a cloud computing unit located in front of the cloud computing unit to be detected and in a successful startup state.

[0036] The information acquisition method related in the embodiment can be executed by an information acquisition device, which can be implemented in software and / or hardware and specifically configured in an electronic device with certain data operation capability, which can be a client device or a server device. The client device can be a mobile phone, a tablet computer, a vehicle terminal, a desktop computer, etc. The server can be a cloud server, a distributed system server, or a server combined with a blockchain, etc. Specifically, refer to Figure 1a The method specifically includes the following steps:

[0037] S110, acquiring detection information for a to-be-detected cloud computing unit; the detection information includes relative position information between the to-be-detected cloud computing unit and a target cloud computing unit, and a detection instruction for the to-be-detected cloud computing unit.

[0038] The architecture of the cloud computing system is shown in Figure 1b As shown in the figure, a plurality of cloud computing units are deployed in the middle of the cloud computing server case, and the cloud computing units can be connected through a network or optical communication. The cloud computing platform can be connected with each cloud computing unit in the server case through the network, so as to obtain the working state of each cloud computing unit. Under the condition of normal operation, the cloud computing unit will send a heartbeat packet to the cloud computing platform according to the pre-set time period (for example, 15 seconds as a period). The cloud computing platform can determine whether each cloud computing unit is in a normal operation state according to the sending condition of the heartbeat packet.

[0039] The to-be-detected cloud computing unit is a cloud computing unit in the server case that needs to be detected. For example, the to-be-detected cloud computing unit is a cloud computing unit that does not send a heartbeat packet to the cloud computing platform for more than a set time threshold. The target cloud computing unit is used to detect the working state of the to-be-detected cloud computing unit, and the target cloud computing unit is a cloud computing unit adjacent to the to-be-detected cloud computing unit and in a normal operation state. For example, the target cloud computing unit is a cloud computing unit located in front of the to-be-detected cloud computing unit and in a normal operation state (sending a heartbeat packet to the cloud computing platform according to the set time period).

[0040] The detection information includes the relative position information between the to-be-detected cloud computing unit and the target cloud computing unit, and the detection instruction for the to-be-detected cloud computing unit. Specifically, the detection information is sent by the cloud computing platform to the target cloud computing unit, which is used to instruct the target cloud computing unit to detect the working state of the to-be-detected cloud computing unit. For example, the detection information includes that the to-be-detected cloud computing unit is located behind the target cloud computing unit, and a detection instruction for detecting the CPU (Central Processing Unit) temperature of the to-be-detected cloud computing unit.

[0041] The target cloud computing unit first receives the detection information sent by the cloud computing platform for the to-be-detected cloud computing unit, extracts the relative position information between the to-be-detected cloud computing unit and the target cloud computing unit and the detection instruction for the to-be-detected cloud computing unit contained in the detection information, so as to select the optical signal transmitter adjacent to the to-be-detected cloud computing unit according to the relative position information contained in the detection information, and send the detection instruction to the to-be-detected cloud computing unit, thereby obtaining the working state of the to-be-detected cloud computing unit.

[0042] In a specific example, the target cloud computing unit receives the detection information sent by the cloud computing platform through the network for the to-be-detected cloud computing unit, and extracts in the detection information that the to-be-detected cloud computing unit is located behind the target cloud computing unit, and the detection instruction for the to-be-detected cloud computing unit is to change the IP address of the to-be-detected cloud computing unit.

[0043] S120, receiving the optical signal emitted by the to-be-detected cloud computing unit through the target optical signal receiver associated with the relative position information.

[0044] The cloud computing units in the cloud computing server chassis are each installed with an optical signal receiver and an optical signal transmitter. Specifically, the optical signal transmitter and the optical signal receiver can be installed on the outer surface of each cloud computing unit according to the ordering mode of the cloud computing units in the cloud computing server, and can be directly connected to the main control chip inside the cloud computing unit, so that the main control chip of the cloud computing unit controls the optical signal transmitter and the optical signal receiver to perform optical communication with the adjacent cloud computing unit. The optical signal transmitter and the optical signal receiver can use infrared or visible light to realize optical communication, for example, the optical signal transmitter and the optical signal receiver can be a transmitting LED and a receiving LED. The specific modulation mode of the transmitting LED and the receiving LED can be Morse code or a custom binary format, for example, the transmitting LED is lit, and the adjacent receiving LED receives a signal of 1 (high level signal), and vice versa, the adjacent receiving LED receives a signal of 0 (low level signal). Each cloud computing unit in the cloud computing server chassis performs optical communication at a fixed baud rate.

[0045] For example, in the server chassis, each cloud computing unit is installed on a vertical plane, and the upper, lower, left and right of the cloud computing unit are adjacent to other cloud computing units, at this time, a pair of optical signal transmitter and optical signal receiver can be installed on the upper and lower surfaces of the cloud computing unit. For another example, in the server chassis, the cloud computing units are installed in a 3D form, that is, the upper, lower, left, right, front and back of the cloud computing units are adjacent to other cloud computing units, at this time, the installation mode of the optical signal transmitter and the optical signal receiver is as follows Figure 1cAs shown, a pair of optical signal transmitters and optical signal receivers can be installed on each of the six surfaces of the cloud computing unit, to realize optical communication between the cloud computing units.

[0046] In the embodiments of the present disclosure, after receiving the detection information of the to-be-detected cloud computing unit, the target cloud computing unit determines the optical signal receiver on the surface adjacent to the to-be-detected cloud computing unit as the target optical signal receiver according to the relative position information between the to-be-detected cloud computing unit and the target cloud computing unit in the detection information. Further, the target optical signal receiver is used to continuously receive the optical signal emitted by the to-be-detected cloud computing unit, to obtain the working state of the to-be-detected cloud computing unit.

[0047] In a specific example, the target cloud computing unit reads that the to-be-detected cloud computing unit is located behind the target cloud computing unit, and then determines the optical signal receiver on the rear surface as the target optical signal receiver, and further controls the optical signal receiver on the rear surface to continuously receive the optical signal emitted by the to-be-detected cloud computing unit, to determine the working state of the to-be-detected cloud computing unit.

[0048] S130, determining the working state of the to-be-detected cloud computing unit according to the received optical signal.

[0049] For ease of understanding, first, the case that each cloud computing unit controls the optical signal transmitter to emit optical signal in the starting process in the cloud computing server case is described as follows:

[0050] First, the cloud computing unit responds to the power-on operation of the administrator, and controls the optical signal transmitter on each surface to continuously emit a high-level signal. Further, the cloud computing unit controls the internal bootloader to perform a hardware self-checking operation, and when a hardware fault is detected, controls the optical signal transmitter on each surface to cyclically emit an error code matched with the hardware fault. The hardware fault can include a cloud computing unit network interface fault or a cloud computing unit storage chip fault, etc. In the case of no hardware fault, the operation system of the cloud computing unit is started. When an operation system starting fault occurs in the operation system starting process, the optical signal transmitter is controlled to cyclically emit an error code matched with the operation system starting fault. After the operation system is successfully started, the optical signal transmitter on each surface can be controlled to be turned off.

[0051] After the target optical signal receiver continuously receives the optical signal for a duration of T1, the working state of the cloud computing unit to be detected can be determined according to the received optical signal. Based on the control logic of the optical signal transmitter, specifically, when the optical signal transmitted by the cloud computing unit to be detected is a continuous low-level signal, it is determined that the cloud computing unit to be detected is in a successful startup state; when the optical signal transmitted by the cloud computing unit to be detected contains a high level, it can be determined that the cloud computing unit to be detected is not successfully started. For example, the duration T1 can be 8 times the duration of two adjacent bits in the optical communication baud rate.

[0052] Taking the self-defined binary as an example in the optical communication modulation mode, the optical signal transmitter is turned on, and the signal received by the adjacent optical signal receiver is 1, and vice versa, the signal received by the adjacent optical signal receiver is 0. If the optical signal received by the target optical signal receiver is all 0 within the duration T1, it is determined that the working state of the cloud computing unit to be detected is a successful startup; if the optical signal received by the target optical signal receiver is not all 0 within the duration T1, it can be determined that the cloud computing unit to be detected is not successfully started, specifically, the cloud computing unit to be detected can be in a startup state or send an error code state.

[0053] S140, according to the working state of the cloud computing unit to be detected, a detection instruction is sent to the cloud computing unit to be detected through the target optical signal transmitter associated with the opposite position information.

[0054] The detection instruction can be an instruction to obtain the state information of the cloud computing unit to be detected, or an instruction to control the cloud computing unit to be detected to set the state information. For example, the instruction to obtain the state information of the cloud computing unit to be detected includes obtaining the CPU temperature of the cloud computing unit to be detected, or obtaining the length of a specific file in the cloud computing unit to be detected. The instruction to control the cloud computing unit to be detected to set the state information is to control the cloud computing unit to be detected to reset the IP address.

[0055] In the embodiment of the disclosure, after determining the working state of the cloud computing unit to be detected, a detection instruction can be sent to the cloud computing unit to be detected through the target optical signal transmitter associated with the opposite position information according to the working state of the cloud computing unit to be detected. Specifically, when it is determined that the cloud computing unit to be detected is in a successful startup state, the optical signal transmitter on the adjacent surface of the cloud computing unit to be detected is determined as the target optical signal transmitter. Then, the detection instruction is sent to the cloud computing unit to be detected through the target optical signal transmitter.

[0056] In one specific example, after determining that the cloud computing unit to be detected is in a successful startup state, a control instruction to change the IP address is sent to the cloud computing unit to be detected through the optical signal transmitter on the adjacent surface of the cloud computing unit to be detected.

[0057] The technical scheme of the embodiment of the present disclosure first acquires detection information for the to-be-detected cloud computing unit, then receives the optical signal emitted by the to-be-detected cloud computing unit through the target optical signal receiver associated with the relative position information, further determines the working state of the to-be-detected cloud computing unit according to the received optical signal, and finally sends a detection instruction to the to-be-detected cloud computing unit through the target optical signal transmitter associated with the relative position information according to the working state of the to-be-detected cloud computing unit, so that the target cloud computing unit acquires the state information of the to-be-detected cloud computing unit adjacent thereto in an optical communication manner. Compared with the technical scheme of setting a dedicated fault positioning chip in a server case, the fault positioning can be realized at a low cost.

[0058] Figure 2 is a schematic diagram of an information acquisition method in the embodiment of the present disclosure, which is further refined on the basis of the above embodiment and provides specific steps of determining the working state of the to-be-detected cloud computing unit according to the received optical signal. The following will be described in combination with Figure 2 The information acquisition method provided in the embodiment of the present disclosure is described, which includes the following:

[0059] S210, acquire detection information for the to-be-detected cloud computing unit; the detection information includes relative position information between the to-be-detected cloud computing unit and the target cloud computing unit, and a detection instruction for the to-be-detected cloud computing unit.

[0060] Optionally, the target cloud computing unit is selected from candidate cloud computing units adjacent to the to-be-detected cloud computing unit.

[0061] In the optional embodiment, the target cloud computing unit is selected from candidate cloud computing units adjacent to the to-be-detected cloud computing unit. Since visible light or infrared is used to realize optical communication between cloud computing units in the embodiment, only adjacent cloud computing units can realize such optical communication. Therefore, when detecting the state of the to-be-detected cloud computing unit, a target cloud computing unit needs to be selected from a plurality of cloud computing units adjacent to the to-be-detected cloud computing unit, and then the target cloud computing unit is controlled to detect the state of the to-be-detected cloud computing unit through the above optical communication manner. Compared with the detection manner of specially assigning an administrator to detect faults or installing a dedicated detection chip, the detection cost of faults is reduced.

[0062] Exemplarily, the candidate cloud computing units adjacent to the cloud computing unit to be detected include: a candidate cloud computing unit A located in front of the cloud computing unit to be detected, a candidate cloud computing unit B located behind the cloud computing unit to be detected, a candidate cloud computing unit C located on the left of the cloud computing unit to be detected, a candidate cloud computing unit D located on the right of the cloud computing unit to be detected, a candidate cloud computing unit E located above the cloud computing unit to be detected, and a candidate cloud computing unit F located below the cloud computing unit to be detected. One of the above six candidate cloud computing units can be selected as a target cloud computing unit to detect the state of the cloud computing unit to be detected.

[0063] Optionally, the target cloud computing unit is selected from the candidate cloud computing units in the successful start state.

[0064] In the optional embodiment, since only the cloud computing unit in the successful start state can successfully obtain the detection information issued by the cloud computing platform, the target cloud computing unit is further selected from the candidate cloud computing units in the successful start state.

[0065] Exemplarily, the cloud computing platform can read the time stamps of the heartbeat packets sent by each candidate cloud computing unit respectively, and when the time distance from the last time of sending the heartbeat packet to the current time is less than a set time threshold, it is determined that the candidate cloud computing unit is in the successful start state. Finally, one of the candidate cloud computing units in the successful start state can be randomly selected as the target cloud computing unit, which reduces the cost of fault detection, and at the same time, by selecting the cloud computing unit in the successful start state as the target detection unit, the reliability of fault detection is ensured.

[0066] S220, receiving the optical signal emitted by the cloud computing unit to be detected through the target optical signal receiver associated with the opposite direction information.

[0067] S230, in the case that the first optical signal received in the first time interval is all low-level signal, determining that the cloud computing unit to be detected is in the successful start state.

[0068] In the embodiment of the present disclosure, the target cloud computing unit analyzes the first optical signal received by the target optical signal receiver in the first time interval, and if the first optical signal is all low-level signal, it is determined that the cloud computing unit to be detected is in the successful start state. The first time interval can be set to 8 times the length of the adjacent two bits in the optical communication baud rate.

[0069] S240, in the case that the cloud computing unit to be detected is in the successful start state, sending a detection instruction to the cloud computing unit to be detected through the target optical signal transmitter associated with the opposite direction information.

[0070] In a case where it is determined that the cloud computing unit to be detected is in a successful startup state, a detection instruction is sent to the cloud computing unit to be detected through the target optical signal transmitter associated with the opposite direction information, so as to obtain the state information of the cloud computing unit to be detected, or instruct the cloud computing unit to be detected to perform a software setting operation. The detection instruction can be the CPU temperature or file length of the cloud computing unit to be detected, which can assist in determining the fault point of the cloud computing unit to be detected. The detection instruction can also be a software setting of the cloud computing unit to be detected, for example, modifying the IP address. The software repair of the cloud computing unit to be detected can be realized through optical communication, without the need for staff to take out the cloud computing unit to be detected for software repair, thereby reducing the cost of software repair.

[0071] In a case where it is determined that the cloud computing unit to be detected is not in a successful startup state according to the first optical signal received in the first time interval, the working state of the cloud computing unit to be detected is determined according to the second optical signal received in the second time interval.

[0072] In the embodiment of the present disclosure, if the first optical signal received in the first time interval is not all low-level signals, it is determined that the cloud computing unit to be detected is not in a successful startup state. In a case where the cloud computing unit to be detected is not in a successful startup state, the second optical signal sent by the cloud computing unit to be detected is continuously received through the target optical signal receiver in the second time interval, and the working state of the cloud computing unit to be detected is determined by analyzing the second optical signal. The second time interval is after the first time interval, and specifically, the start time of the second time interval is the end time of the first time interval. The target cloud computing unit locates the specific fault of the cloud computing unit to be detected by receiving the optical signal, reduces the cost of fault positioning, and improves the efficiency of fault positioning.

[0073] It is worth noting that S240 and S250 are executed according to the working state of the cloud computing unit to be detected.

[0074] For example, if the second optical signal received in the second time interval is all high-level signals, it can be determined that the cloud computing unit to be detected is in a startup state; if the second optical signal contains both high-level signals and low-level signals, it can be determined that the cloud computing unit to be detected is in a fault state, and specific fault positioning needs to be further analyzed to obtain the second optical signal.

[0075] Optionally, determining the working state of the cloud computing unit to be detected according to the second optical signal received in the second time interval comprises:

[0076] In a case where the second optical signals received in the second time interval are all high-level signals, it is determined that the cloud computing unit to be detected is in a starting state;

[0077] In a case where the second optical signals received in the second time interval include high-level signals and low-level signals, an error code of the cloud computing unit to be detected is determined according to the high-level signals and the low-level signals in the second optical signals; the error code is used to represent a working state of the cloud computing unit to be detected.

[0078] In the optional embodiment, a manner of determining a working state of the cloud computing unit to be detected according to the second optical signals received in the second time interval is provided: since the cloud computing unit controls the optical signal transmitter to continuously emit high-level signals in the starting process, after successful starting, the optical signal transmitter is turned off. If the second optical signals received in the second time interval are all high-level signals, it is determined that the cloud computing unit to be detected is in a starting state; if the second optical signals received in the second time interval include high-level signals and low-level signals, it is necessary to further analyze error codes corresponding to the high-level signals and the low-level signals in the second optical signals, and determine specific fault information of the cloud computing unit to be detected according to the error codes, so as to realize positioning of the fault of the cloud computing unit to be detected through the optical communication manner, improve the fault positioning efficiency, and reduce the fault positioning cost. The error code is used to represent the working state of the cloud computing unit to be detected, for example, an operating system starting fault, a network interface fault, or a storage chip fault, etc., which all correspond to different error codes.

[0079] The technical solution of the embodiment of the present disclosure is that the target cloud computing unit obtains detection information of the cloud computing unit to be detected, and then receives optical signals emitted by the cloud computing unit to be detected through the target optical signal receiver associated with the relative position information. In a case where the first optical signals received in the first time interval are all low-level signals, it is determined that the cloud computing unit to be detected is in a successful starting state, and a detection instruction is sent to the cloud computing unit to be detected through the target optical signal transmitter associated with the relative position information. In a case where it is determined that the cloud computing unit to be detected is not in the successful starting state according to the first optical signals received in the first time interval, a working state of the cloud computing unit to be detected is determined according to the second optical signals received in the second time interval, state information of the cloud computing unit to be detected is obtained through the optical communication manner, the fault positioning efficiency is improved, and the fault positioning cost is reduced.

[0080] Figure 3 is a schematic diagram of an information acquisition method in the embodiment of the present disclosure, which is further refined on the basis of the above-mentioned embodiment, and provides specific steps after the detection instruction is sent to the cloud computing unit to be detected. The following will be described in combination with Figure 3 An information acquisition method provided by the embodiment of the present disclosure is described, which includes the following:

[0081] S310, acquire detection information for the to-be-detected cloud computing unit; the detection information comprises relative position information between the to-be-detected cloud computing unit and the target cloud computing unit, and a detection instruction for the to-be-detected cloud computing unit.

[0082] S320, receive, by a target optical signal receiver associated with the relative position information, an optical signal emitted by the to-be-detected cloud computing unit.

[0083] S330, determine, according to the received optical signal, a working state in which the to-be-detected cloud computing unit is located.

[0084] S340, according to the working state in which the to-be-detected cloud computing unit is located, send, by a target optical signal transmitter associated with the relative position information, the detection instruction to the to-be-detected cloud computing unit.

[0085] S350, acquire, by the target optical signal receiver associated with the relative position information, a detection result obtained by the to-be-detected cloud computing unit by executing the detection instruction.

[0086] After sending the detection instruction to the to-be-detected cloud computing unit, acquire, by the target optical signal receiver associated with the relative position information, a detection result obtained by the to-be-detected cloud computing unit by executing the detection instruction.

[0087] In one specific example, the to-be-detected cloud computing unit is located to the left of the target optical signal unit, and then the target optical signal unit receives, by an optical signal receiver located on the left surface, the optical signal sent by the to-be-detected cloud computing unit after sending the detection instruction, so as to acquire the detection instruction execution result contained in the optical signal, thereby realizing the acquisition of the state information of the to-be-detected cloud computing unit in the case of failure of the to-be-detected cloud computing unit through optical communication, or the software repair through optical communication. For example, the detection instruction execution result can be whether the CPU temperature in the to-be-detected cloud computing unit, the length of a specific file in the to-be-detected cloud computing unit, or a software modification instruction (for example, an IP address modification instruction) is successfully executed.

[0088] Optionally, after sending the detection instruction to the to-be-detected cloud computing unit, the method further comprises:

[0089] If the detection result fed back by the to-be-detected cloud computing unit is not received by the target optical signal receiver within the waiting time interval, it is determined that the to-be-detected cloud computing unit is in a power-off state, and after determining the specific failure cause, the failure cause can be fed back to the cloud computing platform, so that the cloud computing platform displays the failure cause, and the administrator does not need to detect the failure in the case, thereby reducing the failure detection cost.

[0090] In the optional embodiment, after sending the detection instruction to the cloud computing unit to be detected, the target optical signal receiver associated with the opposite direction information is used to continuously receive the optical signal emitted by the cloud computing unit to be detected, so as to extract the detection instruction execution result contained in the optical signal. If the detection result fed back by the cloud computing unit to be detected is not received within the preset waiting time interval, it can be determined that the cloud computing unit to be detected is in a power-off state, and at this time, the target cloud computing unit can directly feed back the information of the power-off of the cloud computing unit to be detected to the cloud computing platform, so as to realize the positioning of the specific fault of the cloud computing unit to be detected through the optical communication mode.

[0091] The technical scheme of the embodiment of the present disclosure obtains the detection information of the cloud computing unit to be detected, and then receives the optical signal emitted by the cloud computing unit to be detected through the target optical signal receiver associated with the opposite direction information, and determines the working state of the cloud computing unit to be detected according to the received optical signal. Further, according to the working state of the cloud computing unit to be detected, the detection instruction is sent to the cloud computing unit to be detected through the target optical signal transmitter associated with the opposite direction information, and finally the detection result obtained by the cloud computing unit to be detected by executing the detection instruction is obtained through the target optical signal receiver associated with the opposite direction information, so as to realize the positioning of the specific fault of the cloud computing unit to be detected through the optical communication mode.

[0092] In order for those skilled in the art to better understand the information acquisition method involved in the present disclosure, Figure 4a According to the embodiment of the present disclosure, a schematic diagram of an information acquisition method is provided, mainly including the following:

[0093] S410, the cloud computing platform determines the cloud computing unit to be detected according to the time stamp of the heartbeat packet sent by the cloud computing unit.

[0094] When the cloud computing unit is installed into the cloud computing server case, the position of the cloud computing unit in the case and the IP address of the cloud computing unit are stored into the cloud computing platform. The cloud computing platform can access a certain cloud computing platform through the network. In the case of cloud computing unit failure, the adjacent cloud computing platform can also be accessed through the network, so that the adjacent cloud computing platform obtains the specific fault information of the cloud computing unit through the optical communication mode.

[0095] After the operating system of the cloud computing unit is successfully started, the cloud computing unit will send a heartbeat packet to the cloud computing platform at a set time period. The processing flow of the cloud computing platform is as follows Figure 4bAs shown, the cloud computing platform receives the heartbeat packet and stores the timestamp of receiving the heartbeat packet to determine whether the cloud computing unit is in normal operation according to the timestamp. When the cloud computing unit does not send a heartbeat packet to the cloud computing platform for more than a set time threshold, it indicates that the cloud computing unit may be malfunctioning, and the cloud computing unit can be determined as a to-be-detected cloud computing unit. According to the above manner, at least one to-be-detected cloud computing unit is determined in the cloud computing server case to form a to-be-detected cloud computing unit list L1.

[0096] S420, the cloud computing platform determines a target cloud computing unit in the cloud computing unit adjacent to the to-be-detected cloud computing unit.

[0097] For each to-be-detected cloud computing unit in the to-be-detected cloud computing unit list L1, the cloud computing platform can determine at least one candidate cloud computing unit adjacent to the to-be-detected cloud computing unit according to the arrangement order of the cloud computing units in the cloud computing server case to form a candidate cloud computing unit list L2. Further, at least one candidate cloud computing unit in a normal operation state can be determined according to the timestamp of the candidate cloud computing unit sending the heartbeat packet, and finally, one of the candidate cloud computing units in the normal operation state is randomly selected as the target cloud computing unit.

[0098] S430, the cloud computing platform sends detection information for the to-be-detected cloud computing unit to the target cloud computing unit; the detection information includes relative position information between the to-be-detected cloud computing unit and the target cloud computing unit, and a detection instruction for the to-be-detected cloud computing unit.

[0099] After determining the target cloud computing unit, the cloud computing platform sends detection information for the to-be-detected cloud computing unit to the target cloud computing unit to instruct the target cloud computing unit to send a detection instruction to the to-be-detected cloud computing unit according to the relative position information between the to-be-detected cloud computing unit and the target cloud computing unit in the detection information.

[0100] S440, the target cloud computing unit obtains the detection information for the to-be-detected cloud computing unit, and receives the optical signal emitted by the to-be-detected cloud computing unit through the target optical signal receiver associated with the relative position information.

[0101] The processing flow of the target cloud computing unit is as shown in Figure 4c As shown, the target cloud computing unit will turn off the optical signal transmitter after successfully starting, and then send a heartbeat packet to the cloud computing platform at a set time period. When the cloud computing platform receives the receiving success information fed back by the cloud computing platform for the heartbeat packet, it is determined that the network is connected with the cloud computing platform.

[0102] Further, the target cloud computing unit receives detection information sent by the cloud computing platform for the to-be-detected cloud computing unit within a set time period. If the detection information is not received within the set time period, the operation of sending the heartbeat packet is continuously performed. If the detection information is received within the set time period, the relative position information between the to-be-detected cloud computing unit and the target cloud computing unit and the detection instruction for the to-be-detected cloud computing unit in the detection information are extracted.

[0103] S450, the target cloud computing unit determines the working state of the to-be-detected cloud computing unit according to the received optical signal.

[0104] After obtaining the detection information, the target cloud computing unit continuously receives the optical signal T1 of the to-be-detected cloud computing unit through the optical signal receiver. If the optical signals received within the T1 time period are all low-level signals (i.e., the optical signals are all 0), it is determined that the to-be-detected cloud computing unit is in a successful startup state. Otherwise, it is determined that the to-be-detected cloud computing unit is in an unsuccessful startup state. The unsuccessful startup state includes a startup-in-progress state and a fault state. Specifically, when the optical signals received within the T1 time period are all high-level signals, it is determined that the to-be-detected cloud computing unit is in a startup-in-progress state. When the optical signals received within the T1 time period contain both high-level signals and low-level signals, an error code can be determined according to the received optical signals, and different error codes correspond to different types. The target cloud computing unit can send information that the to-be-detected cloud computing unit is in a startup-in-progress state to the cloud computing platform, or send an error code to the cloud computing platform.

[0105] S460, the target cloud computing unit sends a detection instruction to the to-be-detected cloud computing unit through the target optical signal transmitter associated with the relative position information according to the working state of the to-be-detected cloud computing unit.

[0106] When the target cloud computing unit determines that the to-be-detected cloud computing unit is in a successful startup state according to the optical signal sent by the to-be-detected cloud computing unit, the target cloud computing unit sends a detection instruction to the to-be-detected cloud computing unit through the target optical signal transmitter associated with the relative position, and continuously listens to the detection instruction execution result feedback by the to-be-detected cloud computing unit through the target optical signal receiver associated with the relative position.

[0107] S470, the to-be-detected cloud computing unit executes the detection instruction sent by the target cloud computing unit and feeds back the execution result of the detection instruction to the target cloud computing unit.

[0108] The cloud computing unit to be detected continuously monitors the optical signals transmitted by the adjacent cloud computing units through the optical signal receivers. If the detection instruction transmitted by the adjacent target cloud computing unit is received, the detection instruction is executed, and the instruction execution result is transmitted to the target cloud computing unit through the optical signal. If the detection instruction transmitted by the target cloud computing unit is not received, the cloud computing platform can continue to send the heartbeat packet. If the receiving success information fed back by the cloud computing platform for the heartbeat packet is received, the fault state can be exited. Otherwise, the detection instruction transmitted by the target cloud computing unit is continuously monitored.

[0109] S480, the target cloud computing unit uploads the execution result to the cloud computing platform.

[0110] After receiving the execution result of the detection instruction fed back by the cloud computing unit to be detected, the target cloud computing unit uploads the execution result to the cloud computing platform. If the target cloud computing unit does not receive the execution result fed back by the cloud computing unit to be detected after waiting for a set time length, the cloud computing platform can feed back information that the cloud computing unit to be detected is in a power-off state.

[0111] When the cloud computing platform receives that the cloud computing unit to be detected is in a starting state or a power-off state, the cloud computing platform can repeatedly send the detection information for the cloud computing unit to be detected to the target cloud computing unit for 3 times. If the received state information is still in the starting state or the power-off state, it is determined that the cloud computing unit to be detected has a starting fault or a power-off. Finally, the cloud computing platform can store the working state of the cloud computing unit to be detected to a database and display it, so that the management personnel can locate the fault of the cloud computing unit to be detected and repair it.

[0112] The technical scheme of the embodiment of the disclosure is that the target cloud computing unit obtains the detection information for the cloud computing unit to be detected, and then receives the optical signal emitted by the cloud computing unit to be detected through the target optical signal receiver associated with the opposite direction information. Further, according to the received optical signal, the working state of the cloud computing unit to be detected is determined, and finally according to the working state of the cloud computing unit to be detected, the detection instruction is sent to the cloud computing unit to be detected through the target optical signal transmitter associated with the opposite direction information, so that the target cloud computing unit obtains the state information of the adjacent cloud computing unit to be detected through the optical communication mode, and realizes the low-cost fault positioning.

[0113] According to the embodiment of the disclosure, Figure 5 is a structure diagram of an information acquisition device in the embodiment of the disclosure. The embodiment of the disclosure is suitable for acquiring the state information of the cloud computing unit through the optical communication mode. The device is realized by software and / or hardware, and is specifically configured in an electronic device with certain data operation capability.

[0114] AsFigure 5 An information acquisition device 500 is shown, comprising: a detection information acquisition module 510, an optical signal receiving module 520, a working state determination module 530, and a detection instruction sending module 540; wherein,

[0115] The detection information acquisition module 510 is configured to acquire detection information for a to-be-detected cloud computing unit; the detection information comprises relative position information between the to-be-detected cloud computing unit and a target cloud computing unit, and a detection instruction for the to-be-detected cloud computing unit;

[0116] The optical signal receiving module 520 is configured to receive an optical signal emitted by the to-be-detected cloud computing unit through a target optical signal receiver associated with the relative position information;

[0117] The working state determination module 530 is configured to determine a working state of the to-be-detected cloud computing unit according to the received optical signal;

[0118] The detection instruction sending module 540 is configured to send the detection instruction to the to-be-detected cloud computing unit through a target optical signal transmitter associated with the relative position information, according to the working state of the to-be-detected cloud computing unit.

[0119] The technical scheme of the embodiment of the present disclosure first acquires detection information for a to-be-detected cloud computing unit, and then receives an optical signal emitted by the to-be-detected cloud computing unit through a target optical signal receiver associated with the relative position information. Further, the working state of the to-be-detected cloud computing unit is determined according to the received optical signal, and finally the detection instruction is sent to the to-be-detected cloud computing unit through a target optical signal transmitter associated with the relative position information, according to the working state of the to-be-detected cloud computing unit, so that the target cloud computing unit acquires the state information of the to-be-detected cloud computing unit adjacent thereto in an optical communication manner, and low-cost fault positioning is achieved.

[0120] Further, the working state determination module 530 comprises:

[0121] The first state determination unit is configured to determine that the to-be-detected cloud computing unit is in a successful startup state, in a case where all the first optical signals received in a first time interval are low-level signals;

[0122] The detection instruction sending module 540 is specifically configured to:

[0123] In a case where the to-be-detected cloud computing unit is in a successful startup state, the detection instruction is sent to the to-be-detected cloud computing unit through a target optical signal transmitter associated with the relative position information.

[0124] Further, the working state determination module 530 comprises:

[0125] The second state determining unit is configured to determine, in a case where the first cloud computing unit is determined not to be in the successful start state according to the first optical signal received in the first time interval, a working state of the first cloud computing unit according to a second optical signal received in a second time interval, the second time interval being after the first time interval.

[0126] Further, the second state determining unit comprises:

[0127] The first state determining sub-unit is configured to determine, in a case where the second optical signal received in the second time interval is all high-level signals, that the first cloud computing unit is in a start-in-progress state.

[0128] The second state determining sub-unit is configured to determine, in a case where the second optical signal received in the second time interval comprises high-level signals and low-level signals, an error code of the first cloud computing unit according to the high-level signals and the low-level signals in the second optical signal, the error code being used to represent the working state of the first cloud computing unit.

[0129] Further, the information acquisition apparatus 500 further comprises:

[0130] The detection result receiving module is configured to, after the detection instruction is sent to the first cloud computing unit, acquire a detection result obtained by the first cloud computing unit executing the detection instruction through the target optical signal receiver associated with the opposite position information.

[0131] Further, the information acquisition apparatus 500 further comprises:

[0132] The third state determining unit is configured to, after the detection instruction is sent to the first cloud computing unit, determine that the first cloud computing unit is in a power-off state if no detection result fed back by the first cloud computing unit is received through the target optical signal receiver in a waiting time interval.

[0133] Further, the target cloud computing unit is selected from candidate cloud computing units adjacent to the first cloud computing unit.

[0134] Further, the target cloud computing unit is selected from candidate cloud computing units in a successful start state.

[0135] The information acquisition apparatus provided by the embodiments of the present disclosure can execute the information acquisition method provided by any of the embodiments of the present disclosure, and has the corresponding function modules and beneficial effects of the execution method.

[0136] In the technical solutions of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information comply with relevant laws and regulations and do not violate public order and good customs.

[0137] According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0138] Figure 6 A schematic block diagram of an example electronic device 600 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present disclosure described and / or claimed in this document.

[0139] As shown in Figure 6 The device 600 includes a computing unit 601 that can perform various appropriate actions and processes in accordance with a computer program stored in a read-only memory (ROM) 602 or loaded into a random access memory (RAM) 603 from a storage unit 608. Various programs and data required for the operation of the device 600 can also be stored in the RAM 603. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0140] Various components in the device 600 are connected to the I / O interface 605, including an input unit 606, such as a keyboard, a mouse, etc., an output unit 607, such as various types of displays, speakers, etc., a storage unit 608, such as a magnetic disk, an optical disk, etc., and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.

[0141] The computing unit 601 can be various general and / or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 601 performs various methods and processes described above, such as the information acquisition method. For example, in some embodiments, the information acquisition method can be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit 608. In some embodiments, part or all of the computer program can be loaded and / or installed onto the device 600 via the ROM 602 and / or the communication unit 609. When the computer program is loaded onto the RAM 603 and executed by the computing unit 601, one or more steps of the information acquisition method described above can be performed. Alternatively, in other embodiments, the computing unit 601 can be configured to perform the information acquisition method by any other suitable means, such as by means of firmware.

[0142] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a complex programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0143] Program code for carrying out methods of the present disclosure can be written in any combination of one or more programming languages. The program code can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the program code, when executed by the processor or controller, produces the functions / operations specified in the flowcharts and / or the block diagrams. The program code can be executed entirely on a machine, partially on a machine, partially on a machine and partially on a remote machine or entirely on a remote machine or server.

[0144] In the context of this disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can 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 the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer disk, 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 portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0145] 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 the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; 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 can be received in any form, including acoustic, speech, or tactile input.

[0146] 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 a local area network (LAN), a wide area network (WAN), and the Internet.

[0147] The computer system can 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 can be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0148] It should be understood that the various forms of flow shown above can be used to reorder, add, or remove steps. For example, the steps described in the present disclosure can be performed in parallel, in series, or in a different order, without limitation herein, so long as the desired results of the technology described in the present disclosure are achieved.

[0149] The specific implementation described above does not constitute a limitation on the protection scope of the present disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. An information acquisition method applied to a target cloud computing unit, comprising: acquiring detection information for a to-be-detected cloud computing unit; the detection information is sent by a cloud computing platform to the target cloud computing unit, and comprises relative position information between the to-be-detected cloud computing unit and the target cloud computing unit, and a detection instruction for the to-be-detected cloud computing unit; the target cloud computing unit is a cloud computing unit adjacent to the to-be-detected cloud computing unit and in a normal operating state; and the target cloud computing unit is configured to detect a working state of the to-be-detected cloud computing unit; receiving, by a target optical signal receiver associated with the relative position information, an optical signal emitted by the to-be-detected cloud computing unit; determining, according to the received optical signal, a working state of the to-be-detected cloud computing unit; sending, according to the working state of the to-be-detected cloud computing unit, the detection instruction to the to-be-detected cloud computing unit by a target optical signal transmitter associated with the relative position information.

2. The method of claim 1, wherein, determining, according to the received optical signal, the working state of the to-be-detected cloud computing unit, comprises: in a case where all first optical signals received in a first time interval are low-level signals, determining that the to-be-detected cloud computing unit is in a successful start state; sending, according to the working state of the to-be-detected cloud computing unit, the detection instruction to the to-be-detected cloud computing unit by the target optical signal transmitter associated with the relative position information, comprises: in a case where the to-be-detected cloud computing unit is in the successful start state, sending, by the target optical signal transmitter associated with the relative position information, the detection instruction to the to-be-detected cloud computing unit.

3. The method of claim 1, wherein, determining, according to the received optical signal, the working state of the to-be-detected cloud computing unit, comprises: in a case where it is determined according to first optical signals received in a first time interval that the to-be-detected cloud computing unit is not in a successful start state, determining, according to second optical signals received in a second time interval, the working state of the to-be-detected cloud computing unit; the second time interval is located after the first time interval.

4. The method of claim 3, wherein, determining, according to the second optical signals received in the second time interval, the working state of the to-be-detected cloud computing unit, comprises: in a case where all second optical signals received in the second time interval are high-level signals, determining that the to-be-detected cloud computing unit is in a start-in-progress state; in a case where the second optical signals received in the second time interval comprise high-level signals and low-level signals, determining, according to the high-level signals and the low-level signals in the second optical signals, an error code of the to-be-detected cloud computing unit; wherein the error code is used to represent the working state of the to-be-detected cloud computing unit.

5. The method according to any one of claims 1-4, after sending the detection instruction to the to-be-detected cloud computing unit, further comprising: acquiring, by the target optical signal receiver associated with the relative position information, a detection result obtained by the to-be-detected cloud computing unit executing the detection instruction.

6. The method of claim 5, after sending the detection instruction to the cloud computing unit to be detected, further comprising: if the detection result fed back by the cloud computing unit to be detected is not received by the target optical signal receiver within a waiting time interval, determining that the cloud computing unit to be detected is in a power-off state.

7. The method of any one of claims 1-4, wherein, The target cloud computing unit is selected from candidate cloud computing units adjacent to the cloud computing unit to be detected.

8. The method of claim 7, wherein, The target cloud computing unit is selected from candidate cloud computing units in a successful startup state.

9. An information acquisition device configured in a target cloud computing unit, comprising: a detection information acquisition module configured to acquire detection information for a cloud computing unit to be detected; The detection information is sent by a cloud computing platform to the target cloud computing unit, and includes relative position information between the cloud computing unit to be detected and the target cloud computing unit, and a detection instruction for the cloud computing unit to be detected; the target cloud computing unit is a cloud computing unit adjacent to the cloud computing unit to be detected and in a normal operating state; the target cloud computing unit is configured to detect the working state of the cloud computing unit to be detected; an optical signal receiving module configured to receive optical signals emitted by the cloud computing unit to be detected through a target optical signal receiver associated with the relative position information; a working state determination module configured to determine the working state of the cloud computing unit to be detected according to the received optical signals; a detection instruction sending module configured to send the detection instruction to the cloud computing unit to be detected through a target optical signal transmitter associated with the relative position information according to the working state of the cloud computing unit to be detected.

10. The apparatus of claim 9, wherein, The working state determination module comprises: a first state determination unit configured to determine that the cloud computing unit to be detected is in a successful startup state if all first optical signals received within a first time interval are low-level signals; The detection instruction sending module is specifically configured to: send the detection instruction to the cloud computing unit to be detected through the target optical signal transmitter associated with the relative position information if the cloud computing unit to be detected is in a successful startup state.

11. The apparatus of claim 9, wherein, The working state determination module comprises: a second state determination unit configured to determine the working state of the cloud computing unit to be detected according to second optical signals received within a second time interval if the cloud computing unit to be detected is not in a successful startup state according to first optical signals received within a first time interval; the second time interval is after the first time interval.

12. The apparatus of claim 11, wherein, The second state determination unit comprises: a first state determination subunit configured to determine that the cloud computing unit to be detected is in a startup state if all second optical signals received within the second time interval are high-level signals; a second state determining sub-unit, configured to determine an error code of the cloud computing unit to be detected according to high-level signals and low-level signals in the second optical signal, in a case that the second optical signal received in the second time interval includes high-level signals and low-level signals; wherein the error code is used to represent a working state of the cloud computing unit to be detected.

13. The apparatus of any one of claims 9-12, further comprising: a detection result receiving module, configured to acquire a detection result obtained by the cloud computing unit to be detected by executing the detection instruction, through a target optical signal receiver associated with the opposite position information, after the detection instruction is sent to the cloud computing unit to be detected.

14. The apparatus of claim 13, further comprising: a third state determining unit, configured to determine that the cloud computing unit to be detected is in a power-off state, if the detection result fed back by the cloud computing unit to be detected is not received by the target optical signal receiver within a waiting time interval, after the detection instruction is sent to the cloud computing unit to be detected.

15. The apparatus of any of claims 9-12, wherein, The target cloud computing unit is selected from candidate cloud computing units adjacent to the cloud computing unit to be detected.

16. The apparatus of claim 15, wherein, The target cloud computing unit is selected from candidate cloud computing units in a successful start state.

17. An electronic device, comprising: at least one processor; and a memory connected with the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the information acquisition method of any one of claims 1-8.

18. A non-transitory computer readable storage medium having stored thereon computer instructions, wherein, The computer instructions are used to enable the computer to perform the information acquisition method of any one of claims 1-8.

19. A computer program product comprising computer programs / instructions, which, when executed by a processor, implement the information acquisition method of any one of claims 1-8.

Citation Information

Patent Citations

  • Cloud-based video surveillance management system

    CN104040601A

  • Terminal equipment, control method and operation instruction detection module

    CN113467623A