CN111757325A - Network connection method, device, terminal equipment and storage medium - Google Patents

Network connection method, device, terminal equipment and storage medium Download PDF

Info

Publication number
CN111757325A
CN111757325A CN202010618043.1A CN202010618043A CN111757325A CN 111757325 A CN111757325 A CN 111757325A CN 202010618043 A CN202010618043 A CN 202010618043A CN 111757325 A CN111757325 A CN 111757325A
Authority
CN
China
Prior art keywords
network connection
certificate
terminal equipment
network
connection certificate
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.)
Granted
Application number
CN202010618043.1A
Other languages
Chinese (zh)
Other versions
CN111757325B (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010618043.1A priority Critical patent/CN111757325B/en
Publication of CN111757325A publication Critical patent/CN111757325A/en
Application granted granted Critical
Publication of CN111757325B publication Critical patent/CN111757325B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3263Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application discloses a network connection method, a device, a terminal device and a storage medium, wherein the method comprises the following steps: after the terminal equipment is started and/or the WIFI network is restarted, detecting whether a network connection certificate exists in the terminal equipment or not; when detecting that no network connection certificate exists in the terminal equipment, acquiring a network connection certificate template; and installing a network connection certificate template in the terminal equipment to generate a network connection certificate. The method and the device simplify the operation process of network connection and provide convenience for users.

Description

Network connection method, device, terminal equipment and storage medium
Technical Field
The present application relates to the field of network connection technologies, and in particular, to a network connection method, an apparatus, a terminal device, and a storage medium.
Background
The Passpoint (control point) is a new connection mode defined by the WIFI alliance for the public WIFI network, and compared with the traditional public WIFI connection, the Passpoint has the main advantages of safety and convenience.
Currently, when connecting to a public WIFI network through a Passpoint, it is not specified how the credentials required for the Passpoint connection are obtained. Therefore, many network operators need to let users obtain Passpoint certificates in some way, for example, by opening a webpage to obtain an account and a password, and then by inputting the account and the password, downloading the certificates; and then, the downloaded certificate is installed through a certificate installation program on the system, and then the user equipment can be connected with the platform network, so that the whole process is complicated to operate, and the use of the user is very inconvenient.
Disclosure of Invention
The present application mainly aims to provide a network connection method, device, terminal device, and storage medium, which are intended to simplify the operation process of network connection and provide convenience for users.
In order to achieve the above object, the present application provides a network connection method, which is applied to a terminal device, and the network connection method includes:
after the terminal equipment is started and/or the WIFI network is restarted, detecting whether a network connection certificate exists in the terminal equipment;
when detecting that no network connection certificate exists in the terminal equipment, acquiring a network connection certificate template;
and installing the network connection certificate template in the terminal equipment to generate a network connection certificate.
An embodiment of the present application further provides a network connection device, where the network connection device includes:
the detection module is used for detecting whether a network connection certificate exists in the terminal equipment or not after the terminal equipment is started and/or the WIFI network is restarted;
the acquisition module is used for acquiring a network connection certificate template when detecting that no network connection certificate exists in the terminal equipment;
and the generating module is used for installing the network connection certificate template in the terminal equipment and generating a network connection certificate.
The embodiment of the present application further provides a terminal device, where the terminal device includes a memory, a processor, and a network connection program stored in the memory and capable of running on the processor, and the network connection program, when executed by the processor, implements the steps of the network connection method described above.
An embodiment of the present application further provides a computer-readable storage medium, where a network connection program is stored on the computer-readable storage medium, and the network connection program, when executed by a processor, implements the steps of the network connection method described above.
According to the network connection method, the network connection device, the terminal equipment and the storage medium, whether a network connection certificate exists in the terminal equipment is detected after the terminal equipment is started and/or a WIFI network is restarted; when detecting that no network connection certificate exists in the terminal equipment, acquiring a network connection certificate template; and installing the network connection certificate template in the terminal equipment to generate the network connection certificate, so that the network connection certificate is automatically generated through the terminal equipment without manual operation of a user to obtain the network connection certificate, the operation process of network connection is simplified, and convenience is provided for the user. In addition, the network connection certificate can be preset after the equipment leaves the factory and is started, and the certificate can be automatically recovered when being deleted by mistake, so that the convenience of network connection is further improved, and the user experience is improved.
Drawings
Fig. 1 is a schematic diagram of functional modules of a terminal device to which a network connection device belongs according to the present application;
FIG. 2 is a flowchart illustrating an exemplary embodiment of a network connection method according to the present application;
FIG. 3 is a flow chart illustrating another exemplary embodiment of a network connection method of the present application;
FIG. 4 is a flow chart illustrating a network connection method according to yet another exemplary embodiment of the present application;
fig. 5 is a flowchart illustrating a network connection method according to another exemplary embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
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 main solution of the embodiment of the application is as follows: after the terminal equipment is started and/or the WIFI network is restarted, detecting whether a network connection certificate exists in the terminal equipment or not; when detecting that no network connection certificate exists in the terminal equipment, acquiring a network connection certificate template; and installing the network connection certificate template in the terminal equipment to generate the network connection certificate, so that the network connection certificate is automatically generated through the terminal equipment without manual operation of a user to obtain the network connection certificate, the operation process of network connection is simplified, and convenience is provided for the user. In addition, the network connection certificate can be preset after the equipment leaves the factory and is started, and the certificate can be automatically recovered when being deleted by mistake, so that the convenience of network connection is further improved, and the user experience is improved.
The technical terms related to the embodiments of the present application are:
the Passpoint is a new connection mode for the public WIFI network defined by the WIFI alliance. Passpoint is a very elegant solution for end users, network operators and equipment vendors. The access to the hotspot network is simplified, the connection process is automatically completed, and when the WIFI network is connected, the PassionPoint provides experience which is more similar to that of a cellular network, and meanwhile, high-level security can be provided.
Compared with the traditional public WIFI network connection, the Passpoint has the main advantages of safety and convenience:
the traditional public WIFI is basically an open mode, login is authenticated in portal modes such as short messages or WeChat, and the WIFI air is not encrypted and is very unsafe. In a traditional WIFI connection, an AP (hotspot, router) SSID (Service set identifier) needs to be selected, and a password is input; when the SSID of the AP is changed, the procedure needs to be executed again, which is inconvenient.
Passpoint ann now: the encryption is carried out in an 802.1X EAP mode, and the mobile phone and AP (router) sides are authenticated in two directions, so that phishing is avoided.
Passpoint is conveniently embodied in: the access point can automatically connect after the certificate is installed or preinstalled, and can still automatically connect after the SSID of the subsequent AP is changed, all the APs of the same operator can automatically connect regardless of the same name, and the access point is similar to the noninductive connection of a cellular network, because the access point does not see the name of the AP but service provider information behind the AP, and the access point connection authentication mode is the same for the same service provider.
For the details of the Passpoint network topology and the procedure of Passpoint matching with the network operator, please refer to the related art, which is not described herein again.
SPEC: a SPEC (Software Specification) file is a text file that contains the package name, copyright information, version, reference program files, summaries, and descriptions of creating and installing the package.
In the embodiment of the application, it is considered that, in the related technical solutions, when a public WIFI network is connected through a Passpoint, how to obtain a certificate required by the Passpoint connection is not particularly specified. Therefore, many network operators need to let users obtain Passpoint certificates in some way, for example, by opening a webpage to obtain an account and a password, and then by inputting the account and the password, downloading the certificates; and then, the downloaded certificate is installed through a certificate installation program on the system, and then the user equipment can be connected with the platform network, so that the whole process is complicated to operate, and the use of the user is very inconvenient.
Based on this, the embodiment of the present application provides a solution, which can simplify the operation process of network connection, especially Passpoint network connection, and provide convenience for users.
Specifically, referring to fig. 1, fig. 1 is a schematic diagram of functional modules of a terminal device to which the network connection device belongs. The network connection device may be a device capable of performing data processing, which is independent from the terminal device, and may be carried on the terminal device in the form of hardware or software. The terminal device can be an intelligent mobile terminal with a data processing function, such as a mobile phone and a tablet personal computer, and can also be a fixed terminal device or a server with a data processing function.
In this embodiment, the terminal device to which the network connection apparatus belongs at least includes an output module 110, a processor 120, a memory 130 and a communication module 140.
The memory 130 stores an operating system and a network connection program, and the network connection device can store information such as the acquired network connection certificate template and the generated network connection certificate in the memory 130; the output module 110 may be a display screen, a speaker, etc. The communication module 140 may include a WIFI module, a mobile communication module, a bluetooth module, and the like, and communicates with an external device or a server through the communication module 140.
Wherein the network connectivity program in the memory 130 when executed by the processor implements the steps of:
after the terminal equipment is started and/or the WIFI network is restarted, detecting whether a network connection certificate exists in the terminal equipment or not;
when detecting that no network connection certificate exists in the terminal equipment, acquiring a network connection certificate template;
and installing the network connection certificate template in the terminal equipment to generate a network connection certificate.
Further, the network connectivity program in the memory 130 when executed by the processor further implements the steps of:
acquiring a network connection certificate template provided by a network operator;
and storing the network connection certificate template into a default file system of a terminal equipment system. Further, the network connectivity program in the memory 130 when executed by the processor further implements the steps of:
when detecting that no network connection certificate exists in the terminal equipment, acquiring a network connection certificate template from a default file system of the terminal equipment system.
Further, the network connectivity program in the memory 130 when executed by the processor further implements the steps of:
and calling a preset certificate installation program in the terminal equipment, installing the network connection certificate template and generating a network connection certificate, wherein the network connection certificate correspondingly generates a user name and a password.
Further, the network connectivity program in the memory 130 when executed by the processor further implements the steps of:
and updating the user name and the password of the network connection certificate.
Further, the network connectivity program in the memory 130 when executed by the processor further implements the steps of:
and generating a user name through the unique identifier of the terminal equipment, generating a password based on a preset mode, and replacing the default user name and password in the previously generated network connection certificate.
Further, the network connectivity program in the memory 130 when executed by the processor further implements the steps of:
and connecting the terminal equipment to the network through the generated network connection certificate.
According to the scheme, after the terminal equipment is started and/or the WIFI network is restarted, whether the network connection certificate exists in the terminal equipment is detected; when detecting that no network connection certificate exists in the terminal equipment, acquiring a network connection certificate template; and installing the network connection certificate template in the terminal equipment to generate the network connection certificate, so that the network connection certificate is automatically generated through the terminal equipment without manual operation of a user to obtain the network connection certificate, the operation process of network connection is simplified, and convenience is provided for the user. In addition, the network connection certificate can be preset after the equipment leaves the factory and is started, and the certificate can be automatically recovered when being deleted by mistake, so that the convenience of network connection is further improved, and the user experience is improved.
Based on the above terminal device architecture but not limited to the above architecture, embodiments of the method of the present application are provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating an exemplary embodiment of a network connection method according to the present application. The embodiment provides a network connection method, which is applied to a terminal device, and the network connection method includes:
step S101, after the terminal equipment is started and/or the WIFI network is restarted, whether a network connection certificate exists in the terminal equipment is detected;
the execution main body of the method of this embodiment may be a network connection device, and may also be a terminal device or a server, where the network connection device is exemplified in this embodiment, and the network connection device may be integrated on a terminal device such as a smart phone and a tablet computer having a network connection function.
The scheme of the embodiment is suitable for an application scenario that a network connection certificate is required to connect to a network, where the network may be a public WIFI network, and especially refers to an application scenario that a Passpoint connects to a public WIFI network (Passpoint network for short).
In a related scheme, when a Passpoint is connected to a public WIFI network, how to obtain a certificate required by Passpoint connection is not particularly specified, so that a network operator needs to let a user obtain the Passpoint certificate in some way, for example, an account and a password are obtained by opening a webpage, and then the certificate is downloaded by inputting the account and the password; and then, the downloaded certificate is installed through a certificate installation program on the system, and then the user equipment can be connected with the platform network, so that the whole process is complicated to operate, and the use of the user is very inconvenient.
The scheme of the embodiment can simplify the operation process of the PassionPoint network connection and provide convenience for users.
Specifically, after detecting that the terminal device is started up and/or the WIFI network is restarted, detecting whether a network connection certificate exists in the terminal device, and if detecting that the network connection certificate exists in the terminal device, connecting the terminal device to the public WIFI network through the platform by using the network connection certificate; and if the network connection certificate is detected not to exist in the terminal equipment, generating the network connection certificate.
As an implementation manner, after the terminal device leaves the factory and is powered on, whether a network connection certificate exists in the terminal device system may be detected.
In specific implementation, the network connection certificate may be preset in the terminal device system when the terminal device leaves the factory, and the network connection certificate may need to be generated in case that the network connection certificate is not preset in the terminal device system.
The present embodiment considers: the Passpoint user by default cannot simply obtain the network connection credentials, resulting in limited use of this functionality. Therefore, the scheme adopted in this embodiment is that the network connection certificate template is preset when the terminal device leaves the factory, so that the network connection certificate can be automatically generated and obtained based on the preset network connection certificate template, and therefore, the method is very convenient and friendly for both the terminal device itself and the Passpoint network operator.
Subsequently, after the terminal equipment is started and the WIFI network is restarted, whether a network connection certificate exists in the terminal equipment is detected, so that when the terminal equipment is detected to have no network connection certificate, a preset network connection certificate template is obtained, and a network connection certificate is generated.
Step S102, when detecting that no network connection certificate exists in the terminal equipment, acquiring a network connection certificate template;
in specific implementation, a network connection certificate template provided by a network operator can be obtained in advance before or after the terminal equipment leaves a factory or when the terminal equipment is used; and storing the network connection certificate template into a default file system of a terminal equipment system.
When detecting that no network connection certificate exists in the terminal equipment, acquiring a network connection certificate template from a default file system of the terminal equipment system, wherein the network connection certificate template can generate a network connection certificate after being installed through a certificate installation program, so that the network connection certificate required to be used by the PassionPoint network connection is acquired.
Step S103, installing the network connection certificate template in the terminal equipment to generate a network connection certificate.
Generally, a terminal device has a certificate installation function, that is, a certificate installation program is preset in the terminal device, after a network connection certificate template provided by a network operator is obtained, the preset certificate installation program is called in the terminal device, the network connection certificate template is installed, a network connection certificate is generated, and a default user name and a default password are correspondingly generated for the network connection certificate.
In general, after the network connection certificate is installed, the user names and passwords of all terminal devices are the same.
When the terminal equipment is started up and/or the WIFI network is restarted in the following each time, whether the network connection certificate exists or not can be checked again; and when the network connection certificate does not exist, re-executing the network connection certificate generation process to recover the network connection certificate.
Specifically, after the network connection certificate template is installed in the terminal device for the first time and the network connection certificate is generated, if the subsequent terminal device is powered on again or is powered on again after the WIFI network is turned off, the previously generated network connection certificate can still be used. If the previously generated network connection certificate is deleted by the user carelessly, the network connection certificate template needs to be reinstalled to generate the network connection certificate, in this case, when the terminal device is powered on and/or the WIFI network is restarted each time, whether the network connection certificate exists or not can be checked, and when the network connection certificate does not exist, the network connection certificate generation process needs to be executed again to recover the network connection certificate.
According to the scheme, after the terminal equipment is started and/or the WIFI network is restarted, whether the network connection certificate exists in the terminal equipment is detected; when detecting that no network connection certificate exists in the terminal equipment, acquiring a network connection certificate template; the network connection certificate template is installed in the terminal equipment to generate the network connection certificate, so that the network connection certificate is automatically generated through the terminal equipment without manual operation of a user to obtain the network connection certificate, the operation process of network connection is simplified, and convenience is provided for the user; in addition, the network connection certificate template is preset after the equipment leaves the factory and is started, and the certificate can be automatically recovered when being deleted by mistake, so that the convenience of network connection is further improved, and the user experience is improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating another exemplary embodiment of the network connection method according to the present application. Based on the foregoing embodiment shown in fig. 2, in this embodiment, in step S101, when it is detected that the network connection certificate does not exist in the terminal device, before acquiring the network connection certificate template, the method further includes:
step S1001, obtaining a network connection certificate template provided by a network operator;
step S1002, storing the network connection certificate template into a default file system of a terminal equipment system;
in step S102, when it is detected that the network connection certificate does not exist in the terminal device, acquiring the network connection certificate template includes:
step S1021, when detecting that no network connection certificate exists in the terminal device, acquiring a network connection certificate template from a default file system of the terminal device system.
Compared with the embodiment shown in fig. 2, the present embodiment further includes a scheme of presetting a network connection certificate template on the terminal device.
Specifically, the network connection certificate template provided by the network operator may be acquired before or after the terminal device leaves the factory, or when the terminal device is used; and storing the network connection certificate template into a default file system of a terminal equipment system.
The network connection certificate template provided by the network operator can be acquired from an external network or from a local copy.
When detecting that no network connection certificate exists in the terminal equipment, acquiring a network connection certificate template from a default file system of the terminal equipment system, wherein the network connection certificate template can generate a network connection certificate after being installed through a certificate installation program, so that the network connection certificate required to be used by the PassionPoint network connection is acquired.
In this embodiment, through the above scheme, a network connection certificate template provided by a network operator is obtained; storing the network connection certificate template into a default file system of a terminal equipment system, and detecting whether a network connection certificate exists in the terminal equipment after the terminal equipment is started and/or a WIFI network is restarted; when detecting that no network connection certificate exists in the terminal equipment, acquiring a network connection certificate template from a default file system of a terminal equipment system; the network connection certificate template is installed in the terminal equipment to generate the network connection certificate, so that the network connection certificate is automatically generated through the terminal equipment without manual operation of a user to obtain the network connection certificate, the operation process of network connection is simplified, and convenience is provided for the user; in addition, the network connection certificate template is preset after the equipment leaves the factory and is started, and the certificate can be automatically recovered when being deleted by mistake, so that the convenience of network connection is further improved, and the user experience is improved.
Referring to fig. 4, fig. 4 is a flowchart illustrating a network connection method according to still another exemplary embodiment of the present application. Based on the embodiment shown in fig. 3, in this embodiment, the network connection method further includes:
and step S104, updating the user name and the password of the network connection certificate.
Compared with the embodiment shown in fig. 3, the present embodiment further includes a scheme for changing the user name and the password of the network connection certificate.
The present embodiment considers: the Passpoint user by default cannot simply obtain the network connection credentials, resulting in limited use of this functionality. Therefore, the scheme adopted in this embodiment is that a network connection certificate template is preset when the terminal device leaves a factory, so that a network connection certificate can be automatically generated and obtained based on the preset network connection certificate template, and it can be ensured that a user name and a password corresponding to each device certificate are all different and unique. Thereby being very convenient and friendly both for the terminal equipment and the Passpoint network operator.
Specifically, a preset certificate installation program is called in the terminal device to install a network connection certificate template and generate a network connection certificate, and in a normal case, after the installation of the network connection certificate is completed, user names and passwords of all the terminal devices are the same, which is not beneficial to management. Therefore, in this embodiment, the user name and the password of the network connection certificate generated by the network connection certificate template need to be modified into the certificate user name and the password which meet the actual requirements.
After the PassionPoint network connection certificate is installed, the network can be automatically connected according to a normal public WIFI network connection mode, the subsequent AP SSID of the WIFI network can still be automatically connected after being changed, all the APs of the same operator can be automatically connected regardless of the same name, and the connection is similar to the noninductive connection of a cellular network, so that great convenience is provided for the user equipment to use the network.
When changing the user name and password of the network connection certificate, the following scheme can be specifically adopted:
the user name is generated by using the local MAC address or the variation of the MAC address of the terminal equipment or the unique information of other equipment, such as the IMEI number, and then the password is generated based on a preset mode, such as an algorithm negotiated by the terminal equipment and a background server, and the default user name and the default password in the previously generated network connection certificate are replaced, so that the network connection certificate of each terminal equipment is ensured to be unique.
In this embodiment, through the above scheme, a network connection certificate template provided by a network operator is obtained; storing the network connection certificate template into a default file system of a terminal equipment system, and detecting whether a network connection certificate exists in the terminal equipment after the terminal equipment is started and/or a WIFI network is restarted; when detecting that no network connection certificate exists in the terminal equipment, acquiring a network connection certificate template from a default file system of a terminal equipment system; the network connection certificate template is installed in the terminal equipment to generate the network connection certificate, so that the network connection certificate is automatically generated through the terminal equipment without manual operation of a user to obtain the network connection certificate, the operation process of network connection is simplified, and convenience is provided for the user; in addition, after the network connection certificate is generated, the default user name and password of the network connection certificate are updated, the user name and password of the network connection certificate generated by the network connection certificate template are modified into the certificate user name and password which meet the actual requirements, and the user name and password corresponding to each equipment certificate can be guaranteed to be different and unique, so that the management is convenient, and the terminal equipment and the Passpoint network operator can be very convenient and friendly.
Referring to fig. 5, fig. 5 is a flowchart illustrating a network connection method according to another exemplary embodiment of the present application. Based on the embodiment shown in fig. 4, in this embodiment, the network connection method further includes:
and step S105, connecting the terminal equipment to the network through the generated network connection certificate.
Compared with the embodiment shown in fig. 4, the present embodiment further includes a scheme of connecting the terminal device to the network through the generated network connection certificate.
Specifically, according to the requirement that the Passpoint connects to the public WIFI network, in this embodiment, after the terminal device is turned on or leaves the factory, a network connection certificate required for Passpoint connection is acquired, and when the terminal device requests to join the WIFI network, the terminal device is connected to the network through the generated network connection certificate. The specific authentication process and the network connection process in which the terminal device is connected to the WIFI network through the network connection certificate may refer to a conventional flow in which the Passpoint is connected to the public WIFI network, and are not described herein again.
In this embodiment, through the above scheme, a network connection certificate template provided by a network operator is obtained; storing the network connection certificate template into a default file system of a terminal equipment system, and detecting whether a network connection certificate exists in the terminal equipment after the terminal equipment is started and/or a WIFI network is restarted; when detecting that no network connection certificate exists in the terminal equipment, acquiring a network connection certificate template from a default file system of a terminal equipment system; installing the network connection certificate template in the terminal equipment to generate a network connection certificate; the terminal equipment is connected to the network through the generated network connection certificate, so that the network connection certificate is automatically generated through the terminal equipment without manual operation of a user to obtain the network connection certificate, the operation process of network connection is simplified, and convenience is provided for the user; in addition, after the network connection certificate is generated, the default user name and password of the network connection certificate are updated, the user name and password of the network connection certificate generated by the network connection certificate template are modified into the certificate user name and password which meet the actual requirements, and the user name and password corresponding to each equipment certificate can be guaranteed to be different and unique, so that the management is convenient, and the terminal equipment and the Passpoint network operator can be very convenient and friendly.
In addition, an embodiment of the present application further provides a network connection device, where the network connection device includes:
the detection module is used for detecting whether a network connection certificate exists in the terminal equipment or not after the terminal equipment is started and/or the WIFI network is restarted;
the acquisition module is used for acquiring a network connection certificate template when detecting that no network connection certificate exists in the terminal equipment;
and the generating module is used for installing the network connection certificate template in the terminal equipment and generating a network connection certificate.
For the principle and implementation process of implementing network connection in this embodiment, please refer to the above embodiments, which are not described herein again.
In addition, the embodiment of the present application further provides a terminal device, where the terminal device includes a memory, a processor, and a network connection program stored on the memory and executable on the processor, and the network connection program, when executed by the processor, implements the steps of the network connection method according to the above embodiment.
Since the network connection program is executed by the processor, all technical solutions of all the foregoing embodiments are adopted, so that at least all the beneficial effects brought by all the technical solutions of all the foregoing embodiments are achieved, and detailed description is omitted here.
In addition, an embodiment of the present application further provides a computer-readable storage medium, where a network connection program is stored on the computer-readable storage medium, and the network connection program, when executed by a processor, implements the steps of the network connection method according to the embodiment.
Since the network connection program is executed by the processor, all technical solutions of all the foregoing embodiments are adopted, so that at least all the beneficial effects brought by all the technical solutions of all the foregoing embodiments are achieved, and detailed description is omitted here.
Compared with the prior art, the network connection method, the network connection device, the terminal equipment and the storage medium provided by the embodiment of the application detect whether the network connection certificate exists in the terminal equipment after the terminal equipment is started; when detecting that no network connection certificate exists in the terminal equipment, acquiring a network connection certificate template; and installing the network connection certificate template in the terminal equipment to generate the network connection certificate, so that the network connection certificate is automatically generated through the terminal equipment without manual operation of a user to obtain the network connection certificate, the operation process of network connection is simplified, and convenience is provided for the user. In addition, the network connection certificate can be preset after the equipment leaves the factory and is started, and the certificate can be automatically recovered when being deleted by mistake, so that the convenience of network connection is further improved, and the user experience is improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, a controlled terminal, or a network device) to execute the method of each embodiment of the present application.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (11)

