Abstract:
This application discloses a task processing method. The method is applied to a computer system, and the computer system includes a user mode and a kernel mode. The user mode includes a plurality of tasks, and the tasks are threads or processes. The method includes: detecting, in the kernel mode, a type of a first request of entering a kernel entry; when the type of the first request indicates that a first task is suspended in the user mode, switching at least from a user-mode context of the first task to a user-mode context of a second task, recording a suspended state of the first task and a running time from a moment of starting to run the first task to a moment of suspending the first task, and skipping processing other scheduling statuses of the first task; and running the second task in the user mode.
Abstract:
Examples of phase-change arrays, phase-change memories, and electronic devices are described. In one example, a phase-change storage array includes a number of phase-change storage units, each of which includes a phase-change thin film. The phase-change thin film includes a phase-change material layer and a heterojunction layer, and the phase-change material layer is in contact with the heterojunction layer. The phase-change material layer is formed by using a phase-change material, and the heterojunction layer is formed by using a heterojunction material. A lattice mismatch degree between the heterojunction material and the phase-change material is less than or equal to 20%, a contact crystal surface of the heterojunction material and a contact crystal surface of the phase-change material have a same lattice angle, and a melting point of the heterojunction material is greater than a melting point of the phase-change material.
Abstract:
This application relates to the communications field, and in particular, to a head mounted display device for extending a display area of an electronic device and a processing method of the head mounted display device. A display of the electronic device displays first content of an image. The image further includes second content that is not displayed on the display of the electronic device. The head mounted display device obtains, by using an image sensor, the first content displayed on the display of the electronic device, performs projection transformation on the second content, and displays the obtained first content and the second content obtained after the projection transformation on the display of the head mounted display device. Therefore, when image resolution of a to-be-displayed image is greater than display resolution of the display of the electronic device, the entire image is clear without needing to be scaled down or cropped.
Abstract:
An example chip may include a substrate, an insulation layer located on a side of the substrate, and a first waveguide and a second waveguide that are in the insulation layer. The second waveguide is located on a side of the first waveguide away from the substrate. A transmission loss of the second waveguide is smaller than a transmission loss of the first waveguide. A first coupling portion of the first waveguide and a second coupling portion of the second waveguide form a first coupling structure, and the first coupling structure is configured to implement optical coupling between the first waveguide and the second waveguide.
Abstract:
Example neural architecture search methods and image processing methods and apparatuses in the field of computer vision in the field of artificial intelligence are provided. The example neural architecture search method includes determining search space and a plurality of construction units, superimposing the plurality of construction units to obtain a search network, adjusting, in the search space, network architectures of the construction units in the search network, to obtain optimized construction units, and establishing a target neural network based on the optimized construction units. In each construction unit, some channels of an output feature map of each node are processed by using a to-be-selected operation to obtain a processed feature map, and the processed feature map and a remaining feature map are stitched and then input to a next node.
Abstract:
An intelligent assistant control method is provided: starting, by a terminal device, a lens; displaying, by the terminal device, a preview interface on a display screen, where the preview interface includes a to-be-photographed object; and if the terminal device determines that the preview interface has been stably displayed for preset duration, displaying, by the terminal device, first prompt information of a photographing mode in the preview interface, where the first prompt information is used to recommend a first photographing mode to a user, and the first photographing mode is determined by the terminal device based on scene information of the to-be-photographed object.
Abstract:
A method and an apparatus provide network problem location based on subscriber perception. A server firstly receives and parses a call history record CHR log sent by a network management system, then determines, according to a parsing result, whether a call of a subscriber is a key quality indicator KQI exception event, and locates a location and a cause of the KQI exception event. The technical solutions provided in the present invention are capable of finding a network problem and locating the network problem from the perspective of subscriber perception.
Abstract:
An example laser has a rear reflector, a front facet spaced from the rear reflector, and a laser cavity defined between the rear reflector and the front facet. The laser comprises a Bragg grating located in the laser cavity, where a length of the Bragg grating (Lg) is in a range from 40% to 60% of a distance from the rear reflector to front of the Bragg grating, and a grating strength (Kappa*Lg) is in a range from 0.6 to 1.5.
Abstract:
A method includes acquiring multiple pieces of first received signal quality information at a receiver, where the multiple pieces of first received signal quality information represent qualities of signals received at the receiver, generating first conditional sample statistical values based on the multiple pieces of first received signal quality information and phase shift arrays corresponding to the signals, determining the first phase shift array that meets a communication requirement according to the first conditional sample statistical values, where the first phase shift array includes the phase shift value for at least one reflective element of an IRS, and configuring the IRS based on the first phase shift array.
Abstract:
A method includes: separately creating a rectangular area R1 and a rectangular area R2 by using the first line segment as one side; determining a vector V1=(V1r,V1g,V1b) of an RGB color space of the rectangular area R1 and a vector V2=(V2r,V2g,V2b) of the RGB color space of the rectangular area R2; converting the vector V1 to a vector a1=(h1,s1,b1) of an HSB color space, and converting the vector V2 to a vector a2=(h2,s2,b2) of the HSB color space; determining a vector a0=(h0,s0,b0) of the first line segment in the HSB color space based on the vector a1 and the vector a2; and converting the vector a0 to a vector V0=(V0r,V0g,V0b) in the RGB color space; and after each edge line segment in the target quadrilateral is processed, displaying the target quadrilateral based on a vector of each edge line segment in the target quadrilateral in the RGB color space.