摘要:
Embodiments of the present invention provide a memory access method, a storage-class memory, and a computer system. The computer system includes a memory controller and a hybrid memory, and the hybrid memory includes a dynamic random access memory DRAM and a storage-class memory SCM. The memory controller is configured to send a first access instruction to the DRAM and the SCM. When determining that a first memory cell set that is of the DRAM and to which a first address in the received first access instruction points includes a memory cell whose retention time is shorter than a refresh cycle of the DRAM, the SCM may obtain a second address having a mapping relationship with the first address. Further, the SCM converts, according to the second address, the first access instruction into a second access instruction for accessing the SCM, to implement access to the SCM. The computer system provided in the embodiments of the present invention can ensure correctness of data while reducing power consumption for DRAM refresh.
摘要:
Embodiments of this application provide an intention identification model learning method and an apparatus, and a device, and relates to the field of communications technologies, to help improve accuracy of the intention identification model in a human-machine dialog system, improve accuracy of task execution in the human-machine dialog system, and improve user experience. The method includes: receiving, by a server, positive data (S101) that corresponds to a first skill and that is entered by a skill developer; generating, by the server based on the positive data that corresponds to the first skill, negative data (S102) that corresponds to the first skill; determining, by the server, a second skill (S103) similar to the first skill; obtaining, by the server, data (S104) that corresponds to each second skill; generating, by the server, a second base model (S105) based on the data that corresponds to the second skill and a first base model stored on the server; and performing learning (S 106), by the server, based on the second base model and the positive data and the negative data that correspond to the first skill, and generating an intention identification model.
摘要:
This application provides a memory access technology and a computer system. The computer system includes a memory controller, a media controller, and a non-volatile memory NVM connected to the media controller. After receiving a first read command that is sent by the memory controller, the media controller may read first data from the NVM based on a first address in the first read command. Then the media controller can return, to the memory controller, at least two fixed-length data subblocks and metadata of the at least two data subblocks based on at least two send commands sent by the memory controller. The metadata includes a location identifier that is used to indicate an offset of a corresponding data subblock in the first data. The memory controller combines the at least two data subblocks into the first data based on location identifiers in the metadata of the at least two data subblocks.
摘要:
Embodiments of the present invention provide an information storage apparatus and method, and the apparatus includes: a magnetic track, where the magnetic track consists of multiple magnetic domains, and each magnetic domain is divided into at least two magnetic regions; a writing unit, disposed on the magnetic track, where information is written to the at least two magnetic regions of each magnetic domain by the writing unit; and a reading unit, disposed on the magnetic track, where the information written to the at least two magnetic regions is read by the reading unit; therefore, multiple pieces of valid information are written to one magnetic domain of the magnetic track, which increases storage density of the magnetic track, and expands a storage capacity of the storage apparatus.
摘要:
This application discloses an image recognition accelerator, a terminal device, and an image recognition method. The image recognition accelerator includes a dimensionality-reduction processing module, an NVM, and an image matching module. During an image recognition process of the image recognition accelerator, the dimensionality-reduction processing module first reduces a dimensionality of first image data according to a specified dimensionality-reduction parameter γ. The NVM writes, into a first storage area of the NVM according to a specified first current I, ω low-order bits of each numeric value of the first image data on which dimensionality reduction has been performed, and writes, into a second storage area of the NVM according to a specified second current, (N-ω) high-order bits of each numeric value of the first image data on which dimensionality reduction has been performed. The first current is lower than the second current. In this way, the matching module may determine whether an image library stored in the NVM includes image data matching the first image data on which dimensionality reduction has been performed. The image recognition accelerator provided in embodiments of the present invention can ensure accuracy of image recognition while reducing a system power consumption of the terminal device.
摘要:
Embodiments of the present invention provide a write apparatus and a magnetic memory, where the write apparatus includes: a first drive port, a second drive port, a first information storage area, a second information storage area, and an information buffer, where there is a first area between the first information storage area and the information buffer, there is a second area between the second information storage area and the information buffer, the first information storage area, the second information storage area, and the information buffer are made of a first magnetic material, the first area and the second area are made of a second magnetic material, and magnetic energy of the first magnetic material is higher than magnetic energy of the second magnetic material; the first information storage area is configured to write first data to the information buffer; the second information storage area is configured to write second data to the information buffer; and the information buffer is configured to buffer data written from the first information storage area or the second information storage area, and write the buffered data to a magnetic domain of the magnetic memory, which can ensure write stability of the magnetic memory.
摘要:
A cabinet server and a data center based on the cabinet server are disclosed. The cabinet server includes at least two function nodes, multiple intra-cabinet antennas, and multiple inter-cabinet antennas. The function nodes are vertically arranged, to form a server core; and the intra-cabinet antennas are vertically arranged, disposed at a side of the server core, and electrically connected to corresponding function nodes, and adjacent intra-cabinet antennas are wirelessly connected. When a radio signal is transmitted within the cabinet server, a transmission path is formed of the vertically arranged intra-cabinet antennas. Because the intra-cabinet antennas are disposed at the side of the server core, electromagnetic radiation generated by the radio signal in a transmission process has a relatively small effect on the function nodes, thereby reducing the effect of the electromagnetic radiation on various electronic devices in the function nodes, improving service lives of the electronic devices, and improving transmission quality of the radio signal.
摘要:
The present invention relates to a method and apparatus for writing data to a storage medium, where the method for writing data to a storage medium includes: writing data to a storage unit of a storage medium according to a write cycle of the storage medium, where the storage unit is a read/write unit of the storage medium; after write operations are concurrently executed on n storage units in a first write cycle, counting a quantity k of storage units in which writing succeeds among the n storage units in the first write cycle; and starting, in a second write cycle, write operations on subsequent data whose data amount is m storage units in addition to performing write operations on n-k storage units in which writing is not successful. Statistics about a case in which writing to storage units in the first write cycle succeeds are collected, and when write operations on the k storage units are completed in the first write cycle, write operations on m subsequent storage units are started in the second write cycle, which can improve efficiency in writing data to the storage medium.
摘要:
Embodiments of the present invention provide a storage unit, a memory, and a method for controlling a storage unit, to increase storage density and reduce power consumption. The storage unit includes: a U-shaped magnetic track, a first drive circuit, a second drive circuit, a first drive port, and a second drive port, where the U-shaped magnetic track includes a first port, a second port, a first storage area, and a second storage area; the first drive circuit is configured to drive the first storage area, and the second drive circuit is configured to drive the second storage area; by controlling input voltages of the first port, the second port, the first drive port, and the second drive port and driving the first drive circuit, a current pulse is generated in the first storage area, and a magnetic domain in the first storage area is driven to move; and by controlling the input voltages of the first port, the second port, the first drive port, and the second drive port and driving the second drive circuit, a current pulse is generated in the second storage area, and a magnetic domain in the second storage area is driven to move.