Abstract:
A method and apparatus for implementing multicast. When a multicast source performs route advertisement, route update is performed on a cross-DC integrated device, and a received device identifier and a received AS number are replaced with a device identifier and an AS number that are of the integrated device. In this way, when a multicast user joins the multicast source, each network device in the network can trace the multicast source based on a received route, and determine a multicast path that is from the multicast source to the multicast user. Therefore, it is possible to accurately perform, in a NG MVPN, cross-DC multicast on traffic of the multicast source.
Abstract:
This application provides a secondary cell group configuration method and apparatus. The method includes: receiving an LTE RRC reconfiguration message, where the LTE RRC reconfiguration message includes an NR configuration parameter, and the NR configuration parameter is used to configure an SCG; sending indication information when a terminal device does not support a configuration of the SCG, where the indication information is used to indicate that the SCG is abnormal. After receiving the indication information, if the network device determines that the terminal device needs to release the SCG, the network device may indicate the terminal device to release the SCG.
Abstract:
An ego-vehicle warning method includes determining a nearby area of an ego-vehicle based on moving information of the ego-vehicle, performing target classification on vehicles surrounding the ego-vehicle to obtain nearby vehicles in a plurality of directions and remote vehicle sets in the plurality of directions, for any remote vehicle in a remote vehicle set, calculating a shortest distance between the remote vehicle and a nearby vehicle in each direction that matches a direction of the remote vehicle in the plurality of directions in a future time period, and recording a time T when the shortest distance is less than a threshold D, and sending alarm information to a driver of the ego-vehicle based on the recorded time T.
Abstract:
A method and an apparatus for managing and scheduling tasks in a many-core system are presented. The method improves process management efficiency in the many-core system. The method includes, when a process needs to be added to a task linked list, adding a process descriptor pointer of the process to a task descriptor entry corresponding to the process, and adding the task descriptor entry to the task linked list; if a process needs to be deleted, finding a task descriptor entry corresponding to the process, and removing the task descriptor entry from the task linked list; and when a processor core needs to run a new task, removing an available priority index register with a highest priority from a queue of the priority index register.
Abstract:
A real-time multi-task scheduling method and apparatus for dynamically scheduling a plurality of tasks in the computing system are disclosed. In the method, a processor of the computing system determines that laxity correction should be performed for a currently scheduled task, and then acquires a remaining execution time of the currently scheduled task according to an execution progress of the currently scheduled task and a time for which the currently scheduled task has been executed. After acquiring a laxity of the currently scheduled task according to the remaining execution time of the currently scheduled task and a deadline of the currently scheduled task, the processor determines a priority of the currently scheduled task according to the laxity of the currently scheduled task, and re-determines a priority queue according to the priority of the task. Then, the processor scheduling the plurality of tasks according to the re-determined priority queue.
Abstract:
A real-time multi-task scheduling method and apparatus for dynamically scheduling a plurality of tasks in the computing system are disclosed. In the method, a processor of the computing system determines that laxity correction should be performed for a currently scheduled task, and then acquires a remaining execution time of the currently scheduled task according to an execution progress of the currently scheduled task and a time for which the currently scheduled task has been executed. After acquiring a laxity of the currently scheduled task according to the remaining execution time of the currently scheduled task and a deadline of the currently scheduled task, the processor determines a priority of the currently scheduled task according to the laxity of the currently scheduled task, and re-determines a priority queue according to the priority of the task. Then, the processor scheduling the plurality of tasks according to the re-determined priority queue.
Abstract:
The present invention provides a dynamic set associative cache apparatus for a processor. When read access occurs, the apparatus first determines a valid/invalid bit of each cache block in a cache set to be accessed, and sets, according to the valid/invalid bit of each cache block, an enable/disable bit of a cache way in which the cache block is located; then, reads valid cache blocks, compares a tag section in a memory address with a tag block in each cache block that is read, and if there is a hit, reads data from a data block in a hit cache block according to an offset section of the memory address.
Abstract:
An ego-vehicle warning method includes determining a nearby area of an ego-vehicle based on moving information of the ego-vehicle, performing target classification on vehicles surrounding the ego-vehicle to obtain nearby vehicles in a plurality of directions and remote vehicle sets in the plurality of directions, for any remote vehicle in a remote vehicle set, calculating a shortest distance between the remote vehicle and a nearby vehicle in each direction that matches a direction of the remote vehicle in the plurality of directions in a future time period, and recording a time T when the shortest distance is less than a threshold D, and sending alarm information to a driver of the ego-vehicle based on the recorded time T.
Abstract:
Embodiments of the present invention provide a system upgrade method and device, which can reduce a quantity and a time of service interruptions when an ONT and an OLT are upgraded. The method includes: detecting an upgrade triggering event, where the upgrade triggering event is used to instruct an optical network terminal ONT and an optical line terminal OLT to perform a concurrent upgrade; resetting the ONT to activate a preloaded ONT upgrade program; and restoring a service with the OLT. According to the embodiments of the present invention, an ONT and an OLT basically concurrently or synchronously perform upgrading and resetting, that is, a concurrent upgrade, so that a quantity and a time of service interruptions caused when the ONT and the OLT are upgraded are reduced, thereby improving user experience.
Abstract:
A method and an apparatus for managing and scheduling tasks in a many-core system are presented. The method improves process management efficiency in the many-core system. The method includes, when a process needs to be added to a task linked list, adding a process descriptor pointer of the process to a task descriptor entry corresponding to the process, and adding the task descriptor entry to the task linked list; if a process needs to be deleted, finding a task descriptor entry corresponding to the process, and removing the task descriptor entry from the task linked list; and when a processor core needs to run a new task, removing an available priority index register with a highest priority from a queue of the priority index register.