CN117615469A - Communication method and related device - Google Patents

Communication method and related device Download PDF

Info

Publication number
CN117615469A
CN117615469A CN202311527885.6A CN202311527885A CN117615469A CN 117615469 A CN117615469 A CN 117615469A CN 202311527885 A CN202311527885 A CN 202311527885A CN 117615469 A CN117615469 A CN 117615469A
Authority
CN
China
Prior art keywords
connection
pdn link
communication module
address
pdn
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311527885.6A
Other languages
Chinese (zh)
Inventor
王兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xi'an Guanghetong Wireless Communication Co ltd
Original Assignee
Xi'an Guanghetong Wireless Communication Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xi'an Guanghetong Wireless Communication Co ltd filed Critical Xi'an Guanghetong Wireless Communication Co ltd
Priority to CN202311527885.6A priority Critical patent/CN117615469A/en
Publication of CN117615469A publication Critical patent/CN117615469A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0231Traffic management, e.g. flow control or congestion control based on communication conditions
    • H04W28/0242Determining whether packet losses are due to overload or to deterioration of radio communication conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • H04W60/02Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration by periodical registration
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a communication method and a related device, which are applied to the technical field of wireless communication. According to the method and the device for the network connection, the network injection request can be initiated after the UE is started, a first PDN link is established between the communication module and the network device based on the first APN, a first connection between the upper computer and the communication module is activated in response to an external dialing instruction, the first connection is bound with the first PDN link, so that the first connection is used for bearing service data of the upper computer, at least one second connection is activated in response to an internal dialing instruction, and the second connection is bound with the first PDN link, so that the second connection is used for bearing control signaling. Therefore, the UE can bear external service data, built-in control data and VSIM operation data through the same PDN link, the possibility of data loss or interruption of the PDN link and the like caused by different PDN links is reduced, and the use cost can be effectively reduced compared with a mode of signing a plurality of APNs.

Description

