Network stationing method and related equipment
By detecting that the Bluetooth connection is disconnected, the watch selects the cells in turn according to the signal strength based on the received cell information, which solves the problem that the watch is difficult to quickly select a cell with strong signal registration, and achieves the effects of fast registration and low power consumption.
Patent Information
- Application Number
- CN202310742989.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-21
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2043-06-21
AI Technical Summary
After the Bluetooth connection between the watch and the mobile phone is disconnected, it is difficult to quickly select a cell with a good signal strength to register, resulting in a long registration time and poor signal.
By detecting whether the short-distance wireless communication connection with the first device is disconnected, if it is disconnected, registration is performed based on cell information. The specific steps include receiving cell information, sorting signal strength, and selecting cell registration in sequence.
After the Bluetooth connection is disconnected, it quickly selects a cell with better signal strength to register, saving registration time and reducing the power consumption caused by cell search.
Smart Images

Figure CN117692977B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a network stationing method and related equipment. Background Art
[0002] Currently, watches that support an embedded subscriber identity module (ESIM) will perform a cell search and cell registration after the Bluetooth connection between the watch and the mobile phone is disconnected. When the watch performs a cell search and cell registration, there are two situations: ① If there is a historical frequency point, the watch will first perform a cell search based on the historical frequency point to obtain the cell information of the cell on the historical frequency point; then, it will select a cell for registration. In this way, there is a situation where the signal of the cell where the watch finally registers is poor. ② If there is no historical frequency point, the watch will perform a full-band network search to read the cell information of the cell with the strongest signal on each frequency point; then, it will select a cell for registration. This causes the watch to stay on the network for a longer time.
[0003] Therefore, after the Bluetooth connection between the watch and the mobile phone is disconnected, how to quickly select a cell with better signal strength for registration becomes an urgent problem to be solved. Summary of the Invention
[0004] The embodiments of the present application provide a method for registering on a network and related devices, which enable a second device to quickly select a cell with better signal strength for registration when detecting that the short-range wireless communication connection between the second device and the first device has been disconnected.
[0005] In a first aspect, an embodiment of the present application provides a method for stationing on a network, applied to a second device, the method comprising:
[0006] detecting whether the short-range wireless communication connection with the first device is disconnected;
[0007] If it is detected that the short-range wireless communication connection with the first device is disconnected, a cell is selected for registration based on the cell information, where the cell information includes cell identifiers of the cells obtained by sorting the cells in descending order of signal strength.
[0008] After implementing the method provided in the first aspect, since the cell information includes the cell identifiers of each cell obtained by sorting the cells in order of signal strength from strong to weak, when the second device detects that the short-range wireless communication connection with the first device has been disconnected, it can quickly select a cell with better signal strength for registration based on the cell information. In this way, not only can the time for the second device to perform cell registration be saved, but also when the signal of the cell on the historical frequency point is weak and the signal of the cell on the non-historical frequency point is strong, the second device can register with the cell with better signal. In addition, the second device does not need to perform cell search, thereby reducing the power consumption caused by cell search.
[0009] In combination with the first aspect, in an optional implementation, before detecting whether the short-range wireless communication connection with the first device is disconnected, the method further includes: receiving cell information from the first device.
[0010] In this embodiment, the second device may also receive cell information from the first device before detecting whether the short-range wireless communication connection between the second device and the first device is disconnected. In this way, when the second device detects that the short-range wireless communication between the second device and the first device has been disconnected, there is no need to search for a cell, and the second device may directly select a cell with better signal strength for registration based on the received cell information.
[0011] In combination with the first aspect, in an optional implementation, selecting a cell for registration based on the cell information includes: selecting cells for registration in order of signal strength from strong to weak in the cell information until registration is successful.
[0012] In this implementation, the second device may select cells for registration in order of signal strength from strong to weak. This not only allows the second device to select cells with better signal strength for registration, but also improves the success rate of cell registration.
[0013] In combination with the first aspect, in an optional implementation, the method further includes: if all cells in the selected cell information have attempted to register and all registrations have failed, determining its own location information; obtaining the cell information corresponding to the location information; and selecting a cell for registration based on the cell information corresponding to the location information.
[0014] In this embodiment, after the second device fails to register with all cells in the selected cell information, it can select a cell for registration based on the cell information corresponding to its location information. This can improve the success rate of cell registration.
[0015] In a second aspect, an embodiment of the present application provides a method for stationing on a network, which is applied to a first device, and the method includes:
[0016] Determine cell information, the cell information including cell identifiers of each cell obtained by sorting the cells in descending order of signal strength;
[0017] The cell information is sent to the second device, where the second device is a device that has a short-range wireless communication connection with the first device. The cell information is used by the second device to select a cell for registration when it detects that the short-range wireless communication connection with the first device is disconnected.
[0018] After implementing the method provided in the second aspect, the first device sends determined cell information to the second device, where the cell information includes the cell identifiers of each cell sorted in order from strong to weak according to the signal strength of each cell. This helps the second device to quickly select a cell with better signal strength for registration based on the received cell information when it detects that the short-range wireless communication connection with the first device is disconnected.
[0019] In combination with the second aspect, in an optional implementation, determining the cell information includes: if it is detected that the second device is connected, periodically searching for each cell in the current network environment; and determining the cell information based on each searched cell.
[0020] In this implementation, the first device can periodically search for cells in the current network environment and sort the cells in descending order of signal strength to obtain cell identifiers for each cell, thereby obtaining cell information. The first device can then send the cell information to the second device, enabling the second device to quickly select a cell with better signal strength for registration.
[0021] In combination with the second aspect, in an optional implementation, before responding to a first operation input to the first device, a step of sending cell information to the second device is performed, where the first operation is used to indicate confirmation of disconnecting the short-range wireless communication connection with the second device.
[0022] In this embodiment, the first device may send cell information to the second device before receiving an indication from the user input confirming the operation of disconnecting the short-range wireless communication connection with the second device. This helps the second device to quickly select a cell with better signal strength for registration based on the cell information when it detects that the short-range wireless communication connection with the first device has been disconnected.
[0023] In combination with the second aspect, in an optional embodiment, the first operation is an operation acting on the first control, and the method also includes: in response to the second operation input to the first device, outputting the first control of whether to disconnect the short-range wireless communication connection with the second device; receiving the first operation input to the first device through the first control.
[0024] In combination with the second aspect, in an optional implementation, the method further includes: determining whether the signal strength of communication with the second device reaches a first threshold; if it is determined that the signal strength of communication with the second device reaches the first threshold, executing the step of sending cell information to the second device.
[0025] In this embodiment, the first device may send cell information to the second device when the communication strength with the second device is weak. This helps the second device to quickly select a cell with better signal strength for registration based on the cell information when it detects that the short-range wireless communication connection with the first device has been disconnected.
[0026] In a third aspect, an embodiment of the present application provides a device comprising: one or more processors and a memory; the memory is coupled to the one or more processors, the memory being used to store computer program code, the computer program code comprising computer instructions, the one or more processors calling the computer instructions to enable the device to execute: detecting whether the short-range wireless communication connection with the first device is disconnected; if it is detected that the short-range wireless communication connection with the first device is disconnected, selecting a cell for registration based on cell information, the cell information comprising cell identifiers of each cell obtained by sorting the cells in order of signal strength from strong to weak.
[0027] In conjunction with the third aspect, in an optional embodiment, the one or more processors call the computer instructions to cause the device to execute: before detecting whether the short-range wireless communication connection with the first device is disconnected, receiving cell information from the first device;
[0028] In combination with the third aspect, in an optional implementation, the one or more processors call the computer instructions to enable the device to execute: selecting cells for registration in order from strong to weak signal strength of each cell in the cell information until registration is successful.
[0029] In combination with the third aspect, in an optional embodiment, the one or more processors call the computer instructions to cause the device to execute: if all cells in the selected cell information have attempted to register and all registrations have failed, then determine its own location information; obtain the cell information corresponding to the location information; and select a cell for registration based on the cell information corresponding to the location information.
[0030] In a fourth aspect, an embodiment of the present application provides a device comprising: one or more processors and a memory; the memory is coupled to the one or more processors, the memory being used to store computer program code, the computer program code comprising computer instructions, the one or more processors calling the computer instructions to enable the device to execute: determining cell information, the cell information comprising a cell identifier of each cell obtained by sorting the cells in order from strong to weak according to their signal strength; sending the cell information to a second device, the second device being a device that has a short-range wireless communication connection with the first device, the cell information being used by the second device to select a cell for registration when it detects that the short-range wireless communication connection with the first device is disconnected.
[0031] In combination with the fourth aspect, in an optional embodiment, the one or more processors call the computer instructions to enable the device to execute: if it is detected that the second device is connected, periodically search for each cell in the current network environment; and determine cell information based on each searched cell.
[0032] In combination with the fourth aspect, in an optional embodiment, the one or more processors call the computer instructions to cause the device to execute: before responding to a first operation input to the first device, execute the step of sending cell information to the second device, the first operation being used to indicate confirmation of disconnecting the short-range wireless communication connection with the second device.
[0033] In conjunction with the fourth aspect, in an optional embodiment, the one or more processors call the computer instructions to cause the device to execute: in response to the second operation input to the first device, output a first control of whether to disconnect the short-range wireless communication connection with the second device; receive the first operation input to the first device through the first control
[0034] In combination with the fourth aspect, in an optional embodiment, the one or more processors call the computer instructions to cause the device to execute: determining whether the signal strength of communication with the second device reaches a first threshold; if it is determined that the signal strength of communication with the second device reaches the first threshold, executing the step of sending cell information to the second device.
[0035] In a fifth aspect, an embodiment of the present application provides a device comprising: a touch screen, a camera, one or more processors and one or more memories; the one or more processors are coupled to the touch screen, the camera, and the one or more memories, and the one or more memories are used to store computer program code, and the computer program code includes computer instructions. When the one or more processors execute the computer instructions, the device executes the method as described in the first aspect or any optional embodiment of the first aspect, or executes the method as described in the second aspect or any optional embodiment of the second aspect.
[0036] In the sixth aspect, the present application provides a chip system, which is applied to a device, and the chip system includes one or more processors, which are used to call computer instructions to enable the device to execute the method described in the first aspect or any optional embodiment of the first aspect, or to execute the method described in the second aspect or any optional embodiment of the second aspect.
[0037] In the seventh aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when the computer program product is run on a device, enables the device to execute the method as described in the first aspect or any optional embodiment of the first aspect, or to execute the method as described in the second aspect or any optional embodiment of the second aspect.
[0038] In an eighth aspect, the present application provides a computer-readable storage medium comprising instructions, which, when executed on a device, causes the device to execute a method as described in the first aspect or any optional embodiment of the first aspect, or to execute a method as described in the second aspect or any optional embodiment of the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figures 1a to 1c This is a scenario diagram of a group of network-based methods provided in an embodiment of the present application;
[0040] Figure 2 This is a flow chart of a method for logging on to a network provided by an embodiment of the present application;
[0041] Figure 3 This is a flowchart of another method for logging on to a network provided by an embodiment of the present application;
[0042] Figure 4a is a schematic diagram of a user interface provided in an embodiment of the present application;
[0043] Figure 4b is a schematic diagram of another user interface provided in an embodiment of the present application;
[0044] Figure 5This is a flowchart of another method for staying on the network provided in an embodiment of the present application;
[0045] Figure 6 1 is a schematic diagram of the hardware architecture of a device 100 provided in an embodiment of the present application;
[0046] Figure 7 1 is a schematic diagram of the software architecture of a device 100 provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Mentioning "embodiment" in this article means that the specific features, structures or characteristics described in conjunction with the embodiment can be included in at least one embodiment of the present embodiment application. The appearance of this phrase in various positions in the specification does not necessarily mean the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It can be understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without making creative work are within the scope of protection of this application.
[0048] In the specification, claims, and accompanying drawings of this application, the terms "first," "second," and the like are used to distinguish different objects and are not used to describe a particular order. Furthermore, the terms "including," "comprising," and "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a list of steps or elements may be included, or alternatively, steps or elements not listed may be included, or other steps or elements inherent to the process, method, product, or apparatus may be included.
[0049] Only part relevant to the present application is shown in the accompanying drawings, not all of it. Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processing or methods depicted as flow charts. Although flow charts describe various operations (or steps) as sequential processing, many operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of various operations can be rearranged. When its operation is completed, the processing can be terminated, but can also have additional steps not included in the accompanying drawings. The processing can correspond to methods, functions, procedures, subroutines, subprograms, etc.
[0050] As used in this specification, the terms "component," "module," "system," "unit," and the like are used to refer to computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a unit can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, and / or distributed between two or more computers. In addition, these units can be executed from various computer-readable media having various data structures stored thereon. Units can communicate, for example, through local and / or remote processes based on signals having one or more data packets (e.g., data from a second unit interacting with another unit in a local system, a distributed system, and / or a network. For example, the Internet interacts with other systems via signals).
[0051] Currently, after an ESIM-enabled watch loses its Bluetooth connection to a phone, it controls the modem to power on, thereby powering on the ESIM and performing a cell search and registration. However, during this process, the watch may encounter the following issues: ① The signal strength of the cell ultimately registered by the watch is poor; ② The watch remains on the network for a long time.
[0052] An embodiment of the present application provides a method for staying on a network, in which a second device detects whether a short-range wireless communication connection between the second device and the first device is disconnected; if the second device detects that the short-range wireless communication connection between the second device and the first device is disconnected, the second device selects a cell for registration based on cell information; wherein the cell message includes a cell identifier of each cell obtained by sorting the cells in order of signal strength from strong to weak.
[0053] The implementation of the network access method provided by this application has the following beneficial effects:
[0054] (1) When the second device detects that the short-range wireless communication connection with the first device has been disconnected, it can quickly select a cell with better signal strength for registration based on the cell information. This not only saves the second device time in cell registration, but also allows the second device to register with a cell with better signal strength when the signal of the cell on the historical frequency point is weak and the signal of the cell on the non-historical frequency point is strong.
[0055] (2) The second device does not need to perform cell search, thereby reducing power consumption caused by cell search.
[0056] In this application, the first device may be a device equipped with Or devices with other operating systems, such as mobile phones, tablet computers, desktop computers, laptop computers, handheld computers, notebook computers, ultra-mobile personal computers (UMPCs), netbooks, as well as cellular phones, personal digital assistants (PDAs), augmented reality (AR) devices, virtual reality (VR) devices, artificial intelligence (AI) devices, wearable devices, in-vehicle devices, smart home devices and / or smart city devices, etc. This application does not impose any special restrictions on the specific type of the first device.
[0057] In this application, the second device can be a device that has a short-range wireless communication connection with the first device, such as a watch or smart bracelet that supports ESIM. This application does not impose any special restrictions on the specific type of the second device.
[0058] Optionally, when the first device is a mobile phone and the second device is a watch supporting ESIM, the subscriber identity module (SIM) card of the first device and the ESIM card of the second device belong to the same operator.
[0059] The following takes the short-range wireless communication connection between the first device and the second device as an example, wherein the short-range wireless communication connection between the first device and the second device is a Bluetooth connection. Figures 1a to 1c The application scenarios of the network stationing method provided in the embodiment of the present application are introduced.
[0060] Figure 1a Schematic diagram of a short-range wireless communication system provided by an embodiment of the present application. Figure 1a As shown, 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 their Bluetooth functions turned on, and a communication connection is established between the first device 101 and the second device 102 via Bluetooth.
[0061] like Figure 1b As shown, the default user interface provided by the settings application after the first device 101 is opened is displayed. This user interface may include multiple functional options such as airplane mode, WiFi, Bluetooth, personal hotspot, and mobile network. The first device 101 can detect user touch operations on different functional options in the user interface 11 and, in response to the operations, can turn on or off functions such as airplane mode, WiFi, Bluetooth, personal hotspot, and mobile network.
[0062] Among them, the "Bluetooth" option 111 in the user interface is used to turn on or off the Bluetooth function of the first device 101, and the Bluetooth function can be used to establish a short-range wireless communication connection with the second device 102. The "Bluetooth" option 111 includes a setting switch 111A. The setting switch 111A can detect a user's touch operation and, in response to the operation, turn the Bluetooth function on or off on the first device 101. For example, when the main color displayed by the switch 111A is white, the Bluetooth function is in the off state, and when the main color displayed by the switch 111A is gray, the Bluetooth function is in the on state.
[0063] like Figure 1b As shown, the first device 101 can detect the user's touch operation on the setting switch 111A. In response to the operation, the first device 101 turns off the Bluetooth function, and the main body color of the setting switch 111A changes from gray to white.
[0064] like Figure 1c As shown, the user interface of the second device 102. The user interface may include a connection prompt information box 222. The connection prompt information box 222 is used to indicate whether the Bluetooth connection between the second device 102 and the first device 101 is successful or disconnected. For example, the connection prompt information box 222 may display "Bluetooth connection disconnected" and "Bluetooth connection successful". Exemplarily, if the second device 102 detects that the Bluetooth connection between it and the first device 101 is disconnected, the connection prompt information box 222 displays "Bluetooth connection disconnected". At this time, the second device 102 can select a cell for registration based on the cell information, wherein the cell information includes the cell identifiers of each cell obtained by sorting the signal strength of each cell from strong to weak.
[0065] The network access method provided in the embodiment of the present application is described in detail below.
[0066] See Figure 2 , Figure 2 This is a flow chart of a method for stationing on a network provided by an embodiment of the present application. Figure 2 As shown, the network stationing method may include but is not limited to the following steps:
[0067] S201: The second device detects whether the short-range wireless communication connection between the second device and the first device is disconnected.
[0068] Short-range wireless communication refers to a technology that can achieve a maximum distance of over 100 meters, utilizing semiconductor communication, wireless communication, and electronic network technologies to effectively connect and transmit information wirelessly within a 100-meter range. Simply put, it is a communication method that utilizes the ability of electromagnetic wave signals to propagate in free space to exchange information.
[0069] Optionally, the short-range wireless communication connection may include, but is not limited to, a wireless fidelity (WIFI) connection, a Bluetooth connection, a near field communication (NFC) connection, and the like.
[0070] S202. If the second device detects that the short-range wireless communication connection with the first device is disconnected, the second device selects a cell for registration based on the cell information, where the cell information includes cell identifiers of the cells sorted in descending order of signal strength.
[0071] Optionally, 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 here.
[0072] In an optional implementation, the second device selects a cell for registration based on the cell information. This can be done by sequentially selecting cells for registration based on the signal strength of each cell in the cell information, from strong to weak, until registration is successful. This allows the second device to select a cell with better signal strength for registration and improves the success rate of cell registration.
[0073] For example, assume that the cell information includes cell information for five cells, and the cell identifiers of the five cells are, for example, cell 1, cell 2, cell 3, cell 4, and cell 5. The five cells are sorted in descending order of cell signal strength, 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 cell 3 for registration. If registration is successful, it is determined that it has successfully camped on cell 3, and can thus use the mobile network normally based on cell 3. If registration fails, the second device may sequentially select cell 2, cell 5, cell 4, and cell 1 for registration until registration is successful.
[0074] Optionally, if the second device detects that the short-range wireless communication connection with the first device is disconnected, it may control the modem to power on, thereby powering on the ESIM, and select a cell for registration based on the cell information.
[0075] In an embodiment of the present application, the second device detects whether the short-range wireless communication connection between the second device and the first device is disconnected; if the second device detects that the short-range wireless communication connection between the second device and the first device is disconnected, the second device selects a cell for registration based on the cell information, and the cell information includes the cell identifiers of each cell obtained by sorting the cells in order from strong to weak according to the signal strength of each cell. It can be seen that when the second device detects that the short-range wireless communication connection between the second device and the first device is disconnected, it can quickly select a cell with better signal strength for registration based on the cell information. In this way, not only can the time for the second device to perform cell registration be saved, but also when the signal of the cell on the historical frequency point is weak and the signal of the cell on the non-historical frequency point is strong, the second device can register with the cell with better signal.
[0076] See Figure 3 , Figure 3 This is a flow chart of another method for staying on the network provided by the embodiment of the present application. Figure 2 The difference between the stationing method shown is that Figure 3 In the method for stationing on the network shown, the second device also receives the cell information from the first device. Figure 3 In the method for stationing on the network shown in FIG, the cell information is described as an example in which the first device sends the cell information. Figure 3 As shown, the network stationing method may include but is not limited to the following steps:
[0077] S301. A first device determines cell information, where the cell information includes cell identifiers of cells obtained by sorting the cells in descending order of signal strength.
[0078] In an optional implementation, the first device may determine the cell information in the following manner: if it is detected that the second device is connected, periodically search for cells in the current network environment; and determine the cell information based on the searched cells.
[0079] In this embodiment, the first device determines the cell information based on each searched cell, which may include: sorting the cell identifiers of each cell in descending order of signal strength to obtain the sorted cell identifiers of each cell; and determining the cell information based on the sorted cell identifiers of each cell. Optionally, sorting the cell identifiers of each cell in descending order of signal strength may be sorting the cell identifiers of each cell in order of reference signal received power (RSRP) of the signals of each cell.
[0080] For example, suppose the first device detects that it is connected to the second device and searches for five cells in the current network environment for the first time, such as cell 1, cell 2, cell 3, cell 4, and cell 5. The first device sorts cells 1, 2, 3, 4, and 5 in descending order of signal strength, and the resulting cell identifiers are cell 3, cell 2, cell 5, cell 4, and cell 1, in that order. In this case, the first device can determine that the cell identifiers in the cell information are cell 3, cell 2, cell 5, cell 4, and cell 1, in that order.
[0081] In this implementation, the first device may further re-search each cell in the current network environment when detecting that the cell currently residing therein has changed.
[0082] Optionally, if the first device has preferentially registered a 5th-Generation Mobile Communication Technology (5G) cell, and the second device only supports 4G cells, if the first device detects that it has been connected to the second device, it can search for each 4G cell in the current network environment; and determine the 4G cell information based on the searched 4G cells.
[0083] S302: The first device sends cell information to the second device. Correspondingly, the second device receives the cell information from the first device.
[0084] In an optional implementation, the first device may perform a step of sending cell information to the second device before responding to a first operation input to the first device, where the first operation is used to indicate confirmation of disconnecting the short-range wireless communication connection with the second device.
[0085] In this embodiment, the first operation is an operation acting on the first control; the first device also outputs the first control of whether to disconnect the short-range wireless communication connection with the second device in response to the second operation input to the first device; and receives the first operation input to the first device through the first control.
[0086] The following takes the short-range wireless communication connection as an example, combined with Bluetooth connection Figure 4a and Figure 4b An example is given of the step of sending cell information to the second device by the first device before responding to the first operation input to the first device.
[0087] See Figure 4a , Figure 4a This is a user interface diagram provided by an embodiment of the present application. Figure 4a As shown in FIG, it is a schematic diagram of the default user interface provided by the setting application after the first device 401 opens the setting application. Figure 4aAs shown, the user interface may include multiple functional options such as airplane mode, WiFi, Bluetooth, personal hotspot, and mobile network. The first device 401 may detect a user's touch operation on different functional options in the user interface, and in response to the operation, the first device 401 may turn on or off functions such as airplane mode, WiFi, Bluetooth, personal hotspot, and mobile network.
[0088] like Figure 4a As shown, the user can click the second control 402 to input an operation of disconnecting the Bluetooth connection between the first device 401 and the second device.
[0089] See Figure 4b , Figure 4b This is another user interface diagram provided by the embodiment of the present application. Figure 4b As shown, the first control 403 is the first device 401 detecting that the user acts on Figure 4a In the case of a touch operation of the second control 402 in the first device, in response to the operation, the control is output. In this case, the first device 401 can send the cell information to the second device.
[0090] In another optional implementation, the first device may further determine whether the signal strength of communication with the second device reaches a first threshold; if it is determined that the signal strength of communication with the second device reaches the first threshold, the step of sending cell information to the second device is executed.
[0091] Optionally, the signal strength refers to a received signal strength indicator (RSSI). RSSI reflects the degree of signal attenuation, which is related to the received signal power and is generally a negative value. Optionally, when the first device determines the signal strength of communication with the second device based on the received signal power, the following formula (1) may be used.
[0092] RSSI=10logP (1)
[0093] In formula (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.
[0094] Taking the short-range wireless communication connection between the first device and the second device as a Bluetooth connection as an example, assuming that the first threshold is -70 decibel relative to one milliwatt (dBm), if the first device determines that the signal strength RRSI of the Bluetooth communication between the first device and the second device reaches the first threshold (-70dBm), the cell information can be sent to the second device.
[0095] S303: The second device detects whether the short-range wireless communication connection between the second device and the first device is disconnected.
[0096] S304: 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.
[0097] In an optional implementation, the specific description of steps S303 and S304 can refer to the description of the aforementioned steps S201 and S202 respectively, and will not be repeated here.
[0098] In an embodiment of the present application, the first device can determine the cell information when it is connected to the second device, and the cell information includes the cell identifiers of each cell obtained by sorting the cells in order of signal strength from strong to weak; the first device sends the cell information to the second device, and correspondingly, the second device receives the cell information from the first device; the second device registers the cell based on the cell information when it detects that the short-range wireless communication connection between it and the first device is disconnected. It can be seen that when the second device detects that the short-range wireless communication connection between it and the first device is disconnected, it can quickly select a cell with better signal strength for registration based on the cell information from the first device. In this way, not only can the time for the second device to perform cell registration be saved, but also when the signal of the cell on the historical frequency point is weak and the signal of the cell on the non-historical frequency point is strong, the second device can register with the cell with better signal. In addition, the second device does not need to perform cell search, thereby reducing the power consumption caused by cell search.
[0099] See Figure 5 , Figure 5 This is a flow chart of another method for staying on the network provided by the embodiment of the present application. Figure 3 The difference between the stationing method shown is that Figure 5 The method for stationing on the network shown in FIG. 1 also describes how the second device performs cell registration if all cells selected in the cell information have been attempted to register and all registrations have failed. Figure 5 As shown, the network stationing method may include but is not limited to the following steps:
[0100] S501: If the first device detects that it is connected to the second device, it periodically searches for cells in the current network environment.
[0101] S502: The first device determines cell information based on the searched cells. The cell information includes cell identifiers of the cells obtained by sorting the cells in descending order of signal strength.
[0102] In an optional implementation, the relevant description of step S502 can refer to the description of the aforementioned step S301 and will not be repeated here.
[0103] S503: The first device sends cell information to the second device. Correspondingly, the second device receives the cell information from the first device.
[0104] S504: The second device detects whether the short-range wireless communication connection between the second device and the first device is disconnected.
[0105] 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.
[0106] In an optional implementation, the relevant descriptions of steps S503 to S505 can refer to the descriptions of the aforementioned steps S302 to S304, and will not be repeated here.
[0107] S506: If the second device has attempted to register in all cells selected in the cell information and all registrations have failed, the second device determines its own location information.
[0108] Optionally, the cell information corresponding to the location information may be cell information of all registrable cells in the area where the second device is located. Optionally, the number of cells in the cell information corresponding to the location information may be one or more.
[0109] S507: The second device obtains cell information corresponding to the location information.
[0110] In an optional implementation, the second device obtains the cell information corresponding to the location information in the following manner: based on the location information, obtains the cell information corresponding to the location information from the cloud.
[0111] S508. The second device selects a cell for registration based on the cell information corresponding to the location information.
[0112] In an optional embodiment, the second device selects a cell for registration based on the cell information corresponding to the location information, and can adopt the following method: determine the signal strength of each cell in the cell information corresponding to the location information; according to the order of the signal strength of each cell in the cell information corresponding to the location information from strong to weak, select the cell for registration in turn until the registration is successful.
[0113] Optionally, if the second device has attempted to register in all cells in the cell information corresponding to the selected location information and all registrations have failed, the second device may perform cell search and cell registration.
[0114] In an embodiment of the present application, the first device can search for each cell in the current network environment when it is connected to the second device, and determine the cell information based on each searched cell, the cell information including the cell identifier of each cell obtained by sorting the signal strength of each cell from strong to weak; when the short-range wireless communication connection between the first device and the second device is not disconnected, the first device sends the cell information to the second device, and correspondingly, the second device receives the cell information from the first device; when the second device detects that the short-range wireless communication connection between it and the first device is disconnected, it registers the cell based on the cell information; if the second device selects all cells in the cell information and attempts to register and all registrations fail, it can obtain the cell information corresponding to the location information, and select a cell for registration based on the cell information corresponding to the location information. It can be seen that if the second device selects all cells in the cell information and attempts to register and all registrations fail, it can select a cell for registration based on the cell information corresponding to the location information, thereby improving the success rate of cell registration.
[0115] The following introduces the first device and the second device used in the network access method provided by this application.
[0116] See Figure 6 , Figure 6 1 is a schematic diagram of the hardware architecture of a device 100 provided in an embodiment of the present application. The device 100 may be the aforementioned first device or the aforementioned second device.
[0117] like Figure 6 As shown, the device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging 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, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0118] It is understood that the structure shown in the embodiment of the present application does not constitute a specific limitation on the device 100. In other embodiments of the present application, the device 100 may include Figure 6 More or fewer components may be shown, or some components may be combined or separated, or the components may be arranged differently. Figure 6 The components shown can be implemented in hardware, software, or a combination of software and hardware.
[0119] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor, an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0120] The controller may be the nerve center and command center of the device 100. The controller may generate an operation control signal based on the instruction operation code and the timing signal to complete the control of instruction fetching and execution.
[0121] Processor 110 may also include a memory for storing instructions and data. In one optional embodiment, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the instruction or data again, it can directly call it from the memory. This avoids repeated accesses, reduces processor 110 latency, and thus improves system efficiency.
[0122] In an optional embodiment, the processor 110 may be configured to perform the operations of the second device in the aforementioned onboarding method, specifically as follows: detecting whether the short-range wireless communication connection with the first device is disconnected; if it is detected that the short-range wireless communication connection with the first device is disconnected, selecting a cell for registration based on cell information, where the cell information includes cell identifiers of each cell, sorted in descending order of signal strength. The specific steps executed by the processor 110 may be referred to the description of steps S201-S202 above and are not further described here.
[0123] In addition, before detecting whether the short-range wireless communication connection with the first device is disconnected, the processor 110 is further configured to: receive cell information from the first device.
[0124] In addition, when selecting a cell for registration based on the cell information, the processor 110 is specifically configured to select cells for registration in sequence according to the order of signal strength of each cell in the cell information from strong to weak, until registration is successful.
[0125] In addition, the processor 110 is further configured to: determine its own location information if all cells in the selected cell information have attempted to register and all registrations have failed; obtain cell information corresponding to the location information; and select a cell for registration based on the cell information corresponding to the location information.
[0126] In another optional embodiment, the processor 110 can be used to execute the operations of the first device in the aforementioned network stationing method, specifically as follows: determining cell information, the cell information including the cell identifiers of each cell obtained by sorting the signal strength of each cell from strong to weak; sending the cell information to the second device, the second device is a device that has a short-range wireless communication connection with the first device, and the cell information is used by the second device to select a cell for registration when it detects that the short-range wireless communication connection with the first device is disconnected.
[0127] In addition, when used to determine the cell information, the processor 110 is specifically used to: if it is detected that the second device has been connected, periodically search for each cell in the current network environment; and determine the cell information based on each searched cell.
[0128] In addition, the processor 110 performs a step of sending cell information to the second device before responding to a first operation input to the first device, where the first operation is used to indicate confirmation of disconnecting the short-range wireless communication connection with the second device.
[0129] In addition, the first operation is an operation acting on the first control, and the processor 110 is also used to: output the first control of whether to disconnect the short-range wireless communication connection with the second device in response to the second operation input to the first device; receive the first operation for the first device input through the first control.
[0130] In addition, the processor 110 is further configured to: 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 the first threshold, execute the step of sending cell information to the second device.
[0131] In an optional embodiment, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0132] It is understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is merely illustrative and does not constitute a structural limitation on the device 100. In other embodiments of the present application, the device 100 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.
[0133] The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).
[0134] Random access memory may include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM, for example, the fifth generation of DDR SDRAM is generally referred to as DDR5 SDRAM), etc.
[0135] Non-volatile memory may include disk storage devices and flash memory.
[0136] Flash memory can be divided into NOR FLASH, NAND FLASH, 3D NAND FLASH according to the operating principle, single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC) according to the storage cell potential level, and universal flash storage (UFS), embedded multi media card (eMMC), etc. according to the storage specification.
[0137] The random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data.
[0138] The non-volatile memory may also store executable programs and user and application data, etc., and may be loaded into the random access memory in advance for direct reading and writing by the processor 110 .
[0139] The external memory interface 120 can be used to connect to an external non-volatile memory device to expand the storage capacity of the device 100. The external non-volatile memory device communicates with the processor 110 via the external memory interface 120 to implement data storage. For example, files such as music and videos can be stored in the external non-volatile memory device.
[0140] The wireless communication function of the device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0141] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0142] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied on the device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In an optional embodiment, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In an optional embodiment, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0143] The wireless communication module 160 can provide wireless communication solutions applied to the device 100, including wireless local area networks (WLAN) (such as wireless fidelity (WiFi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. The wireless communication module 160 can 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 sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0144] Device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 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 modify display information.
[0145] Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLED, or a quantum dot light-emitting diode (QLED). In some embodiments, device 100 may include one or N display screens 194, where N is a positive integer greater than one.
[0146] The device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display 194, and an application processor.
[0147] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.
[0148] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0149] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU enables intelligent cognitive applications such as image recognition, face recognition, speech recognition, and text comprehension on device 100.
[0150] The device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0151] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.
[0152] The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The device 100 can listen to music or listen to hands-free calls through the speaker 170A.
[0153] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the device 100 receives a call or voice message, the user can hear the voice by placing the receiver 170B close to the ear.
[0154] Microphone 170C, also known as "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The device 100 can be provided with at least one microphone 170C. In other embodiments, the device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the device 100 can also be provided with three, four or more microphones 170C to realize sound signal collection, noise reduction, and identification of sound sources, and realize directional recording function, etc.
[0155] The pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194 .
[0156] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the device 100 calculates altitude using the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.
[0157] The magnetic sensor 180D includes a Hall sensor, and the device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip cover.
[0158] Accelerometer 180E detects the magnitude of acceleration of device 100 in all directions (generally three axes). It can also detect the magnitude and direction of gravity when device 100 is stationary. It can also be used to identify the electronic device's posture, enabling applications such as switching between landscape and portrait modes and pedometers.
[0159] The fingerprint sensor 180H is used to collect fingerprints. The device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
[0160] The touch sensor 180K is also called a "touch panel." The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen." The touch sensor 180K is used to detect touch operations applied on or near the touch sensor. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the device 100, in a location different from that of the display screen 194.
[0161] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone mass in a human vocal part.
[0162] In the embodiment of the present application, the software system of the device 100 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a microservice architecture, or a cloud architecture. The embodiment of the present application takes the Android system with a layered architecture as an example to illustrate the software structure of the device 100.
[0163] See Figure 7 , Figure 7 1 is a schematic diagram of the software architecture of a device 100 provided in an embodiment of the present application.
[0164] A layered architecture divides software into several layers, each with distinct roles and responsibilities. Layers communicate with each other through software interfaces. In one implementation, the Android system is divided into four layers: the application layer, the application framework layer, the hardware abstraction layer (HAL), and the kernel layer.
[0165] The application layer can include a series of application packages. Figure 7 As shown, the application package may include smart assistant, gallery, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.
[0166] The application framework layer provides application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions. Figure 7 As shown, 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.
[0167] The window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, take screenshots, etc.
[0168] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0169] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.
[0170] The phone manager is used to provide communication functions of the device 100, such as management of call status (including answering, hanging up, etc.).
[0171] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0172] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically without user interaction. For example, the Notification Manager is used to notify users of completed downloads and message reminders. The Notification Manager can also display notifications in the top status bar of the system as icons or scrolling text, such as notifications from background applications, or as dialog windows on the screen. Examples include text messages in the status bar, beeps, vibrations on electronic devices, and flashing indicator lights.
[0173] The hardware abstraction layer may include multiple functional modules, such as a detection module, a processing module, a determination module, and a communication module.
[0174] In an optional embodiment, the device 100 can perform the operations of the second device in the aforementioned network stationing method, for example: the detection module is used to detect whether the short-range wireless communication connection with the first device is disconnected; the processing module is used to select a cell for registration based on the cell information if it is detected that the short-range wireless communication connection with the first device is disconnected, and the cell information includes the cell identification of each cell obtained by sorting the signal strength of each cell from strong to weak.
[0175] In another optional embodiment, the device 100 can perform the operations of the first device in the aforementioned network stationing method, for example: the determination module is used to determine the cell information, the cell information includes the cell identification of each cell obtained by sorting the signal strength of each cell from strong to weak; the communication module is used to send the cell information to the second device, the second device is a device that has a short-range wireless communication connection with the first device, and the cell information is used by the second device to select a cell for registration when it detects that the short-range wireless communication connection with the first device is disconnected.
[0176] The kernel layer is the layer between hardware and software. The kernel layer includes at least processing drivers, display drivers, camera drivers, audio drivers, sensor drivers, etc.
[0177] It should be noted that, for the above method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the order of the actions described. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the present invention. The various embodiments of the present application can be arbitrarily combined to achieve different technical effects.
[0178] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can 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 process or function described in this application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can 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 can be transmitted from a website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital versatile disk (DVD)), or a semiconductor medium (eg, a solid state disk).
[0179] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program can include the processes in the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as read-only memory (ROM) or RAM, a magnetic disk, or an optical disk.
[0180] In short, the above description is only an embodiment of the technical solution of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent replacements, improvements, etc. made based on the disclosure of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for stationing on a network, characterized in that: The method comprises: Receiving cell information from the first device, the cell information including cell identifiers of the cells obtained by sorting the cells in descending order of signal strength; detecting whether the short-range wireless communication connection with the first device is disconnected; If it is detected that the short-range wireless communication connection with the first device is disconnected, selecting a cell for registration based on the cell information; If all cells in the selected cell information have been tried for registration and all registrations have failed, then the own location information is determined; Obtaining cell information corresponding to the location information from the cloud; Based on the acquired cell information, a cell is selected for registration.
2. The method according to claim 1, characterized in that The selecting a cell for registration based on the cell information includes: According to the order of signal strength of each cell from strong to weak in the cell information, cells are selected for registration in turn until the registration is successful.
3. A method for stationing on a network, characterized in that: The method comprises: In response to a second operation input to the first device, output a first control indicating whether to disconnect the short-range wireless communication connection with the second device, and determine cell information, wherein the cell information includes cell identifiers of each cell obtained by sorting the cells in descending order of signal strength; In response to a first operation input to the first device, the first operation acts on a first control and is used to indicate confirmation of disconnecting the short-range wireless communication connection with the second device and sending the cell information to the second device, where the second device is a device that has a short-range wireless communication connection with the first device, and the cell information is used by the second device to select a cell for registration when it detects that the short-range wireless communication connection with the first device is disconnected.
4. The method according to claim 3, characterized in that The determining of the cell information includes: If it is detected that the second device has been connected, periodically searching for each cell in the current network environment; Based on the searched cells, cell information is determined.
5. The method according to claim 3 or 4, characterized in that: The method further comprises: determining 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 the first threshold, the step of sending the cell information to the second device is performed.
6. A device, characterized in that: include: Memory, processor and touch screen; wherein: The touch screen is used to display content; The memory is used to store a computer program, wherein the computer program includes program instructions; The processor is used to call the program instructions so that the device executes the method according to claim 1 or 2, or executes the method according to any one of claims 3 to 5.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements the method according to claim 1 or 2, or executes the method according to any one of claims 3 to 5.
Citation Information
Patent Citations
Method and device for synchronizing system information
CN115550892A