Information processing method, system and device, storage medium and program product

By implementing an automated registration method and heartbeat monitoring mechanism on the bench server, the problems of cumbersome access and high error rate in the existing technology are solved, and the rapid, automatic registration and efficient management of the bench are achieved.

CN119946054AActive Publication Date: 2025-05-06CHONGQING CHANGAN TECH CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202510038740.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-10
Publication Date
2025-05-06
Estimated Expiration
2045-01-10

AI Technical Summary

Technical Problem

In the prior art, access to new equipment requires complex and cumbersome manual registration, which is time-consuming and labor-intensive, and frequent manual operations are prone to cause errors, affecting the overall efficiency of the system.

Method used

By implementing an automated registration method on the bench server, unregistered bench establishes a communication connection with the bench server, receives and responds to registration requests, assigns a unique identifier, and monitors the bench status in real time through the heartbeat mechanism.

Benefits of technology

It realizes fast and automatic registration of the bench, simplifies the registration process, improves registration efficiency and management efficiency, and reduces the error rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119946054A_ABST
    Figure CN119946054A_ABST
Patent Text Reader

Abstract

The invention relates to an information processing method, system and device, a storage medium and a program product. The method comprises the steps that a rack server establishes communication connection with an unregistered first rack; the rack server receives a registration request sent by the first rack based on the communication connection; in response to the registration request, the rack server allocates a first identifier to the first rack, the first identifier being used to identify the first rack; the rack server sends a registration response in response to the registration request to the first rack, wherein the registration response carries the first identifier; according to the invention, the registration of the rack is completed, the rapid and automatic registration of the rack is realized, the registration process is simplified, the registration efficiency is improved, and the management efficiency of the rack is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of testing technology, and in particular to an information processing method, system, device, storage medium, and program product. Background Art

[0002] In the related art, different racks are independent and each rack maintains its own information. In the equipment management system, the access of new equipment requires complex and tedious manual registration, which is not only time-consuming and labor-intensive, but also prone to errors due to frequent manual operations, affecting the overall efficiency of the system. Summary of the invention

[0003] One of the purposes of the present invention is to provide an information processing method, system, apparatus, storage medium, and program product to solve the problem in the prior art that the access of new devices requires complex and tedious manual registration, which is not only time-consuming and labor-intensive, but also frequent manual operations are prone to errors, affecting the overall efficiency of the system.

[0004] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0005] In a first aspect, an embodiment of the present invention provides an information processing method, which is applied to a rack server, comprising:

[0006] Establishing a communication connection with the unregistered first rack;

[0007] receiving a registration request sent by the first gantry based on the communication connection;

[0008] In response to the registration request, assigning a first identifier to the first stand, the first identifier being used to identify the first stand;

[0009] A registration response in response to the registration request is sent to the first stand, wherein the registration response carries the first identifier.

[0010] According to the above-mentioned technical means, the information processing method provided by the embodiment of the present invention, the racks are uniformly registered with the rack server. During the process of the racks registering with the rack server, the rack server assigns a unique identifier for identifying the rack to the rack registered with the rack server, and feeds back the assigned identifier to the registered rack to complete the registration of the rack, realize fast and automatic registration of the rack, simplify the registration process, improve registration efficiency, and improve the management efficiency of the rack.

[0011] In a possible implementation manner, the registration request carries feature information and verification information of the first rack; before allocating a first identifier to the first rack, the method further includes:

[0012] Verify the characteristic information of the first rack; if the characteristic information of the rack is successfully verified, check the access authority of the first rack based on the verification information; wherein, if the first rack has the access authority, assign the first identifier to the first rack.

[0013] According to the above technical means, by verifying the characteristic information and verification information carried in the registration request, it is ensured that the rack registered with the rack server is a rack that supports interaction with the rack server and has the authority to access the rack server, thereby ensuring the reliability of the registration process.

[0014] In a possible implementation, the method further includes:

[0015] Receiving a heartbeat sent by each rack among the multiple racks, wherein the heartbeat is reported periodically and carries status information of the corresponding rack;

[0016] For each rack among the plurality of racks, the operation status of the corresponding rack is determined according to the status information of the rack.

[0017] According to the above technical means, the rack reports its own status information in real time through heartbeat, so that the rack server monitors the status information of the rack in real time, so as to respond and process the rack with abnormality in time.

[0018] In a possible implementation, the method further includes:

[0019] If no heartbeat sent by the second rack is received within the first time period, sending a status confirmation message to the second rack;

[0020] determining whether status information of the second stand for responding to the confirmation message is received;

[0021] In the case that the state information for responding to the confirmation message from the second rack is not received, the confirmation message continues to be sent to the second rack until the number of times the confirmation message is sent reaches a number threshold.

[0022] According to the above technical means, for racks that have not received heartbeats for a long time, the rack server will try to communicate with these racks and send confirmation information to verify their status, which can avoid misjudgment of the rack status due to network delays or other temporary factors.

[0023] In a possible implementation, the method further includes:

[0024] When the number of times the confirmation message is sent reaches the number threshold, clearing the rack information of the second rack;

[0025] In case that the status information of the second rack is received in response to the confirmation message, the operation status of the second rack is determined according to the status information of the second rack.

[0026] According to the above technical means, the rack server responds promptly to the stop condition of stopping sending confirmation messages to the second rack, and when it is determined that the second rack is a problem rack, it promptly provides the rack information of the problem rack, promptly releases the occupation of the rack server's resources by the problem rack, and improves the occupation of the rack server's resources.

[0027] In a possible implementation, the method further includes:

[0028] receiving a task request, wherein the task request carries task information;

[0029] Based on the task information, selecting a third rack from a plurality of available racks;

[0030] Sending a task based on the task information to the third rack;

[0031] Receive feedback data of the third rack performing the task.

[0032] Based on the above technical means, the test bench service intelligently selects the test bench according to the test requirements of the current task, and schedules the test bench that meets the test requirements to perform the task, thereby achieving optimal allocation of resources.

[0033] In a possible implementation, based on the task information, selecting a third rack from the connected multiple racks includes:

[0034] sorting the plurality of available racks according to the status information of each of the plurality of available racks;

[0035] Selecting a candidate rack from the plurality of available racks based on the ranking result, and determining whether the candidate rack meets the execution requirement of the task;

[0036] In the case that the candidate rack does not meet the execution requirement of the task, continue to select new candidate racks from the multiple available racks based on the sorting result, and determine whether the candidate rack meets the execution requirement of the task, until the candidate rack that meets the execution requirement of the task is selected as the third rack.

[0037] According to the above-mentioned technical means, first, multiple available racks are sorted according to their turntable information, and then, based on the sorting results and the execution requirements of the task, a rack with strong capabilities that can meet the current task is selected, so that the current task is executed based on the available racks that are ranked high and can meet the current execution requirements, thereby ensuring the execution reliability of the task.

[0038] In a possible implementation, the method further includes:

[0039] Determining the execution status of each feedback data packet in the feedback data;

[0040] In the case that there is a feedback data packet of execution failure, a data packet corresponding to the feedback data packet is resent to the third rack until a feedback data packet of execution success is received.