Communication method and related device
Technical Field
The present disclosure relates to the field of wireless communications technologies, and in particular, to a communication method and a related device.
Background
When the current terminal equipment establishes communication connection with the network equipment through the communication module to process service, two PDN links between the communication module and the network equipment are required to be established for complex terminal functions to respectively bear external service data and built-in control data.
In practical use, there may be a case where a user signs up for an APN only at an operator to establish a PDN link to carry external service data, and uses a default APN of a communication module in the network injection process of the terminal device to establish another PDN link to carry internal control data. However, in this manner, the terminal device signs up for only one APN, two PDN links are actually established using two APNs, and different network devices process the service of the terminal device according to different policies, so that situations such as data loss or PDN link interruption may occur.
The terminal device may sign up for two APNs to establish two PDN links to carry external service data and internal control data, respectively, but this approach may lead to an increase in the later use cost.
Disclosure of Invention
The embodiment of the application provides a communication method and a related device, which can bear external service data, built-in control data and VSIM operation data through the same PDN link, reduce the possibility of data loss or interruption of the PDN link caused by different PDN links, and effectively reduce the use cost compared with the implementation mode of signing a plurality of APNs.
In a first aspect, an embodiment of the present application provides a communication method, which is applied to a UE, where the UE includes an upper computer and a communication module, and the method includes:
Initiating a network injection request after the UE is started, and establishing a first PDN link between the communication module and network equipment based on a first APN;
responding to an external dialing instruction, and activating a first connection between the upper computer and the communication module;
binding the first connection with the first PDN link such that the first connection is for carrying traffic data;
activating at least one second connection in response to the internal dialing instruction;
binding the second connection with the first PDN link such that the second connection is used to carry control signaling.
In the embodiment of the application, the UE can bear external service data and internal control data through the same PDN link, does not need to bear external service data and internal control data through two PDN links respectively, can effectively reduce the possibility of data loss or interruption of the PDN links and the like caused by different PDN links, can sign up an APN to establish one PDN link to transmit the external service data, the internal control data and VSIM operation data, and can effectively reduce the use cost compared with the implementation mode of signing up a plurality of APNs.
In a possible implementation manner of the first aspect, the binding the first connection with the first PDN link, so that the first connection is used to carry service data, includes:
Establishing a first virtual protocol module in the communication module;
acquiring a first IP address of the first PDN link through the first virtual protocol module;
the first IP address is assigned to the first connection for transmitting the traffic data using the first IP address.
In this way, the connection between the first connection and the first PDN link is established through the first virtual protocol module, so that service data of the upper computer can be transmitted between the communication module and the network device, and the UE can further carry external service data through the first PDN link.
In a further possible implementation manner of the first aspect, the assigning the first IP address to the first connection to transmit the service data using the first IP address includes:
establishing a first socket on the first virtual protocol module based on the first IP address;
and transmitting service data of the upper computer between the network equipment and the first socket through the first connection.
In a further possible implementation manner of the first aspect, the binding the second connection with the first PDN link, such that the second connection is used for carrying control signaling, includes:
Assigning the first IP address to the second connection and binding the second connection with the first virtual protocol module;
establishing a second socket on the first virtual protocol module based on the first IP address;
and transmitting the control signaling between the network equipment and the second connection and the second socket.
In this way, the connection between the second connection and the first PDN link is established through the first virtual protocol module, so that control signaling can be transmitted between the communication module and the network device, and the UE can carry built-in control data through the first PDN link.
In a further possible implementation manner of the first aspect, the method further includes:
deactivating the first connection in response to a first instruction;
deleting the first socket on the first virtual protocol module, wherein after deleting the first socket, the first connection is in a deactivated state and binding between the first connection and the first PDN link is released.
In a further possible implementation manner of the first aspect, the method further includes:
reinitiating a first PDN link establishment request according to the first APN under the condition that the binding between the first connection and the first PDN link is released and the initiator of the first instruction is not the upper computer;
If the first PDN link is successfully established, recovering transmission of the service data and the control signaling based on a first IP address, the first connection and the second connection with the network equipment;
and if the first PDN link is not successfully established and the establishment times do not reach the preset times, re-initiating the first PDN link establishment request according to the first APN after a first duration.
Therefore, under the condition of network disconnection or disconnection of the first PDN link caused by other reasons, the first PDN link is reestablished, the upper computer can access the network by means of the communication module, and the service data and the control signaling are transmitted between the upper computer and the network equipment through the reestablished first PDN link, so that the stability of data transmission is ensured.
In a further possible implementation manner of the first aspect, the method further includes:
deactivating the second connection in response to a second instruction;
deleting the second socket on the first virtual protocol module, wherein the second connection is in a deactivated state after deleting the second socket.
In a further possible implementation manner of the first aspect, the second connection comprises a connection between a VSIM card and a first virtual protocol module in the communication module, and/or the second connection comprises a connection between an application in the communication module and the first virtual protocol module in the communication module.
In this way, the VSIM card can transmit relevant operation data of the VSIM card through the first PDN link between the communication module and the network device, and the UE can further carry the relevant operation data of the VSIM card through the first PDN link.
In a second aspect, embodiments of the present application provide a processing device, the processing device comprising a processing unit and an activation unit,
the processing unit is used for:
initiating a network injection request, and establishing a first PDN link between the communication module and network equipment based on a first APN; binding the first connection with the first PDN link so that the first connection is used for bearing service data of an upper computer;
binding the second connection with the first PDN link such that the second connection is used to carry control signaling;
the activation unit is used for:
responding to an external dialing instruction, and activating a first connection between the upper computer and the communication module;
at least one second connection is activated in response to the built-in dialing instruction.
In a possible implementation manner of the second aspect, the processing unit is further configured to:
establishing a first virtual protocol module in the communication module;
acquiring a first IP address of the first PDN link through the first virtual protocol module;
And distributing the first IP address to the first connection so as to transmit service data of the upper computer by utilizing the first IP address.
In a further possible implementation manner of the second aspect, the processing unit is further configured to:
establishing a first socket on the first virtual protocol module based on the first IP address;
and transmitting service data of the upper computer between the network equipment and the first socket through the first connection.
In a further possible implementation manner of the second aspect, the processing unit is further configured to:
assigning the first IP address to the second connection and binding the second connection with the first virtual protocol module;
establishing a second socket on the first virtual protocol module based on the first IP address;
and transmitting the control signaling between the network equipment and the second connection and the second socket.
In a further possible implementation manner of the second aspect, the processing unit is further configured to:
deleting the first socket on the first virtual protocol module, wherein after deleting the first socket, the first connection is in a deactivated state and binding between the first connection and the first PDN link is released;
The activation unit is further configured to deactivate the first connection in response to a first instruction.
In a further possible implementation manner of the second aspect, the processing unit is further configured to:
reinitiating a first PDN link establishment request according to the first APN under the condition that the binding between the first connection and the first PDN link is released and the initiator of the first instruction is not the upper computer;
if the first PDN link is successfully established, recovering transmission of the service data and the control signaling based on a first IP address, the first connection and the second connection with the network equipment;
and if the first PDN link is not successfully established and the establishment times do not reach the preset times, re-initiating the first PDN link establishment request according to the first APN after a first duration.
In a further possible implementation manner of the second aspect, the processing unit is further configured to:
deleting the second socket on the first virtual protocol module, wherein the second connection is in a deactivated state after deleting the second socket;
the activation unit is further configured to deactivate the second connection in response to a second instruction.
In a further possible implementation manner of the second aspect, the second connection comprises a connection between a VSIM card and a first virtual protocol module in the communication module, and/or the second connection comprises a connection between an application in the communication module and a first virtual protocol module in the communication module.
In a third aspect, embodiments of the present application provide a computing device comprising a processor and a memory; the processor executes instructions stored in the memory to cause the computing device to implement the method described in any one of the preceding aspects.
Optionally, the computing device further comprises a communication interface for receiving and/or transmitting data, and/or for providing input and/or output to the processor.
The above embodiment is described taking a processor (or general-purpose processor) for executing a method by calling a computer specification as an example. In particular implementations, the processor may also be a special purpose processor in which the computer instructions are already preloaded in the processor. In the alternative, the processor may include both a special purpose processor and a general purpose processor.
In the alternative, the processor and memory may be integrated in one device, i.e., the processor and memory may be integrated.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having instructions stored therein that, when executed by a computing device, cause the computing device to implement a method as described in any of the preceding aspects.
In a fifth aspect, the present application provides a computer program product comprising computer instructions which, when executed by a computing device, cause the computing device to implement the method described in any of the preceding first aspects.
Alternatively, the computer program product may be a software installation package or an image file, which may be retrieved and executed on a computing device in case the aforementioned method is required.
The technical solutions provided in the second to fifth aspects of the present application may refer to the beneficial effects of the technical solutions of the first aspect, and are not described herein again.
Drawings
The drawings that are used in the description of the embodiments will be briefly described below.
Fig. 1 is a schematic architecture diagram of a communication system according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a communication method according to an embodiment of the present application;
fig. 3 is a schematic diagram of external dialing provided in an embodiment of the present application;
fig. 4 is a schematic diagram of a built-in dialing provided in an embodiment of the present application;
FIG. 5 is a schematic illustration of yet another internal dialing provided in an embodiment of the present application;
FIG. 6 is a schematic diagram of a deactivation process according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a processing device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a computing device according to an embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
The following describes a system architecture applied to the embodiment of the present application. It should be noted that, the system architecture and the service scenario described in the present application are for more clearly describing the technical solution of the present application, and do not constitute a limitation on the technical solution provided in the present application, and those skilled in the art can know that, with the evolution of the system architecture and the appearance of the new service scenario, the technical solution provided in the present application is also applicable to similar technical problems.
The embodiment of the application provides a communication method, and in order to describe the scheme of the application more clearly, some knowledge related to data communication of the scheme is introduced below.
(1) Public data networks (public data network, PDN), which are communication networks that provide data communication services to the public.
(2) An access point (access point name, APN), which is a parameter that must be configured when the user equipment is surfing the internet, determines which type of network the user equipment accesses by which access mode. There are many types of external networks that can be accessed by a user, for example: the Internet, wireless application protocol (wireless application protocol, WAP) is a WAP website, a group enterprise intranet, an industry intranet private network. The range and access modes that can be accessed by different APNs are different, and the network side distinguishes which network to access after the user equipment is activated by the APN so as to allocate the IP address of the network segment, i.e. the APN determines what type of network the user equipment accesses by which access mode.
(3) Packet data protocol (packet data protocol, PDP), which is a network protocol used by external PDN networks and GPRS interfaces.
(4) Dynamic host configuration protocol (dynamic host configuration protocol, DHCP), which allows servers to dynamically allocate IP addresses and configuration information to clients.
(5) The internet protocol (internet protocol, IP) address is translated into an internet protocol address, and the IP address is an IP address allocated to the communication module after the network device receives the dialing request sent by the communication module, where the IP address is used to point to a communication link between the communication module and the network device.
(6) The built-in dialing means that the communication module can access the network after dialing and can transmit data service with the network equipment.
(7) The external dialing means that the user equipment can operate the upper computer to access the network by means of the communication module after dialing, and the communication module can transmit data service with the network equipment, and the communication module cannot directly transmit data service with the network equipment at the moment. Generally, a key step in the practical use process of the communication module is dialing, and the dialing is divided into internal dialing and external dialing. After the built-in dialing is completed, the communication module can transmit data service with the network equipment through the PDN link. After the external dialing is finished, the upper computer connected with the communication module can transmit data service with the network equipment through the PDN link. The dialing process mainly comprises the steps that after the communication module obtains the IP address correspondingly allocated by the PDN link established by the network equipment and the graphic module, the communication module configures the IP address of the virtual protocol module according to the received activation instruction of the internal dialing or the external dialing so as to realize communication connection with the network equipment.
(8) A Socket (Socket) is an abstraction of an endpoint that communicates bi-directionally between application processes on different hosts in a network. The socket is connected with the application process in an uplink mode, and the socket is connected with the network protocol stack in a downlink mode, is an interface for the application program to communicate through the network protocol, and is an interface for the application program to interact with the network protocol stack.
When the current terminal equipment establishes communication connection with the network equipment through the communication module to process service, two PDN links between the communication module and the network equipment are required to be established for complex terminal functions to respectively bear external service data and built-in control data. In practical use, there may be a case where a user signs up for an APN only at an operator to establish a PDN link to carry external service data, and uses a default APN of a communication module in a network injection process of a terminal device to establish another PDN link to carry internal control data. However, in this manner, the terminal device signs up for only one APN, but two PDN links are actually established using two APNs, and different network devices process the service of the terminal device according to different policies, so that situations such as data loss or PDN link interruption may occur. Alternatively, the user may sign up for two APNs to establish two PDN links to carry external service data and internal control data, respectively, but this approach may lead to a later increase in usage costs.
In view of this, the application provides a communication method and related device, which can bear external service data and built-in control data through the same PDN link, reduce the possibility of occurrence of data loss or interruption of the PDN link due to different PDN links, and effectively reduce the use cost compared with the implementation of signing multiple APNs.
Referring to fig. 1, fig. 1 is a schematic architecture diagram of a communication system provided in an embodiment of the present application, and as shown in fig. 1, the communication system includes a user equipment UE10 and a network device 103. The UE10 includes a host 101 and a communication module 102. Further, the communication module 102 further includes a virtual protocol module 1021.
A User Equipment (UE) 10 is a user terminal in mobile communication. By way of example, the UE may comprise a cell phone, a smart terminal, a multimedia device, a streaming media device, or the like.
The upper computer 101 may be a computer or a single chip microcomputer that directly sends operation instructions, and generally provides an operation interaction interface for a user. Illustratively, the upper computer 101 may be a computer, a mobile phone, a tablet, a panel, a touch screen, etc., which may also be part of the UE.
The communication module 102 is an apparatus or device for establishing a communication connection with a network device. The communication module 102 may be divided into a cellular communication module and a non-cellular communication module according to the communication technology. Among them, cellular communications include, but are not limited to: second generation mobile phone communication technology (2nd generation wireless telephone technology,2G), third generation mobile communication technology (3rd generation wireless telephone technology,3G), fourth generation mobile communication technology (4th generation mobile communication technology,4G), fifth generation mobile communication technology (5th generation mobile communication technology,5G), narrowband internet of things (narrow band internet of things, NB-IoT), and the like. Non-cellular communications include, but are not limited to: bluetooth, wi-Fi, zigBee technology (ZigBee technology, zigBee), long range radio (LoRa), etc.
The network device 103 may be a device for network communication with the user equipment UE 10. The network device 103 may be an evolved base station (evolutional nodeB, eNB or eNodeB) in the LTE system, a radio controller in a cloud radio access network (cloud radio access network, CRAN) scenario, or a relay station, an access point, a vehicle device, a wearable device, a network device in a future 5G network, or a network device in a future evolved PLMN network, etc. by way of example.
The virtual protocol module 1021 is used for transmitting data traffic between the communication module 102 and the network device 103 and/or the virtual protocol module 1021 is used for transmitting data traffic between the host computer 101 and the network device 103.
In this embodiment of the present application, the UE10 establishes a first PDN link between the communication module 102 and the network device 103 according to the first APN, the UE10 activates a first connection between the host 101 and the communication module 102 in response to an external dialing instruction, and transmits service data of the host 101 between the first connection and the first PDN link and the network device 103, and the UE10 activates a second connection in response to an internal dialing instruction, and transmits control signaling between the second connection and the first PDN link and the network device 103.
Therefore, the UE can bear external service data, built-in control data and VSIM operation data through the same PDN link, the possibility of data loss or interruption of the PDN link caused by different PDN links is reduced, and the use cost can be effectively reduced compared with the implementation mode of signing a plurality of APNs.
Method embodiments of the present application are described below.
Referring to fig. 2, fig. 2 is a flow chart of a communication method according to an embodiment of the present application. Alternatively, the method may be applied to the user equipment UE, for example, the method may be applied to the user equipment UE10 shown in fig. 1.
The communication method as shown in fig. 2 may include a plurality of steps among steps S201 to S205. It should be understood that the description of the sequence of steps S201-S205 is provided for convenience of description, and is not intended to limit the execution of the sequence. The embodiment of the present application is not limited to the execution sequence, execution time, execution times, and the like of the one or more steps. The steps S201-S205 are specifically as follows:
step S201: and after the UE is started, initiating a network injection request, and establishing a first PDN link between the communication module and the network equipment based on the first APN.
The UE is a user terminal in mobile communication, and illustratively, the UE may include a mobile phone, an intelligent terminal, a multimedia device, a streaming media device, or the like. As a possible implementation, the UE includes a communication module that can establish a communication connection with the network device. The network device may be a device for network communication with the UE. The relevant description is referred to above.
As a possible implementation manner, the UE initiates a network injection request after power-on, and establishes a first PDN link between the communication module and the network device based on the first APN, so as to implement a communication connection between the communication module and the network device. The first APN may be a default APN of the communication module.
Illustratively, the first APN is a default APN, and all user equipment will include the default APN when shipped. If the default APN cannot be used for the network injection. Alternatively, the user may manually set a default APN, e.g., define a default APN from one or more APNs for the annotating. Optionally, in some schemes, the UE establishes the PDN link using one of the APNs in order from high to low according to the priority of the APNs until the establishment is successful. By way of example, the priority may be related to one or more of the following information: the configuration sequence of the APNs, the network conditions corresponding to the last use of the APNs, the user-defined priorities, and the like.
For example, the first APN may be an APN name "CMNET" and an APN type is a default type of APN. The APN name is "CMNET" indicating that the visited network is a china mobile network, and the default type is an APN type used for ordinary data communication, that is, after the UE is started, a first PDN link between the communication module and the china mobile network is established according to the first APN, so that the UE can access the china mobile network. Optionally, the APN type also includes both MMS and WAP types. The MMS type is used for sending and receiving the multimedia message, and the WAP type is used for accessing WAP websites.
Step S202: and the UE responds to the external dialing instruction and activates the first connection between the upper computer and the communication module.
Specifically, when the UE is to dial-up, the corresponding communication connection may be activated according to the received dialing instruction to carry data.
For a scenario requiring both internal dialing and external dialing or alternatively using internal and external dialing, in order to obtain a quick response for a dialing service, in the prior art, a path Command Identifier (CID) is used to request a path of IP address from a network device when performing a first dialing, and another path of CID is used to request a path of IP address from the network device when performing a second dialing. Thus, different communication connections are denoted in this application by CID1, CID2 and CID 3.
In one possible implementation, the UE further includes a host computer, and when the UE needs to use the host computer to transmit service data, the host computer sends an external dialing instruction to the communication module, and the communication module activates a first connection (CID 1 path) between the host computer and the communication module in response to the external dialing instruction.
Optionally, the upper computer may send an external dialing instruction by using an AT instruction (Attention), and the communication module may receive an AT instruction of external dialing sent by the upper computer through the AT instruction interface, so as to activate the first connection to perform communication in response to the external dialing instruction.
Step S203: the UE binds the first connection with the first PDN link so that the first connection is used for bearing service data of the upper computer.
Specifically, the communication module activates the PDP protocol of the first connection (CID 1 path) through the external dialing instruction, and binds the first connection (CID 1 path) with the first PDN link. The first connection is used for bearing service data of the upper computer.
In one possible implementation manner, the UE establishes a first virtual protocol module in the communication module, obtains a first IP address of the first PDN link through the first virtual protocol module, and allocates the first IP address to the first connection, so as to transmit service data of the upper computer by using the first IP address. Therefore, the UE transmits service data of the upper computer with the network equipment based on the first connection and the first IP address, so that the communication connection between the upper computer and the network equipment is realized. Optionally, the UE establishes the first virtual protocol module in the communication module, or establishes an external network card, which is a connection relationship between the UE and the upper computer established in the communication module. Specifically, the UE binds a first connection (CID 1 path) between the upper computer and the communication module to a first connection (CID 1 path) between the upper computer and a first virtual protocol module in the communication module, and further, the UE obtains a first IP address of the first PDN link through the first virtual protocol module, and configures the first IP address on the first virtual protocol module. Still further, the upper computer can obtain the first IP address allocated to the first PDN link through the network card and the DHCP protocol, and further, the upper computer can transmit service data of the upper computer through the first connection and between the first PDN link and the network device. Optionally, the first virtual protocol module may be an external network card, and the UE starts a DHCP protocol through the external network card, so that the upper computer obtains a first IP address allocated to the first PDN link through the external network card and the DHCP protocol.
Further, the UE may establish a first Socket (Socket) on the first virtual protocol module based on the first IP address, and through the first Socket, an application in the UE may perform data interaction with the network protocol stack. Therefore, the upper computer can transmit service data of the upper computer between the first socket and the network equipment through the first connection.
For example, please refer to fig. 3, fig. 3 is a schematic diagram of external dialing provided in the embodiment of the present application. As shown in fig. 3, a first PDN link is established between the communication module and the network device, the upper computer acquires some service data, such as video data or picture data, and the like, and needs to transmit the service data to the network device, and the upper computer may send an external dialing instruction to the communication module, so that the communication module activates a first connection (CID 1 path) between the communication module and the upper computer, that is, activates a PDP protocol of the first connection (CID 1 path), binds the first connection (CID 1 path) with the first PDN link, the UE establishes a first virtual protocol module in the communication module, acquires a first IP address of the first PDN link through the first virtual protocol module, and establishes a first Socket (Socket) on the first virtual protocol module based on the first IP address, and further, the upper computer transmits the service data of the upper computer to the communication module through the first connection, and the communication module transmits the service data, such as video data or picture data, between the upper computer and the network device through the first Socket and the first PDN link. Therefore, the upper computer can access the network by means of the communication module and transmit service data with the network equipment through the first PDN link.
Step S204: the UE activates at least one second connection in response to the built-in dialing instruction.
In one possible implementation, when the UE needs to transmit control signaling using the communication module, the communication module receives a built-in dialing instruction sent by the upper computer or a built-in dialing instruction sent by the VSIM card, and activates the second connection (CID 1 path) in response to the built-in dialing instruction. The second connection is for carrying control signaling, and the second connection may be a connection between an application in the communication module and a first virtual protocol module in the communication module. Optionally, if the UE further includes a VSIM card, the second connection may also be a connection between the VSIM card and the first virtual protocol module in the communication module. The virtual SIM card technology (VSIM card) refers to a mode of implementing network connection completely by the software and hardware of the communication module without a physical SIM card.
In one possible implementation, the upper computer may send a built-in dialing instruction using an AT instruction (Attention), and the communication module may receive the AT instruction of the built-in dialing sent by the upper computer through the AT instruction interface, so that the communication module activates the second connection to perform communication in response to the built-in dialing instruction.
Step S205: the UE binds the second connection with the first PDN link such that the second connection is used for bearer control signaling.
Specifically, the communication module activates the PDP protocol of the second connection (CID 2 way) by means of the built-in dialing instruction, i.e. binds the second connection (CID 2 way) with the first PDN link.
In one possible implementation, the UE assigns a first IP address to the second connection to transmit control signaling using the first IP address. Thus, the UE establishes a second Socket (Socket) on the first virtual protocol module based on the first IP address, and through the second Socket, the application program and the network protocol stack can perform data interaction. Thus, the UE may communicate control signaling between the second socket and the network device over the second connection. Optionally, if the UE further includes a VSIM card, the UE may transmit VSIM card related operation data between the second connection and the second socket and the network device.
For example, referring to fig. 4, fig. 4 is a schematic diagram of an internal dialing provided in the embodiment of the present application, as shown in fig. 4, a first PDN link is established between a communication module and a network device, an application in the communication module obtains some control signaling, for example, a user on-line state or an application start state, and the like, needs to transmit the control signaling to the network device, and an upper computer may send an internal dialing instruction to the communication module, so that the communication module activates a second connection (CID 2 way), that is, activates a PDP protocol of the second connection (CID 2 way), and binds the second connection (CID 2 way) to the first PDN link, and the UE establishes a second Socket (Socket) on the first virtual protocol module based on the first IP address, and transmits the control signaling, for example, the user on-line state or the application start state, and the like, between the communication module and the network device. In this way, the communication module and the network device can transmit control signaling through the first PDN link.
Still further exemplary, referring to fig. 5, fig. 5 is a schematic diagram of a built-in dialing provided in the embodiment of the present application, as shown in fig. 5, a VSIM card exists in a communication module in a UE, a first PDN link is established between the communication module and a network device, some related operations of the VSIM card need to be transmitted to the network device, the VSIM card may directly send a built-in dialing instruction to the communication module, so that the communication module activates a second connection (CID 3 path), i.e. activates a PDP protocol of the second connection (CID 3 path), and binds the second connection (CID 3 path) with the first PDN link, and the UE establishes a second Socket (Socket) on the first virtual protocol module based on the first IP address, and transmits related operation data of the VSIM card between the network device and the network device through the second connection, the second Socket and the first PDN link. In this way, the VSIM card may transmit relevant operation data of the VSIM card through the first PDN link between the communication module and the network device.
In a possible implementation manner, please refer to fig. 6, fig. 6 is a schematic diagram of a deactivation flow provided in the embodiment of the present application, as shown in fig. 5, the UE deactivates the first connection (CID 1 path) in response to the first instruction, deletes the first socket on the first virtual protocol module, and when the first socket is deleted, the first connection is in a deactivated state and the binding between the first connection and the first PDN link is released. If the initiator of the first instruction is not an upper computer, the UE may disconnect the network or remove the binding between the first connection and the first PDN link due to other reasons, and need to reinitiate a PDN link establishment request with the network device, and the UE may reinitiate the first PDN link establishment request according to the first APN. The PDN link established using the same first APN may be considered as the same PDN link, that is, the re-established first PDN link may be the same PDN link as the original first PDN link.
Further, as shown in fig. 5, if the first PDN link is successfully established, the UE resumes transmission of service data and control signaling of the upper computer based on the first IP address, the first connection, and between the second connection and the network device. For example, for convenience of description, the re-established first PDN link is referred to as a second PDN link, the UE obtains, through the first virtual protocol module, a first IP address of the second PDN link, establishes a third socket on the first virtual protocol module based on the first IP address, activates a first connection between the host computer and the communication module, and transmits service data of the host computer with the network device through the first connection and the third socket. Similarly, the UE may resume transmission control signaling with the network device. In this way, under the condition that the network is disconnected or the first PDN link is disconnected due to other reasons, the second PDN link is established, the upper computer can access the network by means of the communication module, and the service data transmission is carried out between the upper computer and the network equipment through the second PDN link, so that the stability of the service data transmission is ensured.
For example, as shown in fig. 5, if the first PDN link is not successfully established and the number of establishment times does not reach the preset number of times, the UE re-initiates the first PDN link establishment request according to the first APN after the first duration.
For example, for convenience of description, the re-established first PDN link is referred to as a second PDN link, and when the establishment of the second PDN link according to the first APN and the network device fails and the number of establishment times does not reach K, the second PDN link is established again according to the first APN and the network device after the first duration, where K is an integer and K is greater than or equal to 1. Alternatively, K may be 2 and the first duration may be 3s. For another example, the UE may establish a second PDN link with the network device according to the first APN, and when establishing the second PDN link fails, delay 3s to re-establish the second PDN link with the network device according to the first APN up to 2 times, and if 2 times of establishing the second PDN link with the network device according to the first APN fails, stop establishing the second PDN link, and wait for repairing the network or generate a prompt message to prompt the user, for example, pop up a prompt box, where the content in the prompt box is "the network failure, please repair the network".
In one possible implementation, the UE deactivates the second connection (CID 2 way) in response to the second instruction and deletes the second socket on the first virtual protocol module, the second connection being in a deactivated state when the second socket is deleted.
In the embodiment shown in fig. 2, the UE includes an upper computer and a communication module, initiates a network injection request after the UE is powered on, establishes a first PDN link between the communication module and the network device based on a first APN, activates a first connection between the upper computer and the communication module in response to an external dialing instruction, binds the first connection with the first PDN link so that the first connection is used for carrying service data of the upper computer, activates at least one second connection in response to an internal dialing instruction, and binds the second connection with the first PDN link so that the second connection is used for carrying control signaling. Therefore, the UE can bear external service data, built-in control data and VSIM operation data through the same PDN link, the possibility of data loss or interruption of the PDN link and the like caused by different PDN links is reduced, and the use cost can be effectively reduced compared with the implementation mode of signing a plurality of APNs.
The foregoing details the method of embodiments of the present application and the apparatus of embodiments of the present application are provided below.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a processing apparatus according to an embodiment of the present application. The processing device 70 may include a processing unit 701 and an activation unit 702. The processing device 70 is configured to implement the aforementioned communication method, such as the communication method in the embodiment shown in fig. 2.
The division of the plurality of units is merely a logical division according to functions, and is not limited to a specific configuration of the processing device 70. In a specific implementation, some of the functional modules may be subdivided into more tiny functional modules, and some of the functional modules may be combined into one functional module.
In a possible implementation manner, the processing unit 701 is configured to:
initiating a network injection request, and establishing a first PDN link between the communication module and the network equipment based on a first APN;
binding the first connection with a first PDN link so that the first connection is used for bearing service data of an upper computer;
binding the second connection with the first PDN link such that the second connection is used to carry control signaling;
the activation unit 702 is configured to:
Responding to an external dialing instruction, and activating a first connection between the upper computer and the communication module;
at least one second connection is activated in response to the built-in dialing instruction.
In a possible implementation, the processing unit 701 is further configured to:
establishing a first virtual protocol module in the communication module;
acquiring a first IP address of a first PDN link through a first virtual protocol module;
and allocating the first IP address to the first connection so as to transmit service data of the upper computer by using the first IP address.
In a possible implementation, the processing unit 701 is further configured to:
establishing a first socket on the first virtual protocol module based on the first IP address;
and transmitting service data of the upper computer with the network equipment through the first connection and the first socket.
In a possible implementation, the processing unit 701 is further configured to:
assigning the first IP address to the second connection and binding the second connection with the first virtual protocol module;
establishing a second socket on the first virtual protocol module based on the first IP address;
control signaling is transmitted with the network device over the second connection and the second socket.
In a possible implementation, the processing unit 701 is further configured to:
Deleting a first socket on the first virtual protocol module, wherein after deleting the first socket, the first connection is in a deactivated state and binding between the first connection and the first PDN link is released;
the activation unit 702 is further configured to deactivate the first connection in response to a first instruction.
In a possible implementation, the processing unit 701 is further configured to:
under the condition that the binding between the first connection and the first PDN link is released and the initiator of the first instruction is not an upper computer, re-initiating a first PDN link establishment request according to the first APN;
if the first PDN link is successfully established, recovering transmission service data and control signaling between the network equipment and the network equipment based on the first IP address, the first connection and the second connection;
and if the first PDN link is not successfully established and the establishment times do not reach the preset times, re-initiating the first PDN link establishment request according to the first APN after the first duration.
In a possible implementation, the processing unit 701 is further configured to:
deleting a second socket on the first virtual protocol module, wherein the second connection is in a deactivated state after the second socket is deleted;
the activation unit 702 is further configured to deactivate the second connection in response to the second instruction.
In one possible implementation, the second connection comprises a connection between the VSIM card and a first virtual protocol module in the communication module, and/or the second connection comprises a connection between an application in the communication module and the first virtual protocol module in the communication module.
It should be noted that the above units (the processing unit 701 and the activating unit 702) are configured to perform the relevant steps of the above method. For example, the processing unit 701 is configured to execute the related contents of step S201, step S203, and step S205, and the activating unit 702 is configured to execute the related contents of step S202 and step S204.
Fig. 8 is a schematic structural diagram of a computing device according to an embodiment of the present application. Computing device 80 is a device having processing capabilities, where the device may be an entity device such as a server (e.g., rack-mounted server), host, etc., or may be a virtual device such as a virtual machine, container, etc.
As shown in fig. 8, the computing device 80 includes: the processor 801 and the memory 802, as well as one or more programs, may include a communication interface 803. It should be understood that the present application is not limited to the number of processors, memories in computing device 80.
The processor 801 is a module for performing operations and may include a central processing unit (central processing unit, CPU), a graphics processor (graphics processing unit, GPU), a Microprocessor (MP), a digital signal processor (digital signal processor, DSP), a micro control unit (micro controller unit, MCU), or one or more integrated circuits for controlling the execution of the above program.
The memory 802 is used to provide storage space in which application data, user data, operating systems, computer programs, and the like are optionally stored. Memory 802 may include, but is not limited to, read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (random access memory, RAM) or other types of dynamic storage devices that can store information and instructions, but may also be electrically erasable programmable read-only memory (EEPROM), compact disc-read only memory (compact disc read-only memory) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 802 may be provided separately and may be coupled to the processor 801 via a bus. Memory 802 may also be integrated with processor 801.
The communication interface 803 is for providing an information input or output to the at least one processor. And/or the communication interface 803 may be used to receive externally transmitted data and/or transmit data to the outside. The communication interface 803 may be a wired link interface including, for example, an ethernet cable, or may be a wireless link (Wi-Fi, bluetooth, general wireless transmission, other wireless communication technologies, etc.) interface. Optionally, the communication interface 803 may also include a transmitter (e.g., radio frequency transmitter, antenna, etc.) or a receiver, etc. coupled to the interface.
In the embodiment of the present application, the above-described one or more programs are stored in the above-described memory 802 in the form of program codes and configured to be executed by the above-described processor 801, the programs including instructions for implementing the steps in the foregoing communication method. Such as the communication method shown in fig. 2. I.e. the memory 802 stores executable instructions that the processor 801 executes to implement the aforementioned communication method, e.g. the communication method in the embodiment of fig. 2. That is, the memory 802 has instructions stored thereon for performing the communication method.
Alternatively, the memory 802 stores executable instructions that are executed by the processor 801 to implement the functions of one or more of the aforementioned processing units and activation units (or devices), respectively, to thereby implement a communication method.
Embodiments of the present application also provide a computer program product comprising instructions. The computer program product may be software or a program product containing instructions capable of running on a computing device or stored in any useful medium. The computer program instructions are for implementing the aforementioned communication method, such as the communication method in the embodiment of fig. 2.
Embodiments of the present application also provide a computer-readable storage medium. The computer readable storage medium includes instructions for implementing the aforementioned communication method, such as the communication method in the embodiment of fig. 2.
The computer readable storage medium may be any available medium that can be stored by a computing device or a data storage device such as a data center containing one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk), etc.
In the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as examples, illustrations, or descriptions. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
Reference to "at least one" in embodiments herein means one or more, and "a plurality" means two or more. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a. b, c, (a and b), (a and c), (b and c), or (a and b and c), wherein a, b, c may be single or plural. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: three cases of a alone, a and B together, and B alone, wherein A, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship.
And, unless otherwise indicated, the use of ordinal numbers such as "first," "second," etc., in the embodiments herein are used for distinguishing between multiple objects and not for defining a sequence, timing, priority, or importance of the multiple objects. For example, the first connection and the second connection are merely for convenience of description, and are not indicative of differences in deployment order, importance, etc. of the first connection and the second connection.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read only memory, a magnetic disk or an optical disk, etc.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; these modifications or substitutions do not depart from the essence of the corresponding technical solutions from the protection scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. The communication method is characterized by being applied to User Equipment (UE), wherein the UE comprises an upper computer and a communication module, and the method comprises the following steps:
initiating a network injection request after the UE is started, and establishing a first PDN link between the communication module and network equipment based on a first APN;
responding to an external dialing instruction, and activating a first connection between the upper computer and the communication module;
binding the first connection with the first PDN link so that the first connection is used for bearing service data of an upper computer;
activating at least one second connection in response to the internal dialing instruction;
binding the second connection with the first PDN link such that the second connection is used to carry control signaling.
2. The method of claim 1, wherein the binding the first connection with the first PDN link such that the first connection is used to carry traffic data for a host computer, comprises:
establishing a first virtual protocol module in the communication module;
acquiring a first IP address of the first PDN link through the first virtual protocol module;
and distributing the first IP address to the first connection so as to transmit the service data of the upper computer by utilizing the first IP address.
3. The method of claim 2, wherein the assigning the first IP address to the first connection to transmit traffic data of the host computer using the first IP address comprises:
establishing a first socket on the first virtual protocol module based on the first IP address;
and transmitting service data of the upper computer between the network equipment and the first socket through the first connection.
4. The method of claim 2, wherein the binding the second connection with the first PDN link such that the second connection is used for bearer control signaling, comprises:
assigning the first IP address to the second connection and binding the second connection with the first virtual protocol module;
establishing a second socket on the first virtual protocol module based on the first IP address;
and transmitting the control signaling between the network equipment and the second connection and the second socket.
5. A method according to claim 3, characterized in that the method further comprises:
deactivating the first connection in response to a first instruction;
Deleting the first socket on the first virtual protocol module, wherein after deleting the first socket, the first connection is in a deactivated state and binding between the first connection and the first PDN link is released.
6. The method of claim 5, wherein the method further comprises:
reinitiating a first PDN link establishment request according to the first APN under the condition that the binding between the first connection and the first PDN link is released and the initiator of the first instruction is not the upper computer;
if the first PDN link is successfully established, recovering transmission of the service data and the control signaling of the upper computer based on the first IP address, the first connection and the second connection with the network equipment;
and if the first PDN link is not successfully established and the establishment times do not reach the preset times, re-initiating a first PDN link establishment request according to the first APN after a first duration.
7. The method according to claim 4, wherein the method further comprises:
deactivating the second connection in response to a second instruction;
deleting the second socket on the first virtual protocol module, wherein the second connection is in a deactivated state after deleting the second socket.
8. The method according to any of claims 1-7, wherein the second connection comprises a connection between a VSIM card and a first virtual protocol module in the communication module and/or wherein the second connection comprises a connection between an application in the communication module and a first virtual protocol module in the communication module.
9. A computing device comprising a processor and a memory, the memory having stored therein a program comprising instructions for performing the method of any of claims 1-8.
10. A computer readable storage medium for storing a computer program comprising instructions for performing the method of any one of claims 1-8.
CN202311527885.6A 2023-11-15 2023-11-15 Communication method and related device Pending CN117615469A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311527885.6A CN117615469A (en) 2023-11-15 2023-11-15 Communication method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311527885.6A CN117615469A (en) 2023-11-15 2023-11-15 Communication method and related device

