Abstract:
A wireless local area network roaming method and a communications apparatus are provided, to improve a roaming effect of a terminal device in a wireless local area network. In the method, a control device selects, in place of a terminal device, an optimal roaming access point of the terminal device, to reduce a time consumed for determining the optimal roaming AP. After the optimal roaming access point of the terminal device is determined, an associated access point instructs the terminal device to attempt to roam to the optimal roaming access point. Because duration required for searching for the optimal roaming AP is reduced, a probability of data loss of the terminal device in a roaming process can be reduced, and a roaming effect of the terminal device in the wireless local area network is improved.
Abstract:
A mapper node and a reducer node respectively run on different central processing units (CPUs) in a CPU pool, and a remote shared partition shared by the mapper node and the reducer node is delimited in the storage pool. The mapper node executes a map task to obtain a data segment, and stores the data segment into a remote shared partition. The reducer node directly obtains a to-be-processed data segment from the remote shared partition, and executes a reduce task on the to-be-processed data segment.
Abstract:
A primary node-standby node data transmission method includes an indication that a control node obtains an operation log generated by a primary node, where the operation log includes at least one operation record, and each operation record indicates a record of performing, by the primary node, a write operation on a local cache or a storage unit in a storage device. The method further includes the control node determining a first storage unit set that corresponds to a first standby node, the control node determining a second storage unit set that corresponds to the at least one operation record, the control node obtaining an operation record from the operation log, and the control node sending the corresponding operation record to the first standby node, where the storage unit intersection set is an intersection set of storage units in the first storage unit set and the second storage unit set.
Abstract:
A communications system and a communication method are disclosed. The communication method includes: sending, by a first computing node, a communication manner parsing request to a management node, where the communication manner parsing request includes an identifier of the first computing node and an identifier of a second computing node; determining, by the management node, information about a physical communication manner between the first computing node and the second computing node according to the communication manner parsing request and communication manner reference information, where the communication manner reference information includes system topology information and a system physical resource allocation result; sending, by the management node, the information about the physical communication manner to the first computing node; and communicating, by the first computing node, with the second computing node based on the information about the physical communication manner. Embodiments of the present disclosure can improve communication efficiency.
Abstract:
A method and apparatus for system call command batch processing are provided. The method enable system call commands of a same type to be processed in a same CPU core according to a sequence of entering a kernel, thereby ensuring that returned results of the system call commands are sequential.
Abstract:
A virtual trusted platform module function implementation method is provided, the method is executed at an exception level EL3 of a processor that uses an ARM V8 architecture, and the method includes: generating, according to requirements of one or more VMs, one or more vTPM instances corresponding to each VM, and storing the generated one or more vTPM instances in preset secure space, where each vTPM instance has a dedicated instance communication queue for a VM corresponding to itself to use, and a physical address is allocated to each instance communication queue; and interacting with a VMM and the VM, so that the VM acquires a VM communication queue virtual address, in VM virtual address space, corresponding to a communication queue physical address of the vTPM instance, and the VM communicates with a vTPM instance communication queue by using the VM communication queue virtual address.
Abstract:
A gesture control method, a gesture control apparatus and a terminal device to enrich interaction manners of the terminal device, where the method includes detecting a touch action performed on a touchscreen of a terminal device, obtaining a contact area of the touch action on the touchscreen and a z-axis acceleration generated when the touch action is in contact with the touchscreen, determining that the touch action is a joint touch action when the contact area is larger than a preset area and the z-axis acceleration is greater than a preset acceleration, identifying a gesture type corresponding to the joint touch action, and calling a preset function of the terminal device according to the gesture type.
Abstract:
Embodiments of the present application provide an aggregation frame design method and apparatus, the method includes: selecting, by a transmit end from N different hash function groups, one group that has a same sequence number as that of each receive end, mapping a MAC address of each receive end into a number X, and denoting the number X; obtaining M first sequences of each receive end, and performing a bitwise OR operation on the M first sequences to obtain an identification sequence of each receive end; obtaining N identification sequences of N receive ends, performing a bitwise OR operation on the N identification sequences to obtain a Bloom sequence, and encoding and modulating the Bloom sequence to map the Bloom sequence onto an OFDM symbol; and forming an aggregation frame by using a pilot signal, the OFDM symbol, the N identification sequences, and data of the N receive ends.
Abstract:
The present invention provides a protection switching method for a passive optical network. The method includes receiving, by an optical network unit ONU through each of two uplink passive optical network PON interfaces, an optical network terminal management and control interface OMCI message delivered by an OLT, where the OMCI message includes: configuration information on a work side and configuration information on a protect side; and processing, by the ONU by using each of two independent OMCI MIBs of the ONU, the OMCI message received by each of the two uplink PON interfaces, updating each of the two independent OMCI MIBs according to the OMCI message, and independently responding to the OMCI message.
Abstract:
Embodiments of the present invention provide a method, a device, and a system for playing a video advertisement. The method includes: receiving at least one of image feature data, a subtitle text, and an audio text of a video file sent by a client; obtaining a feature fusion result vector of the video file according to the at least one of the image feature data, subtitle text, and audio text of the video file; performing similarity matching calculation on feature fusion result vectors of advertisement files to be placed and the feature fusion result vector of the video file and determining one or more advertisement files of maximum similarity as a matching advertisement file; and sending the matching advertisement file to the client. With the embodiments of the present invention, an advertisement played on a client is more adaptable to a scene being played on the client.