Abstract:
The present invention discloses a method and an apparatus for configuring a network policy of a virtual network. The method includes: receiving, by a server, a network policy message sent by a virtual machine management center and used for creating a virtual network, where the network policy message for creating a virtual network includes a virtual network identification (VNID) of a virtual network to be created and network policy configuration information corresponding to the virtual network to be created; and sending, by the server, a network policy synchronization message to a network device, where the network policy synchronization message includes the VNID of the virtual network to be created and the network policy configuration information corresponding to the virtual network to be created. Consequently, processing overheads can be reduced.
Abstract:
Example methods and apparatus for recognizing a vehicle lane change trend are described. One example method includes obtaining laser point cloud data of a detected target vehicle. A first distance relationship value between a center line of a lane in which the current vehicle is located and the target vehicle is obtained based on the laser point cloud data. A second distance relationship value between the center line of the lane and the target vehicle is obtained. First confidence of the first distance relationship values and second confidence of the second distance relationship values are calculated, and fusion distance relationship values are then calculated based on the first confidence and the second confidence. It is determined whether the target vehicle has a lane change trend based on the fusion distance relationship values.
Abstract:
An instance segmentation method and apparatus are provided. A to-be-trained segmentation network performs the following processing on each instance group that is in a sample original image and that is of pixels of a marked instance, where each instance group includes at least one marked instance, and the processing includes: predicting at least two different first basic feature maps and a first attention feature map corresponding to each first basic feature map; performing weighted processing on the at least two first basic feature maps and pixel values of respective first attention feature maps corresponding to the at least two first basic feature maps, to obtain a first feature fusion map; and training the to-be-trained segmentation network based on the first feature fusion map and the sample original image. A segmentation model can precisely determine pixels of an instance in an original image.
Abstract:
A display method for an interactive system, an interactive system, and an electronic device are provided. The interactive system includes a display, and the display method for the interactive system includes: determining a display area and an extension area that are obtained by dividing the display; generating event information based on an operation performed by a user on the extension area; and responding, in the display area based on the event information, to an operation corresponding to the event information.
Abstract:
One example display method includes in response to receiving a display request from a target display device, determining a first display device and a second display device that support display of a target service, when a first distance between the first display device and a user is less than a. second distance between the second display device and the user, obtaining current first display data of the target service from the target display device and sending the current first display data to the first display device, and when that the first distance reported by the first display device is greater than the second distance reported by the second display device is subsequently obtained, obtaining current second display data of the target service from the target display device and sending the current second display data to the first display device and the second display device.
Abstract:
A method for protecting application data includes detecting a deleting operation performed by a first application on first data. The method also includes determining, based on a preset condition, whether to delete the first data of the first application. The method further includes renaming the first data of the first application based on a determination that the first application meets the preset condition. The method additionally includes storing the renamed first data in a memory.
Abstract:
A method for executing a hard disk operation command, a hard disk, and a storage medium. After an operation command is received, a target LUN in an idle state is determined; a target physical block that is to be accessed when the operation command is executed is determined from the target LUN; the operation command is stored in a processing waiting queue corresponding to a flash memory chip to which the target physical block belongs; and a working state of the target LUN is changed to a non-idle state when a quantity of operation commands that wait to be processed in a processing waiting queue respectively corresponding to each flash memory chip in the target LUN is greater than a preset threshold.