CN-114281468-B - Apparatus, associated method, and readable storage medium for implementing thermomigration
Abstract
The present disclosure relates to systems, devices, boards, and methods of generating or interpreting information to be migrated that are implemented in a system-on-chip device including a universal interconnect interface and other processing devices, and readable storage media thereof. The computing device interacts with other processing devices to collectively complete a user-specified computing operation. The integrated circuit device may further comprise a storage device coupled to the computing device and the other processing device, respectively, for data storage by the computing device and the other processing device.
Inventors
- Request for anonymity
- Request for anonymity
Assignees
- 中科寒武纪科技股份有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20200928
Claims (11)
- 1. A system for implementing thermomigration preservation, comprising serialization means for: Responding to a hot migration starting request to generate a data structure of information to be migrated, wherein the information to be migrated comprises a structure body which is defined according to the relevance among data, and the structure body comprises at least one type, and each type consists of at least one data; generating a symbol identifier in the data structure for marking the structure, and Placing a prefix symbol in the symbol identifier and the name of the structure; Wherein the structure includes at least one type, the serialization means generating a type identifier in the data structure for documenting the type; wherein the type includes at least one variable, the serialization means generating a key identifier in the data structure for marking the variable.
- 2. The system of claim 1, wherein the key identifier comprises the prefix symbol, a name of the structure, and a name of the variable.
- 3. A system for implementing a thermal migration recovery, comprising: A read-only memory device storing firmware including a physical function virtualized as a plurality of virtual functions, the physical function receiving information to be migrated, the information to be migrated including a structure defined according to a correlation between data, the structure including at least one type, each of the types being composed of at least one data, the data structure of the information to be migrated including a symbol identifier for marking the structure, the symbol identifier including a prefix symbol and a name of the structure, and A deserializing device for identifying the name of the structure according to the prefix symbol; the data structure further comprises a type identifier for recording the type, and the deserializing device identifies the type according to the type identifier; Wherein the type comprises at least one variable, the data structure further comprises a key identifier for marking the variable, and the deserializing means identifies the variable based on the key identifier.
- 4. The system of claim 3, wherein the key identifier comprises the prefix symbol, a name of the structure, and a name of the variable.
- 5. An integrated circuit device comprising the system according to any of claims 1-4.
- 6. A board card comprising the integrated circuit device of claim 5.
- 7. A method of generating a data structure of information to be migrated, comprising: Receiving a request for starting the hot migration, and Generating the data structure in response to the hot migration start request, wherein the information to be migrated comprises a structure body which is defined according to the relativity between data, the structure body comprises at least one type, each type consists of at least one data, and the step of generating the data structure comprises the steps of generating a symbol identifier for marking the structure body, wherein the symbol identifier comprises a prefix symbol and the name of the structure body; Wherein the step of generating the data structure further comprises generating a type identifier for recording the type; Wherein the type includes at least one variable, the step of generating the data structure further comprising generating a key identifier to tag the variable.
- 8. The method of claim 7, wherein the key identifier comprises the prefix symbol, a name of the structure, and a name of the variable.
- 9. A method of interpreting information to be migrated, comprising: Receiving the information to be migrated, wherein the information to be migrated comprises a structure body which is defined according to the relativity between data, the structure body comprises at least one type, each type consists of at least one data, the data structure of the information to be migrated comprises a symbol identifier which is used for marking the structure body, and the symbol identifier comprises a prefix symbol and the name of the structure body; Identifying the prefix symbol, and Identifying the name of the structure according to the prefix symbol; wherein the data structure further comprises a type identifier to document the type, the method further comprising: identifying the type according to the type identifier; Wherein the type includes at least one variable, the data structure further includes a key identifier to tag the variable, the method further comprising: the variable is identified from the key identifier.
- 10. The method of claim 9, wherein the key identifier comprises the prefix symbol, a name of the structure, and a name of the variable.
- 11. A computer readable storage medium having stored thereon computer program code for thermo-migration, which when executed by a processor, performs the method of claim 7 or 10.
Description
Apparatus, associated method, and readable storage medium for implementing thermomigration Technical Field The present disclosure relates generally to the field of computers. More particularly, the present disclosure relates to a system, apparatus, board card and method of generating or interpreting information to be migrated and readable storage medium thereof for implementing thermomigration preservation. Background Live Migration (Live Migration), which is a process of completely saving the running state of a virtual machine by saving/recovering (LOAD), is also called Live Migration, i.e., a process of migrating the running state of the whole virtual machine from one physical server to another physical server. After recovery, the virtual machine is still running smoothly, and the user does not perceive any differences. In the field of artificial intelligence, thermomigration is not fully realized due to the high complexity of Application Specific Integrated Circuits (ASICs). Particularly, how to serialize information by an origin server and how to deserialize information by a destination server in a hot migration process is a problem to be solved in the prior art. Disclosure of Invention To at least partially solve the technical problems mentioned in the background art, the solution of the present disclosure provides a system, an apparatus, a board card, a method for generating or interpreting information to be migrated, and a readable storage medium thereof for implementing thermomigration preservation. According to one aspect of the disclosure, a system for implementing a thermomigration save is provided, comprising a serialization apparatus for generating a data structure of information to be migrated in response to a thermomigration initiation request, the information to be migrated comprising a structure, generating a symbol identifier in the data structure for marking the structure, and placing a prefix symbol and a name of the structure in the symbol identifier. According to another aspect of the present disclosure, a system for implementing thermal migration recovery is provided, including a read-only memory device and a deserializing device. The read-only memory device stores firmware, wherein the firmware comprises a physical function and is virtualized into a plurality of virtual functions, the physical function receives information to be migrated, the information to be migrated comprises a structural body, a data structure of the information to be migrated comprises a symbol identifier for marking the structural body, and the symbol identifier comprises a prefix symbol and a name of the structural body. The deserializing device is used for identifying the name of the structural body according to the prefix symbol. According to another aspect of the present disclosure, there is provided an integrated circuit device comprising a system as claimed in any one of the preceding claims, and a board comprising the integrated circuit device. According to another aspect of the disclosure, a method for generating a data structure of information to be migrated includes receiving a hot migration start request, generating the data structure in response to the hot migration start request, the information to be migrated including a structure, generating a symbol identifier to mark the structure, the symbol identifier including a prefix symbol and a name of the structure, and transmitting the information to be migrated. According to another aspect of the disclosure, a method for interpreting information to be migrated includes receiving the information to be migrated, the information to be migrated including a structure, a data structure of the information to be migrated including a symbol identifier to mark the structure, the symbol identifier including a prefix symbol and a name of the structure, identifying the prefix symbol, and identifying the name of the structure according to the prefix symbol. According to another aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program code for thermo-migration, which when executed by a processor, performs the aforementioned method. The method and the device can realize serialization of the information on the source server and deserialization of the information on the destination server, and achieve the technical effect of thermal migration. Drawings The description of the exemplary embodiments of the present disclosure, as well as other objects, features, and advantages, will become readily apparent from the following detailed description read with reference to the accompanying drawings. Several embodiments of the present disclosure are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which like reference numerals refer to similar or corresponding parts and in which: FIG. 1 is a schematic diagram illustrating an artificial intelligence