US Pat. No. 10,368,331

METHOD FOR REGISTERING ON VOICE-OVER-LTE NETWORK, DEVICE AND TERMINAL, AND COMPUTER STORAGE MEDIUM

ONEPLUS TECHNOLOGY (SHENZ...

1. A method for registration on a Voice over Long Term Evolution (VoLTE) network, comprising:detecting a VoLTE card to acquire an Integrate Circuit Card Identity (ICCID) number of the VoLTE card;
acquiring a first Issuer Identification Number (IIN) of the VoLTE card and a first length of the first IIN from the ICCID number;
acquiring a modem software configuration (MBN) list of a terminal to obtain a second IIN of each MBN file in the MBN list and a second length of the second IIN;
determining whether the first length exceeds a preset value or not;
in the case that the first length exceeds the preset value, sequentially comparing the second IINs with the first IIN until a second IIN that is identical to first N characters of the first IIN is found, a length of the N characters being the same as the second length; and
loading the MBN file corresponding to the found second IIN to register on the VoLTE network.

US Pat. No. 10,333,261

USB SIGNAL SWITCHING CIRCUIT, USB DATA LINE, USB SIGNAL SWITCHING METHOD AND STORAGE MEDIUM

ONEPLUS TECHNOLOGY (SHENZ...

1. A Universal Serial Bus (USB) signal switching circuit, which is applied to a USB data line that has a first USB plug and a second USB plug, either of front and back sides of an insulative tongue in the first USB plug being provided with a group of functional pins that is capable of implementing standard USB signal transmission independently, whereinthe USB signal switching circuit comprises a signal switching module and two switching modules connected to the signal switching module; functional pins Vbus on the front and back sides of the insulative tongue in the first USB plug are connected to a functional pin Vbus on the second USB plug via the respective switching modules; and
functional pins D+ and D? on the front and back sides of the insulative tongue in the first USB plug are connected to functional pins D+ and D? on the second USB plug via the signal switching module respectively,
wherein the signal switching module comprises a signal switching chip U1, and a functional pin VCC of the signal switching chip U1 is connected to the functional pin Vbus on the second USB plug through a resistor R1;
a functional pin S of the signal switching chip U1 is connected to the functional pin Vbus on the second USB plug through the switching module;
functional pins D+ and D? of the signal switching chip U1 are connected to the functional pins D+ and D? on the second USB plug respectively;
functional pins HSD1+ and HSD1? of the signal switching chip U1 are connected to the functional pins D+ and D? on the front side of the insulative tongue in the first USB plug respectively; and
functional pins HSD2+ and HSD2? of the signal switching chip U1 are connected to the functional pins D+ and D? on the back side of the insulative tongue in the first USB plug respectively.

US Pat. No. 10,404,845

METHOD AND DEVICE FOR CONTROLLING NOTIFICATION CONTENT PREVIEW ON MOBILE TERMINAL, AND STORAGE MEDIUM

ONEPLUS TECHNOLOGY (SHENZ...

1. A method for controlling a notification content preview on a mobile terminal, the method comprising:receiving a notification;
judging whether the mobile terminal is in a held state; and
in response to the mobile terminal is in the held state, generating a corresponding notification content preview according to the notification, and displaying the notification content preview on a screen of the mobile terminal,
wherein generating a corresponding notification content preview according to the notification comprise:
extracting content of the notification, generating the corresponding notification content preview in terms of a preset format;
wherein the mobile terminal comprises a sensor; judging whether the mobile terminal is in the held state comprises:
acquiring a capacitance value output by the sensor; and
comparing the capacitance value with a preset threshold value, and in response to the capacitance value is greater than the preset threshold value, recognizing that the mobile terminal is in the held state;
and wherein the sensor comprises a first sensor and a second sensor; the first sensor and the second sensor are respectively arranged at two opposite long side edges of the mobile terminal or are respectively arranged at positions, adjacent to the two opposite long side edges, on a back of the mobile terminal; comparing the capacitance value with the preset threshold value comprises:
acquiring a first capacitance value output by the first sensor and a second capacitance value output by the second sensor;
comparing the first capacitance value and the second capacitance value with a state threshold value to obtain contact states corresponding to the first capacitance value and the second capacitance value respectively; and
recognizing the held state of the mobile terminal according to the contact states;
and wherein the state threshold value comprises a first state threshold value and a second state threshold value, the contact states comprise a palm contact state and a finger contact state, the first state threshold value is corresponding to the palm contact state, the second state threshold value is corresponding to the finger contact state, and the first state threshold value is greater than the second state threshold value; the held state comprises a one-handed held state and a two-handed held state; and
wherein comparing the first capacitance value and the second capacitance value with the state threshold value to obtain the contact states corresponding to the first capacitance value and the second capacitance value respectively, and recognizing the held state of the mobile terminal according to the contact states comprises:
comparing the first capacitance value with the first state threshold value and the second state threshold value respectively, determining that the first capacitance value is corresponding to the palm contact state in response to that the first capacitance value is greater than or equal to the first state threshold value, determining that the first capacitance value is corresponding to the finger contact state in response to that the first capacitance value is smaller than or equal to the second state threshold value and is greater than the preset threshold value;
comparing the second capacitance value with the first state threshold value and the second state threshold value respectively, determining that the second capacitance value is corresponding to the palm contact state in response to that the second capacitance value is greater than or equal to the first state threshold value, determining that the second capacitance value is corresponding to the finger contact state in response to that the second capacitance value is smaller than or equal to the second state threshold value and is greater than the preset threshold value; and
determining that the mobile terminal is in the one-handed held state in response to that the contact states respectively corresponding to the first capacitance value and the second capacitance value are different, determining that the mobile terminal is in the two-handed held state in response to that the contact states respectively corresponding to the first capacitance value and the second capacitance value are the same.

US Pat. No. 10,467,054

RESOURCE MANAGEMENT METHOD AND SYSTEM, AND COMPUTER STORAGE MEDIUM

ONEPLUS TECHNOLOGY (SHENZ...

1. A resource management method, comprising:determining tasks in a task group and a preset task time corresponding to each task in the task group;
judging whether a sum of the preset task times corresponding to all the tasks in the task group is less than a preset time threshold;
if YES, determining a resource usage time quota of the task group to be the sum of the preset task times corresponding to all the tasks in the task group;
if NO, determining the resource usage time quota of the task group to be the time threshold;
determining allowable run time per unit time for each task in the task group, a sum of the allowable run time per unit time for all the tasks in the task group being less than or equal to the resource usage time quota of the task group; and
when each task in the task group is outside a corresponding running period in unit time, putting each task in the task group into a waiting state.

US Pat. No. 10,488,900

HEAT DISSIPATION CONTROL METHOD FOR OPERATION RESOURCES, OPERATION CONTROL SYSTEM, AND STORAGE MEDIUM

ONEPLUS TECHNOLOGY (SHENZ...

1. A method for controlling heat dissipation of a computation resource, comprising:determining whether there is a need for enabling or disabling a computer resource on basis of a preset condition;
when there is a need for enabling a computer resource, determining a computation resource to be enabled according to distances between each computation resource in computation resources in a disabled state and computation resources in an enabled state on the basis of a spatial position layout of computation resources in a current operating state, and enabling the computation resource to be enabled; and
when there is a need for disabling a computer resource, determining a computation resource to be disabled according to distances between the computation resources in the enabled state on the basis of the spatial position layout of the computation resources in the current operating state, and disabling the computation resource to be disabled.