CN111479302A - Data service switching method and communication device - Google Patents
Data service switching method and communication device Download PDFInfo
- Publication number
- CN111479302A CN111479302A CN202010288366.9A CN202010288366A CN111479302A CN 111479302 A CN111479302 A CN 111479302A CN 202010288366 A CN202010288366 A CN 202010288366A CN 111479302 A CN111479302 A CN 111479302A
- Authority
- CN
- China
- Prior art keywords
- service state
- subscriber identity
- identity module
- state
- network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0011—Control or signalling for completing the hand-off for data sessions of end-to-end connection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/08—Reselecting an access point
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/34—Reselection control
- H04W36/36—Reselection control by user or terminal equipment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application discloses a data service switching method and a communication device, which are applied to terminal equipment, wherein the terminal equipment is provided with a first user identification module and a second user identification module, and the method comprises the following steps: determining that the first subscriber identification module is not connected with a first network, and the first subscriber identification module is in an idle state, wherein the service state of the first subscriber identification module is a first service state, and the first service state is used for bearing data service; determining that a first network environment where a second subscriber identity module is located can configure a first network, wherein the service state of the second subscriber identity module is a second service state, and the second service state is used for bearing non-data services; and switching the service state of the first subscriber identification module from the first service state to the second service state, and switching the service state of the second subscriber identification module from the second service state to the first service state. By the method, data service switching can be realized.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data service switching method and a communications apparatus.
Background
The network of the NSA adds New Radio (NR) based on a long Term Evolution (L ong Term Evolution, L TE) network to support a data service card and a Non-data service card, wherein the data service card is a subscriber identification module with a voice service function and a data service function, and the Non-data service card is a subscriber identification module without the data service function.
For two data service cards of a dual-card terminal device, due to the current platform limitation, only one data service card can be used as a data service card in the NSA network, and the other data service card needs to be used as a non-data service card in the 4G network. The data service card of the current dual-card terminal equipment is configured by default or set by a user. When the network environment where the data service card is located does not have a 5G network, but the network environment where the non-data service card is located has a 5G network, the terminal device cannot use the 5G network. For example, the data service card belongs to a first operator, the non-data service card belongs to a second operator, and when the terminal device is not in the 5G network deployed by the first operator but in the 5G network deployed by the second operator, the terminal device cannot use the 5G network because the non-data service card cannot be connected to the 5G network deployed by the second operator.
Therefore, how to switch data services according to the current dual-card 5G network environment becomes an urgent problem to be solved for the terminal device to register the 5G network.
Disclosure of Invention
The application discloses a data service switching method and a communication device, which can intelligently switch data services according to the network states of a first user identification module and a second user identification module.
In a first aspect, an embodiment of the present application provides a data service switching method, which is applied to a terminal device, where the terminal device is configured with a first subscriber identity module and a second subscriber identity module, and the method includes:
determining that the first subscriber identification module is not connected with a first network, and the first subscriber identification module is in an idle state, wherein the service state of the first subscriber identification module is a first service state, and the first service state is used for bearing data service;
determining that a first network environment where a second subscriber identity module is located can configure a first network, wherein the service state of the second subscriber identity module is a second service state, and the second service state is used for bearing non-data services;
and switching the service state of the first subscriber identification module from the first service state to the second service state, and switching the service state of the second subscriber identification module from the second service state to the first service state.
In one embodiment, if the first database of the terminal device has the identification information of the cell accessed by the second subscriber identity module, it is determined that the first network environment in which the second subscriber identity module is located may configure the first network.
In one embodiment, the received system information block two SIB2 sent by the cell accessed by the second subscriber identity module is detected; if the SIB2 includes a predetermined field, it is determined that the first network environment in which the second subscriber identity module is located is configurable for the first network.
In an embodiment, if the first database of the terminal device has identification information of a neighboring cell of a cell accessed by the second subscriber identity module, and the second subscriber identity module meets a handover threshold for a cell accessed by the second subscriber identity module to be handed over to the neighboring cell, it is determined that the first network environment where the second subscriber identity module is located is configurable for the first network.
In one implementation, after the service state of the first subscriber identification module is switched from the first service state to the second service state and the service state of the second subscriber identification module is switched from the second service state to the first service state, it is determined that the second subscriber identification module is not connected with the first network and is in an idle state; determining that a second network environment in which the first subscriber identity module is located is a configurable first network; and switching the service state of the first subscriber identification module from the second service state to the first service state, and switching the service state of the second subscriber identification module from the first service state to the second service state.
In one embodiment, before it is determined that the second subscriber identity module is not connected to the first network and the second subscriber identity module is in an idle state, if a preset time period elapses since the service state of the first subscriber identity module is switched from the first service state to the second service state, it is triggered to determine that the second subscriber identity module is not connected to the first network and the second subscriber identity module is in the idle state; and if a preset time period elapses since the service state of the second subscriber identification module is switched from the second service state to the first service state, triggering and determining that the second subscriber identification module is not connected to the first network and is in an idle state.
In one implementation, before switching the service state of the first subscriber identification module from the first service state to the second service state and switching the service state of the second subscriber identification module from the second service state to the first service state, if the first subscriber identification module is switched from the connection state to the disconnection state and the first subscriber identification module keeps the disconnection state for a preset time, switching the service state of the first subscriber identification module from the first service state to the second service state and switching the service state of the second subscriber identification module from the second service state to the first service state; wherein the connected state is for successfully connecting to the first network and the disconnected state is for not connecting to the first network.
In a second aspect, an embodiment of the present application provides a communication apparatus configured with a first subscriber identity module and a second subscriber identity module, the apparatus including:
the processing unit is used for determining that the first subscriber identification module is not connected with the first network and is in an idle state, wherein the service state of the first subscriber identification module is a first service state, and the first service state is used for bearing data service;
the processing unit is further configured to determine that a first network environment in which the second subscriber identity module is located is configurable for the first network, a service state of the second subscriber identity module is a second service state, and the second service state is used for bearing a non-data service;
the processing unit is further configured to switch the service state of the first subscriber identity module from the first service state to the second service state, and switch the service state of the second subscriber identity module from the second service state to the first service state.
In a third aspect, an embodiment of the present application provides a communication apparatus, including a processor, a memory, and a communication interface, where the processor, the memory, and the communication interface are connected to each other, where the memory is used to store a computer program, and the computer program includes program instructions, and the processor is configured to call the program instructions to perform the data service switching method described in the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium storing one or more instructions, where the one or more instructions are adapted to be loaded by a processor and execute the data service switching method described in the first aspect.
In this embodiment, the terminal device may determine whether the first subscriber identity module is connected to the first network, where the first subscriber identity module is in a first service state, and the first service state is used for carrying a data service. If the first subscriber identity module is not connected to the first network and is in an idle state, it may be determined whether the first network environment in which the second subscriber identity module is located may configure the first network, where the second subscriber identity module is in a second service state, where the second service state is used to carry non-data services. If the first network environment in which the second subscriber identity module is located is configurable with the first network, the first subscriber identity module may be switched from the first service state to the second service state, and the second subscriber identity module may be switched from the second service state to the first service state. By the method, the terminal equipment can intelligently switch the data service according to the network states of the first user identification module and the second user identification module.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a diagram of an NSA network architecture provided in an embodiment of the present application;
fig. 2 is a network architecture diagram of data service handover provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a data service switching method according to an embodiment of the present application;
fig. 4 is a schematic diagram of another data service switching method according to an embodiment of the present application;
fig. 5 is a schematic diagram of a communication device according to an embodiment of the present application;
fig. 6 is a simplified schematic physical structure diagram of a communication device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
In order to better understand the embodiments of the present application, the following terms refer to the embodiments of the present application:
NSA is a network architecture formed by modifying, estimating and adding 5G network equipment to the existing 4G infrastructure, and a user can experience partial functions of the 5G network through the 4G infrastructure, the NSA adopts a Dual-connection (DC) mode to anchor the control plane of a New Radio (NR) to L TE, and still takes the Core network of the 4G as the Core network of NR, namely an Evolved Packet Core (EPC), wherein the Dual-connection means that a terminal device can be connected to L TE and NR at the same time, the control plane is provided by L TE, and the NR only provides extra user plane capability.
Referring to fig. 1, fig. 1 is a diagram of an NSA network architecture provided in an embodiment of the present invention, where the NSA network architecture includes an EPC, L TE, NR, and a terminal device, as shown in fig. 1, a dashed line shown in fig. 1 indicates a connection of a Control plane of L TE, a solid line indicates a connection of a user plane of L TE, and an open line indicates a connection of a user plane of NR.
Compared with the NSA network architecture, the SA network architecture is simpler, a terminal device can be directly connected with the NR for a control plane and a user plane, the NR does not need to be configured through L TE like the NSA network architecture, and the SA network architecture is configured with a core network different from an EPC, so that the requirements of 5G on time delay and transmission reliability can be met.
In the embodiment of the present application, when reference is made to 5G, if not specifically stated, it may refer to 5G of the NSA network architecture and/or the SA network architecture.
A data service card: is a Subscriber Identity Module (SIM) having a voice service function and a data service function. The data service card may be a standard card, a Micro SIM card, or a Nano SIM card, and certainly, the data service card may also be a 2G card, a 3G card, or a 4G card that only has a data service function, and may also be a new subscriber identity module that has a voice service function and a data service function in the future, which is not limited in the embodiment of the present application.
Non-data service card: the data service card can be a 2G card, a 3G card or a 4G card, and can also be a 5G card.
In the embodiment of the application, two subscriber identity modules can be inserted into the dual-card terminal device, and both the two subscriber identity modules have the function of 5G data service. However, the current NSA network architecture only supports 5G data services of one subscriber identity module at most, and another subscriber identity module only has non-data service functions of 4G or less than 4G. It should be noted that, the dual-card terminal device is equipped with a first card slot and a second card slot, and when the subscriber identity module inserted into the first card slot is used as a 5G data service card, the subscriber identity module inserted into the second card slot can be used as a 4G non-data service card at most; and when the subscriber identification module inserted into the second card slot is used as a 5G data service card, the subscriber identification module inserted into the first card slot can be used as a 4G non-data service card at most. The data service card mentioned in the embodiment of the present application refers to a subscriber identity module inserted in a card slot designated as a data service card, and correspondingly, the non-data service card refers to a subscriber identity module inserted in a card slot designated as a non-data service card, and the subscriber identity module itself has a data service function, but there is a possibility that the data service function is limited when the data service card is inserted in a different card slot.
In order to better understand the embodiments of the present application, a network architecture to which the embodiments of the present application are applicable is described below.
Referring to fig. 2, fig. 2 is a network architecture diagram of data service handover according to an embodiment of the present application. As shown in fig. 2, the network architecture includes a first cell, a second cell, a third cell and a terminal device. The first cell may be configured with a 5G network, the first access network device corresponding to the first cell may be an NSA network architecture or an SA network architecture, and the first cell uses the first access network device as an anchor point. The second cell and the third cell use the second access network device as an anchor point, and the terminal device establishes connection with the second cell at this time, specifically, a user identification module serving as a non-data service card in the terminal device establishes connection with the second cell. The third cell is a neighboring cell of the second cell, and the terminal device is also in the coverage of the third cell, but it establishes a connection with the second cell and does not establish a connection with the third cell. Certainly, in practical application, the number of cells equipped in the first access network device and the second access network device may be multiple, and in the embodiment of the present application, the first access network device configures one cell, and the second access network device configures two cells as an example. In addition, the first access network device may be configured by a first operator, and if the terminal device may establish a connection with a first cell of the first access network device, it indicates that the subscriber identity module corresponding to the data service card of the terminal device at this time also belongs to the first operator; similarly, the second access network device may be configured by a second operator, and if the terminal device may establish a connection with a second cell of the second access network device, it indicates that the subscriber identity module corresponding to the non-data service card of the terminal device at this time is also attributed to the second operator.
The access network device in this embodiment is an entity for transmitting or receiving a signal on a network side, and may be configured to convert a received air frame and an Internet Protocol (IP) packet into each other, and serve as a router between a terminal device and the rest of the access network, where the rest of the access network may include an IP network, and the like.
The Terminal Device may also be referred to as a Wireless Terminal, a Subscriber Unit (Subscriber Unit), a Subscriber Station (Subscriber Station), a Mobile Station (Mobile Station), a Remote Station (Remote Station), an Access Point (Access Point), a Remote Terminal (Remote Terminal), an Access Terminal (Access Terminal), a User Terminal (User Terminal), a User Agent (User Agent), a User Device (User Device), or a User Equipment (User Equipment, etc.), which may be referred to as a Mobile Terminal, a Mobile Terminal (Mobile Terminal), a Mobile phone, a Mobile.
In the current technology, a specific subscriber identity module inserted into which card slot is used as a data service card of the NSA is configured by default by the dual-card terminal device or set by a user. When the network environment of the data service card does not have 5G, but the network environment of the non-data service card has 5G, the non-data service card does not have the data service function of 5G, and the terminal device cannot use the 5G network. This is because, when the data service card belongs to the first operator and the non-data service card belongs to the second operator, the data service card is not connected to the first cell configured by the first operator, so that the terminal device cannot use the data service through the 5G network of the first cell, and can only use the non-data service through the 4G network of the non-data service card. The root reasons why it cannot use the 5G network are: if the network environment where the non-data service card is located can use the 5G network, and the terminal device cannot switch the data service to the non-data service card, the non-data service card cannot obtain the data service function of the 5G network, so that the terminal device cannot use the 5G network.
In order to implement switching of a data service according to a network environment of a terminal device, embodiments of the present application provide a data service switching method and a communication device, and details of the data service switching method and the communication device provided in embodiments of the present application are further described below.
Referring to fig. 3, fig. 3 is a schematic diagram of a data service switching method according to an embodiment of the present application, where a network architecture of the embodiment of the present application is shown in fig. 2, an execution subject of the method is a terminal device, and the terminal device is configured with a first subscriber identity module and a second subscriber identity module.
310. And determining that the first subscriber identity module is not connected with the first network and the first subscriber identity module is in an idle state.
The service state of the first subscriber identity module is a first service state, and the first service state is used for bearing data services, namely the first subscriber identity module at this time is used as a data service card. The first network may be a 5G network or other networks for mobile communication, and in the embodiment of the present application, the first network is a 5G network as an example. After the terminal equipment is started, the terminal equipment registers the 5G network on the first cell through the first user identification module according to a normal flow. If the terminal device successfully registers the 5G network, the current network state is maintained, and the data service is not switched. And if the terminal equipment is not registered in the 5G network and is in an idle state, the flow of switching the data service by the terminal can be triggered. The first subscriber identity module does not register to the 5G network through the first cell, which may be that the registration fails because the terminal device is located outside the coverage of the first cell, so that the geographic location of the terminal device at this time does not have the 5G signal of the first operator corresponding to the first subscriber identity module; the terminal device may fail to register for a specific reason although being in the coverage of the first cell, and the embodiment of the present application is not limited.
320. Determining that the first network environment in which the second subscriber identity module is located is a configurable first network.
The service state of the second subscriber identity module is a second service state, and the second service state is used for indicating that the second subscriber identity module bears the non-data service.
When the terminal device determines that the first subscriber identity module is not connected to the 5G network and is in an idle state, the network environment where the second subscriber identity module is located may be detected, and if the network environment where the second subscriber identity module is located may configure the 5G network, the data service may be switched to the second subscriber identity module, so that the second subscriber identity module currently serving as a non-data service card has a 5G data service function, and the terminal device may use the 5G network. In this embodiment of the present application, the terminal device may determine whether the 5G network can be configured in the first network environment where the second subscriber identity module is located by the following method.
In one possible implementation, if the identification information of the cell accessed by the second subscriber identity module exists in the first database of the terminal device, the configurable 5G network of the first network environment where the second subscriber identity module is located is determined, wherein the first database may be an NSA database, and the NSA database may store an NSA cell that the terminal device has accessed.
In a possible implementation manner, the terminal device may detect a received System Information Block two (SIB 2) sent by the cell accessed by the second subscriber identity module; if the SIB2 includes a predetermined field, it is determined that the 5G network is configurable by the first network environment in which the second subscriber identity module is located. The SIB2 is a system information block sent by the access network device to the terminal device, the SIB2 includes a preset field, where the preset field may be a 5G identification field, and if the terminal device detects that the SIB2 includes the 5G identification field, it may determine that the first network environment where the second user identification module is located is a configurable 5G network. For example, as shown in fig. 2, the terminal device may detect whether a preset field is included in the SIB2 sent by the second cell to which the second subscriber identity module is connected at this time, and if so, determine that the first network environment in which the second subscriber identity module is located is a configurable 5G network.
In a possible implementation manner, the terminal device may first detect that the NSA database does not have the identification information of the cell accessed by the second subscriber identity module, and then detect whether the received SIB2 sent by the cell accessed by the second subscriber identity module includes a preset field, and if so, may determine that the first network environment where the second subscriber identity module is located is a configurable 5G network.
In one possible implementation, if identification information of a neighboring cell of a cell accessed by the second subscriber identity module exists in a first database, namely an NSA database, of the terminal device, and the second subscriber identity module satisfies a handover threshold for a cell accessed by the second subscriber identity module to be handed over to the neighboring cell, a first network environment configurable 5G network where the second subscriber identity module is located is determined, wherein the cell accessed by the second subscriber identity module is a cell that supports L TE highest.
For example, as shown in fig. 2, the terminal device currently establishes a 4G non-data service connection with the second cell through the second subscriber identity module, and the second subscriber identity module is currently located in the coverage area of the third cell, which is the neighboring cell of the second cell, if the terminal device detects the identification information of the third cell in the NSA database, it may be determined that the third cell supports the NSA network architecture, and a 5G network may be configured.
In a possible implementation manner, if the terminal device detects that there is an SA cell as a neighboring cell of the currently accessed cell, the terminal device may also switch to the SA cell. For example, a third cell as shown in fig. 2 may configure an SA network, and when the terminal device detects that the third cell may configure the SA network, it may determine that the first network environment where the second subscriber identity module is located is a configurable 5G network.
330. And switching the service state of the first subscriber identification module from the first service state to the second service state, and switching the service state of the second subscriber identification module from the second service state to the first service state.
Specifically, after determining that the first network environment where the second subscriber identity module is located is the configurable 5G network, the terminal device may start the first timer, switch the service state of the first subscriber identity module from the first service state to the second service state, and switch the service state of the second subscriber identity module from the second service state to the first service state. At this time, the second subscriber identity module has a data service function, and can initiate network registration of 4G and 5G through a normal flow, so that the terminal device can use a 5G network.
By the embodiment of the application, the terminal device can detect whether the first network environment of the second subscriber identity module as a non-data service card can configure the 5G network or not when determining that the first subscriber identity module as a data service card is not connected with the NSA network and is in an idle state. If yes, the service state of the first subscriber identification module can be switched from the data service state to the non-data service state, and correspondingly, the service state of the second subscriber identification module is switched from the non-data service state to the data service state. By the method, the terminal equipment can intelligently switch the data service according to the network environment where the terminal equipment is located, so that the terminal equipment can maintain the state of 5G network connection.
Referring to fig. 4, fig. 4 is a schematic diagram of another data service switching method according to an embodiment of the present application.
410. And determining that the first subscriber identity module is switched from the connection state to the disconnection state.
After the terminal equipment is started, the terminal equipment detects that the first subscriber identification module fails to register the 5G, so that whether a first network environment where the second subscriber identification module is located can configure a 5G network or not is judged; or the first subscriber identity module is detected to be switched from the connection state to the disconnection state, so as to judge whether the first network environment where the second subscriber identity module is located can configure the 5G network. Wherein the connected state is used for successfully connecting the 5G network and the disconnected state is used for not connecting the 5G network. For example, as shown in fig. 2, the terminal device may first establish a connection with the first cell through the first subscriber identity module, that is, enter a connected state, but for a specific reason, the first subscriber identity module is disconnected from the first cell, that is, enters a disconnected state, and then it may be determined that the first network environment where the second subscriber identity module is located is the configurable 5G network.
420. Determining that the first network environment in which the second subscriber identity module is located is a configurable first network.
430. And switching the service state of the first subscriber identification module from the first service state to the second service state, and switching the service state of the second subscriber identification module from the second service state to the first service state.
Before the switching, the terminal device may determine whether the time for maintaining the disconnected state reaches a preset time length after the first subscriber identification module is switched from the connected state to the disconnected state, and whether the terminal device is currently in the idle state, if so, switch the service state of the first subscriber identification module from the first service state to the second service state, and switch the service state of the second subscriber identification module from the second service state to the first service state. The preset duration may be set by the terminal device by default or set by the user.
440. And determining that the second subscriber identity module is not connected with the first network and the second subscriber identity module is in an idle state.
Before the terminal device determines that the second subscriber identity module is not connected to the first network, i.e., the 5G network, and the second subscriber identity module is in the idle state, the terminal device further needs to determine that a preset time period has elapsed since the current time distance is switched from the first service state to the second service state of the first subscriber identity module, and the time when the service state of the second subscriber identity module is switched from the second service state to the first service state. The preset time period may be a second timer started after the data service is switched, and during the operation period of the second timer, the terminal device does not perform the step of intelligently switching the data service. And after the second timer runs, judging whether the second subscriber identification module is connected with the 5G network or not, and whether the second subscriber identification module is in an idle state or not, if so, judging that the first network environment where the first subscriber identification module is located can configure the 5G network.
450. A first network environment configurable first network in which the first subscriber identity module is located is determined.
460. And switching the service state of the first subscriber identification module from the second service state to the first service state, and switching the service state of the second subscriber identification module from the first service state to the second service state.
In one possible implementation, the terminal device may determine that the second subscriber identity module is not connected to the 5G network during the running of the second timer, and the second subscriber identity module is in an idle state. And then determining that the first network environment where the first subscriber identification module is located can configure the 5G network, but at the moment, because the second timer is still in the running period, the steps of switching the service state of the first subscriber identification module from the second service state to the first service state and switching the service state of the second subscriber identification module from the first service state to the second service state are not carried out. And the switching is carried out after the second timer is operated, so that the terminal equipment can carry out intelligent switching of data services in time, and the terminal equipment is ensured to maintain the 5G network.
By the embodiment of the application, the terminal equipment can perform the step of switching the data service when the first subscriber identification module fails to register the 5G network or when the first subscriber identification module successfully registers the 5G network and the disconnection reaches the preset duration. And the time interval between every two adjacent data service switching needs to reach the preset time period, so that the terminal equipment can be prevented from frequently switching the data service.
Referring to fig. 5, fig. 5 is a schematic diagram of a communication device according to an embodiment of the present disclosure. The communication apparatus shown in fig. 5 may be used to perform part or all of the functions of the terminal device in the method embodiments described in fig. 3 and fig. 4. The device may be a terminal device, or a device in the terminal device, or a device capable of being used in cooperation with the terminal device. The logical structure of the apparatus may include: communication unit 510, processing unit 520. Wherein:
a processing unit 520, configured to determine that the first subscriber identity module is not connected to the first network, and the first subscriber identity module is in an idle state, where a service state of the first subscriber identity module is a first service state, and the first service state is used for carrying a data service;
the processing unit 520 is further configured to determine that the first network environment where the second subscriber identity module is located is configurable for the first network, and the service state of the second subscriber identity module is a second service state, where the second service state is used for bearing a non-data service;
the processing unit 520 is further configured to switch the service state of the first subscriber identity module from the first service state to the second service state, and switch the service state of the second subscriber identity module from the second service state to the first service state.
In a possible implementation manner, the processing unit 520 is further configured to determine that the first network environment in which the second subscriber identity module is located is configurable in the first network, if the identification information of the cell accessed by the second subscriber identity module exists in the first database of the terminal device.
In a possible implementation, the communication unit 510 is configured to receive a system information block SIB2 sent from a cell accessed by the second subscriber identity module; the processing unit 520 is further configured to detect a received system information block SIB2 sent by a cell accessed by the second subscriber identity module; if the SIB2 includes a predetermined field, it is determined that the first network environment in which the second subscriber identity module is located is configurable for the first network.
In a possible implementation manner, the processing unit 520 is further configured to determine that the first network environment where the second subscriber identity module is located is configurable in the first network, if the first database of the terminal device has identification information of a neighboring cell of a cell where the second subscriber identity module is accessed, and the second subscriber identity module meets a handover threshold for a cell where the second subscriber identity module is accessed to be handed over to the neighboring cell.
In a possible implementation manner, the processing unit 520 is further configured to determine that the second subscriber identity module is not connected to the first network and is in an idle state after the service state of the first subscriber identity module is switched from the first service state to the second service state and the service state of the second subscriber identity module is switched from the second service state to the first service state; determining that a second network environment in which the first subscriber identity module is located is a configurable first network; and switching the service state of the first subscriber identification module from the second service state to the first service state, and switching the service state of the second subscriber identification module from the first service state to the second service state.
In a possible implementation manner, the processing unit 520 is further configured to determine that the second subscriber identity module is not connected to the first network and is in an idle state, and if a preset time period elapses since the service state of the first subscriber identity module is switched from the first service state to the second service state, trigger to determine that the second subscriber identity module is not connected to the first network and is in the idle state; and if a preset time period elapses since the service state of the second subscriber identification module is switched from the second service state to the first service state, triggering and determining that the second subscriber identification module is not connected to the first network and is in an idle state.
In a possible implementation manner, the processing unit 520 is further configured to switch the service state of the first subscriber identification module from the first service state to the second service state, and before switching the service state of the second subscriber identification module from the second service state to the first service state, if the first subscriber identification module is switched from the connection state to the disconnection state and the first subscriber identification module keeps the disconnection state for a preset duration, switch the service state of the first subscriber identification module from the first service state to the second service state, and switch the service state of the second subscriber identification module from the second service state to the first service state; wherein the connected state is for successfully connecting to the first network and the disconnected state is for not connecting to the first network.
Referring to fig. 6, fig. 6 is a simplified schematic diagram of an entity structure of a communication device according to an embodiment of the present disclosure, where the device includes a processor 610, a memory 620, and a communication interface 630, and the processor 610, the memory 620, and the communication interface 630 are connected through one or more communication buses.
The processor 610 is configured to support the reward mechanism altering device to perform the corresponding functions of the method of fig. 3. The processor 610 may be a Central Processing Unit (CPU), a Network Processor (NP), a hardware chip, or any combination thereof.
The memory 620 is used to store program codes and the like. Memory 620 may include volatile memory (volatile), such as Random Access Memory (RAM); the memory 620 may also include a non-volatile memory (non-volatile memory), such as a read-only memory (ROM), a flash memory (flash memory), a Hard Disk Drive (HDD) or a solid-state drive (SSD); the memory 620 may also comprise a combination of the above types of memory.
In the embodiment of the present application, when the communication apparatus is applied to an access network device, the processor 610 may call the program code stored in the memory 620 to perform the following operations:
in a possible implementation manner, the processor 610 invokes a program code stored in the memory 620 to determine that the first subscriber identity module is not connected to the first network, and the first subscriber identity module is in an idle state, where a service state of the first subscriber identity module is a first service state, and the first service state is used for carrying a data service; determining that a first network environment where a second subscriber identity module is located can configure a first network, wherein the service state of the second subscriber identity module is a second service state, and the second service state is used for bearing non-data services; and switching the service state of the first subscriber identification module from the first service state to the second service state, and switching the service state of the second subscriber identification module from the second service state to the first service state.
In one possible implementation manner, the processor 610 invokes the program code stored in the memory 620 to determine that the first network environment in which the second subscriber identity module is located is configurable in the first network if the identification information of the cell accessed by the second subscriber identity module exists in the first database of the terminal device.
In one possible implementation, the control communication interface 630 receives a system information block SIB2 transmitted from a cell accessed by the second subscriber identity module; the processor 610 invokes the program code stored in the memory 620 to detect the received system information block SIB2 transmitted by the cell accessed by the second subscriber identity module; if the SIB2 includes a predetermined field, it is determined that the first network environment in which the second subscriber identity module is located is configurable for the first network.
In one possible implementation manner, if the program code stored in the memory 620 is called by the processor 610, and if there is identification information of a neighboring cell of a cell accessed by the second subscriber identity module in the first database of the terminal device, and the second subscriber identity module meets a handover threshold for a cell accessed by the second subscriber identity module to be handed over to the neighboring cell, it is determined that the first network environment where the second subscriber identity module is located is configurable in the first network.
In a possible implementation manner, after the processor 610 calls the program code stored in the memory 620 to switch the service state of the first subscriber identification module from the first service state to the second service state and switch the service state of the second subscriber identification module from the second service state to the first service state, it is determined that the second subscriber identification module is not connected to the first network and is in an idle state; determining that a second network environment in which the first subscriber identity module is located is a configurable first network; and switching the service state of the first subscriber identification module from the second service state to the first service state, and switching the service state of the second subscriber identification module from the first service state to the second service state.
In a possible implementation manner, the processor 610 invokes a program code stored in the memory 620 to determine that the second subscriber identification module is not connected to the first network and is in an idle state, and if a preset time period elapses since the service state of the first subscriber identification module is switched from the first service state to the second service state, it is triggered to determine that the second subscriber identification module is not connected to the first network and is in the idle state; and if a preset time period elapses since the service state of the second subscriber identification module is switched from the second service state to the first service state, triggering and determining that the second subscriber identification module is not connected to the first network and is in an idle state.
In a possible implementation manner, the processor 610 calls a program code stored in the memory 620 to switch the service state of the first subscriber identification module from the first service state to the second service state, and before switching the service state of the second subscriber identification module from the second service state to the first service state, if the first subscriber identification module is switched from the connection state to the disconnection state and the first subscriber identification module keeps the disconnection state for a preset duration, the service state of the first subscriber identification module is switched from the first service state to the second service state, and the service state of the second subscriber identification module is switched from the second service state to the first service state; wherein the connected state is for successfully connecting to the first network and the disconnected state is for not connecting to the first network.
It should be noted that, in the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to relevant descriptions of other embodiments for parts that are not described in detail in a certain embodiment.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The units in the processing equipment of the embodiment of the invention can be merged, divided and deleted according to actual needs.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, memory Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
Claims (10)
1. A data service switching method is applied to a terminal device, wherein the terminal device is configured with a first subscriber identity module and a second subscriber identity module, and the method comprises the following steps:
determining that the first subscriber identity module is not connected with a first network, and the first subscriber identity module is in an idle state, wherein the service state of the first subscriber identity module is a first service state, and the first service state is used for bearing data services;
determining that a first network environment where the second subscriber identity module is located can configure the first network, wherein a service state of the second subscriber identity module is a second service state, and the second service state is used for bearing non-data services;
and switching the service state of the first subscriber identification module from the first service state to the second service state, and switching the service state of the second subscriber identification module from the second service state to the first service state.
2. The method of claim 1, wherein determining that the first network environment in which the second subscriber identity module is located is configurable for the first network comprises:
and if the identification information of the cell accessed by the second subscriber identity module exists in the first database of the terminal equipment, determining that the first network environment in which the second subscriber identity module is located can configure the first network.
3. The method of claim 1, wherein determining that the first network environment in which the second subscriber identity module is located is configurable for the first network comprises:
detecting a received system information block two SIB2 sent by a cell accessed by the second subscriber identity module;
determining that the first network is configurable by the first network environment in which the second subscriber identity module is located if the SIB2 includes a preset field.
4. The method of claim 1, wherein determining that the first network environment in which the second subscriber identity module is located is configurable for the first network comprises:
and if the identification information of the adjacent cell of the cell accessed by the second subscriber identification module exists in the first database of the terminal equipment, and the second subscriber identification module meets the switching threshold of switching from the cell accessed by the second subscriber identification module to the adjacent cell, determining that the first network environment where the second subscriber identification module is located can configure the first network.
5. The method of claim 1, wherein after switching the service state of the first subscriber identity module from the first service state to the second service state and switching the service state of the second subscriber identity module from the second service state to the first service state, the method further comprises:
determining that the second subscriber identity module is not connected to the first network and the second subscriber identity module is in an idle state;
determining that a second network environment in which the first subscriber identity module is located may configure the first network;
and switching the service state of the first subscriber identification module from the second service state to the first service state, and switching the service state of the second subscriber identification module from the first service state to the second service state.
6. The method of claim 5, wherein before determining that the second subscriber identity module is not connected to the first network and the second subscriber identity module is in an idle state, the method further comprises:
if a preset time period elapses after the service state of the first subscriber identity module is switched from the first service state to the second service state, triggering and determining that the second subscriber identity module is not connected to the first network and is in an idle state;
and triggering and determining that the second subscriber identification module is not connected with the first network and is in an idle state if the preset time period passes after the service state of the second subscriber identification module is switched from the second service state to the first service state.
7. The method of claim 1, wherein before switching the traffic state of the first subscriber identity module from the first traffic state to the second traffic state and switching the traffic state of the second subscriber identity module from the second traffic state to the first traffic state, the method further comprises:
if the first subscriber identification module is switched from a connection state to a disconnection state and the first subscriber identification module keeps the disconnection state for a preset time, switching the service state of the first subscriber identification module from the first service state to the second service state and switching the service state of the second subscriber identification module from the second service state to the first service state;
wherein the connected state is for successfully connecting the first network and the disconnected state is for not connecting the first network.
8. A communication apparatus configured with a first subscriber identity module and a second subscriber identity module, the apparatus comprising:
a processing unit, configured to determine that the first subscriber identity module is not connected to a first network, and the first subscriber identity module is in an idle state, where a service state of the first subscriber identity module is a first service state, and the first service state is used for carrying a data service;
the processing unit is further configured to determine that the network environment where the second subscriber identity module is located can configure the first network, and a service state of the second subscriber identity module is a second service state, where the second service state is used to carry a non-data service;
the processing unit is further configured to switch the service state of the first subscriber identity module from the first service state to the second service state, and switch the service state of the second subscriber identity module from the second service state to the first service state.
9. A communication apparatus comprising a processor, a memory and a communication interface, the processor, the memory and the communication interface being interconnected, wherein the memory is configured to store a computer program comprising program instructions, and the processor is configured to invoke the program instructions to perform the data traffic switching method according to any one of claims 1 to 7.
10. A computer-readable storage medium having stored thereon one or more instructions adapted to be loaded by a processor and to perform a data traffic switching method according to any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010288366.9A CN111479302B (en) | 2020-04-13 | 2020-04-13 | Data service switching method and communication device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010288366.9A CN111479302B (en) | 2020-04-13 | 2020-04-13 | Data service switching method and communication device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111479302A true CN111479302A (en) | 2020-07-31 |
CN111479302B CN111479302B (en) | 2022-04-29 |
Family
ID=71752315
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010288366.9A Active CN111479302B (en) | 2020-04-13 | 2020-04-13 | Data service switching method and communication device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111479302B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112004260A (en) * | 2020-08-24 | 2020-11-27 | RealMe重庆移动通信有限公司 | Communication control method, communication control device, storage medium and electronic equipment |
CN115915101A (en) * | 2021-09-30 | 2023-04-04 | 海能达通信股份有限公司 | Communication control method and device and communication equipment |
WO2023196710A1 (en) * | 2022-04-06 | 2023-10-12 | Qualcomm Incorporated | Non-standalone coverage status determination |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120058766A1 (en) * | 2008-04-28 | 2012-03-08 | Huawei Technologies Co., Ltd. | Method, system and device for maintaining user service continuity |
CN104902528A (en) * | 2015-04-28 | 2015-09-09 | 宇龙计算机通信科技(深圳)有限公司 | Dual-card terminal, method and device for automatically switching data services of dual-card terminal |
CN105792319A (en) * | 2014-12-24 | 2016-07-20 | 中国移动通信集团公司 | Access mode switching method of multimode double-card terminal and related device |
CN106231587A (en) * | 2016-09-26 | 2016-12-14 | 努比亚技术有限公司 | The data service changing method of mobile terminal and switching device |
CN108632804A (en) * | 2017-03-20 | 2018-10-09 | 中国移动通信有限公司研究院 | A kind of the service concurrence processing method and terminal of double-terminal |
-
2020
- 2020-04-13 CN CN202010288366.9A patent/CN111479302B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120058766A1 (en) * | 2008-04-28 | 2012-03-08 | Huawei Technologies Co., Ltd. | Method, system and device for maintaining user service continuity |
CN105792319A (en) * | 2014-12-24 | 2016-07-20 | 中国移动通信集团公司 | Access mode switching method of multimode double-card terminal and related device |
CN104902528A (en) * | 2015-04-28 | 2015-09-09 | 宇龙计算机通信科技(深圳)有限公司 | Dual-card terminal, method and device for automatically switching data services of dual-card terminal |
CN106231587A (en) * | 2016-09-26 | 2016-12-14 | 努比亚技术有限公司 | The data service changing method of mobile terminal and switching device |
CN108632804A (en) * | 2017-03-20 | 2018-10-09 | 中国移动通信有限公司研究院 | A kind of the service concurrence processing method and terminal of double-terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112004260A (en) * | 2020-08-24 | 2020-11-27 | RealMe重庆移动通信有限公司 | Communication control method, communication control device, storage medium and electronic equipment |
CN112004260B (en) * | 2020-08-24 | 2022-11-04 | RealMe重庆移动通信有限公司 | Communication control method, communication control device, storage medium and electronic equipment |
CN115915101A (en) * | 2021-09-30 | 2023-04-04 | 海能达通信股份有限公司 | Communication control method and device and communication equipment |
WO2023196710A1 (en) * | 2022-04-06 | 2023-10-12 | Qualcomm Incorporated | Non-standalone coverage status determination |
Also Published As
Publication number | Publication date |
---|---|
CN111479302B (en) | 2022-04-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110868746B (en) | Network switching method and device, electronic equipment and storage medium | |
US20150163827A1 (en) | Apparatus and Method for Paging for Mutli-Standby Devices | |
US9232440B2 (en) | Method and apparatus for controlling system overload in a wireless communication system | |
CN111479302A (en) | Data service switching method and communication device | |
EP2635070A1 (en) | Method and Apparatus for Communicating Neighbor Cells | |
CN104221423A (en) | Network-controlled adaptive terminal behavior managing high-network-load scenarios | |
US20220279410A1 (en) | Connection configuration method and apparatus, communication device and storage medium | |
US11425764B2 (en) | Communication method and communications apparatus for reporting establishment causes | |
EP1890516A1 (en) | Apparatus and Method for Providing Service Status Information Based on Access Class Restriction List in Mobile Communication System | |
CN111586807A (en) | Network access method and communication device | |
US11051268B2 (en) | Service activation and deactivation method, device and computer storage medium | |
US20210329519A1 (en) | Cell Connection Processing Method and Mobile Terminal | |
US20240188041A1 (en) | Paging cause processing method and apparatus, communication device, and storage medium | |
US20130115936A1 (en) | Method for State Transition and Network Device | |
US8503333B2 (en) | Reestablishment of an interface between nodes in a network using a backoff time | |
US12108492B2 (en) | Systems and methods for radio unit backup connections | |
CN115088290A (en) | Inter-radio access technology cell measurement | |
CN115835323A (en) | Voice service switching method, device, base station and storage medium | |
CN112004258B (en) | Data acquisition method and communication device | |
KR20120003552A (en) | Apparatus and method for monitoring mobile terminal, mobile terminal, network apparatus in mobile network, server for monitoring breakdown of mobile terminal | |
KR101567410B1 (en) | call processing server | |
CN103582035B (en) | A kind of management method and system of radio-resource-configuration | |
CN112867140A (en) | Communication method and device of Internet of things equipment | |
CN112788786A (en) | Network connection control method, terminal and storage medium | |
CN116614786B (en) | Switching method and device of voice call network, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |