Abstract:
A data transmission method includes receiving a service request sent by a terminal device. The method also includes determining, based on the service request, a target transmission path of service data corresponding to the service request and a change policy corresponding to the target transmission path. The method further includes changing, according to the change policy, a current content delivery network (CDN) to a target CDN. The target CDN includes a plurality of serving nodes corresponding to the target transmission path. The method additionally includes sending an indication message to a first serving node in the target CDN to indicate the first serving node to send the service data to the terminal device through the target transmission path; or sending an indication message to a second serving node in the target CDN to indicate the second serving node to send the service data to the terminal device.
Abstract:
A first aspect relates to a computer-implemented method for performing model compression. The method includes compressing a machine learning (ML) network model comprising a multiple layer structure to produce a compressed ML network model. The compressed ML network model maintains the multiple layer structure of the ML network model. The method generates a model file for the compressed ML network model. The model file includes the compressed ML network model and decoding information for enabling the ML network model to be decompressed and executed layer-by-layer.
Abstract:
A data caching method and a computer system are provided. In the method, when a miss of an access request occurs and a cache needs to determine a to-be-replaced cache line, not only a historical access frequency of the cache line but also a type of a memory corresponding to the cache line needs to be considered. A cache line corresponding to a DRAM type may be preferably replaced, which reduces a caching amount in the cache for data stored in a DRAM and relatively increase a caching amount for data stored in an NVM., For an access request for accessing the data stored in the NVM, corresponding data can be found in the cache whenever possible, thereby reducing cases of reading data from the NVM. Thus, a delay in reading data from the NVM is reduced, and access efficiency is effectively improved.
Abstract:
An image processing method. The method is applied to an electronic device. The electronic device is configured execute instructions to obtain a plurality of frames of images of a front angle of view of a user and generally to perform a method that includes: determining a first route if a crosswalk is detected in the plurality of frames of images, where the first route is a safe walking route on the crosswalk; obtaining, based on the plurality of frames of images, a second route that the user actually walks; and outputting first indication information to the user if an included angle between the first route and the second route in a same reference system is greater than or equal to a preset angle, where the first indication information indicates that the second route is abnormal.
Abstract:
A data caching method and a computer system are provided. In the method, when a miss of an access request occurs and a cache needs to determine a to-be-replaced cache line, not only a historical access frequency of the cache line but also a type of a memory corresponding to the cache line needs to be considered. A cache line corresponding to a DRAM type may be preferably replaced, which reduces a caching amount in the cache for data stored in a DRAM and relatively increase a caching amount for data stored in an NVM. For an access request for accessing the data stored in the NVM, corresponding data can be found in the cache whenever possible, thereby reducing cases of reading data from the NVM. Thus, a delay in reading data from the NVM is reduced, and access efficiency is effectively improved.
Abstract:
A memory reclamation method and apparatus are disclosed. The memory reclamation method is performed by a processor for reclaiming memory pages of a non-volatile memory (NVM) in a terminal device. In the method, the processor receives a memory reclamation request message including a reclamation identifier which is used to indicate a quantity of memory pages requested to be reclaimed. Then, the processor reclaims inactive memory pages of the NVM according to the reclamation identifier in ascending order of the write times of inactive memory pages of the NVM. According to the memory reclamation method, a page having a relatively small quantity of inactive memory page write times of the NVM is reclaimed first, and a page having a relatively large quantity of inactive memory page write times of the NVM is reclaimed later.
Abstract:
A first aspect relates to a computer-implemented method for performing model compression. The method includes compressing a machine learning (ML) network model comprising a multiple layer structure to produce a compressed ML network model. The compressed ML network model maintains the multiple layer structure of the ML network model. The method generates a model file for the compressed ML network model. The model file includes the compressed ML network model and decoding information for enabling the ML network model to be decompressed and executed layer-by-layer.
Abstract:
A dynamic power consumption estimation method includes recording a statistical value of each of n target signals of a to-be-measured target in a unit time, where the target signal is a clock signal obtained after clock gating and the statistical value is a quantity of times toggling, or the target signal is a clock gating signal and the statistical value is a quantity of enable cycles, and calculating the dynamic power consumption of the to-be-measured target in the unit time based on the statistical value of each of the n target signals in the unit time.
Abstract:
A method for detecting symmetry of optical fibers and a device thereof are provided. The method includes: receiving, by a boundary clock, a first timestamp message carrying a first timestamp via a slave port, and a second timestamp message carrying a second timestamp via a passive port; and determining, by the boundary clock, symmetry of optical fibers according to at least the first timestamp and the second timestamp. The method and device for detecting symmetry of optical fibers provided by the present disclosure reduce the cost of detecting symmetry of optical fibers in the conventional technology, and improve the efficiency of detecting symmetry of optical fibers in the conventional technology.
Abstract:
Embodiments of the present invention include a method for synchronizing a popularity value of distributed cache data, a method, an apparatus, and a system for cooperative and distributed caching. The synchronizing method includes: receiving, by a first base station, a request for accessing a packet domain service sent by a user equipment; if the first base station determines that the packet domain service is locally cached, sending the packet domain service to the user equipment and incrementing a current popularity value of the packet domain service in a list of locally cached content of the first base station according to a preset function; and sending, when the current popularity value of the packet domain service is accumulated to a preset threshold, the current popularity value to a popularity information synchronizing node for synchronization, and clearing the current popularity value locally cached. The present invention saves a transmission bandwidth of an IUB interface.