Publications (1)

Publication Number Publication Date
CN117615469A true CN117615469A (en) 2024-02-27

Family

ID=89958906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311527885.6A Pending CN117615469A (en) 2023-11-15 2023-11-15 Communication method and related device

Country Status (1)

Country Link
CN (1) CN117615469A (en)

Similar Documents

Publication Publication Date Title
CN106358245B (en) Method and controller for sharing load of mobile edge computing application
JP7130769B2 (en) Communication method and communication device
US20220124147A1 (en) Application relocation method and apparatus
JP7017586B2 (en) Wireless communication method, network equipment and terminal equipment
CN110073686B (en) Session activation method, device and system
US10560929B2 (en) Resource request method and system, device, and network side node
CN104796849A (en) Method and equipment for processing data packets
KR20190032505A (en) Paging method and paging device
CN109891830B (en) Function scheduling method, device and system
US11432355B2 (en) Control plane connection management method and apparatus
CN103238345A (en) Communication method, device and system all based on mobile management entity pool (MME Pool)
JP7086853B2 (en) Network access methods, related equipment and systems
KR101408745B1 (en) Service processing method and apparatus based on android system
WO2020244435A1 (en) Method, apparatus and system for sending terminal policy
CN112368976B (en) Terminal and method for performing group communication
CN117615469A (en) Communication method and related device
CN114679718B (en) Method, terminal and network equipment for controlling secondary cell group
CN116782167B (en) Data transmission method, device, electronic equipment, storage medium and program product
US20230188957A1 (en) Communication Method and Apparatus
RU2656248C2 (en) Message transmission method, apparatus and gateway device
KR20140044993A (en) Method and apparatus for detecting a small data in the mobile communication system
CN114258011B (en) Information sending method, information receiving method, information sending device, information receiving device and terminal
CN105119829A (en) Method, device and system for data transmission
CN114567876A (en) Equipment network access number management method, system, storage medium and electronic equipment
CN117858068A (en) Method and device for distributing network bridge ports

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination