CPE-based communication connection management method and device, equipment and storage medium
By obtaining the maximum packet data protocol configuration number and operator identifier of the cellular module, multiple sets of access point name information can be quickly configured and activated, solving the problem of low APN information polling efficiency in CPE and improving network and communication efficiency.
Patent Information
- Application Number
- CN202510967786.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-14
- Publication Date
- 2025-10-17
AI Technical Summary
When the CPE queries multiple access point names, the APN information polling efficiency is low, resulting in a long time for PDP context activation, affecting network access and communication efficiency.
By obtaining the maximum number of packet data protocol configurations supported by the cellular module and the terminal's operator identifier, the configuration result of the packet data protocol is determined based on the preset query instruction, and the network address is used for communication to achieve rapid configuration and activation of multiple sets of access point name information.
It improves the network stationing and communication efficiency of CPE, reduces the activation time of packet data protocol, and improves the APN polling speed and network access efficiency.
Smart Images

Figure CN120812702A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of network access, and in particular to a CPE-based communication connection management method, device and equipment and a storage medium. BACKGROUND
[0002] Customer Premise Equipment (CPE) is a gateway that converts cellular wireless signals into Ethernet and WIFI signals. Since the cellular wireless signals used by CPE have the characteristics of long communication distance, large coverage and allowing terminal mobility, CPE is often used in scenarios that require long-distance wireless communication and terminal mobility, such as industrial wireless control, unmanned retail, remote monitoring, automobile remote management, and even some countries and regions with high cost of fiber and copper cable deployment choose CPE to replace wired broadband.
[0003] In related technologies, when CPE attempts to camp on a network, if multiple Access Point Names (APNs) are queried, it can usually write only one APN information into the Packet Data Protocol (PDP) in the cellular module at a time, and the polling efficiency of the APN information is low, which makes the activation of the PDP context relatively lengthy and is not conducive to the rapid camping and communication of CPE. SUMMARY
[0004] Embodiments of the present application provide a CPE-based communication connection management method, device, equipment and storage medium to solve the problem of low APN information polling efficiency and lengthy PDP context activation in related technologies.
[0005] A CPE-based communication connection management method, comprising: obtaining a maximum Packet Data Protocol configuration number supported by a cellular module and an operator identifier corresponding to a terminal; configuring the Packet Data Protocol of the cellular module based on the operator identifier and the maximum Packet Data Protocol configuration number; determining a configuration result of the Packet Data Protocol based on a preset query instruction; obtaining a network address allocated by a network device based on the configuration result, and performing communication using the network address.
[0006] Preferably, configuring the Packet Data Protocol of the cellular module based on the operator identifier and the maximum Packet Data Protocol configuration number comprises: determining multiple sets of Access Point Name information corresponding to the operator identifier using a preset mapping relationship table based on the operator identifier; Write the plurality of sets of access point name information into the packet data protocol according to the maximum number of packet data protocol configurations.
[0007] Preferably, the access point name information comprises: a network address type, and at least one of an access point name, a network account, a network password, and a network authentication mode.
[0008] Preferably, the writing the plurality of sets of access point name information into the packet data protocol according to the maximum number of packet data protocol configurations comprises: Obtaining preset packet data protocol identifiers corresponding to the plurality of sets of access point name information; Determining packet data types corresponding to the access point name information based on the network address type; Based on the preset packet data protocol identifiers, using preset network connection configuration instructions to write the plurality of sets of access point name information and corresponding packet data types into the packet data protocol in turn until the maximum number of packet data protocol configurations is reached.
[0009] Preferably, the determining the configuration result of the packet data protocol based on the preset query instruction comprises: Determining whether the packet data protocol is activated based on the preset query instruction; When the packet data protocol is activated, determining that the configuration result is a configuration success; When the packet data protocol is not activated, determining that the configuration result is a configuration failure.
[0010] Preferably, the obtaining the network address allocated by the network device based on the configuration result comprises: When there is a configuration success configuration result, sending information contained in the configuration success packet data protocol to the network device to obtain the network address; When there is no configuration success configuration result, writing the plurality of sets of access point name information that have not been written into the packet data protocol into the packet data protocol in turn to reconfigure the packet data protocol until there is an activated packet data protocol, and obtaining the network address based on the activated packet data protocol.
[0011] Preferably, when there is a configuration success configuration result, sending information contained in the configuration success packet data protocol to the network device comprises: When there are a plurality of configuration success configuration results, the information contained in the first configuration success packet data protocol can be sent to the network device, or The information contained in any one of the plurality of configuration success packet data protocols is sent to the network device.
[0012] A CPE-based communication connection management device comprises: The data acquisition module is configured to acquire a maximum number of packet data protocol configurations supported by the cellular module and an operator identifier corresponding to the terminal; The module configuration module is configured to configure the packet data protocol of the cellular module based on the operator identifier and the maximum number of packet data protocol configurations; The configuration query module is configured to determine a configuration result of the packet data protocol based on a preset query instruction; The address acquisition module is configured to acquire a network address allocated by a network device based on the configuration result and perform communication by using the network address.
[0013] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the CPE-based communication connection management method described above when executing the computer program A computer-readable storage medium stores a computer program, and the computer program is executable by a processor to implement the CPE-based communication connection management method described above.
[0014] The CPE-based communication connection management method, device, equipment, and storage medium described above acquire a maximum number of packet data protocol configurations supported by a cellular module and an operator identifier corresponding to a terminal, configure the packet data protocol of the cellular module based on the operator identifier and the maximum number of packet data protocol configurations, determine a configuration result of the packet data protocol based on a preset query instruction, and acquire a network address allocated by a network device based on the configuration result and perform communication by using the network address. This method configures multiple packet data protocols in each round to reduce the activation time of the packet data protocol and improve the network camping and communication efficiency of the CPE. BRIEF DESCRIPTION OF DRAWINGS
[0015] To more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the description of the embodiments of the present application. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor under the premise of the drawings.
[0016] Figure 1 is a flowchart of the CPE-based communication connection management method in an embodiment of the present application; Figure 2 is another flowchart of the CPE-based communication connection management method in an embodiment of the present application; Figure 3 is another flowchart of the CPE-based communication connection management method in an embodiment of the present application; Figure 4is another flow chart of a CPE-based communication connection management method according to an embodiment of the present invention; Figure 5 This is a principle block diagram of a CPE-based communication connection management device according to an embodiment of the present invention; Figure 6 is a schematic diagram of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0017] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0018] In one embodiment, if Figure 1 As shown, a CPE-based communication connection management method is provided. The method is applied to a CPE as an example for description, and includes the following steps: S101: Obtain the maximum number of packet data protocol configurations supported by the cellular module and the operator identifier corresponding to the terminal; S102: Configuring the packet data protocol of the cellular module based on the operator identifier and the maximum number of packet data protocol configurations; S103: Determine the configuration result of the packet data protocol based on the preset query instruction; S104: Based on the configuration result, obtain the network address allocated by the network device, and use the network address for communication.
[0019] The maximum number of packet data protocol configurations refers to the maximum number of PDPs supported by the cellular module.
[0020] The operator identifier is a Public Land Mobile Network (PLMN). Different operators may use different PLMNs or the same PLMN, which is not limited in this disclosure.
[0021] As an example, in step S101, the CPE obtains the maximum number of packet data protocol configurations supported by the cellular module according to its own pre-configuration information and / or its own device information, wherein the cellular module is located in the CPE.
[0022] For example, the cellular module's own equipment capabilities can achieve the simultaneous configuration of 3 PDPs. However, due to the pre-settings of the cellular module, the equipment capabilities of the cellular module are limited. That is, the pre-settings of the cellular module only allow the simultaneous configuration of 2 PDPs. Therefore, the maximum number of packet data protocols that can be configured for the cellular module is 2. As an example, in step S101, the CPE can obtain the operator identifier corresponding to the terminal by reading the subscriber identity module (SIM) of the terminal, but is not limited thereto, and can also obtain the operator identifier corresponding to the terminal by reading a database in which the terminal identifier and the operator identifier corresponding to the terminal are stored. The CPE can obtain the terminal identifier and obtain the corresponding operator identifier in the database by using the terminal identifier, where the terminal identifier is, for example, the machine code of the terminal device, and the present disclosure does not limit the manner of obtaining the operator identifier.
[0023] As an example, the cellular module can interact with multiple terminals, or a terminal has multiple SIM cards, so the CPE can obtain multiple operator identifiers.
[0024] As an example, in step S102, the CPE can determine one or more sets of access point name information corresponding to the obtained operator identifier, so as to configure the packet data protocol of the cellular module by using one or more sets of access point name information.
[0025] That is, each operator identifier corresponds to a set of access point name information. When the CPE obtains multiple operator identifiers, it can determine multiple sets of access point name information according to the multiple operator identifiers, so as to configure the packet data protocol of the cellular module according to the maximum packet data protocol configuration number by using the multiple sets of access point name information.
[0026] For example, three operator identifiers are obtained, and the maximum packet data protocol configuration is two. Then, the packet data protocol of the cellular module can be configured by using any two of the three operator identifiers, and the remaining operator identifier is determined to be in a to-be-configured state.
[0027] It should be understood that configuring the packet data protocol of the cellular module means activating the PDP context of the cellular module.
[0028] As an example, in step S103, the CPE can determine whether the packet data protocol of the cellular module is activated by using a preset query instruction, so as to determine the configuration result of the packet data protocol, where the configuration result includes two results of configuration success and configuration failure.
[0029] In other words, when it is determined according to the preset query instruction that the packet data protocol of the cellular module is activated, it means that the packet data protocol configuration is successful. When it is determined according to the preset query instruction that the packet data protocol of the cellular module is not activated, it means that the packet data protocol configuration fails.
[0030] As an example, in step S104, the CPE can determine whether the packet data protocol of the cellular module is successfully configured based on the configuration result, and then use the successfully configured packet data protocol to obtain the network address assigned to the CPE by the network device, so that the CPE can use the network address to communicate with terminals and other devices.
[0031] In other words, when the packet data protocol is configured successfully, it means that the information indicated by the corresponding operator identifier in the packet data protocol is correct. At this time, the CPE can be networked and communicated according to the successfully configured packet data protocol; when the packet data protocol is configured unsuccessfully, it means that the information indicated by the corresponding operator identifier in the packet data protocol is wrong. At this time, the CPE can use the unused operator indicators to reconfigure the packet data protocols of the cellular module until all operator indicators are traversed, or a successfully configured packet data protocol appears, so that the CPE can be networked and communicated according to the successfully configured packet data protocol.
[0032] It should be understood that the above-mentioned network equipment can be a core network equipment or a base station. Any base station and / or core network equipment that can implement the network address allocation function can be a network equipment, and this disclosure does not limit this.
[0033] In summary, the present disclosure proposes a CPE-based communication connection management method, comprising: obtaining the maximum number of packet data protocol configurations supported by the cellular module and the operator identifier corresponding to the terminal; configuring the packet data protocol of the cellular module based on the operator identifier and the maximum number of packet data protocol configurations; determining the packet data protocol configuration result based on a preset query instruction; and obtaining the network address assigned by the network device based on the configuration result, and communicating using the network address. This method reduces the activation time of the packet data protocols by configuring multiple packet data protocols in each round, thereby improving the network stationing and communication efficiency of the CPE.
[0034] like Figure 2 As shown, step S102, i.e., configuring the packet data protocol of the cellular module based on the operator identifier and the maximum packet data protocol configuration number, includes: S201, based on the operator identifier, using a preset mapping relationship table, determining multiple groups of access point name information corresponding to the operator identifier; S202: Write multiple groups of access point name information into the packet data protocol according to the maximum number of packet data protocol configurations.
[0035] As an example, in step S201, the operator identifier is stored in the preset mapping relationship table in correspondence with the access point name information, that is, when the CPE acquires the operator identifier, the access point name information corresponding to the operator identifier can be determined by searching the preset mapping relationship table.
[0036] It should be understood that the operator identifier in step S201 is multiple by default, that is, the CPE can determine multiple groups of access point name information corresponding to the multiple operator identifiers according to the acquired multiple operator identifiers by searching the preset mapping relationship table, wherein one operator identifier corresponds to one group of access point name information, and the access point name information corresponding to different operator identifiers can be the same.
[0037] As an example, in step S201, the access point name information includes: a network address type, and at least one of an access point name, a network account, a network password, and a network authentication mode.
[0038] In particular, the access point name information can also be empty, that is, the operator does not set the corresponding access point name information. It should be understood that the operator identifier and the corresponding access point name information can be set by the corresponding operator.
[0039] As an example, in step S202, the PCE can write the multiple groups of access point name information into the packet data protocol in sequence according to the maximum packet data protocol configuration number, so as to realize the configuration of the packet data protocol.
[0040] For example, the PCE determines three groups of access point name information according to the operator identifier as shown in the following table, and the maximum packet data protocol configuration number is 2, then the two groups of access point name information with serial numbers 1 and 2 can be written into PDP1 and PDP2 of the cellular module respectively to realize the configuration of the packet data protocol: As an example, as shown in Figure 3 step S202 can include the following steps: S301, acquiring a preset packet data protocol identifier corresponding to the multiple groups of access point name information; S302, determining a packet data type corresponding to the access point name information based on a network address type; S303, based on the preset packet data protocol identifier, using a preset network connection configuration instruction to write the multiple groups of access point name information and the corresponding packet data protocol type into the packet data protocol in sequence until the maximum packet data protocol configuration number is reached.
[0041] As an example, in step S301, the preset packet data protocol identifier can be a packet data protocol to be written, which is, for example, a CID of a PDP.
[0042] The preset packet data protocol identifier is preset, so the PCE can obtain the preset packet data protocol identifier of the PDP to be written with the access point name information, and determine the preset packet data protocol identifier corresponding to the access point name information.
[0043] As an example, in step S302, the access point name information contains a network address type, so the packet data type corresponding to the multiple sets of access point name information can be determined according to a preset mapping relationship between the network address type and the packet data type.
[0044] For example, the preset mapping relationship is that the network address type of IPV4 corresponds to packet data type 1, the network address type of IPV6 corresponds to packet data type 2, and the network address type of IPV4V6 corresponds to packet data type 3. The above mapping relationship can be provided by an operator or set by a user, and the present disclosure is not limited thereto.
[0045] As an example, in step S303, the PCE can write the multiple sets of access point name information and the corresponding packet data protocol type into the packet data protocol in sequence based on the preset packet data protocol identifier and using a preset network connection configuration instruction, until the maximum packet data protocol configuration number is reached. The preset network connection configuration instruction can be an AT+QICSG instruction.
[0046] In other words, the PCE can determine the packet data protocol to which the access point name information is to be written based on the preset packet data protocol identifier, and write the packet data protocol type and the access point name information into the corresponding packet data protocol in sequence until the maximum packet data protocol configuration number is reached.
[0047] For example, when there are 3 APN information and the maximum PDP configuration number is 2, the first and second APN information can be written into PDP1 and PDP2 respectively, and the third APN information is not written.
[0048] As an example, the APN information writing shown in Table 1 can be written into PDP1 and PDP2 of the cellular module by the following instructions: AT+QICSGP=1,1,"internet","jack","123456",1; AT+QICSGP=1,3,"internet2","tom","aabbcc",2.
[0049] Specifically, the command format of the AT+QICSG is as follows: AT+QICSGP=<preset packet data protocol identifier CID>, <group data protocol PDP type>, <access point name APN>, <network account>, <network password>, <network authentication method>, wherein the authentication method can be PAP authentication, CHAP authentication or other authentication methods, which are not limited in the present disclosure.
[0050] As an example, as shown in Figure 4 Step S103 is to determine the configuration result of the packet data protocol based on the preset query instruction, including: S401, determine whether the packet data protocol is activated based on the preset query instruction; S402, when the packet data protocol is activated, determine that the configuration result is a configuration success; S403, when the packet data protocol is not activated, determine that the configuration result is a configuration failure.
[0051] As an example, in step S401, the preset query instruction can be an AT+CGACT instruction. Specifically, whether the packet data protocol is activated can be determined according to the following manner: querying the packet data protocol by the instruction: AT+CGACT, and determining whether the packet data protocol is activated according to the feedback result: +CGACT: <cid><Activation status. 1 for yes; 0 for no> judges whether the packet data protocol is activated.
[0052] As an example, in step S402, when the packet data protocol is activated, it is indicated that the packet data protocol is successfully registered in the network, and at this time it can be determined that the packet data protocol is successfully configured.
[0053] As an example, in step S403, when the packet data protocol is not activated, it is indicated that the packet data protocol fails to be registered in the network, and at this time it can be determined that the packet data protocol fails to be configured.
[0054] As an example, in step S104, when there is a configuration result of successful configuration, information contained in the successfully configured packet data protocol is sent to the network device to obtain a network address.
[0055] In other words, when there is a configuration result of successful configuration, it is indicated that the packet data protocol is successfully registered in the network, and at this time the PCE can perform a dynamic host configuration protocol (DHCP) process using the packet data protocol to obtain a network address issued by the network device, so as to perform wide area network communication using the network address.
[0056] When there are multiple packet data protocols successfully configured, the network address allocated by the network device can be directly obtained using the first successfully configured packet data protocol. Specifically, information contained in the first successfully configured packet data protocol can be sent to the network device to obtain the allocated network address through information fed back by the network device. Alternatively, any one of the multiple successfully configured packet data protocols can be selected, and information contained in the selected packet data protocol can be sent to the network device to obtain the allocated network address.
[0057] As an example, in step S104, when there is no configuration result of successful configuration, multiple groups of access point name information not yet written into the packet data protocol are sequentially written into the packet data protocol to reconfigure the packet data protocol until there is an activated packet data protocol, and a network address is obtained based on the activated packet data protocol.
[0058] In other words, when there is no configuration result of successful configuration, it is indicated that there is no packet data protocol successfully registered in the network, and at this time the PCE can clear the contents written in each packet data protocol, and write the access point name information not yet written into the packet data protocol into the packet data protocol according to the contents shown in 301-303 above to reconfigure the packet data protocol until there is an activated packet data protocol, and a network address is obtained using the activated packet data protocol according to the above method, so that the PCE can perform wide area network communication.
[0059] In summary, the method disclosed herein writes multiple sets of access point name information into the packet data protocol according to the maximum packet data protocol configuration number, so that the PCE can perform the judgment of multiple APN information at one time when performing APN polling, thereby improving the APN polling speed; and then, based on the preset query instruction, determines whether the packet data protocol is activated, and promptly determines whether there is a successful PDP network stationing, so that the PCE can promptly use the successfully stationed PDP for wide area network communication, thereby improving the efficiency of the PCE accessing the wide area network.
[0060] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0061] In one embodiment, a CPE-based communication connection management device is provided, which corresponds one-to-one to the CPE-based communication connection management method in the above embodiment. Figure 5 As shown, the CPE-based communication connection management device includes a data acquisition module 510, a module configuration module 520, a configuration query module 530, and an address acquisition module 540. The functional modules are described in detail as follows: The data acquisition module 510 is used to obtain the maximum number of packet data protocol configurations supported by the cellular module and the operator identifier corresponding to the terminal; The module configuration module 520 is used to configure the packet data protocol of the cellular module based on the operator identifier and the maximum packet data protocol configuration number; The configuration query module 530 is used to determine the configuration result of the packet data protocol based on the preset query instruction; The address acquisition module 540 is used to acquire the network address allocated by the network device based on the configuration result and use the network address for communication.
[0062] In one embodiment, the module configuration module 520 is further configured to: Based on the operator identifier, using a preset mapping relationship table, determining multiple groups of access point name information corresponding to the operator identifier; Write multiple groups of access point name information into the packet data protocol according to the maximum number of packet data protocol configurations.
[0063] In one embodiment, the access point name information includes: a network address type, and at least one of an access point name, a network account, a network password, and a network authentication method.
[0064] In one embodiment, the module configuration module 520 is further configured to: acquire a preset packet data protocol identifier corresponding to the plurality of access point name information groups; determine a packet data type corresponding to the access point name information based on the plurality of access point name information groups; based on the preset packet data protocol identifier, write the plurality of access point name information groups and the corresponding packet data protocol types into the packet data protocol in sequence by using the preset network connection configuration instruction until the maximum packet data protocol configuration number is reached.
[0065] In an embodiment, the configuration query module 530 is further configured to: determine whether the packet data protocol is activated based on a preset query instruction; when the packet data protocol is activated, determine that the configuration result is a configuration success; when the packet data protocol is not activated, determine that the configuration result is a configuration failure.
[0066] In an embodiment, the address acquisition module 540 is further configured to: when there is a configuration success configuration result, send the information contained in the configuration success packet data protocol to the network device to acquire a network address; when there is no configuration success configuration result, write the plurality of access point name information groups that are not written into the packet data protocol into the packet data protocol in sequence to reconfigure the packet data protocol until there is an activated packet data protocol, and acquire a network address based on the activated packet data protocol.
[0067] In an embodiment, the address acquisition module 540 is further configured to: when there are a plurality of configuration success configuration results, the information contained in the first configuration success packet data protocol can be sent to the network device, or the information contained in any one of the plurality of configuration success packet data protocols can be sent to the network device.
[0068] In summary, the CPE-based communication connection management device according to the present disclosure includes: a data acquisition module configured to acquire a maximum packet data protocol configuration number supported by a cellular module and an operator identifier corresponding to a terminal; a module configuration module configured to configure a packet data protocol of the cellular module based on the operator identifier and the maximum packet data protocol configuration number; a configuration query module configured to determine a configuration result of the packet data protocol based on a preset query instruction; and an address acquisition module configured to acquire a network address allocated by a network device based on the configuration result and use the network address for communication. The device reduces the activation time of the packet data protocol by configuring a plurality of packet data protocols in each round, thereby improving the network staying and communication efficiency of the CPE.
[0069] The specific definition of the CPE-based communication connection management apparatus can refer to the definition of the CPE-based communication connection management method, which will not be repeated here. Each module in the CPE-based communication connection management apparatus can be realized by software, hardware, or a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory in the computer device in software form, so as to be called and executed by the processor to perform the operations corresponding to each module.
[0070] In one embodiment, a computer device, which can be a server, is provided, and an internal structure diagram of the computer device can be as shown in Figure 6 The computer device includes a processor, a memory, a network interface, and a database connected through a system bus. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for running the operating system and the computer program in the non-volatile storage medium. The database of the computer device is configured to store data used in the CPE-based communication connection management method. The network interface of the computer device is configured to communicate with an external terminal through a network connection. The computer program is executed by the processor to implement a CPE-based communication connection management method.
[0071] In one embodiment, a computer device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the above-mentioned micro-isolated network-based resource data processing method when executing the computer program.
[0072] In one embodiment, a computer readable storage medium is provided, which stores a computer program, and the computer program is executed by a processor to implement the above-mentioned micro-isolated network-based resource data processing method.
[0073] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer readable storage medium. When the computer program is executed, it can include the processes of the above-mentioned embodiments of each method. Any reference to memory, storage, database or other medium used in each embodiment provided by the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0074] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above-mentioned division of each functional unit and module is exemplified, and in actual application, the above-mentioned functions can be completed by different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above.
[0075] The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, but not to limit it; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that the technical solutions recorded in the foregoing embodiments can be modified, or some technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.< / cid>
Claims
1. A CPE-based communication connection management method, characterized in that: include: Get the maximum number of packet data protocol configurations supported by the cellular module and the operator identifier corresponding to the terminal; configuring a packet data protocol for the cellular module based on the operator identifier and the maximum number of packet data protocol configurations; Determining a configuration result of the packet data protocol based on a preset query instruction; Based on the configuration result, a network address allocated by the network device is obtained, and the network address is used for communication.
2. The method according to claim 1, characterized in that The configuring the packet data protocol of the cellular module based on the operator identifier and the maximum number of packet data protocol configurations includes: Based on the operator identifier, using a preset mapping relationship table, determining multiple groups of access point name information corresponding to the operator identifier; The multiple groups of access point name information are written into the packet data protocol according to the maximum packet data protocol configuration number.
3. The method according to claim 2, characterized in that The access point name information includes: network address type, and at least one of the access point name, network account, network password, and network authentication method.
4. The method according to claim 2, characterized in that Writing the plurality of access point name information groups into the packet data protocol according to the maximum packet data protocol configuration number includes: Obtaining preset packet data protocol identifiers corresponding to the multiple groups of access point name information; Determining, based on the network address type, a packet data type corresponding to the access point name information; Based on the preset packet data protocol identifier and using a preset network connection configuration instruction, the multiple groups of access point name information and the corresponding packet data protocol types are sequentially written into the packet data protocol until the maximum packet data protocol configuration number is reached.
5. The method according to claim 1, wherein The determining the configuration result of the packet data protocol based on the preset query instruction includes: determining, based on the preset query instruction, whether the packet data protocol is activated; When the packet data protocol is activated, determining that the configuration result is a successful configuration; When the packet data protocol is not activated, it is determined that the configuration result is a configuration failure.
6. The method according to claim 2, characterized in that The acquiring, based on the configuration result, a network address allocated by the network device, comprises: When there is a configuration result of successful configuration, sending information contained in the packet data protocol of successful configuration to the network device to obtain the network address; When no successful configuration result exists, the plurality of groups of access point name information not written into the packet data protocol are sequentially written into the packet data protocol to reconfigure the packet data protocol until an activated packet data protocol exists, and the network address is acquired based on the activated packet data protocol.
7. The method according to claim 6, characterized in that When there is a configuration result of successful configuration, sending information contained in the packet data protocol of successful configuration to the network device includes: When there are multiple successful configuration results, information included in the first successful configuration packet data protocol may be sent to the network device, or, The information included in any one of the multiple successfully configured packet data protocols is sent to the network device.
8. A CPE-based communication connection management device, characterized in that: include: A data acquisition module is used to obtain the maximum number of packet data protocol configurations supported by the cellular module and the operator identifier corresponding to the terminal; a module configuration module, configured to configure the packet data protocol of the cellular module based on the operator identifier and the maximum packet data protocol configuration number; A configuration query module, configured to determine a configuration result of the packet data protocol based on a preset query instruction; The address acquisition module is used to acquire the network address allocated by the network device based on the configuration result, and use the network address to communicate.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the CPE-based communication connection management method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the CPE-based communication connection management method according to any one of claims 1 to 7 is implemented.