Communication method, communication device, communication equipment, storage medium and chip
By using the data service channel of the second communication card in the dual-stop user mobile phone to realize communication between the first communication card and the core network without service, the weak signal or service-free problem caused by the dual-stop user mobile phone is solved. , improves the communication experience.
Patent Information
- Application Number
- CN202410964793.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-11-01
AI Technical Summary
In dual-slot user mobile phones, due to incomplete coverage of the operator's network, there are weak signals or no service areas in some locations. Existing solutions such as the increase in base stations have wasted resources and poor user communication experience.
When the first communication card of the terminal device is in a serviceless state, the information is acquired and encapsulated through the data service channel of the second communication card, and sent it to the gateway of the first communication card, so that it communicates with the core network, so that it does not need to be added Normal communication under the situation of the base station.
Reduce resource waste, improve user communication experience, and ensure normal communication without service.
Smart Images

Figure CN118890686A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a communication method, a communication device, a communication equipment, a storage medium, and a chip. Background Art
[0002] At present, with the development of mobile communication technology and the increase in the deployment of the fifth generation mobile communication technology (5G), users are using their mobile phones for longer and longer periods of time, and about 50% of users in China use dual SIM cards. For dual-SIM users' mobile phones, due to the operator's network coverage, there will always be some locations where the operator's network has no service or weak signal, resulting in the corresponding user identification card being unable to make calls.
[0003] In the case of no coverage or weak coverage of the operator network, the current main solution is to increase base stations to improve the problem of incomplete network coverage. However, even if a large number of base stations are used, there are still a large number of weak coverage and no service areas, such as elevators, remote rural areas, mountainous areas, etc., which can easily lead to waste of resources; at the same time, there is also the problem of poor communication experience for users. Summary of the invention
[0004] Embodiments of the present application provide a communication method, an apparatus, a communication device, a storage medium, and a chip.
[0005] The technical solution of this application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides a communication method, the method comprising:
[0007] When the first communication card of the terminal device is in an out-of-service state, acquiring first information of the first communication card and second information of the second communication card;
[0008] Encapsulating the first information of the first communication card based on the second information of the second communication card to obtain first data;
[0009] The first information is sent to the gateway of the first communication card through the data service channel of the second communication card and the first data, so that the gateway of the first communication card sends the first data to the core network corresponding to the first communication card.
[0010] In a second aspect, an embodiment of the present application provides a communication device, including:
[0011] An acquiring unit, configured to acquire, when the first communication card of the terminal device is in an out-of-service state, first information of the first communication card and second information of the second communication card;
[0012] an encapsulation unit, configured to encapsulate the first information of the first communication card based on the second information of the second communication card to obtain first data;
[0013] The sending unit is configured to send the first information to the gateway of the first communication card through the data service channel of the second communication card and the first data, so that the gateway of the first communication card sends the first data to the core network corresponding to the first communication card.
[0014] In a third aspect, an embodiment of the present application provides a communication device, comprising: a processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory, and executing the method described in the first aspect.
[0015] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the method described in the first aspect.
[0016] In a sixth aspect, the present application provides a chip comprising an input interface, an output interface, a processor and a memory, wherein the processor is used to execute the code in the memory. When the code is executed, the processor can implement the communication method described in the first aspect above.
[0017] An embodiment of the present application provides a communication method, wherein, when a first communication card of a terminal device is in an out-of-service state, first information of the first communication card and second information of the second communication card are obtained; the first information of the first communication card is encapsulated based on the second information of the second communication card to obtain first data; the first information is sent to a gateway of the first communication card through a data service channel of the second communication card and the first data, so that the gateway of the first communication card sends the first data to a core network corresponding to the first communication card, and the first communication card of the terminal device can communicate with the core network corresponding to the first communication card through the data service channel of the second communication card. In this way, when the first communication card is out of service, normal communication of the first communication card is achieved, which can reduce resource waste; at the same time, the user's communication experience is improved to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 A communication method flow diagram provided in an embodiment of the present application Figure 1 ;
[0019] Figure 2 A network architecture diagram provided for an embodiment of the present application Figure 1 ;
[0020] Figure 3 A network architecture diagram provided for an embodiment of the present application Figure 2 ;
[0021] Figure 4 A communication method flow diagram provided in an embodiment of the present application Figure 2 ;
[0022] Figure 5 A schematic diagram of the structure of a communication device provided in an embodiment of the present application;
[0023] Figure 6 A schematic diagram of the hardware structure of a communication device provided in an embodiment of the present application;
[0024] Figure 7 A schematic structural diagram of a chip provided in an embodiment of the present application. DETAILED DESCRIPTION
[0025] The following will describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices. The term "and / or" herein is only a kind of association relationship describing the associated objects, indicating that three relationships can exist, for example, A and / or B can be represented: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " herein generally indicates that the associated objects before and after are a kind of "or" relationship. It should also be understood that the "indication" mentioned in the embodiments of the present application can be a direct indication, an indirect indication, or an indication of having an association relationship. For example, A indicates B, which may mean that A directly indicates B, for example, B can be obtained through A; it may also mean that A indirectly indicates B, for example, A indicates C, and B can be obtained through C; it may also mean that there is an association relationship between A and B. It should also be understood that the "correspondence" mentioned in the embodiments of the present application may mean that there is a direct or indirect correspondence relationship between the two, or that there is an association relationship between the two, or a relationship between indicating and being indicated, configuring and being configured, etc.
[0027] The technology described in the embodiments of the present application can be applied to Long Term Evolution (LTE) systems, New Radio (NR) systems, and can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency Division Multiple Access (SC-FDMA) and other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the described technology can be used for the above-mentioned systems and radio technologies as well as for other systems and radio technologies. The technology described in the embodiments of the present application can also be applied to applications other than the above-mentioned system applications, such as the 6th Generation (6G) communication system.
[0028] In actual applications, in order to solve the problem that the corresponding SIM card cannot make calls due to no service or weak signal in the operator's network, base stations can be added to improve the problem of incomplete network coverage, or it can be solved through roaming solutions of different operators.
[0029] However, roaming among different operators requires resource coordination among different operators, and there is competition among different operators. This solution is basically impossible to promote in most countries, and it also requires special adjustments and adaptations to base stations, core networks and terminals, which is also relatively costly. Therefore, there is still the problem that when the operator's network has no service or weak signal, the communication card cannot perform call services.
[0030] Based on this, an embodiment of the present application provides a communication method, wherein, when the first communication card of a terminal device is in an out-of-service state, first information of the first communication card and second information of the second communication card are obtained; the first information of the first communication card is encapsulated based on the second information of the second communication card to obtain first data; the first information is sent to the gateway of the first communication card through the data service channel of the second communication card and the first data, so that the gateway of the first communication card sends the first data to the core network corresponding to the first communication card, and the first communication card of the terminal device can communicate with the core network corresponding to the first communication card through the data service channel of the second communication card. In this way, when the first communication card is out of service, normal communication can be achieved without adding base stations, which can reduce resource waste; at the same time, the user's communication experience is improved to a certain extent.
[0031] To facilitate understanding of the technical solutions of the embodiments of the present application, the technical solutions of the present application are described in detail below through specific embodiments. The above related technologies can be combined arbitrarily with the technical solutions of the embodiments of the present application as optional solutions, and they all belong to the protection scope of the embodiments of the present application. The embodiments of the present application include at least part of the following contents.
[0032] An embodiment of the present application provides a communication method, which can be applied to a terminal device.
[0033] It should be noted that the terminal device in the embodiments of the present application may be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc., and the embodiments of the present application do not make specific limitations.
[0034] It should also be noted that the terminal device in the embodiment of the present application can support at least two identity identification communication cards, wherein the terminal device can support two communication cards, and the terminal device can also support three or more communication cards, which is not specifically limited in the embodiment of the present application.
[0035] Optionally, the first communication card and the second communication card may be two different communication cards among a plurality of communication cards, and are not used to limit specific communication cards. In addition, the number of the first communication card and the second communication card may include multiple ones, which is not limited in the embodiment of the present application.
[0036] Figure 1 A communication method flow diagram provided in an embodiment of the present application Figure 1 ,refer to Figure 1 The communication method provided in the embodiment of the present application comprises the following steps:
[0037] S110. When a first communication card of a terminal device is in an out-of-service state, obtain first information of the first communication card and second information of the second communication card.
[0038] S120: Encapsulate the first information of the first communication card based on the second information of the second communication card to obtain first data.
[0039] S130. Send the first information to the gateway of the first communication card through the data service channel of the second communication card and the first data, so that the gateway of the first communication card sends the first data to the core network corresponding to the first communication card.
[0040] In the embodiment of the present application, the first communication card or the second communication card can be a subscriber identity module (SIM) card, a universal subscriber identity module (USIM) card, or a virtual card, and the embodiment of the present application does not impose specific restrictions on this. In the following embodiment, the first communication card is a first SIM card and the second communication card is a second SIM card.
[0041] It should be noted that the first SIM card of the terminal device is in an out of service state, which means that the first SIM card has no signal or the first SIM card has a signal, but the signal strength of the first SIM card cannot support the current service, that is, the base station of the first SIM card cannot provide service for the terminal device.
[0042] In an embodiment of the present application, the first SIM card can access the gateway of the first SIM card through the data service channel of the second SIM card, so that the gateway of the first SIM card sends the first information of the first SIM card to the core network corresponding to the first SIM card. In some embodiments, the core network corresponding to the first SIM card can be an Internet Protocol Multimedia Subsystem (IMS) core network.
[0043] In the embodiment of the present application, when the first SIM card of the terminal device is in an out-of-service state, the first information of the first SIM card and the second information of the second SIM card are obtained, and the first information of the first SIM card is encapsulated based on the second information of the second SIM card to obtain the first data. By encapsulating the first information of the first SIM card with the second information of the second SIM card, the data service channel of the second SIM card can be used to transmit the first information, and the first information is sent to the gateway of the first SIM card, so that the gateway of the first SIM card sends the first information to the core network corresponding to the first SIM card.
[0044] It should be noted that the first information is related information that the first SIM card is used for communication, which may be identification information of the first SIM card, etc.; the second information is related information that the second SIM card is used for communication, which may be identification information of the second SIM card, etc. The data service channel of the second SIM card may also be referred to as a data channel, or a network data channel. The above three descriptions are equivalent and may also be interchangeable. The gateway of the first SIM card may also be referred to as a non-trusted access gateway, and the non-trusted access gateway may include a non-3GPP network interworking network element (Non 3GPP InterWorking Function, N3IWF), which is not limited in the embodiments of the present application.
[0045] It should also be noted that IMS was established by the Third Generation Partnership Project (3 rd The 3rd Generation Partnership Project (3GPP) proposed an IP-based network architecture that builds an open and flexible business environment, supports multimedia applications, and can provide users with different IP multimedia information transmission such as text, voice, video, and pictures.
[0046] It should be understood that IMS supports 3GPP services. In order to ensure that 3GPP services are not stolen by other non-3GPP networks, terminal devices need to access the IMS core network through an untrusted access gateway to achieve authentication of the IMS core network.
[0047] In the embodiment of the present application, the first SIM card of the terminal device can access the untrusted access gateway of the first SIM card through the data service channel of the second SIM card, thereby ensuring the data security of the IMS core network corresponding to the first SIM card.
[0048] In a possible implementation, when the first SIM card of the terminal device is in an out-of-service state, the first information of the first SIM card and the second information of the second SIM card are obtained, and the first information of the first SIM card is encapsulated based on the second information of the second SIM card to obtain the first data, so that the first data can be identified by the second information and the first information can be transmitted as the content. Since the first data is identified by the second information, the first data can be transmitted through the data service channel of the second SIM card, and the first information is sent to the network. After the base station of the second SIM card receives the first data through the data service channel, the base station of the second SIM card parses the first data to obtain the first information and the second information, and sends the first information to the gateway of the first SIM card, so that the gateway of the first SIM card sends the first information to the core network corresponding to the first SIM card.
[0049] It should be noted that, in some embodiments, the first SIM card of the terminal device can access the untrusted access gateway of the first SIM card by means of the data service channel of the second SIM card, and realize communication with the IMS core network corresponding to the first SIM card through the untrusted access gateway of the first SIM card. In other embodiments, the first SIM card of the terminal device can access the untrusted access gateway of the second SIM card by means of the data service channel of the second SIM card, and then the untrusted access gateway of the second SIM card establishes a connection with the untrusted access gateway of the first SIM card, and realizes communication with the IMS core network corresponding to the first SIM card through the untrusted access gateway of the first SIM card.
[0050] It can be understood that the second SIM card can be a SIM card with 5G coverage at the current location, that is, the second SIM card is currently in a service state, that is, the second SIM card can communicate, such as voice calls or text message sending. Although the first SIM card is in a no-service state, the first SIM card can use the data service channel of the second SIM card to achieve communication with the IMS core network corresponding to the first SIM card. For example, the first SIM card actively communicates with the core network corresponding to the first SIM card and passively receives the core network data corresponding to the first SIM card through the data service channel of the second SIM card to reach the first SIM card. In this way, the problem that the first SIM card cannot communicate in a no-service state is solved; at the same time, because the first SIM card is in a no-service state, although the first SIM card communicates with the IMS core network corresponding to the first SIM card through the data service channel of the second SIM card, the displayed identification information is still the identity of the first SIM card, so that the user can communicate through the second SIM card without feeling, which improves the user's communication experience.
[0051] It should be noted that the first SIM card actively communicates with the core network corresponding to the first SIM card, which may be the calling service of the first SIM card, and the first SIM card passively receives the core network data corresponding to the first SIM card, which may be the called service of the first SIM card. The embodiments of the present application do not impose specific restrictions on this.
[0052] In one example, reference Figure 2 The network architecture shown Figure 1, the first SIM card of the terminal device is recorded as SIM card 1, and the second SIM card is recorded as SIM card 2. In practical applications, SIM card 1 can access the IMS core network of SIM card 1 through the 5G core network of card 1. In an embodiment of the present application, when SIM card 1 is in a scenario with poor communication experience such as no service or weak signal, the first information of SIM card 1 and the second information of SIM card 2 are obtained, and the first information of SIM card 1 is encapsulated based on the second information of SIM card 2 to obtain the first data. SIM card 1 sends the first information to the N3IWF of SIM card 1 through the data service channel of SIM card 2 and the first data, so that the N3IWF of SIM card 1 sends the first data to the IMS core network of SIM card 1. In this way, even if SIM card 1 is in an out-of-service state, the subsequent IMS core network data corresponding to SIM card 1 passively received by SIM card 1 can reach SIM card 1 through the data channel of SIM card 2. SIM card 1 can also send communication data normally through the data service channel of SIM card 2 when it actively communicates with the IMS core network corresponding to SIM card 1. In this way, the problem that the first SIM card cannot communicate in an out-of-service state can be solved. Since the first SIM card is in a no-service state, SIM card 1 can use the data channel of SIM card 2 for communication, but the displayed identification information is still the identity identification of SIM card 1, so that the user can communicate through SIM card 2 without being aware of it, thereby improving the user's communication experience.
[0053] In another example, reference Figure 3 The network architecture shown Figure 2, the first SIM card of the terminal device is recorded as SIM card 1, and the second SIM card is recorded as SIM card 2. When SIM card 1 is in a scenario with poor communication experience such as no service or weak signal, the first information of SIM card 1 and the second information of SIM card 2 are obtained, and the first information of SIM card 1 is encapsulated based on the second information of SIM card 2 to obtain the first data. SIM card 1 sends the first information to the N3IWF of SIM card 2 through the data service channel of SIM card 2 and the first data, so that the N3IWF of SIM card 2 can establish a communication connection with the N3IWF of SIM card 1, so that the N3IWF of SIM card 1 sends the first data to the IMS core network of SIM card 1. In this way, the IMS core network data corresponding to SIM card 1 that is passively received by SIM card 1 can reach SIM card 1 through the data channel of SIM card 2. SIM card 1 can also send communication data through the data service channel of SIM card 2 when it actively communicates with the IMS core network corresponding to SIM card 1. In this way, the problem that the first SIM card cannot communicate when it is out of service can be solved. Since SIM card 1 is in a no-service state, SIM card 1 can use the data channel of SIM card 2 for communication, but the displayed identification information is still the identity identification of SIM card 1, so that the user can communicate through SIM card 2 without being aware of it, thereby improving the user's communication experience.
[0054] In summary, in the communication method provided by the embodiment of the present application, when there is a network problem with the first SIM card of the terminal device, the first SIM card of the terminal device can access the non-trusted access gateway corresponding to the first SIM card based on the data channel of the second SIM card, and the first SIM card accesses the IMS core network corresponding to the first SIM card through the voice communication data of the first SIM card based on the non-trusted access gateway corresponding to the first SIM card. In this way, the first SIM card can communicate with the IMS core network corresponding to the first SIM card based on the data channel of the second SIM card. In other words, the first SIM card of the terminal device can communicate with the IMS core network corresponding to the first SIM card through the data service channel of the second SIM card, which can solve the problem that the first SIM card cannot communicate in the out-of-service state. When the first SIM card is in the out-of-service state, the communication of the first SIM card is realized without the user's feeling, which improves the user's communication experience.
[0055] In some embodiments, S120 encapsulates the first information of the first communication card based on the second information of the second communication card to obtain the first data, including:
[0056] Encapsulating the first information and the communication data of the first communication card based on the second information to obtain the first data;
[0057] Accordingly, sending the first information to the gateway of the first communication card through the data service channel of the second communication card and the first data includes:
[0058] The first information and the communication data of the first communication card are sent to the gateway of the first communication card through the data service channel and the first data.
[0059] It should be understood that the types of mobile communication services are divided into voice services and data services, and data services include other services except mobile communication CS domain voice services. In actual applications, terminal devices usually communicate with the IMS core network through voice service channels to realize calls on terminal devices.
[0060] It should be noted that the communication data of the first communication card is voice data or text message data, etc. transmitted by the first SIM card during communication.
[0061] In some embodiments, the communication data of the first SIM card is sent to the server through the data service channel of the second SIM card, and the server is used to send the communication data of the first communication card to the IMS core network of the first SIM card through the non-trusted access gateway of the first SIM card; the communication data obtained by the IMS core network of the first SIM card carries the identification information of the second SIM card.
[0062] In some embodiments, the terminal device encapsulates the first information and the communication data of the first communication card based on the second information to obtain the first data, and sends the first information and the communication data of the first communication card to the gateway of the first SIM card through the data service channel of the second SIM card and the first data, so that when the first SIM card subsequently communicates with the help of the data service channel of the second SIM card, when the first SIM card makes an active call, the network side displays the first information of the first SIM card (i.e., the identification information of the first SIM card), and the data actually communicated is the data of the second SIM card.
[0063] It can be understood that the terminal device can send the first information and the communication data of the first communication card to the gateway of the first SIM card through the data service channel of the second SIM card. Since the first information of the first SIM card is displayed on the IMS core network of the first SIM card during the communication process, it is equivalent to the terminal device communicating with the identity of the first SIM card, thereby realizing the communication of the first SIM card with the core network in an out-of-service state, thereby improving the user's communication experience.
[0064] In an embodiment of the present application, the communication method further includes:
[0065] receiving second data through the data service channel of the second communication card;
[0066] In the case where the second data includes indication information, obtaining the first information, where the indication information is used to indicate that the receiving identifier of the content in the second data is the first communication card;
[0067] Content is output based on the first information.
[0068] It should be noted that the second data includes indication information, second information of the second communication card and content. The indication information is used to indicate the receiving object of the content, that is, the first communication card; the second information of the second communication card is used to enable the second data to be transmitted through the data service channel of the second communication card; the content is used for communication information displayed on the terminal device. The indication information can be the first information of the first communication card. Since the receiving identifier of the content is the first communication card, that is, the identification information displayed by the terminal device is still the identity identifier of the first communication card, the user thinks that the communication is carried out through the first communication card based on the identification information, but in fact, the communication is carried out through the data service channel of the second communication card. In this process, the user cannot perceive that the communication is carried out through the second communication card, and thinks that the communication is carried out through the first communication card, thereby realizing the communication of the first communication card with the core network corresponding to the first S communication card in the out-of-service state without the user's awareness, thereby improving the user's communication experience.
[0069] In some embodiments, the first SIM card of the terminal device receives the second data through the data service channel of the second SIM card, obtains the first information and content when the second data includes the indication information, and outputs the content based on the first information. When the first SIM card is passively called, when the first SIM card communicates with the data service channel of the second SIM card, the identification information of the first SIM card is displayed on the terminal device, and the data of the second SIM card is actually communicated.
[0070] It should be noted that the content may be voice data or text message data, etc. The text message data may be displayed based on the first information, or the voice data may be played based on the first information.
[0071] In some embodiments, the first SIM card receives second data sent by the server through the data service channel of the second SIM card, and the second data is sent to the server by the IMS core network of the first SIM card through the non-trusted access gateway of the first SIM card; the second data sent by the IMS core network of the first SIM card includes the second information, indication information and content of the second SIM card.
[0072] For example, when the content received by the terminal device is a text message, the text message or picture of the text message will be displayed on the terminal device. In addition, it will be displayed that the recipient of the text message is the first SIM card. However, the text message is actually transmitted through the data service channel of the second SIM card, and the data actually communicated is the data of the second SIM card.
[0073] For example, when the content received by the terminal device is a voice call, the terminal device will play ringtone 1. Before communication, the communication card corresponding to ringtone 1 can be set to the first SIM card, and the communication card corresponding to ringtone 2 can be set to the second SIM card. It can be seen from the terminal device playing ringtone 1 that the communication object at this time is the first SIM card, but the voice call is actually transmitted through the data service channel of the second SIM card, and the actual communication is the data of the second SIM card.
[0074] It can be understood that the first SIM card of the terminal device can receive the second data through the data service channel of the second SIM card. Since the receiving identifier of the content is the first SIM card, that is, the identification information displayed by the terminal device is still the identity identifier of the first SIM card, the user thinks that the communication is carried out through the first SIM card based on the identification information, but in fact the communication is carried out through the data service channel of the second SIM card. Since in this process, the user cannot perceive that the communication is carried out through the second SIM card and thinks that the communication is carried out through the first SIM card, the first SIM card can communicate with the core network corresponding to the first SIM card in a non-service state without the user's awareness, thereby improving the user's communication experience.
[0075] In an embodiment of the present application, the communication method further includes:
[0076] Acquire first information, status indication information of the first communication card, and second information; wherein the status indication information is used to indicate that the first communication card is in an out-of-service state;
[0077] Based on the second information, encapsulate the first information and the status indication information to obtain third data;
[0078] The first information and the status indication information are sent to the gateway of the first communication card through the data service channel of the second communication card and the third data, so that the gateway of the first communication card records the status of the first communication card.
[0079] It should be noted that the status indication information is used to indicate that the first SIM card is in an out-of-service state, and the status indication information is sent to the gateway of the first SIM card in order to inform the gateway of the first SIM card that the first SIM card is in an out-of-service state.
[0080] In some embodiments, the terminal device obtains the first information, the status indication information of the first communication card, and the second information, and encapsulates the first information and the status indication information through the second information to obtain the third data. In this way, the third data can be identified by the second information and the first information and the status indication information can be transmitted as content. Since the third data is identified by the second information, the third data can be transmitted to the gateway of the first SIM card through the data service channel of the second SIM card. The gateway of the first SIM card can record that the first SIM card is in an out-of-service state according to the status indication information, and complete the registration of the core network corresponding to the first SIM card through the first information of the first SIM card.
[0081] In one embodiment of the present application, before obtaining the first information, the status indication information of the first communication card, and the second information, the method further includes:
[0082] Obtaining a signal quality corresponding to the first communication card;
[0083] Among them, if the signal quality corresponding to the first communication card is less than the first threshold, the first information, the state indication information of the first communication card and the second information are obtained; the signal quality corresponding to the first communication card is less than the first threshold, indicating that the first communication card is in an out of service state.
[0084] In some embodiments, when the access network of the first SIM card cannot provide communication services; or the signal quality of the first SIM card is less than a first threshold, the first SIM card of the terminal device can also access the non-trusted access gateway of the first SIM card via the data service channel of the second SIM card, complete the registration of the IMS core network corresponding to the first SIM card, and realize voice calls.
[0085] It should be noted that the signal quality corresponding to the first SIM card is the signal quality of the base station of the first SIM card received by the terminal device, and the base station of the first SIM card is the base station accessed by the terminal device based on the first SIM card. The signal quality corresponding to the first SIM card can be a reference signal receiving power (RSRP) and a signal to interference plus noise ratio (SINR) measured by the first SIM card, and the embodiment of the present application does not limit this.
[0086] It should also be noted that the first threshold may be configured by the network device or may be predefined by the protocol, and this embodiment of the present application does not impose any limitation on this.
[0087] That is to say, when there is no service or the signal is weak, the first SIM card of the terminal device can access the untrusted access gateway of the first SIM card through the data service channel of the second SIM card, complete the registration of the IMS core network corresponding to the first SIM card, and realize voice calls.
[0088] It can be understood that when the access network of the first SIM card cannot provide communication services, the first information of the first SIM card, the status indication information of the first SIM card and the second information of the second SIM card can be obtained, so as to subsequently register the core network corresponding to the first SIM card with the help of the data service channel of the second SIM card.
[0089] In an embodiment of the present application, the communication method further includes:
[0090] Determine whether the first communication card supports the WiFi call (Voice over, VoWiFi) function; supporting the WiFi call function indicates that the terminal device has the ability to access the untrusted access gateway of the first communication card;
[0091] When the first communication card supports the WiFi calling function, establishing a connection with the base station of the second communication card;
[0092] Wherein, when the connection between the first communication card and the base station of the second communication card is successfully established, the first information, the state indication information of the first communication card and the second information are acquired.
[0093] It should be noted that VoWiFi is a technology that transmits voice calls through a wireless local area network (WLAN). It can convert traditional mobile calls into calls made through a WiFi network. With the support of VoWiFi, users' mobile phones or other mobile devices can use data service channels to make voice calls when connected to a WiFi network, without relying on the cellular network of mobile operators.
[0094] That is to say, only the untrusted access gateway of the first SIM card that supports VoWiFi allows the first SIM card to access the IMS core network corresponding to the first SIM card through the data service channel of the second SIM card to realize the registration of the IMS core network corresponding to the first SIM card. If the first SIM card does not support VoWiFi, the untrusted access gateway of the first SIM card does not allow the first SIM card to access the untrusted access gateway of the first SIM card through the data service channel of the second SIM card.
[0095] Based on this, before the first SIM card accesses the untrusted access gateway of the first SIM card through the data service channel of the second SIM card, it is also necessary to determine whether the first SIM card supports the VoWiFi function. Only when the first SIM card supports the WiFi calling function can the first SIM card access the untrusted access gateway corresponding to the first SIM card through the data service channel of the second SIM card.
[0096] In an embodiment of the present application, when the first communication card supports the WiFi calling function, establishing a connection with the base station of the second communication card includes:
[0097] In the case where the first communication card supports the WiFi calling function, the first communication card of the terminal device sends a connection request to the base station of the second communication card; the connection request carries the identification information of the first communication card and the network problem information;
[0098] The first communication card of the terminal device receives the connection status information sent by the base station of the second communication card in response to the connection request.
[0099] It should be noted that, when the base station of the first communication card is successfully connected to the second communication card, the first communication card can access the non-trusted access gateway corresponding to the first communication card based on the data service channel of the second communication card of the terminal device.
[0100] In the case where the first SIM card supports the WiFi calling function, the first SIM card sends the identification information of the first SIM card and the network problem information to the base station of the second SIM card, so as to inform the base station of the second SIM card that the first SIM card currently has no service and needs to connect to the base station of the second SIM card so as to enable the first SIM card to access the non-trusted access gateway of the first SIM card through the data service channel of the second SIM card. The first SIM card receives the connection status information sent by the base station of the second SIM card in response to the connection request. The first SIM card can determine whether the first SIM card is successfully connected to the base station of the second SIM card based on the connection status information. If the connection is successful, the first SIM card accesses the non-trusted access gateway through the data service channel of the second SIM card.
[0101] It is understandable that only when the first SIM card supports the WiFi calling function, can the first SIM card access the non-trusted access gateway corresponding to the first SIM card through the data service channel of the second SIM card and complete the registration of the core network corresponding to the first SIM card, thereby solving the problem that the first SIM card cannot communicate when it is out of service.
[0102] In an embodiment of the present application, the communication method further includes:
[0103] Determine whether the flow data switch of the second communication card is turned on; wherein the flow data switch of the second communication card is used to limit whether the first communication card can register through the flow data of the second communication card;
[0104] Wherein, when the flow data switch of the second communication card is turned on, the first information, the state indication information of the first communication card and the second information are obtained.
[0105] It should be noted that, in the embodiments of the present application, the technology of accessing the IMS core network through a data service channel may be referred to as "VoData (Voice over Data)", that is, conducting voice calls through data.
[0106] In some embodiments, the terminal device may provide a startup interface (i.e., a traffic data switch) for utilizing VoData, for example, providing a VoData startup button on the display interface. Accordingly, the user may start the VoData function by clicking the VoData startup button. After starting the function, the first SIM card in the out-of-service state may access its own non-trusted access gateway through the data service channel, thereby realizing registration with the IMS core network, and subsequent call services are all transmitted through the data service channel.
[0107] It should be noted that when the first SIM card is in a no-service state, the first SIM card uses the data service channel of the second SIM card to complete the VoData registration, which consumes the data traffic of the second SIM card, so a VoData switch (i.e., voice call switch) will be added in the settings, and the user can choose to turn the switch on or off. Only when the user can enable the VoData function (i.e., the VoData switch is on), the first SIM card can transmit the first information of the first SIM card to the IMS core network corresponding to the first SIM card based on the untrusted access gateway of the first SIM card, so as to enable the first SIM card to access the IMS core network corresponding to the first SIM card.
[0108] It is understandable that, when the user can enable the VoData function, the first SIM card can transmit the first information of the first SIM card to the IMS core network corresponding to the first SIM card based on the non-trusted access gateway of the first SIM card, thereby enabling the first SIM card to access the IMS core network corresponding to the first SIM card, thereby solving the problem that the first SIM card cannot communicate when it is out of service.
[0109] The following example uses the scenario where the first SIM card uses the data service channel of the second SIM card. Figure 2 A schematic diagram of a network architecture is shown Figure 1, the first SIM card is recorded as SIM card 1, and the second SIM card is recorded as SIM card 2. When the VoData function is not enabled, SIM card 1 needs to access the IMS core network of SIM card 1 through the 5G core network of card 1 to achieve voice calls. In an embodiment of the present application, when SIM card 1 is in a scenario with poor communication experience such as no service or weak signal, the user can enable the VoData function. Under the VoData function, SIM card 1 can access the N3IWF of SIM card 1 with the help of the data service channel of SIM card 2, thereby completing the registration in the IMS core network of SIM card 1.
[0110] Furthermore, when SIM card 1 needs to perform a calling service, SIM card 1 can forward the communication data of the calling service to SIM card 2, and SIM card 2 can send the communication data to a server in the Internet through its own data service channel. In this way, the server can send the data to the IMS core network corresponding to SIM card 1 through N3IWF of SIM card 1.
[0111] It should be noted that when SIM card 1 needs to make a calling service, it is actually SIM card 2 that is making the call, but the network side is making the call as SIM card 1.
[0112] When SIM card 1 has a called service, the IMS core network corresponding to SIM card 1 can send the second data of the called service to the server in the Internet through the N3IWF of SIM card 1. In this way, the server can send the second data to SIM card 2 through the data service channel of SIM card 2. Finally, SIM card 2 can forward the second data received through the data service channel to SIM card 1. The second data includes content and the first information of SIM card 1, and finally, the content is output on the terminal device.
[0113] It should be noted that when SIM card 1 has a called service, the caller actually calls SIM card 2. The network side switches and the user displays the call to SIM card 1.
[0114] The communication method provided in the embodiment of the present application is described in detail below in conjunction with specific application scenarios.
[0115] Figure 4 A communication method flow diagram provided in an embodiment of the present application Figure 2 ,refer to Figure 4 As shown in the flowchart, the communication method provided in the embodiment of the present application may include the following steps:
[0116] S1. Determine whether the terminal device is a dual-card terminal.
[0117] It should be noted that this application scenario is mainly used in dual-SIM terminals. The terminal device must be a dual-SIM user, and the primary SIM card must reside in the 4 / 5G network.
[0118] The primary card may be a SIM card that can currently make voice calls (ie, the second SIM card), and the secondary card may be a SIM card that currently has no service (ie, the first SIM card).
[0119] It should be noted that the secondary card needs to use the data service channel of the primary card to make voice calls, so the primary SIM card needs to reside in the 5G network.
[0120] If the terminal device is a dual-card terminal, execute S2, otherwise end the communication process.
[0121] S2. Whether the secondary card supports the VoWiFi function.
[0122] Determine whether the secondary card supports VoWiFi, because only if the secondary card supports VoWiFi can it use the data service channel of the main card to access the secondary card's N3IWF gateway, and then complete the secondary card VoData registration. The node device path of the entire process is SIM card 1 of the terminal device <-> base station of SIM card 2 of the terminal device <-> user plane function (UPF) of SIM card 2 of the terminal device <-> N3IWF of SIM card 1 of the terminal device <-> IMS core network of SIM card 1 of the terminal device.
[0123] If the terminal device supports the VoWiFi function, execute S3, otherwise the communication process ends.
[0124] S3. Check whether the VoData automatic switching switch of the master card is turned on.
[0125] Determine whether the VoData automatic switch of the main card is turned on, because only when the VoData automatic switch of the main card (i.e. the voice call switch) is turned on can the data service channel of the main card be used to access the N3IWF gateway of the secondary card, thereby completing the registration of the VoData of the secondary card.
[0126] If the VoData automatic switching switch of the main card of the terminal device is in the on state, S4 is executed, otherwise the communication process ends.
[0127] S4. Determine whether the secondary card has no service.
[0128] It is determined whether the secondary card has no service. If the secondary card has no service, S5 is executed; otherwise, the communication process ends.
[0129] S5. Register VoData.
[0130] It can be understood that after the above conditions are met, the terminal device can initiate the registration of the secondary card VoData, and the subsequent calls and other services of the secondary card will be completed through the data service channel of the main card. In this way, when the secondary card is out of service, the calling and called services of the secondary card can reach the secondary card through the data service channel of the main card. In this way, the problem that the secondary card cannot communicate when it is out of service is solved; at the same time, since the secondary card is in a no-service state, the user can realize the communication of the secondary card without being aware of it, which improves the user's communication experience.
[0131] The present application also provides a communication device for use in a terminal device. Figure 5 As shown, the communication device includes:
[0132] An acquiring unit 510 is configured to acquire, when the first communication card of the terminal device is in an out-of-service state, first information of the first communication card and second information of the second communication card;
[0133] The encapsulation unit 520 is configured to encapsulate the first information of the first communication card based on the second information of the second communication card to obtain first data;
[0134] The sending unit 530 is configured to send the first information to the gateway of the first communication card through the data service channel of the second communication card and the first data, so that the gateway of the first communication card sends the first data to the core network corresponding to the first communication card.
[0135] In some embodiments, the encapsulation unit 520 is further configured to encapsulate the first information and the communication data of the first communication card based on the second information to obtain the first data;
[0136] The sending unit 530 is further configured to send the first information and the communication data of the first communication card to the gateway of the first communication card through the data service channel of the second communication card and the first data.
[0137] In some embodiments, the communication device further includes a receiving unit 540 and an output unit 550; wherein,
[0138] A receiving unit 540 is configured to receive second data through the data service channel of the second communication card;
[0139] The acquisition unit 510 is further configured to acquire the first information when the second data includes indication information, wherein the indication information is used to indicate that the receiving identifier of the content in the second data is the first communication card;
[0140] The output unit 550 is configured to output the content based on the first information.
[0141] In some embodiments, the acquisition unit 510 is further configured to acquire the first information, the state indication information of the first communication card and the second information; wherein the state indication information is used to indicate that the first communication card is in an out-of-service state;
[0142] The encapsulation unit 520 is further configured to encapsulate the first information and the status indication information based on the second information to obtain third data;
[0143] The sending unit 530 is further configured to send the first information and the status indication information to the gateway of the first communication card through the data service channel of the second communication card and the third data, so that the gateway of the first communication card records the status of the first communication card.
[0144] In some embodiments, the acquisition unit 510 is further configured to obtain the signal quality corresponding to the first communication card; wherein, if the signal quality corresponding to the first communication card is less than a first threshold, the first information, the status indication information of the first communication card and the second information are obtained; the signal quality corresponding to the first communication card is less than the first threshold, indicating that the first communication card is in an out of service state.
[0145] In some embodiments, the communication device further includes a determination unit 560 and a connection unit 570; wherein,
[0146] The determination unit 560 is configured to determine whether the first communication card supports the WiFi calling function; supporting the WiFi calling function indicates that the terminal device has the ability to access the untrusted access gateway of the first communication card;
[0147] The connection unit 570 is configured to establish a connection with the base station of the second communication card when the first communication card supports the WiFi calling function; wherein, when the connection between the first communication card and the base station of the second communication card is successfully established, the first information, the status indication information of the first communication card and the second information are obtained.
[0148] In some embodiments, the judgment unit 560 is further configured to judge whether the traffic data switch of the second communication card is turned on; wherein the traffic data switch of the second communication card is used to limit whether the first communication card can be registered through the traffic data of the second communication card; wherein, when the traffic data switch of the second communication card is turned on, the first information, the status indication information of the first communication card and the second information are obtained.
[0149] Those skilled in the art should understand that the relevant description of the above-mentioned communication device in the embodiment of the present application can be understood by referring to the relevant description of the communication method in the embodiment of the present application.
[0150] Figure 6 A schematic diagram of the hardware structure of a communication device provided in an embodiment of the present application. The communication device may be the terminal device in the above embodiment. Figure 6 The communication device 600 shown includes a processor 610, which can call and run a computer program from a memory to implement the method in the embodiment of the present application.
[0151] Alternatively, if Figure 6 As shown, the communication device 600 may further include a memory 620. The processor 610 may call and run a computer program from the memory 620 to implement the method in the embodiment of the present application.
[0152] The memory 620 may be a separate device independent of the processor 610 , or may be integrated into the processor 610 .
[0153] Alternatively, if Figure 6 As shown, the communication device 600 may further include a transceiver 630, and the processor 610 may control the transceiver 630 to communicate with other devices, specifically, may send information or data to other devices, or receive information or data sent by other devices.
[0154] The transceiver 630 may include a transmitter and a receiver. The transceiver 630 may further include an antenna, and the number of the antennas may be one or more.
[0155] Figure 7 A schematic structural diagram of a chip provided in an embodiment of the present application. Figure 7 The chip 700 shown includes a processor 710, which can call and run a computer program from a memory to implement the method in the embodiment of the present application.
[0156] Alternatively, if Figure 7 As shown, the chip 700 may further include a memory 720. The processor 710 may call and run a computer program from the memory 720 to implement the method in the embodiment of the present application.
[0157] The memory 720 may be a separate device independent of the processor 710 , or may be integrated into the processor 710 .
[0158] Optionally, the chip 700 may further include an input interface 730. The processor 710 may control the input interface 730 to communicate with other devices or chips, and specifically, may obtain information or data sent by other devices or chips.
[0159] Optionally, the chip 700 may further include an output interface 740. The processor 710 may control the output interface 740 to communicate with other devices or chips, and specifically, may output information or data to other devices or chips.
[0160] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0161] The present application also provides a computer storage medium, specifically a computer readable storage medium, on which computer instructions are stored. When the computer storage medium is located in an electronic device manufacturing device, the computer instructions are executed by a processor to implement any step of the above information processing method of the present application.
[0162] An embodiment of the present application also provides a computer program product, including computer program instructions.
[0163] The computer program product can be applied to the communication device in the embodiments of the present application, and the computer program instructions enable the computer to execute the corresponding processes implemented by the communication device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.
[0164] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0165] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0166] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately configured as a unit, or at least two units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0167] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium, which, when executed, executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, disks or optical disks.
[0168] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
[0169] It should be noted that the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.
[0170] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A communication method, characterized in that: Applied to a terminal device, the method comprises: When the first communication card of the terminal device is in an out-of-service state, acquiring first information of the first communication card and second information of the second communication card; Encapsulating the first information of the first communication card based on the second information of the second communication card to obtain first data; The first information is sent to the gateway of the first communication card through the data service channel of the second communication card and the first data, so that the gateway of the first communication card sends the first data to the core network corresponding to the first communication card.
2. The method according to claim 1, characterized in that: The encapsulating the first information of the first communication card based on the second information of the second communication card to obtain the first data includes: Encapsulating the first information and the communication data of the first communication card based on the second information to obtain the first data; Correspondingly, sending the first information to the gateway of the first communication card through the data service channel of the second communication card and the first data includes: The first information and the communication data of the first communication card are sent to the gateway of the first communication card through the data service channel of the second communication card and the first data.
3. The method according to claim 1, characterized in that: The method further comprises: receiving second data through the data service channel of the second communication card; In a case where the second data includes indication information, acquiring the first information, wherein the indication information is used to indicate that the receiving identifier in the second data is the first communication card; The content is output based on the first information.
4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: Acquire the first information, the status indication information of the first communication card and the second information; wherein the status indication information is used to indicate that the first communication card is in an out-of-service state; Based on the second information, encapsulate the first information and the status indication information to obtain third data; The first information and the status indication information are sent to the gateway of the first communication card through the data service channel of the second communication card and the third data, so that the gateway of the first communication card records the status of the first communication card.
5. The method according to claim 4, characterized in that Before acquiring the first information, the status indication information of the first communication card and the second information, the method further includes: Obtaining a signal quality corresponding to the first communication card; Among them, if the signal quality corresponding to the first communication card is less than a first threshold, the first information, the status indication information of the first communication card and the second information are obtained; the signal quality corresponding to the first communication card is less than the first threshold, indicating that the first communication card is in an out of service state.
6. The method according to claim 4, characterized in that The method further comprises: Determine whether the first communication card supports the WiFi calling function; supporting the WiFi calling function indicates that the terminal device has the ability to access the untrusted access gateway of the first communication card; When the first communication card supports the WiFi calling function, establishing a connection with the base station of the second communication card; Wherein, when the connection between the first communication card and the base station of the second communication card is successfully established, the first information, the state indication information of the first communication card and the second information are acquired.
7. The method according to claim 4, characterized in that The method further comprises: Determine whether the flow data switch of the second communication card is turned on; wherein the flow data switch of the second communication card is used to limit whether the first communication card can register through the flow data of the second communication card; Wherein, when the flow data switch of the second communication card is turned on, the first information, the status indication information of the first communication card and the second information are obtained.
8. A communication device, characterized in that: Applied to a terminal device, the device comprises: An acquiring unit, configured to acquire, when the first communication card of the terminal device is in an out-of-service state, first information of the first communication card and second information of the second communication card; an encapsulation unit, configured to encapsulate the first information of the first communication card based on the second information of the second communication card to obtain first data; The sending unit is configured to send the first information to the gateway of the first communication card through the data service channel of the second communication card and the first data, so that the gateway of the first communication card sends the first data to the core network corresponding to the first communication card.
9. A communication device, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: Used to store a computer program, wherein the computer program causes a computer to execute the method according to any one of claims 1 to 7.
11. A chip, characterized in that: It comprises a processor, which is used to call and run a computer program from a memory, so that a device equipped with the chip implements the method according to any one of claims 1 to 7 when executing the program.
