CN114490194A - Power-down processing method, functional node, processing system, device and storage medium - Google Patents
Power-down processing method, functional node, processing system, device and storage medium Download PDFInfo
- Publication number
- CN114490194A CN114490194A CN202210407135.4A CN202210407135A CN114490194A CN 114490194 A CN114490194 A CN 114490194A CN 202210407135 A CN202210407135 A CN 202210407135A CN 114490194 A CN114490194 A CN 114490194A
- Authority
- CN
- China
- Prior art keywords
- node
- power
- negotiation
- data
- configuration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012545 processing Methods 0.000 title claims abstract description 148
- 238000003672 processing method Methods 0.000 title claims abstract description 72
- 230000004044 response Effects 0.000 claims abstract description 73
- 238000000034 method Methods 0.000 claims abstract description 45
- 230000008569 process Effects 0.000 claims abstract description 33
- 230000000977 initiatory effect Effects 0.000 claims abstract description 8
- 238000004590 computer program Methods 0.000 claims description 18
- 230000006870 function Effects 0.000 claims description 10
- 230000002159 abnormal effect Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 24
- 230000002093 peripheral effect Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000013480 data collection Methods 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1469—Backup restoration techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/30—Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Power Sources (AREA)
Abstract
一种掉电处理方法、功能节点、处理系统、设备和存储介质。该掉电处理方法用于处理系统中的第一节点,包括:响应于第一节点的功能部件处于空闲状态,发起保存配置协商请求,以与处理系统中的N个第二节点中至少一个对象节点进行保存配置协商;响应于第一节点确定保存配置协商完成,将第一节点的待备份数据提供至N个第二节点中的至少一个目标节点进行备份保存;在第一节点的待备份数据发送至至少一个目标节点之后,执行掉电协商操作;响应于第一节点确定掉电协商完成,对第一节点进行掉电处理。该方法可以在掉电协商之前将第一节点的待备份数据保存至不同于第一节点的目标节点中,避免掉电造成第一节点的待备份数据丢失。
A power-down processing method, functional node, processing system, device and storage medium. The power-down processing method is used for processing a first node in a system, and includes: in response to a functional component of the first node being in an idle state, initiating a save configuration negotiation request to communicate with at least one object among N second nodes in the processing system The node performs the storage configuration negotiation; in response to the first node determining that the storage configuration negotiation is completed, the data to be backed up of the first node is provided to at least one target node in the N second nodes for backup and storage; the data to be backed up on the first node is After sending to at least one target node, a power-off negotiation operation is performed; in response to the first node determining that the power-off negotiation is completed, the power-off process is performed on the first node. The method can save the data to be backed up of the first node in a target node different from the first node before power-off negotiation, so as to avoid the loss of the data to be backed up of the first node caused by the power-off.
Description
技术领域technical field
本公开的实施例涉及集成电路领域,具体地,涉及一种掉电处理方法、功能节点、处理系统、电子设备和计算机可读存储介质。Embodiments of the present disclosure relate to the field of integrated circuits, and in particular, to a power-down processing method, a functional node, a processing system, an electronic device, and a computer-readable storage medium.
背景技术Background technique
集成电路中,在电路空闲时可以通过使高能耗部分掉电来实现低功耗模式。例如,对于多节点的计算系统,在计算系统处于空闲状态的情况下,可以使多个节点同步进入掉电模式,以节省系统功耗。In integrated circuits, low-power modes can be implemented by powering down high-energy-consuming parts when the circuit is idle. For example, for a multi-node computing system, when the computing system is in an idle state, multiple nodes can be synchronized into a power-down mode to save system power consumption.
发明内容SUMMARY OF THE INVENTION
本公开至少一个实施例提供一种掉电处理方法,用于处理系统中的第一节点,包括:响应于所述第一节点的功能部件处于空闲状态,发起保存配置协商请求,以与所述处理系统中的N个第二节点中至少一个对象节点进行保存配置协商;响应于所述第一节点确定保存配置协商完成,将所述第一节点的待备份数据提供至所述N个第二节点中的至少一个目标节点进行备份保存;在所述第一节点的待备份数据发送至所述至少一个目标节点之后,执行掉电协商操作;响应于所述第一节点确定掉电协商完成,对所述第一节点进行掉电处理,其中,N为正整数。At least one embodiment of the present disclosure provides a power-down processing method for processing a first node in a system, including: in response to a functional component of the first node being in an idle state, initiating a save configuration negotiation request to communicate with the first node At least one object node in the N second nodes in the processing system performs the negotiation on saving the configuration; in response to the first node determining that the negotiation on saving the configuration is completed, providing the data to be backed up of the first node to the N second nodes At least one target node in the nodes performs backup storage; after the data to be backed up of the first node is sent to the at least one target node, a power-down negotiation operation is performed; in response to the first node determining that the power-down negotiation is completed, Perform power-down processing on the first node, wherein N is a positive integer.
例如,在本公开一实施例提供的掉电处理方法中,响应于所述第一节点确定保存配置协商完成,将所述第一节点的待备份数据提供至所述N个第二节点中的至少一个目标节点进行备份保存,包括:响应于所述第一节点确定保存配置协商完成,向所述至少一个目标节点发送保存配置请求;在接收到所述至少一个目标节点对于所述保存配置请求的响应之后,将所述第一节点的待备份数据发送至所述至少一个目标节点,以使所述至少一个目标节点对所述第一节点的所述待备份数据进行备份保存。For example, in the power-down processing method provided by an embodiment of the present disclosure, in response to the first node determining that the negotiation for saving the configuration is completed, the data to be backed up of the first node is provided to the N second nodes. The at least one target node performs backup saving, including: in response to the first node determining that the saving configuration negotiation is completed, sending a configuration saving request to the at least one target node; after receiving the at least one target node for the saving configuration request After the response of the first node, the data to be backed up of the first node is sent to the at least one target node, so that the at least one target node backs up and saves the data to be backed up of the first node.
例如,在本公开一实施例提供的掉电处理方法中,所述至少一个目标节点包括多个目标节点;响应于所述第一节点确定保存配置协商完成,将所述第一节点的待备份数据提供至所述N个第二节点中的至少一个目标节点进行备份保存,包括:响应于所述第一节点确定保存配置协商完成,将所述第一节点的待备份数据划分为多个数据集合;将所述多个数据集合分别提供至所述多个目标节点进行备份保存。For example, in the power-down processing method provided by an embodiment of the present disclosure, the at least one target node includes multiple target nodes; in response to the first node determining that the negotiation for saving the configuration is completed, the to-be-backup Providing the data to at least one target node in the N second nodes for backup and saving includes: in response to the first node determining that the saving configuration negotiation is completed, dividing the data to be backed up of the first node into multiple pieces of data collection; providing the multiple data collections to the multiple target nodes respectively for backup and storage.
例如,在本公开一实施例提供的掉电处理方法中,所述第一节点不包括用于进行备份存储的存储装置;所述至少一个目标节点均包括用于进行备份存储的存储装置。For example, in the power-down processing method provided by an embodiment of the present disclosure, the first node does not include a storage device for backup storage; the at least one target node includes a storage device for backup storage.
例如,在本公开一实施例提供的掉电处理方法中,所述第一节点为总线节点,所述总线节点的功能部件包括总线部件;所述目标节点为内核节点,所述内核节点的功能部件包括数据处理部件。For example, in the power-down processing method provided by an embodiment of the present disclosure, the first node is a bus node, and the functional components of the bus node include bus components; the target node is a kernel node, and the function of the kernel node Components include data processing components.
例如,在本公开一实施例提供的掉电处理方法中,所述至少一个对象节点与所述第一节点位于同一芯片;确定保存配置协商完成,包括:确定所述至少一个对象节点均对所述保存配置协商请求进行了响应,其中,所述至少一个对象节点中的每个节点在各自的功能部件处于空闲状态的情况下对所述保存配置协商请求进行响应。For example, in the power-down processing method provided by an embodiment of the present disclosure, the at least one object node and the first node are located on the same chip; and determining that the negotiation for saving the configuration is completed includes: determining that the at least one object node is not connected to all the objects. responding to the save configuration negotiation request, wherein each node of the at least one object node responds to the save configuration negotiation request when the respective functional component is in an idle state.
例如,在本公开一实施例提供的掉电处理方法中,所述处理系统包括多个芯片,每个所述芯片包括多个节点;确定掉电协商完成包括:确定所述第一节点所在处理系统中的全部节点均对掉电协商请求进行了响应,其中,所述处理系统中的每个节点在各自的功能部件处于空闲状态的情况下对所述掉电协商请求进行响应。For example, in the power-down processing method provided by an embodiment of the present disclosure, the processing system includes multiple chips, and each of the chips includes multiple nodes; determining that the power-down negotiation is completed includes: determining where the first node is processing All nodes in the system respond to the power-down negotiation request, wherein each node in the processing system responds to the power-down negotiation request when the respective functional component is in an idle state.
例如,本公开一实施例提供的掉电处理方法还包括:响应于所述第一节点确定掉电协商完成,对所述处理系统中的全部节点均进行掉电处理。For example, the power-down processing method provided by an embodiment of the present disclosure further includes: in response to the first node determining that the power-down negotiation is completed, performing power-down processing on all nodes in the processing system.
例如,本公开一实施例提供的掉电处理方法中还包括:响应于接收上电请求,从所述至少一个目标节点获取被备份存储的所述第一节点的待备份数据;基于所获取的所述第一节点的待备份数据,对所述第一节点进行配置,以使所述第一节点恢复至掉电处理前的状态。For example, the power-down processing method provided by an embodiment of the present disclosure further includes: in response to receiving a power-on request, acquiring from the at least one target node the data to be backed up stored for the first node; For the data to be backed up on the first node, configure the first node to restore the first node to the state before the power-off processing.
例如,在本公开一实施例提供的掉电处理方法中,所述上电请求在以下至少一种情况下生成:在所述保存配置协商过程中,所述第一节点所在芯片中的至少一个节点由空闲状态转变为非空闲状态;在所述掉电协商过程中,所述第一节点所在处理系统中的至少一个节点由空闲状态转变为非空闲状态;或者在所述第一节点所在处理系统中的全部节点均处于掉电状态的情况下,所述第一节点所在的处理系统发生异常。For example, in the power-down processing method provided by an embodiment of the present disclosure, the power-on request is generated under at least one of the following conditions: during the negotiation process for saving the configuration, at least one of the chips where the first node is located is generated. The node transitions from an idle state to a non-idle state; during the power-down negotiation process, at least one node in the processing system where the first node is located transitions from an idle state to a non-idle state; or the processing system where the first node is located When all nodes in the system are in a power-down state, an exception occurs in the processing system where the first node is located.
本公开至少一个实施例提供另一种掉电处理方法,用于处理系统中的目标节点,包括:接收所述处理系统中的第一节点发送的待备份数据中的至少部分数据,并保存所述至少部分数据,其中,所述至少部分数据是由所述第一节点在确定保存配置协商完成的情况下发送的;在保存所述至少部分数据之后,执行掉电协商操作;响应于确定掉电协商完成,对所述目标节点进行掉电处理。At least one embodiment of the present disclosure provides another power-down processing method for a target node in a processing system, including: receiving at least part of data to be backed up sent by a first node in the processing system, and saving all the data to be backed up. the at least part of the data, wherein the at least part of the data is sent by the first node when it is determined that the negotiation for saving the configuration is completed; after the at least part of the data is saved, a power-down negotiation operation is performed; After the electrical negotiation is completed, the target node is powered off.
例如,本公开一实施例提供的掉电处理方法还包括:接收所述第一节点发送的保存配置请求,其中,所述保存配置请求是由所述第一节点在确定保存配置协商完成的情况下发起的;响应所述保存配置请求,以使所述第一节点发送所述至少部分数据。For example, the power-down processing method provided by an embodiment of the present disclosure further includes: receiving a configuration saving request sent by the first node, wherein the configuration saving request is made by the first node when determining that the configuration saving negotiation is completed Initiated under the following conditions; in response to the save configuration request, so that the first node sends the at least part of the data.
例如,在本公开一实施例提供的掉电处理方法中,所述第一节点的待备份数据包括多个数据集合;接收所述第一节点的待备份数据中的至少部分数据,并保存所述至少部分数据,包括:接收所述多个数据集合中的一个数据集合,并保存接收的数据集合。For example, in the power failure processing method provided by an embodiment of the present disclosure, the data to be backed up of the first node includes multiple data sets; at least part of the data to be backed up of the first node is received, and all data to be backed up are stored. The at least part of the data includes: receiving one of the multiple data sets, and saving the received data set.
例如,本公开一实施例提供的掉电处理方法还包括:在所述目标节点接收并保存所述至少部分数据之前,接收所述第一节点发出的保存配置协商请求,其中,所述保存配置协商请求是由所述第一节点响应于所述第一节点的功能部件处于空闲状态而发起的;响应所述保存配置协商请求。For example, the power-down processing method provided by an embodiment of the present disclosure further includes: before the target node receives and saves the at least part of the data, receiving a negotiation request for saving a configuration sent by the first node, wherein the saving configuration The negotiation request is initiated by the first node in response to the functional component of the first node being in an idle state; in response to the save configuration negotiation request.
例如,本公开一实施例提供的掉电处理方法还包括:响应所述保存配置协商请求之后,将所述目标节点的待备份数据保存至所述目标节点的存储装置中。For example, the power-down processing method provided by an embodiment of the present disclosure further includes: after responding to the negotiation request for saving the configuration, saving the data to be backed up of the target node to a storage device of the target node.
例如,在本公开一实施例提供的掉电处理方法中,所述第一节点为总线节点,所述总线节点的功能部件包括总线部件;所述目标节点为内核节点,所述内核节点的功能部件包括数据处理部件。For example, in the power-down processing method provided by an embodiment of the present disclosure, the first node is a bus node, and the functional components of the bus node include bus components; the target node is a kernel node, and the function of the kernel node Components include data processing components.
例如,在本公开一实施例提供的掉电处理方法中,所述目标节点与所述第一节点位于同一芯片;响应所述保存配置协商请求,包括:在所述目标节点的功能部件处于空闲状态的情况下,响应所述保存配置协商请求。For example, in the power-down processing method provided by an embodiment of the present disclosure, the target node and the first node are located on the same chip; responding to the save configuration negotiation request includes: the functional components of the target node are idle In the case of the state, respond to the save configuration negotiation request.
例如,在本公开一实施例提供的掉电处理方法中,所述处理系统包括多个芯片,每个所述芯片包括多个节点;确定所述掉电协商完成,包括:确定所述目标节点所在处理系统中的全部节点均对掉电协商请求进行了响应,其中,所述处理系统中的每个节点在各自的功能部件处于空闲状态的情况下对所述掉电协商请求进行响应。For example, in the power-down processing method provided by an embodiment of the present disclosure, the processing system includes multiple chips, and each of the chips includes multiple nodes; determining that the power-down negotiation is completed includes: determining the target node All nodes in the processing system in which it is located have responded to the power-down negotiation request, wherein each node in the processing system responds to the power-down negotiation request when the respective functional components are in an idle state.
例如,本公开一实施例提供的掉电处理方法还包括:响应于接收上电请求,将所述至少部分数据发送至所述第一节点,以使所述第一节点基于所述至少部分数据对所述第一节点进行配置。For example, the power-down processing method provided by an embodiment of the present disclosure further includes: in response to receiving a power-on request, sending the at least part of the data to the first node, so that the first node is based on the at least part of the data The first node is configured.
本公开至少一个实施例提供另一种掉电处理方法,包括:响应于处理系统中的第一节点的功能部件处于空闲状态,通过所述第一节点发起保存配置协商请求;通过所述处理系统中的N个第二节点中的至少一个对象节点接收保存配置协商请求,并响应所述保存配置协商请求;响应于所述第一节点确定保存配置协商完成,通过所述第一节点将所述第一节点的待备份数据提供至所述N个第二节点中的至少一个目标节点,并通过所述至少一个目标节点对所述待备份数据进行备份保存;在所述第一节点的待备份数据发送至所述至少一个目标节点之后,至少通过所述第一节点和所述N个第二节点进行掉电协商;响应于掉电协商完成,对所述第一节点和所述N个第二节点进行掉电处理,其中,N为正整数。At least one embodiment of the present disclosure provides another power-down processing method, including: in response to a functional component of a first node in the processing system being in an idle state, initiating a negotiation request for saving a configuration through the first node; using the processing system At least one object node in the N second nodes in the N second nodes receives the save configuration negotiation request, and responds to the save configuration negotiation request; in response to the first node determining that the save configuration negotiation is completed, the first node sends the The data to be backed up of the first node is provided to at least one target node among the N second nodes, and the data to be backed up is backed up and saved by the at least one target node; the data to be backed up on the first node is After the data is sent to the at least one target node, a power-down negotiation is performed at least through the first node and the N second nodes; in response to the completion of the power-down negotiation, the first node and the N second nodes Two nodes are powered down, where N is a positive integer.
本公开至少一个实施例提供一种功能节点,包括保存协商模块、备份数据模块、第一掉电协商模块和第一掉电处理模块。保存协商模块配置为响应于所述功能节点的功能部件处于空闲状态,发起保存配置协商请求,以与位于同一处理系统中的N个第二节点中至少一个对象节点进行保存配置协商;备份数据模块配置为响应于所述功能节点确定保存配置协商完成,将所述功能节点的待备份数据提供至所述N个第二节点中的至少一个目标节点进行备份保存;第一掉电协商模块配置为在所述功能节点的待备份数据发送至所述至少一个目标节点之后,执行掉电协商操作;第一掉电处理模块配置为响应于所述功能节点确定掉电协商完成,进行掉电处理,其中,N为正整数。At least one embodiment of the present disclosure provides a functional node, including a save negotiation module, a backup data module, a first power-down negotiation module, and a first power-down processing module. The saving negotiation module is configured to initiate a saving configuration negotiation request in response to the functional component of the functional node being in an idle state, so as to perform a saving configuration negotiation with at least one object node in the N second nodes located in the same processing system; the backup data module is configured to provide the data to be backed up of the functional node to at least one target node in the N second nodes for backup and preservation in response to the functional node determining that the negotiation for saving the configuration is completed; the first power-down negotiation module is configured as After the data to be backed up of the functional node is sent to the at least one target node, a power-down negotiation operation is performed; the first power-down processing module is configured to perform power-down processing in response to the functional node determining that the power-down negotiation is completed, Among them, N is a positive integer.
本公开至少一个实施例提供另一种功能节点,包括数据接收模块、第二掉电协商模块和第二掉电处理模块,数据接收模块配置为接收与所述功能节点位于同一处理系统中的第一节点的至少部分待备份数据,并保存所述至少部分待备份数据,其中,所述至少部分待备份数据是由所述第一节点在确定保存配置协商完成的情况下发送的;第二掉电协商模块配置为在保存所述至少部分待备份数据之后,执行掉电协商操作;第二掉电处理模块配置为响应于确定掉电协商完成,进行掉电处理。At least one embodiment of the present disclosure provides another functional node, including a data receiving module, a second power-down negotiation module, and a second power-down processing module, where the data receiving module is configured to receive a first power-down processing module located in the same processing system as the functional node. At least part of the data to be backed up of a node, and save the at least part of the data to be backed up, wherein the at least part of the data to be backed up is sent by the first node after determining that the negotiation for saving the configuration is completed; The power-off negotiation module is configured to perform a power-off negotiation operation after saving the at least part of the data to be backed up; the second power-off processing module is configured to perform power-off processing in response to determining that the power-off negotiation is completed.
本公开至少一个实施例提供一种处理系统,包括第一节点和N个第二节点,第一节点包括功能部件,配置为响应于所述功能部件处于空闲状态,发起保存配置协商请求;N个第二节点配置为其中至少一个对象节点接收所述保存配置协商请求,并响应所述保存配置协商请求;其中,所述第一节点还配置为:响应于确定保存配置协商完成,将所述第一节点的待备份数据提供至所述N个第二节点中的至少一个目标节点进行备份保存;所述第一节点和所述N个第二节点还配置为:在所述第一节点的待备份数据发送至所述至少一个目标节点之后,进行掉电协商操作;并响应于掉电协商完成,进行掉电处理,其中,N为正整数。At least one embodiment of the present disclosure provides a processing system, including a first node and N second nodes, the first node includes a functional component, and is configured to initiate a save configuration negotiation request in response to the functional component being in an idle state; N number of second nodes The second node is configured such that at least one of the object nodes receives the negotiation request for saving the configuration and responds to the negotiation request for saving the configuration; wherein the first node is further configured to: in response to determining that the negotiation for saving the configuration is completed, send the first node The data to be backed up of a node is provided to at least one target node among the N second nodes for backup and storage; the first node and the N second nodes are further configured to: After the backup data is sent to the at least one target node, a power-down negotiation operation is performed; and in response to the completion of the power-down negotiation, a power-down process is performed, wherein N is a positive integer.
本公开至少一个实施例提供一种电子设备,包括处理器;存储器,包括一个或多个计算机程序模块;其中,所述一个或多个计算机程序模块被存储在所述存储器中并被配置为由所述处理器执行,所述一个或多个计算机程序模块包括用于实现本公开任一实施例提供的掉电处理方法的指令。At least one embodiment of the present disclosure provides an electronic device including a processor; a memory including one or more computer program modules; wherein the one or more computer program modules are stored in the memory and configured to be When executed by the processor, the one or more computer program modules include instructions for implementing the power-down processing method provided by any embodiment of the present disclosure.
本公开至少一个实施例提供一种计算机可读存储介质,存储有非暂时性计算机可读指令,当所述非暂时性计算机可读指令由计算机执行时实现本公开任一实施例提供的掉电处理方法。At least one embodiment of the present disclosure provides a computer-readable storage medium storing non-transitory computer-readable instructions, which, when the non-transitory computer-readable instructions are executed by a computer, implements the power-down provided by any embodiment of the present disclosure Approach.
附图说明Description of drawings
为了更清楚地说明本公开实施例的技术方案,下面将对实施例的附图作简单地介绍,显而易见地,下面描述中的附图仅仅涉及本公开的一些实施例,而非对本公开的限制。In order to explain the technical solutions of the embodiments of the present disclosure more clearly, the accompanying drawings of the embodiments will be briefly introduced below. Obviously, the drawings in the following description only relate to some embodiments of the present disclosure, rather than limit the present disclosure. .
图1A示出了一种处理系统的示意图;Figure 1A shows a schematic diagram of a processing system;
图1B示出了一种节点的示意图;Figure 1B shows a schematic diagram of a node;
图2示出了一种节点分布的示意图;Fig. 2 shows a schematic diagram of node distribution;
图3示出了本公开至少一实施例提供的一种掉电处理方法的流程图;FIG. 3 shows a flowchart of a method for processing power failure provided by at least one embodiment of the present disclosure;
图4示出了本公开至少一实施例提供的一种处理系统的示意图;FIG. 4 shows a schematic diagram of a processing system provided by at least one embodiment of the present disclosure;
图5A示出了本公开至少一实施例提供的一种内核节点的示意图;FIG. 5A shows a schematic diagram of a kernel node provided by at least one embodiment of the present disclosure;
图5B示出了本公开至少一实施例提供的一种总线节点的示意图;FIG. 5B shows a schematic diagram of a bus node provided by at least one embodiment of the present disclosure;
图6示出了本公开至少一实施例提供的保存配置及掉电的流程示意图;FIG. 6 shows a schematic flowchart of saving configuration and power down provided by at least one embodiment of the present disclosure;
图7示出了本公开至少一实施例提供的另一种处理系统的示意图;FIG. 7 shows a schematic diagram of another processing system provided by at least one embodiment of the present disclosure;
图8示出了本公开至少一实施例提供的上电的流程示意图;FIG. 8 shows a schematic flowchart of a power-on provided by at least one embodiment of the present disclosure;
图9示出了本公开至少一个实施例提供的另一种掉电处理方法的流程图;FIG. 9 shows a flowchart of another power-down processing method provided by at least one embodiment of the present disclosure;
图10示出了本公开至少一个实施例提供的再一种掉电处理方法的流程图;FIG. 10 shows a flowchart of still another power-down processing method provided by at least one embodiment of the present disclosure;
图11示出了本公开至少一个实施例提供的一种功能节点的框图;FIG. 11 shows a block diagram of a functional node provided by at least one embodiment of the present disclosure;
图12示出了本公开至少一个实施例提供的另一种功能节点的框图;FIG. 12 shows a block diagram of another functional node provided by at least one embodiment of the present disclosure;
图13示出了本公开至少一个实施例提供的一种电子设备的示意框图;FIG. 13 shows a schematic block diagram of an electronic device provided by at least one embodiment of the present disclosure;
图14示出了本公开至少一个实施例提供的另一种电子设备的示意框图;以及FIG. 14 shows a schematic block diagram of another electronic device provided by at least one embodiment of the present disclosure; and
图15示出了本公开至少一个实施例提供的一种计算机可读存储介质的示意图。FIG. 15 shows a schematic diagram of a computer-readable storage medium provided by at least one embodiment of the present disclosure.
具体实施方式Detailed ways
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例的附图,对本公开实施例的技术方案进行清楚、完整地描述。显然,所描述的实施例是本公开的一部分实施例,而不是全部的实施例。基于所描述的本公开的实施例,本领域普通技术人员在无需创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present disclosure. Obviously, the described embodiments are some, but not all, embodiments of the present disclosure. Based on the described embodiments of the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the protection scope of the present disclosure.
除非另外定义,本公开使用的技术术语或者科学术语应当为本公开所属领域内具有一般技能的人士所理解的通常意义。本公开中使用的“第一”、“第二”以及类似的词语并不表示任何顺序、数量或者重要性,而只是用来区分不同的组成部分。同样,“一个”、“一”或者“该”等类似词语也不表示数量限制,而是表示存在至少一个。“包括”或者“包含”等类似的词语意指出现该词前面的元件或者物件涵盖出现在该词后面列举的元件或者物件及其等同,而不排除其他元件或者物件。“连接”或者“相连”等类似的词语并非限定于物理的或者机械的连接,而是可以包括电性的连接,不管是直接的还是间接的。“上”、“下”、“左”、“右”等仅用于表示相对位置关系,当被描述对象的绝对位置改变后,则该相对位置关系也可能相应地改变。Unless otherwise defined, technical or scientific terms used in this disclosure shall have the ordinary meaning as understood by one of ordinary skill in the art to which this disclosure belongs. As used in this disclosure, "first," "second," and similar terms do not denote any order, quantity, or importance, but are merely used to distinguish the various components. Likewise, words such as "a," "an," or "the" do not denote a limitation of quantity, but rather denote the presence of at least one. "Comprises" or "comprising" and similar words mean that the elements or things appearing before the word encompass the elements or things recited after the word and their equivalents, but do not exclude other elements or things. Words like "connected" or "connected" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "Down", "Left", "Right", etc. are only used to represent the relative positional relationship, and when the absolute position of the described object changes, the relative positional relationship may also change accordingly.
图1A示出了一种处理系统的示意图。如图1A所示,处理系统可以包括多个芯片,例如包括芯片10和芯片11。每个芯片可以包括多个节点,芯片10例如包括节点A0和节点A1,芯片11例如包括节点A2和节点A3。例如,处理系统可以应用于晶粒间连接(Die-to-Die,D2D)的情形,对于晶粒间连接模式,是将芯片分成多个较小的Die(晶粒),这些晶粒封装在多芯片模块中,在多芯片模块中,多个晶粒之间通过晶粒间连接进行互联,本公开实施例中的每个节点例如可以是一个Die(晶粒)。Figure 1A shows a schematic diagram of a processing system. As shown in FIG. 1A , the processing system may include multiple chips, including, for example, chip 10 and chip 11 . Each chip may include a plurality of nodes, the chip 10 includes, for example, node A0 and node A1, and the chip 11 includes, for example, node A2 and node A3. For example, the processing system can be applied in the case of Die-to-Die (D2D), where the die is divided into multiple smaller dies that are packaged in In the multi-chip module, in the multi-chip module, multiple dies are interconnected through inter-die connections, and each node in the embodiment of the present disclosure may be, for example, a Die (die).
为了保证服务器性能,掉电策略可以是全系统的节点同步进入掉电模式。在多节点的处理系统中,任一节点空闲后,可以向相邻节点或上级节点提出协商掉电请求,若相邻节点或上级节点同样处于空闲状态,则可以继续向另一相邻节点或上级节点传输协商掉电请求,直至全系统的节点协商完成后,全系统的节点可以开始掉电,以进入低功耗模式。In order to ensure the performance of the server, the power-down strategy can be that the nodes of the whole system enter the power-down mode synchronously. In a multi-node processing system, after any node is idle, it can make a negotiation power-down request to the adjacent node or the upper node. If the adjacent node or the upper node is also in the idle state, it can continue to another adjacent node or The upper-level node transmits a negotiated power-down request, until the system-wide node negotiation is completed, the system-wide node can start to power down to enter a low power consumption mode.
图1B示出了一种节点的示意图。如图1A和图1B所示,每个节点可以包括客户端集合(clients),客户端集合包括至少一个客户端(例如图1A中的客户端A00和客户端A01),客户端集合例如包括内核集簇101 (内核集簇例如包括CPU核或GPU核等处理器核)、总线接口(Hub)102和片内外设 (Peripheral) 103等。此外,节点还可以包括数据网络(DF (DataFabric))104、功耗控制单元105、通用内存108(通用内存例如为动态随机存取存储器DRAM(Dynamic Random Access Memory))、通用内存控制接口(UMC (Unified MemoryController))106和芯片外部互联接口107 (芯片外部互联接口例如为GMI (GlobalMemory Interconnect)、xGMI (external GMI)、GOP (GMI Over PCIe)),客户端集合通过数据网络104并经通用内存控制接口106访问通用内存108以及经芯片外部互联接口107(以下也简称为“互联接口”或“接口”)访问其他节点,功耗控制单元105用于完成掉电流程。FIG. 1B shows a schematic diagram of a node. As shown in FIG. 1A and FIG. 1B , each node may include a client set (clients), the client set includes at least one client (eg, client A00 and client A01 in FIG. 1A ), and the client set includes, for example, a kernel The cluster 101 (the core cluster includes, for example, a processor core such as a CPU core or a GPU core), a bus interface (Hub) 102, an on-chip peripheral (Peripheral) 103, and the like. In addition, the node may further include a data network (DF (DataFabric)) 104, a power
例如,每个节点可以包括多个配置寄存器,配置寄存器用于存储本节点的硬件电路的状态和信息,例如开关状态、标志位等。节点的掉电会引起配置寄存器的数据丢失,为了简化和加快节点退出低功耗模式的流程(即上电流程),避免每次退出低功耗时需要做的复杂配置,可以使节点在掉电前自动对配置寄存器进行备份,这样,每次节点重新上电后可以自动恢复配置寄存器的数据。例如,当某一节点的客户端集合进入空闲状态后,可以通过互联接口107向相邻节点发送掉电协商请求(即断开连接的请求)。通过一定的仲裁策略完成全系统掉电协商请求同步后,各节点的互联接口断开连接,每个节点的数据网络可以将节点中需要掉电的配置寄存器的数据写入通用内存,节点的各个部件开始掉电,数据网络作为通路需要最后掉电。For example, each node may include a plurality of configuration registers, and the configuration registers are used to store the state and information of the hardware circuit of the node, such as switch states, flag bits, and the like. The power-down of the node will cause the data loss of the configuration register. In order to simplify and speed up the process of exiting the low-power mode of the node (ie, the power-on process), and avoid the complicated configuration that needs to be done every time the node exits the low-power mode, the node can be powered down. The configuration register is automatically backed up before power-on, so that the data of the configuration register can be automatically restored after each node is powered on again. For example, when the client set of a node enters an idle state, a power-off negotiation request (ie, a disconnection request) may be sent to the adjacent node through the
例如,如图1A所示,位于同一芯片中的节点采用一级芯片外部接口连接,位于不同芯片的节点采用二级芯片外部接口连接。例如,当节点A0准备进入低功耗状态时,可以先通过一级芯片外部接口向相邻节点A1发送掉电协商请求。当芯片10内部所有节点(例如节点A0和节点A1)都通过一级芯片外部接口完成掉电协商后,则芯片10内部的节点可以通过二级芯片外部接口,向相邻芯片的相邻节点发出掉电协商。所有二级外部芯片接口掉电协商完成后,各节点自动发起数据网络掉电流程,保存配置寄存器的数据并掉电。For example, as shown in FIG. 1A , nodes located in the same chip are connected by a first-level chip external interface, and nodes located in different chips are connected by a second-level chip external interface. For example, when the node A0 is ready to enter the low power consumption state, it may first send a power-down negotiation request to the adjacent node A1 through the first-level chip external interface. After all the nodes inside the chip 10 (for example, node A0 and node A1) complete the power-down negotiation through the external interface of the first-level chip, the nodes inside the chip 10 can send messages to the adjacent nodes of the adjacent chip through the external interface of the second-level chip. Power down negotiation. After the power-down negotiation of all secondary external chip interfaces is completed, each node automatically initiates a data network power-down process, saves the data in the configuration registers, and powers down.
例如,芯片外部互联接口发起掉电协商请求可以通过改变互联接口的连接状态来实现。可以将互联接口的状态分为:工作状态、逻辑断开(掉电协商)、物理断开(掉电)三种,由功耗控制单元负责切换状态。相连接的两个节点,来回两个方向的接口状态相同时,即表示互联接口进入对应的工作状态。当节点正常工作时,其互联接口处于工作状态。当节点内部各客户端空闲后,且互联接口也不存在正在传输的数据包时,节点的互联接口可以变为逻辑断开状态,通过改变互联接口的状态来向相邻节点发送逻辑断开请求,即向相邻节点发起掉电协商。当节点内部的各级互联接口全部完成掉电协商,即各级互联接口均处于逻辑断开状态,根据仲裁策略,由功耗控制模块发起互联接口和数据网络的掉电操作,即互联接口掉电变为物理断开状态,以及数据网络将配置寄存器的数据备份至通用内存,然后使数据网络掉电。For example, the power-off negotiation request initiated by the external interconnection interface of the chip can be implemented by changing the connection state of the interconnection interface. The states of the interconnection interface can be divided into three types: working state, logical disconnection (power-off negotiation), and physical disconnection (power-off). The power consumption control unit is responsible for switching the states. When the two connected nodes have the same interface status in the two directions, it means that the interconnected interface enters the corresponding working state. When a node is working normally, its interconnection interface is in a working state. When each client inside the node is idle, and there is no data packet being transmitted on the interconnection interface, the interconnection interface of the node can become a logical disconnection state, and a logical disconnection request is sent to the adjacent node by changing the state of the interconnection interface. , that is, initiate a power-down negotiation to the adjacent node. When all interconnected interfaces at all levels within the node have completed power-down negotiation, that is, interconnected interfaces at all levels are in a logically disconnected state. According to the arbitration policy, the power consumption control module initiates the power-down operation of interconnected interfaces and data networks, that is, interconnected interfaces are powered down. The power goes to a physically disconnected state, and the data network backs up the configuration register data to general-purpose memory, then powers down the data network.
例如,系统中的节点采用的连接方式不同的情况下,掉电协商的方式也不同。图1A所示的各个芯片中的节点都是互联的,可以采用分布式协商掉电,任一节点可以发起掉电协商请求,并通过相邻节点传输至其余各个节点。而对于各个节点不能全相连时,可以采用集中式协商掉电,系统中可以包括一个根节点(也可称为中心节点),其余全部节点均直接或间接与该根节点相连,可以由根节点发起掉电协商请求,并传输至其余各个节点。For example, when the connection modes adopted by the nodes in the system are different, the power-off negotiation modes are also different. The nodes in each chip shown in FIG. 1A are interconnected, and power-off can be negotiated in a distributed manner. Any node can initiate a power-off negotiation request and transmit it to other nodes through adjacent nodes. When each node cannot be fully connected, centralized negotiation can be used to power down. The system can include a root node (also called a central node), and all other nodes are directly or indirectly connected to the root node, which can be controlled by the root node. Initiate a power-down negotiation request and transmit it to other nodes.
图2示出了一种节点分布的示意图。如图2所示,节点B0为根节点,节点B0包括低级接口,末端节点(节点B3和B6)包括高级接口,其余节点(节点B1、B2、B4和B5)均包括低级接口和高级接口。可以先通过低级接口传输掉电协商请求,例如,节点B0处于空闲状态时,可以通过低级接口向相邻的节点B1和节点B4发起掉电协商请求(节点B0的低级接口变为逻辑断开状态)。若节点B1也处于空闲状态,则节点B1响应节点B0发送的掉电协商请求通过低级接口向节点B2继续广播该掉电协商请求(节点B1的低级接口变为逻辑断开状态),若节点B2处于空闲状态,则节点B2继续通过低级接口向节点B3广播掉电协商请求(节点B2的低级接口变为逻辑断开状态),同理,在节点B4和节点B5均处于空闲状态的情况下,掉电协商请求可以通过节点B4和节点B5的低级接口广播至节点B6(节点B4和节点B5的低级接口变为逻辑断开状态)。Figure 2 shows a schematic diagram of a node distribution. As shown in Figure 2, node B0 is the root node, node B0 includes low-level interfaces, end nodes (nodes B3 and B6) include high-level interfaces, and the remaining nodes (nodes B1, B2, B4, and B5) include low-level interfaces and high-level interfaces. The power-down negotiation request can be transmitted through the low-level interface first. For example, when node B0 is in an idle state, a power-down negotiation request can be sent to the adjacent node B1 and node B4 through the low-level interface (the low-level interface of node B0 becomes logically disconnected). ). If Node B1 is also in the idle state, Node B1 responds to the power-off negotiation request sent by Node B0 and continues to broadcast the power-off negotiation request to Node B2 through the low-level interface (the low-level interface of Node B1 becomes logically disconnected). If Node B2 In the idle state, node B2 continues to broadcast the power-off negotiation request to node B3 through the low-level interface (the low-level interface of node B2 becomes logically disconnected). Similarly, when node B4 and node B5 are both in idle state, The power-down negotiation request may be broadcast to Node B6 through the low-level interfaces of Node B4 and Node B5 (the low-level interfaces of Node B4 and Node B5 become logically disconnected).
当节点的低级接口全部完成掉电协商后,可以通过高级接口发送掉电协商。例如,若节点B3处于空闲状态可以通过高级接口回传掉电协商请求(节点B3的高级接口变为逻辑断开状态),作为反馈信息传回节点B2,然后通过节点B2的高级接口的状态变化(变为逻辑断开状态)和节点B1的高级接口的状态变化(变为逻辑断开状态)依次反馈至节点B0。如果与根节点(例如节点B0)相邻的一个节点(例如节点B1)通过高级接口向节点B0反馈了掉电协商请求(即高级接口变为逻辑断开状态),则说明该相邻节点连接的一连串节点均处于空闲状态。因此,若节点B1和节点B4的高级接口均变为了逻辑断开状态,则节点B0可以确定全部节点均进入了空闲状态,掉电协商完成,可以开始掉电流程。根节点B0的互联接口掉电变为物理断开状态,互联接口变为物理断开状态可以作为掉电请求通知相邻节点掉电,同时根节点B0保存配置数据并使数据网络掉电。其他节点接收到掉电请求后,开始执行自己节点的掉电流程(接口掉电、保存配置数据、以及数据网络掉电等),并继续向相邻节点继续发送掉电请求。最终掉电请求会广播至全部节点,全系统的节点均完成掉电。After all the low-level interfaces of the node complete the power-down negotiation, the power-down negotiation can be sent through the high-level interface. For example, if node B3 is in an idle state, a power-off negotiation request can be sent back through the high-level interface (the high-level interface of node B3 becomes logically disconnected), which is sent back to node B2 as feedback information, and then the state changes through the high-level interface of node B2 (becoming logically disconnected) and the state change of the advanced interface of node B1 (becoming logically disconnected) are fed back to node B0 in turn. If a node (such as node B1) adjacent to the root node (such as node B0) feeds back a power-down negotiation request to node B0 through the advanced interface (that is, the advanced interface becomes logically disconnected), it means that the adjacent node is connected. A chain of nodes is idle. Therefore, if both the advanced interfaces of node B1 and node B4 become logically disconnected, node B0 can determine that all nodes have entered the idle state, the power-down negotiation is completed, and the power-down process can be started. When the interconnection interface of the root node B0 is powered off and becomes physically disconnected, the interconnection interface becomes physically disconnected, which can be used as a power-down request to notify adjacent nodes to power down, and the root node B0 saves configuration data and powers down the data network. After receiving the power-down request, other nodes start to perform the power-down process of their own nodes (interface power-down, saving configuration data, and data network power-down, etc.), and continue to send power-down requests to adjacent nodes. The final power-off request will be broadcast to all nodes, and all nodes in the entire system will be powered off.
由于各节点通过将芯片外部互联接口的逻辑断开来发起掉电协商请求,互联接口逻辑断开后才进行数据网络掉电流程,所以数据网络掉电操作中,需要保存的配置寄存器值只能保存到本节点的通用内存中。现在随着小芯片(chiplet)技术的发展,多种类型的节点往往会封装在一个芯片中。就会出现某些节点不存在通用内存的场景,按照上述掉电方案,不存在通用内存的节点不能将配置寄存器的数据进行备份,掉电后配置寄存器的数据会丢失,重新上电后需要进行复杂的配置。Since each node initiates a power-down negotiation request by disconnecting the logic of the external interconnect interface of the chip, and the data network power-down process is performed after the interconnect interface logic is disconnected, the configuration register value that needs to be saved in the data network power-down operation can only be Save to the general memory of this node. Now with the development of chiplet technology, multiple types of nodes are often packaged in a single chip. There will be scenarios where some nodes do not have general-purpose memory. According to the above power-down scheme, nodes that do not have general-purpose memory cannot back up the data in the configuration registers. The data in the configuration registers will be lost after a power failure. complex configuration.
本公开至少一个实施例提供一种掉电处理方法、功能节点、处理系统、电子设备和计算机可读存储介质。该掉电处理方法用于处理系统中的第一节点,该掉电处理方法包括:响应于第一节点的功能部件处于空闲状态,发起保存配置协商请求,以与处理系统中的N个第二节点中至少一个对象节点进行保存配置协商;响应于第一节点确定保存配置协商完成,将第一节点的待备份数据提供至N个第二节点中的至少一个目标节点进行备份保存;在第一节点的待备份数据发送至至少一个目标节点之后,执行掉电协商操作;响应于第一节点确定掉电协商完成,对第一节点进行掉电处理,N为正整数。该掉电处理方法可以在掉电协商之前将第一节点的待备份数据保存至不同于第一节点的目标节点中,避免掉电造成第一节点的待备份数据丢失,提高了系统的鲁棒性。At least one embodiment of the present disclosure provides a power-down processing method, a functional node, a processing system, an electronic device, and a computer-readable storage medium. The power-down processing method is used for processing a first node in a system, and the power-down processing method includes: in response to a functional component of the first node being in an idle state, initiating a save configuration negotiation request to communicate with N second nodes in the processing system At least one object node in the nodes performs saving configuration negotiation; in response to the first node determining that the saving configuration negotiation is completed, the data to be backed up of the first node is provided to at least one target node among the N second nodes for backup saving; After the node's data to be backed up is sent to at least one target node, a power-down negotiation operation is performed; in response to the first node determining that the power-down negotiation is completed, the first node is powered down, where N is a positive integer. The power failure processing method can save the data to be backed up of the first node to a target node different from the first node before the power failure negotiation, so as to avoid the loss of the data to be backed up of the first node caused by the power failure, and improve the robustness of the system sex.
图3示出了本公开至少一实施例提供的一种掉电处理方法的流程图。FIG. 3 shows a flowchart of a power-down processing method provided by at least one embodiment of the present disclosure.
如图3所示,该掉电处理方法用于处理系统中的第一节点,该掉电处理方法可以包括步骤S210~S240。As shown in FIG. 3 , the power-down processing method is used for processing the first node in the system, and the power-down processing method may include steps S210 to S240 .
步骤S210:响应于第一节点的功能部件处于空闲状态,发起保存配置协商请求,以与处理系统中的N个第二节点中至少一个对象节点进行保存配置协商,N为正整数。Step S210 : in response to the functional component of the first node being in an idle state, initiate a configuration saving negotiation request to negotiate with at least one object node among the N second nodes in the processing system, where N is a positive integer.
步骤S220:响应于第一节点确定保存配置协商完成,将第一节点的待备份数据提供至N个第二节点中的至少一个目标节点进行备份保存。Step S220: In response to the first node determining that the negotiation for saving the configuration is completed, provide the data to be backed up of the first node to at least one target node among the N second nodes for backup and saving.
步骤S230:在第一节点的待备份数据发送至至少一个目标节点之后,执行掉电协商操作。Step S230: After the data to be backed up of the first node is sent to at least one target node, perform a power-off negotiation operation.
步骤S240:响应于第一节点确定掉电协商完成,对第一节点进行掉电处理。Step S240: In response to the first node determining that the power-down negotiation is completed, perform power-down processing on the first node.
图4示出了本公开至少一实施例提供的一种处理系统的示意图。如图4所示,处理系统包括芯片20,芯片20包括两种节点:总线节点和内核节点。芯片20例如包括内核节点C0、内核节点C1、内核节点C2、内核节点C3以及总线节点D0。总线节点D0通过互联接口与至少一个内核节点连接,多个内核节点互联。处理系统还可以包括除芯片20外的其他芯片,其他芯片例如也包括内核节点和总线节点,不同芯片的总线节点可以通过互联接口相连。FIG. 4 shows a schematic diagram of a processing system provided by at least one embodiment of the present disclosure. As shown in FIG. 4, the processing system includes a chip 20, and the chip 20 includes two types of nodes: a bus node and a core node. The chip 20 includes, for example, a core node C0, a core node C1, a core node C2, a core node C3, and a bus node D0. The bus node D0 is connected with at least one core node through an interconnection interface, and multiple core nodes are interconnected. The processing system may also include other chips besides the chip 20, and the other chips also include, for example, a core node and a bus node, and the bus nodes of different chips may be connected through an interconnection interface.
图5A示出了本公开至少一实施例提供的一种内核节点的示意图。如图5A所示,内核节点包括客户端集合301,客户端集合301包括内核集簇,例如包括内核集簇C00和内核集簇C01。此外,内核节点还包括数据网络302、功耗控制单元303、通用内存控制接口304、通用内存305和芯片外部互联接口306,客户端集合301通过数据网络302并经通用内存控制接口304访问通用内存305,以及经芯片外部互联接口306访问其他节点。功耗控制单元303用于完成掉电流程。FIG. 5A shows a schematic diagram of a kernel node provided by at least one embodiment of the present disclosure. As shown in FIG. 5A , the core node includes a
图5B示出了本公开至少一实施例提供的一种总线节点的示意图。如图5B所示,总线节点包括客户端集合401,客户端集合401包括总线接口和片内外设(芯片内部外设)组成。此外,总线节点还包括数据网络402、功耗控制单元403和芯片外部互联接口404。客户端集合401通过数据网络402并经芯片外部互联接口404访问其他节点,功耗控制单元403用于完成掉电流程。FIG. 5B shows a schematic diagram of a bus node provided by at least one embodiment of the present disclosure. As shown in FIG. 5B , the bus node includes a
例如,第一节点可以为总线节点,总线节点的功能部件包括总线部件,例如包括总线接口。在至少一个实施例中,第一节点不包括用于进行备份存储的存储装置,采用其他节点的存储装置进行备份。For example, the first node may be a bus node, and the functional components of the bus node include bus components, such as bus interfaces. In at least one embodiment, the first node does not include a storage device for backup storage, and uses storage devices of other nodes for backup.
例如,在一些示例中,N个第二节点可以是处理系统中除第一节点之外的其余节点,例如N个第二节点包括处理系统包含的全部内核节点。对象节点例如可以是与第一节点位于同一芯片的节点(例如可以是内核节点),即该至少一个对象节点与第一节点位于同一芯片,在这一示例中,可以以每个芯片为单位进行保存配置协商,在芯片中的各节点协商完成后就可以进行后续的保存待备份数据的操作(步骤S220),无需在整个处理系统范围内进行保存配置协商,可以提高保存配置协商的效率。For example, in some examples, the N second nodes may be the remaining nodes in the processing system other than the first node, eg, the N second nodes include all kernel nodes included in the processing system. For example, the object node may be a node located on the same chip as the first node (for example, it may be a kernel node), that is, the at least one object node and the first node are located on the same chip, in this example, the process may be performed in units of each chip. In the saving configuration negotiation, after each node in the chip completes the negotiation, the subsequent operation of saving the data to be backed up can be performed (step S220 ), and the saving configuration negotiation does not need to be performed in the entire processing system, which can improve the efficiency of the saving configuration negotiation.
例如,在另一些示例中,对象节点可以包括第一节点所在芯片中的节点以及第一节点所在芯片之外的其余芯片中的节点,在这一示例中,第一节点不仅与同一芯片中的节点进行保存配置协商还与其他芯片中的节点进行保存配置协商。For example, in other examples, the object nodes may include nodes in the chip where the first node is located and nodes in other chips other than the chip where the first node is located. In this example, the first node is not only related to the same chip The node performs the save configuration negotiation and also performs the save configuration negotiation with the nodes in other chips.
例如,确定保存配置协商完成可以包括:确定该至少一个对象节点均对保存配置协商请求进行了响应,其中,该至少一个对象节点中的每个节点在各自的功能部件处于空闲状态的情况下对保存配置协商请求进行响应。基于这一方式,可以在确定每个对象节点均处于空闲状态的情况下再将第一节点的待备份数据存储于目标节点中,可以避免频繁备份第一节点的待备份数据,简化操作、节省功耗。For example, determining that the save configuration negotiation is complete may include: determining that the at least one object node has responded to the save configuration negotiation request, wherein each node of the at least one object node responds to the Save the configuration negotiation request in response. Based on this method, the to-be-backed-up data of the first node can be stored in the target node after it is determined that each object node is in an idle state, which can avoid frequent backup of the to-be-backed up data of the first node, simplify operations, save money power consumption.
例如,在一些示例中,每个目标节点均包括用于进行备份存储的存储装置。目标节点例如为内核节点,内核节点的功能部件包括数据处理部件(例如内核集簇)。目标节点可以是与第一节点位于同一芯片的内核节点,即第一节点的待备份数据可以存储于同一芯片的内核节点中。在另一些示例中,目标节点也可以是位于不同于第一节点所在芯片的其余芯片中的节点,即第一节点可以将待备份数据存储于另一芯片的内核节点中。For example, in some examples, each target node includes storage for backup storage. The target node is, for example, a kernel node, and the functional components of the kernel node include data processing components (eg, a kernel cluster). The target node may be a core node located on the same chip as the first node, that is, the data to be backed up of the first node may be stored in the core node of the same chip. In other examples, the target node may also be a node located in another chip different from the chip where the first node is located, that is, the first node may store the data to be backed up in a core node of another chip.
例如,对象节点与目标节点可以相同或不同,可以位于同一芯片也可以位于不同芯片。例如,在一些示例中,对象节点是与第一节点位于同一芯片的内核节点,目标节点是与第一节点位于不同芯片的内核节点,也就是说,第一节点在与同一芯片的内核节点完成保存配置协商之后,可以将待备份数据存储于另一芯片的内核节点中。在另一些示例中,对象节点和目标节点可以均是与第一节点位于同一芯片的内核节点,也就是说,第一节点在与同一芯片的内核节点完成保存配置协商之后,可以将待备份数据存储于同一芯片的内核节点中。For example, the object node and the target node may be the same or different, and may be located on the same chip or on different chips. For example, in some examples, the object node is a core node on the same chip as the first node, and the target node is a core node on a different chip from the first node, that is, the first node completes on a core node on the same chip as the first node After saving the configuration negotiation, the data to be backed up may be stored in the kernel node of another chip. In other examples, both the object node and the target node may be core nodes located on the same chip as the first node, that is, after the first node completes the negotiation on saving the configuration with the core node of the same chip, the data to be backed up may be stored. Stored in the core node of the same chip.
图6示出了本公开至少一实施例提供的保存配置及掉电的流程示意图。如图6所示,例如,以第一节点为总线节点D0以及该至少一个对象节点为内核节点C0~C3为例,在总线节点D0的客户端集合处于上电状态的情况下(对应图6中的“上电状态”),判断客户端集合是否空闲(对应图6中的位于“上电状态”之后的“客户端集合空闲”),在判断出客户端集合进入空闲状态后,可以向同一芯片中相邻的内核节点发起保存配置协商(对应图6中的“保存配置协商”),例如可以通过改变互联接口的状态来发起保存配置协商请求,但本公开不限于此,在一些实施例中,还可以通过发送专用数据包、专用连线、软件配置等方式来发起保存配置协商请求。FIG. 6 shows a schematic flowchart of saving configuration and power down provided by at least one embodiment of the present disclosure. As shown in FIG. 6 , for example, taking the first node as the bus node D0 and the at least one object node as the core nodes C0 to C3 as an example, in the case where the client set of the bus node D0 is in the power-on state (corresponding to FIG. 6 ) "Power-on state" in the ”), after judging that the client set has entered the idle state, it can initiate a save configuration negotiation (corresponding to the “save configuration negotiation” in Figure 6) to adjacent kernel nodes in the same chip, for example, by changing the state of the interconnect interface to Initiating a save configuration negotiation request, but the present disclosure is not limited thereto. In some embodiments, the save configuration negotiation request may also be initiated by sending a dedicated data packet, dedicated connection, software configuration, or the like.
例如,在内核节点C0~C3均与总线节点D0连接的情况下,在总线节点D0的客户端集合处于空闲状态的情况下,总线节点D0可以同时向内核节点C0~C3发起保存配置协商请求,在内核节点C0~C3的客户端集合也处于空闲状态的情况下,可以响应该保存配置协商请求,例如可以通过改变互联接口的状态或发送专用数据包等形式响应该保存配置协商请求。例如,在另一些示例中,总线节点D0空闲状态下可以先向部分内核节点发起保存配置协商请求,然后由该部分内核节点向其他内核节点广播保存配置协商请求,直至芯片中的全部内核节点均接收并响应保存配置协商请求。For example, when the core nodes C0~C3 are all connected to the bus node D0, when the client set of the bus node D0 is in an idle state, the bus node D0 can simultaneously initiate a save configuration negotiation request to the core nodes C0~C3, When the client set of the kernel nodes C0~C3 is also in an idle state, the configuration saving negotiation request may be responded to, for example, the configuration saving negotiation request may be responded to by changing the state of the interconnection interface or sending a dedicated data packet. For example, in other examples, when the bus node D0 is in an idle state, it may first initiate a configuration saving negotiation request to some core nodes, and then the part of the core nodes broadcasts the saving configuration negotiation request to other core nodes, until all the core nodes in the chip are Receive and respond to save configuration negotiation requests.
例如,在发起保存配置协商之后,判断保存配置协商是否完成(对应图6中的“保存配置协商完成”),总线节点D0在接收到内核节点C0~C3对保存配置协商请求的响应信息之后,可以确定保存配置协商完成。在判断出保存配置协商完成之后,可以判断总线节点D0的客户端集合是否仍处于空闲状态(对应图6中的“保存配置协商完成”之后的“客户端集合空闲”),若总线节点D0的客户端集合仍处于空闲状态,则可以将总线节点D0的待备份数据(例如配置寄存器的数据)发送至任一个或多个内核节点的通用内存进行存储(对应图6中的“保存配置寄存器到通用内存”)。并且,在保存配置协商完成后,可以使每个内核节点将自身的待备份数据(例如配置寄存器的数据)存储在自己的存储装置(例如通用内存)中。For example, after initiating the save configuration negotiation, determine whether the save configuration negotiation is completed (corresponding to the "Save configuration negotiation completed" in Figure 6 ”), after receiving the response information of the kernel nodes C0~C3 to the save configuration negotiation request, the bus node D0 can determine that the save configuration negotiation is completed. After judging that the save configuration negotiation is completed, it can determine whether the client set of the bus node D0 is Still in the idle state (corresponding to "Save Configuration Negotiation Completed" in Figure 6 ' after the 'client collection idle ”), if the client set of the bus node D0 is still in an idle state, the data to be backed up (such as the data of the configuration register) of the bus node D0 can be sent to the general memory of any one or more kernel nodes for storage (corresponding to Fig. "Save configuration registers to general memory" in 6). Moreover, after the negotiation of saving the configuration is completed, each kernel node can be made to store its own data to be backed up (such as the data of the configuration registers) in its own storage device (such as the general memory).
例如,判断保存配置是否完成(对应图6中的“保存配置完成”),在保存配置完成后,互联接口不存在待传输的数据包,可以开始掉电协商(对应图6中的“逻辑断开(掉电协商)”)。例如,掉电协商可以是在处理系统的全部节点范围内进行协商,在处理系统的全部节点均处于空闲状态的情况下再执行掉电操作。For example, determine whether saving the configuration is completed (corresponding to the "Save configuration completed" in Figure 6 "), after the configuration is saved, there is no data packet to be transmitted on the interconnect interface, and the power-down negotiation can be started (corresponding to "logical disconnection (power-down negotiation)" in Figure 6). For example, the power-down negotiation can be performed in Negotiation is performed within the scope of all nodes of the processing system, and the power-down operation is performed when all nodes of the processing system are in an idle state.
例如,处理系统包括多个芯片,每个芯片包括多个节点,确定掉电协商完成可以包括:确定第一节点所在处理系统中的全部节点均对掉电协商请求进行了响应,其中,处理系统中的每个节点在各自的功能部件处于空闲状态的情况下对掉电协商请求进行响应。For example, the processing system includes multiple chips, and each chip includes multiple nodes, and determining that the power-down negotiation is completed may include: determining that all nodes in the processing system where the first node is located have responded to the power-down negotiation request, wherein the processing system Each node in the response to a power-down negotiation request with the respective functional unit in the idle state.
例如,在处理系统包括多个芯片的情况下,掉电协商过程可以先以每个芯片为单位进行掉电协商,然后再进行芯片之间的掉电协商,这样可以提高掉电协商的效率。图7示出了本公开至少一实施例提供的另一种处理系统的示意图。如图7所示,以处理系统包括芯片20和与该芯片20具有相同组成并且与芯片20连接的另一芯片21为例对掉电协商进行说明,例如,该另一芯片21同样包括一个总线节点F0和若干个内核节点(例如内核节点E0~E3),该另一芯片21中的总线节点F0与芯片20中的总线节点D0连接。在芯片20中,在完成保存待备份数据的操作之后,可以在芯片20范围内进行掉电协商,例如可以由任一节点(例如总线节点D0)发起掉电协商请求,在其余节点仍处于空闲状态的情况下响应该掉电协商请求,在确认芯片中的全部节点均响应了掉电协商请求(即均处于空闲状态)的情况下可以认为完成芯片内部的掉电协商。在完成芯片20内部的掉电协商之后,芯片20可以通过总线节点D0的互联接口与芯片21进行掉电协商。同样地,在另一芯片21中,在完成保存待备份数据的操作之后,在芯片21范围内进行掉电协商,在芯片21完成芯片内部的掉电协商之后,芯片21可以通过其总线节点F0的互联接口响应芯片20发起的芯片间的掉电协商,以完成处理系统范围内的掉电协商。例如,掉电协商可以通过将互联接口变为逻辑断开的形式进行,具体可以参见上述相关内容,在此不再赘述。For example, in the case where the processing system includes multiple chips, the power-down negotiation process may first perform power-down negotiation on a per-chip basis, and then perform power-down negotiation between chips, which can improve the efficiency of power-down negotiation. FIG. 7 shows a schematic diagram of another processing system provided by at least one embodiment of the present disclosure. As shown in FIG. 7 , the power-down negotiation is described by taking the processing system including a chip 20 and another chip 21 having the same composition as the chip 20 and connected to the chip 20 as an example. For example, the other chip 21 also includes a bus Node F0 and several core nodes (eg, core nodes E0 to E3 ), the bus node F0 in the other chip 21 is connected to the bus node D0 in the chip 20 . In the chip 20, after the operation of saving the data to be backed up is completed, the power-down negotiation can be performed within the scope of the chip 20. For example, a power-down negotiation request can be initiated by any node (eg, bus node D0), and the remaining nodes are still idle. In the case of responding to the power-down negotiation request in the state, and confirming that all nodes in the chip have responded to the power-down negotiation request (that is, all are in an idle state), it can be considered that the power-down negotiation inside the chip is completed. After the power-down negotiation inside the chip 20 is completed, the chip 20 may perform power-down negotiation with the chip 21 through the interconnection interface of the bus node D0. Similarly, in another chip 21, after completing the operation of saving the data to be backed up, the power-down negotiation is performed within the scope of the chip 21. After the chip 21 completes the power-down negotiation inside the chip, the chip 21 can pass its bus node F0 The interconnect interface responds to the inter-chip power-down negotiation initiated by the chip 20 to complete the processing-system-wide power-down negotiation. For example, the power-down negotiation can be performed by changing the interconnection interface into a form of logical disconnection, and details can be found in the above-mentioned related content, which will not be repeated here.
例如,判断掉电协商是否通过(对应图6中的“掉电协商通过”),在掉电协商通过之后,判断第一节点是否仍处于空闲状态(对应图6中的“掉电协商通过”之后的“客户端集合空闲”),若第一节点(例如总线节点)仍处于空闲状态,则可以开始掉电处理,掉电处理包括使互联接口掉电以物理断开与其他节点的连接并且使数据网络等节点包含的部件掉电(对应图6中的“物理断开:互联网接口掉电、数据网络掉电”)。For example, determine whether the power-off negotiation is passed (corresponding to the "Power-off negotiation passed" in Figure 6 "), after the power-down negotiation is passed, determine whether the first node is still in an idle state (corresponding to the "power-down negotiation passed" in Figure 6 ' after the 'client collection idle ”), if the first node (such as a bus node) is still in an idle state, a power-down process can be started, which includes power-down of the interconnect interface to physically disconnect the connection with other nodes and make the data network etc. The component is powered down (corresponding to "Physical Disconnection: Internet Interface Power Down, Data Network Power Down" in Figure 6).
例如,响应于第一节点确定掉电协商完成,可以对处理系统中的全部节点均进行掉电处理。例如,对于芯片20,在总线节点(即第一节点)的互联接口变为物理断开状态可以作为向相邻的内核节点发起的掉电请求,相邻节点接收掉电请求之后也可以执行掉电处理,并将掉电请求再广播至另一节点,依次类推,直至全部节点均完成掉电处理。同样地,芯片21内部的各个节点也陆续完成掉电处理,以此完成了对处理系统中的全部节点的掉电处理。For example, in response to the first node determining that the power-down negotiation is completed, power-down processing may be performed on all nodes in the processing system. For example, for chip 20, when the interconnect interface of the bus node (ie, the first node) becomes physically disconnected, it can be used as a power-down request to the adjacent core node, and the adjacent node can also execute the power-down request after receiving the power-down request. Power-down processing, and then broadcast the power-down request to another node, and so on, until all nodes complete the power-down processing. Similarly, each node inside the chip 21 also completes the power-down processing successively, thereby completing the power-down processing for all nodes in the processing system.
根据本公开实施例的掉电处理方法,可以在掉电协商之前(即在互联接口逻辑断开之前)将第一节点的待备份数据保存至具有存储装置的目标节点中,可以实现对第一节点的数据进行备份,避免第一节点的待备份数据丢失,进而可以在上电后恢复第一节点的电路配置。并且,在保存待备份数据之前进行保存配置协商以及在保存待备份数据之后进行掉电协商流程,可以确保保存待备份数据的行为能够准确高效地执行,以及每次掉电操作都能确保系统是真实空闲状态。According to the power-down processing method according to the embodiment of the present disclosure, the data to be backed up of the first node can be saved to the target node having the storage device before the power-down negotiation (that is, before the interconnection interface is logically disconnected), and the first node can be The data of the node is backed up to avoid the loss of the data to be backed up of the first node, so that the circuit configuration of the first node can be restored after power-on. In addition, performing the save configuration negotiation before saving the data to be backed up and the power-down negotiation process after saving the data to be backed up can ensure that the behavior of saving the data to be backed up can be performed accurately and efficiently, and each power-down operation can ensure that the system is true idle state.
例如,步骤S220可以进一步包括:响应于第一节点确定保存配置协商完成,向至少一个目标节点发送保存配置请求;在接收到至少一个目标节点对于保存配置请求的响应之后,将第一节点的待备份数据发送至至少一个目标节点,以使至少一个目标节点对第一节点的待备份数据进行备份保存。例如,在总线节点D0确定保存配置协商完成之后,可以先向一个或多个内核节点发送保存配置的请求,在得到该一个或多个内核节点对保存配置请求的响应之后,再将待备份的数据发送至该一个或多个内核节点进行保存。For example, step S220 may further include: in response to the first node determining that the negotiation for saving the configuration is completed, sending a configuration saving request to at least one target node; after receiving a response from the at least one target node to the saving configuration request, sending the waiting The backup data is sent to at least one target node, so that the at least one target node backs up and saves the data to be backed up of the first node. For example, after the bus node D0 determines that the negotiation for saving the configuration is completed, it may first send a request for saving the configuration to one or more core nodes, and after obtaining the response of the one or more core nodes to the saving configuration request, the to-be-backed up Data is sent to the one or more kernel nodes for storage.
例如,步骤S220中的至少一个目标节点包括多个目标节点,即目标节点的数量可以是多个。步骤S220可以进一步包括:响应于第一节点确定保存配置协商完成,将第一节点的待备份数据划分为多个数据集合;将多个数据集合分别提供至多个目标节点进行备份保存。例如,内核节点C0、C1和C2中的每个均可以作为一个目标节点,总线节点D0的待备份数据可以分为三份,形成三个数据集合,并将三个数据集合分别发送至内核节点C0、C1和C2进行保存。For example, at least one target node in step S220 includes multiple target nodes, that is, the number of target nodes may be multiple. Step S220 may further include: in response to the first node determining that the storage configuration negotiation is completed, dividing the data to be backed up of the first node into multiple data sets; and providing the multiple data sets to multiple target nodes for backup and storage respectively. For example, each of the core nodes C0, C1 and C2 can be used as a target node, and the data to be backed up on the bus node D0 can be divided into three parts to form three data sets, and the three data sets are respectively sent to the core node C0, C1 and C2 are saved.
例如,在另一些示例中,也可以将待备份数据重复存储于多个目标节点中,即多个目标节点均存储有完整的待备份数据。For example, in other examples, the data to be backed up may also be repeatedly stored in multiple target nodes, that is, the multiple target nodes all store the complete data to be backed up.
基于以上的将待备份数据存储至多个目标节点的方式,可以避免将待备份数据仅存储于一个目标节点的方案存在的目标节点故障造成待备份数据全部丢失的问题,保证待备份数据的安全。此外,将待备份数据分为多份并分别存储于多个目标节点的方式,可以均衡多个目标节点的存储压力,并且在备份时可以同时向多个目标节点传输部分数据,提高备份的效率。Based on the above method of storing the data to be backed up on multiple target nodes, the problem of all the data to be backed up caused by the failure of the target node in the solution of storing the data to be backed up on only one target node can be avoided, and the security of the data to be backed up can be ensured. In addition, the method of dividing the data to be backed up into multiple copies and storing them on multiple target nodes can balance the storage pressure of multiple target nodes, and can simultaneously transfer some data to multiple target nodes during backup, improving the efficiency of backup .
例如,本公开实施例的掉电处理方法还可以包括:响应于接收上电请求,从至少一个目标节点获取被备份存储的第一节点的待备份数据;基于所获取的第一节点的待备份数据,对第一节点进行配置,以使第一节点恢复至掉电处理前的状态。For example, the power-down processing method according to the embodiment of the present disclosure may further include: in response to receiving a power-on request, acquiring from at least one target node the to-be-backed-up data of the first node that is backed up and stored; data, and configure the first node to restore the first node to the state before the power-down processing.
图8示出了本公开至少一实施例提供的上电的流程示意图。如图8所示,在节点处于掉电状态时(对应图8中的“掉电状态”),判断是否触发掉电退出条件(对应图8中的“掉电退出条件”),当系统中断、异常等掉电退出条件发生时,处理系统需要退出掉电状态。对于第一节点,功耗控制单元可以优先将互联接口和数据网络上电(对应图8中的“互联接口上电、数据网络上电”),然后从一个或多个目标节点的通用内存读取配置寄存器的值(对应图8中的“从通用内存读取配置寄存器的值”),以恢复数据网络的配置,最后控制客户端集合完成上电流程(对应图8中的“客户端上电”),恢复到上电状态(对应图8中的“上电状态”)。对于内核节点等具有存储装置的节点,上电流程类似于第一节点,不同的是,具有存储装置的节点可以从自身的通用内存中读取配置寄存器的数据。FIG. 8 shows a schematic flowchart of power-on provided by at least one embodiment of the present disclosure. As shown in Figure 8, when the node is in a power-down state (corresponding to the "power-down state" in Figure 8), it is determined whether the power-down exit condition is triggered (corresponding to the "power-down exit condition" in Figure 8). "), when the system interruption, abnormality and other power-off exit conditions occur, the processing system needs to exit the power-down state. For the first node, the power consumption control unit can preferentially power on the interconnection interface and data network (corresponding to "" in Figure 8 The interconnect interface is powered on, the data network is powered on"), and then the value of the configuration register is read from the general memory of one or more target nodes (corresponding to "Read the value of the configuration register from the general memory" in Figure 8) to restore Configure the data network, and finally control the client set to complete the power-on process (corresponding to the "client power-on" in Figure 8), and restore to the power-on state (corresponding to the "power-on state" in Figure 8). For kernel nodes, etc. The power-on process of the node with the storage device is similar to that of the first node, except that the node with the storage device can read the data of the configuration register from its own general memory.
例如,上电请求在以下至少一种情况下生成:在保存配置协商过程中,第一节点所在芯片中的至少一个节点由空闲状态转变为非空闲状态;在掉电协商过程中,第一节点所在处理系统中的至少一个节点由空闲状态转变为非空闲状态;或者在第一节点所在处理系统中的全部节点均处于掉电状态的情况下,第一节点所在的处理系统发生异常。For example, the power-on request is generated in at least one of the following situations: during the negotiation process for saving the configuration, at least one node in the chip where the first node is located changes from an idle state to a non-idle state; during the power-down negotiation process, the first node At least one node in the processing system where the first node is located changes from an idle state to a non-idle state; or when all nodes in the processing system where the first node is located are in a power-down state, the processing system where the first node is located is abnormal.
例如,在保存配置协商或者保存配置请求执行的过程中,若某节点(总线节点或者内核节点)的客户端集合跳出空闲状态,则节点跳出保存配置协商或者保存配置请求执行过程,同时向相邻节点发起上电重连请求。收到上电重连请求的节点会重新上电并向其余节点广播上电重连请求,最终整个处理系统会暂停保存配置流程并切换回工作状态。For example, during the save configuration negotiation or save configuration request execution process, if the client set of a node (bus node or kernel node) jumps out of the idle state, the node jumps out of the save configuration negotiation or save configuration request execution process, and at the same time to the adjacent The node initiates a power-on reconnection request. The node that receives the power-on reconnection request will re-power on and broadcast the power-on reconnection request to the rest of the nodes. Finally, the entire processing system will suspend the saving configuration process and switch back to the working state.
例如,在掉电协商过程中,若某节点的客户端集合跳出空闲状态,则节点跳出掉电协商过程,同时向相邻节点发起上电重连请求。收到上电重连请求的节点会重新上电并向其余节点广播上电重连请求,最终整个处理系统会暂停保存配置流程并切换回工作状态。For example, in the power-down negotiation process, if the client set of a node jumps out of the idle state, the node jumps out of the power-down negotiation process, and simultaneously initiates a power-on reconnection request to the adjacent node. The node that receives the power-on reconnection request will re-power on and broadcast the power-on reconnection request to the rest of the nodes. Finally, the entire processing system will suspend the saving configuration process and switch back to the working state.
例如,在互联接口掉电请求或数据网络掉电请求执行过程中,某节点的客户端集合跳出空闲状态,则可以先完成互联接口掉电或数据网络掉电流程,之后再唤醒互联接口或数据网络完成上电流程。For example, during the execution of the power-off request of the interconnection interface or the power-down request of the data network, the client set of a node jumps out of the idle state, the process of power-off of the interconnection interface or the power-down of the data network can be completed first, and then the interconnection interface or data network can be woken up. The network completes the power-on process.
例如,系统中的节点均掉电后,在系统出现中断、异常等状况时,需要系统恢复回工作状态,以对故障进行处理。这种情况下,可以由一个或多个节点发起上电重连请求,收到上电重连请求的节点重新上电并向其余节点广播上电重连请求,最终整个处理系统会恢复到工作状态。For example, after all the nodes in the system are powered off, when the system is interrupted or abnormal, the system needs to be restored to the working state to handle the fault. In this case, one or more nodes can initiate a power-on reconnection request, and the node that receives the power-on reconnection request powers up again and broadcasts the power-on reconnection request to the rest of the nodes, and eventually the entire processing system will return to work. state.
本公开另一实施例提供了一种由目标节点执行的另一种掉电处理方法,图9示出了本公开至少一个实施例提供的另一种掉电处理方法的流程图,如图9所示,该另一种掉电处理方法包括步骤S510~S530。Another embodiment of the present disclosure provides another power-down processing method performed by a target node. FIG. 9 shows a flowchart of another power-down processing method provided by at least one embodiment of the present disclosure, as shown in FIG. 9 . As shown, the another power-down processing method includes steps S510-S530.
步骤S510:接收该处理系统中的第一节点发送的待备份数据中的至少部分数据,并保存该至少部分数据,该至少部分数据是由该第一节点在确定该第一节点的保存配置协商完成的情况下发送的。Step S510: Receive at least part of the data to be backed up sent by the first node in the processing system, and save the at least part of the data, the at least part of the data is negotiated by the first node in determining the storage configuration of the first node Sent when completed.
步骤S520:在保存该至少部分数据之后,执行掉电协商操作。Step S520: After saving the at least part of the data, perform a power-off negotiation operation.
步骤S530:响应于确定掉电协商完成,对该目标节点进行掉电处理。Step S530: In response to determining that the power-down negotiation is completed, perform power-down processing on the target node.
例如,在该目标节点接收并保存该至少部分数据之前,还可以执行:接收该第一节点发出的保存配置协商请求,该保存配置协商请求是由该第一节点响应于该第一节点的功能部件处于空闲状态而发起的;响应该保存配置协商请求。For example, before the target node receives and saves the at least part of the data, it may also perform: receiving a configuration saving negotiation request sent by the first node, where the first node responds to the function of the first node Initiated when the component is idle; in response to the save configuration negotiation request.
例如,第一节点可以在空闲状态下发起保存配置协商,在确定保存配置协商完成后,向目标节点发送至少部分待备份数据。目标节点接收该至少部分待备份数据之后对该至少部分待备份数据进行保存。并且目标节点在响应保存配置协商请求之后,可以将该目标节点自己的待备份数据保存至该目标节点的存储装置中。然后,目标节点可以配合其他节点完成掉电协商,在掉电协商完成之后,目标节点可以开始进行掉电处理,例如可以使互联接口和数据网络掉电等。For example, the first node may initiate the negotiation on saving the configuration in an idle state, and after determining that the negotiation on saving the configuration is completed, send at least part of the data to be backed up to the target node. After receiving the at least part of the data to be backed up, the target node saves the at least part of the data to be backed up. And the target node can save the target node's own data to be backed up in the storage device of the target node after responding to the save configuration negotiation request. Then, the target node can cooperate with other nodes to complete the power-down negotiation. After the power-down negotiation is completed, the target node can start power-down processing, for example, the interconnection interface and the data network can be powered off.
例如,目标节点还可以执行:接收该第一节点发送的保存配置请求,该保存配置请求是由该第一节点在确定保存配置协商完成的情况下发起的;响应该保存配置请求,以使该第一节点发送该至少部分数据。For example, the target node may also perform: receiving a configuration saving request sent by the first node, where the configuration saving request is initiated by the first node after determining that the configuration saving negotiation is completed; responding to the configuration saving request, so that the The first node sends the at least part of the data.
例如,该第一节点的待备份数据可以包括多个数据集合,例如将待备份数据划分为多个数据集合。接收该第一节点的待备份数据中的至少部分数据并保存该至少部分数据,可以包括:接收该多个数据集合中的一个数据集合,并保存接收的数据集合。For example, the data to be backed up on the first node may include multiple data sets, for example, the data to be backed up is divided into multiple data sets. Receiving at least part of the data to be backed up of the first node and saving the at least part of the data may include: receiving one of the multiple data sets, and storing the received data set.
例如,该第一节点为总线节点,该总线节点的功能部件包括总线部件;该目标节点为内核节点,该内核节点的功能部件包括数据处理部件。For example, the first node is a bus node, and the functional components of the bus node include bus components; the target node is a kernel node, and the functional components of the kernel node include data processing components.
例如,该目标节点与该第一节点位于同一芯片。响应该保存配置协商请求,可以包括:在该目标节点的功能部件处于空闲状态的情况下,响应该保存配置协商请求。For example, the target node and the first node are located on the same chip. Responding to the save configuration negotiation request may include: responding to the save configuration negotiation request when the functional component of the target node is in an idle state.
例如,该处理系统包括多个芯片,每个该芯片包括多个节点。确定该掉电协商完成可以包括:确定该目标节点所在处理系统中的全部节点均对该掉电协商请求进行了响应,该处理系统中的每个节点在各自的功能部件处于空闲状态的情况下对该掉电协商请求进行响应。For example, the processing system includes a plurality of chips, each of which includes a plurality of nodes. Determining that the power-down negotiation is completed may include: determining that all nodes in the processing system where the target node is located have responded to the power-down negotiation request, and each node in the processing system is in an idle state with respective functional components Respond to the power down negotiation request.
例如,目标节点还可以执行:响应于接收上电请求,将该至少部分数据发送至该第一节点,以使该第一节点基于该至少部分数据对该第一节点进行配置。For example, the target node may also perform: in response to receiving the power-on request, sending the at least part of the data to the first node, so that the first node configures the first node based on the at least part of the data.
例如,该目标节点执行的掉电处理方法可以参见上述图3至图8以及上述关于相应内容的描述,在此不再赘述。For example, for the power-down processing method performed by the target node, reference may be made to the foregoing FIG. 3 to FIG. 8 and the foregoing description of the corresponding content, which will not be repeated here.
本公开的另一实施例提供了另一种掉电处理方法,该另一种掉电处理方法由第一节点和第二节点共同执行。图10示出了本公开至少一个实施例提供的再一种掉电处理方法的流程图,如图10所示,该另一种掉电处理方法包括步骤S610~S650。Another embodiment of the present disclosure provides another power-down processing method, and the another power-down processing method is jointly performed by the first node and the second node. FIG. 10 shows a flowchart of yet another power-down processing method provided by at least one embodiment of the present disclosure. As shown in FIG. 10 , the another power-down processing method includes steps S610 to S650 .
步骤S610:响应于处理系统中的第一节点的功能部件处于空闲状态,通过该第一节点发起保存配置协商请求。Step S610: In response to the functional component of the first node in the processing system being in an idle state, initiate a negotiation request for saving the configuration through the first node.
步骤S620:通过该处理系统中的N个第二节点中的至少一个对象节点接收保存配置协商请求,并响应该保存配置协商请求(N为正整数)。Step S620: Receive the negotiation request for saving the configuration through at least one object node of the N second nodes in the processing system, and respond to the negotiation request for saving the configuration (N is a positive integer).
步骤S630:响应于该第一节点确定保存配置协商完成,通过该第一节点将该第一节点的待备份数据提供至该N个第二节点中的至少一个目标节点,并通过该至少一个目标节点对该待备份数据进行备份保存。Step S630: In response to the first node determining that the negotiation for saving the configuration is completed, provide the data to be backed up of the first node to at least one target node among the N second nodes through the first node, and pass the at least one target node The node backs up and saves the data to be backed up.
步骤S640:在该第一节点的待备份数据发送至该至少一个目标节点之后,至少通过该第一节点和该N个第二节点进行掉电协商。Step S640: After the data to be backed up of the first node is sent to the at least one target node, at least conduct power-down negotiation through the first node and the N second nodes.
步骤S650:响应于掉电协商完成,对该第一节点和该N个第二节点进行掉电处理。Step S650: In response to the completion of the power-down negotiation, perform power-down processing on the first node and the N second nodes.
例如,该第一节点和第二节点共同执行的掉电处理方法可以参见上述图3至图8以及上述关于相应内容的描述,在此不再赘述。For example, for the power-down processing method jointly executed by the first node and the second node, reference may be made to the foregoing FIG. 3 to FIG. 8 and the foregoing description of the corresponding content, which will not be repeated here.
本公开另一实施例提供了一种功能节点,图11示出了本公开至少一个实施例提供的一种功能节点的框图,如图11所示,该功能节点700包括保存协商模块710、备份数据模块720、第一掉电协商模块730和第一掉电处理模块740。Another embodiment of the present disclosure provides a functional node. FIG. 11 shows a block diagram of a functional node provided by at least one embodiment of the present disclosure. As shown in FIG. 11 , the
保存协商模块710配置为响应于该功能节点的功能部件处于空闲状态,发起保存配置协商请求,以与位于同一处理系统中的N个第二节点中至少一个对象节点进行保存配置协商,其中,N为正整数。保存协商模块710例如可以执行图3描述的步骤S210。The saving
备份数据模块720配置为响应于该功能节点确定保存配置协商完成,将该功能节点的待备份数据提供至该N个第二节点中的至少一个目标节点进行备份保存。备份数据模块720例如可以执行图3描述的步骤S220。The
第一掉电协商模块730配置为在该功能节点的待备份数据发送至该至少一个目标节点之后,执行掉电协商操作。第一掉电协商模块730例如可以执行图3描述的步骤S230。The first power-down
第一掉电处理模块740配置为响应于该功能节点确定掉电协商完成,进行掉电处理。第一掉电处理模块740例如可以执行图3描述的步骤S240。The first power-
例如,保存协商模块710、备份数据模块720、第一掉电协商模块730和第一掉电处理模块740可以为硬件、软件、固件以及它们的任意可行的组合。例如,保存协商模块710、备份数据模块720、第一掉电协商模块730和第一掉电处理模块740可以为专用或通用的电路、芯片或装置等,也可以为处理器和存储器的结合。关于上述各个单元的具体实现形式,本公开的实施例对此不作限制。For example, the saving
需要说明的是,本公开的实施例中,功能节点700的各个模块与前述的与图3对应的掉电处理方法的各个步骤对应,关于功能节点700的具体功能可以参考关于掉电处理方法的相关描述,此处不再赘述。图11所示的功能节点700的组件和结构只是示例性的,而非限制性的,根据需要,该功能节点700还可以包括其他组件和结构。It should be noted that, in the embodiment of the present disclosure, each module of the
本公开另一实施例提供了一种另功能节点,图12示出了本公开至少一个实施例提供的另一种功能节点的框图,如图12所示,该功能节点800包括数据接收模块810、第二掉电协商模块820和第二掉电处理模块830。Another embodiment of the present disclosure provides another functional node. FIG. 12 shows a block diagram of another functional node provided by at least one embodiment of the present disclosure. As shown in FIG. 12 , the
数据接收模块810配置为接收与该功能节点位于同一处理系统中的第一节点的至少部分待备份数据,并保存该至少部分待备份数据,其中,该至少部分待备份数据是由该第一节点在确定保存配置协商完成的情况下发送的。数据接收模块810例如可以执行图9描述的步骤S510。The
第二掉电协商模块820配置为在保存该至少部分待备份数据之后,执行掉电协商操作。第二掉电协商模块820例如可以执行图9描述的步骤S520。The second power-down
第二掉电处理模块830配置为响应于确定掉电协商完成,进行掉电处理。第二掉电处理模块830例如可以执行图9描述的步骤S530。The second power-
例如,数据接收模块810、第二掉电协商模块820和第二掉电处理模块830可以为硬件、软件、固件以及它们的任意可行的组合。例如,数据接收模块810、第二掉电协商模块820和第二掉电处理模块830可以为专用或通用的电路、芯片或装置等,也可以为处理器和存储器的结合。关于上述各个单元的具体实现形式,本公开的实施例对此不作限制。For example, the
需要说明的是,本公开的实施例中,功能节点800的各个模块与前述的与图9对应的掉电处理方法的各个步骤对应,关于功能节点800的具体功能可以参考关于掉电处理方法的相关描述,此处不再赘述。图12所示的功能节点800的组件和结构只是示例性的,而非限制性的,根据需要,该功能节点800还可以包括其他组件和结构。It should be noted that, in the embodiment of the present disclosure, each module of the
本公开另一实施例还提供一种处理系统,该处理系统包括第一节点和N个第二节点,该第一节点包括功能部件,配置为响应于该功能部件处于空闲状态,发起保存配置协商请求。N个第二节点配置为其中至少一个对象节点接收该保存配置协商请求,并响应该保存配置协商请求。该第一节点还配置为:响应于确定保存配置协商完成,将该第一节点的待备份数据提供至该N个第二节点中的至少一个目标节点进行备份保存。该第一节点和该N个第二节点还配置为:在该第一节点的待备份数据发送至该至少一个目标节点之后,进行掉电协商操作;并响应于掉电协商完成,进行掉电处理,其中,N为正整数。关于该处理系统,可以参见上述相关描述,在此不再赘述。Another embodiment of the present disclosure further provides a processing system, the processing system includes a first node and N second nodes, the first node includes a functional component, and is configured to initiate a saving configuration negotiation in response to the functional component being in an idle state ask. The N second nodes are configured such that at least one of the object nodes receives the configuration saving negotiation request and responds to the saving configuration negotiation request. The first node is further configured to: in response to determining that the negotiation for saving the configuration is completed, provide the data to be backed up of the first node to at least one target node among the N second nodes for backup and saving. The first node and the N second nodes are further configured to: perform a power-down negotiation operation after the data to be backed up by the first node is sent to the at least one target node; and perform a power-down negotiation in response to the completion of the power-down negotiation process, where N is a positive integer. For the processing system, reference may be made to the above-mentioned related descriptions, which will not be repeated here.
本公开的至少一个实施例还提供了一种电子设备,该电子设备包括处理器和存储器,存储器包括一个或多个计算机程序模块。一个或多个计算机程序模块被存储在存储器中并被配置为由处理器执行,一个或多个计算机程序模块包括用于实现上述的掉电处理方法的指令。该电子设备可以在掉电协商之前将第一节点的待备份数据保存至不同于第一节点的目标节点中,避免掉电造成第一节点的待备份数据丢失。At least one embodiment of the present disclosure also provides an electronic device including a processor and a memory including one or more computer program modules. One or more computer program modules are stored in the memory and configured to be executed by the processor, the one or more computer program modules including instructions for implementing the power loss handling method described above. The electronic device can save the to-be-backed-up data of the first node to a target node different from the first node before power-off negotiation, so as to avoid the loss of the to-be-backed-up data of the first node due to power failure.
图13为本公开一些实施例提供的一种电子设备的示意框图。如图13所示,该电子设备900包括处理器910和存储器920。存储器920存储有非暂时性计算机可读指令(例如一个或多个计算机程序模块)。处理器910用于运行非暂时性计算机可读指令,非暂时性计算机可读指令被处理器910运行时可以执行上文所述的掉电处理方法中的一个或多个步骤。存储器920和处理器910可以通过总线系统和/或其它形式的连接机构(未示出)互连。FIG. 13 is a schematic block diagram of an electronic device according to some embodiments of the present disclosure. As shown in FIG. 13 , the electronic device 900 includes a processor 910 and a memory 920 . Memory 920 stores non-transitory computer-readable instructions (eg, one or more computer program modules). The processor 910 is configured to execute non-transitory computer-readable instructions, and when the non-transitory computer-readable instructions are executed by the processor 910, one or more steps in the power-down processing method described above can be executed. Memory 920 and processor 910 may be interconnected by a bus system and/or other form of connection mechanism (not shown).
例如,处理器910可以是中央处理单元(CPU)、图形处理单元(GPU)或者具有数据处理能力和/或程序执行能力的其它形式的处理单元。例如,中央处理单元(CPU)可以为X86或ARM架构等。处理器910可以为通用处理器或专用处理器,可以控制电子设备900中的其它组件以执行期望的功能。For example, processor 910 may be a central processing unit (CPU), graphics processing unit (GPU), or other form of processing unit having data processing capabilities and/or program execution capabilities. For example, the central processing unit (CPU) can be an X86 or ARM architecture, etc. The processor 910 may be a general purpose processor or a special purpose processor and may control other components in the electronic device 900 to perform desired functions.
例如,存储器920可以包括一个或多个计算机程序产品的任意组合,计算机程序产品可以包括各种形式的计算机可读存储介质,例如易失性存储器和/或非易失性存储器。易失性存储器例如可以包括随机存取存储器(RAM)和/或高速缓冲存储器(cache)等。非易失性存储器例如可以包括只读存储器(ROM)、硬盘、可擦除可编程只读存储器(EPROM)、便携式紧致盘只读存储器(CD-ROM)、USB存储器、闪存等。在计算机可读存储介质上可以存储一个或多个计算机程序模块,处理器910可以运行一个或多个计算机程序模块,以实现电子设备900的各种功能。在计算机可读存储介质中还可以存储各种应用程序和各种数据以及应用程序使用和/或产生的各种数据等。For example, memory 920 may include any combination of one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and/or nonvolatile memory. Volatile memory may include, for example, random access memory (RAM) and/or cache memory (cache), among others. Non-volatile memory may include, for example, read only memory (ROM), hard disk, erasable programmable read only memory (EPROM), portable compact disk read only memory (CD-ROM), USB memory, flash memory, and the like. One or more computer program modules may be stored on the computer-readable storage medium, and the processor 910 may execute the one or more computer program modules to implement various functions of the electronic device 900 . Various application programs and various data, various data used and/or generated by the application programs, and the like may also be stored in the computer-readable storage medium.
需要说明的是,本公开的实施例中,电子设备900的具体功能和技术效果可以参考上文中关于掉电处理方法的描述,此处不再赘述。It should be noted that, in the embodiments of the present disclosure, for the specific functions and technical effects of the electronic device 900, reference may be made to the description of the power-down processing method above, and details are not repeated here.
图14为本公开一些实施例提供的另一种电子设备的示意框图。该电子设备1000例如适于用来实施本公开实施例提供的掉电处理方法。电子设备1000可以是终端设备等。需要注意的是,图14示出的电子设备1000仅仅是一个示例,其不会对本公开实施例的功能和使用范围带来任何限制。FIG. 14 is a schematic block diagram of another electronic device provided by some embodiments of the present disclosure. The
如图14所示,电子设备1000可以包括处理装置(例如中央处理器、图形处理器等)1010,其可以根据存储在只读存储器(ROM)1020中的程序或者从存储装置1080加载到随机访问存储器(RAM)1030中的程序而执行各种适当的动作和处理。在RAM 1030中,还存储有电子设备1000操作所需的各种程序和数据。处理装置1010、ROM 1020以及RAM1030通过总线1040彼此相连。输入/输出(I/O)接口1050也连接至总线1040。As shown in FIG. 14 , the
通常,以下装置可以连接至I/O接口1050:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置1060;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置1070;包括例如磁带、硬盘等的存储装置1080;以及通信装置1090。通信装置1090可以允许电子设备1000与其他电子设备进行无线或有线通信以交换数据。虽然图14示出了具有各种装置的电子设备1000,但应理解的是,并不要求实施或具备所有示出的装置,电子设备1000可以替代地实施或具备更多或更少的装置。Typically, the following devices can be connected to the I/O interface 1050:
例如,根据本公开的实施例,上述掉电处理方法可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包括用于执行上述掉电处理方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置1090从网络上被下载和安装,或者从存储装置1080安装,或者从ROM 1020安装。在该计算机程序被处理装置1010执行时,可以实现本公开实施例提供的掉电处理方法中限定的功能。For example, according to an embodiment of the present disclosure, the above-described power-down processing method may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product including a computer program carried on a non-transitory computer-readable medium, the computer program including program code for executing the power-down processing method described above. In such an embodiment, the computer program may be downloaded and installed from the network through the
本公开的至少一个实施例还提供了一种计算机可读存储介质,该计算机可读存储介质存储有非暂时性计算机可读指令,当非暂时性计算机可读指令由计算机执行时实现上述的掉电处理方法。利用该计算机可读存储介质,可以在掉电协商之前将第一节点的待备份数据保存至不同于第一节点的目标节点中,避免掉电造成第一节点的待备份数据丢失。At least one embodiment of the present disclosure also provides a computer-readable storage medium storing non-transitory computer-readable instructions, which, when executed by a computer, realize the above-mentioned problem. electrical treatment method. Using the computer-readable storage medium, the to-be-backed up data of the first node can be saved to a target node different from the first node before power-off negotiation, so as to avoid the loss of the to-be-backed-up data of the first node due to power failure.
图15为本公开一些实施例提供的一种计算机可读存储介质的示意图。如图15所示,计算机可读存储介质1100存储有非暂时性计算机可读指令1110。例如,当非暂时性计算机可读指令1110由计算机执行时执行根据上文所述的掉电处理方法中的一个或多个步骤。FIG. 15 is a schematic diagram of a computer-readable storage medium provided by some embodiments of the present disclosure. As shown in FIG. 15 , computer readable storage medium 1100 has non-transitory computer
例如,该存储介质1100可以应用于上述电子设备900中。例如,存储介质1100可以为图13所示的电子设备900中的存储器920。例如,关于存储介质1100的相关说明可以参考图13所示的电子设备900中的存储器920的相应描述,此处不再赘述。For example, the storage medium 1100 can be applied to the electronic device 900 described above. For example, the storage medium 1100 may be the memory 920 in the electronic device 900 shown in FIG. 13 . For example, for the relevant description of the storage medium 1100, reference may be made to the corresponding description of the memory 920 in the electronic device 900 shown in FIG. 13 , which will not be repeated here.
有以下几点需要说明:The following points need to be noted:
(1)本公开实施例附图只涉及到本公开实施例涉及到的结构,其他结构可参考通常设计。(1) The drawings of the embodiments of the present disclosure only relate to the structures involved in the embodiments of the present disclosure, and other structures may refer to general designs.
(2)在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合以得到新的实施例。(2) The embodiments of the present disclosure and the features in the embodiments may be combined with each other to obtain new embodiments without conflict.
以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,本公开的保护范围应以所述权利要求的保护范围为准。The above descriptions are only specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto, and the protection scope of the present disclosure should be subject to the protection scope of the claims.
Claims (25)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210407135.4A CN114490194B (en) | 2022-04-19 | 2022-04-19 | Power failure processing method, functional node, processing system, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210407135.4A CN114490194B (en) | 2022-04-19 | 2022-04-19 | Power failure processing method, functional node, processing system, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114490194A true CN114490194A (en) | 2022-05-13 |
CN114490194B CN114490194B (en) | 2022-07-01 |
Family
ID=81489606
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210407135.4A Active CN114490194B (en) | 2022-04-19 | 2022-04-19 | Power failure processing method, functional node, processing system, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114490194B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115061561A (en) * | 2022-07-01 | 2022-09-16 | 深圳市创智成科技股份有限公司 | Power saving method, device and system for equipment and storage medium |
CN115150437A (en) * | 2022-09-01 | 2022-10-04 | 国汽智控(北京)科技有限公司 | Node deployment method, device and equipment applied to automatic driving system of vehicle |
CN117290898A (en) * | 2023-10-18 | 2023-12-26 | 中诚华隆计算机技术有限公司 | Safety protection method for Chiplet chip system |
WO2024113813A1 (en) * | 2022-11-29 | 2024-06-06 | 苏州元脑智能科技有限公司 | Power consumption reducing method and system, computer device and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103744747A (en) * | 2014-01-08 | 2014-04-23 | 东南大学 | Power failure controlling device for programmable logic controller (PLC) |
CN103973508A (en) * | 2013-02-01 | 2014-08-06 | 中兴通讯股份有限公司 | Node equipment and method for same entering and exiting energy-saving mode |
CN105739666A (en) * | 2014-11-05 | 2016-07-06 | 财团法人工业技术研究院 | Conversion method for reducing power consumption and computing device thereof |
CN205427831U (en) * | 2015-12-02 | 2016-08-03 | 中国地质大学(武汉) | Central air conditioning controller falls electric data backup device |
CN111506457A (en) * | 2020-04-22 | 2020-08-07 | 蒋子杰 | Block chain data backup method |
CN111684391A (en) * | 2017-12-28 | 2020-09-18 | 超威半导体公司 | System wide low power management |
CN111684426A (en) * | 2017-12-21 | 2020-09-18 | 超威半导体公司 | Low power management for multi-node systems |
CN112131040A (en) * | 2020-09-30 | 2020-12-25 | 郑州信大捷安信息技术股份有限公司 | Wear balance management method and system for power-down backup area of smart card |
CN112181725A (en) * | 2020-09-25 | 2021-01-05 | 江苏恒宝智能系统技术有限公司 | Power-down anti-pulling backup method and system for on-chip and off-chip data of embedded system |
CN113553227A (en) * | 2021-07-26 | 2021-10-26 | 长鑫存储技术有限公司 | Detection device and method and electronic equipment |
CN114237974A (en) * | 2020-09-09 | 2022-03-25 | 浙江宇视科技有限公司 | Data backup method and device, equipment and storage medium |
-
2022
- 2022-04-19 CN CN202210407135.4A patent/CN114490194B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103973508A (en) * | 2013-02-01 | 2014-08-06 | 中兴通讯股份有限公司 | Node equipment and method for same entering and exiting energy-saving mode |
CN103744747A (en) * | 2014-01-08 | 2014-04-23 | 东南大学 | Power failure controlling device for programmable logic controller (PLC) |
CN105739666A (en) * | 2014-11-05 | 2016-07-06 | 财团法人工业技术研究院 | Conversion method for reducing power consumption and computing device thereof |
CN205427831U (en) * | 2015-12-02 | 2016-08-03 | 中国地质大学(武汉) | Central air conditioning controller falls electric data backup device |
CN111684426A (en) * | 2017-12-21 | 2020-09-18 | 超威半导体公司 | Low power management for multi-node systems |
CN111684391A (en) * | 2017-12-28 | 2020-09-18 | 超威半导体公司 | System wide low power management |
CN111506457A (en) * | 2020-04-22 | 2020-08-07 | 蒋子杰 | Block chain data backup method |
CN114237974A (en) * | 2020-09-09 | 2022-03-25 | 浙江宇视科技有限公司 | Data backup method and device, equipment and storage medium |
CN112181725A (en) * | 2020-09-25 | 2021-01-05 | 江苏恒宝智能系统技术有限公司 | Power-down anti-pulling backup method and system for on-chip and off-chip data of embedded system |
CN112131040A (en) * | 2020-09-30 | 2020-12-25 | 郑州信大捷安信息技术股份有限公司 | Wear balance management method and system for power-down backup area of smart card |
CN113553227A (en) * | 2021-07-26 | 2021-10-26 | 长鑫存储技术有限公司 | Detection device and method and electronic equipment |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115061561A (en) * | 2022-07-01 | 2022-09-16 | 深圳市创智成科技股份有限公司 | Power saving method, device and system for equipment and storage medium |
CN115150437A (en) * | 2022-09-01 | 2022-10-04 | 国汽智控(北京)科技有限公司 | Node deployment method, device and equipment applied to automatic driving system of vehicle |
CN115150437B (en) * | 2022-09-01 | 2022-11-29 | 国汽智控(北京)科技有限公司 | Node deployment method, device and equipment applied to automatic driving system of vehicle |
WO2024113813A1 (en) * | 2022-11-29 | 2024-06-06 | 苏州元脑智能科技有限公司 | Power consumption reducing method and system, computer device and storage medium |
CN117290898A (en) * | 2023-10-18 | 2023-12-26 | 中诚华隆计算机技术有限公司 | Safety protection method for Chiplet chip system |
CN117290898B (en) * | 2023-10-18 | 2024-05-03 | 中诚华隆计算机技术有限公司 | Security protection method for Chiplet chip system |
Also Published As
Publication number | Publication date |
---|---|
CN114490194B (en) | 2022-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114490194B (en) | Power failure processing method, functional node, processing system, device and storage medium | |
TWI410789B (en) | System on a chip and method for the same | |
TWI506559B (en) | Dynamic and selective deactivation of cores and resetting of multiple core microprocessors and methods thereof | |
US11301406B2 (en) | Method, apparatus and system for role transfer functionality for a bus master | |
US8725893B2 (en) | Method and system for configuring a plurality of network interfaces that share a physical interface | |
TWI795491B (en) | Drive-to-drive storage system, storage drive and method for storing data | |
TWI483265B (en) | Hardware dynamic cache power management | |
US9632557B2 (en) | Active state power management (ASPM) to reduce power consumption by PCI express components | |
US7761696B1 (en) | Quiescing and de-quiescing point-to-point links | |
CN115686872B (en) | BMC-based memory resource processing equipment, method, device and medium | |
CN114879829B (en) | Power consumption management method and device, electronic equipment, graphic processor and storage medium | |
US12282366B2 (en) | System, apparatus and methods for power communications according to a CXL power protocol | |
CN111512266A (en) | System, apparatus, and method for handshake protocol for low power state transitions | |
US20160306634A1 (en) | Electronic device | |
US20190087378A1 (en) | Method, Apparatus And System For Power Supply Policy Exchange On A Bus | |
CN111752607A (en) | System, apparatus and method for bulk register access in a processor | |
US9092334B2 (en) | Method for shortening enumeration of tightly coupled USB device | |
WO2025050892A1 (en) | Data processing method, switching board, data processing system and data processing apparatus | |
EP3716084A1 (en) | Apparatus and method for sharing a flash device among multiple masters of a computing platform | |
CN116521209A (en) | Operating system upgrading method and device, storage medium and electronic equipment | |
CN112433596A (en) | Link width adjusting method, device, equipment and storage medium | |
CN119025171B (en) | Method and device for starting server equipment | |
US20130007768A1 (en) | Atomic operations on multi-socket platforms | |
WO2012103768A1 (en) | Method and apparatus for data processing, pci-e bus system and server | |
CN118860507A (en) | Business interaction system, method, storage medium, and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |