CN117692977A - Network residence method and related equipment - Google Patents
Network residence method and related equipment Download PDFInfo
- Publication number
- CN117692977A CN117692977A CN202310742989.2A CN202310742989A CN117692977A CN 117692977 A CN117692977 A CN 117692977A CN 202310742989 A CN202310742989 A CN 202310742989A CN 117692977 A CN117692977 A CN 117692977A
- Authority
- CN
- China
- Prior art keywords
- cell
- cell information
- wireless communication
- short
- cells
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 89
- 238000004891 communication Methods 0.000 claims abstract description 109
- 238000012163 sequencing technique Methods 0.000 claims abstract description 18
- 230000015654 memory Effects 0.000 claims description 45
- 238000004590 computer program Methods 0.000 claims description 13
- 230000004044 response Effects 0.000 claims description 10
- 238000012790 confirmation Methods 0.000 claims description 4
- 210000004027 cell Anatomy 0.000 description 394
- 230000006870 function Effects 0.000 description 17
- 230000008569 process Effects 0.000 description 13
- 238000012545 processing Methods 0.000 description 10
- 238000010295 mobile communication Methods 0.000 description 9
- 230000005236 sound signal Effects 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 7
- 238000013528 artificial neural network Methods 0.000 description 4
- 210000000988 bone and bone Anatomy 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 4
- 229920001621 AMOLED Polymers 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 239000002096 quantum dot Substances 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 238000013529 biological neural network Methods 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000004807 localization Effects 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000001537 neural effect Effects 0.000 description 1
- 210000002569 neuron Anatomy 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001755 vocal effect Effects 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the application provides a network residence method and related equipment, wherein the method comprises the following steps: the second device detects whether the short-distance wireless communication connection with the first device is disconnected; and if the second equipment detects that the short-distance wireless communication connection with the first equipment is disconnected, selecting a cell for registration based on cell information, wherein the cell information comprises cell identifications of cells obtained by sequencing the signal strengths of the cells from strong to weak. By adopting the embodiment of the application, the second equipment can quickly select the cell with better signal strength for registration under the condition that the short-distance wireless communication connection with the first equipment is detected to be disconnected.
Description
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a network residence method and related devices.
Background
Currently, watches supporting embedded subscriber identity modules (embedded subscriber identity module, ESIM) perform cell search and cell registration after the bluetooth connection with the phone is broken. When the watch performs cell search and cell registration, the following two situations exist: (1) if the history frequency point exists, the watch performs cell search based on the history frequency point to obtain cell information of a cell on the history frequency point; then, a cell is selected for registration. Thus, there are cases where the signal of the cell in which the wristwatch is ultimately registered is poor. (2) If no history frequency point exists, the watch performs full-band network searching to read the cell information of the strongest signal cell on each frequency point; then, a cell is selected for registration. This results in a watch standing for a longer period of time.
Therefore, how to quickly select a cell with better signal strength for registration after the bluetooth connection between the watch and the mobile phone is disconnected becomes a problem to be solved.
Disclosure of Invention
The embodiment of the application provides a network residence method and related equipment, which can enable a second equipment to quickly select a cell with better signal strength for registration under the condition that the short-distance wireless communication connection with first equipment is detected to be disconnected.
In a first aspect, an embodiment of the present application provides a network residence method, applied to a second device, where the method includes:
detecting whether a short-range wireless communication connection with a first device is broken;
if the short-distance wireless communication connection with the first equipment is detected to be disconnected, selecting a cell for registration based on cell information, wherein the cell information comprises cell identifications of cells obtained by sequencing the signal strengths of the cells from strong to weak.
After implementing the method provided in the first aspect, since the cell information includes the cell identifiers of the cells obtained by sorting the signal strengths of the cells in the order from strong to weak, the second device can quickly select the cell with better signal strength to register based on the cell information when detecting that the short-distance wireless communication connection with the first device is disconnected. Therefore, the time for the second equipment to register the cell can be saved, and the second equipment can register the cell with better signal under the condition that the signal of the cell on the history frequency point is weak and the signal of the cell on the non-history frequency point is strong. In addition, the second device does not need to conduct cell search, so that power consumption caused by cell search can be reduced.
With reference to the first aspect, in an optional implementation manner, before detecting whether the short-range wireless communication connection with the first device is disconnected, the method further includes: cell information is received from a first device.
In this embodiment, the second device may further receive cell information from the first device before detecting whether the short-range wireless communication connection with the first device is disconnected, so that the second device may directly select a cell with a better signal strength to register based on the received cell information without performing cell search when detecting that the short-range wireless communication with the first device is disconnected.
With reference to the first aspect, in an optional implementation manner, selecting a cell for registration based on cell information includes: and selecting cells in sequence for registering according to the sequence from strong to weak signal strength of each cell in the cell information until the registration is successful.
In this embodiment, the second device may sequentially select cells for registration according to the order of signals from strong to weak of each cell, so that not only may a cell with better signal strength be selected for registration, but also the success rate of cell registration may be improved.
With reference to the first aspect, in an optional implementation manner, the method further includes: if all the cells in the selected cell information try registration and all the cells fail to register, determining own position information; acquiring cell information corresponding to the position information; and selecting a cell for registration based on the cell information corresponding to the position information.
In this embodiment, after all cells in the selected cell information fail to register, the second device may select a cell to register based on the cell information corresponding to the location information. Thus, the success rate of cell registration can be improved.
In a second aspect, an embodiment of the present application provides a network residence method, applied to a first device, where the method includes:
determining cell information, wherein the cell information comprises cell identifiers of cells obtained by sequencing according to the sequence from strong to weak of the signal intensity of each cell;
and sending cell information to the second device, wherein the second device is a device which has short-distance wireless communication connection with the first device, and the cell information is used for selecting a cell for registration when the second device detects that the short-distance wireless communication connection with the first device is disconnected.
After implementing the method provided in the second aspect, the first device sends the determined cell information to the second device, where the cell information includes cell identifiers of cells obtained by sorting the cells according to the order of strong signal strength to weak signal strength, so that the second device can quickly select a cell with better signal strength to register based on the received cell information when detecting that the short-distance wireless communication connection with the first device is disconnected.
With reference to the second aspect, in an optional implementation manner, determining cell information includes: if the connected second equipment is detected, periodically searching each cell in the current network environment; and determining cell information based on the searched cells.
In this embodiment, the first device may periodically search each cell in the current network environment, and obtain the cell identifier of each cell by sorting the signal strengths of each cell in order from strong to weak, so as to obtain the cell information. Therefore, the first device can send the cell information to the second device, and the second device can quickly select the cell with better signal strength for registration.
With reference to the second aspect, in an alternative implementation, the step of transmitting the cell information to the second device is performed before responding to a first operation input for the first device, the first operation being used to indicate that the short-range wireless communication connection with the second device is confirmed to be disconnected.
In this embodiment, the first device may send the cell information to the second device before receiving the indication from the user input to confirm the operation of disconnecting the short-range wireless communication with the second device, so that it is advantageous for the second device to quickly select, based on the cell information, a cell with better signal strength for registration when detecting that the short-range wireless communication with the first device has been disconnected.
With reference to the second aspect, in an alternative embodiment, the first operation is an operation acting on the first control, and the method further includes: outputting, in response to a second operation input for the first device, a first control whether to disconnect the short-range wireless communication connection with the second device; a first operation is received for a first device entered through a first control.
With reference to the second aspect, in an alternative embodiment, the method further includes: determining whether a signal strength of the communication with the second device reaches a first threshold; and if the signal strength of the communication with the second device is determined to reach the first threshold value, executing the step of transmitting the cell information to the second device.
In this embodiment, the first device may send the cell information to the second device when the communication strength with the second device is weaker, so that it is beneficial for the second device to quickly select, based on the cell information, a cell with better signal strength for registration when detecting that the short-distance wireless communication connection with the first device has been disconnected.
In a third aspect, embodiments of the present application provide an apparatus, including: one or more processors and memory; the memory is coupled with one or more processors, the memory for storing computer program code, the computer program code comprising computer instructions that the one or more processors call to cause the apparatus to perform: detecting whether a short-range wireless communication connection with a first device is broken; if the short-distance wireless communication connection with the first equipment is detected to be disconnected, selecting a cell for registration based on cell information, wherein the cell information comprises cell identifications of cells obtained by sequencing the signal strengths of the cells from strong to weak.
With reference to the third aspect, in an alternative embodiment, the one or more processors invoke the computer instructions to cause the apparatus to perform: receiving cell information from a first device prior to detecting whether a short-range wireless communication connection with the first device is broken
With reference to the third aspect, in an alternative embodiment, the one or more processors invoke the computer instructions to cause the apparatus to perform: and selecting cells in sequence for registering according to the sequence from strong to weak signal strength of each cell in the cell information until the registration is successful.
With reference to the third aspect, in an alternative embodiment, the one or more processors invoke the computer instructions to cause the apparatus to perform: if all the cells in the selected cell information try registration and all the cells fail to register, determining own position information; acquiring cell information corresponding to the position information; and selecting a cell for registration based on the cell information corresponding to the position information.
In a fourth aspect, embodiments of the present application provide an apparatus, including: one or more processors and memory; the memory is coupled with one or more processors, the memory for storing computer program code, the computer program code comprising computer instructions that the one or more processors call to cause the apparatus to perform: determining cell information, wherein the cell information comprises cell identifiers of cells obtained by sequencing according to the sequence from strong to weak of the signal intensity of each cell; and sending cell information to the second device, wherein the second device is a device which has short-distance wireless communication connection with the first device, and the cell information is used for selecting a cell for registration when the second device detects that the short-distance wireless communication connection with the first device is disconnected.
With reference to the fourth aspect, in an alternative embodiment, the one or more processors invoke the computer instructions to cause the apparatus to perform: if the connected second equipment is detected, periodically searching each cell in the current network environment; and determining cell information based on the searched cells.
With reference to the fourth aspect, in an alternative embodiment, the one or more processors invoke the computer instructions to cause the apparatus to perform: the step of transmitting cell information to the second device is performed prior to responding to a first operation input for the first device, the first operation being for indicating confirmation of disconnection of the short-range wireless communication connection with the second device.
With reference to the fourth aspect, in an alternative embodiment, the one or more processors invoke the computer instructions to cause the apparatus to perform: outputting, in response to a second operation input for the first device, a first control whether to disconnect the short-range wireless communication connection with the second device; receiving a first operation input through a first control for a first device
With reference to the fourth aspect, in an alternative embodiment, the one or more processors invoke the computer instructions to cause the apparatus to perform: determining whether a signal strength of the communication with the second device reaches a first threshold; and if the signal strength of the communication with the second device is determined to reach the first threshold value, executing the step of transmitting the cell information to the second device.
In a fifth aspect, embodiments of the present application provide an apparatus, comprising: the touch screen, the camera, one or more processors and one or more memories; the one or more processors are coupled with the touch screen, the camera, the one or more memories for storing computer program code comprising computer instructions that, when executed by the one or more processors, cause the apparatus to perform the method of the first aspect or any of the optional implementations of the first aspect or to perform the method of the second aspect or any of the optional implementations of the second aspect.
In a sixth aspect, the present application provides a chip system for use in a device, the chip system comprising one or more processors configured to invoke computer instructions to cause the device to perform the method according to the first aspect or any of the alternative embodiments of the first aspect, or to perform the method according to the second aspect or any of the alternative embodiments of the second aspect.
In a seventh aspect, the present embodiments provide a computer program product comprising instructions which, when run on a device, cause the device to perform the method according to the first aspect or any of the alternative embodiments of the first aspect, or to perform the method according to the second aspect or any of the alternative embodiments of the second aspect.
In an eighth aspect, the present application provides a computer readable storage medium comprising instructions which, when run on a device, cause the device to perform the method according to the first aspect or any of the alternative embodiments of the first aspect, or to perform the method according to the second aspect or any of the alternative embodiments of the second aspect.
Drawings
Fig. 1a to 1c are schematic views of a set of network residence methods according to embodiments of the present application;
fig. 2 is a schematic flow chart of a network residence method provided in an embodiment of the present application;
fig. 3 is a schematic flow chart of another network residence method according to an embodiment of the present application;
FIG. 4a is a schematic illustration of a user interface provided by an embodiment of the present application;
FIG. 4b is a schematic illustration of another user interface provided by an embodiment of the present application;
fig. 5 is a flow chart of another network residence method according to an embodiment of the present application;
fig. 6 is a schematic hardware architecture of a device 100 according to an embodiment of the present application;
fig. 7 is a schematic software architecture of a device 100 according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application for the embodiment. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly understand that the embodiments described herein may be combined with other embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The terms first, second, and the like in the description and in the claims and in the drawings, are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprising," "including," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion. For example, a series of steps or elements may be included, or alternatively, steps or elements not listed or, alternatively, other steps or elements inherent to such process, method, article, or apparatus may be included.
Only some, but not all, of the matters relevant to the present application are shown in the accompanying drawings. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently, or at the same time. Furthermore, the order of the operations may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like.
As used in this specification, the terms "component," "module," "system," "unit," and the like are intended to refer to a computer-related entity, either hardware, firmware, a combination of hardware and software, or software in execution. For example, a unit may be, but is not limited to being, a process running on a processor, an object, an executable, a thread of execution, a program, and/or being distributed between two or more computers. Furthermore, these units may be implemented from a variety of computer-readable media having various data structures stored thereon. The units may communicate by way of local and/or remote processes such as in accordance with a signal having one or more data packets (e.g., second unit data from another unit interacting with a local system, distributed system, and/or across a network).
At present, after the Bluetooth connection between the watch supporting the ESIM and the mobile phone is disconnected, the watch can control a modem (modem) to be powered on, so that the ESIM is powered on, and then cell search and cell registration can be performed. The watch has the following problems in the process of cell search and cell registration: (1) the signal of the cell in which the watch is finally registered is poor; (2) the watch has a longer residence time.
The embodiment of the application provides a network residence method, wherein a second device detects whether a short-distance wireless communication connection between the second device and a first device is disconnected; if the second equipment detects that the short-distance wireless communication connection with the first equipment is disconnected, selecting a cell for registration based on cell information; the cell message comprises cell identifications of cells obtained by sequencing the signal strengths of the cells from strong to weak.
After the network residence method provided by the application is implemented, the method has the following beneficial effects:
(1) The second device can quickly select a cell with better signal strength for registration based on the cell information under the condition that the short-distance wireless communication connection with the first device is detected to be disconnected. Therefore, the time for the second equipment to register the cell can be saved, and the second equipment can register the cell with better signal under the condition that the signal of the cell on the history frequency point is weak and the signal of the cell on the non-history frequency point is strong.
(2) The second device does not need to perform cell search, so that power consumption caused by cell search can be reduced.
In the present application, the first device may be mountedOr other operating system devices such as cell phones, tablet computers, desktop computers, laptop computers, handheld computers, notebook computers, ultra-mobile personal computer, UMPC, netbooks, and cell phones, personal digital assistants (personal digital assistant, PDA), augmented reality (augmented reality, AR) devices, virtual Reality (VR) devices, artificial intelligence (artificial intelligence, AI) devices, wearable devices, vehicle-mounted devices, smart home devices, and/or smart city devices, etc., the particular type of the first device is not particularly limited in this application.
In the present application, the second device may be a device having a short-range wireless communication connection with the first device, for example, a wristwatch, a smart band, etc. that supports ESIM, and the specific type of the second device is not particularly limited in the present application.
Alternatively, where the first device is a cell phone and the second device is an ESIM enabled wristwatch, the subscriber identity module (embedded subscriber identity module, SIM) card of the first device and the ESIM card of the second device belong to the same operator.
In the following, an application scenario of the network residence method provided in the embodiments of the present application will be described with reference to fig. 1a to 1c, taking a bluetooth connection as an example of a short-range wireless communication connection between a first device and a second device.
Fig. 1a is a schematic diagram of a short-range wireless communication system according to an embodiment of the present application. As shown in fig. 1a, the first device 101 is a smart phone and the second device 102 is a smart watch. Both the first device 101 and the second device 102 have bluetooth functionality enabled and a communication connection is established between the first device 101 and the second device 102 via bluetooth.
As shown in fig. 1b, after the application is set for the first device 101 to be started, a default user interface provided by the application is set. The user interface may include: flight mode, wiFi, bluetooth, personal hot spot, mobile network, etc. The first device 101 may detect a touch operation by a user on different function options in the user interface 11, in response to which the first device 101 may switch on or off the functions of the flight mode, wiFi, bluetooth, personal hot spot, mobile network, etc.
The "bluetooth" option 111 in the user interface is used to turn on or off the bluetooth function of the first device 101, which may be used to make a short-range wireless communication connection with the second device 102. The "bluetooth" option 111 includes a setting switch 111A, and the setting switch 111A can detect a touch operation by the user, and in response to the operation, the first device 101 turns on or off the bluetooth function. Illustratively, the bluetooth function is in an off state when the main color displayed by the switch 111A is white, and in an on state when the main color displayed by the switch 111A is gray.
As shown in fig. 1b, the first device 101 may detect a touch operation by the user on the setting switch 111A, and in response to the operation, the first device 101 turns off the bluetooth function, and the main color of the setting switch 111A changes from gray to white.
As shown in fig. 1c, is a user interface of the second device 102. A connection prompt box 222 may be included in the user interface. The connection prompt box 222 is used to indicate that the bluetooth connection between the second device 102 and the first device 101 is successful or disconnected. For example, "bluetooth connection has been disconnected" and "bluetooth connection is successful" may be displayed in the connection prompt box 222. Illustratively, if the second device 102 detects that the Bluetooth connection with the first device 101 has been broken, then a "Bluetooth connection broken" is displayed in the connection prompt box 222. At this time, the second device 102 may select a cell to register based on cell information including cell identities of the cells obtained by sorting the signal strengths of the cells in order from strong to weak.
The network residence method provided in the embodiment of the present application is described in detail below.
Referring to fig. 2, fig. 2 is a flow chart of a network residence method according to an embodiment of the present application. As shown in fig. 2, the network residence method may include, but is not limited to, the following steps:
s201, the second device detects whether the short-range wireless communication connection with the first device is disconnected.
The short-distance wireless communication means a technology that the furthest distance can reach more than 100m, and the technology such as semiconductor communication, wireless communication, electronic network and the like is utilized to effectively connect, so that wireless information transmission is realized within the range of 100 m. In short, a communication system is a communication system that uses the property of an electromagnetic wave signal that can propagate in free space to exchange information.
Alternatively, the short-range wireless communication connection may include, but is not limited to, a wireless fidelity (wireless fidelity, WIFI) connection, a bluetooth connection, a near field wireless communication (near field communication, NFC) connection, and the like.
And S202, if the second equipment detects that the short-distance wireless communication connection with the first equipment is disconnected, selecting a cell for registration based on cell information, wherein the cell information comprises cell identifications of cells obtained by sequencing the signal strengths of the cells from strong to weak.
Alternatively, the cell information may be sent by the first device to the second device, or may be pre-stored by the second device, which is not limited herein.
In an alternative embodiment, the second device selects a cell for registration based on the cell information, and may use the following manner: and selecting cells in sequence for registering according to the sequence from strong to weak signal strength of each cell in the cell information until the registration is successful. Therefore, on one hand, the second equipment can select the cell with better signal strength to register, and on the other hand, the success rate of cell registration can be improved.
For example, it is assumed that the cell information includes cell information of each of 5 cells, and cell identifiers of the 5 cells are, for example, cell 1, cell 2, cell 3, cell 4, and cell 5, where the 5 cells are ordered in order of strong to weak cell signal strengths, and the obtained cell identifiers are, in order, cell 3, cell 2, cell 5, cell 4, and cell 1. In this case, the second device may first select the cell 3 for registration, and if the registration is successful, determine to successfully camp on the cell 3, so that the mobile network may be normally used based on the cell 3. If the registration fails, the cell 2, the cell 5, the cell 4 and the cell 1 can be sequentially selected for registration until the registration is successful.
Optionally, if the second device detects that the short-distance wireless communication connection with the first device is disconnected, the second device may control the modem to power up, so that the ESIM powers up, and selects a cell to register based on the cell information.
In the embodiment of the application, the second device detects whether the short-distance wireless communication connection with the first device is disconnected; and if the second equipment detects that the short-distance wireless communication connection with the first equipment is disconnected, selecting a cell for registration based on cell information, wherein the cell information comprises cell identifications of cells obtained by sequencing the signal strengths of the cells from strong to weak. It can be seen that the second device can quickly select a cell with better signal strength for registration based on the cell information when detecting that the short-range wireless communication connection with the first device has been disconnected. Therefore, the time for the second equipment to register the cell can be saved, and the second equipment can register the cell with better signal under the condition that the signal of the cell on the history frequency point is weak and the signal of the cell on the non-history frequency point is strong.
Referring to fig. 3, fig. 3 is a flow chart of another network residence method according to an embodiment of the present application. The difference from the network residence method shown in fig. 2 is that in the network residence method shown in fig. 3, the second device also receives cell information from the first device. That is, in the network residence method shown in fig. 3, the description is given taking an example in which the cell information is transmitted by the first device. As shown in fig. 3, the network residence method may include, but is not limited to, the following steps:
S301, the first device determines cell information, wherein the cell information comprises cell identifications of cells obtained by sequencing the signal strengths of the cells from strong to weak.
In an alternative embodiment, the first device determines the cell information in the following manner: if the connected second equipment is detected, periodically searching each cell in the current network environment; and determining the cell information according to the searched cells.
In this embodiment, the determining, by the first device, cell information according to each searched cell may include: sequencing the cell identifiers of the cells according to the sequence from strong to weak of the signal intensity of the cells to obtain the sequenced cell identifiers of the cells; and determining the cell information based on the cell identification of each cell after sequencing. Alternatively, the cell identities of the cells may be ordered in the order of strong to weak signal strengths of the cells, or in the order of reference signal received powers (reference signal receiving power, RSRP) of signals of the cells.
For example, suppose a first device detects that a second device has been connected, searching for 5 cells in the current network environment, such as cell 1, cell 2, cell 3, cell 4, and cell 5, for a first time. The first device orders the cell 1, the cell 2, the cell 3, the cell 4 and the cell 5 according to the sequence from strong to weak cell signal intensity, and the obtained cell identifiers are the cell 3, the cell 2, the cell 5, the cell 4 and the cell 1 in sequence. In this case, the first device may determine that the cell identities in the cell information are cell 3, cell 2, cell 5, cell 4, and cell 1 in that order.
In this embodiment, the first device may further re-search each cell in the current network environment if a change in the currently camping cell is detected.
Optionally, if the first device has preferentially registered the 5th generation mobile communication technology (5 th-GenerationMobile Communication Technology, 5G) cell and the second device only supports the 4G cell, the first device may search each 4G cell in the current network environment if detecting that the second device is connected; and determining 4G cell information according to each searched 4G cell.
S302, the first equipment sends the cell information to the second equipment, and correspondingly, the second equipment receives the cell information from the first equipment.
In an alternative embodiment, the first device may perform the step of transmitting cell information to the second device prior to responding to a first operation entered for the first device indicating confirmation of disconnection of the short-range wireless communication with the second device.
In this embodiment, the first operation is an operation acting on the first control; the first device also outputs a first control whether to disconnect the short-range wireless communication connection with the second device in response to a second operation input to the first device; a first operation is received for a first device entered through a first control.
Taking a short-range wireless communication connection as an example of a bluetooth connection, the step of the first device performing a transmission of cell information to the second device before responding to a first operation input for the first device is illustrated in connection with fig. 4a and 4 b.
Referring to fig. 4a, fig. 4a is a schematic diagram of a user interface according to an embodiment of the present application. As shown in fig. 4a, a schematic diagram of a default user interface provided by the setup application after the first device 401 starts the setup application. As shown in fig. 4a, the user interface may include: flight mode, wiFi, bluetooth, personal hot spot, mobile network, etc. The first device 401 may detect a touch operation by a user on different function options in the user interface, in response to which the first device 401 may switch on or off the functions of the flight mode, wiFi, bluetooth, personal hot spot, mobile network, etc.
As shown in fig. 4a, the user may enter an operation for disconnecting the bluetooth connection of the first device 401 from the second device by clicking on the second control 402.
Referring to fig. 4b, fig. 4b is a schematic diagram of another user interface according to an embodiment of the present application. As shown in fig. 4b, the first control 403 is a control that is output by the first device 401 in response to detecting a touch operation performed by the user on the second control 402 in fig. 4 a. In this case, the first device 401 may transmit cell information to the second device.
In another alternative embodiment, the first device may also determine whether the signal strength of the communication with the second device reaches a first threshold; if it is determined that the signal strength of the communication with the second device reaches a first threshold, a step of transmitting cell information to the second device is performed.
Optionally, the signal strength refers to a received signal strength indication (received signal strength indicator, RSSI). RSSI reflects the degree of attenuation of a signal, which is related to the received signal power, and is typically negative. Alternatively, the first device may employ the following equation (1) in determining the signal strength of the communication with the second device based on the received signal power.
RSSI=10logP (1)
In equation (1), RSSI represents the signal strength of the communication between the first device and the second device; p represents the signal power received by the first device.
Taking the example of a short-range wireless communication connection between the first device and the second device being a bluetooth connection, assuming a first threshold of-70 decibel milliwatts (decibelrelativeto onemilliwatt, dbm), if the first device determines that the signal strength RRSI of the bluetooth communication with the second device reaches the first threshold (-70 dbm), then cell information may be sent to the second device.
S303, the second device detects whether the short-range wireless communication connection with the first device is disconnected.
And S304, if the second equipment detects that the short-distance wireless communication connection with the first equipment is disconnected, the second equipment performs cell registration based on the cell information.
In an alternative embodiment, the specific descriptions of steps S303 and S304 may be referred to the descriptions of steps S201 and S202, respectively, and will not be repeated here.
In the embodiment of the present application, when the first device is connected to the second device, the first device may determine cell information, where the cell information includes cell identifiers of cells obtained by ordering according to a sequence from strong to weak signal strengths of the cells; the first equipment sends cell information to the second equipment, and correspondingly, the second equipment receives the cell information from the first equipment; the second device performs cell registration based on the cell information in a case where disconnection of the short-range wireless communication with the first device is detected. It can be seen that the second device can quickly select a cell with better signal strength for registration based on the cell information from the first device when detecting that the short-range wireless communication connection with the first device has been disconnected. Therefore, the time for the second equipment to register the cell can be saved, and the second equipment can register the cell with better signal under the condition that the signal of the cell on the history frequency point is weak and the signal of the cell on the non-history frequency point is strong. In addition, the second device does not need to conduct cell search, so that power consumption caused by cell search can be reduced.
Referring to fig. 5, fig. 5 is a flow chart of another network residence method according to an embodiment of the present application. The difference from the network residence method shown in fig. 3 is that in the network residence method shown in fig. 5, it is also explained how the second device performs cell registration if all cells in the selected cell information attempt registration and all registration fails. As shown in fig. 5, the network residence method may include, but is not limited to, the following steps:
s501, if the first device detects that the second device is connected, periodically searching each cell in the current network environment.
S502, the first equipment determines cell information according to the searched cells, wherein the cell information comprises cell identifications of the cells, which are obtained by sequencing the signal strengths of the cells from strong to weak.
In an alternative embodiment, the description of step S502 is referred to in the foregoing description of step S301, and will not be repeated here.
S503, the first device sends the cell information to the second device, and correspondingly, the second device receives the cell information from the first device.
S504, the second device detects whether the short-range wireless communication connection with the first device is disconnected.
S505, if the second device detects that the short-range wireless communication connection with the first device is disconnected, the second device performs cell registration based on the cell information.
In an alternative embodiment, the descriptions of steps S503 to S505 may be referred to the descriptions of steps S302 to S304, respectively, and will not be repeated here.
S506, if all the cells in the selected cell information try to register and the registration fails, the second device determines the own position information.
Alternatively, the cell information corresponding to the location information may be cell information of all the registrable cells in the area where the second device is located. Alternatively, the number of cells in the cell information corresponding to the location information may be one or more.
S507, the second equipment acquires the cell information corresponding to the position information.
In an alternative embodiment, the second device may acquire the cell information corresponding to the location information in the following manner: based on the position information, cell information corresponding to the position information is obtained from the cloud.
And S508, the second equipment selects a cell to register based on the cell information corresponding to the position information.
In an alternative embodiment, the second device selects a cell for registration based on the cell information corresponding to the location information, which may be the following manner: determining the signal intensity of each cell in the cell information corresponding to the position information; and according to the sequence from strong to weak of the signal intensity of each cell in the cell information corresponding to the position information, selecting cells in sequence for registration until the registration is successful.
Optionally, if all cells in the cell information corresponding to the selection location information try to register and all the cells fail to register, the second device may perform cell search and cell registration.
In this embodiment of the present application, when the first device may be connected to the second device, search each cell in the current network environment, and determine, according to each searched cell, cell information, where the cell information includes cell identifiers of each cell obtained by ordering according to a sequence from strong to weak signal strength of each cell; under the condition that the short-distance wireless communication connection between the first equipment and the second equipment is not disconnected, the first equipment sends cell information to the second equipment, and correspondingly, the second equipment receives the cell information from the first equipment; the second equipment performs cell registration based on cell information under the condition that the disconnection of short-distance wireless communication with the first equipment is detected; if all the cells in the selected cell information try to register and all the cells fail to register, the second device can acquire the cell information corresponding to the position information and select the cells to register based on the cell information corresponding to the position information. Therefore, if all the cells in the cell information are selected to try registration and all the cells fail to register, the second device can select the cells to register based on the cell information corresponding to the location information, so that the success rate of cell registration can be improved.
The first device and the second device to which the network residence method provided in the present application is applied are described below.
Referring to fig. 6, fig. 6 is a schematic hardware architecture of an apparatus 100 according to an embodiment of the present application. The device 100 may be the first device or the second device.
As shown in fig. 6, the device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the apparatus 100. In other embodiments of the present application, the apparatus 100 may include more or fewer components than shown in FIG. 6, or certain components may be combined, certain components may be split, or different arrangements of components. The components shown in fig. 6 may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor, an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
Wherein the controller may be a neural hub and command center of the device 100. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In an alternative embodiment, the memory in processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In an alternative embodiment, the processor 110 may be configured to perform the operations of the second device in the foregoing network residence method, specifically as follows: detecting whether a short-range wireless communication connection with a first device is broken; if the short-distance wireless communication connection with the first equipment is detected to be disconnected, selecting a cell for registration based on cell information, wherein the cell information comprises cell identifications of cells obtained by sequencing the signal strengths of the cells from strong to weak. For this specific step performed by the processor 110, reference may be made to the descriptions of the previous steps S201-S202, which are not repeated here.
Further, the processor 110, prior to being used to detect whether the short-range wireless communication connection with the first device is broken, is further configured to: cell information is received from a first device.
Further, the processor 110 is specifically configured to, when selecting a cell for registration based on cell information: and selecting cells in sequence for registering according to the sequence from strong to weak signal strength of each cell in the cell information until the registration is successful.
In addition, the processor 110 is further configured to: if all the cells in the selected cell information try registration and all the cells fail to register, determining own position information; acquiring cell information corresponding to the position information; and selecting a cell for registration based on the cell information corresponding to the position information.
In another alternative embodiment, the processor 110 may be configured to perform the operations of the first device in the foregoing network residence method, specifically as follows: determining cell information, wherein the cell information comprises cell identifiers of cells obtained by sequencing according to the sequence from strong to weak of the signal intensity of each cell; and sending cell information to the second device, wherein the second device is a device which has short-distance wireless communication connection with the first device, and the cell information is used for selecting a cell for registration when the second device detects that the short-distance wireless communication connection with the first device is disconnected.
Further, the processor 110, when configured to determine cell information, is specifically configured to: if the connected second equipment is detected, periodically searching each cell in the current network environment; and determining cell information based on the searched cells.
Further, the processor 110 performs the step of transmitting cell information to the second device before responding to a first operation input for the first device, the first operation being for indicating confirmation of disconnection of the short-range wireless communication connection with the second device.
Further, the first operation is an operation acting on the first control, and the processor 110 is further configured to: outputting, in response to a second operation input for the first device, a first control whether to disconnect the short-range wireless communication connection with the second device; a first operation is received for a first device entered through a first control.
In addition, the processor 110 is further configured to: determining whether a signal strength of the communication with the second device reaches a first threshold; and if the signal strength of the communication with the second device is determined to reach the first threshold value, executing the step of transmitting the cell information to the second device.
In an alternative embodiment, processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and does not constitute a structural limitation of the apparatus 100. In other embodiments of the present application, the device 100 may also employ different interfacing manners in the above embodiments, or a combination of multiple interfacing manners.
The internal memory 121 may include one or more random access memories (random access memory, RAM) and one or more non-volatile memories (NVM).
The random access memory may include a static random-access memory (SRAM), a dynamic random-access memory (dynamic random access memory, DRAM), a synchronous dynamic random-access memory (synchronous dynamic random access memory, SDRAM), a double data rate synchronous dynamic random-access memory (double data rate synchronous dynamic random access memory, DDR SDRAM, such as fifth generation DDR SDRAM is commonly referred to as DDR5 SDRAM), etc.;
the nonvolatile memory may include a disk storage device, a flash memory (flash memory).
The FLASH memory may include NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. divided according to an operation principle, may include single-level memory cells (SLC), multi-level memory cells (MLC), triple-level memory cells (TLC), quad-level memory cells (QLC), etc. divided according to a memory specification, may include universal FLASH memory (universal FLASH storage, UFS), embedded multimedia memory cards (embedded multi media Card, eMMC), etc. divided according to a memory specification.
The random access memory may be read directly from and written to by the processor 110, may be used to store executable programs (e.g., machine instructions) for an operating system or other on-the-fly programs, may also be used to store data for users and applications, and the like.
The nonvolatile memory may store executable programs, store data of users and applications, and the like, and may be loaded into the random access memory in advance for the processor 110 to directly read and write.
The external memory interface 120 may be used to connect external non-volatile memory to enable expansion of the memory capabilities of the device 100. The external nonvolatile memory communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and video are stored in an external nonvolatile memory.
The wireless communication functions of the device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like. And the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication, including 2G/3G/4G/5G, as applied to the device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In an alternative embodiment, at least some of the functional modules of the mobile communication module 150 may be provided in the processor 110. In an alternative embodiment, at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wiFi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied on the device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, demodulates and filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
The device 100 implements display functionality via a GPU, a display screen 194, and an application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The device 100 may implement shooting functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 193.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the device 100 is selecting a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Intelligent awareness of the device 100, etc. applications may be implemented by the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The device 100 may listen to music, or to hands-free conversations, through the speaker 170A.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When device 100 is answering a telephone call or voice message, voice may be received by placing receiver 170B in close proximity to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The device 100 may be provided with at least one microphone 170C. In other embodiments, the device 100 may be provided with two microphones 170C, which may also perform a noise reduction function in addition to collecting sound signals. In other embodiments, the device 100 may also be provided with three, four, or more microphones 170C to enable collection of sound signals, noise reduction, identification of the source of sound, directional recording, etc.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, the device 100 calculates altitude from barometric pressure values measured by the barometric pressure sensor 180C, aiding in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D.
The acceleration sensor 180E may detect the magnitude of acceleration of the device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the device 100 is stationary. The electronic equipment gesture recognition method can also be used for recognizing the gesture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
The fingerprint sensor 180H is used to collect a fingerprint. The device 100 may utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, take a photograph of the fingerprint, answer an incoming call, etc.
The touch sensor 180K, also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the device 100 at a different location than the display 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, bone conduction sensor 180M may acquire a vibration signal of a human vocal tract vibrating bone pieces.
In embodiments of the present application, the software system of the device 100 may employ a layered architecture, an event driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. Taking an Android system with a layered architecture as an example, the embodiment of the application illustrates a software structure of the device 100.
Referring to fig. 7, fig. 7 is a schematic software architecture of a device 100 according to an embodiment of the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In an alternative embodiment, the Android system is divided into four layers, namely an application layer, an application framework layer, a hardware abstraction layer (hardware abstraction layer, HAL) and a kernel layer from top to bottom.
The application layer may include a series of application packages. As shown in fig. 7, the application package may include applications such as a smart assistant, gallery, call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions. As shown in fig. 7, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is used to provide the communication functions of the device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
The hardware abstraction layer may include a plurality of functional modules. Such as a detection module, a processing module, a determination module, a communication module, etc.
In an alternative embodiment, the device 100 may perform the operations of the second device in the foregoing network residence method, for example: the detection module is used for detecting whether the short-distance wireless communication connection with the first device is disconnected; and the processing module is used for selecting a cell to register based on cell information if the short-distance wireless communication connection with the first equipment is detected to be disconnected, wherein the cell information comprises cell identifications of the cells which are obtained by sequencing according to the order of the signal strengths of the cells from strong to weak.
In another alternative embodiment, the device 100 may perform the operations of the first device in the foregoing network residence method, for example: the determining module is used for determining cell information, wherein the cell information comprises cell identifiers of all cells, which are obtained by sequencing according to the sequence from strong to weak of the signal intensity of all cells; the communication module is used for sending cell information to the second equipment, wherein the second equipment is equipment with short-distance wireless communication connection with the first equipment, and the cell information is used for selecting a cell for registration when the second equipment detects that the short-distance wireless communication connection with the first equipment is disconnected.
The kernel layer is a layer between hardware and software. The kernel layer at least comprises processing driver, display driver, camera driver, audio driver, sensor driver, etc.
It should be noted that, for simplicity of description, the above method embodiments are all described as a series of action combinations, but those skilled in the art should appreciate that the present invention is not limited by the described order of actions. Further, those skilled in the art will recognize that the embodiments described in the specification are preferred embodiments, and that the actions involved are not necessarily required for the present invention. The embodiments of the present application may be arbitrarily combined to achieve different technical effects.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy Disk, a hard Disk, a magnetic tape), an optical medium (e.g., a digital versatile Disk (digital video disc, DVD)), or a semiconductor medium (e.g., a Solid State Disk), etc.
Those of ordinary skill in the art will appreciate that implementing all or part of the above-described method embodiments may be accomplished by a computer program to instruct related hardware, the program may be stored in a computer readable storage medium, and the program may include the above-described method embodiments when executed. And the aforementioned storage medium includes: a Read Only Memory (ROM) or various media such as RAM, magnetic or optical disk that can store program codes.
In summary, the foregoing description is only exemplary embodiments of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of the present invention should be included in the protection scope of the present invention.
Claims (11)
1. A method of hosting a network, the method comprising:
detecting whether a short-range wireless communication connection with a first device is broken;
and if the short-distance wireless communication connection with the first equipment is detected to be disconnected, selecting a cell for registration based on cell information, wherein the cell information comprises cell identifications of cells obtained by sequencing the signal strengths of the cells from strong to weak.
2. The method of claim 1, wherein the detecting whether the short-range wireless communication connection with the first device is broken is preceded by the method further comprising:
the cell information is received from the first device.
3. The method according to claim 1 or 2, wherein selecting a cell for registration based on cell information comprises:
and selecting cells in sequence for registering according to the sequence from strong to weak signal strength of each cell in the cell information until the registration is successful.
4. A method according to claim 3, characterized in that the method further comprises:
if all the cells in the cell information are selected to try registration and all the cells fail to register, determining the own position information;
acquiring cell information corresponding to the position information;
and selecting a cell for registration based on the cell information corresponding to the position information.
5. A method of hosting a network, the method comprising:
determining cell information, wherein the cell information comprises cell identifiers of cells obtained by sequencing according to the sequence from strong to weak of the signal intensity of each cell;
and sending the cell information to a second device, wherein the second device is a device which has short-distance wireless communication connection with the first device, and the cell information is used for selecting a cell for registration when the second device detects that the short-distance wireless communication connection with the first device is disconnected.
6. The method of claim 5, wherein the determining cell information comprises:
if the second equipment connected with the second equipment is detected, periodically searching each cell in the current network environment;
and determining cell information based on the searched cells.
7. The method according to claim 5 or 6, wherein,
the step of transmitting the cell information to the second device is performed before responding to a first operation input for the first device, the first operation being used for indicating confirmation of disconnection of the short-range wireless communication with the second device.
8. The method of claim 7, wherein the first operation is an operation on a first control, the method further comprising:
outputting, in response to a second operation input for the first device, whether to disconnect the first control from the short-range wireless communication connection with the second device;
the first operation input through the first control is received for the first device.
9. The method according to claim 5 or 6, characterized in that the method further comprises:
determining whether a signal strength of communication with the second device reaches a first threshold;
And if the signal strength of the communication with the second equipment is determined to reach the first threshold value, executing the step of sending the cell information to the second equipment.
10. An apparatus, comprising: the device comprises a memory, a processor and a touch screen; wherein:
the touch screen is used for displaying content;
the memory is used for storing a computer program, and the computer program comprises program instructions;
the processor is configured to invoke the program instructions to cause the apparatus to perform the method of any of claims 1 to 4 or to perform the method of any of claims 5 to 9.
11. A computer readable storage medium, characterized in that it stores a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 4 or performs the method according to any one of claims 5 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310742989.2A CN117692977A (en) | 2023-06-21 | 2023-06-21 | Network residence method and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310742989.2A CN117692977A (en) | 2023-06-21 | 2023-06-21 | Network residence method and related equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117692977A true CN117692977A (en) | 2024-03-12 |
Family
ID=90135976
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310742989.2A Pending CN117692977A (en) | 2023-06-21 | 2023-06-21 | Network residence method and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117692977A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106413041A (en) * | 2015-07-31 | 2017-02-15 | 展讯通信(上海)有限公司 | Mobile terminal cell dwelling method and apparatus |
CN110401943A (en) * | 2019-07-19 | 2019-11-01 | 澳克多普有限公司 | A kind of mobile terminal stays network method, device, server and storage medium |
CN112399390A (en) * | 2019-08-14 | 2021-02-23 | 华为技术有限公司 | Bluetooth connection method and related device |
US20210176810A1 (en) * | 2017-12-04 | 2021-06-10 | Samsung Electronics Co., Ltd. | Method and device for reconnecting bluetooth communication |
CN113490230A (en) * | 2021-08-03 | 2021-10-08 | RealMe重庆移动通信有限公司 | Terminal network-resident strategy adjusting method and device, electronic equipment and storage medium |
CN114466423A (en) * | 2022-04-11 | 2022-05-10 | 荣耀终端有限公司 | Method and device for selecting network |
WO2022228210A1 (en) * | 2021-04-27 | 2022-11-03 | 花瓣云科技有限公司 | Camping method, electronic device, and system |
CN115550892A (en) * | 2022-03-30 | 2022-12-30 | 荣耀终端有限公司 | Method and device for synchronizing system information |
-
2023
- 2023-06-21 CN CN202310742989.2A patent/CN117692977A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106413041A (en) * | 2015-07-31 | 2017-02-15 | 展讯通信(上海)有限公司 | Mobile terminal cell dwelling method and apparatus |
US20210176810A1 (en) * | 2017-12-04 | 2021-06-10 | Samsung Electronics Co., Ltd. | Method and device for reconnecting bluetooth communication |
CN110401943A (en) * | 2019-07-19 | 2019-11-01 | 澳克多普有限公司 | A kind of mobile terminal stays network method, device, server and storage medium |
CN112399390A (en) * | 2019-08-14 | 2021-02-23 | 华为技术有限公司 | Bluetooth connection method and related device |
WO2022228210A1 (en) * | 2021-04-27 | 2022-11-03 | 花瓣云科技有限公司 | Camping method, electronic device, and system |
CN113490230A (en) * | 2021-08-03 | 2021-10-08 | RealMe重庆移动通信有限公司 | Terminal network-resident strategy adjusting method and device, electronic equipment and storage medium |
CN115550892A (en) * | 2022-03-30 | 2022-12-30 | 荣耀终端有限公司 | Method and device for synchronizing system information |
CN114466423A (en) * | 2022-04-11 | 2022-05-10 | 荣耀终端有限公司 | Method and device for selecting network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112217923B (en) | Display method of flexible screen and terminal | |
CN112399390B (en) | Bluetooth connection method and related device | |
CN113641271B (en) | Application window management method, terminal device and computer readable storage medium | |
CN116360725B (en) | Display interaction system, display method and device | |
CN113254409A (en) | File sharing method, system and related equipment | |
CN112445762A (en) | File sharing method and equipment for mobile terminal | |
WO2022161119A1 (en) | Display method and electronic device | |
CN114553814A (en) | Method and device for processing push message | |
CN113973398A (en) | Wireless network connection method, electronic equipment and chip system | |
CN112437341A (en) | Video stream processing method and electronic equipment | |
CN113380240B (en) | Voice interaction method and electronic equipment | |
WO2022062902A1 (en) | File transfer method and electronic device | |
WO2022022466A1 (en) | Method and apparatus for determining file storage position, and terminal | |
CN115022982A (en) | Multi-screen cooperative non-inductive access method, electronic equipment and storage medium | |
CN117692977A (en) | Network residence method and related equipment | |
CN113467821A (en) | Application program repairing method, device, equipment and readable storage medium | |
CN116346982B (en) | Method for processing audio, electronic device and readable storage medium | |
CN116592756B (en) | Detection method for included angle of folding screen and electronic equipment | |
CN117354884B (en) | APN switching method and related equipment | |
CN117009023B (en) | Method for displaying notification information and related device | |
CN115513571B (en) | Control method of battery temperature and terminal equipment | |
CN114006969B (en) | Window starting method and electronic equipment | |
CN116819434A (en) | Distance measurement method and electronic equipment | |
CN116668997A (en) | Positioning method, user interface and electronic equipment | |
CN118301581A (en) | Bluetooth device management method and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |