CN114979072A - Automatic dialing network access method, host, wireless module and terminal equipment - Google Patents

Automatic dialing network access method, host, wireless module and terminal equipment Download PDF

Info

Publication number
CN114979072A
CN114979072A CN202210395672.1A CN202210395672A CN114979072A CN 114979072 A CN114979072 A CN 114979072A CN 202210395672 A CN202210395672 A CN 202210395672A CN 114979072 A CN114979072 A CN 114979072A
Authority
CN
China
Prior art keywords
wireless module
host
information
dial
networking
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
CN202210395672.1A
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.)
Fibocom Wireless Inc
Original Assignee
Fibocom Wireless Inc
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 Fibocom Wireless Inc filed Critical Fibocom Wireless Inc
Priority to CN202210395672.1A priority Critical patent/CN114979072A/en
Publication of CN114979072A publication Critical patent/CN114979072A/en
Priority to PCT/CN2022/141031 priority patent/WO2023197669A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]

Abstract

The application relates to an automatic dialing network access method, a host, a wireless module and terminal equipment. According to the method, the host registers the network state callback event to the wireless module, so that the wireless module notifies the host through the network state callback event after the dial-up networking is successful, the host responds to the first information reported by the network state callback event and sends an address configuration request to the wireless module, and the host executes dial-up networking operation according to the address information returned by the wireless module, so that a user does not need to initiate a DHCP request on the host side, the operation of the user is simplified, and the host realizes automatic dial-up networking.

Description

Automatic dialing network access method, host, wireless module and terminal equipment
Technical Field
The present application relates to the field of dial-up networking technologies, and in particular, to an automatic dial-up networking method, a host, a wireless module, a terminal device, and a storage medium.
Background
With the development of wireless communication technology, users have more and more strong demands for wireless internet access services, and a product, namely a wireless module, is generated according to the demands. However, if the wireless module is needed to achieve the purpose of wireless internet access of the host, the user is often required to perform corresponding operations on the host, for example: the user needs to initiate a DHCP request at the host side, which results in a cumbersome process of implementing wireless internet access of the host by using the wireless module.
Disclosure of Invention
In view of the foregoing, it is desirable to provide an automatic dial-up networking method, a host, a wireless module, a terminal device, and a storage medium, which enable the host to implement automatic dial-up networking.
In a first aspect, an automatic dial-up networking method is provided, which is applied to a terminal device, where the terminal device includes a host and a wireless module, and the method includes: the host registering a network state callback event with the wireless module; the wireless module executes dial-up networking operation, and reports first information to the host through the network state callback event after dial-up networking is successful, wherein the first information is used for representing that the dial-up networking of the wireless module is successful; the host sends an address configuration request to the wireless module in response to the first information sent by the wireless module; the wireless module returns address information to the host in response to the address configuration request; and the host executes dial-up networking operation according to the address information.
In a second aspect, an automatic dial-up networking method is provided, which is applied to a host, and the method includes: the host registers a network state callback event with the wireless module; the host responds to first information reported by the wireless module through the network state callback event, and sends an address configuration request to the wireless module, wherein the first information is used for representing that the wireless module successfully dials and surfs the internet, and the address configuration request is used for indicating the wireless module to return address information; and the host executes dial-up networking operation according to the address information returned by the wireless module.
In one embodiment, the host registering a network status callback event with the wireless module includes: the host loads a driver of the wireless module; the host registers a network state callback event with the wireless module through the driver.
In one embodiment, the host loads a driver of the wireless module, including: the host acquires a device identifier of the device; wherein the device is connected with the host; the host determines whether the equipment identifier of the equipment is consistent with a preset equipment identifier; the preset equipment identification is used for marking that the equipment is a wireless module; and under the condition that the equipment identification is consistent with the preset equipment identification, the host loads a driving program corresponding to the equipment identification.
In one embodiment, the network status callback event is used to send a broadcast message, where the broadcast message is used to notify the host that the wireless module successfully dials up; the host sends an address configuration request to the wireless module in response to the first information reported by the wireless module through the network state callback event, and the address configuration request comprises: the host sends an address configuration request to the wireless module in response to receiving the broadcast message.
In a third aspect, an automatic dial-up networking method is provided, which is applied to a wireless module, and includes: the wireless module executes dial-up networking operation, and reports first information to a host through a network state callback event after dial-up networking is successful, wherein the first information is used for representing that the dial-up networking of the wireless module is successful; the network state callback event is registered by the host with the wireless module; and the wireless module responds to an address configuration request sent by the host after receiving the first information and returns address information to the host.
In one embodiment, the wireless module is provided with a subscriber identity card, and the wireless module performs dial-up networking operation, including: the wireless module reads configuration information of the user identification card, wherein the configuration information comprises operator information and APN information, and the operator information is used for marking a network access mode of the user identification card; the wireless module sends a network registration request to acquire address information allocated by a base station in response to the network registration request; wherein the network registration request carries the operator information and the APN information.
In a fourth aspect, a host is provided, which includes a memory and a processor, where the memory stores a computer program, and the processor executes the computer program to implement the automatic dial-up networking method according to any one of the second aspects.
In a fifth aspect, a wireless module is provided, which includes a memory and a processor, where the memory stores a computer program, and the processor executes the computer program to implement the automatic dial-up networking method according to any one of the third aspects.
A sixth aspect provides a terminal device comprising the host according to the fourth aspect and the wireless module according to the fifth aspect.
In a seventh aspect, there is provided a computer readable storage medium, on which a computer program is stored, the computer program, when being executed by a processor, implementing the automatic dial-up networking method according to any one of the above first aspects, or the computer program, when being executed by a processor, implementing the automatic dial-up networking method according to any one of the above second aspects, or the computer program, when being executed by a processor, implementing the automatic dial-up networking method according to any one of the above third aspects.
According to the automatic dialing network access method, the host registers the network state callback event to the wireless module, so that the wireless module notifies the host through the network state callback event after the dialing network access is successful, the host responds to the first information reported by the network state callback event and sends the address configuration request to the wireless module, and the host executes the dialing network access operation according to the address information returned by the wireless module, so that a user does not need to initiate a DHCP request on the host side, the operation of the user is simplified, and the host realizes the automatic dialing network access.
Drawings
FIG. 1 is a diagram illustrating a terminal device according to an embodiment;
fig. 2 is a schematic flow chart of an automatic dial-up networking method in the first embodiment;
FIG. 3 is a flowchart illustrating a network state registration method according to an embodiment;
FIG. 4 is a flowchart illustrating a driver loading method according to an embodiment;
fig. 5 is a flowchart illustrating an automatic dial-up networking method according to a second embodiment;
FIG. 6 is a flow chart illustrating a method for dial-up networking of a wireless module according to an embodiment;
fig. 7 is a flowchart illustrating an automatic dial-up networking method according to a third embodiment;
fig. 8 is a flowchart illustrating an automatic dial-up networking method according to a fourth embodiment;
FIG. 9 is a block diagram of an embodiment of an automatic dial-up networking device;
fig. 10 is a block diagram of an automatic dial-up networking device according to another embodiment;
FIG. 11 is an internal block diagram of a host computer in one embodiment;
fig. 12 is an internal structural view of a wireless module in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The automatic dialing internet access method provided by the embodiment of the application can be applied to the terminal equipment shown in the figure 1. Optionally, the terminal device may be a sales terminal or a portable wifi. As shown in fig. 1, the end device may include a host 102 and a wireless module 104. Where host 102 communicates with wireless module 104. Optionally, the host 102 is connected to the wireless module 104 by wire. Optionally, the host 102 and the wireless module 104 are connected via a USB bus. The host 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and portable wearable devices, and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart car-mounted devices, and the like. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, and the like. Alternatively, the operating system of the host 102 may be a linux system. The wireless module 104 may be a wireless communication module, such as: USB wireless network card.
Referring to fig. 2, it shows an automatic dial-up networking method according to a first embodiment of the present application, which is described by taking the method as an example applied to the host in fig. 1, as shown in fig. 2, the automatic dial-up networking method includes steps S202 to S206.
S202, the host registers a network state callback event to the wireless module.
S204, the host sends an address configuration request to the wireless module in response to the first information reported by the wireless module through the network state callback event.
And S206, the host executes dial-up networking operation according to the address information returned by the wireless module.
The network state callback event is used for providing a mode for reporting first information, the triggering condition of the network state callback event is that the wireless module successfully dials up and surfs the internet, and the first information is used for representing that the wireless module successfully dials up and surfs the internet. The address configuration request is used for indicating the wireless module to return address information, and the address information is information required by the host computer for realizing the connection with the network. The dial-up networking operation executed by the host according to the address information returned by the wireless module comprises the operation executed by the host for realizing the connection with the network. In one embodiment, the address information includes an IP address and a DNS service address, and the host performs a dial-up operation according to the address information returned by the wireless module, including: and finishing IP configuration, adding system default routing and DNS server configuration according to the IP address and the DNS service address returned by the wireless module.
In one embodiment, the host registers a network status callback event with the wireless module, including: and when the wireless module is accessed to the host, the host transmits a network state callback event to the wireless module so as to register the network state callback event to the wireless module.
In one embodiment, the wireless module is pre-provisioned with a plurality of pre-selected network state callback states. The host registering a network state callback event with the wireless module, comprising: the host determines a target network state callback event from a plurality of preselected network state callback events provided by the wireless module to complete registration of the network state callback event with the wireless module. The target network state callback event is one of a plurality of preselected network state callback events, and the target network state callback event is a network state callback event registered by the host computer to the website network card.
In the embodiment, under the condition that the wireless module is accessed to the host, the host registers the network state callback event to the wireless module, so that the wireless module actively reports the information of successful dial-up networking to the host under the condition that the dial-up networking is successful, and the host is indicated to execute the address configuration request, thereby ensuring the feasibility of realizing automatic dial-up networking by the host.
In one embodiment, the network status callback event is used to send broadcast information used to notify the host that the wireless module has successfully dialed up. The host sends an address configuration request to the wireless module in response to first information reported by the wireless module through a network state callback event, and the address configuration request comprises the following steps: the host sends an address configuration request to the wireless module in response to the received broadcast information.
According to the automatic dialing network access method, the host registers the network state callback event to the wireless module, so that the wireless module notifies the host through the network state callback event after the dialing network access is successful, the host responds to the first information reported by the network state callback event and sends the address configuration request to the wireless module, and the host executes the dialing network access operation according to the address information returned by the wireless module, so that a user does not need to initiate a DHCP request on the host side, the operation of the user is simplified, and the host realizes the automatic dialing network access.
Referring to fig. 3, it shows a network status registration method provided in this embodiment, which is described by taking the method as an example applied to the host in fig. 1, as shown in fig. 3, the host registers a network status callback event with the wireless module, including steps S302 to S304.
S302, the host loads a driver of the wireless module.
It should be noted that the driver of the wireless module refers to a channel through which the host and the wireless module communicate with each other. And the host loads a driver corresponding to the wireless module under the condition that the wireless module is accessed, and establishes a basis for registering a network state callback event to the wireless module.
S304, the host registers the network state callback event with the wireless module through the driver.
In one embodiment, the driver establishes the control path, and after the control path is established, the driver of the host may establish a remote call connection with the wireless module, thereby enabling the host to register a network state callback event with the wireless module. In one embodiment, the host controls the wireless module to perform dial-up operation through the driver. Optionally, after the host successfully registers the network state callback event with the wireless module, the host sends second information to the wireless module through the driver, and the wireless module responds to the second information to execute dial-up networking operation. The second information is used for indicating the wireless module to execute dial-up networking operation.
In one embodiment, the sending, by the host to the wireless module, an address configuration request in response to the first information reported by the wireless module via the network status callback event includes: the host sends an address configuration request to the wireless module in response to the broadcast message received by the driver.
In this embodiment, when the host has access to the wireless module, the host automatically loads a driver corresponding to the wireless module, and registers a network state callback event with the wireless module through the driver.
Referring to fig. 4, it shows a driver loading method provided in an embodiment of the present application, and taking the application of the method to the host in fig. 1 as an example for description, as shown in fig. 4, the host loads a driver of a wireless module, including steps S402 to S406.
S402, the host acquires the device identification of the device.
Wherein the device identification may be used to identify a property of the device. The device carries the device identifier, and when the device is connected to the host, the host acquires the device identifier of the device to identify the device and provide a basis for loading the corresponding driver. Alternatively, the device identification may be ID information. In one embodiment, the device is a USB device, the host is connected to the host through a USB bus, the USB device is powered on, and the host reads the device identifier of the USB device after detecting that the USB device is connected.
S404, the host determines whether the device identifier of the device is consistent with the preset device identifier, and if so, executes step S406.
The preset device identifier is used for marking that the device is a wireless module, that is, the device carrying the preset device identifier is a wireless module. The host determines whether the device accessed to the host is a wireless module by determining whether the device identifier of the device is consistent with the preset device identifier.
S406, the host loads a driver corresponding to the device identification.
And loading a driving program corresponding to the equipment identifier when the equipment identifier of the equipment accessed to the host is consistent with the identifier of the preset equipment. It will be appreciated that the drivers for different devices may be different, and thus to ensure that the host can communicate with the wireless module, the loaded driver should correspond to the device identification. Optionally, the host does not execute the step of loading the driver when the device accessed to the host is inconsistent with the preset device identifier.
According to the method for loading the driver, the host can actively monitor whether the wireless module is accessed, and automatically loads the driver of the wireless module under the condition that the wireless module is monitored to be accessed, so that a user does not need to manually load the driver of the wireless module on the host, and the operation of the user is simplified.
Referring to fig. 5, an automatic dial-up networking method according to a second embodiment of the present application is shown, and is described by taking the method as an example of being applied to the wireless module in fig. 1, as shown in fig. 5, the automatic dial-up networking method includes steps S502 to S504.
S502, the wireless module executes dial-up networking operation and reports first information to the host through a network state callback event after dial-up networking is successful.
The network state callback event is used for providing a mode for reporting first information, the triggering condition of the network state callback event is that the wireless module successfully dials up and surfs the internet, and the first information is used for representing that the wireless module successfully dials up and surfs the internet. The network state callback event is registered by the host computer to the wireless module, and the operation of the wireless module for dialing up the internet refers to the operation executed for realizing the connection of the wireless module to the network, such as: network registration and dialing. When the wireless module successfully dials up, the wireless module reports first information to the host through a network state callback event to inform the host that the wireless module successfully dials up. In one embodiment, the network status callback event is registered by the host with the wireless module through a driver of the wireless module.
S504, the wireless module responds to the address configuration request sent by the host after receiving the first message, and returns address information to the host.
In one embodiment, the address information may include an IP address and a DNS service address, and in order to allocate the IP address to the host, the wireless module needs to complete dial-up networking first to provide a DHCP service. The wireless module dials to obtain an IP address allocated by the base station, and returns the IP address and the DNS service address to the host in response to an address configuration request sent by the host after receiving the first information.
Please refer to fig. 6, which illustrates a dial-up networking method of a wireless module according to an embodiment of the present application, and the method is applied to the wireless module in fig. 1 as an example for description. It should be noted that the wireless module is provided with a subscriber Identity module (sim) card, for example, a subscriber Identity module (sim) card or a Universal Subscriber Identity Module (USIM) card, and the subscriber Identity module may store Access Point Name (APN) information and operator information corresponding to the subscriber Identity module in advance.
As shown in fig. 6, the wireless module performs a dial-up operation, including steps S602 to S604.
S602, the wireless module reads the configuration information of the user identification card.
It should be noted that the configuration information includes operator information and APN information, where the operator information is used to mark a network access system of the subscriber identity module, the network access system is a network type, and the network access system includes, but is not limited to, LTE and NR.
S604, the wireless module sends a network registration request to acquire address information allocated by the base station in response to the network registration request.
The network registration request carries operator information and APN information. Optionally, the base station allocates a suitable network to the wireless module according to the operator information and the APN information, and the network allocates address information to the wireless module and returns the address information to the wireless module, so that the wireless module is connected to the network.
In one embodiment, the wireless module reads the operator configuration information in the SIM, sets a network access mode (LTE/NR) according to the operator information of the configuration information, performs network registration to complete network attachment, establishes a service bearer according to the APN information in the configuration information, establishes a PDN link in response to a service request message of the host, and obtains an IP address and a DNS service address allocated by the base station.
Referring to fig. 7, it shows an automatic dial-up networking method provided in a third embodiment of the present application, and taking the application of the method to the terminal device shown in fig. 1 as an example for explanation, as shown in fig. 7, the automatic dial-up networking method includes steps S702 to S710.
S702, the host registers the network callback event to the wireless module.
S704, the wireless module executes dial-up networking operation and reports first information to the host through a network state callback event after dial-up networking is successful.
S706, the host sends an address configuration request to the wireless module in response to the first information sent by the wireless module.
The wireless module returns address information to the host in response to the address configuration request S708.
S710, the host executes the dialing operation according to the address information.
Referring to fig. 8, which shows an automatic dial-up networking method according to a fourth embodiment of the present application, it should be noted that an operating system of a host is a linux system, and the host is preset with a background management program, a dial-up management program, and a kernel network subsystem.
S802, the host starts a background management program.
It should be noted that the background management program may be configured to detect whether the wireless module is accessed to the host, and in a case that the wireless module is detected to be accessed, start the dial manager to monitor the core network subsystem of the host to determine whether the wireless module is successfully dial-up. Optionally, after the host is powered on, the background management program is automatically started.
S804, the background management program of the host loads the driving program corresponding to the wireless module and starts the dialing management program under the condition that the background management program of the host detects that the wireless module is accessed.
S806, the driver of the host registers a network state callback event with the wireless module via the control path.
Wherein, the control path realizes the message transmission of the host and the wireless module based on the TCP/IP protocol.
And S808, the wireless module executes dial-up networking operation and calls a network state callback event to send broadcast information to the host after dial-up networking is successful.
The broadcast information is used for informing the host computer that the wireless module is successful in dial-up networking. In one embodiment, the wireless module performs a dial-up operation in response to the second information. The second information is information sent to the wireless module by the driving program of the host through the control path, and the second information is used for indicating the wireless module to execute dial-up networking operation.
S810, the driver of the host informs the kernel network subsystem after receiving the broadcast information.
It can be understood that the kernel network subsystem in the Linux system is relatively large, and its main components include a TCP/IP protocol stack, a routing subsystem, a socket, a notification chain, a network device interface, and the like.
S812, after monitoring that the kernel network subsystem receives the broadcast information, the dial management program of the host sends an address configuration request to the wireless module through the driver.
Optionally, the address configuration request may include a DHCP request and a DNS service address query request.
S814, the wireless module returns address information to the host according to the address configuration request.
Alternatively, the address information may be an IP address and a DNS service address assigned by DHCP. It can be understood that, in the case that the wireless module successfully dials up, the wireless module may provide a DHCP service, and the wireless module allocates an IP address and a DNS service address to the host upon receiving an address configuration request sent by the host. In one embodiment, the driver establishes a data path through which the host receives address information returned by the wireless module.
And S816, executing dial-up networking operation by the dial-up management program of the host according to the address information.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the application also provides an automatic dialing internet access device for realizing the automatic dialing internet access method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the method, so specific limitations in one or more embodiments of the automatic dial-up networking device provided below can be referred to the limitations of the automatic dial-up networking method in the foregoing, and details are not described herein again.
Referring to fig. 9, which shows an automatic dial-up networking device according to an embodiment of the present application, taking the device applied to the host in fig. 1 as an example for explanation, as shown in fig. 9, the automatic dial-up networking device 900 may include a registration module 902, a first response module 904, and a first dialing module 906. The registration module 902 is configured to register a network status callback event with the wireless module. The first response module 904 is configured to send an address configuration request to the wireless module in response to the first information reported by the wireless module through the network status callback event. The first dialing module 906 is configured to perform a dial-up networking operation according to the address information returned by the wireless module.
In one embodiment, the registration module is further configured to load a driver of the wireless module, and register the network state callback event with the wireless module through the driver.
In an embodiment, the registration module is further configured to obtain an apparatus identifier of the apparatus, determine whether the apparatus identifier of the apparatus is consistent with the preset apparatus identifier, and load a driver corresponding to the apparatus identifier when the apparatus identifier of the apparatus is consistent with the preset apparatus identifier.
In one embodiment, the first response module is further configured to send an address configuration request to the wireless module in response to the received broadcast message.
Please refer to fig. 10, which illustrates an automatic dial-up device according to another embodiment of the present application, and the device is applied to the wireless module in fig. 1 for illustration. As shown in fig. 10, the automatic dial-up networking apparatus 1000 may include a second dialing module 1002 and a second response module 1004. The second dialing module 1002 is configured to execute a dial-up networking operation, and report the first information to the host through a network state callback event after the dial-up networking is successful. The second response module 1004 is configured to return address information to the host in response to the address configuration request sent by the host after receiving the first message.
In one embodiment, the second dialing module is further configured to read configuration information of the subscriber identity card, and send a network registration request to obtain address information allocated by the base station in response to the network registration request.
All modules in the automatic dial-up networking device can be completely or partially realized through software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a host is provided, which may be a terminal, and the internal structure thereof may be as shown in fig. 11. The host includes a processor, a memory, and a communication interface connected by a system bus. Wherein the processor of the host is configured to provide computing and control capabilities. The memory of the host comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the host is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement an automatic dial-up networking method.
Those skilled in the art will appreciate that the architecture shown in fig. 11 is a block diagram of only a portion of the architecture associated with the subject application, and does not constitute a limitation on the host computer to which the subject application is applied, and that a particular host computer may include more or fewer components than shown, or combine certain components, or have a different arrangement of components.
In one embodiment, there is further provided a host including a memory and a processor, the memory storing a computer program, the processor implementing the steps of the above method embodiments when executing the computer program.
In one embodiment, a wireless module is provided, which may be a wireless communication module, and the internal structure thereof may be as shown in fig. 12. The wireless module includes a processor, a memory, and a communication interface connected by a system bus. Wherein the processor of the wireless module is configured to provide computing and control capabilities. The memory of the wireless module comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the wireless module is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement an automatic dial-up networking method.
Those skilled in the art will appreciate that the architecture shown in fig. 12 is a block diagram of only a portion of the architecture associated with the subject application and does not constitute a limitation on the wireless modules to which the subject application applies, and that a particular wireless module may include more or fewer components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a wireless module is further provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.
In an embodiment, a terminal device is further provided, and as shown in fig. 1, the terminal device may include the host 102 provided in the above embodiment, and the wireless module 104 provided in the above embodiment.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, carries out the steps in the method embodiments described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), Magnetic Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the various embodiments provided herein may be, without limitation, general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, or the like.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (10)

1. An automatic dial-up networking method is characterized in that the method is applied to terminal equipment, the terminal equipment comprises a host and a wireless module, and the method comprises the following steps:
the host registering a network state callback event with the wireless module;
the wireless module executes dial-up networking operation and reports first information to the host through the network state callback event after dial-up networking is successful, wherein the first information is used for representing that the dial-up networking of the wireless module is successful;
the host sends an address configuration request to the wireless module in response to the first information sent by the wireless module;
the wireless module returns address information to the host in response to the address configuration request;
and the host executes dial-up networking operation according to the address information.
2. An automatic dial-up networking method is characterized by being applied to a host, and comprises the following steps:
the host registers a network state callback event with the wireless module;
the host responds to first information reported by the wireless module through the network state callback event, and sends an address configuration request to the wireless module, wherein the first information is used for representing that the wireless module successfully dials and surfs the internet, and the address configuration request is used for indicating the wireless module to return address information;
and the host executes dial-up networking operation according to the address information returned by the wireless module.
3. The method of claim 2, wherein registering a network status callback event with the wireless module by the host comprises:
the host loads a driver of the wireless module;
the host registers a network state callback event with the wireless module through the driver.
4. The method according to claim 2, wherein the network status callback event is used to send a broadcast message, and the broadcast message is used to notify the host that the wireless module is successful in dial-up networking; the host sends an address configuration request to the wireless module in response to the first information reported by the wireless module through the network state callback event, and the address configuration request comprises:
the host sends an address configuration request to the wireless module in response to receiving the broadcast message.
5. An automatic dial-up networking method is applied to a wireless module, and the method comprises the following steps:
the wireless module executes dial-up networking operation and reports first information to a host through a network state callback event after dial-up networking is successful, wherein the first information is used for representing that the dial-up networking of the wireless module is successful; the network state callback event is registered by the host with the wireless module;
and the wireless module responds to an address configuration request sent by the host after receiving the first information and returns address information to the host.
6. The automatic dial-up networking method according to claim 5, wherein the wireless module is provided with a subscriber identity card, and the wireless module performs dial-up networking operations, including:
the wireless module reads configuration information of the user identification card, wherein the configuration information comprises operator information and APN information, and the operator information is used for marking a network access system of the user identification card;
the wireless module sends a network registration request to acquire address information allocated by a base station in response to the network registration request; wherein the network registration request carries the operator information and the APN information.
7. A host comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program performs the steps of the method according to any of claims 2 to 4.
8. A wireless module comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method of any of claims 5 to 6 when executing the computer program.
9. A terminal device comprising a host according to claim 7 and a radio module according to claim 8.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202210395672.1A 2022-04-15 2022-04-15 Automatic dialing network access method, host, wireless module and terminal equipment Pending CN114979072A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210395672.1A CN114979072A (en) 2022-04-15 2022-04-15 Automatic dialing network access method, host, wireless module and terminal equipment
PCT/CN2022/141031 WO2023197669A1 (en) 2022-04-15 2022-12-22 Automatic dial-up networking method, and host, wireless module and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210395672.1A CN114979072A (en) 2022-04-15 2022-04-15 Automatic dialing network access method, host, wireless module and terminal equipment

Publications (1)

Publication Number Publication Date
CN114979072A true CN114979072A (en) 2022-08-30

Family

ID=82976911

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210395672.1A Pending CN114979072A (en) 2022-04-15 2022-04-15 Automatic dialing network access method, host, wireless module and terminal equipment

Country Status (2)

Country Link
CN (1) CN114979072A (en)
WO (1) WO2023197669A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023197669A1 (en) * 2022-04-15 2023-10-19 深圳市广和通无线股份有限公司 Automatic dial-up networking method, and host, wireless module and terminal device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020116464A1 (en) * 2001-02-20 2002-08-22 Mak Joon Mun Electronic communications system and method
CN101355479A (en) * 2008-09-09 2009-01-28 中兴通讯股份有限公司 Automatic connection method for wireless terminals
CN101572761A (en) * 2009-03-13 2009-11-04 宇龙计算机通信科技(深圳)有限公司 Method, device and mobile termination for dial-up networking
CN101702836A (en) * 2009-11-17 2010-05-05 中兴通讯股份有限公司 Method and device for establishing dial-up service
CN102006210A (en) * 2010-11-26 2011-04-06 华为终端有限公司 User equipment dial-up networking method, device and system
CN102411546A (en) * 2011-10-18 2012-04-11 深圳市共进电子股份有限公司 Method for implementing connected communication of 3G data cards in at least two operation modes
CN102467381A (en) * 2010-11-16 2012-05-23 北京中电华大电子设计有限责任公司 Implementation method for wireless local area network (WLAN) driver
CN102790679A (en) * 2012-06-29 2012-11-21 北京创毅讯联科技股份有限公司 Internet connection method of network card and network card
CN102932968A (en) * 2011-02-12 2013-02-13 华为终端有限公司 Data card and method of networking thereof
CN106791126A (en) * 2016-12-27 2017-05-31 努比亚技术有限公司 Dialing mechanism, mobile terminal and method
CN108270939A (en) * 2016-12-30 2018-07-10 北京视联动力国际信息技术有限公司 The Dialing Method and device of a kind of wireless network card

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588378A (en) * 2009-06-17 2009-11-25 深圳华为通信技术有限公司 Method for access to Internet by data card, data card and system
CN102098808B (en) * 2011-02-12 2012-11-07 华为终端有限公司 Data card and data card networking method
CN103124446A (en) * 2011-11-18 2013-05-29 中兴通讯股份有限公司 Wireless broadband data card supporting third-generation (3G) and wireless fidelity (Wi-Fi) network access mode
CN114979072A (en) * 2022-04-15 2022-08-30 深圳市广和通无线股份有限公司 Automatic dialing network access method, host, wireless module and terminal equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020116464A1 (en) * 2001-02-20 2002-08-22 Mak Joon Mun Electronic communications system and method
CN101355479A (en) * 2008-09-09 2009-01-28 中兴通讯股份有限公司 Automatic connection method for wireless terminals
CN101572761A (en) * 2009-03-13 2009-11-04 宇龙计算机通信科技(深圳)有限公司 Method, device and mobile termination for dial-up networking
CN101702836A (en) * 2009-11-17 2010-05-05 中兴通讯股份有限公司 Method and device for establishing dial-up service
CN102467381A (en) * 2010-11-16 2012-05-23 北京中电华大电子设计有限责任公司 Implementation method for wireless local area network (WLAN) driver
CN102006210A (en) * 2010-11-26 2011-04-06 华为终端有限公司 User equipment dial-up networking method, device and system
CN102932968A (en) * 2011-02-12 2013-02-13 华为终端有限公司 Data card and method of networking thereof
CN102411546A (en) * 2011-10-18 2012-04-11 深圳市共进电子股份有限公司 Method for implementing connected communication of 3G data cards in at least two operation modes
CN102790679A (en) * 2012-06-29 2012-11-21 北京创毅讯联科技股份有限公司 Internet connection method of network card and network card
CN106791126A (en) * 2016-12-27 2017-05-31 努比亚技术有限公司 Dialing mechanism, mobile terminal and method
CN108270939A (en) * 2016-12-30 2018-07-10 北京视联动力国际信息技术有限公司 The Dialing Method and device of a kind of wireless network card

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
马英达: "数据卡数据联网模块的研究与实现》", 《中国优秀硕士学位论文全文数据库-信息科技》, pages 16 - 56 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023197669A1 (en) * 2022-04-15 2023-10-19 深圳市广和通无线股份有限公司 Automatic dial-up networking method, and host, wireless module and terminal device

Also Published As

Publication number Publication date
WO2023197669A1 (en) 2023-10-19

Similar Documents

Publication Publication Date Title
CN109792287B (en) Method and device for transmitting response message
US9603189B2 (en) Method and apparatus for multisim devices with embedded SIM functionality
CN106878368B (en) Method and device for realizing information push
CN110809255B (en) Card information activation method and device and storage medium
US9426731B1 (en) Mobile network operator selection
CN108282521B (en) BIP protocol data transmission method and device, computer equipment and storage medium
WO2022057429A1 (en) Network registration method and apparatus, and user terminal and storage medium
CN110933733B (en) Network distribution method, device, computer equipment and storage medium
CN109275197B (en) Communication connection establishing method, base station, terminal and storage medium
US11166176B2 (en) Method for determining establishment reason, and terminal
WO2017167027A1 (en) Network access method, and associated equipment and system
WO2023197669A1 (en) Automatic dial-up networking method, and host, wireless module and terminal device
CN110602672A (en) Bluetooth device reconnection method, device, terminal and computer readable storage medium
CN113225761A (en) Method for selecting network slice and electronic equipment
CN108112052B (en) Terminal network sharing method and device, air conditioner and storage medium
CN115333855A (en) Authentication method, system and terminal equipment
CN110321251B (en) Data backup method, device, equipment and storage medium based on network block equipment
CN114697339A (en) Load balancing method and device under centralized architecture
CN110022595B (en) Downlink data transmission method, network device and computer storage medium
US10509620B2 (en) Display control apparatus, display apparatus, display system, and computer-readable storage medium
CN112188591A (en) Network access method, device, computer equipment and storage medium
CN110049458B (en) Information transmission method, equipment and computer storage medium
CN106714098A (en) Method and device for pushing geographical position information
CN116775084B (en) System upgrading method and electronic equipment
JP6567932B2 (en) COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL METHOD, AND PROGRAM

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