WO2021244198A1 - Radio resource control (rrc) state maintaining method, terminal, and storage medium - Google Patents
Radio resource control (rrc) state maintaining method, terminal, and storage medium Download PDFInfo
- Publication number
- WO2021244198A1 WO2021244198A1 PCT/CN2021/091154 CN2021091154W WO2021244198A1 WO 2021244198 A1 WO2021244198 A1 WO 2021244198A1 CN 2021091154 W CN2021091154 W CN 2021091154W WO 2021244198 A1 WO2021244198 A1 WO 2021244198A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sim card
- data sim
- time
- network
- rrc state
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/20—Transfer of user or subscriber data
- H04W8/205—Transfer to or from user equipment or user record carrier
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/20—Manipulation of established connections
- H04W76/27—Transitions between radio resource control [RRC] states
Definitions
- This application relates to the field of communications, and in particular to a method for maintaining a radio resource control RRC state, a terminal, and a storage medium.
- time division multiplexing is used to achieve data subscriber identity recognition (Subscriber Identity Module, SIM) card and non-data SIM card Sharing of radio frequency (RF) resources, when the data SIM card is in the RRC connection state, when the non-data SIM card occupies the RF resources, the data SIM card will release the local RRC connection until the non-data SIM card is released When RF resources are used, the data SIM card re-establishes an RRC connection with the network, which causes a long delay in restoring the RRC connection of the data SIM card.
- RF radio frequency
- the embodiment of the present application provides a method for maintaining a radio resource control RRC state, a terminal, and a storage medium, which can reduce the time delay for restoring the RRC connection of a data SIM card.
- the embodiment of the application provides a method for maintaining a radio resource control RRC state, which is applied to a terminal, and the terminal includes a data user identification SIM card and a non-data SIM card, and the method includes:
- An embodiment of the present application provides a terminal, the terminal includes a data user identification SIM card and a non-data SIM card, and the terminal includes:
- the determining part is configured to determine the occupancy time of the radio frequency resource occupied by the non-data SIM card; determine the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the occupancy time and a preset time threshold;
- the RRC connection control part is further configured to control the RRC connection of the data SIM card according to the synchronization situation.
- An embodiment of the present application provides a terminal.
- the terminal includes a processor, a transmitter, a memory, and a communication bus; when the processor executes an operating program stored in the memory, the method according to any one of the foregoing is implemented.
- An embodiment of the present application provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the method as described in any one of the above is implemented.
- FIG. 1 is a flowchart of an RRC state maintenance method provided by an embodiment of this application
- FIG. 2 is a schematic diagram 1 of an exemplary process for implementing RRC state maintenance of a terminal according to an embodiment of this application;
- FIG. 3 is a schematic diagram 2 of an exemplary process for implementing RRC state maintenance of a terminal according to an embodiment of the present application
- FIG. 4 is a first structural diagram of a terminal 1 provided by an embodiment of the application.
- FIG. 5 is a second structural diagram of a terminal 1 provided by an embodiment of this application.
- an example of this application proposes a radio resource control RRC state maintenance method, which is applied to a terminal, the terminal includes a data user identification SIM card and a non-data SIM card, and the method includes:
- the determining the occupancy time of radio frequency resources occupied by the non-data SIM card includes:
- the service processing time is the time between when the non-data SIM card occupies the radio frequency resource to when the non-data SIM card releases the radio frequency resource;
- the service processing time is determined as the occupancy time.
- the method before the determining the occupancy time of the radio frequency resource occupied by the non-data SIM card, the method further includes:
- the preset time threshold includes a first time threshold
- the determining the occupancy time of radio frequency resources occupied by the non-data SIM card includes:
- the service processing time is determined as the occupancy time.
- the preset time threshold includes a first time threshold and a second time threshold, the second time threshold is less than the first time threshold, and the predetermined time threshold is based on the service processing time and the preset time threshold, Determining the synchronization between the RRC state of the data SIM card and the RRC state of the network includes:
- the service processing time is less than the second time threshold, it is determined that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network;
- the service processing time is greater than the first time threshold, it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network;
- the first time interval is a time interval between the second time threshold and the first time threshold.
- the utilizing the communication between the data SIM card and the network and determining the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the communication result includes:
- the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network
- the request response returned by the network is not received, it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network.
- the controlling the RRC connection of the data SIM card according to the synchronization situation includes:
- the controlling the RRC connection of the data SIM card according to the synchronization situation includes:
- the RRC connection of the data SIM card is maintained.
- the determining the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the occupancy time and a preset time threshold includes:
- the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network.
- the controlling the RRC connection of the data SIM card according to the synchronization situation includes:
- the RRC connection between the data SIM card and the network is re-established.
- an embodiment of the present application proposes a terminal, the terminal includes a data user identification SIM card and a non-data SIM card, and the terminal includes:
- the determining part is configured to determine the occupancy time of the radio frequency resource occupied by the non-data SIM card; determine the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the occupancy time and a preset time threshold;
- the RRC connection control part is further configured to control the RRC connection of the data SIM card according to the synchronization situation.
- the terminal further includes: a statistics part;
- the statistics part is configured to count the service processing time of the non-data SIM card, where the service processing time is between when the non-data SIM card occupies the radio frequency resource to the time the non-data SIM card releases the radio frequency resource time;
- the determining part is further configured to determine the service processing time as the occupancy time.
- the terminal further includes: an acquisition part;
- the obtaining part is configured to obtain the service and service type of the radio frequency resource occupied by the non-data SIM card when it is determined that the non-data SIM card occupies the radio frequency resource;
- the statistics part is further configured to obtain the service processing time of the non-data SIM card when the estimated service time is less than the first time threshold;
- the determining part is further configured to determine the estimated service time corresponding to the service type; and determine the service processing time as the occupancy time.
- the preset time threshold includes a first time threshold and a second time threshold, and the terminal further includes: a communication part;
- the determining part is further configured to determine that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network when the service processing time is less than the second time threshold; when the When the service processing time is greater than the first time threshold, it is determined that the synchronization situation is that the RRC state of the data SIM card and the RRC state of the network are not synchronized; the RRC state and the RRC state of the data SIM card are determined according to the communication result.
- the communication part is further configured to use the data SIM card to communicate with the network when the service processing time is in a first time interval, where the first time interval is the second time threshold and the The time interval between the first time thresholds.
- the communication part is specifically configured to use the data SIM card to send a communication request to the network;
- the determining part is further configured to determine that the synchronization condition is that the RRC state of the data SIM card is synchronized with the RRC state of the network when the request response returned by the network in response to the communication request is received; When the request response returned by the network is not received, it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network.
- the terminal further includes: a releasing part and a reconnecting part;
- the releasing part is configured to release the RRC connection of the data SIM card when it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network;
- the reconnection part is configured to re-establish the RRC connection between the data SIM card and the network.
- the terminal further includes: a holding part
- the maintaining part is configured to maintain the RRC connection of the data SIM card when it is determined that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network.
- the determining part is further configured to determine that the synchronization situation is the RRC status of the data SIM card and the RRC status of the network when the estimated service time is greater than the first time threshold. The status is out of sync.
- the release part is further configured to release the RRC connection of the data SIM card
- the reconnection part is further configured to re-establish an RRC connection between the data SIM card and the network when it is determined that the non-data SIM card releases the radio frequency resource.
- an embodiment of the present application proposes a terminal, the terminal includes: a processor, a transmitter, a memory, and a communication bus; when the processor executes an operating program stored in the memory, the following RRC state maintenance method is implemented:
- the processor is further configured to count the service processing time of the non-data SIM card, where the service processing time is the time when the non-data SIM card occupies the radio frequency resource until the non-data SIM card is released The time between the radio frequency resources; the service processing time is determined as the occupancy time.
- the preset time threshold includes a first time threshold
- the processor is further configured to, when it is determined that the non-data SIM card occupies radio frequency resources, obtain information about the radio frequency resources occupied by the non-data SIM card.
- Service and service type determine the estimated service time corresponding to the service type
- the above-mentioned processor 12 is further configured to count the service of the non-data SIM card when the estimated service time is less than the first time threshold Processing time; determining the business processing time as the occupancy time.
- the preset time threshold includes a first time threshold and a second time threshold, and the second time threshold is less than the first time threshold
- the processor is further configured to determine that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network when the service processing time is less than the second time threshold; when the When the service processing time is greater than the first time threshold, it is determined that the synchronization situation is that the RRC status of the data SIM card and the RRC status of the network are not synchronized; when the service processing time is in the first time interval, Using the communication between the data SIM card and the network, and determining the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the communication result, the first time interval is the second time threshold The time interval between and the first time threshold.
- the processor is further configured to use the data SIM card to send a communication request to the network; when receiving a request response returned by the network in response to the communication request, determine the synchronization
- the situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network; when the request response returned by the network is not received, it is determined that the synchronization situation is the RRC state of the data SIM card and the RRC state of the network.
- the RRC status of the network is not synchronized.
- the processor is further configured to release the RRC connection of the data SIM card when it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network; Re-establish the RRC connection between the data SIM card and the network.
- the processor is further configured to maintain the RRC connection of the data SIM card when it is determined that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network.
- the processor is further configured to determine that the synchronization situation is the RRC status of the data SIM card and the RRC of the network when the estimated service time is greater than the first time threshold. The status is out of sync.
- the processor is further configured to release the RRC connection of the data SIM card; when it is determined that the non-data SIM card releases the radio frequency resource, re-establish the data SIM card and the network RRC connection between.
- an embodiment of the present application proposes a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the RRC state maintenance method as described in any one of the above is implemented.
- the embodiment of the application provides a method for maintaining a radio resource control RRC state, a terminal, and a storage medium.
- the terminal includes a data SIM card and a non-data SIM card.
- the method includes: determining the occupancy time of radio frequency resources occupied by the non-data SIM card; The time and the preset time threshold determine the synchronization between the RRC state of the data SIM card and the RRC state of the network; according to the synchronization, the RRC connection of the data SIM card is controlled.
- the terminal sets a preset time threshold, and compares the occupancy time of radio frequency resources occupied by the non-data SIM card with the preset time threshold to determine the synchronization between the RRC state of the data SIM card and the RRC state of the network ,
- the terminal can control the data SIM card to maintain the RRC connection or release the RRC connection according to the synchronization situation, reducing the probability of re-establishing the RRC connection, thereby reducing the time delay for restoring the RRC connection of the data SIM card.
- the embodiment of this application provides a radio resource control (Radio Resource Control, RRC) state maintenance method.
- RRC Radio Resource Control
- the method is applied to a terminal, and the terminal includes a data subscriber identity module (SIM) card and For non-data SIM cards, the method may include:
- the RRC state maintenance method provided by the embodiment of the present application is applicable to a scenario where the non-data SIM card of the terminal occupies radio frequency (RF) resources when the data SIM card of the terminal is in the RRC connected state.
- RF radio frequency
- the above terminal can be any device with communication and storage functions, such as: tablet computer, mobile phone, e-reader, remote control, personal computer (PC), personal digital assistant, notebook computer, in-vehicle equipment, network TV, Wearable devices and other equipment.
- tablet computer mobile phone
- e-reader remote control
- PC personal computer
- personal digital assistant notebook computer
- in-vehicle equipment network TV
- Wearable devices and other equipment.
- the terminal is provided with multiple SIM card slots for installing multiple SIM cards.
- the SIM card types of the multiple SIM cards include data SIM cards and non-data SIM cards.
- the application data SIM card needs to be used for services Data flow, services implemented using non-data SIM cards do not need to use data flow.
- the terminal in the embodiment of the application is a dual SIM dual standby (Dual SIM dual Standby, DSDS) terminal.
- DSDS Dual SIM dual Standby
- the services corresponding to the non-data SIM card include voice services, short message services, call services, etc., which are specifically selected according to actual conditions, and the embodiments of the present application do not make specific limitations.
- the services corresponding to the data SIM card include online video viewing services, online audio playback services, instant messaging services, etc.
- online video viewing services online audio playback services
- instant messaging services etc.
- the specific selection is based on actual conditions, and the embodiment of the present application does not make specific limitations.
- the terminal determines that the non-data SIM card occupies radio frequency resources. At this time, The terminal obtains the service and service type of the radio frequency resource occupied by the non-data SIM card; and determines the estimated service time corresponding to the service type. After that, the terminal compares the estimated service time with the first time threshold. When the estimated service time is less than the first time threshold, At the time threshold, when the terminal determines that the non-data SIM card ends service processing and releases radio frequency resources, the terminal obtains the service processing time for the non-data SIM card to process the service request, and uses the service processing time to determine the occupied time.
- the terminal determines the estimated service time corresponding to different service types based on the historical service and the actual time occupied, and obtains the correspondence between the service type and the estimated service time.
- the terminal obtains that the non-data SIM card occupies the radio frequency
- the estimated service time corresponding to the service type is searched from the corresponding relationship between the terminal service type and the estimated service time.
- card 1 data SIM card
- card 2 non-data SIM card
- the terminal determines the estimated service time corresponding to the short message service.
- the terminal when the terminal determines that the non-data SIM card occupies the radio frequency resources, the terminal monitors the time that the non-data SIM card occupies the radio frequency resources to process the service in real time. When the terminal determines that the non-data SIM card releases the radio frequency In the case of resources, the terminal obtains the service processing time from when the radio frequency resource is occupied by the non-data SIM card to when the radio frequency resource is released by the non-data SIM card, and determines the service processing time as the occupied time.
- the timing of obtaining the service processing time at the terminal in the embodiment of the application may be when the terminal determines that the estimated service time is less than the first time threshold, or the terminal does not need to obtain the estimated service time and directly counts non-data
- the time between when the SIM card occupies the radio frequency resource and when the non-data SIM card releases the radio frequency resource is specifically selected according to actual conditions, and is not specifically limited in the embodiment of the present application.
- the terminal can use the estimated service time as the occupancy time of the radio frequency resource occupied by the non-data SIM card, or the service processing time as the occupancy time of the radio frequency resource occupied by the non-data SIM card.
- the estimated service time and service processing time can be used to determine the occupancy time of the radio frequency resource occupied by the non-data SIM card.
- the estimated service time and service processing time are used to determine the occupancy time of the radio frequency resource occupied by the non-data SIM card.
- the specific selection is based on the actual situation.
- the embodiment of this application does not make specific details limited.
- S102 Determine the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the occupied time and the preset time threshold.
- the terminal is preset with a preset time threshold. After the terminal determines the occupancy time of the radio frequency resource occupied by the non-data SIM card, the terminal will compare the occupancy time with the preset time threshold, and determine the RRC of the data SIM card based on the comparison result The synchronization between the state and the RRC state of the network.
- the preset time threshold includes a first time threshold and a second time threshold, where the first time threshold is greater than the second time threshold, that is, the first time threshold is the upper limit of the time preset by the terminal, and the second time threshold The lower limit of the time preset for the terminal.
- the terminal compares the estimated service time with the first time threshold.
- the estimated service time is greater than the first time threshold, it indicates that the non-data SIM card responds to the service The response time is too long.
- the terminal directly determines that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network; when the estimated service time is less than the first time threshold, the terminal is based on the service processing time and preset
- the time threshold determines the synchronization between the RRC state of the data SIM card and the RRC state of the network.
- the terminal determines the synchronization between the RRC status of the data SIM card and the RRC status of the network according to the service processing time and the preset time threshold:
- the business processing time is compared with the first time threshold and the second time threshold, respectively, corresponding to three comparison results:
- the terminal determines that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network;
- the terminal determines that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network;
- the terminal uses the data SIM card to communicate with the network, and determines the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the communication result.
- the first time interval is the second The time interval between the time threshold and the first time threshold.
- the terminal uses a data SIM card to send a communication request to the network; when receiving a request response from the network in response to the communication request, the terminal determines that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network ; When the request response returned by the network is not received, the terminal determines that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network.
- the data SIM card of the terminal triggers (Signaling Radio Bearers2, SRB2) RLC Polling (communication request), when the terminal receives the HARQ ACK response from the network side in response to the RLC Polling or the terminal receives the RLC status sent by the network side In the report, the terminal judges that the network has not released the RRC connection.
- the HARQ ACK response or RLC status report is the response to the request in this application.
- the terminal determines that the RRC status of the data SIM card is synchronized with the RRC status of the network;
- the terminal determines that the network has released the RRC connection.
- the terminal determines the RRC of the data SIM card The state is not synchronized with the RRC state of the network.
- the terminal only uses the estimated service time and the preset time threshold to determine the synchronization between the RRC status of the data SIM card and the RRC status of the network, and the terminal uses the service processing time and preset time threshold. The process of determining the synchronization between the RRC state of the data SIM card and the RRC state of the network is consistent, and will not be repeated here.
- the terminal After the terminal determines the synchronization situation between the RRC state of the data SIM card and the RRC state of the network, the terminal controls the RRC connection of the data SIM card according to the synchronization situation.
- the terminal when the terminal determines that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network according to the service processing time and the preset time threshold, the terminal releases the RRC connection of the data SIM card ; And re-establish the RRC connection between the data SIM card and the network.
- the terminal when the terminal determines that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network according to the estimated service time and the first time threshold, the terminal releases the data SIM card RRC connects and waits for the non-data SIM card to release radio frequency resources. When the terminal determines that the non-data SIM card releases radio frequency resources, the terminal re-establishes the RRC connection between the data SIM card and the network.
- the terminal uses the service request (service request) process to re-establish the RRC connection between the data SIM card and the network; or the terminal initiates the Evolved Packet System (EPS) mobility process (EPS Mobility Management, EMM) process (Tracking Area Update (TAU)) communicates with the network, and then restores the connection between the signaling plane and the data plane.
- EPS Packet System
- EMM Evolved Packet Management, EMM
- TAU Track Area Update
- the terminal when the terminal determines that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network, the terminal maintains the RRC connection of the data SIM card.
- the non-data SIM card preempts RF resources
- the terminal estimates the estimated business time for the non-data SIM card to seize the RF resources according to the type of business realized by the non-data SIM card;
- the terminal compares the estimated business time with the first time threshold
- the terminal releases the RRC connection state of the data SIM card
- the terminal re-establishes the RRC connection between the data SIM card and the network;
- the terminal monitors whether the non-data SIM card releases RF resources;
- the terminal obtains the service processing time of the non-data SIM card
- the terminal compares the service processing time with the first time threshold and the second time threshold respectively;
- the terminal judges whether it receives an RLC status report or HARQ ACK response
- the terminal maintains the RRC connection state of the data SIM card
- the terminal releases the RRC connection state of the data SIM card
- the terminal re-establishes the RRC connection between the data SIM card and the network.
- FIG. 3 it is a process in which the terminal uses service processing time to implement RRC state maintenance. Specifically,
- the non-data SIM card preempts RF resources
- the terminal compares the service processing time with the first time threshold and the second time threshold respectively;
- the terminal judges whether it receives an RLC status report or HARQ ACK response
- the terminal maintains the RRC connection state of the data SIM card
- the terminal releases the RRC connection state of the data SIM card
- the terminal re-establishes the RRC connection between the data SIM card and the network.
- the terminal sets a preset time threshold, and compares the occupancy time of radio frequency resources occupied by the non-data SIM card with the preset time threshold to determine the synchronization between the RRC state of the data SIM card and the RRC state of the network ,
- the terminal can control the data SIM card to maintain the RRC connection or release the RRC connection according to the synchronization situation, reducing the probability of re-establishing the RRC connection, thereby reducing the time delay for restoring the RRC connection of the data SIM card.
- the terminal 1 includes:
- the determining part 10 is configured to determine the occupancy time of the radio frequency resource occupied by the non-data SIM card; determine the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the occupancy time and a preset time threshold ;
- the RRC connection control part 11 is further configured to control the RRC connection of the data SIM card according to the synchronization situation.
- the terminal further includes: a statistics part;
- the statistics part is configured to count the service processing time of the non-data SIM card, where the service processing time is between when the non-data SIM card occupies the radio frequency resource to the time the non-data SIM card releases the radio frequency resource time;
- the determining part 10 is further configured to determine the service processing time as the occupancy time.
- the terminal further includes: an acquisition part;
- the obtaining part is configured to obtain the service and service type of the radio frequency resource occupied by the non-data SIM card when it is determined that the non-data SIM card occupies the radio frequency resource;
- the statistics part is further configured to obtain the service processing time of the non-data SIM card when the estimated service time is less than the first time threshold;
- the determining part 10 is further configured to determine the estimated service time corresponding to the service type; and determine the service processing time as the occupancy time.
- the preset time threshold includes a first time threshold and a second time threshold
- the terminal further includes: a communication part
- the determining part 10 is further configured to determine that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network when the service processing time is less than the second time threshold; When the service processing time is greater than the first time threshold, it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network; the RRC state of the data SIM card is determined according to the communication result Synchronization with the RRC state of the network;
- the communication part is further configured to use the data SIM card to communicate with the network when the service processing time is in a first time interval, where the first time interval is the second time threshold and the The time interval between the first time thresholds.
- the communication part is specifically configured to use the data SIM card to send a communication request to the network;
- the determining part 10 is further configured to determine that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network when the request response returned by the network in response to the communication request is received. When the request response returned by the network is not received, it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network.
- the terminal further includes: a releasing part and a reconnecting part;
- the releasing part is configured to release the RRC connection of the data SIM card when it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network;
- the reconnection part is configured to re-establish the RRC connection between the data SIM card and the network.
- the terminal further includes: a holding part
- the maintaining part is configured to maintain the RRC connection of the data SIM card when it is determined that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network.
- the determining part 10 is further configured to determine that the synchronization condition is the RRC status of the data SIM card and the RRC status of the network when the estimated service time is greater than the first time threshold. The status is out of sync.
- the releasing part is further configured to release the RRC connection of the data SIM card;
- the reconnection part is further configured to re-establish the RRC connection between the data SIM card and the network when it is determined that the non-data SIM card releases the radio frequency resource.
- An embodiment of the present application provides a terminal, which includes a data SIM card and a non-data SIM card, and determines the occupancy time of radio frequency resources occupied by the non-data SIM card; and determines the RRC status and status of the data SIM card according to the occupancy time and a preset time threshold.
- the synchronization between the RRC states of the network; according to the synchronization, the RRC connection of the data SIM card is controlled.
- the terminal sets a preset time threshold, and compares the occupancy time of radio frequency resources occupied by the non-data SIM card with the preset time threshold to determine the RRC status of the data SIM card and the RRC of the network For the synchronization between states, the terminal can control the data SIM card to maintain the RRC connection or release the RRC connection according to the synchronization situation, which reduces the probability of re-establishing the RRC connection, thereby reducing the time delay for restoring the RRC connection of the data SIM card.
- FIG. 5 is a second schematic diagram of the composition structure of a terminal 1 provided by an embodiment of this application.
- the terminal 1 of this embodiment includes: a processor 12. Memory 13 and communication bus 14.
- the above determination part 10, the RRC connection control part 11, the statistics part, the release part, the reconnection part, the retention part, and the acquisition part may be implemented by the processor 12 located on the terminal 1, and the above storage part may be The memory 13 located on the terminal 1 is implemented.
- the above-mentioned processor 12 may be an Application Specific Integrated Circuit (ASIC), a digital signal processor (DSP, Digital Signal Processor), and a digital signal processing image processing device (DSPD, Digital Signal Processor). At least one of Signal Processing Device, Programmable Logic Image Processing Device (PLD, Programmable Logic Device), Field Programmable Gate Array (FPGA, Field Programmable Gate Array), CPU, controller, microcontroller, and microprocessor . It can be understood that, for different devices, the electronic devices used to implement the above-mentioned processor functions may also be other, which is not specifically limited in this embodiment.
- the above-mentioned communication bus 14 is used to realize the connection and communication between the processor 12 and the memory 13; when the above-mentioned processor 12 executes the operating program stored in the memory 13, the following RRC state maintenance method is implemented:
- the aforementioned processor 12 is further configured to count the service processing time of the non-data SIM card, where the service processing time is the time when the non-data SIM card occupies the radio frequency resource until the non-data SIM card is released. The time between the radio frequency resources; the service processing time is determined as the occupied time.
- the preset time threshold includes a first time threshold.
- the processor 12 is further configured to, when it is determined that the non-data SIM card occupies radio frequency resources, obtain the service of the non-data SIM card occupies radio frequency resources. And service type; determine the estimated service time corresponding to the service type; the above-mentioned processor 12 is further configured to calculate the service processing of the non-data SIM card when the estimated service time is less than the first time threshold Time; the service processing time is determined as the occupancy time.
- the preset time threshold includes a first time threshold and a second time threshold, and the second time threshold is less than the first time threshold
- the above-mentioned processor 12 is further configured to determine that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network when the service processing time is less than the second time threshold; When the service processing time is greater than the first time threshold, it is determined that the synchronization situation is that the RRC status of the data SIM card and the RRC status of the network are not synchronized; when the service processing time is in the first time interval, Using the communication between the data SIM card and the network, and determining the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the communication result, the first time interval is the second time threshold The time interval between and the first time threshold.
- the aforementioned processor 12 is further configured to use the data SIM card to send a communication request to the network; when receiving a request response from the network in response to the communication request, determine the synchronization situation Synchronize the RRC status of the data SIM card with the RRC status of the network; when the request response returned by the network is not received, it is determined that the synchronization status is the RRC status of the data SIM card and the network The RRC status is not synchronized.
- the aforementioned processor 12 is further configured to release the RRC connection of the data SIM card when it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network; Establish an RRC connection between the data SIM card and the network.
- the aforementioned processor 12 is further configured to maintain the RRC connection of the data SIM card when it is determined that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network.
- the aforementioned processor 12 is further configured to determine that the synchronization condition is the RRC state of the data SIM card and the RRC state of the network when the estimated service time is greater than the first time threshold Out of sync.
- the aforementioned processor 12 is further configured to release the RRC connection of the data SIM card; when it is determined that the non-data SIM card releases the radio frequency resources, re-establish the relationship between the data SIM card and the network RRC connection between.
- the embodiment of the present application provides a storage medium on which a computer program is stored, and the above-mentioned computer-readable storage medium stores one or more programs, and the above-mentioned one or more programs can be executed by one or more processors and applied to a terminal
- the computer program implements the above-mentioned RRC state maintenance method.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Embodiments of the present application provides a radio resource control (RRC) state maintaining method, a terminal, and a storage medium. The terminal comprises a data SIM card and a non-data SIM card. The method comprises: determining the occupancy time of radio frequency resources occupied by a non-data SIM card; determining, according to the occupancy time and a preset time threshold, the synchronization between the RRC state of a data SIM card and the RRC state of a network; and controlling the RRC connection of the data SIM card according to the synchronization.
Description
相关申请的交叉引用Cross-references to related applications
本申请基于申请号为202010503317.2、申请日为2020年06月05日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以引入方式并入本申请。This application is based on a Chinese patent application with an application number of 202010503317.2 and an application date of June 5, 2020, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated into this application by way of introduction.
本申请涉及通信领域,尤其涉及一种无线资源控制RRC状态维护方法及终端、存储介质。This application relates to the field of communications, and in particular to a method for maintaining a radio resource control RRC state, a terminal, and a storage medium.
对于双卡双待(Dual SIM dual Standby,DSDS)终端而言,通过时分复用(Time Division Multiplex,TDM)的方式实现数据用户身份识别(Subscriber Identity Module,SIM)卡和非数据SIM卡之间的射频(Radio Frequency,RF)资源的共享,在数据SIM卡处于RRC连接态的情况下,当非数据SIM卡占用RF资源时,数据SIM卡会释放本地的RRC连接,直至非数据SIM卡释放RF资源时,数据SIM卡重新与网络建立RRC连接,导致恢复数据SIM卡的RRC连接的时延大。For Dual SIM Dual Standby (DSDS) terminals, time division multiplexing (TDM) is used to achieve data subscriber identity recognition (Subscriber Identity Module, SIM) card and non-data SIM card Sharing of radio frequency (RF) resources, when the data SIM card is in the RRC connection state, when the non-data SIM card occupies the RF resources, the data SIM card will release the local RRC connection until the non-data SIM card is released When RF resources are used, the data SIM card re-establishes an RRC connection with the network, which causes a long delay in restoring the RRC connection of the data SIM card.
发明内容Summary of the invention
本申请实施例提供一种无线资源控制RRC状态维护方法及终端、存储介质,能够降低恢复数据SIM卡的RRC连接的时延。The embodiment of the present application provides a method for maintaining a radio resource control RRC state, a terminal, and a storage medium, which can reduce the time delay for restoring the RRC connection of a data SIM card.
本申请的技术方案是这样实现的:The technical solution of this application is realized as follows:
本申请实施例提供一种无线资源控制RRC状态维护方法,应用于终端,所述终端包括数据用户身份识别SIM卡和非数据SIM卡,所述方法包括:The embodiment of the application provides a method for maintaining a radio resource control RRC state, which is applied to a terminal, and the terminal includes a data user identification SIM card and a non-data SIM card, and the method includes:
确定所述非数据SIM卡占用射频资源的占用时间;Determining the occupation time of the radio frequency resource occupied by the non-data SIM card;
根据所述占用时间和预设时间阈值,确定所述数据SIM卡的RRC状态和网络的RRC状态之间的同步情况;Determine the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the occupied time and the preset time threshold;
根据所述同步情况,控制所述数据SIM卡的RRC连接。According to the synchronization situation, control the RRC connection of the data SIM card.
本申请实施例提供一种终端,所述终端包括数据用户身份识别SIM卡和非数据SIM卡,所述终端包括:An embodiment of the present application provides a terminal, the terminal includes a data user identification SIM card and a non-data SIM card, and the terminal includes:
确定部分,配置为确定所述非数据SIM卡占用射频资源的占用时间; 根据所述占用时间和预设时间阈值,确定所述数据SIM卡的RRC状态和网络的RRC状态之间的同步情况;The determining part is configured to determine the occupancy time of the radio frequency resource occupied by the non-data SIM card; determine the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the occupancy time and a preset time threshold;
RRC连接控制部分,还配置为根据所述同步情况,控制所述数据SIM卡的RRC连接。The RRC connection control part is further configured to control the RRC connection of the data SIM card according to the synchronization situation.
本申请实施例提供一种终端,所述终端包括:处理器、发送器、存储器及通信总线;所述处理器执行存储器存储的运行程序时实现如上述任一项所述的方法。An embodiment of the present application provides a terminal. The terminal includes a processor, a transmitter, a memory, and a communication bus; when the processor executes an operating program stored in the memory, the method according to any one of the foregoing is implemented.
本申请实施例提供一种存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述任一项所述的方法。An embodiment of the present application provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the method as described in any one of the above is implemented.
图1为本申请实施例提供的一种RRC状态维护方法的流程图;FIG. 1 is a flowchart of an RRC state maintenance method provided by an embodiment of this application;
图2为本申请实施例提供的一种示例性的终端实现RRC状态维护的流程示意图一;FIG. 2 is a schematic diagram 1 of an exemplary process for implementing RRC state maintenance of a terminal according to an embodiment of this application;
图3本申请实施例提供的一种示例性的终端实现RRC状态维护的流程示意图二;FIG. 3 is a schematic diagram 2 of an exemplary process for implementing RRC state maintenance of a terminal according to an embodiment of the present application;
图4为本申请实施例提供的一种终端1的结构示意图一;FIG. 4 is a first structural diagram of a terminal 1 provided by an embodiment of the application;
图5为本申请实施例提供的一种终端1的结构示意图二。FIG. 5 is a second structural diagram of a terminal 1 provided by an embodiment of this application.
第一方面,本申请实例提出一种无线资源控制RRC状态维护方法,应用于终端,所述终端包括数据用户身份识别SIM卡和非数据SIM卡,所述方法包括:In the first aspect, an example of this application proposes a radio resource control RRC state maintenance method, which is applied to a terminal, the terminal includes a data user identification SIM card and a non-data SIM card, and the method includes:
确定所述非数据SIM卡占用射频资源的占用时间;Determining the occupation time of the radio frequency resource occupied by the non-data SIM card;
根据所述占用时间和预设时间阈值,确定所述数据SIM卡的RRC状态和网络的RRC状态之间的同步情况;Determine the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the occupied time and the preset time threshold;
根据所述同步情况,控制所述数据SIM卡的RRC连接。According to the synchronization situation, control the RRC connection of the data SIM card.
在上述方法中,所述确定所述非数据SIM卡占用射频资源的占用时间,包括:In the above method, the determining the occupancy time of radio frequency resources occupied by the non-data SIM card includes:
统计所述非数据SIM卡的业务处理时间,所述业务处理时间为所述非数据SIM卡占用所述射频资源至所述非数据SIM卡释放所述射频资源之间的时间;Count the service processing time of the non-data SIM card, where the service processing time is the time between when the non-data SIM card occupies the radio frequency resource to when the non-data SIM card releases the radio frequency resource;
将所述业务处理时间确定为所述占用时间。The service processing time is determined as the occupancy time.
在上述方法中,所述确定所述非数据SIM卡占用射频资源的占用时间之前,所述方法还包括:In the above method, before the determining the occupancy time of the radio frequency resource occupied by the non-data SIM card, the method further includes:
当确定出所述非数据SIM卡占用射频资源时,获取所述非数据SIM卡占用射频资源的业务和业务类型;When it is determined that the non-data SIM card occupies the radio frequency resource, acquiring the service and the service type of the radio frequency resource occupied by the non-data SIM card;
确定所述业务类型对应的预估业务时间;Determine the estimated business time corresponding to the business type;
相应的,所述预设时间阈值包括第一时间阈值,所述确定所述非数据SIM卡占用射频资源的占用时间,包括:Correspondingly, the preset time threshold includes a first time threshold, and the determining the occupancy time of radio frequency resources occupied by the non-data SIM card includes:
当所述预估业务时间小于所述第一时间阈值时,统计所述非数据SIM卡的业务处理时间;When the estimated service time is less than the first time threshold, statistics the service processing time of the non-data SIM card;
将所述业务处理时间确定为所述占用时间。The service processing time is determined as the occupancy time.
在上述方法中,所述预设时间阈值包括第一时间阈值和第二时间阈值,所述第二时间阈值小于所述第一时间阈值,所述根据所述业务处理时间和预设时间阈值,确定所述数据SIM卡的RRC状态和网络的RRC状态之间的同步情况,包括:In the above method, the preset time threshold includes a first time threshold and a second time threshold, the second time threshold is less than the first time threshold, and the predetermined time threshold is based on the service processing time and the preset time threshold, Determining the synchronization between the RRC state of the data SIM card and the RRC state of the network includes:
当所述业务处理时间小于所述第二时间阈值时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态同步;When the service processing time is less than the second time threshold, it is determined that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network;
当所述业务处理时间大于所述第一时间阈值时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步;When the service processing time is greater than the first time threshold, it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network;
当所述业务处理时间处于第一时间区间时,利用所述数据SIM卡与所述网络的通信,并根据通信结果确定所述数据SIM卡的RRC状态和网络的RRC状态之间的同步情况,所述第一时间区间为所述第二时间阈值和所述第一时间阈值之间的时间区间。When the service processing time is in the first time interval, use the communication between the data SIM card and the network, and determine the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the communication result, The first time interval is a time interval between the second time threshold and the first time threshold.
在上述方法中,所述利用所述数据SIM卡与所述网络的通信,并根据通信结果确定所述数据SIM卡的RRC状态和网络的RRC状态之间的同步情况,包括:In the above method, the utilizing the communication between the data SIM card and the network and determining the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the communication result includes:
利用所述数据SIM卡向所述网络发送通信请求;Using the data SIM card to send a communication request to the network;
当接收到所述网络返回的响应所述通信请求的请求响应时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态同步;When receiving a request response in response to the communication request returned by the network, it is determined that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network;
当未接收到所述网络返回的请求响应时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步。When the request response returned by the network is not received, it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network.
在上述方法中,所述根据所述同步情况,控制所述数据SIM卡的RRC连接,包括:In the above method, the controlling the RRC connection of the data SIM card according to the synchronization situation includes:
当确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步时,释放所述数据SIM卡的RRC连接;When it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network, releasing the RRC connection of the data SIM card;
重新建立所述数据SIM卡和所述网络之间的RRC连接。Re-establish the RRC connection between the data SIM card and the network.
在上述方法中,所述根据所述同步情况,控制所述数据SIM卡的RRC连接,包括:In the above method, the controlling the RRC connection of the data SIM card according to the synchronization situation includes:
当确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态同步时,保持所述数据SIM卡的RRC连接。When it is determined that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network, the RRC connection of the data SIM card is maintained.
在上述方法中,所述根据所述占用时间和预设时间阈值,确定所述数据SIM卡的RRC状态和网络的RRC状态之间的同步情况,包括:In the above method, the determining the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the occupancy time and a preset time threshold includes:
当所述预估业务时间大于所述第一时间阈值时,确定出所述同步情况 为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步。When the estimated service time is greater than the first time threshold, it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network.
在上述方法中,所述根据所述同步情况,控制所述数据SIM卡的RRC连接,包括:In the above method, the controlling the RRC connection of the data SIM card according to the synchronization situation includes:
释放所述数据SIM卡的RRC连接;Releasing the RRC connection of the data SIM card;
当确定出所述非数据SIM卡释放所述射频资源时,重新建立所述数据SIM卡和所述网络之间的RRC连接。When it is determined that the non-data SIM card releases the radio frequency resource, the RRC connection between the data SIM card and the network is re-established.
第二方面,本申请实施例提出一种终端,所述终端包括数据用户身份识别SIM卡和非数据SIM卡,所述终端包括:In the second aspect, an embodiment of the present application proposes a terminal, the terminal includes a data user identification SIM card and a non-data SIM card, and the terminal includes:
确定部分,配置为确定所述非数据SIM卡占用射频资源的占用时间;根据所述占用时间和预设时间阈值,确定所述数据SIM卡的RRC状态和网络的RRC状态之间的同步情况;The determining part is configured to determine the occupancy time of the radio frequency resource occupied by the non-data SIM card; determine the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the occupancy time and a preset time threshold;
RRC连接控制部分,还配置为根据所述同步情况,控制所述数据SIM卡的RRC连接。The RRC connection control part is further configured to control the RRC connection of the data SIM card according to the synchronization situation.
在上述终端中,所述终端还包括:统计部分;In the above terminal, the terminal further includes: a statistics part;
所述统计部分,配置为统计所述非数据SIM卡的业务处理时间,所述业务处理时间为所述非数据SIM卡占用所述射频资源至所述非数据SIM卡释放所述射频资源之间的时间;The statistics part is configured to count the service processing time of the non-data SIM card, where the service processing time is between when the non-data SIM card occupies the radio frequency resource to the time the non-data SIM card releases the radio frequency resource time;
所述确定部分,还配置为将所述业务处理时间确定为所述占用时间。The determining part is further configured to determine the service processing time as the occupancy time.
在上述终端中,所述终端还包括:获取部分;In the above terminal, the terminal further includes: an acquisition part;
所述获取部分,配置为当确定出所述非数据SIM卡占用射频资源时,获取所述非数据SIM卡占用射频资源的业务和业务类型;The obtaining part is configured to obtain the service and service type of the radio frequency resource occupied by the non-data SIM card when it is determined that the non-data SIM card occupies the radio frequency resource;
所述统计部分,还配置为当所述预估业务时间小于所述第一时间阈值时,获取所述非数据SIM卡的业务处理时间;The statistics part is further configured to obtain the service processing time of the non-data SIM card when the estimated service time is less than the first time threshold;
所述确定部分,还配置为确定所述业务类型对应的预估业务时间;将所述业务处理时间确定为所述占用时间。The determining part is further configured to determine the estimated service time corresponding to the service type; and determine the service processing time as the occupancy time.
在上述终端中,所述预设时间阈值包括第一时间阈值和第二时间阈值,所述终端还包括:通信部分;In the above terminal, the preset time threshold includes a first time threshold and a second time threshold, and the terminal further includes: a communication part;
所述确定部分,还配置为当所述业务处理时间小于所述第二时间阈值时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态同步;当所述业务处理时间大于所述第一时间阈值时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步;根据通信结果确定所述数据SIM卡的RRC状态和网络的RRC状态之间的同步情况;The determining part is further configured to determine that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network when the service processing time is less than the second time threshold; when the When the service processing time is greater than the first time threshold, it is determined that the synchronization situation is that the RRC state of the data SIM card and the RRC state of the network are not synchronized; the RRC state and the RRC state of the data SIM card are determined according to the communication result. The synchronization between the RRC states of the network;
所述通信部分,还配置为当所述业务处理时间处于第一时间区间时,利用所述数据SIM卡与所述网络的通信,所述第一时间区间为所述第二时间阈值和所述第一时间阈值之间的时间区间。The communication part is further configured to use the data SIM card to communicate with the network when the service processing time is in a first time interval, where the first time interval is the second time threshold and the The time interval between the first time thresholds.
在上述终端中,所述通信部分,具体配置为利用所述数据SIM卡向所述网络发送通信请求;In the above terminal, the communication part is specifically configured to use the data SIM card to send a communication request to the network;
所述确定部分,还配置为当接收到所述网络返回的响应所述通信请求的请求响应时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态同步;当未接收到所述网络返回的请求响应时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步。The determining part is further configured to determine that the synchronization condition is that the RRC state of the data SIM card is synchronized with the RRC state of the network when the request response returned by the network in response to the communication request is received; When the request response returned by the network is not received, it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network.
在上述终端中,所述终端还包括:释放部分和重新连接部分;In the above terminal, the terminal further includes: a releasing part and a reconnecting part;
所述释放部分,配置为当确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步时,释放所述数据SIM卡的RRC连接;The releasing part is configured to release the RRC connection of the data SIM card when it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network;
所述重新连接部分,配置为重新建立所述数据SIM卡和所述网络之间的RRC连接。The reconnection part is configured to re-establish the RRC connection between the data SIM card and the network.
在上述终端中,所述终端还包括:保持部分;In the above terminal, the terminal further includes: a holding part;
所述保持部分,配置为当确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态同步时,保持所述数据SIM卡的RRC连接。The maintaining part is configured to maintain the RRC connection of the data SIM card when it is determined that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network.
在上述终端中,所述确定部分,还配置为当所述预估业务时间大于所述第一时间阈值时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步。In the above terminal, the determining part is further configured to determine that the synchronization situation is the RRC status of the data SIM card and the RRC status of the network when the estimated service time is greater than the first time threshold. The status is out of sync.
在上述终端中,所述释放部分,还配置为释放所述数据SIM卡的RRC连接;In the above terminal, the release part is further configured to release the RRC connection of the data SIM card;
所述重新连接部分,还配置为当确定出所述非数据SIM卡释放所述射频资源时,重新建立所述数据SIM卡和所述网络之间的RRC连接。The reconnection part is further configured to re-establish an RRC connection between the data SIM card and the network when it is determined that the non-data SIM card releases the radio frequency resource.
第三方面,本申请实施例提出一种终端,所述终端包括:处理器、发送器、存储器及通信总线;所述处理器执行存储器存储的运行程序时实现如下的RRC状态维护方法:In a third aspect, an embodiment of the present application proposes a terminal, the terminal includes: a processor, a transmitter, a memory, and a communication bus; when the processor executes an operating program stored in the memory, the following RRC state maintenance method is implemented:
确定所述非数据SIM卡占用射频资源的占用时间;根据所述占用时间和预设时间阈值,确定所述数据SIM卡的RRC状态和网络的RRC状态之间的同步情况;根据所述同步情况,控制所述数据SIM卡的RRC连接。Determine the occupancy time of the radio frequency resource occupied by the non-data SIM card; determine the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the occupancy time and a preset time threshold; according to the synchronization situation To control the RRC connection of the data SIM card.
在上述终端中,所述处理器,还用于统计所述非数据SIM卡的业务处理时间,所述业务处理时间为所述非数据SIM卡占用所述射频资源至所述非数据SIM卡释放所述射频资源之间的时间;将所述业务处理时间确定为所述占用时间。In the above terminal, the processor is further configured to count the service processing time of the non-data SIM card, where the service processing time is the time when the non-data SIM card occupies the radio frequency resource until the non-data SIM card is released The time between the radio frequency resources; the service processing time is determined as the occupancy time.
在上述终端中,所述预设时间阈值包括第一时间阈值,所述处理器,还用于当确定出所述非数据SIM卡占用射频资源时,获取所述非数据SIM卡占用射频资源的业务和业务类型;确定所述业务类型对应的预估业务时间;上述处理器12,还用于当所述预估业务时间小于所述第一时间阈值时,统计所述非数据SIM卡的业务处理时间;将所述业务处理时间确定为所述占用时间。In the above-mentioned terminal, the preset time threshold includes a first time threshold, and the processor is further configured to, when it is determined that the non-data SIM card occupies radio frequency resources, obtain information about the radio frequency resources occupied by the non-data SIM card. Service and service type; determine the estimated service time corresponding to the service type; the above-mentioned processor 12 is further configured to count the service of the non-data SIM card when the estimated service time is less than the first time threshold Processing time; determining the business processing time as the occupancy time.
在上述终端中,所述预设时间阈值包括第一时间阈值和第二时间阈值, 所述第二时间阈值小于所述第一时间阈值,In the above terminal, the preset time threshold includes a first time threshold and a second time threshold, and the second time threshold is less than the first time threshold,
所述处理器,还用于当所述业务处理时间小于所述第二时间阈值时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态同步;当所述业务处理时间大于所述第一时间阈值时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步;当所述业务处理时间处于第一时间区间时,利用所述数据SIM卡与所述网络的通信,并根据通信结果确定所述数据SIM卡的RRC状态和网络的RRC状态之间的同步情况,所述第一时间区间为所述第二时间阈值和所述第一时间阈值之间的时间区间。The processor is further configured to determine that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network when the service processing time is less than the second time threshold; when the When the service processing time is greater than the first time threshold, it is determined that the synchronization situation is that the RRC status of the data SIM card and the RRC status of the network are not synchronized; when the service processing time is in the first time interval, Using the communication between the data SIM card and the network, and determining the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the communication result, the first time interval is the second time threshold The time interval between and the first time threshold.
在上述终端中,所述处理器,还用于利用所述数据SIM卡向所述网络发送通信请求;当接收到所述网络返回的响应所述通信请求的请求响应时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态同步;当未接收到所述网络返回的请求响应时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步。In the above terminal, the processor is further configured to use the data SIM card to send a communication request to the network; when receiving a request response returned by the network in response to the communication request, determine the synchronization The situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network; when the request response returned by the network is not received, it is determined that the synchronization situation is the RRC state of the data SIM card and the RRC state of the network. The RRC status of the network is not synchronized.
在上述终端中,所述处理器,还用于当确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步时,释放所述数据SIM卡的RRC连接;重新建立所述数据SIM卡和所述网络之间的RRC连接。In the above terminal, the processor is further configured to release the RRC connection of the data SIM card when it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network; Re-establish the RRC connection between the data SIM card and the network.
在上述终端中,所述处理器,还用于当确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态同步时,保持所述数据SIM卡的RRC连接。In the above terminal, the processor is further configured to maintain the RRC connection of the data SIM card when it is determined that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network.
在上述终端中,所述处理器,还用于当所述预估业务时间大于所述第一时间阈值时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步。In the above terminal, the processor is further configured to determine that the synchronization situation is the RRC status of the data SIM card and the RRC of the network when the estimated service time is greater than the first time threshold. The status is out of sync.
在上述终端中,所述处理器,还用于释放所述数据SIM卡的RRC连接;当确定出所述非数据SIM卡释放所述射频资源时,重新建立所述数据SIM卡和所述网络之间的RRC连接。In the above terminal, the processor is further configured to release the RRC connection of the data SIM card; when it is determined that the non-data SIM card releases the radio frequency resource, re-establish the data SIM card and the network RRC connection between.
第四方面,本申请实施例提出一种存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述任一项所述的RRC状态维护方法。In a fourth aspect, an embodiment of the present application proposes a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the RRC state maintenance method as described in any one of the above is implemented.
本申请实施例提供了一种无线资源控制RRC状态维护方法及终端、存储介质,终端包括数据SIM卡和非数据SIM卡,该方法包括:确定非数据SIM卡占用射频资源的占用时间;根据占用时间和预设时间阈值,确定数据SIM卡的RRC状态和网络的RRC状态之间的同步情况;根据同步情况,控制数据SIM卡的RRC连接。采用上述实现方案,终端设置预设时间阈值,并将非数据SIM卡占用射频资源的占用时间和预设时间阈值进行比较,以确定数据SIM卡的RRC状态和网络的RRC状态之间的同步情况,终端可以根据同步情况控制数据SIM卡维持RRC连接或者释放RRC连接,减少了重新建立RRC连接的概率,进而降低了恢复数据SIM卡的RRC连接的时延。The embodiment of the application provides a method for maintaining a radio resource control RRC state, a terminal, and a storage medium. The terminal includes a data SIM card and a non-data SIM card. The method includes: determining the occupancy time of radio frequency resources occupied by the non-data SIM card; The time and the preset time threshold determine the synchronization between the RRC state of the data SIM card and the RRC state of the network; according to the synchronization, the RRC connection of the data SIM card is controlled. Using the above implementation scheme, the terminal sets a preset time threshold, and compares the occupancy time of radio frequency resources occupied by the non-data SIM card with the preset time threshold to determine the synchronization between the RRC state of the data SIM card and the RRC state of the network , The terminal can control the data SIM card to maintain the RRC connection or release the RRC connection according to the synchronization situation, reducing the probability of re-establishing the RRC connection, thereby reducing the time delay for restoring the RRC connection of the data SIM card.
本申请实施例提供一种无线资源控制(Radio Resource Control,RRC)状态维护方法,如图1所示,该方法应用于终端,且该终端包括数据用户身份识别(Subscriber Identity Module,SIM)卡和非数据SIM卡,该方法可以包括:The embodiment of this application provides a radio resource control (Radio Resource Control, RRC) state maintenance method. As shown in FIG. 1, the method is applied to a terminal, and the terminal includes a data subscriber identity module (SIM) card and For non-data SIM cards, the method may include:
S101、确定非数据SIM卡占用射频资源的占用时间。S101. Determine an occupation time of radio frequency resources occupied by a non-data SIM card.
本申请实施例提供的一种RRC状态维护方法适用于当终端的数据SIM卡处于RRC连接态时,终端的非数据SIM卡占用了射频(Radio Frequency,RF)资源的场景下。The RRC state maintenance method provided by the embodiment of the present application is applicable to a scenario where the non-data SIM card of the terminal occupies radio frequency (RF) resources when the data SIM card of the terminal is in the RRC connected state.
上述终端可以为任何具备通信和存储功能的设备,例如:平板电脑、手机、电子阅读器、遥控器、个人计算机(Personal Computer,PC)、个人数字助理、笔记本电脑、车载设备、网络电视、可穿戴设备等设备。The above terminal can be any device with communication and storage functions, such as: tablet computer, mobile phone, e-reader, remote control, personal computer (PC), personal digital assistant, notebook computer, in-vehicle equipment, network TV, Wearable devices and other equipment.
本申请实施例中,终端设置多个SIM卡槽用于安装多个SIM卡,其中,多个SIM卡的SIM卡类型包括数据SIM卡和非数据SIM卡,应用数据SIM卡实现的业务需要使用数据流量,应用非数据SIM卡实现的业务无需使用数据流量。In the embodiment of the present application, the terminal is provided with multiple SIM card slots for installing multiple SIM cards. The SIM card types of the multiple SIM cards include data SIM cards and non-data SIM cards. The application data SIM card needs to be used for services Data flow, services implemented using non-data SIM cards do not need to use data flow.
本申请实施例的终端为双卡双待(Dual SIM dual Standby,DSDS)终端。The terminal in the embodiment of the application is a dual SIM dual standby (Dual SIM dual Standby, DSDS) terminal.
可选的,非数据SIM卡对应的业务包括语音业务、短信业务和呼叫业务等,具体的根据实际情况进行选择,本申请实施例不做具体的限定。Optionally, the services corresponding to the non-data SIM card include voice services, short message services, call services, etc., which are specifically selected according to actual conditions, and the embodiments of the present application do not make specific limitations.
可选的,数据SIM卡对应的业务包括在线视频观看业务、在线音频播放业务、即时通讯业务等,具体的根据实际情况进行选择,本申请实施例不做具体的限定。Optionally, the services corresponding to the data SIM card include online video viewing services, online audio playback services, instant messaging services, etc. The specific selection is based on actual conditions, and the embodiment of the present application does not make specific limitations.
在一种可选的实施例中,在终端的数据SIM卡处于RRC连接态的情况下,当终端的非数据SIM卡响应业务请求时,终端确定出非数据SIM卡占用射频资源,此时,终端获取非数据SIM卡占用射频资源的业务和业务类型;并确定业务类型对应的预估业务时间,之后,终端将预估业务时间和第一时间阈值进行比较,当预估业务时间小于第一时间阈值时,终端在确定出非数据SIM卡结束业务处理,并释放射频资源时,终端获取非数据SIM卡处理业务请求的业务处理时间,并利用业务处理时间确定为占用时间。In an optional embodiment, when the data SIM card of the terminal is in the RRC connection state, when the non-data SIM card of the terminal responds to the service request, the terminal determines that the non-data SIM card occupies radio frequency resources. At this time, The terminal obtains the service and service type of the radio frequency resource occupied by the non-data SIM card; and determines the estimated service time corresponding to the service type. After that, the terminal compares the estimated service time with the first time threshold. When the estimated service time is less than the first time threshold, At the time threshold, when the terminal determines that the non-data SIM card ends service processing and releases radio frequency resources, the terminal obtains the service processing time for the non-data SIM card to process the service request, and uses the service processing time to determine the occupied time.
本申请实施例中,终端根据历史业务及其实际所占用的时间,确定不同业务类型对应的预估业务时间,得到业务类型和预估业务时间对应关系,当终端获取到非数据SIM卡占用射频资源的业务和业务类型时,终端业务类型和预估业务时间对应关系中从查找该业务类型对应的预估业务时间。In the embodiment of this application, the terminal determines the estimated service time corresponding to different service types based on the historical service and the actual time occupied, and obtains the correspondence between the service type and the estimated service time. When the terminal obtains that the non-data SIM card occupies the radio frequency In the case of the service and service type of the resource, the estimated service time corresponding to the service type is searched from the corresponding relationship between the terminal service type and the estimated service time.
示例性的,在终端使用卡1(数据SIM卡)的数据流量在观看视频的情况下,卡1处于RRC连接态,当卡2(非数据SIM卡)接收到短信息并使用卡2回复该短消息时,卡2抢占了RF资源,此时,终端确定短消息业务对应的预估业务时间。Exemplarily, when the terminal uses the data traffic of card 1 (data SIM card) to watch the video, card 1 is in the RRC connection state, when card 2 (non-data SIM card) receives the short message and uses card 2 to reply to the message During the short message, the card 2 preempts the RF resources. At this time, the terminal determines the estimated service time corresponding to the short message service.
在另一种可选的实施例中,在终端确定出非数据SIM卡占用射频资源 时,终端实时监控非数据SIM卡占用射频资源来处理业务的时间,当终端确定出非数据SIM卡释放射频资源时,终端获取非数据SIM卡占用射频资源至非数据SIM卡释放射频资源之间的业务处理时间,并将业务处理时间确定为占用时间。In another optional embodiment, when the terminal determines that the non-data SIM card occupies the radio frequency resources, the terminal monitors the time that the non-data SIM card occupies the radio frequency resources to process the service in real time. When the terminal determines that the non-data SIM card releases the radio frequency In the case of resources, the terminal obtains the service processing time from when the radio frequency resource is occupied by the non-data SIM card to when the radio frequency resource is released by the non-data SIM card, and determines the service processing time as the occupied time.
需要说明的是,本申请实施例中在终端获取业务处理时间的时机可以是在终端判断出预估业务时间小于第一时间阈值时,也可以是终端无需获取预估业务时间,直接统计非数据SIM卡占用射频资源到非数据SIM卡释放射频资源之间的时间,具体的根据实际情况进行选择,本申请实施例不做具体的限定。It should be noted that the timing of obtaining the service processing time at the terminal in the embodiment of the application may be when the terminal determines that the estimated service time is less than the first time threshold, or the terminal does not need to obtain the estimated service time and directly counts non-data The time between when the SIM card occupies the radio frequency resource and when the non-data SIM card releases the radio frequency resource is specifically selected according to actual conditions, and is not specifically limited in the embodiment of the present application.
需要说明的是,在本申请实施例中,终端可以将预估业务时间作为非数据SIM卡占用射频资源的占用时间,也可以将业务处理时间作为非数据SIM卡占用射频资源的占用时间,还可以利用预估业务时间和业务处理时间共同确定非数据SIM卡占用射频资源的占用时间,其中,利用预估业务时间和业务处理时间共同确定非数据SIM卡占用射频资源的占用时间即为终端先获取预估业务时间,当判断出预估业务时间小于第一时间阈值时,获取业务处理时间并将业务处理时间确定为占用时间,具体的根据实际情况进行选择,本申请实施例不做具体的限定。It should be noted that, in the embodiment of this application, the terminal can use the estimated service time as the occupancy time of the radio frequency resource occupied by the non-data SIM card, or the service processing time as the occupancy time of the radio frequency resource occupied by the non-data SIM card. The estimated service time and service processing time can be used to determine the occupancy time of the radio frequency resource occupied by the non-data SIM card. Among them, the estimated service time and service processing time are used to determine the occupancy time of the radio frequency resource occupied by the non-data SIM card. Obtain the estimated business time. When it is judged that the estimated business time is less than the first time threshold, the business processing time is acquired and the business processing time is determined as the occupancy time. The specific selection is based on the actual situation. The embodiment of this application does not make specific details limited.
S102、根据占用时间和预设时间阈值,确定数据SIM卡的RRC状态和网络的RRC状态之间的同步情况。S102: Determine the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the occupied time and the preset time threshold.
终端内部预先设置有预设时间阈值,当终端确定了非数据SIM卡占用射频资源的占用时间之后,终端就要将占用时间和预设时间阈值进行比较,并根据比较结果确定数据SIM卡的RRC状态和网络的RRC状态之间的同步情况。The terminal is preset with a preset time threshold. After the terminal determines the occupancy time of the radio frequency resource occupied by the non-data SIM card, the terminal will compare the occupancy time with the preset time threshold, and determine the RRC of the data SIM card based on the comparison result The synchronization between the state and the RRC state of the network.
本申请实施例中,预设时间阈值包括第一时间阈值和第二时间阈值,其中,第一时间阈值大于第二时间阈值,即第一时间阈值为终端预设的时间上限,第二时间阈值为终端预设的时间下限。In the embodiment of the present application, the preset time threshold includes a first time threshold and a second time threshold, where the first time threshold is greater than the second time threshold, that is, the first time threshold is the upper limit of the time preset by the terminal, and the second time threshold The lower limit of the time preset for the terminal.
本申请实施例中,当终端获取到预估业务时间之后,终端将预估业务时间和第一时间阈值进行比较,当预估业务时间大于第一时间阈值时,表征非数据SIM卡响应该业务的响应时间过大,此时,终端直接确定出同步情况为数据SIM卡的RRC状态和网络的RRC状态不同步;当预估业务时间小于第一时间阈值时,终端根据业务处理时间和预设时间阈值,确定数据SIM卡的RRC状态和网络的RRC状态之间的同步情况。In the embodiment of this application, after the terminal obtains the estimated service time, the terminal compares the estimated service time with the first time threshold. When the estimated service time is greater than the first time threshold, it indicates that the non-data SIM card responds to the service The response time is too long. At this time, the terminal directly determines that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network; when the estimated service time is less than the first time threshold, the terminal is based on the service processing time and preset The time threshold determines the synchronization between the RRC state of the data SIM card and the RRC state of the network.
本申请实施例中,当终端获取到业务处理时间时,终端根据业务处理时间和预设时间阈值,确定数据SIM卡的RRC状态和网络的RRC状态之间的同步情况的过程具体为:终端将业务处理时间分别和第一时间阈值、第二时间阈值进行比较,分别对应三种比较结果:In the embodiment of this application, when the terminal obtains the service processing time, the terminal determines the synchronization between the RRC status of the data SIM card and the RRC status of the network according to the service processing time and the preset time threshold: The business processing time is compared with the first time threshold and the second time threshold, respectively, corresponding to three comparison results:
当业务处理时间小于第二时间阈值时,终端确定出同步情况为数据SIM卡的RRC状态和网络的RRC状态同步;When the service processing time is less than the second time threshold, the terminal determines that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network;
当业务处理时间大于第一时间阈值时,终端确定出同步情况为数据SIM卡的RRC状态和网络的RRC状态不同步;When the service processing time is greater than the first time threshold, the terminal determines that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network;
当业务处理时间处于第一时间区间时,终端利用数据SIM卡与网络的通信,并根据通信结果确定数据SIM卡的RRC状态和网络的RRC状态之间的同步情况,第一时间区间为第二时间阈值和第一时间阈值之间的时间区间。When the service processing time is in the first time interval, the terminal uses the data SIM card to communicate with the network, and determines the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the communication result. The first time interval is the second The time interval between the time threshold and the first time threshold.
本申请实施例中,终端利用数据SIM卡向网络发送通信请求;当接收到网络返回的响应该通信请求的请求响应时,终端确定出同步情况为数据SIM卡的RRC状态和网络的RRC状态同步;当未接收到网络返回的请求响应时,终端确定出同步情况为数据SIM卡的RRC状态和网络的RRC状态不同步。In the embodiment of this application, the terminal uses a data SIM card to send a communication request to the network; when receiving a request response from the network in response to the communication request, the terminal determines that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network ; When the request response returned by the network is not received, the terminal determines that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network.
示例性的,终端的数据SIM卡触发(Signaling Radio Bearers2,SRB2)的RLC Polling(通信请求),当终端接收到网络侧响应该RLC Polling的HARQ的ACK应答或者终端接收到网络侧发送的RLC status report时,终端判断出网络尚未释放RRC连接,其中HARQ的ACK应答或者RLC status report即为本申请中的请求响应,此时,终端确定出数据SIM卡的RRC状态和网络的RRC状态同步;当终端未接收到网络侧响应该RLC Polling的HARQ的ACK应答或者终端未接收到网络侧发送的RLC status report时,终端判断出网络尚已释放RRC连接,此时,终端确定出数据SIM卡的RRC状态和网络的RRC状态不同步。Exemplarily, the data SIM card of the terminal triggers (Signaling Radio Bearers2, SRB2) RLC Polling (communication request), when the terminal receives the HARQ ACK response from the network side in response to the RLC Polling or the terminal receives the RLC status sent by the network side In the report, the terminal judges that the network has not released the RRC connection. The HARQ ACK response or RLC status report is the response to the request in this application. At this time, the terminal determines that the RRC status of the data SIM card is synchronized with the RRC status of the network; When the terminal does not receive the HARQ ACK response from the network side in response to the RLC Polling or the terminal does not receive the RLC status report sent by the network side, the terminal determines that the network has released the RRC connection. At this time, the terminal determines the RRC of the data SIM card The state is not synchronized with the RRC state of the network.
需要说明的是,终端仅利用预估业务时间和预设时间阈值,确定数据SIM卡的RRC状态和网络的RRC状态之间的同步情况的过程,与终端利用业务处理时间和预设时间阈值,确定数据SIM卡的RRC状态和网络的RRC状态之间的同步情况的过程一致,在此不再赘述。It should be noted that the terminal only uses the estimated service time and the preset time threshold to determine the synchronization between the RRC status of the data SIM card and the RRC status of the network, and the terminal uses the service processing time and preset time threshold. The process of determining the synchronization between the RRC state of the data SIM card and the RRC state of the network is consistent, and will not be repeated here.
S103、根据同步情况,控制数据SIM卡的RRC连接。S103: Control the RRC connection of the data SIM card according to the synchronization situation.
当终端确定出数据SIM卡的RRC状态和网络的RRC状态之间的同步情况之后,终端根据同步情况,控制数据SIM卡的RRC连接。After the terminal determines the synchronization situation between the RRC state of the data SIM card and the RRC state of the network, the terminal controls the RRC connection of the data SIM card according to the synchronization situation.
在一种可选的实施例中,当终端根据业务处理时间和预设时间阈值,确定出同步情况为数据SIM卡的RRC状态和网络的RRC状态不同步时,终端释放数据SIM卡的RRC连接;并重新建立数据SIM卡和网络之间的RRC连接。In an optional embodiment, when the terminal determines that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network according to the service processing time and the preset time threshold, the terminal releases the RRC connection of the data SIM card ; And re-establish the RRC connection between the data SIM card and the network.
在另一种可选的实施例中,当终端根据预估业务时间和第一时间阈值,确定出同步情况为数据SIM卡的RRC状态和网络的RRC状态不同步时,终端释放数据SIM卡的RRC连接,并等待非数据SIM卡释放射频资源,当终端确定出非数据SIM卡释放射频资源时,终端重新建立数据SIM卡和网络之间的RRC连接。In another optional embodiment, when the terminal determines that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network according to the estimated service time and the first time threshold, the terminal releases the data SIM card RRC connects and waits for the non-data SIM card to release radio frequency resources. When the terminal determines that the non-data SIM card releases radio frequency resources, the terminal re-establishes the RRC connection between the data SIM card and the network.
具体的,终端采用service request(服务请求)过程重新建立数据SIM卡和网络之间的RRC连接;或者终端启动演进的分组系统(Evolved Packet System,EPS)移动性过程(EPS Mobility Management,EMM)过程(跟踪区域更新(Tracking Area Update,TAU))与网络通信,进而恢复信令面和数据面连接。Specifically, the terminal uses the service request (service request) process to re-establish the RRC connection between the data SIM card and the network; or the terminal initiates the Evolved Packet System (EPS) mobility process (EPS Mobility Management, EMM) process (Tracking Area Update (TAU)) communicates with the network, and then restores the connection between the signaling plane and the data plane.
本申请实施例中,当终端确定出同步情况为数据SIM卡的RRC状态和网络的RRC状态同步时,终端保持数据SIM卡的RRC连接。In the embodiment of the present application, when the terminal determines that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network, the terminal maintains the RRC connection of the data SIM card.
示例性的,如图2所示,为终端利用预估业务时间和业务处理时间共同实现RRC状态维护的过程,具体的,Exemplarily, as shown in Figure 2, it is the process in which the terminal uses the estimated service time and service processing time to jointly implement the RRC state maintenance. Specifically,
1、在数据SIM卡处于RRC连接态时,非数据SIM卡抢占RF资源;1. When the data SIM card is in the RRC connection state, the non-data SIM card preempts RF resources;
2、终端根据非数据SIM卡实现的业务类型,预估非数据SIM卡抢占RF资源的预估业务时间;2. The terminal estimates the estimated business time for the non-data SIM card to seize the RF resources according to the type of business realized by the non-data SIM card;
3、终端将预估业务时间和第一时间阈值进行比较;3. The terminal compares the estimated business time with the first time threshold;
4、当预估业务时间大于第一时间阈值时,终端释放数据SIM卡的RRC连接态;4. When the estimated service time is greater than the first time threshold, the terminal releases the RRC connection state of the data SIM card;
5、直至非数据SIM卡释放RF资源,终端重新建立数据SIM卡和网络之间的RRC连接;5. Until the non-data SIM card releases the RF resources, the terminal re-establishes the RRC connection between the data SIM card and the network;
6、当预估业务时间小于第一时间阈值时,终端监控非数据SIM卡是否释放RF资源;6. When the estimated business time is less than the first time threshold, the terminal monitors whether the non-data SIM card releases RF resources;
7、当非数据SIM卡释放RF资源时,终端获取非数据SIM卡的业务处理时间;7. When the non-data SIM card releases RF resources, the terminal obtains the service processing time of the non-data SIM card;
8、终端将业务处理时间分别与第一时间阈值和第二时间阈值进行比较;8. The terminal compares the service processing time with the first time threshold and the second time threshold respectively;
9、当业务处理时间小于第二时间阈值时,执行15;9. When the business processing time is less than the second time threshold, execute 15;
10、当业务处理时间大于第一时间阈值时,执行16和17;10. When the business processing time is greater than the first time threshold, execute 16 and 17;
11、当业务处理时间处于第二时间阈值和第一时间阈值之间的时间区间时,利用数据SIM卡发起RLC Polling;11. When the service processing time is in the time interval between the second time threshold and the first time threshold, use the data SIM card to initiate RLC Polling;
12、终端判断是否接收到RLC status report或HARQ ACK响应;12. The terminal judges whether it receives an RLC status report or HARQ ACK response;
13、当终端接收到RLC status report或HARQ ACK响应时,执行15;13. When the terminal receives the RLC status report or HARQ ACK response, execute 15;
14、当终端未接收到RLC status report或HARQ ACK响应时,执行16和17;14. When the terminal does not receive the RLC status report or HARQ ACK response, execute 16 and 17;
15、终端维持数据SIM卡的RRC连接态;15. The terminal maintains the RRC connection state of the data SIM card;
16、终端释放数据SIM卡的RRC连接态;16. The terminal releases the RRC connection state of the data SIM card;
17、终端重新建立数据SIM卡和网络之间的RRC连接。17. The terminal re-establishes the RRC connection between the data SIM card and the network.
示例性的,如图3所示,为终端利用业务处理时间实现RRC状态维护的过程,具体的,Exemplarily, as shown in Figure 3, it is a process in which the terminal uses service processing time to implement RRC state maintenance. Specifically,
1、在数据SIM卡处于RRC连接态时,非数据SIM卡抢占RF资源;1. When the data SIM card is in the RRC connection state, the non-data SIM card preempts RF resources;
2、终端获取非数据SIM卡的业务处理时间;2. The service processing time for the terminal to obtain the non-data SIM card;
3、终端将业务处理时间分别与第一时间阈值和第二时间阈值进行比较;3. The terminal compares the service processing time with the first time threshold and the second time threshold respectively;
4、当业务处理时间小于第二时间阈值时,执行10;4. When the business processing time is less than the second time threshold, execute 10;
5、当业务处理时间大于第一时间阈值时,执行11和12;5. When the business processing time is greater than the first time threshold, execute 11 and 12;
6、当业务处理时间处于第二时间阈值和第一时间阈值之间的时间区间时,利用数据SIM卡发起RLC Polling;6. When the service processing time is in the time interval between the second time threshold and the first time threshold, use the data SIM card to initiate RLC Polling;
7、终端判断是否接收到RLC status report或HARQ ACK响应;7. The terminal judges whether it receives an RLC status report or HARQ ACK response;
8、当终端接收到RLC status report或HARQ ACK响应时,执行10;8. When the terminal receives the RLC status report or HARQ ACK response, execute 10;
9、当终端未接收到RLC status report或HARQ ACK响应时,执行11和12;9. When the terminal does not receive the RLC status report or HARQ ACK response, execute 11 and 12;
10、终端维持数据SIM卡的RRC连接态;10. The terminal maintains the RRC connection state of the data SIM card;
11、终端释放数据SIM卡的RRC连接态;11. The terminal releases the RRC connection state of the data SIM card;
12、终端重新建立数据SIM卡和网络之间的RRC连接。12. The terminal re-establishes the RRC connection between the data SIM card and the network.
可以理解的是,终端设置预设时间阈值,并将非数据SIM卡占用射频资源的占用时间和预设时间阈值进行比较,以确定数据SIM卡的RRC状态和网络的RRC状态之间的同步情况,终端可以根据同步情况控制数据SIM卡维持RRC连接或者释放RRC连接,减少了重新建立RRC连接的概率,进而降低了恢复数据SIM卡的RRC连接的时延。It is understandable that the terminal sets a preset time threshold, and compares the occupancy time of radio frequency resources occupied by the non-data SIM card with the preset time threshold to determine the synchronization between the RRC state of the data SIM card and the RRC state of the network , The terminal can control the data SIM card to maintain the RRC connection or release the RRC connection according to the synchronization situation, reducing the probability of re-establishing the RRC connection, thereby reducing the time delay for restoring the RRC connection of the data SIM card.
本申请实施例提供一种终端。如图4所示,该终端1包括:The embodiment of the present application provides a terminal. As shown in Figure 4, the terminal 1 includes:
确定部分10,配置为确定所述非数据SIM卡占用射频资源的占用时间;根据所述占用时间和预设时间阈值,确定所述数据SIM卡的RRC状态和网络的RRC状态之间的同步情况;The determining part 10 is configured to determine the occupancy time of the radio frequency resource occupied by the non-data SIM card; determine the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the occupancy time and a preset time threshold ;
RRC连接控制部分11,还配置为根据所述同步情况,控制所述数据SIM卡的RRC连接。The RRC connection control part 11 is further configured to control the RRC connection of the data SIM card according to the synchronization situation.
可选的,所述终端还包括:统计部分;Optionally, the terminal further includes: a statistics part;
所述统计部分,配置为统计所述非数据SIM卡的业务处理时间,所述业务处理时间为所述非数据SIM卡占用所述射频资源至所述非数据SIM卡释放所述射频资源之间的时间;The statistics part is configured to count the service processing time of the non-data SIM card, where the service processing time is between when the non-data SIM card occupies the radio frequency resource to the time the non-data SIM card releases the radio frequency resource time;
所述确定部分10,还配置为将所述业务处理时间确定为所述占用时间。The determining part 10 is further configured to determine the service processing time as the occupancy time.
可选的,所述终端还包括:获取部分;Optionally, the terminal further includes: an acquisition part;
所述获取部分,配置为当确定出所述非数据SIM卡占用射频资源时,获取所述非数据SIM卡占用射频资源的业务和业务类型;The obtaining part is configured to obtain the service and service type of the radio frequency resource occupied by the non-data SIM card when it is determined that the non-data SIM card occupies the radio frequency resource;
所述统计部分,还配置为当所述预估业务时间小于所述第一时间阈值时,获取所述非数据SIM卡的业务处理时间;The statistics part is further configured to obtain the service processing time of the non-data SIM card when the estimated service time is less than the first time threshold;
所述确定部分10,还配置为确定所述业务类型对应的预估业务时间;将所述业务处理时间确定为所述占用时间。The determining part 10 is further configured to determine the estimated service time corresponding to the service type; and determine the service processing time as the occupancy time.
可选的,所述预设时间阈值包括第一时间阈值和第二时间阈值,所述终端还包括:通信部分;Optionally, the preset time threshold includes a first time threshold and a second time threshold, and the terminal further includes: a communication part;
所述确定部分10,还配置为当所述业务处理时间小于所述第二时间阈值时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态同步;当所述业务处理时间大于所述第一时间阈值时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步; 根据通信结果确定所述数据SIM卡的RRC状态和网络的RRC状态之间的同步情况;The determining part 10 is further configured to determine that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network when the service processing time is less than the second time threshold; When the service processing time is greater than the first time threshold, it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network; the RRC state of the data SIM card is determined according to the communication result Synchronization with the RRC state of the network;
所述通信部分,还配置为当所述业务处理时间处于第一时间区间时,利用所述数据SIM卡与所述网络的通信,所述第一时间区间为所述第二时间阈值和所述第一时间阈值之间的时间区间。The communication part is further configured to use the data SIM card to communicate with the network when the service processing time is in a first time interval, where the first time interval is the second time threshold and the The time interval between the first time thresholds.
可选的,所述通信部分,具体配置为利用所述数据SIM卡向所述网络发送通信请求;Optionally, the communication part is specifically configured to use the data SIM card to send a communication request to the network;
所述确定部分10,还配置为当接收到所述网络返回的响应所述通信请求的请求响应时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态同步;当未接收到所述网络返回的请求响应时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步。The determining part 10 is further configured to determine that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network when the request response returned by the network in response to the communication request is received. When the request response returned by the network is not received, it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network.
可选的,所述终端还包括:释放部分和重新连接部分;Optionally, the terminal further includes: a releasing part and a reconnecting part;
所述释放部分,配置为当确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步时,释放所述数据SIM卡的RRC连接;The releasing part is configured to release the RRC connection of the data SIM card when it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network;
所述重新连接部分,配置为重新建立所述数据SIM卡和所述网络之间的RRC连接。The reconnection part is configured to re-establish the RRC connection between the data SIM card and the network.
可选的,所述终端还包括:保持部分;Optionally, the terminal further includes: a holding part;
所述保持部分,配置为当确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态同步时,保持所述数据SIM卡的RRC连接。The maintaining part is configured to maintain the RRC connection of the data SIM card when it is determined that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network.
可选的,所述确定部分10,还配置为当所述预估业务时间大于所述第一时间阈值时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步。Optionally, the determining part 10 is further configured to determine that the synchronization condition is the RRC status of the data SIM card and the RRC status of the network when the estimated service time is greater than the first time threshold. The status is out of sync.
可选的,所述释放部分,还配置为释放所述数据SIM卡的RRC连接;Optionally, the releasing part is further configured to release the RRC connection of the data SIM card;
所述重新连接部分,还配置为当确定出所述非数据SIM卡释放所述射频资源时,重新建立所述数据SIM卡和所述网络之间的RRC连接。The reconnection part is further configured to re-establish the RRC connection between the data SIM card and the network when it is determined that the non-data SIM card releases the radio frequency resource.
本申请实施例提供的一种终端,终端包括数据SIM卡和非数据SIM卡,确定非数据SIM卡占用射频资源的占用时间;根据占用时间和预设时间阈值,确定数据SIM卡的RRC状态和网络的RRC状态之间的同步情况;根据同步情况,控制数据SIM卡的RRC连接。由此可见,本实施例提出的终端,终端设置预设时间阈值,并将非数据SIM卡占用射频资源的占用时间和预设时间阈值进行比较,以确定数据SIM卡的RRC状态和网络的RRC状态之间的同步情况,终端可以根据同步情况控制数据SIM卡维持RRC连接或者释放RRC连接,减少了重新建立RRC连接的概率,进而降低了恢复数据SIM卡的RRC连接的时延。An embodiment of the present application provides a terminal, which includes a data SIM card and a non-data SIM card, and determines the occupancy time of radio frequency resources occupied by the non-data SIM card; and determines the RRC status and status of the data SIM card according to the occupancy time and a preset time threshold. The synchronization between the RRC states of the network; according to the synchronization, the RRC connection of the data SIM card is controlled. It can be seen that, in the terminal proposed in this embodiment, the terminal sets a preset time threshold, and compares the occupancy time of radio frequency resources occupied by the non-data SIM card with the preset time threshold to determine the RRC status of the data SIM card and the RRC of the network For the synchronization between states, the terminal can control the data SIM card to maintain the RRC connection or release the RRC connection according to the synchronization situation, which reduces the probability of re-establishing the RRC connection, thereby reducing the time delay for restoring the RRC connection of the data SIM card.
图5为本申请实施例提供的一种终端1的组成结构示意图二,在实际 应用中,基于上述实施例的同一公开构思下,如图5所示,本实施例的终端1包括:处理器12、存储器13及通信总线14。FIG. 5 is a second schematic diagram of the composition structure of a terminal 1 provided by an embodiment of this application. In practical applications, based on the same public concept of the above-mentioned embodiment, as shown in FIG. 5, the terminal 1 of this embodiment includes: a processor 12. Memory 13 and communication bus 14.
在具体的实施例的过程中,上述确定部分10、RRC连接控制部分11、统计部分、释放部分、重新连接部分、保持部分和获取部分可由位于终端1上的处理器12实现,上述存储部分可由位于终端1上的存储器13实现,上述处理器12可以为特定用途集成电路(ASIC,Application Specific Integrated Circuit)、数字信号处理器(DSP,Digital Signal Processor)、数字信号处理图像处理装置(DSPD,Digital Signal Processing Device)、可编程逻辑图像处理装置(PLD,Programmable Logic Device)、现场可编程门阵列(FPGA,Field Programmable Gate Array)、CPU、控制器、微控制器、微处理器中的至少一种。可以理解地,对于不同的设备,用于实现上述处理器功能的电子器件还可以为其它,本实施例不作具体限定。In the process of a specific embodiment, the above determination part 10, the RRC connection control part 11, the statistics part, the release part, the reconnection part, the retention part, and the acquisition part may be implemented by the processor 12 located on the terminal 1, and the above storage part may be The memory 13 located on the terminal 1 is implemented. The above-mentioned processor 12 may be an Application Specific Integrated Circuit (ASIC), a digital signal processor (DSP, Digital Signal Processor), and a digital signal processing image processing device (DSPD, Digital Signal Processor). At least one of Signal Processing Device, Programmable Logic Image Processing Device (PLD, Programmable Logic Device), Field Programmable Gate Array (FPGA, Field Programmable Gate Array), CPU, controller, microcontroller, and microprocessor . It can be understood that, for different devices, the electronic devices used to implement the above-mentioned processor functions may also be other, which is not specifically limited in this embodiment.
在本申请实施例中,上述通信总线14用于实现处理器12和存储器13之间的连接通信;上述处理器12执行存储器13中存储的运行程序时实现如下的RRC状态维护方法:In the embodiment of the present application, the above-mentioned communication bus 14 is used to realize the connection and communication between the processor 12 and the memory 13; when the above-mentioned processor 12 executes the operating program stored in the memory 13, the following RRC state maintenance method is implemented:
确定所述非数据SIM卡占用射频资源的占用时间;根据所述占用时间和预设时间阈值,确定所述数据SIM卡的RRC状态和网络的RRC状态之间的同步情况;根据所述同步情况,控制所述数据SIM卡的RRC连接。Determine the occupancy time of the radio frequency resource occupied by the non-data SIM card; determine the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the occupancy time and a preset time threshold; according to the synchronization situation To control the RRC connection of the data SIM card.
可选的,上述处理器12,还用于统计所述非数据SIM卡的业务处理时间,所述业务处理时间为所述非数据SIM卡占用所述射频资源至所述非数据SIM卡释放所述射频资源之间的时间;将所述业务处理时间确定为所述占用时间。Optionally, the aforementioned processor 12 is further configured to count the service processing time of the non-data SIM card, where the service processing time is the time when the non-data SIM card occupies the radio frequency resource until the non-data SIM card is released. The time between the radio frequency resources; the service processing time is determined as the occupied time.
可选的,所述预设时间阈值包括第一时间阈值,上述处理器12,还用于当确定出所述非数据SIM卡占用射频资源时,获取所述非数据SIM卡占用射频资源的业务和业务类型;确定所述业务类型对应的预估业务时间;上述处理器12,还用于当所述预估业务时间小于所述第一时间阈值时,统计所述非数据SIM卡的业务处理时间;将所述业务处理时间确定为所述占用时间。Optionally, the preset time threshold includes a first time threshold. The processor 12 is further configured to, when it is determined that the non-data SIM card occupies radio frequency resources, obtain the service of the non-data SIM card occupies radio frequency resources. And service type; determine the estimated service time corresponding to the service type; the above-mentioned processor 12 is further configured to calculate the service processing of the non-data SIM card when the estimated service time is less than the first time threshold Time; the service processing time is determined as the occupancy time.
可选的,所述预设时间阈值包括第一时间阈值和第二时间阈值,所述第二时间阈值小于所述第一时间阈值,Optionally, the preset time threshold includes a first time threshold and a second time threshold, and the second time threshold is less than the first time threshold,
上述处理器12,还用于当所述业务处理时间小于所述第二时间阈值时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态同步;当所述业务处理时间大于所述第一时间阈值时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步;当所述业务处理时间处于第一时间区间时,利用所述数据SIM卡与所述网络的通信,并根据通信结果确定所述数据SIM卡的RRC状态和网络的RRC状态之间的同步情况,所述第一时间区间为所述第二时间阈值和所述第一时间阈值之间的时间区间。The above-mentioned processor 12 is further configured to determine that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network when the service processing time is less than the second time threshold; When the service processing time is greater than the first time threshold, it is determined that the synchronization situation is that the RRC status of the data SIM card and the RRC status of the network are not synchronized; when the service processing time is in the first time interval, Using the communication between the data SIM card and the network, and determining the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the communication result, the first time interval is the second time threshold The time interval between and the first time threshold.
可选的,上述处理器12,还用于利用所述数据SIM卡向所述网络发送通信请求;当接收到所述网络返回的响应所述通信请求的请求响应时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态同步;当未接收到所述网络返回的请求响应时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步。Optionally, the aforementioned processor 12 is further configured to use the data SIM card to send a communication request to the network; when receiving a request response from the network in response to the communication request, determine the synchronization situation Synchronize the RRC status of the data SIM card with the RRC status of the network; when the request response returned by the network is not received, it is determined that the synchronization status is the RRC status of the data SIM card and the network The RRC status is not synchronized.
可选的,上述处理器12,还用于当确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步时,释放所述数据SIM卡的RRC连接;重新建立所述数据SIM卡和所述网络之间的RRC连接。Optionally, the aforementioned processor 12 is further configured to release the RRC connection of the data SIM card when it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network; Establish an RRC connection between the data SIM card and the network.
可选的,上述处理器12,还用于当确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态同步时,保持所述数据SIM卡的RRC连接。Optionally, the aforementioned processor 12 is further configured to maintain the RRC connection of the data SIM card when it is determined that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network.
可选的,上述处理器12,还用于当所述预估业务时间大于所述第一时间阈值时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步。Optionally, the aforementioned processor 12 is further configured to determine that the synchronization condition is the RRC state of the data SIM card and the RRC state of the network when the estimated service time is greater than the first time threshold Out of sync.
可选的,上述处理器12,还用于释放所述数据SIM卡的RRC连接;当确定出所述非数据SIM卡释放所述射频资源时,重新建立所述数据SIM卡和所述网络之间的RRC连接。Optionally, the aforementioned processor 12 is further configured to release the RRC connection of the data SIM card; when it is determined that the non-data SIM card releases the radio frequency resources, re-establish the relationship between the data SIM card and the network RRC connection between.
本申请实施例提供一种存储介质,其上存储有计算机程序,上述计算机可读存储介质存储有一个或者多个程序,上述一个或者多个程序可被一个或者多个处理器执行,应用于终端中,该计算机程序实现如上述RRC状态维护方法。The embodiment of the present application provides a storage medium on which a computer program is stored, and the above-mentioned computer-readable storage medium stores one or more programs, and the above-mentioned one or more programs can be executed by one or more processors and applied to a terminal In, the computer program implements the above-mentioned RRC state maintenance method.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台图像显示设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make an image display device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present disclosure.
以上所述,仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。The above are only preferred embodiments of the present application, and are not used to limit the protection scope of the present application.
Claims (20)
- 一种无线资源控制RRC状态维护方法,应用于终端,所述终端包括数据用户身份识别SIM卡和非数据SIM卡,所述方法包括:A method for maintaining a radio resource control RRC state is applied to a terminal, the terminal includes a data user identification SIM card and a non-data SIM card, and the method includes:确定所述非数据SIM卡占用射频资源的占用时间;Determining the occupation time of the radio frequency resource occupied by the non-data SIM card;根据所述占用时间和预设时间阈值,确定所述数据SIM卡的RRC状态和网络的RRC状态之间的同步情况;Determine the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the occupied time and the preset time threshold;根据所述同步情况,控制所述数据SIM卡的RRC连接。According to the synchronization situation, control the RRC connection of the data SIM card.
- 根据权利要求1所述的方法,其中,所述确定所述非数据SIM卡占用射频资源的占用时间,包括:The method according to claim 1, wherein the determining the occupation time of radio frequency resources occupied by the non-data SIM card comprises:统计所述非数据SIM卡的业务处理时间,所述业务处理时间为所述非数据SIM卡占用所述射频资源至所述非数据SIM卡释放所述射频资源之间的时间;Count the service processing time of the non-data SIM card, where the service processing time is the time between when the non-data SIM card occupies the radio frequency resource to when the non-data SIM card releases the radio frequency resource;将所述业务处理时间确定为所述占用时间。The service processing time is determined as the occupancy time.
- 根据权利要求1所述的方法,其中,所述确定所述非数据SIM卡占用射频资源的占用时间之前,所述方法还包括:The method according to claim 1, wherein before said determining the occupation time of the radio frequency resource occupied by the non-data SIM card, the method further comprises:当确定出所述非数据SIM卡占用射频资源时,获取所述非数据SIM卡占用射频资源的业务和业务类型;When it is determined that the non-data SIM card occupies the radio frequency resource, acquiring the service and the service type of the radio frequency resource occupied by the non-data SIM card;确定所述业务类型对应的预估业务时间;Determine the estimated business time corresponding to the business type;相应的,所述预设时间阈值包括第一时间阈值,所述确定所述非数据SIM卡占用射频资源的占用时间,包括:Correspondingly, the preset time threshold includes a first time threshold, and the determining the occupancy time of radio frequency resources occupied by the non-data SIM card includes:当所述预估业务时间小于所述第一时间阈值时,统计所述非数据SIM卡的业务处理时间;When the estimated service time is less than the first time threshold, statistics the service processing time of the non-data SIM card;将所述业务处理时间确定为所述占用时间。The service processing time is determined as the occupancy time.
- 根据权利要求2或3所述的方法,其中,所述预设时间阈值包括第一时间阈值和第二时间阈值,所述第二时间阈值小于所述第一时间阈值,所述根据所述业务处理时间和预设时间阈值,确定所述数据SIM卡的RRC状态和网络的RRC状态之间的同步情况,包括:The method according to claim 2 or 3, wherein the preset time threshold includes a first time threshold and a second time threshold, the second time threshold is less than the first time threshold, and the The processing time and the preset time threshold are used to determine the synchronization between the RRC state of the data SIM card and the RRC state of the network, including:当所述业务处理时间小于所述第二时间阈值时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态同步;When the service processing time is less than the second time threshold, it is determined that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network;当所述业务处理时间大于所述第一时间阈值时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步;When the service processing time is greater than the first time threshold, it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network;当所述业务处理时间处于第一时间区间时,利用所述数据SIM卡与所述网络的通信,并根据通信结果确定所述数据SIM卡的RRC状态和网络的RRC状态之间的同步情况,所述第一时间区间为所述第二时间阈值和所述第一时间阈值之间的时间区间。When the service processing time is in the first time interval, use the communication between the data SIM card and the network, and determine the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the communication result, The first time interval is a time interval between the second time threshold and the first time threshold.
- 根据权利要求4所述的方法,其中,所述利用所述数据SIM卡与所 述网络的通信,并根据通信结果确定所述数据SIM卡的RRC状态和网络的RRC状态之间的同步情况,包括:The method according to claim 4, wherein the communication between the data SIM card and the network is used, and the synchronization between the RRC state of the data SIM card and the RRC state of the network is determined according to the communication result, include:利用所述数据SIM卡向所述网络发送通信请求;Using the data SIM card to send a communication request to the network;当接收到所述网络返回的响应所述通信请求的请求响应时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态同步;When receiving a request response in response to the communication request returned by the network, it is determined that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network;当未接收到所述网络返回的请求响应时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步。When the request response returned by the network is not received, it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network.
- 根据权利要求4或5所述的方法,其中,所述根据所述同步情况,控制所述数据SIM卡的RRC连接,包括:The method according to claim 4 or 5, wherein the controlling the RRC connection of the data SIM card according to the synchronization situation comprises:当确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步时,释放所述数据SIM卡的RRC连接;When it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network, releasing the RRC connection of the data SIM card;重新建立所述数据SIM卡和所述网络之间的RRC连接。Re-establish the RRC connection between the data SIM card and the network.
- 根据权利要求1、4或5任一项所述的方法,其中,所述根据所述同步情况,控制所述数据SIM卡的RRC连接,包括:The method according to any one of claims 1, 4, or 5, wherein the controlling the RRC connection of the data SIM card according to the synchronization situation comprises:当确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态同步时,保持所述数据SIM卡的RRC连接。When it is determined that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network, the RRC connection of the data SIM card is maintained.
- 根据权利要求3所述的方法,其中,所述根据所述占用时间和预设时间阈值,确定所述数据SIM卡的RRC状态和网络的RRC状态之间的同步情况,包括:The method according to claim 3, wherein the determining the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the occupancy time and a preset time threshold comprises:当所述预估业务时间大于所述第一时间阈值时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步。When the estimated service time is greater than the first time threshold, it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network.
- 根据权利要求8所述的方法,其中,所述根据所述同步情况,控制所述数据SIM卡的RRC连接,包括:The method according to claim 8, wherein the controlling the RRC connection of the data SIM card according to the synchronization situation comprises:释放所述数据SIM卡的RRC连接;Releasing the RRC connection of the data SIM card;当确定出所述非数据SIM卡释放所述射频资源时,重新建立所述数据SIM卡和所述网络之间的RRC连接。When it is determined that the non-data SIM card releases the radio frequency resource, the RRC connection between the data SIM card and the network is re-established.
- 一种终端,所述终端包括数据用户身份识别SIM卡和非数据SIM卡,所述终端包括:A terminal, the terminal includes a data user identification SIM card and a non-data SIM card, and the terminal includes:确定部分,配置为确定所述非数据SIM卡占用射频资源的占用时间;根据所述占用时间和预设时间阈值,确定所述数据SIM卡的RRC状态和网络的RRC状态之间的同步情况;The determining part is configured to determine the occupancy time of the radio frequency resource occupied by the non-data SIM card; determine the synchronization between the RRC state of the data SIM card and the RRC state of the network according to the occupancy time and a preset time threshold;RRC连接控制部分,还配置为根据所述同步情况,控制所述数据SIM卡的RRC连接。The RRC connection control part is further configured to control the RRC connection of the data SIM card according to the synchronization situation.
- 根据权利要求10所述的终端,其中,所述终端还包括:统计部分;The terminal according to claim 10, wherein the terminal further comprises: a statistics part;所述统计部分,配置为统计所述非数据SIM卡的业务处理时间,所述业务处理时间为所述非数据SIM卡占用所述射频资源至所述非数据SIM卡释放所述射频资源之间的时间;The statistics part is configured to count the service processing time of the non-data SIM card, where the service processing time is between when the non-data SIM card occupies the radio frequency resource to the time the non-data SIM card releases the radio frequency resource time;所述确定部分,还配置为将所述业务处理时间确定为所述占用时间。The determining part is further configured to determine the service processing time as the occupancy time.
- 根据权利要求10所述的终端,其中,所述终端还包括:获取部分;The terminal according to claim 10, wherein the terminal further comprises: an acquisition part;所述获取部分,配置为当确定出所述非数据SIM卡占用射频资源时,获取所述非数据SIM卡占用射频资源的业务和业务类型;The obtaining part is configured to obtain the service and service type of the radio frequency resource occupied by the non-data SIM card when it is determined that the non-data SIM card occupies the radio frequency resource;所述统计部分,还配置为当所述预估业务时间小于所述第一时间阈值时,获取所述非数据SIM卡的业务处理时间;The statistics part is further configured to obtain the service processing time of the non-data SIM card when the estimated service time is less than the first time threshold;所述确定部分,还配置为确定所述业务类型对应的预估业务时间;将所述业务处理时间确定为所述占用时间。The determining part is further configured to determine the estimated service time corresponding to the service type; and determine the service processing time as the occupancy time.
- 根据权利要求11或12所述的终端,其中,所述预设时间阈值包括第一时间阈值和第二时间阈值,所述终端还包括:通信部分;The terminal according to claim 11 or 12, wherein the preset time threshold includes a first time threshold and a second time threshold, and the terminal further includes: a communication part;所述确定部分,还配置为当所述业务处理时间小于所述第二时间阈值时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态同步;当所述业务处理时间大于所述第一时间阈值时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步;根据通信结果确定所述数据SIM卡的RRC状态和网络的RRC状态之间的同步情况;The determining part is further configured to determine that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network when the service processing time is less than the second time threshold; when the When the service processing time is greater than the first time threshold, it is determined that the synchronization situation is that the RRC state of the data SIM card and the RRC state of the network are not synchronized; the RRC state and the RRC state of the data SIM card are determined according to the communication result. The synchronization between the RRC states of the network;所述通信部分,还配置为当所述业务处理时间处于第一时间区间时,利用所述数据SIM卡与所述网络的通信,所述第一时间区间为所述第二时间阈值和所述第一时间阈值之间的时间区间。The communication part is further configured to use the data SIM card to communicate with the network when the service processing time is in a first time interval, where the first time interval is the second time threshold and the The time interval between the first time thresholds.
- 根据权利要求13所述的终端,其中,The terminal according to claim 13, wherein:所述通信部分,具体配置为利用所述数据SIM卡向所述网络发送通信请求;The communication part is specifically configured to use the data SIM card to send a communication request to the network;所述确定部分,还配置为当接收到所述网络返回的响应所述通信请求的请求响应时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态同步;当未接收到所述网络返回的请求响应时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步。The determining part is further configured to determine that the synchronization condition is that the RRC state of the data SIM card is synchronized with the RRC state of the network when the request response returned by the network in response to the communication request is received; When the request response returned by the network is not received, it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network.
- 根据权利要求13或14所述的终端,其中,所述终端还包括:释放部分和重新连接部分;The terminal according to claim 13 or 14, wherein the terminal further comprises: a releasing part and a reconnecting part;所述释放部分,配置为当确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步时,释放所述数据SIM卡的RRC连接;The releasing part is configured to release the RRC connection of the data SIM card when it is determined that the synchronization situation is that the RRC state of the data SIM card is not synchronized with the RRC state of the network;所述重新连接部分,配置为重新建立所述数据SIM卡和所述网络之间的RRC连接。The reconnection part is configured to re-establish the RRC connection between the data SIM card and the network.
- 根据权利要求10、13或14任一项所述的终端,其中,所述终端还包括:保持部分;The terminal according to any one of claims 10, 13 or 14, wherein the terminal further comprises: a holding part;所述保持部分,配置为当确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态同步时,保持所述数据SIM卡的RRC连接。The maintaining part is configured to maintain the RRC connection of the data SIM card when it is determined that the synchronization situation is that the RRC state of the data SIM card is synchronized with the RRC state of the network.
- 根据权利要求12所述的终端,其中,The terminal according to claim 12, wherein:所述确定部分,还配置为当所述预估业务时间大于所述第一时间阈值时,确定出所述同步情况为所述数据SIM卡的RRC状态和所述网络的RRC状态不同步。The determining part is further configured to determine that the synchronization condition is that the RRC state of the data SIM card is not synchronized with the RRC state of the network when the estimated service time is greater than the first time threshold.
- 根据权利要求17所述的终端,其中,The terminal according to claim 17, wherein:所述释放部分,还配置为释放所述数据SIM卡的RRC连接;The release part is further configured to release the RRC connection of the data SIM card;所述重新连接部分,还配置为当确定出所述非数据SIM卡释放所述射频资源时,重新建立所述数据SIM卡和所述网络之间的RRC连接。The reconnection part is further configured to re-establish the RRC connection between the data SIM card and the network when it is determined that the non-data SIM card releases the radio frequency resource.
- 一种终端,所述终端包括:处理器、发送器、存储器及通信总线;所述处理器执行存储器存储的运行程序时实现如权利要求1-9任一项所述的方法。A terminal, the terminal comprising: a processor, a transmitter, a memory, and a communication bus; when the processor executes an operating program stored in the memory, the method according to any one of claims 1-9 is implemented.
- 一种存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如权利要求1-9任一项所述的方法。A storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method according to any one of claims 1-9 is realized.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010503317.2A CN111787522B (en) | 2020-06-05 | 2020-06-05 | Radio resource control RRC state maintenance method, terminal and storage medium |
CN202010503317.2 | 2020-06-05 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021244198A1 true WO2021244198A1 (en) | 2021-12-09 |
Family
ID=72754643
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/091154 WO2021244198A1 (en) | 2020-06-05 | 2021-04-29 | Radio resource control (rrc) state maintaining method, terminal, and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111787522B (en) |
WO (1) | WO2021244198A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111787522B (en) * | 2020-06-05 | 2022-12-06 | Oppo广东移动通信有限公司 | Radio resource control RRC state maintenance method, terminal and storage medium |
CN114650526A (en) * | 2020-12-18 | 2022-06-21 | Oppo广东移动通信有限公司 | Service response method, device, terminal and storage medium |
CN113115483B (en) * | 2021-04-22 | 2022-09-16 | 展讯通信(上海)有限公司 | Method and device for releasing radio resource control connection and user equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2472973A1 (en) * | 2010-12-30 | 2012-07-04 | ST-Ericsson SA | Multi sim management |
CN103428353A (en) * | 2012-05-24 | 2013-12-04 | 展讯通信(上海)有限公司 | Mobile terminal and business scheduling method and device thereof |
CN110234109A (en) * | 2019-05-29 | 2019-09-13 | 维沃移动通信有限公司 | A kind of task triggering method and mobile terminal |
CN110519781A (en) * | 2019-08-28 | 2019-11-29 | 深圳市万普拉斯科技有限公司 | RRC time limit method of adjustment and device, mobile terminal and readable storage medium storing program for executing |
CN111787522A (en) * | 2020-06-05 | 2020-10-16 | Oppo广东移动通信有限公司 | Radio resource control RRC state maintenance method, terminal and storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180070327A1 (en) * | 2016-09-06 | 2018-03-08 | Qualcomm Incorporated | System and Methods for Performing an Early Radio Link Recovery Procedure on a Multi-Subscriber Identity Module Wireless Communication Device |
CN108632930B (en) * | 2018-05-04 | 2020-11-06 | 奇酷互联网络科技(深圳)有限公司 | Network searching control method and device and mobile terminal |
CN112740779B (en) * | 2018-11-22 | 2022-06-14 | 深圳市欢太科技有限公司 | Double-card communication method and related product |
CN110351704A (en) * | 2019-05-29 | 2019-10-18 | 努比亚技术有限公司 | A kind of paging control method, dual-card dual-standby terminal and computer readable storage medium |
-
2020
- 2020-06-05 CN CN202010503317.2A patent/CN111787522B/en active Active
-
2021
- 2021-04-29 WO PCT/CN2021/091154 patent/WO2021244198A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2472973A1 (en) * | 2010-12-30 | 2012-07-04 | ST-Ericsson SA | Multi sim management |
CN103428353A (en) * | 2012-05-24 | 2013-12-04 | 展讯通信(上海)有限公司 | Mobile terminal and business scheduling method and device thereof |
CN110234109A (en) * | 2019-05-29 | 2019-09-13 | 维沃移动通信有限公司 | A kind of task triggering method and mobile terminal |
CN110519781A (en) * | 2019-08-28 | 2019-11-29 | 深圳市万普拉斯科技有限公司 | RRC time limit method of adjustment and device, mobile terminal and readable storage medium storing program for executing |
CN111787522A (en) * | 2020-06-05 | 2020-10-16 | Oppo广东移动通信有限公司 | Radio resource control RRC state maintenance method, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111787522A (en) | 2020-10-16 |
CN111787522B (en) | 2022-12-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021244198A1 (en) | Radio resource control (rrc) state maintaining method, terminal, and storage medium | |
TWI487405B (en) | Background paging monitoring for multiple sim user equipment | |
CN105657860B (en) | A kind of method and device improving data service response speed | |
CN111713175B (en) | Communication method and wireless communication device | |
WO2021004512A1 (en) | Method and terminal device for releasing radio resource control connection, and storage medium | |
US10560929B2 (en) | Resource request method and system, device, and network side node | |
JP2002532988A (en) | Method for performing a secure detach procedure in a wireless telecommunications network | |
EP4102920A1 (en) | Communication method and related apparatus | |
WO2016174512A1 (en) | Resource control for wireless device detach | |
CN108449517B (en) | Call method and device based on one-number multi-card service | |
EP4340422A1 (en) | Method for reducing call drop rate and terminal | |
CN112770107B (en) | Modification method of load bearing and related device | |
WO2022048348A1 (en) | Data communication method and related apparatus | |
CN117156526A (en) | Data transmission method and related equipment | |
CN117177387A (en) | Data transmission method and related equipment | |
CN108064088B (en) | RRC connection release method, terminal, access network device and storage medium | |
CN110572781B (en) | Method and device for sending signaling multicast message in trunking communication system | |
WO2013000212A1 (en) | Method for accessing trunking service by terminal, terminal and base station | |
WO2016183823A1 (en) | Group service feedback method and apparatus | |
CN114698101A (en) | Communication method and communication system | |
JPH1132377A (en) | Emergency communication system for cordless telephone system | |
EP3010261B1 (en) | Method of message retransmission and user equipment using the same | |
CN110945828A (en) | Signal processing method and device, communication equipment and storage medium | |
EP2364055A1 (en) | Method for synchronously maintaining PDP context status between wireless communication network and mobile station and associated mobile station | |
WO2024138386A1 (en) | Information transmission method and apparatus, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21817597 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21817597 Country of ref document: EP Kind code of ref document: A1 |