CN112019504B - Method and device for acquiring wifi dynamic verification code - Google Patents

Method and device for acquiring wifi dynamic verification code Download PDF

Info

Publication number
CN112019504B
CN112019504B CN202010712377.5A CN202010712377A CN112019504B CN 112019504 B CN112019504 B CN 112019504B CN 202010712377 A CN202010712377 A CN 202010712377A CN 112019504 B CN112019504 B CN 112019504B
Authority
CN
China
Prior art keywords
verification code
applet
wifi
user
information
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.)
Active
Application number
CN202010712377.5A
Other languages
Chinese (zh)
Other versions
CN112019504A (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.)
Dazhu Hangzhou Technology Co ltd
Original Assignee
Dazhu Hangzhou Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dazhu Hangzhou Technology Co ltd filed Critical Dazhu Hangzhou Technology Co ltd
Priority to CN202010712377.5A priority Critical patent/CN112019504B/en
Publication of CN112019504A publication Critical patent/CN112019504A/en
Application granted granted Critical
Publication of CN112019504B publication Critical patent/CN112019504B/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
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a method and a device for acquiring a wifi dynamic verification code, relates to the technical field of communication, and aims to solve the problem that the operation or process for acquiring the wifi dynamic verification code in the prior art is complex in authentication process. The method mainly comprises the following steps: receiving a verification code acquisition request sent by a wifi authentication applet in a host application; acquiring user information carried in the verification code acquisition request; if the user information is stored in the information storage table, calculating a dynamic verification code corresponding to a preset general key according to a preset encryption algorithm; and sending the dynamic verification code to the wifi authentication applet. The invention is mainly applied to the process of connecting the wireless network.

Description

Method and device for acquiring wifi dynamic verification code
Technical Field
The invention relates to the technical field of communication, in particular to a method, a device and a system for acquiring a wifi dynamic verification code.
Background
Wireless internet wifi is a technology for connecting terminals such as computers, PADs, mobile phones and the like to the internet in a radio wave manner. Common wifi authentication modes include open system, web authentication, mac authentication, wpa-radius authentication, wps-psk authentication and the like.
Exemplarily, in the authentication process, the mobile terminal can be registered on a server through the mobile terminal, the wireless access point registers on the authentication server and submits the related information, the wireless access point manages whether the mobile terminal has the authority of accessing the network, the server can send the wifi password to the mobile terminal of the legal user in an encryption mode, the mobile terminal is authenticated through the WPA PSK and accesses the network, the wireless access point generates a new password 24 hours later and submits the new password to the authentication server, the server sends the new wifi password to the legal user of the system in an encryption mode, and the mobile terminal of the legal user is authenticated through the WPA PSK and accesses the network. Illustratively, in the authentication process, identity verification software can be installed on the mobile terminal, a verification code is obtained through the identity verification software, and the verification code is filled in the web page connection wifi.
In the method in the prior art, identity verification software needs to be registered or installed in advance in an authentication server, a plurality of steps need to be performed when a mobile terminal is connected with wifi for the first time, and once the identity verification software cannot be registered in the authentication server in time or the mobile terminal cannot be installed, a user cannot be connected with wifi through the mobile terminal. The existing method for acquiring the wifi dynamic verification code has complex operation flow or authentication flow, and is not beneficial to safely and quickly accessing the wifi network.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for acquiring a wifi dynamic verification code, and mainly aims to solve the problem in the prior art that an authentication process of an operation or a process for acquiring a wifi dynamic verification code is complicated.
According to one aspect of the invention, a method for acquiring a wifi dynamic verification code is provided, which comprises the following steps:
receiving a verification code acquisition request sent by a wifi authentication applet in a host application;
acquiring user information carried in the verification code acquisition request;
if the user information is stored in the information storage table, calculating a dynamic verification code corresponding to a preset general key according to a preset encryption algorithm;
and sending the dynamic verification code to the wifi authentication applet.
According to another aspect of the present invention, an apparatus for acquiring a wifi dynamic verification code is provided, including:
the receiving module is used for receiving a verification code acquisition request sent by a wifi authentication applet in host application;
the acquisition module is used for acquiring the user information carried in the verification code acquisition request;
the calculation module is used for calculating a dynamic verification code corresponding to the preset general key according to a preset encryption algorithm if the user information is stored in the information storage table;
and the sending module is used for sending the dynamic verification code to the wifi authentication applet.
According to another aspect of the present invention, a computer storage medium is provided, where at least one executable instruction is stored in the computer storage medium, and the executable instruction causes a processor to perform an operation corresponding to the above wifi dynamic verification code obtaining method.
According to still another aspect of the present invention, there is provided a computer apparatus including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the method for acquiring the wifi dynamic verification code.
By means of the technical scheme, the technical scheme provided by the embodiment of the invention at least has the following advantages:
the invention provides a method and a device for acquiring a wifi dynamic verification code. Compared with the prior art, the embodiment of the invention transmits the verification code acquisition request and receives the dynamic verification code through the wifi authentication applet, the wifi authentication applet can be started through the installed host application of the user without installing an additional application program by the user, the operation flow or the authentication flow for the user to acquire the wifi dynamic verification code is simple, the dynamic verification code can be quickly acquired, and the wifi network is safely accessed.
The above description is only an overview of the technical solutions of the present invention, and the present invention can be implemented in accordance with the content of the description so as to make the technical means of the present invention more clearly understood, and the above and other objects, features, and advantages of the present invention will be more clearly understood.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 shows a flowchart of a method for acquiring a wifi dynamic verification code according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating another method for acquiring a wifi dynamic verification code according to an embodiment of the present invention;
fig. 3 is a block diagram illustrating an apparatus for acquiring a wifi dynamic verification code according to an embodiment of the present invention;
fig. 4 is a block diagram illustrating an apparatus for obtaining another wifi dynamic verification code according to an embodiment of the present invention;
fig. 5 shows a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The terminal equipment is connected with the wireless network, an authentication code acquisition request is sent through an application program installed on a client, then the server generates a dynamic authentication code, the application program receives the dynamic authentication code, and finally the terminal equipment is connected with the wireless network by taking the dynamic authentication code as a password. By the scheme of the invention, the user can be prevented from installing additional APP. The embodiment of the invention provides a method for acquiring a wifi dynamic verification code, as shown in fig. 1, the method comprises the following steps:
101. and receiving a verification code acquisition request sent by the wifi authentication applet in the host application.
The host application refers to an application program running on the terminal device of the user, the wifi authentication applet runs on the terminal device depending on the host application, and the terminal device can include but is not limited to an intelligent mobile terminal, a tablet computer, a notebook computer and the like. The host application has a function of opening the applet, and if the host application and the wifi authentication applet have an incidence relation, the wifi authentication applet can be searched in the host application. The wifi authentication applet can be set to be started only under the coverage of a wireless signal of a specific wireless network card address.
When the terminal equipment is under the coverage of a wireless signal of the wireless network card address, a user opens a wifi authentication applet in the host application, the user sends a verification code acquisition request, and the server side receives the verification code acquisition request. During the sending process of the request for obtaining the verification code, the request may need to be converted into a specific transmission format, encrypted, added with a fault-tolerant check code, and the like, which is not limited in the embodiment of the present invention.
The verification code acquisition request comprises user information and a receiving address, the user information is used for identifying whether the user is authorized by the server to be a user capable of being connected with the wireless network, and the receiving address is used for receiving the dynamic verification code acquired according to the verification code acquisition request.
102. And acquiring the user information carried in the verification code acquisition request.
And analyzing the verification code acquisition request according to the data processing process of the verification code acquisition request in the sending process, and extracting the user information carried in the verification code acquisition request. The user information includes a user name, an account name of the login host application, a mobile phone number of the login host application, a machine physical identification code of the installation host application and the like, the user information can distinguish different users, and the data type included in the user information is not limited in the embodiment of the invention.
103. And if the user information is stored in the information storage table, calculating the dynamic verification code corresponding to the preset general key according to a preset encryption algorithm.
The information storage table is used for storing all user information with the authority of connecting the wireless network. Having the right to connect to the wireless network means that the user who logs in the host application is an employee of the entity to which the wireless network belongs, or can receive all users of a specific wireless network. And searching the user information in the information storage table, and if the user information is stored in the information storage table, calculating a dynamic verification code corresponding to the preset general key. The preset encryption algorithm can be Google encryption algorithm, and the dynamic verification code is a 6-bit verification code.
And the information in the information storage table is acquired by a host application installed on the terminal equipment. When a user starts the wifi authentication applet for the first time through the host application on the terminal device, the user information is stored in the information storage table.
104. And sending the dynamic verification code to the wifi authentication applet.
And sending the dynamic verification code to the wifi authentication applet according to a preset sending rule. And displaying the dynamic verification code according to the display rule of the view layer of the wifi authentication applet. The view layer comprises various style files so as to display the data of the model layer on a display page of the terminal equipment.
The invention provides a method for acquiring a wifi dynamic verification code, which comprises the steps of firstly receiving a verification code acquisition request sent by a wifi authentication applet in a host application, then acquiring user information carried in the verification code acquisition request, if the user information is stored in an information storage table, calculating the dynamic verification code corresponding to a preset general key according to a preset encryption algorithm, and finally sending the dynamic verification code to the wifi authentication applet. Compared with the prior art, the embodiment of the invention transmits the verification code acquisition request and receives the dynamic verification code through the wifi authentication applet, the wifi authentication applet can be started through the installed host application of the user without installing an additional application program by the user, the operation flow or the authentication flow for the user to acquire the wifi dynamic verification code is simple, the dynamic verification code can be quickly acquired, and the wifi network is safely accessed.
The embodiment of the invention provides another method for acquiring a wifi dynamic verification code, as shown in fig. 2, the method includes:
201. and storing the applet file package of the wifi authentication applet.
In order to use different specific working environments, the host application in the embodiment of the invention can be nailing software, enterprise WeChat software, cloud family and other mobile office system software. The host application can set a company to which the user belongs, and the wifi authentication applet can be searched only when the company to which the user belongs is a company to which a specific wireless network belongs. When the terminal equipment for installing the host application is in a specific wireless network coverage range, the wifi authentication applet of the wireless network can be used. Storing the applet file package in the server for managing the wifi verification code is a precondition for starting the wifi applet. The terminal equipment is used for displaying the front end of the wifi applet, and the server is used for providing all-off service and operation and maintenance deployment.
The applet file package is used for starting the wifi authentication applet when the host application receives a trigger event of the wifi authentication applet. The storing applet file package specifically comprises: acquiring an applet code, wherein the applet code comprises an Application Programming Interface (API) interface layer code, a logic layer code, a plug-in layer code, a connecting layer code and a view layer code; packaging the applet codes to generate an applet file package; and storing the applet file package in a preset storage position.
The function of the software is the same as that of the existing software for acquiring the dynamic verification code, and the specific implementation code of the wifi authentication applet is not limited in the embodiment of the invention. And displaying static model data such as keys, display windows, graphs and the like configured at the front end of the wifi authentication applet according to the view layer codes. The back-end implementation of the wifi applet comprises API interface layer codes, logic layer codes, plug-in layer codes and connection layer codes. The API interface layer codes automatically generate interface documents by using swagger-ui technology, the consistency of the interfaces and the codes is ensured, all the interfaces are displayed in an interface mode, and the test calling is convenient; the logic layer codes complete various service codes according to service requirements, and the upper layer and the lower layer are butted; host application plug-ins are integrated in the plug-in layer codes, and seamless joint nailing or unified account service is achieved; the plug-in layer code is internally integrated with a uniform account plug-in for storing user information.
202. And receiving a verification code acquisition request sent by the wifi authentication applet in the host application.
When the user passes through the host application, the wifi authentication applet is searched and started, a verification code obtaining request is sent in response to the user operation, and the server side receives the verification code obtaining request. The verification code acquisition request comprises user information and a receiving address, the user information is used for identifying whether the user is authorized by the server to be a user capable of being connected with the wireless network, and the receiving address is used for receiving the dynamic verification code acquired according to the verification code acquisition request.
203. And acquiring the user information carried in the verification code acquisition request.
And analyzing the verification code acquisition request according to the data processing process of the verification code acquisition request in the sending process, and extracting the user information carried in the verification code acquisition request. The user information comprises a user name, an account name of a user login host application, a mobile phone number of the user login host application, a machine physical identification code of the installation host application and the like, the user information can distinguish different users, and the type of data included in the user information is not limited in the embodiment of the invention.
204. And if the user information is stored in the information storage table, calculating the dynamic verification code corresponding to the preset general key according to a preset encryption algorithm.
The information storage table is used for storing all user information with the authority of connecting the wireless network. And searching the user information in the information storage table, and if the user information is stored in the information storage table, calculating a dynamic verification code corresponding to the preset general key. In the searching process, all information in the user information needs to be compared.
205. And if the user information is not stored in the information storage table, storing the user information into the information storage table.
And the information in the information storage table is acquired by a host application installed on the terminal equipment. When a user starts the wifi authentication applet for the first time through the host application on the terminal device, the user information is stored in the information storage table. The process of storing the user information specifically comprises the following steps: extracting user personal information of the host application, wherein the user personal information at least comprises user information; and storing the personal information of the user into an information storage table.
The user personal information also includes a belonging part, a job position, a work place, a responsible area, an identification number, a photo, and the like. The information storage table stores personal information of the user, namely employee information can be automatically input. In the storage process of the user personal information, the user personal information can be packaged to generate a collection plug-in, and the storage of the user personal information is realized in a calling mode.
206. And sending request failure information to the host application to instruct the user to resend the verification code acquisition request.
And if the user information is not stored in the information storage table, sending request failure information to the host application to indicate the user to resend the verification code acquisition request. If the verification code acquisition request is received again, whether the user information is stored in the information storage table is judged again, and if the user information is stored in the information storage table, the dynamic verification code corresponding to the preset universal key is calculated.
207. And sending the dynamic verification code to the wifi authentication applet.
And after the dynamic verification code is obtained through calculation, the dynamic verification code is sent to the wifi authentication applet. And sending the dynamic verification code to the wifi authentication applet according to a preset sending rule. And displaying the dynamic verification code according to the display rule of the view layer of the wifi authentication applet. The view layer comprises various style files so as to display the data of the model layer on a display page of the terminal equipment.
The invention provides a method for acquiring a wifi dynamic verification code, which comprises the steps of firstly receiving a verification code acquisition request sent by a wifi authentication applet in a host application, then acquiring user information carried in the verification code acquisition request, if the user information is stored in an information storage table, calculating the dynamic verification code corresponding to a preset general key according to a preset encryption algorithm, and finally sending the dynamic verification code to the wifi authentication applet. Compared with the prior art, the embodiment of the invention transmits the verification code acquisition request and receives the dynamic verification code through the wifi authentication applet, the wifi authentication applet can be started through the installed host application of the user without installing an additional application program by the user, the operation flow or the authentication flow for the user to acquire the wifi dynamic verification code is simple, the dynamic verification code can be quickly acquired, and the wifi network is safely accessed.
Further, as an implementation of the method shown in fig. 1, an embodiment of the present invention provides an apparatus for acquiring a wifi dynamic verification code, as shown in fig. 3, where the apparatus includes:
the receiving module 31 is configured to receive a verification code acquisition request sent by a wifi authentication applet in a host application;
an obtaining module 32, configured to obtain the user information carried in the verification code obtaining request;
a calculating module 33, configured to calculate a dynamic verification code corresponding to the preset general key according to a preset encryption algorithm if the user information is stored in the information storage table;
a sending module 34, configured to send the dynamic verification code to the wifi authentication applet.
The invention provides a device for acquiring a wifi dynamic verification code, which is characterized by firstly receiving a verification code acquisition request sent by a wifi authentication applet in a host application, then acquiring user information carried in the verification code acquisition request, if the user information is stored in an information storage table, calculating the dynamic verification code corresponding to a preset general key according to a preset encryption algorithm, and finally sending the dynamic verification code to the wifi authentication applet. Compared with the prior art, the embodiment of the invention transmits the verification code acquisition request and receives the dynamic verification code through the wifi authentication applet, the wifi authentication applet can be started through the installed host application of the user without installing an additional application program by the user, the operation flow or the authentication flow for the user to acquire the wifi dynamic verification code is simple, the dynamic verification code can be quickly acquired, and the wifi network is safely accessed.
Further, as an implementation of the method shown in fig. 2, an embodiment of the present invention provides another apparatus for acquiring a wifi dynamic verification code, as shown in fig. 4, where the apparatus includes:
a receiving module 41, configured to receive a verification code obtaining request sent by a wifi authentication applet in a host application;
an obtaining module 42, configured to obtain user information carried in the verification code obtaining request;
a calculating module 43, configured to calculate a dynamic verification code corresponding to a preset general key according to a preset encryption algorithm if the user information is stored in the information storage table;
a sending module 44, configured to send the dynamic verification code to the wifi authentication applet.
Further, the apparatus further comprises:
an information storage module 45, configured to, after the user information carried in the verification code acquisition request is acquired, store the user information into the information storage table if the user information is not stored in the information storage table;
the sending module 44 is further configured to send request failure information to the host application to instruct the user to resend the verification code obtaining request.
Further, the information storage module 45 includes:
an extracting unit 451 for extracting user personal information of the host application, the user personal information including at least user information;
a storage unit 452 for storing the user personal information into the information storage table.
Further, the apparatus further comprises:
the code storage module 46 is further configured to store an applet package of the wifi authentication applet before receiving a verification code acquisition request sent by the wifi authentication applet in the host application, where the applet package is used to start the wifi authentication applet when the host application receives a trigger event of the wifi authentication applet.
Further, the code storage module 46 includes:
an obtaining unit 461, configured to obtain an applet code, where the applet code includes an application programming interface API interface layer code, a logic layer code, a plug-in layer code, a connection layer code, and a view layer code;
a generating unit 462, configured to package the applet codes and generate the applet file package;
a storage unit 463, configured to store the applet package in a preset storage location.
The invention provides a device for acquiring a wifi dynamic verification code, which is characterized by firstly receiving a verification code acquisition request sent by a wifi authentication applet in a host application, then acquiring user information carried in the verification code acquisition request, if the user information is stored in an information storage table, calculating the dynamic verification code corresponding to a preset general key according to a preset encryption algorithm, and finally sending the dynamic verification code to the wifi authentication applet. Compared with the prior art, the embodiment of the invention transmits the verification code acquisition request and receives the dynamic verification code through the wifi authentication applet, the wifi authentication applet can be started through the installed host application of the user without installing an additional application program by the user, the operation flow or the authentication flow for the user to acquire the wifi dynamic verification code is simple, the dynamic verification code can be quickly acquired, and the wifi network is safely accessed.
According to an embodiment of the present invention, a computer storage medium is provided, where at least one executable instruction is stored in the computer storage medium, and the computer executable instruction may execute the method for acquiring the wifi dynamic verification code in any of the above method embodiments.
Fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present invention, where the embodiment of the present invention does not limit the specific implementation of the computer device.
As shown in fig. 5, the computer apparatus may include: a processor (processor)502, a Communications Interface 504, a memory 506, and a communication bus 508.
Wherein: the processor 502, communication interface 504, and memory 506 communicate with one another via a communication bus 508.
A communication interface 504 for communicating with network elements of other devices, such as clients or other servers.
The processor 502 is configured to execute the program 510, and may specifically execute relevant steps in the above embodiment of the method for acquiring a wifi dynamic verification code.
In particular, program 510 may include program code that includes computer operating instructions.
The processor 502 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the present invention. The computer device includes one or more processors, which may be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 506 for storing a program 510. The memory 506 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 510 may be specifically configured to cause the processor 502 to perform the following operations:
receiving a verification code acquisition request sent by a wifi authentication applet in a host application;
acquiring user information carried in the verification code acquisition request;
if the user information is stored in the information storage table, calculating a dynamic verification code corresponding to a preset general key according to a preset encryption algorithm;
and sending the dynamic verification code to the wifi authentication applet.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. A method for acquiring a wifi dynamic verification code is characterized by comprising the following steps:
storing an applet file package of a wifi authentication applet, wherein the applet file package is used for starting the wifi authentication applet when a host application receives a trigger event of the wifi authentication applet;
receiving a verification code acquisition request sent by the wifi authentication applet in the host application;
acquiring user information carried in the verification code acquisition request;
if the user information is stored in the information storage table, calculating a dynamic verification code corresponding to a preset general key according to a preset encryption algorithm;
and sending the dynamic verification code to the wifi authentication applet.
2. The method of claim 1, wherein after the obtaining the user information carried in the request for obtaining the verification code, the method further comprises:
if the user information is not stored in the information storage table, storing the user information into the information storage table;
and sending request failure information to the host application to indicate the user to resend the verification code acquisition request.
3. The method of claim 2, wherein said storing said user information in said information storage table comprises:
extracting user personal information of the host application, wherein the user personal information at least comprises user information;
and storing the personal information of the user into an information storage table.
4. The method of claim 1, wherein the storing the applet package for the wifi certified applet comprises:
acquiring an applet code, wherein the applet code comprises an Application Programming Interface (API) interface layer code, a logic layer code, a plug-in layer code, a connecting layer code and a view layer code;
packaging the applet codes to generate the applet file package;
and storing the applet file package in a preset storage position.
5. The utility model provides an acquisition device of wifi dynamic verification code which characterized in that includes:
the system comprises a code storage module, a service module and a service module, wherein the code storage module is used for storing an applet file package of a wifi authentication applet, and the applet file package is used for starting the wifi authentication applet when a host application receives a trigger event of the wifi authentication applet;
the receiving module is used for receiving a verification code acquisition request sent by the wifi authentication applet in the host application;
the acquisition module is used for acquiring the user information carried in the verification code acquisition request;
the calculation module is used for calculating a dynamic verification code corresponding to the preset general key according to a preset encryption algorithm if the user information is stored in the information storage table;
and the sending module is used for sending the dynamic verification code to the wifi authentication applet.
6. The apparatus of claim 5, wherein the apparatus further comprises:
a storage module, configured to, after the user information carried in the verification code acquisition request is acquired, store the user information in the information storage table if the user information is not stored in the information storage table;
the sending module is further configured to send request failure information to the host application to indicate a user to resend the verification code acquisition request.
7. The apparatus of claim 6, wherein the storage module comprises:
an extracting unit configured to extract user personal information of the host application, the user personal information including at least user information;
and the storage unit is used for storing the personal information of the user into the information storage table.
8. A computer storage medium, wherein at least one executable instruction is stored in the computer storage medium, and the executable instruction causes a processor to execute operations corresponding to the method for acquiring a wifi dynamic verification code as claimed in any one of claims 1-4.
9. A computer device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface are communicated with each other through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the wifi dynamic verification code acquisition method in any one of claims 1-4.
CN202010712377.5A 2020-07-22 2020-07-22 Method and device for acquiring wifi dynamic verification code Active CN112019504B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010712377.5A CN112019504B (en) 2020-07-22 2020-07-22 Method and device for acquiring wifi dynamic verification code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010712377.5A CN112019504B (en) 2020-07-22 2020-07-22 Method and device for acquiring wifi dynamic verification code

Publications (2)

Publication Number Publication Date
CN112019504A CN112019504A (en) 2020-12-01
CN112019504B true CN112019504B (en) 2022-08-26

Family

ID=73499648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010712377.5A Active CN112019504B (en) 2020-07-22 2020-07-22 Method and device for acquiring wifi dynamic verification code

Country Status (1)

Country Link
CN (1) CN112019504B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103596177A (en) * 2013-11-19 2014-02-19 上海众人网络安全技术有限公司 Method for making mobile terminal get access to public WiFi in one-key mode
CN105337740A (en) * 2014-07-31 2016-02-17 阿里巴巴集团控股有限公司 Identity verification method, client, relay device and server
CN105592461A (en) * 2015-11-19 2016-05-18 湖北睛彩视讯科技有限公司 WiFi user identification authentication method and system
CN107087293A (en) * 2017-03-09 2017-08-22 北京网康科技有限公司 A kind of cut-in method, terminal and server
CN107086984A (en) * 2017-03-17 2017-08-22 深圳市金立通信设备有限公司 A kind of method, terminal and server for obtaining and generating identifying code
CN108900479A (en) * 2018-06-12 2018-11-27 泰康保险集团股份有限公司 Short message verification code acquisition methods and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120179909A1 (en) * 2011-01-06 2012-07-12 Pitney Bowes Inc. Systems and methods for providing individual electronic document secure storage, retrieval and use

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103596177A (en) * 2013-11-19 2014-02-19 上海众人网络安全技术有限公司 Method for making mobile terminal get access to public WiFi in one-key mode
CN105337740A (en) * 2014-07-31 2016-02-17 阿里巴巴集团控股有限公司 Identity verification method, client, relay device and server
CN105592461A (en) * 2015-11-19 2016-05-18 湖北睛彩视讯科技有限公司 WiFi user identification authentication method and system
CN107087293A (en) * 2017-03-09 2017-08-22 北京网康科技有限公司 A kind of cut-in method, terminal and server
CN107086984A (en) * 2017-03-17 2017-08-22 深圳市金立通信设备有限公司 A kind of method, terminal and server for obtaining and generating identifying code
CN108900479A (en) * 2018-06-12 2018-11-27 泰康保险集团股份有限公司 Short message verification code acquisition methods and device

Also Published As

Publication number Publication date
CN112019504A (en) 2020-12-01

Similar Documents

Publication Publication Date Title
US10623954B2 (en) AP connection method, terminal, and server
EP3484125B1 (en) Method and device for scheduling interface of hybrid cloud
US9766914B2 (en) System and methods for remote maintenance in an electronic network with multiple clients
CN111917773B (en) Service data processing method and device and server
JP4932413B2 (en) Environment migration system, terminal device, information processing device, management server, portable storage medium
CN108696490A (en) The recognition methods of account permission and device
CN111176794A (en) Container management method and device and readable storage medium
CN112118238B (en) Method, device, system, equipment and storage medium for authenticating login
CN111241523B (en) Authentication processing method, device, equipment and storage medium
CN106101188B (en) A kind of data processing method of network cloud USB flash disk
CN112995227B (en) One-stop information service platform based on three-party credit management
CN112019504B (en) Method and device for acquiring wifi dynamic verification code
TW200522744A (en) Mobility device server
CN101931530A (en) Generation method, authentication method and device for dynamic password and network system
CN111415242A (en) Client information processing method and device
CN114585055B (en) Vehicle-mounted WiFi access method, vehicle controller, cloud server and mobile terminal
CN113536367B (en) Registration method, privacy server, business information server and registration system
CN110430211B (en) Virtualization cloud desktop system and operation method
JP2013251000A (en) User verification device, method, and program
CN114422586A (en) Event notification method and device, computer equipment and storage medium
CN107517177B (en) Interface authorization method and device
CN112464259A (en) ERP page acquisition method and device, computer equipment and storage medium
CN111158857A (en) Data encryption method, device, equipment and storage medium
CN107357562B (en) Information filling method, device and client
CN115220831A (en) Method and system for providing working mode based on safe working space

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