CN106507357B - Access control method and terminal equipment - Google Patents

Access control method and terminal equipment Download PDF

Info

Publication number
CN106507357B
CN106507357B CN201611263345.1A CN201611263345A CN106507357B CN 106507357 B CN106507357 B CN 106507357B CN 201611263345 A CN201611263345 A CN 201611263345A CN 106507357 B CN106507357 B CN 106507357B
Authority
CN
China
Prior art keywords
access
wireless communication
communication module
equipment
authentication
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
CN201611263345.1A
Other languages
Chinese (zh)
Other versions
CN106507357A (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 CN201611263345.1A priority Critical patent/CN106507357B/en
Publication of CN106507357A publication Critical patent/CN106507357A/en
Application granted granted Critical
Publication of CN106507357B publication Critical patent/CN106507357B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • 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

Abstract

The embodiment of the invention discloses an access control method and terminal equipment, wherein the method comprises the following steps: the method comprises the steps that a wireless communication module of the terminal equipment searches an accessible wireless network under the condition that the requirement of accessing the network is determined; the wireless communication module generates an authentication request and sends the authentication request to access equipment through transmitting equipment of the terminal equipment; after receiving an authentication confirmation message from the access equipment, determining that the access equipment is accessed by authentication; and sending a message of successful access to a central processing unit of the terminal equipment. In the process of access control, the CPU is not required to be awakened and the interruption processing is not required, so that the work of the CPU is deployed in hardware with an intelligent function, on one hand, the load balance is realized, on the other hand, the interruption of the CPU is reduced, the load of the CPU can be reduced, the power consumption of a radio frequency module can be reduced, and the system efficiency of the whole terminal device is improved.

Description

Access control method and terminal equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an access control method and a terminal device.
Background
The access authentication refers to a process that a network authenticates user equipment in a process that the terminal equipment accesses the network. One example is provided below:
the method comprises the steps that terminal equipment searches available wireless fidelity (WiFi) hotspots in a preset area range, obtains the available WiFi hotspots, and pushes the available WiFi hotspots to a user;
responding to WiFi hotspot selection operation of a user, and identifying a WiFi hotspot selected by the user;
the method comprises the steps of obtaining authentication data of a WiFi hotspot selected by a user, adapting a WiFi hotspot Portal (Portal) authentication protocol of the WiFi hotspot selected by the user, and logging in the WiFi hotspot Portal according to the adapted WiFi hotspot Portal authentication protocol and the authentication data of the WiFi hotspot.
In the above process, a Central Processing Unit (CPU) controls a WiFi module running on an Application Processor (AP) to complete an authentication process, which requires the AP to interact with the CPU, and the AP initiates a large amount of CPU interruption, which causes a large CPU load and a low efficiency of the entire system.
Disclosure of Invention
The embodiment of the invention provides an access control method and terminal equipment, which are used for reducing CPU load and improving the efficiency of the whole access equipment system.
In one aspect, an embodiment of the present invention provides an access control method, including:
the method comprises the steps that a wireless communication module of the terminal equipment searches an accessible wireless network under the condition that the requirement of accessing the network is determined;
the wireless communication module generates an authentication request, sends the authentication request to a transmitting device of the terminal device, and sends the authentication request to an access device by the transmitting device;
and the wireless communication module determines that the authentication is passed after receiving the authentication confirmation message from the access equipment.
In an optional implementation, the wireless communication module generating the authentication request includes:
the wireless communication module reads the historical authentication information of the terminal equipment in the access equipment in a private memory of the wireless communication module, and generates an authentication request according to the historical authentication information.
In an optional implementation manner, the determining, by the wireless communication module of the terminal device, that there is a need for accessing the network includes:
and after the wireless communication module of the terminal equipment determines that the application program has a data transmission requirement through a communication interface between the wireless communication module and the application program, determining that the application program has an access network requirement.
In an optional implementation, the method further includes:
reading history authentication information of the terminal equipment in the access equipment in a private memory of the wireless communication module, wherein the history authentication information fails, and the access equipment is an encryption equipment, calling an application interface of the access control through a communication interface between the terminal equipment and the application interface of the access control, and displaying the access equipment as optional access equipment on the application interface;
the wireless communication module generating the authentication request comprises:
the wireless communication module receives an instruction for selecting the access equipment to access the network and password information through the application interface; and generating an authentication request, wherein the authentication request carries the password information.
In an optional implementation manner, the wireless communication module is a wireless fidelity module, and the access device is a wireless router.
In an optional implementation manner, after accessing the access device, the method further includes:
the wireless communication module receives uplink data from the application program to determine the type of the uplink data, and whether the type of the uplink data meets the requirement of awakening a central processing unit in a low power consumption mode;
and sending the uplink data to the transmitting equipment under the condition that the type of the uplink data does not meet the requirement of awakening a central processing unit in a low power consumption mode.
In another aspect, an embodiment of the present invention further provides a terminal device, including: a wireless communication module, the wireless communication module comprising:
the searching unit is used for searching an accessible wireless network under the condition that the requirement of accessing the network is determined;
a request generation unit configured to generate an authentication request;
the transmitting control unit is used for transmitting the data to the access equipment through the transmitting equipment of the terminal equipment;
and the access control unit is used for determining that the authentication is passed after receiving the authentication confirmation message from the access equipment.
In an optional implementation manner, the request generating unit is configured to read, in a private memory of the wireless communication module, historical authentication information of the terminal device in the access device, and generate an authentication request according to the historical authentication information.
In an optional implementation manner, the searching unit is configured to determine that there is an access network requirement after determining, through a communication interface with an application, that the application has a data transmission requirement.
In an optional implementation manner, the wireless communication module further includes:
an interface calling unit, configured to read, in a private memory of the wireless communication module, that historical authentication information of the terminal device in the access device fails, and call, when the access device is an encryption device, an application interface of access control through a communication interface with the application interface of access control, and display the access device as a selectable access device on the application interface;
the request generating unit is used for receiving an instruction for selecting the access equipment to access the network and password information through the application interface; and generating an authentication request, wherein the authentication request carries the password information.
In an optional implementation manner, the wireless communication module is a wireless fidelity module, and the access device is a wireless router.
In an optional implementation manner, the wireless communication module further includes:
a wake-up confirmation unit, configured to receive uplink data from the application program after accessing the access device, and determine whether the type of the uplink data meets a requirement for waking up a central processing unit in a low power consumption mode;
and the data sending unit is used for sending the uplink data to the transmitting equipment under the condition that the type of the uplink data does not meet the requirement of awakening the central processing unit in the low power consumption mode.
Embodiments of the present invention in three aspects further provide another terminal device, including: the wireless communication module is the wireless communication module in the foregoing embodiments, and details are not repeated here.
In an embodiment of the present invention, a terminal device is further provided, including: a wireless communication module, a transmitting device, a processor, and a memory communicatively coupled; wherein the wireless communication module has a function of independently performing access to an access device.
More specifically, the wireless communication module having a function of independently performing access to an access device includes:
the wireless communication module is used for searching an accessible wireless network under the condition that the requirement of accessing the network is determined; generating an authentication request, sending the authentication request to a transmitting device of the terminal device, and sending the authentication request to an access device by the transmitting device; and after receiving the authentication confirmation message from the access equipment, determining that the authentication is passed.
The wireless communication module has other functions, and the embodiments of the present invention are not described in detail.
According to the technical scheme, the embodiment of the invention has the following advantages: the wireless communication module controls the authentication process of the terminal equipment, and in the access control process, the CPU is not required to be awakened and the interruption process is not required to be executed, so that the work of the CPU is deployed into hardware with an intelligent function, the load balance is realized on one hand, and the interruption of the CPU is reduced on the other hand, therefore, the load of the CPU can be reduced, the power consumption of a radio frequency module can be reduced, and the system efficiency of the whole terminal equipment is improved.
Drawings
FIG. 1 is a schematic flow chart of a method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In one aspect, an embodiment of the present invention provides an access control method, including:
101: the method comprises the steps that a wireless communication module of the terminal equipment searches an accessible wireless network under the condition that the requirement of accessing the network is determined;
in the embodiment of the present invention, the terminal device may be any terminal device as long as it can access the network, for example: a terminal device in the internet or a local area network.
102: the wireless communication module generates an authentication request and sends the authentication request to the access equipment through the transmitting equipment of the terminal equipment;
in the embodiment of the invention, the access equipment refers to access equipment in a wireless communication network, and the terminal equipment accesses the communication network through the access equipment. The Access device may be a wireless Access node (AP) or a base station; the present invention may particularly refer to a wireless router with WiFi function in public, what is a specific access device, and the embodiment of the present invention is not limited uniquely.
The authentication request is a request message which is sent to the access equipment by the terminal equipment and is used for requesting to establish communication connection with the access equipment; the request message carries relevant authentication information for the access device to confirm whether the connection between the terminal device and the terminal device is allowed to be established. A more common way is password authentication, and there are occasions where password authentication is not needed, for example: public places such as stations, airports and the like can be authenticated only by clicking corresponding webpages or other answering questions by users.
The authentication request may carry authentication related information, which in this embodiment is information used for performing authentication to determine whether to allow the terminal device to establish a communication connection with the access device; based on the authentication method mentioned in the foregoing description, the authentication method may be a password, a fingerprint, or other information capable of indicating the identity of the user; or information meeting certain requirements, such as: clicking a corresponding homepage, and answering a certain question; different authentication-related information can be provided based on different authentication modes, which is not limited uniquely by the embodiment of the present invention.
In this embodiment, the wireless communication module may be a chip for controlling wireless communication, and the wireless communication module itself does not have a function of transmitting data, and the wireless communication module directly controls a module having data to be transmitted, for example: and the transmitting equipment is used for sending the authentication confirmation message to the access equipment, so that the access equipment can carry out identity authentication, and after the identity authentication is passed, the transmitting equipment establishes communication connection with the terminal equipment, so that the terminal equipment can be accessed to the Internet or a local area network.
103: and after receiving the authentication confirmation message from the access equipment, determining that the authentication is passed.
After the authentication is confirmed to pass, the terminal device can access the access device, and further can send a message of successful access to the central processing unit of the terminal device. It should be noted that, it is also unnecessary to send the message of successful access to the central processing unit, and the message of successful access may be directly sent to the application program with the network connection requirement.
It should be noted that "sending a message of successful access to the central processing unit of the terminal device" in the embodiment of the present invention is not used for feeding back to the CPU that the access is successful after the wireless communication module performs access control because the CPU controls the wireless communication module; the reason why the access success message is sent to the central processing unit of the terminal device is to inform the CPU that the network has been accessed, so that the CPU can know that the network has been accessed currently under the condition that the CPU needs to transmit data, and does not need to control the relevant hardware module to execute the access process again.
Based on the above description, the wireless communication module controls the authentication process of the terminal device, and in the access control process, the CPU does not need to be woken up and execute interrupt processing, so that the work of the CPU is deployed in hardware with an intelligent function, and on one hand, the load balance is realized, and on the other hand, the interrupt of the CPU is reduced, so that the load of the CPU can be reduced, the power consumption of the radio frequency module can be reduced, and the system efficiency of the whole terminal device is improved.
In an optional implementation manner, the embodiment of the present invention further provides a specific implementation scheme in which the wireless communication module independently implements authentication without interrupting the CPU, as follows: the wireless communication module generating the authentication request includes:
the wireless communication module reads the historical authentication information of the terminal equipment in the access equipment in the private memory of the wireless communication module and generates an authentication request according to the historical authentication information.
In the embodiment, a private storage space is set in the wireless communication module and is used for storing the historical authentication information; in the authentication mode, a history authentication record is used, in the first authentication of the history authentication, the authentication can be performed by using a password or other authentication modes, after the terminal equipment passes the authentication once, the wireless communication module records the record that the terminal equipment is an authorized terminal, and under the condition that the subsequent terminal equipment performs the authentication again, the wireless communication module independently completes the identity authentication of the terminal equipment, so that the terminal equipment can be determined to be the authorized terminal through the history authentication information stored in the private storage space arranged in the wireless communication module, and the identity authentication is completed. The historical authentication information may be a stored password used for accessing the access device before, or may be only the identification information of the terminal device or the user identification information. The private storage space is arranged in the wireless communication module, so that the wireless communication module has more independence, and the identity authentication process is completely isolated from the CPU, so that the whole identity authentication process can not disturb other tasks of the CPU to be executed completely, or the CPU in a dormant state is not required to be awakened.
In an optional implementation manner, an embodiment of the present invention further provides a trigger condition for causing the wireless communication module to determine that network access is required, which is specifically as follows: the wireless communication module of the terminal device, when determining that there is a requirement for accessing the network, includes:
and after the wireless communication module of the terminal equipment determines that the application program has the data transmission requirement through a communication interface between the wireless communication module and the application program, determining that the access network requirement exists.
In this embodiment, the wireless communication module directly communicates with the application program, and does not need to wake up the CPU or initiate interrupt processing to the CPU in a working state when the CPU does not need to perform data processing.
In an optional implementation manner, based on the capability of the wireless communication module already having direct communication with the application program, the embodiment of the present invention further provides a process for controlling, by the wireless communication module, acquisition of information required for identity authentication, which is specifically as follows: the method further comprises the following steps:
reading history authentication information of the terminal equipment in the access equipment in a private memory of the wireless communication module, wherein the history authentication information fails, and the access equipment is encrypted equipment, calling an application interface of the access control through a communication interface between the terminal equipment and the application interface of the access control, and displaying the access equipment as optional access equipment on the application interface;
the wireless communication module generating the authentication request includes:
the wireless communication module receives an instruction for selecting the access equipment to access the network and password information through the application interface; and generating an authentication request, wherein the authentication request carries the password information.
In this embodiment, based on the capability of the wireless communication module to directly communicate with the application program, the wireless communication module calls the corresponding application interface, and receives the password information input by the user without the history authentication information, thereby generating the authentication request meeting the requirements. The whole access control process can be independently completed by the wireless communication module, and the whole identity authentication process can be executed without disturbing other tasks of the CPU or awakening the CPU in a dormant state.
In an optional implementation manner, an embodiment of the present invention further provides a specific example of a wireless communication module and an access device: the wireless communication module is a wireless fidelity module, and the access device is a wireless router.
The wireless communication module may be any chip that controls wireless communication, and may further be, for example: bluetooth module, infrared module, etc., the above examples of the wireless fidelity module should not be understood as the only limitation to the embodiments of the present invention. The access device may be a base station or a wireless access node, etc. besides the wireless router, and the above examples of the wireless router should not be construed as the only limitation to the embodiments of the present invention.
In an optional implementation manner, after accessing to the access device, the terminal device may execute corresponding uplink and downlink data, which is exemplified by uplink data: after accessing the access device, the method further includes:
the wireless communication module receives uplink data from the application program to determine the type of the uplink data, and whether the type of the uplink data meets the requirement of awakening a central processing unit in a low power consumption mode;
and sending the uplink data to the transmitting equipment under the condition that the type of the uplink data does not meet the requirement of awakening the central processing unit in the low power consumption mode.
In this embodiment, the manner in which the wireless communication module sends the uplink data to the transmitting device may be that the wireless communication module directly sends the uplink data to the transmitting device, and the uplink data is forwarded without being processed by the CPU by using a communication link between the wireless communication module and the transmitting device.
In this embodiment, the wireless communication module controls the data forwarding function, and in addition, the operation of the transmitting device is controlled by the wireless communication module, so that it is not necessary to wake up the CPU due to the uplink data and execute the interrupt processing without the CPU, which can reduce the load of the CPU and improve the efficiency of the whole access device system.
In this embodiment, the low power consumption mode of the CPU may be any lower-than-awake operation mode, and may be a sleep mode or a standby mode in general; the embodiments of the present invention are not limited to these embodiments.
In addition, the type of the upstream data may be data that determines whether the CPU is required to perform processing, for example: the message of the instant communication software can be data which does not need to be processed by the CPU and can be directly uploaded; however, after some application data needs to be calculated, other data is generated and uploaded, and in this case, the CPU is awakened to execute corresponding calculation.
The following embodiments are exemplified by using a wireless communication module as a WiFi module, as shown in fig. 2, and include:
a WiFi module of the terminal equipment stores historical information of WiFi authentication in a private storage space of the terminal equipment;
202, the WiFi module automatically searches nearby WiFi, and then the WiFi module obtains historical authentication information to generate an authentication request; if no historical authentication information exists, calling an application interface, displaying the searched result on the application interface, waiting for the user to input password information, and generating an authentication request according to the password information;
203: sending the authentication request to a modem, and after the modem modulates the authentication request, sending the modulated authentication request to an access point through a radio frequency module;
and 204, the WiFi module receives the authentication result fed back by the access point, and if the authentication is passed, the authentication result can be sent to the CPU or not.
In two aspects, an embodiment of the present invention further provides a terminal device, as shown in fig. 3, including: a wireless communication module 300, wherein the wireless communication module 300 comprises:
a searching unit 301, configured to search for an accessible wireless network if it is determined that there is a need to access the network;
a request generation unit 302 for generating an authentication request;
a transmission control unit 303, configured to send the access device through the transmitting device of the terminal device;
an access control unit 304, configured to determine that the authentication is passed after receiving the authentication confirmation message from the access device;
an access feedback unit 305, configured to send a message of successful access to the central processing unit of the terminal device.
In the embodiment of the present invention, the terminal device may be any terminal device as long as it can access the network, for example: a terminal device in the internet or a local area network.
In the embodiment of the invention, the access equipment refers to access equipment in a wireless communication network, and the terminal equipment accesses the communication network through the access equipment. The Access device may be a wireless Access node (AP) or a base station; the present invention may particularly refer to a wireless router with WiFi function in public, what is a specific access device, and the embodiment of the present invention is not limited uniquely.
The authentication request is a request message which is sent to the access equipment by the terminal equipment and is used for requesting to establish communication connection with the access equipment; the request message carries relevant authentication information for the access device to confirm whether the connection between the terminal device and the terminal device is allowed to be established. A more common way is password authentication, and there are occasions where password authentication is not needed, for example: public places such as stations, airports and the like can be authenticated only by clicking corresponding webpages or other answering questions by users.
The authentication request may carry authentication related information, which in this embodiment is information used for performing authentication to determine whether to allow the terminal device to establish a communication connection with the access device; based on the authentication method mentioned in the foregoing description, the authentication method may be a password, a fingerprint, or other information capable of indicating the identity of the user; or information meeting certain requirements, such as: clicking a corresponding homepage, and answering a certain question; different authentication-related information can be provided based on different authentication modes, which is not limited uniquely by the embodiment of the present invention.
In this embodiment, the wireless communication module may be a chip for controlling wireless communication, and the wireless communication module itself does not have a function of transmitting data, and the wireless communication module directly controls a module having data to be transmitted, for example: and the transmitting equipment is used for sending the authentication confirmation message to the access equipment, so that the access equipment can carry out identity authentication, and after the identity authentication is passed, the transmitting equipment establishes communication connection with the terminal equipment, so that the terminal equipment can be accessed to the Internet or a local area network.
It should be noted that "sending a message of successful access to the central processing unit of the terminal device" in the embodiment of the present invention is not used for feeding back to the CPU that the access is successful after the wireless communication module performs access control because the CPU controls the wireless communication module; the reason why the access success message is sent to the central processing unit of the terminal device is to inform the CPU that the network has been accessed, so that the CPU can know that the network has been accessed currently under the condition that the CPU needs to transmit data, and does not need to control the relevant hardware module to execute the access process again.
Based on the above description, the wireless communication module controls the authentication process of the terminal device, and in the access control process, the CPU does not need to be woken up and execute interrupt processing, so that the work of the CPU is deployed in hardware with an intelligent function, and on one hand, the load balance is realized, and on the other hand, the interrupt of the CPU is reduced, so that the load of the CPU can be reduced, the power consumption of the radio frequency module can be reduced, and the system efficiency of the whole terminal device is improved.
In an optional implementation manner, the embodiment of the present invention further provides a specific implementation scheme in which the wireless communication module independently implements authentication without interrupting the CPU, as follows: the request generating unit 302 is configured to read, in the private memory of the wireless communication module, historical authentication information of the terminal device at the access device, and generate an authentication request according to the historical authentication information.
In the embodiment, a private storage space is set in the wireless communication module and is used for storing the historical authentication information; in the authentication mode, a history authentication record is used, in the first authentication of the history authentication, the authentication can be performed by using a password or other authentication modes, after the terminal equipment passes the authentication once, the wireless communication module records the record that the terminal equipment is an authorized terminal, and under the condition that the subsequent terminal equipment performs the authentication again, the wireless communication module independently completes the identity authentication of the terminal equipment, so that the terminal equipment can be determined to be the authorized terminal through the history authentication information stored in the private storage space arranged in the wireless communication module, and the identity authentication is completed. The historical authentication information may be a stored password used for accessing the access device before, or may be only the identification information of the terminal device or the user identification information. The private storage space is arranged in the wireless communication module, so that the wireless communication module has more independence, and the identity authentication process is completely isolated from the CPU, so that the whole identity authentication process can not disturb other tasks of the CPU to be executed completely, or the CPU in a dormant state is not required to be awakened.
In an optional implementation manner, an embodiment of the present invention further provides a trigger condition for causing the wireless communication module to determine that network access is required, which is specifically as follows: the searching unit 301 is configured to determine that there is a network access requirement after determining that the application has a data transmission requirement through a communication interface with the application.
In this embodiment, the wireless communication module directly communicates with the application program, and does not need to wake up the CPU or initiate interrupt processing to the CPU in a working state when the CPU does not need to perform data processing.
In an optional implementation manner, based on the capability of the wireless communication module already having direct communication with the application program, the embodiment of the present invention further provides a process for controlling, by the wireless communication module, acquisition of information required for identity authentication, which is specifically as follows: the wireless communication module further includes:
an interface calling unit 306, configured to, in a private memory of the wireless communication module, read that the historical authentication information of the terminal device in the access device fails, and in a case that the access device is an encryption device, call an application interface of access control through a communication interface with the application interface of access control, and display the access device as a selectable access device on the application interface;
the request generating unit 302 is configured to receive, through the application interface, an instruction for selecting the access device to access the network and password information; and generating an authentication request, wherein the authentication request carries the password information.
In this embodiment, based on the capability of the wireless communication module to directly communicate with the application program, the wireless communication module calls the corresponding application interface, and receives the password information input by the user without the history authentication information, thereby generating the authentication request meeting the requirements. The whole access control process can be independently completed by the wireless communication module, and the whole identity authentication process can be executed without disturbing other tasks of the CPU or awakening the CPU in a dormant state.
In an optional implementation manner, an embodiment of the present invention further provides a specific example of a wireless communication module and an access device: the wireless communication module is a wireless fidelity module, and the access device is a wireless router.
The wireless communication module may be any chip that controls wireless communication, and may further be, for example: bluetooth module, infrared module, etc., the above examples of the wireless fidelity module should not be understood as the only limitation to the embodiments of the present invention. The access device may be a base station or a wireless access node, etc. besides the wireless router, and the above examples of the wireless router should not be construed as the only limitation to the embodiments of the present invention.
In an optional implementation manner, after accessing to the access device, the terminal device may execute corresponding uplink and downlink data, which is exemplified by uplink data: the wireless communication module further includes:
a wake-up confirming unit 307, configured to receive uplink data from the application program after accessing the access device, and determine whether the type of the uplink data meets a requirement for waking up a central processing unit in a low power consumption mode;
a data sending unit 308, configured to send the uplink data to the transmitting device if the type of the uplink data does not satisfy the requirement of waking up the central processing unit in the low power consumption mode.
In this embodiment, the manner in which the wireless communication module sends the uplink data to the transmitting device may be that the wireless communication module directly sends the uplink data to the transmitting device, and the uplink data is forwarded without being processed by the CPU by using a communication link between the wireless communication module and the transmitting device.
In this embodiment, the wireless communication module controls the data forwarding function, and in addition, the operation of the transmitting device is controlled by the wireless communication module, so that it is not necessary to wake up the CPU due to the uplink data and execute the interrupt processing without the CPU, which can reduce the load of the CPU and improve the efficiency of the whole access device system.
In this embodiment, the low power consumption mode of the CPU may be any lower-than-awake operation mode, and may be a sleep mode or a standby mode in general; the embodiments of the present invention are not limited to these embodiments.
In addition, the type of the upstream data may be data that determines whether the CPU is required to perform processing, for example: the message of the instant communication software can be data which does not need to be processed by the CPU and can be directly uploaded; however, after some application data needs to be calculated, other data is generated and uploaded, and in this case, the CPU is awakened to execute corresponding calculation.
Embodiments of the present invention in three aspects further provide another terminal device, as shown in fig. 4, including: a wireless communication module 401, a transmitting device 402, a processor 403, and a memory 404; the hardware modules can establish communication connection by using a bus;
the wireless communication module 401 is configured to search for an accessible wireless network when it is determined that there is a requirement for accessing the network; generating an authentication request and sending the authentication request to access equipment through transmitting equipment of the terminal equipment; after receiving the authentication confirmation message from the access equipment, determining that the authentication is passed; and sending a message of successful access to the central processing unit of the terminal equipment.
Optionally, the wireless communication module 401 is configured to generate the authentication request, including:
the wireless communication module reads the historical authentication information of the terminal equipment in the access equipment in the private memory of the wireless communication module and generates an authentication request according to the historical authentication information.
Optionally, the wireless communication module 401 is configured to determine that there is an access network requirement, including:
and determining that the application program has the requirement of accessing the network after determining that the application program has the requirement of data transmission through a communication interface between the application program and the application program.
Further, the wireless communication module 401 is further configured to, in a private memory of the wireless communication module, read that the historical authentication information of the terminal device at the access device fails, and in a case that the access device is an encrypted device, call an application interface of access control through a communication interface with the application interface of access control, and display the access device as an optional access device on the application interface;
the wireless communication module 401 is configured to generate the authentication request, including:
the wireless communication module receives an instruction for selecting the access equipment to access the network and password information through the application interface; and generating an authentication request, wherein the authentication request carries the password information.
Optionally, the wireless communication module 401 is a wireless fidelity module, and the access device is a wireless router.
Further, the wireless communication module 401 is further configured to receive uplink data from the application after accessing the access device, and determine a type of the uplink data, where the type of the uplink data meets a requirement of waking up a central processing unit in a low power consumption mode;
and sending the uplink data to the transmitting equipment under the condition that the type of the uplink data does not meet the requirement of awakening the central processing unit in the low power consumption mode.
In four aspects, an embodiment of the present invention further provides another terminal device, as shown in fig. 4, including: a wireless communication module 401, a transmitting device 402, a processor 403, and a memory 404 communicatively coupled; the wireless communication module 401 has a function of independently performing access to an access device.
More specifically, the wireless communication module 401 has a function of independently performing access to an access device, including:
the wireless communication module 401 is configured to search for an accessible wireless network when it is determined that there is a need to access the network; generating an authentication request, sending the authentication request to a transmitting device of the terminal device, and sending the authentication request to an access device by the transmitting device; and after receiving the authentication confirmation message from the access equipment, determining that the authentication is passed.
The wireless communication module has other functions, and the embodiments of the present invention are not described in detail.
As shown in fig. 5, for convenience of description, only the parts related to the embodiment of the present invention are shown, and details of the specific technology are not disclosed, please refer to the method part in the embodiment of the present invention. The terminal device may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, and the like, taking the terminal device as the mobile phone as an example:
fig. 5 is a block diagram illustrating a partial structure of a mobile phone related to a terminal device provided in an embodiment of the present invention. Referring to fig. 5, the handset includes: memory 520, input unit 530, display unit 540, sensor 550, audio circuitry 560, transmitting device 570, processor 580, and power supply 590. Those skilled in the art will appreciate that the handset configuration shown in fig. 5 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 5:
the WiFi module 501 may be configured to receive and transmit signals during information transmission and reception or during a call, and in particular, receive downlink information of a base station and then process the downlink information to the processor 580; in addition, the data for designing uplink is transmitted to the base station. Generally, the WiFi module 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the WiFi module 501 may also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to global system for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 520 may be used to store software programs and modules, and the processor 580 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 520. The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 530 may include a touch panel 531 and other input devices 532. The touch panel 531, also called a touch screen, can collect touch operations of a user on or near the touch panel 531 (for example, operations of the user on or near the touch panel 531 by using any suitable object or accessory such as a finger or a stylus pen), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 531 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 580, and can receive and execute commands sent by the processor 580. In addition, the touch panel 531 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 530 may include other input devices 532 in addition to the touch panel 531. In particular, other input devices 532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 540 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 540 may include a display panel 541, and optionally, the display panel 541 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 531 may cover the display panel 541, and when the touch panel 531 detects a touch operation on or near the touch panel 531, the touch panel is transmitted to the processor 580 to determine the type of the touch event, and then the processor 580 provides a corresponding visual output on the display panel 541 according to the type of the touch event. Although the touch panel 531 and the display panel 541 are shown as two separate components in fig. 5 to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 531 and the display panel 541 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 550, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 541 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 541 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 560, speaker 561, and microphone 562 may provide an audio interface between a user and a cell phone. The audio circuit 560 may transmit the electrical signal converted from the received audio data to the speaker 561, and convert the electrical signal into a sound signal by the speaker 561 for output; on the other hand, the microphone 562 converts the collected sound signal into an electrical signal, which is received by the audio circuit 560 and converted into audio data, and then the audio data is processed by the audio data output processor 580, and then the audio data is sent to, for example, another mobile phone through the WiFi module 501, or the audio data is output to the memory 520 for further processing.
WiFi is a short-range wireless transmission technology, and the mobile phone can help the user send and receive e-mails, browse web pages, access streaming media, etc. through the transmitting device 570, and it provides wireless broadband internet access for the user. Although fig. 5 shows the transmitting device 570, it is understood that it does not belong to the essential constitution of the handset, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 580 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 520 and calling data stored in the memory 520, thereby performing overall monitoring of the mobile phone. Alternatively, processor 580 may include one or more processing units; preferably, the processor 580 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 580.
The handset also includes a power supply 590 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 580 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
The foregoing method embodiment may be based on the hardware architecture shown in fig. 5.
It should be noted that, in the terminal device embodiment, each included unit is only divided according to functional logic, but is not limited to the above division as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
In addition, it is understood by those skilled in the art that all or part of the steps in the above method embodiments may be implemented by related hardware, and the corresponding program may be stored in a computer readable storage medium, where the above mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the embodiment of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (7)

1. An access control method, comprising:
after determining that the application program has a data transmission requirement through a communication interface between the wireless communication module of the terminal equipment and the application program, searching an accessible wireless network under the condition of determining that the access network requirement exists; the wireless communication module is a chip for controlling wireless communication;
the wireless communication module reads historical authentication information of the terminal equipment in access equipment in a private memory of the wireless communication module and generates an authentication request according to the historical authentication information; if the historical authentication information of the terminal equipment in the access equipment fails to be read in a private memory of the wireless communication module and the access equipment is encrypted, calling the application interface of the access control through a communication interface between the terminal equipment and the application interface of the access control, displaying the access equipment as optional access equipment on the application interface, receiving an instruction for selecting the access equipment to access a network and password information through the application interface by the wireless communication module, generating an authentication request, and carrying the password information in the authentication request;
the wireless communication module sends the authentication request to a transmitting device of the terminal device, and the transmitting device sends the authentication request to an access device;
the wireless communication module determines that the authentication is passed after receiving the authentication confirmation message from the access equipment;
the wireless communication module sends a successful access message to a central processing unit of the terminal device so that the central processing unit can know that the network is accessed currently under the condition that the central processing unit needs to transmit data, and the hardware module does not need to be controlled again to execute an access process.
2. The method of claim 1, wherein the wireless communication module is a wireless fidelity module and the access device is a wireless router.
3. The method of claim 1, wherein after accessing the access device, the method further comprises:
the wireless communication module receives uplink data from the application program to determine the type of the uplink data, and whether the type of the uplink data meets the requirement of awakening a central processing unit in a low power consumption mode;
and sending the uplink data to the transmitting equipment under the condition that the type of the uplink data does not meet the requirement of awakening a central processing unit in a low power consumption mode.
4. A terminal device, comprising: a wireless communication module, the wireless communication module is a chip for controlling wireless communication, the wireless communication module comprises:
the searching unit is used for searching an accessible wireless network under the condition that the requirement of accessing the network is determined after the application program is determined to have the data transmission requirement through a communication interface between the searching unit and the application program;
the request generating unit is used for reading the historical authentication information of the terminal equipment in the access equipment in the private memory of the wireless communication module and generating an authentication request according to the historical authentication information;
an interface calling unit, configured to read, in a private memory of the wireless communication module, that historical authentication information of the terminal device in the access device fails, and call, when the access device is an encryption device, an application interface of access control through a communication interface with the application interface of access control, and display the access device as a selectable access device on the application interface;
the request generating unit is used for receiving an instruction for selecting the access equipment to access the network and password information through the application interface, and generating an authentication request, wherein the password information is carried in the authentication request;
the transmitting control unit is used for transmitting the authentication request to the access equipment through the transmitting equipment of the terminal equipment;
the access control unit is used for determining that the authentication is passed after receiving the authentication confirmation message from the access equipment;
and the access feedback unit is used for sending a successful access message to the central processing unit of the terminal equipment so that the central processing unit can know that the network is accessed currently under the condition that the central processing unit needs to transmit data, and the hardware module does not need to be controlled again to execute an access process.
5. The terminal device of claim 4, wherein the wireless communication module is a wireless fidelity module, and the access device is a wireless router.
6. The terminal device of claim 4, wherein the wireless communication module further comprises:
a wake-up confirmation unit, configured to receive uplink data from the application program after accessing the access device, and determine whether the type of the uplink data meets a requirement for waking up a central processing unit in a low power consumption mode;
and the data sending unit is used for sending the uplink data to the transmitting equipment under the condition that the type of the uplink data does not meet the requirement of awakening the central processing unit in the low power consumption mode.
7. A terminal device, comprising: a communicatively coupled wireless communication module, a transmitting device, a processor, and a memory, wherein,
the wireless communication module has the function of independently executing access to the access equipment, and comprises the following steps:
the wireless communication module is used for searching an accessible wireless network under the condition that the requirement of an access network is determined after the application program has the data transmission requirement through a communication interface between the wireless communication module and the application program; the wireless communication module is a chip for controlling wireless communication; reading historical authentication information of the terminal equipment in access equipment in a private memory of the wireless communication module, and generating an authentication request according to the historical authentication information; if the historical authentication information of the terminal equipment in the access equipment fails to be read in a private memory of the wireless communication module and the access equipment is encrypted, calling the application interface of the access control through a communication interface between the terminal equipment and the application interface of the access control, displaying the access equipment as optional access equipment on the application interface, receiving an instruction for selecting the access equipment to access a network and password information through the application interface by the wireless communication module, generating an authentication request, and carrying the password information in the authentication request; sending the authentication request to a transmitting device of the terminal device, and sending the authentication request to an access device by the transmitting device; after receiving an authentication confirmation message from the access equipment, determining that the authentication is passed; and sending a successful access message to a central processing unit of the terminal equipment so that the central processing unit can know that the network is accessed currently under the condition that the central processing unit has a data transmission requirement, and the hardware module does not need to be controlled again to execute an access flow.
CN201611263345.1A 2016-12-30 2016-12-30 Access control method and terminal equipment Active CN106507357B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611263345.1A CN106507357B (en) 2016-12-30 2016-12-30 Access control method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611263345.1A CN106507357B (en) 2016-12-30 2016-12-30 Access control method and terminal equipment

Publications (2)

Publication Number Publication Date
CN106507357A CN106507357A (en) 2017-03-15
CN106507357B true CN106507357B (en) 2020-01-14

Family

ID=58334897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611263345.1A Active CN106507357B (en) 2016-12-30 2016-12-30 Access control method and terminal equipment

Country Status (1)

Country Link
CN (1) CN106507357B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3555783B1 (en) * 2017-04-11 2022-03-02 Hewlett-Packard Development Company, L.P. User authentication
CN107148019B (en) * 2017-05-12 2019-06-21 上海连尚网络科技有限公司 It is a kind of for connecting the method and apparatus of wireless access point
CN110231895A (en) * 2019-04-25 2019-09-13 努比亚技术有限公司 A kind of image notification method, wearable device and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102299763A (en) * 2010-06-24 2011-12-28 美国博通公司 Communication method and system
CN103596173A (en) * 2013-09-30 2014-02-19 北京智谷睿拓技术服务有限公司 Wireless network authentication method, client wireless network authentication device, and server wireless network authentication device
CN104812022A (en) * 2014-01-23 2015-07-29 宇龙计算机通信科技(深圳)有限公司 WIFI hotspot connection method and WIFI hotspot connection device
CN105979509A (en) * 2016-04-19 2016-09-28 美的集团股份有限公司 Intelligent equipment detection method, intelligent equipment detection device, WIFI module and automatic connection method thereof
KR20160123069A (en) * 2015-04-15 2016-10-25 한국전자통신연구원 Unification Authentication Control Method for Terminal and Apparatus thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431813A (en) * 2007-11-06 2009-05-13 台达电子工业股份有限公司 Radio communication system and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102299763A (en) * 2010-06-24 2011-12-28 美国博通公司 Communication method and system
CN103596173A (en) * 2013-09-30 2014-02-19 北京智谷睿拓技术服务有限公司 Wireless network authentication method, client wireless network authentication device, and server wireless network authentication device
CN104812022A (en) * 2014-01-23 2015-07-29 宇龙计算机通信科技(深圳)有限公司 WIFI hotspot connection method and WIFI hotspot connection device
KR20160123069A (en) * 2015-04-15 2016-10-25 한국전자통신연구원 Unification Authentication Control Method for Terminal and Apparatus thereof
CN105979509A (en) * 2016-04-19 2016-09-28 美的集团股份有限公司 Intelligent equipment detection method, intelligent equipment detection device, WIFI module and automatic connection method thereof

Also Published As

Publication number Publication date
CN106507357A (en) 2017-03-15

Similar Documents

Publication Publication Date Title
US11057376B2 (en) Method, apparatus, and system for controlling intelligent device, and storage medium
EP3306865B1 (en) Communication message sending method and device
EP3499918B1 (en) Data sharing method and terminal
WO2018049886A1 (en) Hotspot establishment method and terminal device
US20170316781A1 (en) Remote electronic service requesting and processing method, server, and terminal
TWI512525B (en) Method and system for associating two terminals with each other, terminal and computer-readable storage medium
CN106293308B (en) Screen unlocking method and device
CN104519485A (en) Communication method between terminals, devices and system
CN106507357B (en) Access control method and terminal equipment
US10764738B2 (en) Wireless communication connection method and terminal
EP2866187B1 (en) Method, apparatus, and terminal device for transmitting NFC data
WO2017000495A1 (en) Method and device for adding contacts
CN106851784B (en) network scanning method and terminal equipment
CN105553718A (en) Method and device for displaying guidance information
CN110891262A (en) Bluetooth pairing method, system and terminal equipment
CN106815077B (en) Data processing method based on intelligent device architecture and intelligent device
CN108234275B (en) Method and device for releasing communication information
CN111966206B (en) Power saving control method and device for fingerprint sensor and mobile terminal
CN106714149B (en) Wireless network access method, device and terminal equipment
CN106879046B (en) Network scanning method and terminal equipment
CN106453845A (en) Data transmission method and equipment
CN108476238B (en) Terminal equipment and control method thereof
CN112261634A (en) Bluetooth transmission control method, device, terminal equipment and storage medium
CN110873560A (en) Navigation method and electronic equipment
CN112261536B (en) Earphone control method, earphone control device, terminal equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant