Method, device, electronic device and storage medium for wireless communication
By dynamically managing the network PDN and IMS PDN links of multi-card terminals and updating the protocol address, the user experience issues caused by network PDN link disconnection are resolved, ensuring stable communication between the terminal and the network.
Patent Information
- Application Number
- CN202210158409.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-21
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2042-02-21
AI Technical Summary
If the network PDN link is disconnected, the IMS PDN link may also be disconnected, causing the terminal to be unable to communicate with the network and resulting in a poor user experience.
By determining whether the network PDN link and IMS PDN link of the predetermined user identification module support the predetermined protocol address, and based on whether the protocol address is successfully updated, a decision is made on whether to establish or release the network PDN link, ensuring that the communication connection between the terminal and the network can still be maintained even if the protocol address is not successfully updated.
When a network PDN link is lost, dynamic management of link establishment and release ensures that there is an available communication link between the terminal and the network, thereby improving the user experience.
Smart Images

Figure CN114585109B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of wireless communication, and more particularly to a method and apparatus for wireless communication, an electronic device, and a storage medium. BACKGROUND
[0002] A terminal with different user identity modules is a multi-card terminal, for example, a dual-card dual-standby terminal. The user identity module can establish a connection with a network through a network packet data network (PDN) link and an IP multimedia subsystem (IMS) PDN link. Here, the network PDN link can be used for online services; the IMS PDN link can be used for multimedia services.
[0003] In the related art, after the network PDN link is disconnected, the IMS PDN link can also be disconnected, which can cause the terminal to have no link for wireless communication with the network. At this time, the user can obviously perceive the disconnection from the network, which can bring a poor experience to the user. SUMMARY
[0004] Embodiments of the present disclosure disclose a method and apparatus for wireless communication, an electronic device, and a storage medium.
[0005] According to a first aspect of embodiments of the present disclosure, a method for wireless communication is provided, the method is performed by a multi-card terminal, and the method comprises:
[0006] determining whether a network PDN link of a predetermined user identity module is disconnected;
[0007] determining whether an IP multimedia subsystem (IMS) PDN link of the predetermined user identity module supports a predetermined protocol address;
[0008] in response to the network PDN link being disconnected and the IMS PDN link supporting the predetermined protocol address, determining whether to establish the network PDN link according to a result of whether the predetermined protocol address is successfully updated.
[0009] In one embodiment, the determining whether to establish the network PDN link according to the result of whether the predetermined protocol address is successfully updated comprises:
[0010] in response to the predetermined protocol address not being successfully updated, determining to establish the network PDN link.
[0011] In one embodiment, after the network PDN link is established, the method further comprises:
[0012] reestablishing the IMS PDN link in response to the terminal being in a predetermined state, wherein the predetermined state comprises the terminal being in a screen-off state.
[0013] In one embodiment, the method further comprises:
[0014] releasing the network PDN link in response to the IMS PDN link being established.
[0015] In one embodiment, the method further comprises:
[0016] sending a router solicitation (RS) to a network within a predetermined period of time in response to the network PDN link being disconnected and the predetermined protocol address being supported.
[0017] determining whether the predetermined protocol address is successfully updated according to whether a response message to the RS is received.
[0018] In one embodiment, the determining whether the predetermined protocol address is successfully updated according to whether a response message to the RS is received comprises:
[0019] determining that the predetermined protocol address is successfully updated in response to the response message to the RS being received.
[0020] and / or,
[0021] determining that the predetermined protocol address is not successfully updated in response to the response message to the RS not being received.
[0022] According to a second aspect of embodiments of the present disclosure, a device for wireless communication is provided, and the device comprises:
[0023] a determining module configured to determine whether a network PDN link of a predetermined subscriber identity module is disconnected;
[0024] determine whether an IP multimedia subsystem (IMS) PDN link of the predetermined subscriber identity module supports a predetermined protocol address;
[0025] determine whether to establish the network PDN link according to a result of whether the predetermined protocol address is successfully updated in response to the network PDN link being disconnected and the IMS PDN link supporting the predetermined protocol address.
[0026] In one embodiment, the determining module is configured to:
[0027] determine to establish the network PDN link and not to establish the IMS PDN link in response to the predetermined protocol address not being successfully updated.
[0028] In one embodiment, the determining module is configured to:
[0029] reestablish the IMS PDN link in response to the terminal being in a predetermined state, wherein the predetermined state comprises the terminal being in a screen-off state.
[0030] In one embodiment, the apparatus comprises:
[0031] a releasing module configured to release the network PDN link in response to the IMS PDN link being established.
[0032] In one embodiment, the apparatus further comprises a sending module, wherein:
[0033] the sending module is configured to send a router solicitation (RS) to a network in response to the network PDN link being disconnected and the predetermined protocol address being supported within a predetermined period of time.
[0034] the determining module is configured to determine whether the predetermined protocol address is successfully updated according to whether a response message to the RS is received.
[0035] In one embodiment, the determining module is further configured to:
[0036] determine that the predetermined protocol address is successfully updated in response to the response message to the RS being received.
[0037] and / or,
[0038] determine that the predetermined protocol address is not successfully updated in response to the response message to the RS not being received.
[0039] According to a third aspect of embodiments of the present disclosure, an electronic device is provided, the electronic device comprising:
[0040] a processor;
[0041] a memory for storing executable instructions of the processor;
[0042] wherein the processor is configured to implement the method of any of the embodiments of the present disclosure when the executable instructions are executed.
[0043] According to a fourth aspect of embodiments of the present disclosure, a computer storage medium is provided, the computer storage medium storing computer executable programs, the executable programs being executed by a processor to implement the method of any of the embodiments of the present disclosure.
[0044] The technical solutions provided by the embodiments of the present disclosure can include the following beneficial effects:
[0045] In the embodiments of the present disclosure, it is determined whether a network PDN link of a predetermined identification card is disconnected; it is determined whether an IP multimedia subsystem (IMS) PDN link of the predetermined identification card supports a predetermined protocol address; and in response to the network PDN link being disconnected and the IMS PDN link supporting the predetermined protocol address, it is determined whether to establish the network PDN link according to a result of whether the predetermined protocol address is successfully updated. In this way, when the network PDN link is disconnected and the IMS PDN link supports the predetermined protocol address, the network PDN link can be established or not established according to the result of whether the predetermined protocol address is successfully updated. Compared with the case that there is no link between the terminal and the network that can be used for wireless communication when the predetermined protocol address is not successfully updated, it can be ensured that there is a connection between the terminal and the network that can be used for wireless communication when the predetermined protocol address cannot be updated, and the experience of using the network by a user is improved.
[0046] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0047] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and serve to explain the principles of the present disclosure, in which:
[0048] Figure 1 FIG. 1 is a flowchart of a method of wireless communication according to an example embodiment.
[0049] Figure 2 FIG. 1 is a flowchart of a method of wireless communication according to an example embodiment.
[0050] Figure 3 FIG. 1 is a flowchart of a method of wireless communication according to an example embodiment.
[0051] Figure 4 FIG. 1 is a flowchart of a method of wireless communication according to an example embodiment.
[0052] Figure 5 FIG. 1 is a flowchart of a method of wireless communication according to an example embodiment.
[0053] Figure 6 FIG. 1 is a flowchart of a method of wireless communication according to an example embodiment.
[0054] Figure 7 FIG. 1 is a flowchart of a method of wireless communication according to an example embodiment.
[0055] Figure 8is a block diagram of an apparatus of wireless communication according to an exemplary embodiment.
[0056] Figure 9 is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0057] The exemplary embodiments will be described in detail herein with reference to the attached drawings. The description of the exemplary embodiments is intended to apply to various alternative embodiments of the application. The following description of exemplary embodiments is only exemplary in nature and is not intended to limit the scope, applicability, or configuration of the application in any way. Rather, the following description provides a manner and process of making and using the application in the various embodiments. For purposes of convenience and clarity, the description of the exemplary embodiments is divided into sections, but the various sections can be freely interchanged.
[0058] To facilitate understanding of those skilled in the art, the present disclosure embodiments enumerate a plurality of embodiments to clearly describe the technical solutions of the present disclosure embodiments. Of course, those skilled in the art can understand that the plurality of embodiments provided by the present disclosure embodiments can be executed alone, or can be executed together with the method of other embodiments of the present disclosure embodiments, or can be executed alone or together with some methods in other related technologies; the present disclosure embodiments do not limit this.
[0059] To facilitate the understanding of any embodiment of the present disclosure, first, the application scenario of wireless communication is described.
[0060] In some embodiments, the network PDN link of the predetermined user identification card of the terminal and the network can be disconnected or not disconnected.
[0061] In one embodiment, in order to better utilize resources, the network PDN link of the predetermined user identification card of the terminal and the network can be disconnected.
[0062] In one embodiment, after the network PDN link is disconnected, if the IMS PDN link only supports IPV6 address, if the IPV6 address update fails, it will directly cause the IMS PDN link to be disconnected, and finally cause the predetermined user identification card to be off the network.
[0063] In one embodiment, the network only supports IPV6 address, and the network can update the IPV6 address through the esm_cause field (for example, the value is 51) in the Activate default EPS bearer context request Msg signaling.
[0064] In one embodiment, if the IPV6 address update fails after the network PDN link is disconnected, the predetermined user identification card does not have any available PDN link, i.e., neither the network PDN link nor the IMS PDN link. Thus, the terminal initiates a detach or attach process, triggers the terminal to re-establish the IMS PDN link with the network, and the predetermined user identification card is dragged into the network.
[0065] As shown in Figure 1 The embodiment provides a wireless communication method, which is executed by a multi-card terminal, and the method comprises the following steps:
[0066] Step 11: determining whether the network PDN link of the predetermined user identification module is disconnected;
[0067] Step 12: determining whether the IMS PDN link of the predetermined user identification module supports a predetermined protocol address;
[0068] Step 13: in response to the network PDN link being disconnected and the IMS PDN link supporting the predetermined protocol address, determining whether to establish the network PDN link according to the result of whether the predetermined protocol address is successfully updated.
[0069] Here, the multi-card terminal can be, but is not limited to, a computer, a mobile phone, a wearable device, a vehicle-mounted terminal, a road side unit (RSU), a smart home terminal, an industrial sensor device, a medical device, and the like.
[0070] In one embodiment, the multi-card terminal is a mobile terminal. The multi-card terminal is a terminal containing multiple user identification modules. The multi-card terminal can be a terminal containing at least two user identification modules, such as a dual-card terminal or a triple-card terminal. The behavior mode of the multi-user identification module terminal can be dual-card dual standby single call, dual-card dual standby dual call, triple-card triple standby, and the like. The user identification module can be a subscriber identification module (SIM) card in the form of a separate individual or an embedded subscriber identification module (e-SIM) integrated in the terminal. It should be noted that the primary card and the secondary card involved in the present disclosure are the user identification modules.
[0071] In one embodiment, the mobile terminal includes a first subscriber identity module and a second subscriber identity module, which can share one radio frequency module. It is noted that the predetermined subscriber identity module can be either the first subscriber identity module or the second subscriber identity module.
[0072] Here, the predetermined protocol address can be an address based on an IPV6 protocol or an IPV4 protocol.
[0073] In one embodiment, it is determined whether a network PDN link of a predetermined subscriber identity module is disconnected; it is determined whether an IP multimedia subsystem (IMS) PDN link of the predetermined subscriber identity module supports a predetermined protocol address; and in response to the network PDN link being disconnected and the IMS PDN link supporting only the predetermined protocol address, it is determined whether to establish the network PDN link according to a result of whether the predetermined protocol address is successfully updated.
[0074] In one embodiment, it is determined whether a network PDN link of a predetermined subscriber identity module is disconnected; it is determined whether an IP multimedia subsystem (IMS) PDN link of the predetermined subscriber identity module supports a predetermined protocol address; and in response to the network PDN link being disconnected and the IMS PDN link supporting only the predetermined protocol address, and the predetermined protocol address being successfully updated, it is determined not to establish the network PDN link.
[0075] In one embodiment, it is determined whether a network PDN link of a predetermined subscriber identity module is disconnected; it is determined whether an IP multimedia subsystem (IMS) PDN link of the predetermined subscriber identity module supports a predetermined protocol address; and in response to the network PDN link being disconnected and the IMS PDN link supporting only the predetermined protocol address, and the predetermined protocol address not being successfully updated, it is determined to establish the network PDN link.
[0076] In one embodiment, it is determined whether a network PDN link of a predetermined subscriber identity module is disconnected; it is determined whether an IP multimedia subsystem (IMS) PDN link of the predetermined subscriber identity module supports a predetermined protocol address; it is determined that the IMS PDN link of the predetermined subscriber identity module is not disconnected; and in response to the network PDN link being disconnected and the IMS PDN link supporting only the predetermined protocol address, and the predetermined protocol address not being successfully updated, it is determined to establish the network PDN link.
[0077] It is noted that the terminal can communicate with the network based on the IMS PDN link only when it is ensured that the predetermined protocol address can be updated. The predetermined protocol address can be updated according to a predetermined period.
[0078] In one embodiment, it is determined whether a network PDN link of a predetermined user identity module is disconnected; it is determined whether an IP Multimedia Subsystem, IMS, PDN link of the predetermined user identity module supports a predetermined protocol address; it is determined that the IMS PDN link of the predetermined user identity module is not disconnected; in response to the network PDN link being disconnected and the IMS PDN link only supporting the predetermined protocol address, a router solicitation, RS, is sent to a network, in response to no response message for the RS being received, it is determined that the predetermined protocol address is not successfully updated; in response to the predetermined protocol address not being successfully updated, it is determined to establish the network PDN link. Here, the response message can be a router advertisement, RA. Here, the terminal not receiving the response message for the RS can be caused by network failure. If the network is failed, the predetermined protocol address cannot be updated.
[0079] In one embodiment, it is determined whether a network PDN link of a predetermined user identity module is disconnected; it is determined whether an IP Multimedia Subsystem, IMS, PDN link of the predetermined user identity module supports a predetermined protocol address; it is determined that the IMS PDN link of the predetermined user identity module is not disconnected; in response to the network PDN link being disconnected and the IMS PDN link only supporting the predetermined protocol address, it is determined whether an X moment is reached, where X=(M-T), and M is a set time of a route update and T is a timing length of an RA timer (e.g., 12s); if the X moment is reached, the terminal starts the RA timer, before the RA timer is expired, a router solicitation, RS, is sent to a network, in response to no response message for the RS being received, it is determined that the predetermined protocol address is not successfully updated; in response to the predetermined protocol address not being successfully updated, it is determined to establish the network PDN link. Here, the response message can be a router advertisement, RA.
[0080] In one embodiment, it is determined whether a network PDN link of a predetermined user identity module is disconnected; it is determined whether an IP Multimedia Subsystem, IMS, PDN link of the predetermined user identity module supports a predetermined protocol address; in response to the network PDN link being disconnected and the IMS PDN link only supporting the predetermined protocol address and the predetermined protocol address not being successfully updated, it is determined to establish the network PDN link and not to establish the IMS PDN link. Here, not establishing the IMS PDN link can be not triggering the terminal to send a Detach or Attach request to the network. It can be understood that not triggering the terminal to send the Detach or Attach request to the network can be not reinitiating a registration procedure to the network, and can also be understood as not reestablishing the IMS PDN link.
[0081] In one embodiment, it is determined whether a network PDN link of a predetermined user identity module is disconnected; it is determined whether an IP Multimedia Subsystem, IMS, PDN link of the predetermined user identity module supports a predetermined protocol address; in response to the network PDN link being disconnected and the IMS PDN link only supporting the predetermined protocol address and the predetermined protocol address not being successfully updated, and the terminal being in a used state, it is determined to establish the network PDN link and not to establish the IMS PDN link. It should be noted that the terminal being in the used state can be the terminal being in a bright screen state. In this way, the terminal is not caused to be off the network due to establishment of the IMS PDN link, and a user is not brought about a poor use experience.
[0082] In one embodiment, it is determined whether a network PDN link of a predetermined user identity module is disconnected; it is determined whether an IP Multimedia Subsystem, IMS, PDN link of the predetermined user identity module supports a predetermined protocol address; in response to the network PDN link being disconnected and the IMS PDN link only supporting the predetermined protocol address and the predetermined protocol address not being successfully updated, it is determined to establish the network PDN link and establish the IMS PDN link.
[0083] In one embodiment, it is determined whether a network PDN link of a predetermined user identity module is disconnected; it is determined whether an IP Multimedia Subsystem, IMS, PDN link of the predetermined user identity module supports a predetermined protocol address; in response to the network PDN link being disconnected and the IMS PDN link only supporting the predetermined protocol address and the predetermined protocol address not being successfully updated, and the terminal being in a not used state, it is determined to establish the network PDN link and establish the IMS PDN link. It should be noted that the terminal being in the not used state can be the terminal being in an off screen state.
[0084] In the embodiments of the present disclosure, it is determined whether a network PDN link of a predetermined identification card is disconnected; it is determined whether an IP multimedia subsystem (IMS) PDN link of the predetermined identification card supports a predetermined protocol address; and in response to the network PDN link being disconnected and the IMS PDN link supporting the predetermined protocol address, it is determined whether to establish the network PDN link according to a result of whether the predetermined protocol address is successfully updated. In this way, when the network PDN link is disconnected and the IMS PDN link supports the predetermined protocol address, the network PDN link can be established or not established according to the result of whether the predetermined protocol address is successfully updated. Compared with the case that there is no link between the terminal and the network that can be used for wireless communication when the predetermined protocol address is not successfully updated, it can be ensured that there is a connection between the terminal and the network that can be used for wireless communication when the predetermined protocol address cannot be updated, and the experience of using the network by the user is improved.
[0085] It should be noted that the method provided by the embodiments of the present disclosure can be executed alone or together with some methods in some methods or related technologies in the embodiments of the present disclosure.
[0086] As shown in FIG. 21, in the embodiments of the present disclosure, a method for wireless communication is provided, and the method is executed by a multi-card terminal, and the method comprises the following steps. Figure 2
[0087] In step 21, in response to the predetermined protocol address not being successfully updated, it is determined to establish the network PDN link.
[0088] In one embodiment, in response to the predetermined protocol address not being successfully updated, it is determined to establish the network PDN link and not to establish the IMS PDN link.
[0089] In one embodiment, it is determined whether a network PDN link of a predetermined user identification module is disconnected; it is determined whether an IP multimedia subsystem (IMS) PDN link of the predetermined user identification module supports a predetermined protocol address; and in response to the network PDN link being disconnected and the IMS PDN link only supporting the predetermined protocol address and the predetermined protocol address not being successfully updated, it is determined to establish the network PDN link.
[0090] In one embodiment, the terminal sends a router request (RS) to the network, and in response to not receiving a response message sent by the network to the RS, it is determined that the predetermined protocol address is not successfully updated; and / or, in response to receiving the response message to the RS, it is determined that the predetermined protocol address is successfully updated. Here, the response message can be a router advertisement (RA).
[0091] In one embodiment, the network can update the predetermined protocol address through an esm_cause field in an Activate default EPS bearer context request Msg signaling.
[0092] In one embodiment, it is determined whether a network PDN link of a predetermined user identity module is disconnected; it is determined whether an IP multimedia subsystem (IMS) PDN link of the predetermined user identity module supports a predetermined protocol address; in response to the network PDN link being disconnected and the IMS PDN link only supporting the predetermined protocol address, and the predetermined protocol address not being successfully updated, and the terminal being in a state of use, it is determined to establish the network PDN link and not to establish the IMS PDN link. It should be noted that the state of use of the terminal can be that the terminal is in a screen-on state. In this way, the terminal is not caused to be off the network due to the establishment of the IMS PDN link, and the user is not brought a poor use experience.
[0093] It should be noted that those skilled in the art can understand that the method provided by the embodiments of the present disclosure can be executed alone or together with some methods in some methods or related technologies in the embodiments of the present disclosure.
[0094] As shown in Figure 3 A method for wireless communication is provided in the embodiments of the present disclosure, and the method is executed by a multi-card terminal, and the method comprises the following steps:
[0095] Step 31, in response to the terminal being in a predetermined state, re-establishing an IMS PDN link, wherein the predetermined state comprises a state in which the terminal is in a screen-off state.
[0096] Here, since the terminal is in a screen-off state, the user can not be in a state of using the terminal, at this time, the IMS PDN link is re-established, even if the radio frequency module is occupied, causing temporary off-network, which will not be perceived by the user, so that the user experience can be improved.
[0097] It should be noted that the predetermined state can be a state in which the terminal is not used, and is not limited to a state in which the terminal is in a screen-off state, for example, the terminal can also be in a stationary state, the current time period is a predetermined time period (for example, daytime or nighttime), or the current power consumption of the terminal is less than a power consumption threshold, etc., which is not limited herein.
[0098] In one embodiment, it is determined whether the network PDN link of the predetermined user identification module is disconnected; it is determined whether the IP Multimedia Subsystem (IMS) PDN link of the predetermined user identification module supports a predetermined protocol address; in response to the network PDN link being disconnected and the IMS PDN link only supporting the predetermined protocol address, and the predetermined protocol address not being successfully updated, and the terminal being in an unused state, it is determined to establish the network PDN link and establish the IMS PDN link. It should be noted that the terminal being in an unused state can mean that the terminal is in a screen-off state.
[0099] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.
[0100] like Figure 4 As shown, this embodiment provides a wireless communication method, which is executed by a multi-SIM terminal, and the method includes:
[0101] Step 41: In response to the establishment of the IMS PDN link, release the network PDN link.
[0102] In one embodiment, it is determined whether the network PDN link of the predetermined user identification module is disconnected; it is determined whether the IP Multimedia Subsystem (IMS) PDN link of the predetermined user identification module supports a predetermined protocol address; in response to the network PDN link being disconnected and the IMS PDN link only supporting the predetermined protocol address, and the predetermined protocol address not being successfully updated, it is determined to establish the network PDN link and establish the IMS PDN link. In response to the establishment of the IMS PDN link, the network PDN link is released.
[0103] In one embodiment, it is determined whether the network PDN link of the predetermined user identification module is disconnected; it is determined whether the IP Multimedia Subsystem (IMS) PDN link of the predetermined user identification module supports a predetermined protocol address; in response to the network PDN link being disconnected and the IMS PDN link only supporting the predetermined protocol address, and the predetermined protocol address not being successfully updated, and the terminal being in an unused state, it is determined to establish the network PDN link and establish the IMS PDN link. In response to the establishment of the IMS PDN link, the network PDN link is released. It should be noted that the terminal being in an unused state can be the terminal being in a screen-off state.
[0104] Thus, after the network PDN link is released, communication resources can be saved. At the same time, since the IMS PDN link has been established, normal communication between the terminal and the network can be ensured.
[0105] It should be noted that the method provided by the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
[0106] As shown in Figure 5 The embodiments of the present disclosure provide a method for wireless communication, which is executed by a multi-card terminal, and the method comprises the following steps:
[0107] In step 51, a router solicitation (RS) is sent to the network within a predetermined period of time in response to the network PDN link being disconnected and the predetermined protocol address being supported.
[0108] In step 52, it is determined whether the predetermined protocol address is successfully updated according to whether a response message for the RS is received.
[0109] In one embodiment, a router solicitation (RS) is sent to the network within a predetermined period of time in response to the network PDN link being disconnected and the predetermined protocol address being supported. It is determined whether the predetermined protocol address is successfully updated according to whether a response message for the RS is received.
[0110] In one embodiment, the predetermined period of time can be a period of time determined according to a timing cycle of a Router Lifetime and a RA timer. For example, when the Router Lifetime is M and the timing cycle is T, the predetermined period of time can be a period of time corresponding to X, where X=M-T.
[0111] In one embodiment, it is determined whether a network PDN link of a predetermined user identity module is disconnected. It is determined whether an IP multimedia subsystem (IMS) PDN link of the predetermined user identity module supports a predetermined protocol address. In response to the network PDN link being disconnected and the IMS PDN link only supporting the predetermined protocol address, it is determined whether to establish the network PDN link according to a result of whether the predetermined protocol address is successfully updated.
[0112] In one embodiment, it is determined whether a network PDN link of a predetermined user identity module is disconnected; it is determined whether an IP multimedia subsystem (IMS) PDN link of the predetermined user identity module supports a predetermined protocol address; it is determined that the IMS PDN link of the predetermined user identity module is not disconnected; in response to the network PDN link being disconnected and the IMS PDN link only supporting the predetermined protocol address, a router solicitation (RS) is sent to a network within a predetermined period of time, in response to no response message being received for the RS, it is determined that the predetermined protocol address is not successfully updated; in response to the predetermined protocol address not being successfully updated, it is determined to establish the network PDN link. Here, the response message can be a router advertisement (RA).
[0113] In one embodiment, it is determined whether a network PDN link of a predetermined user identity module is disconnected; it is determined whether an IP multimedia subsystem (IMS) PDN link of the predetermined user identity module supports a predetermined protocol address; it is determined that the IMS PDN link of the predetermined user identity module is not disconnected; in response to the network PDN link being disconnected and the IMS PDN link only supporting the predetermined protocol address, it is determined whether an X moment is reached, where X=(M-T), and M is a set time of a route update and T is a timing length of an RA timer (for example, 12s), if the X moment is reached, the RA timer is started, before the RA timer expires, a router solicitation (RS) is sent to a network, in response to no response message being received for the RS, it is determined that the predetermined protocol address is not successfully updated; in response to the predetermined protocol address not being successfully updated, it is determined to establish the network PDN link. Here, the response message can be a router advertisement (RA).
[0114] It should be noted that those skilled in the art can understand that the method provided by the embodiments of the present disclosure can be executed alone or together with some methods in some methods or related technologies in the embodiments of the present disclosure.
[0115] As shown in Figure 6 The present embodiment provides a method of wireless communication, which is executed by a multi-card terminal, and the method comprises:
[0116] Step 61, in response to the response message of the RS being received, it is determined that the predetermined protocol address is successfully updated;
[0117] And / or,
[0118] In response to no response message of the RS being received, it is determined that the predetermined protocol is not successfully updated.
[0119] In one embodiment, it is determined whether a network PDN link of a predetermined user identity module is disconnected; it is determined whether an IP multimedia subsystem (IMS) PDN link of the predetermined user identity module supports a predetermined protocol address; it is determined that the IMS PDN link of the predetermined user identity module is not disconnected; in response to the network PDN link being disconnected and the IMS PDN link only supporting the predetermined protocol address, a router solicitation (RS) is sent to a network within a predetermined period; in response to receiving a response message for the RS, it is determined that the predetermined protocol address is successfully updated; and in response to the predetermined protocol address being successfully updated, it is determined that the network PDN link is not established. Here, the response message can be a router advertisement (RA).
[0120] In one embodiment, it is determined whether a network PDN link of a predetermined user identity module is disconnected; it is determined whether an IP multimedia subsystem (IMS) PDN link of the predetermined user identity module supports a predetermined protocol address; it is determined that the IMS PDN link of the predetermined user identity module is not disconnected; in response to the network PDN link being disconnected and the IMS PDN link only supporting the predetermined protocol address, a router solicitation (RS) is sent to a network within a predetermined period; in response to not receiving a response message for the RS, it is determined that the predetermined protocol address is not successfully updated; and in response to the predetermined protocol address not being successfully updated, it is determined that the network PDN link is established. Here, the response message can be a router advertisement (RA).
[0121] It should be noted that those skilled in the art can understand that the method provided by the embodiments of the present disclosure can be executed alone or together with some methods in some methods or related technologies in the embodiments of the present disclosure.
[0122] In order to better understand the embodiments of the present disclosure, the technical solutions of the present disclosure are further described below through an exemplary embodiment:
[0123] Please refer to Figure 7 The method provided in the embodiments is executed by a multi-card terminal, the multi-card terminal includes a main card and a secondary card, the main card is card 1, and the secondary card is card 2. The method is executed by the secondary card, and the method includes the following steps.
[0124] In step 71, it is determined whether the network PDN link of the secondary card is disconnected. If the network PDN link is disconnected, step 71 is executed.
[0125] Step 72: Check if the IMS network only supports IPv6 addresses. If it only supports IPv6, proceed to step 73.
[0126] Step 73: Check if the secondary card network is configured with Router Lifetime M, where M is a valid value.
[0127] Step 74: Detect the RA Timer T configured on the terminal.
[0128] Step 75: When the time MT is reached, start the RA Timer T.
[0129] Step 76: The terminal initiates RS and checks whether the network responds with RA within time T to determine whether the terminal has updated its IPv6 address.
[0130] Step 77: A timeout was detected for T, indicating that the network is not responding.
[0131] Step 78: The terminal is detected to be in a screen-on state, and a network PDN link is established.
[0132] Step 79: If the terminal is detected to be in a screen-off state, trigger the re-attach or attach process, re-establish the IMS PDN link, and trigger the update of the IPv6 address.
[0133] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.
[0134] like Figure 8 As shown, this embodiment provides a wireless communication device, the device comprising:
[0135] Module 81 is used to: determine whether the network PDN link of the pre-defined user identification module is disconnected;
[0136] Determine whether the IP Multimedia Subsystem (IMS) PDN link of the predetermined user identification module supports the predetermined protocol address;
[0137] In response to the disconnection of the network PDN link and the fact that the IMS PDN link supports a predetermined protocol address, a determination is made as to whether to establish the network PDN link based on whether the predetermined protocol address has been successfully updated.
[0138] In one embodiment, the determining module 81 is used to:
[0139] In response to the failure to update the predetermined protocol address, the network PDN link is determined to be established.
[0140] In one embodiment, the determining module 81 is used to:
[0141] reestablishing the IMS PDN link in response to the terminal being in a predetermined state, wherein the predetermined state comprises the terminal being in a screen-off state.
[0142] In one embodiment, the apparatus comprises:
[0143] releasing the network PDN link in response to the IMS PDN link being established.
[0144] In one embodiment, the apparatus further comprises a sending module 83, wherein,
[0145] the sending module 83 is configured to send a router solicitation (RS) to a network in response to the network PDN link being disconnected and only a predetermined protocol address being supported within a predetermined period of time.
[0146] the determining module 81 is configured to determine whether the predetermined protocol address is successfully updated according to whether a response message to the RS is received.
[0147] In one embodiment, the determining module 81 is further configured to:
[0148] determine that the predetermined protocol address is successfully updated in response to the response message to the RS being received.
[0149] and / or,
[0150] determine that the predetermined protocol address is not successfully updated in response to the response message to the RS not being received.
[0151] As to the apparatus in the above embodiments, the specific manners in which the respective modules perform operations have been described in detail in the embodiments of the method, and thus will not be described in detail here.
[0152] The embodiments of the present disclosure further provide a communication device, comprising:
[0153] an antenna;
[0154] a memory;
[0155] a processor connected with the antenna and the memory respectively, configured to control the antenna to transceive wireless signals by executing an executable program stored in the memory, and capable of performing the steps of the wireless network access method provided in any of the preceding embodiments.
[0156] The communication device provided in the embodiments can be the terminal or the base station described above. The terminal can be various person-carried terminals or vehicle-carried terminals. The base station can be various types of base stations, such as a 4G base station or a 5G base station, etc.
[0157] The antenna can be various types of antennas, such as a 3G antenna, a 4G antenna, or a 5G antenna, and the like mobile antenna; the antenna can also include a WiFi antenna or a wireless charging antenna, and the like.
[0158] The memory can include various types of storage media that are non-transitory computer storage media capable of continuing to store information even after the communication device is powered off.
[0159] The processor can be connected with the antenna and the memory through a bus or the like, for reading an executable program stored on the memory, such as at least one of the methods shown in any of the embodiments of the present disclosure.
[0160] The embodiments of the present disclosure also provide a non-transitory computer readable storage medium storing an executable program, wherein the executable program, when executed by a processor, implements the steps of the wireless network access method provided by any of the preceding embodiments, such as at least one of the methods shown in any of the embodiments of the present disclosure.
[0161] As to the apparatus in the above-described embodiments, the specific manners in which the respective modules perform operations have been described in detail in the embodiments related to the method, and thus will not be described in detail here.
[0162] Figure 9 is a block diagram of an electronic device 600 according to an exemplary embodiment. The electronic device 600 can be, for example, a mobile phone, a computer, a digital broadcasting terminal, a message transmitting / receiving device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
[0163] Referring to Figure 9 , the electronic device 600 can include one or more of the following components: a processing component 602, a memory 604, a power supply component 606, a multimedia component 608, an audio component 610, an input / output (I / O) interface 612, a sensor component 614, and a communication component 616.
[0164] The processing component 602 usually controls overall operations of the electronic device 600, such as operations associated with displaying, making phone calls, data communications, camera operations, and recording operations. The processing component 602 can include one or more processors 820 to execute instructions to complete all or part of steps of the methods described above. In addition, the processing component 602 can include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.
[0165] The memory 604 is configured to store various types of data to support the operation of the electronic device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phonebook data, messages, pictures, videos, and the like. The memory 604 can be implemented by any type of volatile or nonvolatile memory, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disc, or optical disc.
[0166] The power supply component 606 supplies power for various components of the electronic device 600. The power supply component 606 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 600.
[0167] The multimedia component 608 includes a screen providing an output interface between the electronic device 600 and a user. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swiping, and gestures on the touch panel. The touch sensors can not only sense a boundary of a touching or swiping action, but also detect duration and pressure related to the touching or swiping action. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. The front and / or rear camera can receive external multimedia data when the electronic device 600 is in an operation mode, such as a shooting mode or a video mode. Each of the front and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.
[0168] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC) configured to receive external audio signals when the electronic device 600 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 604 or transmitted via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.
[0169] The I / O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which can be a keyboard, a click wheel, a button, and the like. The buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.
[0170] The sensor component 614 includes one or more sensors for providing status assessments for various aspects of the electronic device 600. For example, the sensor component 614 can detect an open / closed position of the device 600, relative positioning of components, such as a display and a keypad of the electronic device 600, a change in position of the electronic device 600 or a component of the electronic device 600, presence or absence of user contact with the electronic device 600, orientation or acceleration / deceleration / g-force and temperature of the electronic device 600. The sensor component 614 can include an optical sensor for detecting ambient light, a proximity sensor configured to detect proximity of an object, a motion sensor, a temperature sensor, a magnetic sensor, an acceleration sensor, a gyroscope sensor, a pressure sensor, or the like.
[0171] The communication component 616 is configured to facilitate wired or wireless communication between the electronic device 600 and other devices. The electronic device 600 can access a wireless network based on a corresponding communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an example embodiment, the communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an example embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) techniques, Infrared Data Association (IrDA) techniques, Ultra-WideBand (UWB) techniques, Bluetooth (BT) techniques, and other techniques.
[0172] In an example embodiment, the electronic device 600 can be implemented using one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic elements to perform the above-described methods.
[0173] In an example embodiment, a non-transitory computer-readable storage medium including instructions, such as the memory 604 including instructions, is also provided. The instructions can be executable by the processor 820 of the electronic device 600 to implement the above-described methods. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disc, and an optical data storage device, etc.
[0174] Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. It is intended that the application be construed as including any patent, any patent applications, and any patent publications to the extent that such patent, patent applications, and patent publications are consistent with the present disclosure. It is intended that the specification and examples be considered exemplary only, with the true scope and spirit of the application being indicated by the following claims.
[0175] It is to be understood that the application is not limited to the precise construction herein disclosed and shown in the drawings, and that various modifications and changes can be effected therein by those skilled in the art without departing from the scope of the application. The scope of the application is to be limited only by the appended claims.
Claims
1. A method for wireless communication, characterized in that, The method is executed by a multi-card terminal, and the method includes: Determine whether the network packet data network (PDN) link of the pre-selected user identification module is disconnected; Determine whether the IP Multimedia Subsystem (IMS) PDN link of the predetermined user identification module supports the predetermined protocol address; In response to the disconnection of the network PDN link and the fact that the IMS PDN link supports a predetermined protocol address, if the predetermined protocol address is not successfully updated, it is determined that the network PDN link should be established; if the predetermined protocol address is successfully updated, it is determined that the network PDN link should not be established.
2. The method according to claim 1, characterized in that, After establishing the network PDN link, the method further includes: In response to the terminal being in a predetermined state, the IMS PDN link is re-established, wherein the predetermined state includes the terminal being in a screen-off state.
3. The method according to claim 2, characterized in that, The method further includes: In response to the establishment of the IMS PDN link, the network PDN link is released.
4. The method according to claim 1, characterized in that, The method further includes: In response to the network PDN link being disconnected and the network supporting a predetermined protocol address, a router request RS is sent to the network within a predetermined time period. Whether the predetermined protocol address has been successfully updated is determined based on whether a response message for the RS has been received.
5. The method according to claim 4, characterized in that, The step of determining whether the predetermined protocol address has been successfully updated based on whether a response message for the RS has been received includes: Upon receiving the response message from the RS, it is determined that the predetermined protocol address has been successfully updated; And / or, If no response message is received from the RS, it is determined that the predetermined protocol has not been successfully updated.
6. A wireless communication device, characterized in that, The device includes: The determination module is used to: determine whether the network PDN link of the pre-defined user identification module is disconnected; Determine whether the IP Multimedia Subsystem (IMS) PDN link of the predetermined user identification module supports the predetermined protocol address; In response to the disconnection of the network PDN link and the fact that the IMS PDN link supports a predetermined protocol address, if the predetermined protocol address is not successfully updated, it is determined that the network PDN link should be established; if the predetermined protocol address is successfully updated, it is determined that the network PDN link should not be established.
7. The apparatus according to claim 6, characterized in that, The determining module is used for: In response to the terminal being in a predetermined state, the IMS PDN link is re-established, wherein the predetermined state includes the terminal being in a screen-off state.
8. The apparatus according to claim 7, characterized in that, The device includes: The release module is used to: release the network PDN link in response to the establishment of the IMS PDN link.
9. The apparatus according to claim 6, characterized in that, The device further includes a transmitting module, wherein... The sending module is configured to: in response to the network PDN link being disconnected and supporting a predetermined protocol address, send a router request RS to the network within a predetermined time period; The determining module is configured to: determine whether the predetermined protocol address has been successfully updated based on whether a response message for the RS has been received.
10. The apparatus according to claim 9, characterized in that, The determining module is further configured to: Upon receiving the response message from the RS, it is determined that the predetermined protocol address has been successfully updated; And / or, If no response message is received from the RS, it is determined that the predetermined protocol has not been successfully updated.
11. An electronic device, characterized in that, The electronic device includes: a processor and a memory for storing computer services that can run on the processor, wherein the processor, when running the computer services, implements the method of any one of claims 1 to 5.
12. A storage medium, characterized in that, The storage medium contains computer-executable instructions, which are executed by a processor to implement the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Methods and systems for handling malicious attacks in a wireless communication system
CN106031208A
Systems and Methods for Managing Different Types of Registrations for IMS Services on SIMs of a Wireless Communication Device
US20150327207A1