CN115623557A - Network finding frequency determining method, network finding frequency determining device and electronic equipment - Google Patents

Network finding frequency determining method, network finding frequency determining device and electronic equipment Download PDF

Info

Publication number
CN115623557A
CN115623557A CN202211237106.4A CN202211237106A CN115623557A CN 115623557 A CN115623557 A CN 115623557A CN 202211237106 A CN202211237106 A CN 202211237106A CN 115623557 A CN115623557 A CN 115623557A
Authority
CN
China
Prior art keywords
network
determining
time
frequency
duration
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
Application number
CN202211237106.4A
Other languages
Chinese (zh)
Inventor
张家勇
胡朝锋
孙铭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202211237106.4A priority Critical patent/CN115623557A/en
Publication of CN115623557A publication Critical patent/CN115623557A/en
Priority to PCT/CN2023/123179 priority patent/WO2024078383A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses a network finding frequency determining method, a network finding frequency determining device and electronic equipment, and belongs to the technical field of electronics. The network finding frequency determining method comprises the following steps: acquiring a network registration state of a user identity card, and acquiring a first duration of the user identity card not connected with a network; and determining a target frequency of searching the network by the modem based on the network registration state and the screen on-off condition of the electronic equipment under the condition that the first time length exceeds a first threshold value.

Description

Network finding frequency determining method, network finding frequency determining device and electronic equipment
Technical Field
The application belongs to the technical field of electronics, and particularly relates to a network finding frequency determining method, a network finding frequency determining device and electronic equipment.
Background
The subscriber identity card is widely used in electronic devices, and can normally provide various services in case of normal networking of the subscriber identity card, and can perform network searching through a modem in the electronic device to recover network services in case of network loss of the subscriber identity card. In the related art, when the network of the subscriber identity module card is lost, the modem frequently performs network search, thereby consuming a large amount of electric energy, shortening the use time and the standby time of the electronic device, and affecting the use experience of a user.
Disclosure of Invention
An object of the embodiments of the present application is to provide a network finding frequency determining method, a network finding frequency determining apparatus, and an electronic device, which can solve the problem of high energy consumption in network search.
In a first aspect, an embodiment of the present application provides a method for determining a network searching frequency, where the method includes:
acquiring a network registration state of a user identity card, and acquiring a first duration of the user identity card not connected with a network;
and determining a target frequency of searching a network by the modem based on the network registration state and the screen on-off condition of the electronic equipment under the condition that the first time exceeds a first threshold value.
In a second aspect, an embodiment of the present application provides a network finding frequency determining apparatus, where the apparatus includes:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring the network registration state of a user identity card and acquiring the first duration of the user identity card which is not connected with a network;
and the first determining module is used for determining the target frequency of the modem for searching the network based on the network registration state and the screen on-off condition of the electronic equipment under the condition that the first time exceeds a first threshold value.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, which is stored in a storage medium and executed by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, the network registration state of a user identity card is firstly obtained, and the first duration of the user identity card which is not connected with a network is obtained; the target frequency of the modem for searching the network is determined only when the user identity identification card is not connected with the network for a long time and based on the network registration state and the screen on-off condition of the electronic equipment, so that the frequency of the modem for searching the network can be obviously reduced, the electric quantity loss of the modem is reduced, the use time or the standby time of the electronic equipment is prolonged, and the use experience of a user is improved.
Drawings
Fig. 1 is a schematic flowchart of a network searching frequency determining method according to an embodiment of the present application;
fig. 2 is a second schematic flowchart of a network searching frequency determining method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a network searching frequency determining apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 5 is a hardware schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below clearly with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/", and generally means that the former and latter related objects are in an "or" relationship.
The network finding frequency determining method, the network finding frequency determining apparatus, the electronic device and the readable storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
The network searching frequency determining method can be applied to the terminal, and can be specifically executed by hardware or software in the terminal.
The terminal includes, but is not limited to, a mobile phone or other portable communication device such as a tablet computer having a touch sensitive surface (e.g., a touch screen display and/or a touch pad). It should also be understood that in some embodiments, the terminal may not be a portable communication device, but rather a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or touchpad).
In the following various embodiments, a terminal including a display and a touch-sensitive surface is described. However, it should be understood that the terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and joystick.
In the network finding frequency determining method provided in the embodiment of the present application, an execution subject of the network finding frequency determining method may be an electronic device or a functional module or a functional entity capable of implementing the network finding frequency determining method in the electronic device, the electronic device mentioned in the embodiment of the present application includes, but is not limited to, a mobile phone, a tablet computer, a camera, a wearable device, and the like, and the network finding frequency determining method provided in the embodiment of the present application is described below with the electronic device as the execution subject.
The functional module or functional entity capable of implementing the network searching frequency determining method in the electronic device may be an Application Processor (AP) in the electronic device.
Fig. 1 is a schematic flowchart of a network searching frequency determining method provided in an embodiment of the present application, and as shown in fig. 1, the network searching frequency determining method includes the following steps:
step 100, acquiring a network registration state of a user identity card, and acquiring a first duration of the user identity card not connected with a network;
alternatively, the subscriber identity card may be a subscriber identity card, or a card having a similar function to the SIM.
The SIM (Subscriber Identity Module) is an Integrated Circuit Card (IC) held by a Mobile Subscriber of the Global System for Mobile Communications (GSM), and is a key for connecting a GSM electronic device to a GSM network.
Optionally, one or more subscriber identity module cards (SIM cards) may be inserted into the same electronic device, and the operating states of the subscriber identity module cards are independent of each other when the plurality of subscriber identity module cards are inserted.
Optionally, the first duration of the user identification card not connected to the network may be: the duration of the user identification card from the moment when the network state is just started to the current moment.
Optionally, a Modem (Modem) in the electronic device may monitor whether the user id card is registered in the network, determine whether the user id card can normally provide network services, that is, determine a network registration status, and report a network connection status of the user id card to the AP; in the case that the network of the user identification card is lost, the AP may determine a duration of the network loss of the user identification card, that is, determine the first duration.
And step 110, determining a target frequency of the modem for searching the network based on the network registration state and the on-off condition of the screen of the electronic equipment under the condition that the first time exceeds a first threshold.
Optionally, the network registration status of the user identification card includes: the user identification card is registered to the network, or the user identification card is not registered to the network.
Wherein, the user identification card of the unregistered network cannot provide the networking service. Exemplary, the subscriber identity cards of the unregistered network may include, but are not limited to: arrears, foreign cards, invalid cards, cards that do not have open service, and the like.
Alternatively, the subscriber identity card registered to the network may provide the networking service under normal conditions, but there may be a case where the network is lost, and when the subscriber identity card network is lost, the normal service may not be provided. For example, when the electronic device is located in an area without network coverage, or the area where the electronic device is located has no network coverage of the operator to which the subscriber identity card belongs, or the like, the network of the subscriber identity card is lost.
Optionally, after determining the network registration status and the first duration, the modem may search for the network at the target frequency only if the first duration exceeds the first threshold, so as to avoid high frequency network searching.
Optionally, different network registration states and screen on-off conditions of the electronic device may correspond to different network finding parameters, and the modem may determine the corresponding network finding parameters based on the currently acquired network registration states and screen on-off conditions of the electronic device, and search for the target frequency of the network based on the network finding parameters.
In the embodiment of the application, firstly, the network registration state of a user identity card is obtained, and the first duration of the user identity card not connected with a network is obtained; the target frequency of the modem for searching the network is determined only when the user identity identification card is not connected with the network for a long time and based on the network registration state and the screen on-off condition of the electronic equipment, so that the frequency of the modem for searching the network can be obviously reduced, the electric quantity loss of the modem is reduced, the use time or the standby time of the electronic equipment is prolonged, and the use experience of a user is improved.
Optionally, in a case where the user identification card registers in the network, a start time of the first duration is a time when the user identification card loses the network last time, and an end time of the first duration is a current time;
and under the condition that the user identity identification card is not registered in the network, the starting time of the first time length is the time when the modem detects the user identity identification card for the first time, and the ending time of the first time length is the current time.
Optionally, the time when the Modem detects the user id card for the first time may be the time when the Modem detects the user id card for the first time after the electronic device is turned on for the last time.
Optionally, when the number of the user identification cards is at least two, the time when the user identification card is detected for the first time corresponding to each user identification card may be obtained, and the time when the user identification card is detected for the first time may be stored.
Optionally, after the user identification card is identified, the Modem starts to perform network finding registration to determine whether the user identification card normally registers in the network.
Optionally, under the condition that it is determined that the user identification card has normally registered in the network, the user identification card is recorded as a user identification card capable of normally registering in the network, then the Modem continuously monitors the network connection state of the user identification card, and then the time when the network of the user identification card is lost is determined, and the time is the first starting time.
Optionally, in a case that the user id card registers in the network, the starting time of the first duration is a time when the Modem reports the network loss of the user id card to the AP for the first time in the target time period, that is, a time when the user id card loses the network for the first time in the target time period.
Optionally, when the user id card registers in the network, the first duration = current time — time of first network loss of the user id card in the target time period.
Optionally, in a case that the registration status of the user identification card is normal registration, the target time period may be: the time period from the last network loss of the user identification card to the current time value.
Optionally, in a case where the subscriber identity card is not registered to the network, the Modem may continuously find the network to recover the normal service and periodically report the network finding status and the service status to the AP. The AP may calculate the first duration with each opportunity for the modem to report the network discovery status and the service status.
Optionally, when it is determined that the user id card does not normally register in the network, the user id card is recorded as a user id card that does not normally register in the network, and the time when the user id card is detected for the first time is determined as the starting time of the first duration.
Optionally, in a case that the subscriber identity module card is not registered to the network, the starting time of the first duration is a time when the modem first detects the subscriber identity module card.
Optionally, in the case that the subscriber identity card is not registered to the network, the first duration = current time — time when the modem first detected the subscriber identity card.
It should be noted that, in the actual implementation process, under the condition that the user id card continues to lose the network, the Modem may report the current network state of the user id card to the AP periodically for multiple times, and the AP calculates the difference between the current time value and the start time of the first duration based on each reporting condition, so as to obtain multiple differences, and determines one of the multiple differences as the first duration.
Alternatively, a difference between the current time value and the start time of the first duration may be calculated, and in the case where the difference is greater than the first threshold, it is taken as the first duration.
Optionally, the first threshold is a value characterizing a longer time period, and the value of the first threshold may be user-defined.
Alternatively, by setting the first threshold value, a determination result error due to an error can be excluded.
Optionally, the AP may calculate a difference between the current time value and the start time of the first duration based on the network searching state and the service state reported by the Modem each time, determine a size relationship between the obtained first difference and the first threshold, and determine the first difference as the first duration when the first difference exceeds the first threshold.
For example, the first threshold value may be set to T1 seconds, and the difference value is determined as the first time period only if the difference value > T1 seconds, i.e., the first time period > T1 seconds.
According to the embodiment of the application, the first time length is determined by setting the first threshold, and the difference between the current time value and the starting time of the first time length is determined as the first time length only when the first difference exceeds the first threshold, so that the situation that the electronic equipment frequently determines the first time length based on received data, calculation disorder is caused, and normal operation of the electronic equipment is influenced is avoided.
In the embodiment of the application, the first time length is determined according to whether the network registration state of the user identification card is normal or not, so that a determination mode of the first time length under different conditions is provided, and the accuracy of the determined first time length is improved; in addition, by providing different first time length determination modes under multiple conditions, the user can select the optimal determination mode based on actual conditions, and the method has higher flexibility and universality.
Optionally, the determining a target frequency of a modem searching for a network based on the network registration status and a screen on/off condition of the electronic device includes:
determining an initial frequency of the modem search network as the target frequency under the condition that the electronic equipment is on screen and the user identification card registers the network;
determining the target frequency based on the first time length when the electronic equipment is on screen and the user identification card is not registered in a network;
determining the target frequency based on the first time length when the electronic device is turned off.
Optionally, the initial frequency is a network search frequency of the Modem when the user identification card loses a network, which is the default of the electronic device.
Alternatively, the Modem may periodically perform network searching, and network searching and rest are performed alternately, that is, each period includes: the network searching time and the rest time are equal, the network searching time corresponding to each period is equal, and the rest time corresponding to each period is equal, for example, under the initial frequency, the Modem rests for T0 seconds after searching for the network for x seconds in each period.
Alternatively, in the case that the Modem performs network searching based on the initial frequency, the Modem performs network searching at regular time intervals (i.e. regular rest time, such as T0 seconds).
Optionally, the fixed time interval is less than the sleep duration.
Optionally, the target frequency is a frequency at which the Modem performs network searching during a period when the subscriber identity card has no network service.
Alternatively, the target frequency may be the same as the initial frequency.
Alternatively, the target frequency may be less than the initial frequency.
Optionally, the target frequency may also be determined based on at least one of a screen status of the electronic device and a network registration status of the subscriber identity card.
Wherein, the screen state includes: and (5) lightening or extinguishing the screen.
The network registration state of the user identification card comprises the following steps: the user identification card is registered to the network or the user identification card is not registered to the network.
Optionally, in a case that the electronic device is on screen, the network registration state of the user identification card is further determined.
Alternatively, in the case where the electronic device is turned on and the user id card registers for a network, the initial frequency may be maintained for network searching.
Alternatively, in the case that the electronic equipment is on the screen and the user identification card is not registered with the network, the target frequency of network searching of the Modem can be determined based on the first time.
Alternatively, in the case that the electronic device is turned off, the target frequency of the Modem to perform the network search may be determined based on the first time period.
In the embodiment of the application, the target frequency is determined through the screen state, and the network search frequency of the Modem is reduced under the condition of screen off, so that the energy consumption is reduced, and the standby time of the electronic equipment is prolonged; and under the condition of bright screen, the target frequency is further determined according to the network registration state of the user identity card, the network search frequency of the Modem is reduced under the condition that the user identity card does not register the network, so that the energy consumption is reduced, the service life of the electronic equipment is prolonged, and the network search frequency with higher frequency is kept under the condition that the user identity card registers the network, so that the network search efficiency is improved, the user identity card can recover the normal network state as soon as possible, the electronic equipment can recover the normal working state as soon as possible, and the use experience of the user is further improved.
Optionally, the determining the target frequency based on the first time length includes:
determining a sleep duration of a modem based on the first duration;
determining the target frequency based on the sleep duration;
wherein the first duration is positively correlated with the sleep duration.
Optionally, the longer the first time period, the longer the sleep time period.
Optionally, the sleep duration is a time interval between the next network searching and the last network searching performed by the Modem, and may be obtained based on the first time duration.
Optionally, the first duration and the sleep duration may also be set to be in a direct proportional functional relationship or other functions satisfying a positive correlation relationship (that is, the first duration and the sleep duration are guaranteed to be in a positive correlation relationship), so as to implement more accurate and flexible control, which is not limited in the present application.
Optionally, the intervals may be divided by possible values of the first time duration, and the different intervals correspond to different sleep durations.
For example, when T1 second < the first time length is less than or equal to T2 seconds, the sleep time length is determined to be N1 seconds; when the T2 second is less than the first time length and less than the T3 second, determining that the sleeping time length is N2 seconds; when the first time length is more than or equal to T3 seconds, determining the sleeping time length to be N3 seconds; wherein T1 is more than 0 and less than T2 and less than T3, and N1 is more than 0 and less than N2 and less than N3.
Optionally, the sleep duration should be no less than a time interval between two corresponding network searches performed by the Modem based on the initial frequency.
Optionally, the first duration and the sleep duration should keep a positive correlation, so that after the first duration is increased by a certain value, the sleep duration corresponding to the first duration is correspondingly increased.
For example, the first durations in the intervals with different lengths may be correspondingly set with the sleep durations with different lengths by way of interval division, and the longer the length interval to which the first duration belongs, the longer the duration of the corresponding sleep duration.
For example, in the actual execution process, the AP obtains a first duration of the loss of the user identification card network, and determines the length of the first duration.
When the first time length is more than T1 second and less than or equal to T2 second, determining the sleeping time length to be N1 second, determining the target frequency of network searching after the Modem based on N1 second, namely, controlling the Modem by the AP to rest for N1 second and then perform next network searching after finishing the last network searching, keeping the target frequency to perform network searching until the network is searched, and stopping network searching after the user identity identification card restores to a normal network connection state.
When the time length T2 s is less than the first time length T3 s, the sleep time length is determined to be N2 s, the target frequency of network searching is determined after the Modem is determined based on the N2 s, namely the AP controls the Modem to rest for N2 s after the last network searching is finished, next network searching is performed, the target frequency is kept for network searching until the network is searched, and the network searching is stopped after the user identity identification card restores to a normal network connection state.
And when the first time length is less than or equal to T3 seconds and less than or equal to T4 seconds, determining the sleep time length to be N3 seconds, determining the target frequency of network searching after the Modem based on the N3 seconds, namely, controlling the Modem by the AP to rest for N3 seconds after the last network searching is finished, then performing the next network searching, keeping the target frequency for network searching until the network is searched, and stopping the network searching after the user identity identification card restores to the normal network connection state.
Wherein N1 is more than N2 and less than N3.
According to the method and the device, the sleep time of the Modem is determined according to the first time when the user identity card loses the network, positive correlation between the first time and the sleep time is ensured, then the target frequency for adjusting the subsequent network searching of the Modem under the condition that the user identity card loses the network is determined based on the sleep time and the initial frequency of the Modem searching network, the longer the first time when the network is lost is realized, the longer the sleep time corresponding to the Modem is, and therefore the electric quantity loss caused by frequent network searching of the Modem under the condition that the user identity card loses the network is avoided, the working time of the Modem is reduced by reducing the frequency of the searching network of the Modem, the electric quantity loss of the Modem is reduced, and the use time or the standby time of the electronic device is prolonged.
In the method, the sleep duration of the Modem is determined according to the first duration that the user identification card loses the network, so that the target frequency for adjusting the subsequent network searching of the Modem under the condition that the user identification card loses the network is further determined, the network searching frequency of the Modem can be obviously reduced, the electric quantity loss of the Modem is reduced, the service duration or the standby duration of the electronic equipment is prolonged, and the use experience of a user is improved.
Optionally, the determining the target frequency based on the first time length when the electronic device is turned off includes:
under the condition that the electronic equipment is turned off, acquiring a second time length for turning off the screen;
determining the target frequency based on the first duration if the second duration is greater than a second threshold.
Optionally, in a case where the screen status is off, the target frequency may be determined for the first duration regardless of whether the network status of the subscriber identity card is normal or abnormal.
For example, when it is determined that the second duration of the screen turning-off is greater than the second threshold, the AP determines that the screen state of the electronic device at the current time is the screen turning-off.
Optionally, the second time period is a time period from the last screen off to the current time.
Optionally, the second threshold is a reference value for filtering a short turn-off condition.
Optionally, the electronic device is considered to enter the screen-off state only when the second duration is greater than the second threshold, and the target frequency is determined based on the first duration.
Optionally, in a case that the second duration does not exceed the second threshold, the initial frequency is determined as the target frequency.
For example, after determining the first duration, the AP determines the screen status of the electronic device at the current time.
And under the condition that the screen is in the screen-off state, acquiring a second duration for screen-off, and judging the size relation between the second duration and a second threshold.
And under the condition that the second time length is determined not to exceed the second threshold value, keeping the initial frequency for network searching.
And under the condition that the second time length is determined to exceed the target threshold, determining the target frequency for searching the network after the Modem based on the first time length.
According to the network searching frequency determining method provided by the embodiment of the application, the screen state of the electronic equipment is determined by setting the second threshold, the situation of short screen off can be filtered out, anti-shake processing is realized, the times of adjusting the network searching data of the Modem are reduced, the impact of an AP on the Modem is reduced, the normal working state of the Modem is effectively maintained, and the service life of the Modem is prolonged.
Optionally, in a case that the electronic device is turned off, after determining the target frequency based on the first duration, the method includes:
after the electronic equipment is turned on, and under the condition that the user identity identification card registers the network, updating the target frequency to the initial frequency of the modem searching network;
and after the electronic equipment is lightened, keeping the target frequency unchanged under the condition that the user identification card is not registered in the network.
Optionally, in the case of turning off the screen and then turning on the screen again, the AP may determine the target frequency after turning on the screen again based on the network registration status of the user identification card.
In an embodiment, fig. 2 is a second flowchart of the method for determining a network finding frequency according to the embodiment of the present disclosure, as shown in fig. 2, when an electronic device is powered on, a power-on time is recorded, and a network finding registration is performed, after the network registration of a subscriber identity card, a network is lost at a certain time, a difference between the current time and the time when the network is lost may be used as a first time duration, and in a case that the first time duration exceeds a first threshold, if the electronic device is currently in a screen-off state, a target frequency of a subsequent network search may be determined based on the first time duration, and if the electronic device is turned on after the search is completed, the target frequency may be updated (restored) to an initial frequency.
For example, after determining that the sleep duration is N1 seconds, the AP determines the screen state of the electronic device at the current time value. Under the condition that the screen state is determined to be off, directly determining the target frequency of network searching after the Modem based on N1 seconds; that is, the AP controls the Modem to rest for N1 seconds after finishing the last network search and then carry out the next network search. After the AP periodically searches the network for a period of time based on the time interval of N1 seconds, the screen of the electronic equipment is lightened again, and at the moment, the AP further judges the network registration state of the user identity identification card. And under the condition that the user identity card is determined to register the network, updating the target frequency to the initial frequency, namely, controlling the Modem by the AP to rest for T0 seconds after finishing the last network search and then carrying out the next network search. And under the condition that the network registration state of the user identity identification card is determined to be that the user identity identification card does not register a network, keeping the previous target frequency unchanged, namely, controlling the Modem by the AP to rest for N1 second after finishing the previous network search and then performing the next network search.
According to the network searching frequency determining method provided by the embodiment of the application, after the screen is turned off and on, whether the target frequency of the subsequent searching network of the Modem is adjusted or not is further determined based on the network registration state of the user identity card, and the lower frequency is kept unchanged under the condition that the user identity card of the user identity card is not registered with the network, so that the energy consumption is reduced, and the service life of the electronic equipment is prolonged; and under the condition that the user identification card of the user identification card registers the network, the network searching frequency is improved to improve the network searching efficiency, so that the user identification card can recover the normal network state as soon as possible, the electronic equipment can recover the normal working state as soon as possible, and the use experience of the user is further improved.
In the network searching frequency determining method provided by the embodiment of the application, the executing subject can be a network searching frequency determining device. In the embodiment of the present application, a network searching frequency determining apparatus executes a network searching frequency determining method as an example, and the network searching frequency determining apparatus provided in the embodiment of the present application is described.
The embodiment of the application also provides a network finding frequency determining device.
Fig. 3 is a schematic structural diagram of a network searching frequency determining apparatus according to an embodiment of the present application, and as shown in fig. 3, the network searching frequency determining apparatus includes: a first acquisition module 310 and a first determination module 320.
The first obtaining module 310 is configured to obtain a network registration state of a user identity card, and obtain a first duration that the user identity card is not connected to a network;
the first determining module 320 is configured to determine a target frequency for the modem to search for the network based on the network registration status and a screen on/off condition of the electronic device if the first duration exceeds a first threshold.
In the embodiment of the application, firstly, the network registration state of a user identity card is obtained, and the first duration of the user identity card not connected with a network is obtained; the target frequency of the modem for searching the network is determined only when the user identity identification card is not connected with the network for a long time and based on the network registration state and the screen on-off condition of the electronic equipment, so that the frequency of the modem for searching the network can be obviously reduced, the electric quantity loss of the modem is reduced, the use time or the standby time of the electronic equipment is prolonged, and the use experience of a user is improved.
Optionally, in a case that the user identification card registers in a network, a starting time of the first duration is a time when the user identification card loses the network last time, and an ending time of the first duration is a current time;
and under the condition that the user identity identification card is not registered in the network, the starting time of the first time length is the time when the modem detects the user identity identification card for the first time, and the ending time of the first time length is the current time.
Optionally, the first determining module is configured to:
determining an initial frequency of the modem search network as the target frequency under the condition that the electronic equipment is on screen and the user identification card registers the network;
determining the target frequency based on the first time length when the electronic equipment is on screen and the user identification card is not registered in a network;
determining the target frequency based on the first time length when the electronic device is turned off.
Optionally, the first determining module is configured to:
determining a sleep duration of the modem based on the first duration;
determining the target frequency based on the sleep duration;
wherein the first duration is positively correlated with the sleep duration.
Optionally, in the case that the electronic device is turned off, the first determining module includes:
the obtaining unit is used for obtaining a second time length for turning off the screen under the condition that the electronic equipment turns off the screen;
a determining unit, configured to determine the target frequency based on the first time length if the second time length is greater than a second threshold.
Optionally, the apparatus comprises:
an updating module, configured to update the target frequency to an initial frequency of the modem search network after the target frequency is determined based on the first duration when the electronic device is turned off, after the electronic device is turned on, and when the user identification card registers a network;
and the maintaining module is used for maintaining the target frequency unchanged after the electronic equipment is lightened and under the condition that the user identity identification card is not registered in the network.
The network searching frequency determining apparatus in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (Network Attached Storage, NAS), a personal computer (NAS), a Television (TV), an assistant, a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The network searching frequency determining device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an IOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The network searching frequency determining apparatus provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 2, and is not described here again to avoid repetition.
Optionally, fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application, and as shown in fig. 4, an embodiment of the present application further provides an electronic device 400, which includes a processor 401, a memory 402, and a program or an instruction stored in the memory 402 and capable of running on the processor 401, and when the program or the instruction is executed by the processor 401, the process of the embodiment of the network searching frequency determining method is implemented, and the same technical effect can be achieved, and details are not repeated here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 5 is a hardware schematic diagram of an electronic device provided in an embodiment of the present application.
The electronic device 500 includes, but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor 510, and the like.
Those skilled in the art will appreciate that the electronic device 500 may further comprise a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Wherein processor 510 may be configured to:
acquiring a network registration state of a user identity card, and acquiring a first duration of the user identity card not connected with a network;
and determining a target frequency of searching a network by the modem based on the network registration state and the screen on-off condition of the electronic equipment under the condition that the first time exceeds a first threshold value.
According to the electronic equipment provided by the embodiment of the application, the sleep time of the Modem is determined through the first time when the user identity card loses the network, so that the target frequency for adjusting the subsequent network searching of the Modem under the condition that the user identity card loses the network is further determined, the frequency of the network searching of the Modem can be obviously reduced, the electric quantity loss of the Modem is reduced, the use time or the standby time of the electronic equipment is prolonged, and the use experience of a user is improved.
Optionally, in a case that the user identification card registers in a network, a starting time of the first duration is a time when the user identification card loses the network last time, and an ending time of the first duration is a current time;
and under the condition that the user identity identification card is not registered in the network, the starting time of the first time length is the time when the modem detects the user identity identification card for the first time, and the ending time of the first time length is the current time.
Optionally, processor 510 may be configured to:
determining an initial frequency of the modem search network as the target frequency under the condition that the electronic equipment is on screen and the user identification card registers the network;
determining the target frequency based on the first time length when the electronic equipment is on screen and the user identification card is not registered in a network;
determining the target frequency based on the first time length when the electronic device is turned off.
Optionally, processor 510 may be configured to:
determining a sleep duration of the modem based on the first duration;
determining the target frequency based on the sleep duration;
wherein the first duration is positively correlated with the sleep duration.
Optionally, processor 510 may be configured to:
acquiring a second duration of screen extinguishing under the condition that the electronic equipment is screen extinguishing;
determining the target frequency based on the first duration if the second duration is greater than a second threshold.
Optionally, processor 510 may be configured to:
updating the target frequency to an initial frequency of the modem search network after the target frequency is determined based on the first time length when the electronic equipment is turned off, after the electronic equipment is turned on, and when the user identification card registers the network;
and after the electronic equipment is turned on, keeping the target frequency unchanged under the condition that the user identification card is not registered in the network.
It should be understood that in the embodiment of the present application, the input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes at least one of a touch panel 5071 and other input devices 5072. The touch panel 5071 is also called a touch screen. The touch panel 5071 may include two parts of a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 509 may include volatile memory or non-volatile memory, or the memory 509 may include both volatile and non-volatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct bus RAM (DRRAM). The memory 509 in the embodiments of the subject application includes, but is not limited to, these and any other suitable types of memory.
Processor 510 may include one or more processing units; optionally, the processor 510 integrates an application processor, which primarily handles operations involving the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It is to be appreciated that the modem processor described above may not be integrated into processor 910.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above network searching frequency determining method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above network finding frequency determining method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, or a system-on-chip.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing display method embodiments, and achieve the same technical effects, and in order to avoid repetition, details are not described here again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one of 8230, and" comprising 8230does not exclude the presence of additional like elements in a process, method, article, or apparatus comprising the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. A method for determining a network searching frequency, comprising:
acquiring a network registration state of a user identity card, and acquiring a first duration of the user identity card not connected with a network;
and determining a target frequency of searching a network by the modem based on the network registration state and the screen on-off condition of the electronic equipment under the condition that the first time exceeds a first threshold value.
2. The network-finding frequency determining method according to claim 1,
under the condition that the user identification card registers the network, the starting time of the first time length is the last time when the user identification card loses the network, and the ending time of the first time length is the current time;
and under the condition that the user identity identification card is not registered in the network, the starting time of the first time length is the time when the modem detects the user identity identification card for the first time, and the ending time of the first time length is the current time.
3. The method for determining the network searching frequency according to claim 1 or 2, wherein the determining the target frequency of the modem searching network based on the network registration status and the screen on/off condition of the electronic device comprises:
determining an initial frequency of the modem search network as the target frequency under the condition that the electronic equipment is on screen and the user identification card registers the network;
determining the target frequency based on the first time length when the electronic equipment is on screen and the user identification card is not registered in a network;
determining the target frequency based on the first time length when the electronic device is turned off.
4. The method for determining a network searching frequency according to claim 3, wherein the determining the target frequency based on the first time length comprises:
determining a sleep duration of a modem based on the first duration;
determining the target frequency based on the sleep duration;
wherein the first duration is positively correlated with the sleep duration.
5. The method for determining the network searching frequency according to claim 3, wherein the determining the target frequency based on the first time length when the electronic device is turned off comprises:
acquiring a second duration of screen extinguishing under the condition that the electronic equipment is screen extinguishing;
determining the target frequency based on the first duration if the second duration is greater than a second threshold.
6. The finding network frequency determining method according to claim 3, wherein after determining the target frequency based on the first time length in a case where the electronic device is turned off, the method further comprises:
after the electronic equipment is turned on and the user identification card registers the network, updating the target frequency to the initial frequency of the modem searching network;
and after the electronic equipment is turned on, keeping the target frequency unchanged under the condition that the user identification card is not registered in the network.
7. A network finding frequency determining apparatus, comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring the network registration state of a user identity card and acquiring the first duration of the user identity card which is not connected with a network;
and the first determining module is used for determining the target frequency of the modem for searching the network based on the network registration state and the screen on-off condition of the electronic equipment under the condition that the first time exceeds a first threshold value.
8. The finding frequency determining apparatus according to claim 7,
under the condition that the user identification card registers the network, the starting time of the first time length is the time when the user identification card loses the network last time, and the ending time of the first time length is the current time;
and under the condition that the user identity identification card is not registered in the network, the starting time of the first time length is the time when the modem detects the user identity identification card for the first time, and the ending time of the first time length is the current time.
9. The network finding frequency determining apparatus according to claim 7 or 8, wherein the first determining module is specifically configured to:
determining an initial frequency of the modem search network as the target frequency under the condition that the electronic equipment is on screen and the user identification card registers the network;
determining the target frequency based on the first time length under the condition that the electronic equipment is on screen and the user identification card is not registered in a network;
determining the target frequency based on the first time length when the electronic device is turned off.
10. The device for determining a network searching frequency according to claim 9, wherein the first determining module is specifically configured to:
determining a sleep duration of the modem based on the first duration;
determining the target frequency based on the sleep duration;
wherein the first duration is positively correlated with the sleep duration.
11. The finding network frequency determining device of claim 9, wherein the first determining module comprises, in case that the electronic device is turned off:
the obtaining unit is used for obtaining a second time length for screen off under the condition that the electronic equipment is screen off;
a determining unit, configured to determine the target frequency based on the first time length if the second time length is greater than a second threshold.
12. The network finding frequency determining apparatus as claimed in claim 9, wherein the apparatus further comprises:
an updating module, configured to update the target frequency to an initial frequency of the modem search network after determining the target frequency based on the first duration when the electronic device is turned off, after the electronic device is turned on, and when the subscriber identity module card registers a network;
and the maintaining module is used for maintaining the target frequency unchanged after the electronic equipment is on screen and under the condition that the user identity card is not registered in the network.
13. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing the network finding frequency determination method as claimed in any one of claims 1-6.
14. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the network finding frequency determining method as claimed in any one of claims 1 to 6.
CN202211237106.4A 2022-10-10 2022-10-10 Network finding frequency determining method, network finding frequency determining device and electronic equipment Pending CN115623557A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211237106.4A CN115623557A (en) 2022-10-10 2022-10-10 Network finding frequency determining method, network finding frequency determining device and electronic equipment
PCT/CN2023/123179 WO2024078383A1 (en) 2022-10-10 2023-10-07 Network-searching frequency determination method, network-searching frequency determination apparatus and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211237106.4A CN115623557A (en) 2022-10-10 2022-10-10 Network finding frequency determining method, network finding frequency determining device and electronic equipment

Publications (1)

Publication Number Publication Date
CN115623557A true CN115623557A (en) 2023-01-17

Family

ID=84861894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211237106.4A Pending CN115623557A (en) 2022-10-10 2022-10-10 Network finding frequency determining method, network finding frequency determining device and electronic equipment

Country Status (2)

Country Link
CN (1) CN115623557A (en)
WO (1) WO2024078383A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024078383A1 (en) * 2022-10-10 2024-04-18 维沃移动通信有限公司 Network-searching frequency determination method, network-searching frequency determination apparatus and electronic device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103906196B (en) * 2014-04-15 2018-02-13 宇龙计算机通信科技(深圳)有限公司 Network search method and web search device, terminal
CN107333310A (en) * 2017-06-27 2017-11-07 奇酷互联网络科技(深圳)有限公司 Control method, device and the mobile terminal of reselecting network
US10244457B1 (en) * 2017-09-07 2019-03-26 Qualcomm Incorporated Service search using geofence configurations
CN110087287B (en) * 2019-04-23 2023-08-11 努比亚技术有限公司 Control method and device for terminal network searching, mobile terminal and storage medium
CN111132011A (en) * 2019-12-27 2020-05-08 上海移远通信科技有限公司 Configuration method, system, electronic device and medium of communication module
CN113316227B (en) * 2021-05-21 2023-06-27 Oppo广东移动通信有限公司 Network searching method, terminal and storage medium
CN115623557A (en) * 2022-10-10 2023-01-17 维沃移动通信有限公司 Network finding frequency determining method, network finding frequency determining device and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024078383A1 (en) * 2022-10-10 2024-04-18 维沃移动通信有限公司 Network-searching frequency determination method, network-searching frequency determination apparatus and electronic device

Also Published As

Publication number Publication date
WO2024078383A1 (en) 2024-04-18

Similar Documents

Publication Publication Date Title
KR101641174B1 (en) Method for enabling shutdown alarm clock and mobile terminal, and program, and recording medium for enabling shutdown alarm clock
CN106775965B (en) Processing method and device for timing task
EP3506105B1 (en) Method and device for processing a memory and storage medium
CN107291586B (en) Application program analysis method and device
CN110018901B (en) Memory recovery method and device, computer equipment and computer readable storage medium
CN107302633B (en) Application control method, device, storage medium and electronic equipment
EP2990949A1 (en) Methods and devices for backing up file
CN107623899B (en) Information processing method, information processing apparatus, storage medium, and electronic device
KR20180037954A (en) System and method for cache-aware low-power mode control in portable computing devices
US20130054986A1 (en) Method and apparatus for booting electronic device based on use context
WO2024078383A1 (en) Network-searching frequency determination method, network-searching frequency determination apparatus and electronic device
CN111866976A (en) Network switching method and device
CN110837343B (en) Snapshot processing method and device and terminal
CN110636598B (en) Terminal power saving control method and device, mobile terminal and storage medium
WO2016179900A1 (en) Routing device, power saving method and apparatus therefor, and storage medium
US9356459B2 (en) Method for charging battery and electronic device thereof
US20180152893A1 (en) Terminal control method and apparatus and terminal device
US8761833B2 (en) Apparatus and method for power saving using predictive polling in a portable terminal
WO2022156572A1 (en) Control method, control apparatus, and electronic device
CN115577724A (en) Card reading method and device, electronic equipment and readable storage medium
CN114974495A (en) Sleep data calibration method and electronic equipment
CN110889102B (en) Image unlocking method and device, computer readable storage medium and terminal
CN113220106A (en) Power saving control method and power saving control device
CN108681467B (en) System awakening method and terminal
CN108594705B (en) State detection method and device of mobile terminal, storage medium and mobile terminal

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