[0041] According to the above technical features, the rack server identifies whether the executed tasks have been completed successfully, as well as the tasks that need to be retried due to failure or exception, and re-sends the data packets that need to be re-executed in the tasks that need to be retried. Through the breakpoint retransmission mechanism, the stability of data transmission is guaranteed.

[0042] In a second aspect, an embodiment of the present invention provides an information processing system, including a rack server and a first rack;

[0043] The first rack, when not registered with the rack server, establishes a communication connection with the rack server and sends a registration request to the rack server;

[0044] The rack server receives a registration request sent by the first rack based on a communication connection established with the first rack;

[0045] The rack server, in response to the registration request, assigns a first identifier to the first rack, wherein the first identifier is used to identify the first rack;

[0046] The rack server sends a registration response in response to the registration request to the first rack, wherein the registration response carries the first identifier;

[0047] The rack receives the registration response sent by the rack server and stores the first identifier.

[0048] In a third aspect, the present invention provides a computer-readable storage medium, i.e., a storage medium, on which a computer program or instructions are stored. When the computer program or instructions are executed by a processor, the information processing method described in any one of claims 1 to 9 is implemented.

[0049] In a fourth aspect, the present invention further provides a computer program product, which includes a computer program or instructions, and when the computer program or instructions are executed by a processor, the above-mentioned information processing method is implemented.

[0050] It should be noted that the technical effects brought about by the second to fourth aspects can be referred to the detailed description of the first aspect above, and will not be repeated here one by one. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1A is an optional structural diagram of the information processing system of the present invention;

[0052] Figure 1B is an optional structural diagram of the information processing system of the present invention;

[0053] Figure 2 is an optional flow chart of the information processing method of the present invention;

[0054] Figure 3 is an optional flow chart of the information processing method of the present invention;

[0055] Figure 4 is an optional flow chart of the information processing method of the present invention;

[0056] Figure 5 is an optional structural diagram of the information processing system of the present invention;

[0057] Figure 6 is an optional flow chart of the information processing method of the present invention;

[0058] Figure 7 is an optional flow chart of the information processing method of the present invention;

[0059] Figure 8 is an optional flow chart of the information processing method of the present invention;

[0060] Fig. 9 is an optional flow chart of the information processing method of the present invention;

[0061] Fig.10 is an optional flow chart of the information processing method of the present invention;

[0062] Fig.11 An optional schematic diagram of breakpoint retransmission of the present invention;

[0063] Fig.12 An optional structural diagram of an information processing device provided by an embodiment of the present invention;

[0064] Fig.13 An optional structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0065] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.

[0066] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0067] To make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the specific technical solution of the application will be further described in detail below in conjunction with the drawings in the embodiments of the present invention. The following embodiments are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0068] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0069] In the following description, the terms "first\second\third" are used only as examples to distinguish different objects, and do not represent a specific order for the objects, nor do they have a limitation on the order of precedence. It is understood that "first\second\third" can be interchanged with a specific order or order of precedence where permitted, so that the embodiments of the present invention described herein can be implemented in an order other than that illustrated or described herein.

[0070] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein are only for the purpose of describing the embodiments of the present invention and are not intended to limit the present invention.

[0071] The information processing method provided by the embodiment of the present invention can be applied to an information processing system. Figure 1AAs shown, the information processing system includes one or more test benches 100 and a test bench server 200. The test bench can be called a test bench, which can be used to test the data of equipment in scenarios such as vehicle data, power supply equipment data, and aviation equipment. The test bench server can be understood as a server or cloud test bench for test bench management, wherein the test bench server can be a physical server or a cloud server, and the test bench server can carry a cloud test bench scheduling system for managing the test bench. The information processing system in the embodiment of the present invention can also be called a test bench management system, a test bench scheduling system, etc.

[0072] like Figure 1B As shown, the information processing system may include multiple rack servers 200, wherein the multiple rack servers 200 constitute a rack service cluster 20, a rack can be connected to a rack server 200 in the rack service cluster 20, different rack servers 200 can be connected to different racks, and information between different rack servers 200 can be shared.

[0073] Next, combine Figure 1A or Figure 1B The schematic diagram of the information processing system shown is used to illustrate various embodiments of the information processing method, system, storage medium and program product provided by the embodiments of the present invention.

[0074] In a first aspect, an embodiment of the present invention provides an information processing method. Below, the information processing method provided by the embodiment of the present invention is described by taking a rack server as an execution subject.

[0075] Specifically, refer to Figure 2 As shown in the content, the process may include but is not limited to the following S201 to S204.

[0076] S201: The rack server establishes a communication connection with an unregistered first rack.

[0077] The first rack is any rack to be registered, that is, to be connected to the rack server. When the first rack wants to be connected to the rack server, it sends a connection request to the rack server. After receiving the connection request of the first rack, the rack server establishes a communication connection with the first rack.

[0078] The communication connection established between the first rack and the rack server may be a secure communication channel, thereby ensuring information security between the first rack and the rack server. The communication connection between the first rack and the rack server may include but is not limited to a Hypertext Transfer Protocol (HTTP) connection.

[0079] In an embodiment of the present invention, the connection request sent by the first rack may carry a token. After receiving the connection request, the rack server may verify the token sent by the first rack to determine whether the first rack has the login authority of the rack server. Among them, whether a rack has the login authority can be understood as whether the rack has the authority to schedule the reporting interface of the rack server, that is, to report information to the rack server. If a rack has the login authority, the rack has the authority to report information to the rack server, otherwise, the rack cannot report information to the rack server.

[0080] If the token carried by the first rack is successfully verified, it can be considered that the first rack has the login authority to log in to the rack server, and the connection request of the first rack is accepted, and a communication connection is established with the first rack. If the token carried by the first rack fails to be verified, it can be considered that the first rack does not have the login authority to log in to the rack server, and the connection request of the first rack is rejected, and no communication connection is established with the first rack.

[0081] The rack server may verify the token sent by the first rack in a manner that may include: determining whether the rack server has the same token as the first rack or other manners.

[0082] In an embodiment of the present invention, the first rack can obtain a token based on the account information of logging into the first rack. Wherein, if the account information of logging into the first rack is the account information registered in the rack server, the first rack can obtain a token to confirm that the first rack has the login authority based on the account information.

[0083] In the embodiment of the present invention, the login authority of the rack to be registered with the rack server is verified by using a token, so that the reporting interface of the rack server for communicating with the rack can be prevented from being maliciously called.

[0084] S202: The rack server receives a registration request sent by the first rack based on the communication connection.

[0085] After the first rack establishes a communication connection with the rack server, a registration request is sent to the rack server through the established communication connection. The registration request may carry the IP address of the first rack, wherein different racks have different IP addresses.

[0086] The registration request sent by the first rack may also carry feature information and / or verification information. Feature information may be understood as key information about the capabilities or usage scenarios of the corresponding rack. Feature information may include one or more of the following information: hardware specifications, software version, location information, resource information. Verification information is used to verify the access rights of the first rack. Verification information may include: authorization code or certificate.

[0087] S203: In response to the registration request, the rack server allocates a first identifier to the first rack, where the first identifier is used to identify the first rack.

[0088] When receiving the registration request of the first rack, the rack server allocates a first identifier to the first rack in response to the received registration request, wherein the first identifier of the first rack is a unique identifier for identifying the first rack.

[0089] The first identifier allocated by the rack server to the first rack can be used for the first rack to communicate with the rack server after registering with the rack server, or for the rack server to manage or schedule the first rack.

[0090] In an embodiment of the present invention, the rack server may assign different identifiers to different racks registered with the rack server for identifying different racks. In one example, the racks registered with the rack server include the following racks: rack 1, rack 2, ..., rack 23, rack 24, rack 25, wherein rack 1, rack 2, ..., rack 23, rack 24, rack 25 are assigned identifiers: ID1, ID2, ..., ID23, ID24, ID25, respectively.

[0091] S204: The rack server sends a registration response in response to the registration request to the first rack, where the registration response carries the first identifier.

[0092] After allocating the first identifier to the first rack, the rack server sends a registration response in response to the registration request to the first rack, wherein the registration response carries the first identifier, thereby notifying the first rack of the first identifier.

[0093] After receiving the first identifier, the first rack saves the first identifier and completes the registration process of registering with the rack server.

[0094] After the rack server assigns the first identifier to the first rack, it can update the stored rack list and add the characteristic information of the first rack to the rack list. In the embodiment of the present invention, the rack list records the characteristic information of the racks registered with the rack server, wherein the characteristic information of each registered rack is stored corresponding to the identifier of each rack, so that the rack server can effectively identify the characteristic information of each registered rack.

[0095] In the case where the information processing system includes other rack servers, the rack server may send a registration notification to the other rack servers in the information processing system to notify the other rack servers of the registration of the first rack.

[0096] In an embodiment of the present invention, when the characteristic information of the first rack is updated, the first rack may send the updated characteristic information to the rack server, and the rack server may update the characteristic information of the first rack in the rack list according to the first identifier of the first rack, and update it to the updated characteristic information.

[0097] The information processing method provided by the embodiment of the present invention is to uniformly register racks with the rack server. During the process of rack registration with the rack server, the rack server assigns a unique identifier for identifying the rack to the rack registered with the rack server, and feeds back the assigned identifier to the registered rack to complete the registration of the rack, thereby realizing fast and automatic registration of the rack, simplifying the registration process, improving registration efficiency, and improving the management efficiency of the rack.

[0098] In a possible implementation manner, the registration request carries the characteristic information and verification information of the first rack; the information processing method provided by the embodiment of the present invention further includes the following steps S1 to S2:

[0099] S1. The rack server verifies the feature information of the first rack.

[0100] In the embodiment of the present invention, when the rack server receives a registration request from the first rack, and the registration request carries feature information and verification information, the rack server responds to the registration request and verifies the integrity and / or accuracy of the feature information. When the integrity and / or accuracy of the feature information is confirmed, it is determined that the feature information verification is successful.

[0101] Here, verifying the integrity of the feature information can be understood as determining whether the information contained in the feature information complies with the set integrity rules. In one example, it is determined whether the feature information includes hardware rules, software versions, location information, and resource information; in another example, it is determined whether the feature information includes hardware rules and software versions. If the information contained in the feature information complies with the set integrity rules, it is determined that the integrity verification of the feature information has passed.

[0102] Verifying the accuracy of feature information can be understood as determining whether the content represented by the feature information meets the set preset accuracy rules. In one example, when the feature information includes hardware specifications, the rack server can determine whether the hardware of the first rack meets the hardware requirements of the symbol information processing system based on the hardware specifications. In one example, when the feature information includes a software version, the rack server can determine whether the rack server can manage the first rack based on the software version, that is, determine whether the software of the first rack is compatible with the current rack server. In one example, when the feature information includes location information, the location information can be used to characterize the location layout of the first rack, and the rack server can determine whether the location layout of the first rack is reasonable based on the location information. When the content represented by the feature information meets the set accuracy rules, it is determined that the accuracy verification of the feature information has passed.

[0103] S2. When the characteristic information of the rack is successfully verified, the rack server checks the access authority of the first rack based on the verification information; wherein, when the first rack has the access authority, the first identifier is allocated to the first rack.

[0104] When the feature information verification is successful, the rack server checks the access authority of the first rack based on the verification information sent by the first rack. Here, whether the first rack has access authority can be understood as whether the rack has the authority to be managed or scheduled by the rack server. If the first rack has access authority, it can be registered with the rack server and managed or scheduled by the rack service area.

[0105] In the embodiment of the present invention, the verification information may include an authorization code and / or a digital certificate. The rack server may verify the access authority of the first rack based on the authorization code and / or the digital certificate, wherein if the authorization code and / or the digital certificate carried in the registration request is a valid authorization code and / or a valid digital certificate, it may be determined that the first rack has the access authority.

[0106] The rack server may allocate a first identifier to the first rack if it is determined that the first rack has access authority.

[0107] According to the above technical means, by verifying the characteristic information and verification information carried in the registration request, it is ensured that the rack registered with the rack server is a rack that supports interaction with the rack server and has the authority to access the rack server, thereby ensuring the reliability of the registration process.

[0108] In one possible implementation, see Figure 3 , the information processing method provided by the embodiment of the present invention also includes:

[0109] S301. A rack server receives a heartbeat sent by each rack among a plurality of racks, wherein the heartbeat is reported periodically and carries status information of the corresponding rack.

[0110] Each rack registered with the rack server periodically sends a heartbeat to the rack server at a set frequency. For a rack, the heartbeat sent carries the status information of the rack, which is used to characterize the current status of the rack. The status information carried by the heartbeat may include one or more of the following information: temperature, humidity, voltage, current, CPU usage, memory usage, disk space, network bandwidth, etc.

[0111] The rack server receives status information reported by the rack based on heartbeat in real time.

[0112] In the embodiment of the present invention, the rack server may receive heartbeats sent by all or part of the registered racks.

[0113] For a heartbeat sent by a rack, it may carry the IP address or identifier of the rack, thereby identifying the sender of the heartbeat.

[0114] S302: The rack server determines the operation status of each rack among the multiple racks according to the status information of the rack.

[0115] When the rack server receives the status information of the rack, it determines the operation status of the corresponding rack according to the received status information. In the embodiment of the present invention, the operation status of the rack may include normal operation and abnormal operation.

[0116] The rack server can analyze the status information according to the set judgment rules or judgment algorithms to obtain the operation status.

[0117] In one example, when the status information includes temperature and the set judgment rule includes a temperature condition: 35 to 65 degrees Celsius, if the temperature included in the status information meets the temperature condition, the operating status is considered to be a normal state; if the temperature included in the status information does not meet the temperature condition, the operating status is considered to be an abnormal state.

[0118] In one example, when the status information includes voltage and the set judgment rule includes the voltage condition: 220 volts (V), if the voltage included in the status information meets the voltage condition, the operating status is considered to be a normal state; if the voltage included in the status information does not meet the voltage condition, the operating status is considered to be an abnormal state.

[0119] In the embodiment of the present invention, when the operation state of a rack is abnormal, the rack server may start an early warning process, wherein the early warning process may include one or more of the following: displaying alarm information through a visual interface, sending alarm notifications to a set account or user through SMS, email, etc., so that the abnormal situation can be promptly known and handled.

[0120] According to the above technical means, the rack reports its own status information in real time through heartbeat, so that the rack server monitors the status information of the rack in real time, so as to respond and process the rack with abnormality in time.

[0121] In a possible implementation manner, the information processing method provided by the embodiment of the present invention further includes:

[0122] If no heartbeat sent by the second rack is received within the first time period, sending a confirmation message to the second rack;

[0123] determining whether status information of the second stand for responding to the confirmation message is received;

[0124] In the case that the state information for responding to the confirmation message from the second rack is not received, the confirmation message continues to be sent to the second rack until the number of times the confirmation message is sent reaches a number threshold.

[0125] In the embodiment of the present invention, for the registered racks, the rack server may determine which racks' heartbeats have not been received within the first time period. The racks that have not received heartbeats within the first time period may be referred to as second racks. The second rack may be considered as a potential problem rack. The first time period includes a plurality of heartbeat sending cycles.

[0126] When the rack server does not receive the heartbeat sent by the second rack within the first time period, it sends a confirmation message to the second rack, where the confirmation message is used to determine whether the rack is a problem rack.

[0127] In the embodiment of the present invention, the rack server may mark the second rack as a potential problem rack, and send a confirmation message to the marked rack.

[0128] The gantry server determines whether status information of the second gantry in response to the confirmation message is received.

[0129] If the second rack is not a problem rack, upon receiving the confirmation message, the rack server sends status information in response to the confirmation message; if the second rack is a problem rack, the confirmation message may not be received, or the confirmation message may be received but the status information in response to the confirmation message may not be sent to the rack server. However, there may be a network delay in the second rack receiving the confirmation message, so the confirmation message may not be received in time and the status message may not be responded to. It can be seen that when the rack server does not receive the status information of the second rack for responding to the confirmation message, the reason for not receiving it may not be that the second rack is a problem rack.

[0130] In the embodiment of the present invention, when the rack server does not receive the status information of the second rack for responding to the confirmation message, it continues to send the confirmation message to the second rack until the number of times the confirmation message is sent reaches the number threshold.

[0131] In one example, the number threshold is 5. If the rack server does not receive the heartbeat of rack A within the first time period, it sends the first confirmation message to rack A. If it does not receive the status information of rack A in response to the confirmation message, it continues to send the second confirmation message to rack A. After sending the second confirmation message, if it receives the status information sent by rack A, it stops sending confirmation information to rack A.

[0132] In one example, the number threshold is 5. If the rack server does not receive the heartbeat of rack A within the first time period, it sends the first confirmation message to rack A. If it does not receive status information from rack A in response to the confirmation message, it continues to send the second, third, third, fourth and fifth confirmation messages to rack A. If it does not receive status information sent by rack A after sending the fifth confirmation message, it stops sending confirmation information to rack A.

[0133] In the above example, the number threshold is 5. In actual applications, the value of the number threshold may include other values ​​other than 5 set according to actual needs.

[0134] According to the above technical means, for racks that have not received heartbeats for a long time, the rack server will try to communicate with these racks and send confirmation information to verify their status, which can avoid misjudgment of the rack status due to network delays or other temporary factors.

[0135] In a possible implementation manner, the information processing method provided by the embodiment of the present invention further includes:

[0136] When the number of times the confirmation message is sent reaches the number threshold, clearing the rack information of the second rack;

[0137] In case that the status information of the second rack is received in response to the confirmation message, the operation status of the second rack is determined according to the status information of the second rack.

[0138] The stopping conditions for the rack server to stop sending confirmation messages to the second rack include the following conditions:

[0139] Stop condition 1: Determine that the number of times the message is sent reaches the number threshold;

[0140] Stop condition 2: receiving the status information before the number of times the confirmation message is sent reaches the number threshold.

[0141] In the case where the rack server stops sending confirmation messages to the second rack based on the stop condition 1, the second rack still fails to respond after the rack server's attempt, and the rack server confirms that the second rack is a problem rack, and then performs a clearing operation to clear the rack information of the second rack in the PTZ server. In the embodiment of the present invention, clearing the rack information of the second rack in the rack server can be understood as releasing the rack server resources occupied by the second rack, wherein the rack server resources occupied by the rack include: storage space, bandwidth, etc. The rack information may include information related to the rack in the rack server, and may include: feature information, verification information, status information, identifier, etc.

[0142] In the embodiment of the present invention, after the rack server completes the clearing operation, it can inform the administrator through a preset notification method (such as SMS, email, etc.). The notification content includes rack information of the cleared rack, the clearing reason and time, etc., so that the administrator can understand the situation in time and carry out subsequent processing.

[0143] In the embodiment of the present invention, all relevant information of the clearing operation will be automatically recorded in the log by the rack server, including the clearing time, reason, operator, etc. These records can be used for subsequent troubleshooting, system auditing and performance analysis, etc.

[0144] In the case where the rack server stops sending confirmation messages to the second rack based on the second stop condition, the second rack responds normally after the rack server attempts, and the rack server determines the operating status of the second rack based on the received status information. Here, the description of the rack server determining the operating status of the second rack based on the status information can refer to the description of the rack server determining the operating status of the corresponding rack based on the status information sent by the rack, which will not be repeated here.

[0145] According to the above technical means, the rack server responds promptly to the stop condition of stopping sending confirmation messages to the second rack, and when it is determined that the second rack is a problem rack, it promptly provides the rack information of the problem rack, promptly releases the occupation of resources of the pan-tilt server by the problem rack, and improves the occupation of resources of the pan-tilt server.

[0146] In one possible implementation, see Figure 4 , the information processing method provided by the embodiment of the present invention also includes:

[0147] S401: The rack server receives a task request, where the task request carries task information.

[0148] The test bench server can receive task requests, where the task requests are used to request the execution of tasks. The tasks here can be understood as test tasks executed by the test bench.

[0149] The rack server may receive task requests triggered by users through the client of the rack server, and may also receive task requests sent by other devices.

[0150] The task information carried by the task request may include: task scenario, project requirements, data identification, data volume, expected execution time, etc. Among them, the task scenario, project requirements, and data identification can represent the execution requirements of the current task.

[0151] After receiving the task request, the rack server can pre-process the information carried in the task request and extract the key information of the task, which may include: task scenario, project requirements, data identification and other information.

[0152] S402: The rack server selects a third rack from multiple available racks based on the task information.

[0153] The rack server selects a rack, i.e., a third rack, from multiple available racks based on the task information carried in the task request to perform the current task. The available racks can be understood as racks in the registered racks whose operating status is normal operation and idle. The rack server can select the third rack from multiple available racks based on the key information carried in the task request.

[0154] The third rack can be understood as the most preferred rack among multiple available racks for the current task.

[0155] S403: The rack server sends a task based on the task information to the third rack.

[0156] The rack server sends the task based on the current task information to the third rack.

[0157] When the rack server sends a task to the third rack, the test data corresponding to the current task is carried in the task and sent to the third rack. When the rack server sends a task to the third rack, it can send a data packet of the task to the third rack, wherein a task may include multiple data packets, and the data packet may include the following data information in addition to the test data: task ID, file ID, file path, file name, scene information and other information. Among them, for different data packets of the same task, the task ID and scene information are the same. The file name and file path are used to identify the file. One data packet may correspond to one file.

[0158] The third rack receives the task issued, executes the task for the test data carried by the task, and obtains the processing result. The processing type of the task may include but is not limited to data re-injection, compilation, etc.

[0159] When the rack processes a task, it processes the task at the granularity of data packets.

[0160] S404: The rack server receives feedback data of the third rack executing the task.

[0161] When the third rack obtains the processing result, it sends feedback data carrying the processing result to the rack server. The feedback data may include multiple feedback data packets, wherein the feedback data packets may include the following information in addition to the processing result: task ID, file ID, file path, scene information, etc.

[0162] In the embodiment of the present invention, one data packet in the issued task corresponds to one feedback data packet, and one feedback data packet has the same task ID, file ID, file path, and scene information as the corresponding data packet.

[0163] In an embodiment of the present invention, the feedback data packet may further include: a processing result status, which is used to indicate whether the feedback data packet is a feedback data packet for successful execution, that is, whether the corresponding data packet has been executed. In one example, the processing result status is 0, indicating that it has not been executed, that is, the execution failed or the execution was not completed, and the processing result status is 1, indicating that the execution is completed or the execution is successful.

[0164] In the embodiment of the present invention, the data packet in the issued task may also carry a processing result status indicating that it has not been executed, indicating that the current data packet needs to be executed.

[0165] Based on the above technical means, the test bench service intelligently selects the test bench according to the test requirements of the current task, and schedules the test bench that meets the test requirements to perform the task, thereby achieving optimal allocation of resources.

[0166] In a possible implementation manner, S503 selects a third rack from the connected multiple racks based on the task information, including:

[0167] The multiple available racks are sorted according to the status information of each available rack among the multiple available racks; a candidate rack is selected from the multiple available racks based on the sorting result, and it is judged whether the candidate rack meets the execution requirement of the task; if the candidate rack does not meet the execution requirement of the task, a new candidate rack is continuously selected from the multiple available racks based on the sorting result, and it is judged whether the candidate rack meets the execution requirement of the task, until the candidate rack that meets the execution requirement of the task is selected as the third rack.

[0168] For multiple available racks, the rack server calculates and comprehensively evaluates each available rack based on the latest status information of each available rack. Here, an evaluation model may be provided, and the status information of each available rack is input into the evaluation model to obtain the ranking value of the corresponding available rack.

[0169] The evaluation model in the embodiment of the present invention may be a model set based on the evaluation indicators in the state information. The evaluation indicators may be indicators of multiple dimensions constructed based on the collected state information, such as resource utilization, temperature conditions, scene matching degree, etc. Here, a weight may be set for each evaluation indicator to reflect the importance of different evaluation indicators in the scheduling decision.

[0170] In one example, the evaluation model is: ranking value = (resource coefficient * remaining resources) + (scene matching coefficient * scene matching degree), where the resource coefficient and the scene matching coefficient are different pre-set weight values, the remaining resources can be understood as the available resources of the platform, and the scene matching degree can be determined based on the scene information of the available platform and the scene information of the current task. For example: if the scene indicated by the scene information of the platform includes the scene indicated by the scene information of the current task, the scene matching degree is 1, and if the scene indicated by the scene information of the platform does not include the scene indicated by the scene information of the current task, the scene matching degree is 0.

[0171] After obtaining the ranking values ​​of the available racks, the ranking values ​​are sorted from high to low to obtain the ranking of multiple available racks.

[0172] After determining the ranking of multiple available racks, the available rack with the highest current ranking is used as a candidate rack, and the characteristic information of the candidate rack is used to determine whether the candidate rack meets the execution requirements of the current task. If the current candidate rack meets the execution requirements of the current task, the current candidate rack is used as the third rack; if the current candidate rack does not meet the execution requirements of the current task, the next available rack after the current candidate rack in the ranking is used as a new candidate rack. After determining the new candidate rack, determine whether the new candidate rack meets the execution requirements of the current task based on the characteristic information of the new candidate rack. And based on the judgment result of the new candidate rack, the current candidate rack is used as the third rack or new candidates are continuously selected based on the ranking until the third rack is determined.

[0173] When determining whether a candidate rack meets the execution requirement of the current task, it may be determined whether the current candidate rack meets the execution requirement of the current task based on the feature information of the candidate rack.

[0174] According to the above-mentioned technical means, first, multiple available racks are sorted according to their turntable information, and then, based on the sorting results and the execution requirements of the task, a rack with strong capabilities that can meet the current task is selected, so that the current task is executed based on the available racks that are ranked high and can meet the current execution requirements, thereby ensuring the execution reliability of the task.

[0175] In a possible implementation, the method further includes: determining an execution status of each feedback data packet in the feedback data;

[0176] In the case that there is a feedback data packet of execution failure, a data packet corresponding to the feedback data packet is resent to the third rack until a feedback data packet of execution success is received.

[0177] In an embodiment of the present invention, the feedback data packet of the feedback data includes a processing result status indicating whether the execution is completed. For each feedback data packet in the feedback data corresponding to a task, the rack server determines whether the corresponding feedback data packet is a feedback data packet indicating that the execution is completed or successfully executed based on the processing result status in the feedback data packet.

[0178] When there is a feedback data packet that has failed to execute, i.e., has not been executed, in the feedback data, the rack server determines the corresponding data packet based on the file ID of the feedback data packet, and re-sends the determined data packet to the third rack, which re-processes the data packet to obtain a feedback data packet of completed execution.

[0179] When receiving a feedback data packet indicating successful execution of the processing result status, the rack server determines that the execution of the data packet is complete.

[0180] For a task, the rack server determines that the task is completed if each data packet of the task is executed. If there are data packets that are not executed, the incomplete data packets are sent to the third rack to process the incomplete part of the task. Each data packet of the task is executed to completion or successfully.

[0181] According to the above technical features, the rack server identifies whether the executed tasks have been completed successfully, as well as the tasks that need to be retried due to failure or exception, and re-sends the data packets that need to be re-executed in the tasks that need to be retried. Through the breakpoint retransmission mechanism, the stability of data transmission is guaranteed.

[0182] In a second aspect, an embodiment of the present invention provides an information processing system, referring to Figure 1A Or the content shown in 1B, including a rack server 200 and one or more racks 100, wherein the one or more racks 100 include a first rack;

[0183] The first rack establishes a communication connection with the rack server 200 when it is not registered with the rack server 200, and sends a registration request to the rack server 200;

[0184] The rack server 200 receives a registration request sent by the first rack based on the communication connection established with the first rack;

[0185] The rack server 200, in response to the registration request, allocates a first identifier to the first rack, wherein the first identifier is used to identify the first rack;

[0186] The rack server 200 sends a registration response in response to the registration request to the first rack, wherein the registration response carries the first identifier;

[0187] The first rack receives the registration response sent by the rack server 200 and stores the first identifier.

[0188] The following is a further description of the information processing method provided by the embodiment of the present invention.

[0189] In relevant equipment management systems, the access of new equipment is often accompanied by a series of complex and tedious registration steps, which is not only time-consuming and labor-intensive, but also prone to errors due to frequent manual operations, affecting the overall efficiency of the system. Therefore, a faster, automated and accurate new rack registration method is needed to simplify the process, improve efficiency and reduce the error rate.

[0190] The information processing method provided by the embodiment of the present invention can solve the following technical problems: how to provide a reliable cloud platform management system to manage the platform, monitor and observe the status information of the platform in real time, promptly process and respond to the abnormal platform monitored, and promptly repair the platform. Intelligently schedule the sent task data, select the most suitable platform to work, and resend the sent data.

[0191] The information processing method provided by the embodiment of the present invention can improve management efficiency, ensure the accuracy and stability of data transmission, and optimize resource allocation by introducing cloud platform management services. Among them, the present invention ensures the accuracy of data transmission by issuing a data verification mechanism; the management efficiency is greatly improved through the platform quick registration function; at the same time, the introduction of the platform fault warning system enables potential problems to be prevented in advance. In addition, the intelligent selection of the platform issuance strategy realizes the optimal allocation of resources, and the breakpoint retry mechanism further guarantees the stability of data transmission. In summary, the present invention constructs a comprehensive and efficient cloud platform management system, which not only significantly improves the scheduling efficiency, but also greatly enhances the reliability and intelligence level of the system.

[0192] The information processing method provided by the embodiment of the present invention can be applied to Figure 5 The information processing system shown includes a cloud rack service management cluster 501 composed of one or more physical servers or cloud servers, and one or more racks 502. Among them, one or more physical servers or cloud servers serve as the backend of the cloud rack management system, and one or more racks serve as the client of the cloud rack management system to communicate with the cloud rack management system. Each scattered rack is connected through the cloud rack management system, and the rack includes racks for simulating and testing various scene models, and the parameters are aggregated and unified.

[0193] The cloud platform service management cluster 501 includes the following functions: registration, monitoring, intelligent scheduling and breakpoint retransmission. The platform has the following information: status information, resource information, hardware specifications, and software version.

[0194] When processing tasks, such as Figure 5 As shown, the test data 503 may be input into the rack service management cluster 501 , and the rack service management cluster 501 may send the test data 503 to the rack 502 .

[0195] The registration process of the rack in the information processing method provided by the embodiment of the present invention can be as follows: Figure 6 As shown, including:

[0196] S601. Initialize the connection between the platform and the pan-tilt platform.

[0197] The new gantry starts the registration process and sends a connection request to the gimbal. After receiving the connection request, the gimbal establishes a secure communication channel with the new gantry.

[0198] S602. The gantry sends a registration request.

[0199] The new rig sends a registration request containing its own key information to the cloud rig through the established secure communication channel. The registration request may include key information such as the new rig's hardware specifications, software version, location layout, resource information, etc.

[0200] S603. The pan / tilt rack performs information verification and confirmation.

[0201] After receiving the registration request, the gimbal verifies the integrity and accuracy of the key information in the registration request. The verification process includes checking whether the hardware specifications meet the system requirements, whether the software versions are compatible, and whether the location layout is reasonable.

[0202] S604. The PTZ performs authorization verification.

[0203] The PTZ further verifies whether the new PTZ has the authority to access the system. The authority verification may involve checking whether the new PTZ has a valid authorization code or certificate.

[0204] S605. The pan / tilt platform assigns a unique identifier to the platform.

[0205] Once the information verification and permission verification are passed, the pan-tilt rack will assign a unique identifier (unique ID) to the new rack. This unique ID will be used to uniquely identify the rack within the system and for subsequent communication and management.

[0206] S606. The PTZ sends a confirmation message.

[0207] The gimbal sends a confirmation message to the new gimbal, notifying it of successful registration, and includes the assigned unique 1D. After receiving the confirmation message, the new gimbal saves the unique ID and completes the registration process.

[0208] S607. The PTZ performs system updates and notifications.

[0209] The PTZ updates the rack list in the system and adds the information of the newly registered rack to the list. If necessary, the PTZ can also send notifications to other components of the system or the administrator to inform them that a new rack has been successfully registered.

[0210] The rack monitoring process in the information processing method provided by the embodiment of the present invention can be as follows: Figure 7 As shown, including:

[0211] S701. The rack reports status information.

[0212] The platform reports its current status information to the pan-tilt platform at a predetermined frequency (such as every second or every few minutes), wherein the reported status information includes key parameters such as temperature, humidity, voltage, and current.

[0213] S702. The pan / tilt mount receives and processes status information.

[0214] The cloud rack management cluster receives and processes the status information reported by the rack in real time, and intelligently analyzes and judges the rack status based on preset rules and algorithms to evaluate whether its operating status is normal.

[0215] S703. The pan / tilt mount performs abnormality detection.

[0216] Once the gimbal detects abnormal gimbal status or potential risks, such as excessive temperature or voltage fluctuations, the gimbal management cluster will immediately perform further processing.

[0217] S704. The pan-tilt platform detects and processes the platforms that have not reported status information.

[0218] If a rack fails to report its status for a preset time threshold (such as 5 minutes), the cloud rack management cluster will first try to communicate with the rack and send a confirmation message to verify its status. If the communication fails or the rack status is confirmed to be abnormal, the early warning mechanism will be triggered.

[0219] S705. PTZ warning trigger and notification.

[0220] When an abnormal situation is detected, the cloud platform management cluster starts the early warning process through the early warning trigger module. The alarm information is displayed through a visual interface, and alarm notifications are sent to managers through SMS, email, etc., to ensure that they are informed and handle abnormal situations in a timely manner.

[0221] S706. The PTZ remotely monitors and controls the gantry.

[0222] The cloud platform management cluster also has remote monitoring and control functions. According to actual needs, managers can remotely adjust the working parameters of the platform, control its start and stop, and other operations through the system to ensure that the platform is always in the best working condition.

[0223] The automatic cleaning process in the information processing method provided by the embodiment of the present invention can be as follows: Figure 8 As shown, including:

[0224] S801, the PTZ monitors and identifies the PTZ status.

[0225] The cloud rack management cluster continuously monitors the status information reporting of all racks. When a rack fails to report its status for a long time, the system identifies it as a potential problem rack.

[0226] S802. Mark the pan / tilt stand and confirm again.

[0227] Identified potential problem racks will be automatically marked by the gimbal. After that, the gimbal will try to communicate with these racks again and send confirmation information to verify their status. This step is to avoid misjudgment due to network delays or other temporary factors.

[0228] S803. The PTZ frame performs a clearing operation.

[0229] If the marked rack still fails to respond or return to normal status after multiple attempts, the rack will be automatically cleared, which includes deleting all relevant information about the rack from the system database and releasing all resources it occupies.

[0230] S804. The PTZ notifies the management staff.

[0231] After the clearing operation is completed, the PTZ will immediately inform the administrator through a preset notification method (such as SMS, email, etc.). The notification content includes detailed information of the cleared PTZ, the reason for the clearing and the time, so that the administrator can understand the situation in time and make subsequent processing.

[0232] S805. PTZ recording and auditing.

[0233] All relevant information of the clearing operation will be automatically recorded in the log by the PTZ, including the clearing time, reason, operator, etc. These records are crucial for subsequent troubleshooting, system auditing and performance analysis.

[0234] The intelligent scheduling process in the information processing method provided by the embodiment of the present invention can be as follows: Fig. 9 As shown, including:

[0235] S901. The PTZ receives and pre-processes data.

[0236] The PTZ receives simulation test task requests from users or other systems, including specific task requirements, data volume, expected execution time, etc. The received data is preprocessed to extract key information, such as task scenarios, project requirements, data identifiers, etc.

[0237] S902. The cloud platform rack layout multi-dimensional evaluation indicators comprehensively evaluate and rank the idle racks.

[0238] Based on the collected status information, the PTZ builds multi-dimensional evaluation indicators, such as resource utilization, temperature conditions, scene matching degree, etc. Set weights for each evaluation indicator to reflect the importance of different indicators in scheduling decisions. Use the preset evaluation model to conduct a multi-dimensional comprehensive evaluation of each rig. For example: Apply the ranking value calculation formula: ranking value = (resource coefficient * remaining resources) + (scene matching coefficient * scene matching degree). Sort all available rigs according to the calculated ranking value.

[0239] Among them, the cloud platform can regularly collect status information from each platform, including but not limited to current temperature, CPU usage, memory usage, disk space, network bandwidth, etc. Collect the configuration information of the platform, such as hardware configuration, test scenarios supported by the software version, etc.

[0240] S903. The cloud platform performs platform selection and task allocation.

[0241] The gantry selects the gantry with the highest ranking value as the optimal candidate. Check whether the selected gantry meets the specific requirements of the task (such as hardware configuration, software compatibility, etc.). If the requirements are met, the task is assigned to the gantry; if not, the next gantry with the highest ranking value is selected for inspection until a suitable gantry is found.

[0242] S904. The PTZ performs task dispatching and execution monitoring.

[0243] The cloud platform sends the simulation test task data to the selected test platform, and monitors the execution status of the task in real time to ensure that the data is correctly transmitted and processed by the test platform.

[0244] S905. Gimbal feedback and adjustment.

[0245] The PTZ collects feedback data during task execution, such as execution time, resource consumption, etc. The evaluation model and indicator weights are adjusted based on the feedback data to optimize future scheduling decisions.

[0246] The interruption point retry process of the information processing method provided by the embodiment of the present invention can be as follows: Fig.10 As shown, including:

[0247] S1001. The pan-tilt platform sends a data packet to the platform for processing.

[0248] The data package contains a variety of data information, including but not limited to the file name, file ID, file path, scene information, and task name.

[0249] S1002. After receiving the data packet, the rack performs corresponding task processing.

[0250] These tasks include but are not limited to data re-injection, compilation, etc. After the platform processing is completed, a data packet containing the processing results will be returned to the pan-tilt platform. The information in the data packet is not limited to the file name, file ID, file path and processing result status.

[0251] S1003. The pan-tilt platform receives the processing results returned by the platform, and analyzes and compiles statistics on these results.

[0252] Through this step, the gimbal can identify which tasks have been successfully completed and which tasks need to be retried due to failure or exception.

[0253] S1004. For tasks that fail or are abnormal, the gimbal will send the corresponding data packet to the gimbal again for retry until all tasks are successfully completed.

[0254] like Fig.11 As shown, when a task with task ID 1 is issued, the data issued by the pan-tilt gantry dispatching system includes data packets with IDs 1A, 2B, and 3D, and the confirmation status shows that the status of each data packet is not executed. In the feedback data returned after the gantry executes the task, the status of the data packets with IDs 1A and 2B in the sent data packets is execution completed, and the status of the data packet with ID 3D is not executed. The pan-tilt gantry dispatching system re-issues the data packet with ID 3D with task ID 1 to the gantry, and the gantry feedbacks that the status of the data packet with ID 3D is execution completed.

[0255] like Fig.11 As shown, the data packet between the pan-tilt gantry scheduling system and the gantry may also include the following information: path and name, where the path and name here can be understood as file path and file name.

[0256] The rack will execute the task processing again and return the new processing results. This breakpoint retry process will continue until all tasks are successfully completed. For data that still fails after multiple processing, the system will issue an early warning so that the management personnel can be notified in time and take appropriate remedial measures.

[0257] In a third aspect, an embodiment of the present invention provides an information processing device, which is applied to a rack server, such as Fig.12 As shown, the information processing device 1200 includes:

[0258] A connection unit 1201 is used to establish a communication connection with an unregistered first rack;

[0259] The receiving unit 1202 is configured to receive a registration request sent by the first rack based on the communication connection;

[0260] An allocating unit 1203 is configured to allocate a first identifier to the first rack in response to the registration request, where the first identifier is used to identify the first rack;

[0261] The sending unit 1204 is configured to send a registration response in response to the registration request to the first rack, wherein the registration response carries the first identifier.

[0262] In some embodiments, the information processing device 1200 further includes:

[0263] A verification unit, configured to verify that the registration request carries characteristic information of the first rack;

[0264] The verification unit is further configured to check the access authority of the first rack based on the verification information if the characteristic information of the rack is successfully verified;

[0265] The sending unit 204 is configured to allocate the first identifier to the first rack if the first rack has access authority.

[0266] In some embodiments, the information processing device 1200 further includes: a first determining unit,

[0267] The receiving unit 1202 is further configured to receive a heartbeat sent by each rack in the plurality of racks, wherein the heartbeat is reported periodically and carries status information of the corresponding rack;

[0268] The first determining unit is used to determine the operating status of each rack among the multiple racks according to the status information of the rack.

[0269] In some embodiments, the information processing device 1200 further includes: a second determining unit,

[0270] The sending unit 1204 is further configured to send a confirmation message to the second rack if no heartbeat sent by the second rack is received within the first time period;

[0271] a second determining unit, configured to determine whether status information of the second stand for responding to the confirmation message is received;

[0272] The sending unit 1204 is further configured to, when not receiving the status information of the second rack for responding to the confirmation message, continue to send the confirmation message to the second rack until the number of times the confirmation message is sent reaches a threshold number of times.

[0273] In some embodiments, the information processing device 1200 further includes: a clearing unit and a third determining unit;

[0274] a clearing unit, configured to clear the rack information of the second rack when the number of times the confirmation message is sent reaches the number threshold;

[0275] The third determining unit is configured to determine the operating status of the second rack according to the status information of the second rack when receiving the status information of the second rack for responding to the confirmation message.

[0276] In some embodiments, the information processing device 1200 further includes: a selection unit;

[0277] The receiving unit 1202 is further configured to receive a task request, wherein the task request carries task information;

[0278] A selection unit, configured to select a third rack from a plurality of available racks based on the task information;

[0279] The sending unit 1204 is further configured to send a task based on the task information to the third rack;

[0280] The receiving unit 1202 is further used to receive feedback data of the third rack executing the task.

[0281] In some embodiments, the selection unit is further configured to:

[0282] sorting the plurality of available racks according to the status information of each of the plurality of available racks;

[0283] Selecting a candidate rack from the plurality of available racks based on the ranking result, and determining whether the candidate rack meets the execution requirement of the task;

[0284] In the case that the candidate rack does not meet the execution requirement of the task, continue to select new candidate racks from the multiple available racks based on the sorting result, and determine whether the candidate rack meets the execution requirement of the task, until the candidate rack that meets the execution requirement of the task is selected as the third rack.

[0285] In some embodiments, the information processing device 1200 further includes: a judgment unit;

[0286] A determination unit, configured to determine an execution status of each feedback data packet in the feedback data;

[0287] The sending unit is also used to, when there is a feedback data packet of failed execution, resend the data packet corresponding to the feedback data packet to the third rack until a feedback data packet of successful execution is received.

[0288] It should be noted that the various units included in the information processing device provided in the embodiment of the present invention can be implemented by a processor in an electronic device; of course, they can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU, Central Processing Unit), a microprocessor (MPU, Micro Processor Unit), a digital signal processor (DSP, Digital Signal Processor) or a field programmable gate array (FPGA, Field-Programmable Gate Array), etc.

[0289] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present invention, please refer to the description of the method embodiment of the present invention for understanding.

[0290] It should be noted that, in the embodiment of the present invention, if the above-mentioned vehicle driving control method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk. In this way, the embodiment of the present invention is not limited to any specific combination of hardware and software.

[0291] In a fourth aspect, an embodiment of the present invention provides an electronic device, the electronic device comprising a memory and a processor, the memory storing a computer program or instructions, and the computer program or instructions, when executed by the processor, implements the information processing method provided in the first aspect.

[0292] In a possible implementation, the electronic device may be a rack server.

[0293] In one example, reference Fig.13As shown, the electronic device 130 includes at least: a processor 1301, at least one communication bus 1302, a user interface 1303, at least one external communication interface 1304 and a memory 1305. The communication bus 1302 is configured to achieve connection and communication between these components. The user interface 1303 may include a display screen, and the external communication interface 1304 may include a standard wired interface and a wireless interface.

[0294] The memory 1305 is configured to store instructions and applications executable by the processor 1301, and can also cache data to be processed or processed by the processor 1301 and various modules in the electronic device (for example, image data, audio data, voice communication data, and video communication data), which can be implemented through flash memory (FLASH) or random access memory (Random Access Memory, RAM).

[0295] In a fifth aspect, an embodiment of the present invention provides a storage medium, that is, a computer-readable storage medium, on which a computer program or instructions are stored. When the computer program or instructions are executed by a processor, the information processing method provided in the first aspect above is implemented.

[0296] In a sixth aspect, an embodiment of the present invention provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are executed by a processor, the information processing method provided in the first aspect is implemented.

[0297] It should be noted here that the description of the above storage medium, device, apparatus, system and program product embodiments is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the storage medium, device, apparatus and program product embodiments of the present invention, please refer to the description of the method embodiment of the present invention for understanding.

[0298] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present invention. Therefore, "in one embodiment" or "in some embodiments" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present invention, the size of the serial number of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention. The serial numbers of the above-mentioned embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments.

[0299] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0300] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0301] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0302] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0303] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.

[0304] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

[0305] The above is only an embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. An information processing method, characterized in that: Applicable to rack servers, including: Establishing a communication connection with the unregistered first rack; receiving a registration request sent by the first gantry based on the communication connection; In response to the registration request, assigning a first identifier to the first stand, the first identifier being used to identify the first stand; A registration response in response to the registration request is sent to the first stand, wherein the registration response carries the first identifier.

2. The method according to claim 1, characterized in that The registration request carries the characteristic information and verification information of the first stand; before allocating the first identifier to the first stand, the method further includes: Verifying the characteristic information of the first rack; In the case where the characteristic information of the rack is successfully verified, the access authority of the first rack is checked based on the verification information; wherein, in the case where the first rack has the access authority, the first identification is allocated to the first rack.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: Receiving a heartbeat sent by each rack among the multiple racks, wherein the heartbeat is reported periodically and carries status information of the corresponding rack; For each rack among the plurality of racks, the operation status of the corresponding rack is determined according to the status information of the rack.

4. The method according to claim 3, characterized in that The method further comprises: If no heartbeat sent by the second rack is received within the first time period, sending a confirmation message to the second rack; determining whether status information of the second stand for responding to the confirmation message is received; In the case that the state information for responding to the confirmation message from the second rack is not received, the confirmation message continues to be sent to the second rack until the number of times the confirmation message is sent reaches a number threshold.

5. The method according to claim 4, characterized in that The method further comprises: When the number of times the confirmation message is sent reaches the number threshold, clearing the rack information of the second rack; In case that the status information of the second rack is received in response to the confirmation message, the operation status of the second rack is determined according to the status information of the second rack.

6. The method according to claim 1 or 2, characterized in that: The method further comprises: receiving a task request, wherein the task request carries task information; Based on the task information, selecting a third rack from a plurality of available racks; Sending a task based on the task information to the third rack; Receive feedback data of the third rack performing the task.

7. The method according to claim 6, characterized in that Based on the task information, selecting a third rack from the connected multiple racks includes: sorting the plurality of available racks according to the status information of each of the plurality of available racks; Selecting a candidate rack from the plurality of available racks based on the ranking result, and determining whether the candidate rack meets the execution requirement of the task; In the case that the candidate rack does not meet the execution requirement of the task, continue to select new candidate racks from the multiple available racks based on the sorting result, and determine whether the candidate rack meets the execution requirement of the task, until the candidate rack that meets the execution requirement of the task is selected as the third rack.

8. The method according to claim 6, characterized in that The method further comprises: Determining the execution status of each feedback data packet in the feedback data; In the case that there is a feedback data packet of execution failure, a data packet corresponding to the feedback data packet is resent to the third rack until a feedback data packet of execution success is received.

9. An information processing system, characterized in that: include: Rack server and first rack; The first rack, when not registered with the rack server, establishes a communication connection with the rack server and sends a registration request to the rack server; The rack server receives a registration request sent by the first rack based on a communication connection established with the first rack; The rack server, in response to the registration request, assigns a first identifier to the first rack, wherein the first identifier is used to identify the first rack; The rack server sends a registration response in response to the registration request to the first rack, wherein the registration response carries the first identifier; The first rack receives the registration response sent by the rack server and stores the first identifier.

10. An information processing device, characterized in that: Applicable to rack servers, including: A connection unit, used to establish a communication connection with an unregistered first rack; a receiving unit, configured to receive a registration request sent by the first rack based on the communication connection; an allocating unit, configured to allocate a first identifier to the first rack in response to the registration request, wherein the first identifier is used to identify the first rack; A sending unit is used to send a registration response in response to the registration request to the first rack, wherein the registration response carries the first identifier.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program or instruction, and when the computer program or instruction is executed by a processor, the information processing method according to any one of claims 1 to 8 is implemented.

12. A computer program product, characterized in that The computer program product includes a computer program or instructions, and when the computer program or instructions are executed by a processor, the information processing method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Distributed server cluster dispatching method and device

    CN106817408A

  • Fault locating method and system for monitoring cloud platform

    CN106954064A

  • Authentication method, authentication system, edge node and authentication server in CDN (Content Delivery Network)

    CN106961451A

  • Service providing method, device and system based on user identity

    CN109274705A

  • Remote service communication method, server and system

    CN109818959A