1. A network connection method is applied to terminal equipment and is characterized in that the network connection method comprises the following steps:
after the terminal equipment is started and/or the WIFI network is restarted, detecting whether a network connection certificate exists in the terminal equipment;
when detecting that no network connection certificate exists in the terminal equipment, acquiring a network connection certificate template;
and installing the network connection certificate template in the terminal equipment to generate a network connection certificate.
2. The network connection method according to claim 1, further comprising:
acquiring a network connection certificate template provided by a network operator;
and storing the network connection certificate template into a default file system of a terminal equipment system.
3. The network connection method according to claim 2, wherein the obtaining of the network connection certificate template upon detecting that the network connection certificate does not exist in the terminal device comprises:
when detecting that no network connection certificate exists in the terminal equipment, acquiring a network connection certificate template from a default file system of the terminal equipment system.
4. The network connection method according to claim 1, wherein the installing the network connection certificate template in the terminal device and the generating a network connection certificate comprise:
and calling a preset certificate installation program in the terminal equipment, installing the network connection certificate template and generating a network connection certificate, wherein the network connection certificate correspondingly generates a user name and a password.
5. The network connection method according to claim 4, further comprising:
and updating the user name and the password of the network connection certificate.
6. The network connection method of claim 5, wherein the step of updating the username and password of the network connection certificate comprises:
and generating a user name through the unique identifier of the terminal equipment, generating a password based on a preset mode, and replacing the default user name and password in the previously generated network connection certificate.
7. The network connection method according to any one of claims 1 to 6, further comprising:
and connecting the terminal equipment to the network through the generated network connection certificate.
8. The network connection method according to claim 7, wherein the network connection certificate is a control point PassionPoint network connection certificate.
9. A network connection device, the network connection device comprising:
the detection module is used for detecting whether a network connection certificate exists in the terminal equipment or not after the terminal equipment is started and/or the WIFI network is restarted;
the acquisition module is used for acquiring a network connection certificate template when detecting that no network connection certificate exists in the terminal equipment;
and the generating module is used for installing the network connection certificate template in the terminal equipment and generating a network connection certificate.
10. A terminal device, characterized in that the terminal device comprises a memory, a processor and a network connection program stored on the memory and executable on the processor, the network connection program realizing the steps of the network connection method according to any one of claims 1-8 when executed by the processor.
11. A computer-readable storage medium, having a network connection program stored thereon, which when executed by a processor, performs the steps of the network connection method of any one of claims 1-8.
CN202010618043.1A 2020-06-30 2020-06-30 Network connection method, device, terminal equipment and storage medium Active CN111757325B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010618043.1A CN111757325B (en) 2020-06-30 2020-06-30 Network connection method, device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010618043.1A CN111757325B (en) 2020-06-30 2020-06-30 Network connection method, device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111757325A true CN111757325A (en) 2020-10-09
CN111757325B CN111757325B (en) 2023-06-30

Family

ID=72678531

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010618043.1A Active CN111757325B (en) 2020-06-30 2020-06-30 Network connection method, device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111757325B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616373A (en) * 2009-07-22 2009-12-30 宇龙计算机通信科技(深圳)有限公司 A kind of method, system, the webserver and terminal of obtaining the WAPI certificate
CN106330454A (en) * 2016-08-16 2017-01-11 优云合(北京)科技有限公司 Digital certificate generating method and digital certificate verifying method
US9621403B1 (en) * 2012-03-05 2017-04-11 Google Inc. Installing network certificates on a client computing device
CN106778108A (en) * 2017-03-09 2017-05-31 深圳峰创智诚科技有限公司 Generate the method and device of digital certificates
CN107180332A (en) * 2016-03-11 2017-09-19 北大方正集团有限公司 Digital certificates generation method and digital certificates generation system
CN107959568A (en) * 2017-10-19 2018-04-24 陈伟麟 A kind of measurement verification calibration digital certificates intelligent generation method and system
CN108696868A (en) * 2017-03-01 2018-10-23 西安西电捷通无线网络通信股份有限公司 The processing method of credential information for network connection, device and apply APP
CN108763967A (en) * 2018-06-05 2018-11-06 苏州科达科技股份有限公司 Obtain system, method, apparatus and the storage medium of device certificate
CN109190353A (en) * 2013-09-03 2019-01-11 微软技术许可有限责任公司 For automatically generating the method for identification document and calculating equipment
CN110166470A (en) * 2019-05-28 2019-08-23 北京奇安信科技有限公司 A kind of network service analogy method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616373A (en) * 2009-07-22 2009-12-30 宇龙计算机通信科技(深圳)有限公司 A kind of method, system, the webserver and terminal of obtaining the WAPI certificate
US9621403B1 (en) * 2012-03-05 2017-04-11 Google Inc. Installing network certificates on a client computing device
CN109190353A (en) * 2013-09-03 2019-01-11 微软技术许可有限责任公司 For automatically generating the method for identification document and calculating equipment
CN107180332A (en) * 2016-03-11 2017-09-19 北大方正集团有限公司 Digital certificates generation method and digital certificates generation system
CN106330454A (en) * 2016-08-16 2017-01-11 优云合(北京)科技有限公司 Digital certificate generating method and digital certificate verifying method
CN108696868A (en) * 2017-03-01 2018-10-23 西安西电捷通无线网络通信股份有限公司 The processing method of credential information for network connection, device and apply APP
CN106778108A (en) * 2017-03-09 2017-05-31 深圳峰创智诚科技有限公司 Generate the method and device of digital certificates
CN107959568A (en) * 2017-10-19 2018-04-24 陈伟麟 A kind of measurement verification calibration digital certificates intelligent generation method and system
CN108763967A (en) * 2018-06-05 2018-11-06 苏州科达科技股份有限公司 Obtain system, method, apparatus and the storage medium of device certificate
CN110166470A (en) * 2019-05-28 2019-08-23 北京奇安信科技有限公司 A kind of network service analogy method and device

Also Published As

Publication number Publication date
CN111757325B (en) 2023-06-30

Similar Documents

Publication Publication Date Title
US20230328516A1 (en) Device based credentials
EP3592017B1 (en) Credential information processing method and apparatus for network connection, and application (app)
US8966018B2 (en) Automated network device configuration and network deployment
WO2018000834A1 (en) Wifi hotspot information modification method and device
WO2015154488A1 (en) Method and device for accessing router
US11246174B2 (en) Methods and systems for connecting a wireless device to a wireless network
CN105284178A (en) Configuring wireless accessory devices
EP2951950B1 (en) Methods for activation of an application on a user device
EP2590354B1 (en) Method, apparatus and system for software management
US11832348B2 (en) Data downloading method, data management method, and terminal
JP6269025B2 (en) Wireless connection apparatus, method for copying setting information related to wireless communication, and network system
KR20210004809A (en) Method for transferring subscription and electronic device for supporting the same
KR20120045859A (en) System and method for producing sequrity service by means of application, and apparatus applied to the same
US20230300596A1 (en) Remote subscription profile download
EP3085007B1 (en) Push-based trust model for public cloud applications
CN108282784B (en) Wireless network access method, MiFi terminal, mobile terminal and storage medium
WO2018157782A1 (en) Credential information processing method and apparatus for network connection, and application (app)
JP4480346B2 (en) Information device security ensuring method and system, and information device security ensuring program
CN111757325B (en) Network connection method, device, terminal equipment and storage medium
WO2018011874A1 (en) Wireless relay device
JP6640949B2 (en) Connection information transmitting device, method and program
JP6468341B2 (en) Wireless connection apparatus, method for copying setting information related to wireless communication, and network system
CN112202799B (en) Authentication system and method for realizing binding of user and/or terminal and SSID
WO2023130821A1 (en) Network access method and apparatus
CN116546523A (en) Network configuration method, system and storage medium

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
GR01 Patent grant
GR01 Patent grant