Abstract:
A video playing method and a terminal device and method including starting, by a terminal device, at least two playing instances based on an operation instruction of a user, where each of the at least two playing instances corresponds to a video display window, and where the video display window includes a first video display window and a second video display window, playing first channel content in the first video display window and playing second channel content in the second video display window according to a display mode selected by the user, detecting an operation gesture of the user on the first video display window or the second video display window, and adjusting playing modes of the first channel content and the second channel content according to the operation gesture of the user and a current display mode.
Abstract:
A video playing method and a terminal device, the method including starting, by a terminal device, at least two playing instances based on an operation instruction of a user, where each of the at least two playing instances corresponds to a video display window, and where the video display window comprises a first video display window and a second video display window, playing first channel content in the first video display window and playing second channel content in the second video display window according to a display mode selected by the user, detecting an operation gesture of the user on the first video display window or the second video display window, and adjusting playing modes of the first channel content and the second channel content according to the operation gesture of the user and a current display mode.
Abstract:
A video playing method and a terminal device and method including starting, by a terminal device, at least two playing instances based on an operation instruction of a user, where each of the at least two playing instances corresponds to a video display window, and where the video display window includes a first video display window and a second video display window, playing first channel content in the first video display window and playing second channel content in the second video display window according to a display mode selected by the user, detecting an operation gesture of the user on the first video display window or the second video display window, and adjusting playing modes of the first channel content and the second channel content according to the operation gesture of the user and a current display mode.
Abstract:
An image file obtaining method includes: determining a first value of each of N tasks in program source code, where the first value is first duration required for executing each of the N tasks or the first value is a ratio of the first duration to second duration, the second duration is duration required for loading each of the N tasks, and N is a positive integer; sorting the N tasks in descending order of the first values; and linking the sorted N tasks to obtain an image file. After downloading the image file, an embedded apparatus successively loads and executes the sorted N tasks, thereby shortening a startup time period of the embedded apparatus.
Abstract:
A method and an apparatus for managing a physical location of a network device. The method includes saving, in a first location table, received location information that is sent by a first network device, acquiring topology information of an entire network by communicating with a network controller, searching the topology information for a first top-of-rack switch that has a minimum network hop count to reach the first network device, adding the physical address of the first top-of-rack switch in the first location table to serve as a physical address of the first network device, and building an association between the physical address and the location information of the first network device. Therefore, a physical location of a network device can be conveniently and quickly managed, thereby greatly reducing a manual workload.
Abstract:
A cell radio network temporary identifier (C-RNTI) allocation method and device are disclosed. The method includes: when UE accesses a serving cell, randomly determining, by an entity at which the serving cell is located, a start position for selecting a C-RNTI, selecting a C-RNTI for the UE within a C-RNTI interval range starting from the start position, and allocating the selected C-RNTI to the UE. So the entity at which the serving cell is located randomizes the start position of allocation performed by the entity and uses the start position as a start position of an allocation interval, so that allocation of the C-RNTI is randomized.
Abstract:
A method and an apparatus for managing a physical location of a network device. The method includes saving, in a first location table, received location information that is sent by a first network device, acquiring topology information of an entire network by communicating with a network controller, searching the topology information for a first top-of-rack switch that has a minimum network hop count to reach the first network device, adding the physical address of the first top-of-rack switch in the first location table to serve as a physical address of the first network device, and building an association between the physical address and the location information of the first network device. Therefore, a physical location of a network device can be conveniently and quickly managed, thereby greatly reducing a manual workload.
Abstract:
A middle frame includes a flat part and a first recess part that are integrally molded, where the first recess part is recessed relative to a first surface of the flat part to form a first groove, where an opening is located on the first surface; the first recess part includes a bottom wall, a first side wall, and a second side wall, where an orientation of the bottom wall is the same as that of the first surface, the first side wall and the second side wall separately intersect the bottom wall, and the first side wall is connected to the second side wall; and an opening formed by the first side wall and the second side wall is gradually enlarged in a first direction parallel to a flow direction of a die casting material in a die casting molding process of the middle frame.
Abstract:
A cell radio network temporary identifier (C-RNTI) allocation method and device are disclosed. The method includes: when UE accesses a serving cell, randomly determining, by an entity at which the serving cell is located, a start position for selecting a C-RNTI, selecting a C-RNTI for the UE within a C-RNTI interval range starting from the start position, and allocating the selected C-RNTI to the UE. So the entity at which the serving cell is located randomizes the start position of allocation performed by the entity and uses the start position as a start position of an allocation interval, so that allocation of the C-RNTI is randomized.