CN104363636A - Terminal - Google Patents

Terminal Download PDF

Info

Publication number
CN104363636A
CN104363636A CN201410594741.7A CN201410594741A CN104363636A CN 104363636 A CN104363636 A CN 104363636A CN 201410594741 A CN201410594741 A CN 201410594741A CN 104363636 A CN104363636 A CN 104363636A
Authority
CN
China
Prior art keywords
broadcast information
wireless access
access point
bluetooth
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410594741.7A
Other languages
Chinese (zh)
Inventor
黄儒鸿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201410594741.7A priority Critical patent/CN104363636A/en
Publication of CN104363636A publication Critical patent/CN104363636A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal 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

Landscapes

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

Abstract

An embodiment of the invention discloses a terminal. According to the terminal, an acquisition unit acquires a wireless access point in a current local area environment; a wireless connection judgment unit judges whether or not wireless connection with the wireless access point in the current local area environment can be established according to pre-stored connection information of the wireless access point; if a judgment result of the wireless connection judgment unit is negative, a Bluetooth scanning unit starts low-power Bluetooth scanning in the current local area environment; when Bluetooth broadcast messages issued by a low-power-consumption Bluetooth protocol broadcast channel is scanned, a broadcast information acquisition unit acquires the Bluetooth broadcast messages. The terminal has the advantage of capability of lowering power consumption for Bluetooth broadcast message acquisition.

Description

Terminal
Technical Field
The invention relates to the technical field of communication, in particular to a terminal.
Background
With the rapid development of wireless networks and the rapid popularization of mobile terminal devices, WLAN (wireless local area network) is deployed in many public places at present to provide basic network services for users of the terminal devices. Meanwhile, in public places such as shopping malls, more and more merchants set up broadcast servers to directionally push advertisements and marketing information, provide menu directories, payment platforms and the like in a low-power-consumption wireless transmission protocol and other ways, and provide information for users to shop.
However, if the terminal user wants to obtain the information pushed by the merchant in time, the terminal device must be kept in a scanning state to constantly perform the distribution of the scanning monitoring related broadcast information; when the terminal is in the scanning state for a long time, the terminal is in the high power consumption state for a long time. Therefore, when the terminal acquires the broadcast information, the power consumption is high.
Disclosure of Invention
The embodiment of the invention provides a terminal, which can reduce the power consumption of the terminal when the terminal acquires Bluetooth broadcast information.
An embodiment of the present invention provides a terminal, including:
the acquisition unit is used for acquiring the wireless access point in the current local area environment;
a wireless connection judging unit, configured to judge whether a wireless connection can be established with the wireless access point in the current local environment acquired by the acquiring unit according to pre-stored connection information of the wireless access point;
the Bluetooth scanning unit is used for starting low-power Bluetooth scanning in the current local area environment if the judgment result of the wireless connection judgment unit is negative;
and the broadcast information acquisition unit is used for acquiring the Bluetooth broadcast information when the Bluetooth scanning unit scans the Bluetooth broadcast information released by a low-power Bluetooth protocol broadcast channel.
In the embodiment of the invention, an acquisition unit acquires a wireless access point in a local area environment where the wireless access point is currently located; the wireless connection judging unit judges whether wireless connection can be established with the wireless access point in the current local environment according to the prestored connection information of the wireless access point; if the judgment result of the wireless connection judgment unit is negative, the Bluetooth scanning unit starts the low-power Bluetooth scanning in the local environment where the Bluetooth scanning unit is currently located; when the Bluetooth broadcast information issued through the low-power-consumption Bluetooth protocol broadcast channel is scanned, the broadcast information acquisition unit acquires the Bluetooth broadcast information. By implementing the embodiment of the invention, the Bluetooth scanning unit can be prevented from being in a low-power Bluetooth scanning state for a long time, so that the power consumption of the terminal for acquiring the Bluetooth broadcast information can be reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for acquiring bluetooth broadcast information according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another method for acquiring bluetooth broadcast information according to an embodiment of the present invention;
fig. 3 is a diagram of a terminal structure disclosed in the embodiment of the present invention;
fig. 4 is a diagram of another terminal structure disclosed in the embodiment of the present invention;
fig. 5 is a diagram of another structure of a terminal according to the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a terminal which can reduce the power consumption of the terminal when the terminal acquires Bluetooth broadcast information. The following are detailed below.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a method for acquiring broadcast information according to an embodiment of the present invention; in fig. 1, the terminal is generally a mobile terminal device such as a mobile phone, a tablet, etc. which is convenient to carry, and the mobile terminal device should have a scanning function, a data information receiving function, a data information sending function, etc.; the method comprises the steps that Bluetooth broadcast information events in the surrounding environment can be obtained through a scanning component of the mobile terminal; as shown in fig. 1, the method includes:
s101, acquiring a wireless access point in the current local area environment.
A Wireless Local Area Network (WLAN) is a very convenient data transmission system, which uses Radio Frequency (RF) technology to replace the Local Area network formed by the old twisted copper pair (coax) that obstructs hands and feet, so that the WLAN can use a simple access structure to allow users to pass through it, thereby achieving the ideal situation of "information portability and convenience for walking down the sky". The wireless access point is used as the access point of the wireless local area network, so that terminals connected with the wireless access point can share the same wireless local area network.
At present, in many public or private occasions, in order to facilitate the public or specific users to experience the superiority of the wireless network anytime and anywhere, a wireless local area network is set up in a specific local area environment, and one or more wireless access points are correspondingly set up for the terminals to access and establish connection. The existing terminal sets an automatic scanning mechanism on the system, so that the latest wireless access point can be conveniently obtained anytime anywhere in time, and the terminal can conveniently establish a connection relationship with the latest wireless network through the wireless access point.
Specifically, the terminal first starts wireless local area network scanning in the local area environment where the terminal is currently located, where the scanning mechanism may be set by default on the system. And acquiring the wireless access point in the local area environment where the wireless access point is currently located through scanning. Here, the scanning result may appear as one or more wireless access points, which may be configured privately or may be wireless access points such as a public wireless network CMCC provided by a china mobile operator, a public wireless network chinnt provided by a china telecommunications network, and the like. Optionally, when a plurality of wireless access points appear in the scanning result, one or more wireless access points with the optimal signal strength may be selected as the wireless access point to be acquired.
And S102, judging whether the wireless connection with the wireless access point in the current local area environment can be established or not according to the prestored connection information of the wireless access point.
According to the existing connection mechanism of the wireless network of the terminal, the connection information of the wireless access points which have already established the wireless connection is stored, and when the wireless access points which have already established the wireless connection before are obtained, the terminal can automatically establish the wireless connection with the wireless connection according to the stored connection information. The connection information of the prestored wireless access points includes the above-mentioned connection information of the wireless access points which have established wireless connections.
Specifically, the pre-stored connection information of the wireless access point includes a name of the wireless access point, a decryption method of the wireless access point, and/or a priority of the wireless access point.
Specifically, the terminal compares the name of the wireless access point acquired in step S101 with the connection information of the wireless access point stored in advance.
The prestored connection information of the wireless access point comprises connection information of the wireless access point which is scanned and acquired by the terminal before and stored in the storage system; the connection information of the wireless access point comprises the name of the wireless access point, the decryption mode of the wireless access point and/or the priority of the wireless access point. The names of the wireless access points are to make it easier for terminals receiving connection information to distinguish, and different wireless access points have different identities, and these identities are generally some shared identities, such as: SHARE _ ID; the identity of these wireless access points may be set by the merchant who provides the wireless access points itself; the decryption mode of the wireless access point is set for ensuring safety; the terminal may select the wireless access point that sent the connection request based on the priority of the wireless access point.
S103, if not, starting the low-power Bluetooth scanning in the current local area environment.
As an optional implementation manner, when the terminal scans and acquires the wireless access point through a mechanism for automatically scanning the wireless access point specified by a wireless local area network communication protocol, performs association comparison between the name of the wireless access point and the pre-stored connection information of the wireless access point, and when it is determined that there is no connection information corresponding to the wireless access point in the pre-stored connection information, or the terminal cannot establish a connection relationship with the wireless access point after performing step S102, it is determined that the local environment where the terminal is currently located is a strange environment. Or, when the wireless access point acquired by executing step S101 is a wireless access point such as a public wireless network CMCC provided by a china mobile operator, a public wireless network chip provided by a china telecommunications network, or the like, such a local environment is also an unfamiliar environment, and when it is determined that the terminal is in such an unfamiliar environment, the low-power-consumption bluetooth scanning is started.
S104, when the Bluetooth broadcast information issued by the low-power-consumption Bluetooth protocol broadcast channel is scanned, the Bluetooth broadcast information is acquired.
As an optional implementation, the bluetooth broadcast information issued through the bluetooth low energy protocol broadcast channel may be promotion information sent by a merchant, connection information of a wireless access point, latest social dynamic information, some policy information, and the like.
When the terminal starts the low-power-consumption Bluetooth scanning for scanning and scans the Bluetooth broadcast information issued by the low-power-consumption Bluetooth protocol broadcast channel, the terminal can acquire the Bluetooth broadcast information. Optionally, when the bluetooth broadcast information is promotion information and latest preferential activities sent by a merchant, the terminal may output the bluetooth broadcast information, if the bluetooth broadcast information is connection information of a wireless access point, the user terminal may send a connection request to the corresponding wireless access point according to the connection information, and if the bluetooth broadcast information is some vulgar information, the terminal may intercept the bluetooth broadcast information and automatically delete the bluetooth broadcast information.
In the embodiment of the invention, the wireless access point in the local area environment is acquired, whether the wireless connection with the wireless access point in the local area environment can be established is judged according to the prestored connection information of the wireless access point, if not, the low-power-consumption Bluetooth scanning is started in the local area environment, and when the Bluetooth broadcast information issued by the low-power-consumption Bluetooth protocol broadcast channel is scanned, the Bluetooth broadcast information is acquired, so that the terminal is prevented from being in the low-power-consumption Bluetooth scanning state for a long time, and the power consumption of the terminal for acquiring the Bluetooth broadcast information can be reduced. Specifically, whether the local area environment where the terminal is currently located is a strange environment or not is judged by means of a mechanism for automatically scanning the wireless access point, and the low-power-consumption Bluetooth scanning is started only in the strange environment, so that the scanning times are greatly reduced, and the power consumption is saved.
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating another method for acquiring bluetooth broadcast information according to an embodiment of the present invention; in fig. 2, the processing of the bluetooth broadcast information after the bluetooth broadcast information is acquired and a series of measures taken to reduce power consumption when the terminal acquires the bluetooth broadcast information are described in detail.
S201, acquiring a wireless access point in the current local area environment.
Specifically, the terminal scans through a mechanism for automatically scanning the wireless access point, which is set by an existing terminal system, to obtain the wireless access point in the current local area environment.
S202, judging whether to establish wireless connection with the wireless access point in the current local area environment according to the prestored connection information of the wireless access point.
Specifically, when one or more wireless access points are acquired. The name of the acquired wireless access point can be associated and compared with the prestored connection information of the wireless access point, and when the prestored connection information contains the connection information corresponding to the name, whether a connection relation with the wireless access point in the current local area environment is established or not is judged according to the prestored connection information of the wireless access point.
S203, if not, starting the low-power Bluetooth scanning in the current local area environment.
As an alternative implementation manner, when the terminal is in a strange environment, the strange environment is consistent with the strange environment introduced in the step S103 executed in the first embodiment. The terminal starts a low-power-consumption Bluetooth technology to scan so as to acquire Bluetooth broadcast information which is sent by a broadcast server and is released through a low-power-consumption Bluetooth protocol broadcast channel, wherein the Bluetooth broadcast information released through the low-power-consumption Bluetooth protocol broadcast channel can be advertisement, latest preferential activity or latest social news and other information which are directionally pushed by some merchants, and can also be connection information of a wireless access point.
S204, when the Bluetooth broadcast information issued by the low-power-consumption Bluetooth protocol broadcast channel is scanned, the Bluetooth broadcast information is acquired.
As an optional implementation manner, since the terminal has certain mobility, in order to ensure that more terminals can scan the bluetooth broadcast information sent by each merchant and distributed through the low power consumption bluetooth protocol broadcast channel, the broadcast server for sending the bluetooth broadcast information distributed through the low power consumption bluetooth protocol broadcast channel may set a time interval for sending the broadcast information, that is, the broadcast information is sent once every other time interval, so that the terminal can smoothly receive the broadcast information sent by the broadcast server; the time interval may be determined according to the situation, or the terminal may acquire the broadcast information once the terminal starts bluetooth low energy scanning. The invention is not limited.
When the Bluetooth broadcast information published by the low-power-consumption Bluetooth protocol broadcast information is scanned to be advertisement information, marketing information, directory information or menu information, judging whether the published Bluetooth broadcast information is received Bluetooth broadcast information; and if the issued Bluetooth broadcast information is judged to be the unreceived Bluetooth broadcast information, acquiring the issued Bluetooth broadcast information. And if the issued Bluetooth broadcast information is judged to be the received Bluetooth broadcast information, giving up receiving the issued Bluetooth broadcast information.
S205, when the wireless connection with the wireless access point in the local area environment can not be established according to the acquired Bluetooth broadcast information, deleting the acquired Bluetooth broadcast information and acquiring the wireless access point in the local area environment again.
As an optional implementation manner, when the bluetooth broadcast information issued by the terminal through the low power consumption bluetooth protocol broadcast channel is the connection information of the wireless access point, the terminal may access the external data network resource by using the wireless access point after establishing wireless connection with the corresponding wireless access point according to the connection information. When the terminal is prompted to establish connection failure after sending the connection request, the terminal can select to continue sending the connection request until the number of times of sending the connection request reaches a preset threshold value, the terminal can delete the acquired Bluetooth broadcast information and continue scanning to acquire the wireless access point. The threshold value may be set by the user or preset by the terminal system. Further, when the number of times that the terminal scans to acquire the wireless access point reaches a preset threshold value, the terminal may also prompt the user to close the current scanning mechanism, so as to avoid wasting power consumption. The above threshold value may be 3 times, 6 times, or more, but it is not preferable to set the value too large in order to save power consumption.
As an optional implementation manner, since the terminal may be in the same local area network for a long time, or the broadcast server for sending the bluetooth broadcast information sends the same bluetooth broadcast information at regular intervals, in order to not cause a greater load to the storage system of the terminal, the terminal should perform a determination on the acquired bluetooth broadcast information, and determine whether the acquired bluetooth broadcast information has been received before. Such as: the method comprises the steps that a terminal A is always located in a restaurant in a certain time period, due to the fact that a broadcast server used for sending Bluetooth broadcast information in the restaurant automatically sends latest preferential activities of the restaurant at regular time intervals, when the time interval that the terminal A stays in the restaurant is longer than the time interval that the broadcast server used for sending the Bluetooth broadcast information in the restaurant automatically sends the latest preferential activities, if the terminal does not judge whether the acquired Bluetooth broadcast information is received; not processing the acquired bluetooth broadcast information may cause the terminal to repeatedly acquire the same broadcast information.
In the embodiment of the invention, when the acquired Bluetooth broadcast information is the connection information of the wireless access point, the terminal can send a connection request to the wireless access point corresponding to the connection information according to the pre-stored connection information; and when the connection is failed to be established, the terminal can judge whether to continue to scan and acquire the wireless access point according to a preset threshold value. By implementing the embodiment of the invention, the scanning mechanism of the terminal can be flexibly managed through setting the threshold value, so that the effect of reducing power consumption can be achieved.
Please refer to fig. 3. Fig. 3 is a diagram of a terminal structure disclosed in the embodiment of the present invention; the terminal in fig. 3 may be a mobile terminal device such as a mobile phone, a tablet, etc. which is convenient to carry, and the mobile terminal device should have a scanning function, a data information receiving function, a data information sending function, etc.; the method comprises the steps that Bluetooth broadcast information events in the surrounding environment can be obtained through a scanning component of the mobile terminal; as shown in fig. 3, the terminal includes:
an obtaining unit 31, configured to obtain a wireless access point in a local area environment where the wireless access point is currently located.
A Wireless Local Area Network (WLAN) is a very convenient data transmission system, which uses Radio Frequency (RF) technology to replace the Local Area network formed by the old twisted copper pair (coax) that obstructs hands and feet, so that the WLAN can use a simple access structure to allow users to pass through it, thereby achieving the ideal situation of "information portability and convenience for walking down the sky". The wireless access point is used as the access point of the wireless local area network, so that terminals connected with the wireless access point can share the same wireless local area network.
At present, in many public or private occasions, in order to facilitate the public or the public to experience the superiority of the wireless network anytime and anywhere, a wireless local area network is set up in a specific local area environment, and one or more wireless access points are correspondingly set up for the terminal to access and establish a connection. The existing terminal sets an automatic scanning mechanism on the system, so that the latest wireless access point can be conveniently obtained anytime anywhere in time, and the terminal can conveniently establish connection with the latest wireless network through the wireless access point.
Specifically, the obtaining unit 31 first starts wlan scanning in the current local area environment, where the scanning mechanism may be set by default on the system by the terminal; and through scanning, acquiring the wireless access point in the local area environment where the wireless access point is currently located. Here, the scanning result may appear as one or more wireless access points, which may be configured privately or may be wireless access points such as a public wireless network CMCC provided by a china mobile operator, a public wireless network chinnt provided by a china telecommunications network, and the like. Optionally, when a plurality of wireless access points are present in the acquisition result, one or more wireless access points with the optimal signal strength may be selected as the wireless access point to be acquired.
A wireless connection determining unit 32, configured to determine, according to connection information of a wireless access point stored in advance, whether to establish a wireless connection with the wireless access point in the current local environment acquired by the acquiring unit.
According to the existing connection mechanism of the wireless network, connection information of the wireless access point which has already established the wireless connection is stored, and when the obtaining unit 31 obtains the wireless access point which has already established the wireless connection before, the wireless connection can be automatically established with the wireless connection according to the stored connection information. The connection information of the prestored wireless access points includes the above-mentioned connection information of the wireless access points which have established wireless connections.
Specifically, the pre-stored connection information of the wireless access point includes a name of the wireless access point, a decryption method of the wireless access point, and/or a priority of the wireless access point.
Specifically, the name of the wireless access point acquired by the acquiring unit 31 is compared with the connection information of the wireless access point stored in advance.
The prestored connection information of the wireless access point includes connection information of the wireless access point which is scanned and acquired by the acquisition unit 31 and stored in the storage system; the connection information of the wireless access points comprises the names of the wireless access points, the decryption modes of the wireless access points and/or the priorities of the wireless access points. The names of the wireless access points are for the wireless connection determining unit 32 to distinguish more easily, and different wireless access points have different identities, and these identities are generally some shared identities, such as: SHARE _ ID; the identity of these wireless access points may be set by the merchant who provides the wireless access points itself; the decryption mode of the wireless access point is set for ensuring the safety of the wireless access point; the wireless connection judging unit 32 may select a wireless access point that transmits a connection request according to the priority of the wireless access point.
A bluetooth scanning unit 33, configured to start bluetooth low energy scanning in the current local area environment if the determination result of the wireless connection determining unit is negative.
As an alternative embodiment, when the acquiring unit 31 obtains the name of the wireless access point through the mechanism of automatically scanning the wireless access point set by the existing terminal system, and performs association comparison with the connection information of the wireless access point stored in advance, and when it is determined that there is no connection information corresponding to the wireless access point in the connection information stored in advance, or after the wireless connection determining unit 32 performs wireless connection, it is unable to establish a connection relationship with the wireless access point, it determines that the local environment where the terminal is currently located is a strange environment. Or, when the wireless access point acquired by the acquiring unit 31 is a wireless access point such as a public wireless network CMCC provided by a china mobile operator, a public wireless network chip provided by a china telecommunication network, or the like, such a local environment is also an unfamiliar environment, and when the wireless connection determining unit 32 determines that the terminal is in such an unfamiliar environment, the bluetooth scanning unit 33 starts the low-power-consumption bluetooth scanning.
A broadcast information obtaining unit 34, configured to obtain the bluetooth broadcast information when the bluetooth scanning unit scans the bluetooth broadcast information issued through the bluetooth low energy protocol broadcast channel.
As an optional implementation, the bluetooth broadcast information issued through the bluetooth low energy protocol broadcast channel may be promotion information sent by a merchant, connection information of a wireless access point, latest social dynamic information, some policy information, and the like.
When the bluetooth scanning unit 33 starts bluetooth low energy scanning for scanning and scans bluetooth broadcast information issued through a bluetooth low energy protocol broadcast channel, the broadcast information acquiring unit 34 may acquire the bluetooth broadcast information. Alternatively, when the bluetooth broadcast information is promotion information and latest offer information sent by a merchant, the broadcast information obtaining unit 34 may output the bluetooth broadcast information, if the bluetooth broadcast information is connection information of a wireless access point, the broadcast information obtaining unit 34 may send a connection request to the wireless access point according to the connection information, and if the bluetooth broadcast information is some vulgar information, the bluetooth broadcast information obtaining unit 34 may intercept the bluetooth broadcast information and automatically delete the bluetooth broadcast information.
In the embodiment of the present invention, the obtaining unit 31 obtains the wireless access point in the current local area environment, the wireless connection determining unit 32 determines whether the wireless connection with the wireless access point in the current local area environment can be established according to the pre-stored connection information of the wireless access point, if not, the bluetooth scanning unit 33 starts bluetooth low energy scanning in the current local area environment, and when the bluetooth broadcast information issued through the bluetooth low energy protocol broadcast channel is scanned, the broadcast information obtaining unit 34 obtains the bluetooth broadcast information, so as to avoid that the terminal is in the bluetooth low energy scanning state for a long time, thereby reducing the power consumption when the terminal obtains the bluetooth broadcast information.
Referring to fig. 4, fig. 4 is a structural diagram of a terminal according to another embodiment of the disclosure; fig. 4 is a detailed explanation on the basis of fig. 3 of the processing of the bluetooth broadcast information after the bluetooth broadcast information is acquired and a series of measures taken to reduce power consumption when the terminal acquires the bluetooth broadcast information.
A wlan scanning unit 41, configured to initiate wlan scanning in a local environment where the wlan is currently located.
At present, in many public or private occasions, in order to facilitate the public or specific users to experience the superiority of the wireless network anytime and anywhere, a wireless local area network is set up in a specific local area environment, and one or more wireless access points are correspondingly set up for the terminals to access and establish connection. The existing terminal sets an automatic scanning mechanism on the system, so that the latest wireless access point can be conveniently obtained anytime anywhere in time, and the terminal can conveniently establish connection with the latest wireless network through the wireless access point.
Specifically, when detecting that the geographic location of the terminal is changed, the wireless local area network scanning unit 41 may start local area network scanning, where the change of the geographic location may select a certain reference object, and perform determination based on the selected reference object, where the selected reference object may be a certain building with a landmark in the city where the terminal is located, or may be set by the user, for example: where the user lives. The invention is not limited to the specific selection of the reference substance.
A wireless access point obtaining unit 42, configured to obtain a wireless access point in the current local area environment through the scanning of the wireless local area network scanning unit.
Specifically, the wlan scanning unit 41 starts wlan scanning to obtain the current wlan ap in the local environment.
A wireless connection determining unit 43, configured to determine, according to connection information of a wireless access point stored in advance, whether to establish a wireless connection with the wireless access point in the current local environment acquired by the acquiring unit.
The pre-stored connection information of the wireless access points includes the connection information of the wireless access points which are scanned and acquired by the wireless access point acquiring unit 42 and stored in the storage system before the wireless access point acquiring unit scans; the connection information of the wireless access points comprises the names of the wireless access points, the decryption modes of the wireless access points and/or the priorities of the wireless access points. The names of the wireless access points are for the wireless connection determining unit 43 to distinguish them more easily, and different wireless access points have different identities, and these identities are generally some shared identities, such as: SHARE _ ID; the identity of these wireless access points may be set by the merchant who provides the wireless access points itself; the decryption mode of the wireless access point is set for ensuring the safety of the wireless access point; the wireless connection judging unit 43 may select a wireless access point that transmits a connection request according to the priority of the wireless access point.
In order to ensure the security of each wireless access point, the wireless access point needs to update its connection information frequently, such as: in a certain area, a central processing unit of the wireless access point in the area randomly generates a new decryption mode and sets corresponding connection information every eight morning, so that the connection information of the wireless access point can be updated at the designated time, and the safety of the wireless access point is ensured.
A bluetooth scanning unit 44, configured to start bluetooth low energy scanning in the current local area environment if the determination result of the wireless connection determining unit is negative.
Specifically, when the wlan scanning unit 41 scans that there are one or more wireless access points in the current local environment through a mechanism for automatically scanning wireless access points specified by the wlan communication protocol, and compares and associates the names of the scanned wireless access points with the pre-stored connection information, it is found that a connection relationship cannot be established with any one of the acquired wireless access points according to the pre-stored connection information, and then it is determined that the local environment where the terminal is currently located is an unfamiliar environment. When the terminal is in an unfamiliar environment, the bluetooth scanning unit 44 initiates a bluetooth low energy scan.
Here, since the wireless access point acquisition unit 42 may have previously acquired a wireless access point in this area and stored connection information of the wireless access point, such a local area environment is generally an environment which is personally set up and is provided only for a specific person to connect to the wireless access point. It is not necessary to start the bluetooth low energy scan when the wireless connection determining unit 43 determines the stored connection information and can establish a connection relationship with the wireless access point of the area.
A broadcast information obtaining unit 45, configured to obtain the bluetooth broadcast information when the bluetooth scanning unit scans the bluetooth broadcast information issued through the low power consumption bluetooth protocol broadcast channel.
Specifically, when the bluetooth scanning unit 44 scans that there is bluetooth broadcast information published through a low power consumption bluetooth protocol broadcast channel in the current local area environment, the broadcast information obtaining unit 45 obtains the bluetooth broadcast information.
As an optional implementation manner, the bluetooth broadcast information acquired by the broadcast information acquiring unit 45 may include connection information of a wireless access point in the local area network, or may also include bluetooth broadcast information sent by each merchant through a bluetooth broadcast server in the local area network. Because the terminal has certain mobility, in order to ensure that more broadcast information acquisition units 45 acquire the bluetooth broadcast information sent by each merchant, the bluetooth broadcast server can set the time interval for sending the broadcast information, that is, the bluetooth broadcast information is sent once every other time, so that the broadcast information acquisition units 45 can smoothly acquire the bluetooth broadcast information; the time interval may be determined according to the situation, or the bluetooth scanning unit 44 may receive the bluetooth broadcast information once the bluetooth low energy scanning is turned on. The invention is not limited.
A wireless connection unit 46, configured to establish a wireless connection with the wireless access point in the current local area environment acquired by the acquisition unit according to the bluetooth broadcast information acquired by the broadcast information acquisition unit.
As an optional implementation manner, the bluetooth broadcast server issues the bluetooth broadcast information through a low-power-consumption bluetooth protocol broadcast channel, and when the bluetooth scanning unit 44 scans that there is a bluetooth broadcast information issue, the bluetooth broadcast information can be acquired and received without establishing a connection relationship with the bluetooth broadcast server.
Specifically, when the broadcast information acquired by the broadcast information acquiring unit 45 is connection information of a wireless access point in the local area network, the wireless connection unit 46 may perform correlation by comparing the acquired bluetooth broadcast information acquired by the broadcast information acquiring unit 45 with connection information of a wireless access point stored in advance, and establish wireless connection with the wireless access point in the current local area environment.
A restart unit 47, configured to delete the bluetooth broadcast information acquired by the broadcast information acquisition unit when the bluetooth broadcast information acquired by the broadcast information acquisition unit fails to establish a wireless connection with the wireless access point in the current local area environment acquired by the acquisition unit, and restart the acquisition unit to acquire the wireless access point in the current local area environment.
Specifically, when the wireless connection unit 46 cannot establish wireless connection with the wireless access point in the current local environment acquired by the broadcast information acquisition unit 45 according to the bluetooth broadcast information acquired by the broadcast information acquisition unit, the restart unit 47 deletes the bluetooth broadcast information acquired by the broadcast information acquisition unit, and restarts the acquisition unit to acquire the wireless access point in the current local environment. Further, when the wireless connection unit 46 can establish a wireless connection with the wireless access point in the local environment where the terminal is currently located, which is acquired by the broadcast information acquisition unit 45, according to the bluetooth broadcast information acquired by the broadcast information acquisition unit, the restart unit 47 may also delete the acquired bluetooth broadcast information when the terminal leaves the area.
As an alternative embodiment, when the acquired broadcast information is connection information of a wireless access point, the wireless connection unit 46 may establish a wireless connection with the wireless access point according to pre-stored connection information. After the wireless connection unit 46 establishes a connection with the wireless access point, it should be determined whether the terminal is in the coverage of the accessed wireless access point, and when the terminal is not in the coverage of the accessed wireless access point, the terminal should delete the acquired broadcast information from the storage system.
When the bluetooth scanning unit 42 scans and scans the broadcast information distributed through the bluetooth low energy protocol broadcast channel, the broadcast information obtaining unit 43 may obtain the broadcast information. Optionally, when the broadcast information is promotion information and latest offer activities sent by a merchant, the broadcast information obtaining unit 43 may output the broadcast information, if the broadcast information is connection information of a wireless access point, the broadcast information obtaining unit 43 may send a connection request to the wireless access point according to the connection information, and if the broadcast information is some vulgar information, the broadcast information obtaining unit 43 may intercept the broadcast information and automatically delete the intercepted broadcast information.
In the embodiment of the present invention, the restart unit 47 processes some acquired bluetooth broadcast information, which not only saves the load pressure of the memory, but also achieves the effect of reducing power consumption through some judgment mechanisms.
Referring to fig. 5, fig. 5 is a structural diagram of a terminal for acquiring bluetooth broadcast information according to an embodiment of the present invention; the method for acquiring the Bluetooth broadcast information is used for executing the method for acquiring the Bluetooth broadcast information disclosed by the embodiment of the invention. As shown in fig. 5, the apparatus 500 for acquiring bluetooth broadcast information includes: at least one processor 501, input-output devices 502, memory 504, etc. These components are communicatively coupled via one or more buses 503. It will be understood by those skilled in the art that the structure of the terminal for acquiring broadcast information shown in the figures is not intended to limit the present invention, and may be a bus structure, a star structure, a combination of more or less than those shown, or a different arrangement of components. Wherein,
the processor 501 is a terminal control center for acquiring bluetooth broadcast information, connects various parts of the entire terminal for acquiring bluetooth broadcast information using various interfaces and lines, and performs various functions of the terminal for acquiring bluetooth broadcast information and/or processes data by running or executing programs and/or modules stored in the memory 504 and calling data stored in the memory 504. The processor 501 may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor 501 may include only a Central Processing Unit (CPU), or may be a combination of a CPU, a Digital Signal Processor (DSP), a Graphics Processing Unit (GPU), and various control chips. In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
The memory 504 may be used to store software programs and modules, and the processor 501 executes various functional applications of the terminal acquiring the bluetooth broadcast information and implements data processing by running the software programs and modules stored in the memory 504. The memory 504 mainly includes a program storage area and a data storage area, wherein the program storage area may store an operating system 505, an application 506 (such as a decryption mode control program) required by at least one function, and the like; the data storage area may store data created according to the use of the terminal acquiring the bluetooth broadcast information (such as a decryption means, priority of the wireless access device, etc.), and the like. In the embodiment of the present invention, the operating system may be an Android system, an iOS system, or the like.
Specifically, the processor 501 calls the application 506 stored in the memory 504, and performs the following operations:
the processor 501 obtains a wireless access point in a local area environment where the wireless access point is currently located; judging whether to establish wireless connection with the wireless access point in the current local area environment according to prestored connection information of the wireless access point; if not, starting the low-power Bluetooth scanning in the local area environment where the current device is located; and when the Bluetooth broadcast information issued by the low-power-consumption Bluetooth protocol broadcast channel is scanned, acquiring the Bluetooth broadcast information.
The memory 504 is configured to store the acquired bluetooth broadcast information.
In an embodiment, after acquiring the bluetooth broadcast information, the processor 501 further performs the following operations:
and establishing wireless connection with the wireless access point in the current local area environment according to the acquired Bluetooth broadcast information.
In an embodiment, the acquiring, by the processor 501, a wireless access point in a local environment currently located includes:
starting wireless local area network scanning in the current local area environment;
and acquiring the wireless access point in the current local area environment through the wireless local area network scanning.
In one embodiment, the processor 501 may further perform the following operations:
and when the wireless connection with the wireless access point in the local area environment where the current wireless access point is located cannot be established according to the acquired Bluetooth broadcast information, deleting the acquired Bluetooth broadcast information and acquiring the wireless access point in the local area environment where the current wireless access point is located again.
In one embodiment, the above processor 501, when scanning the bluetooth broadcast information distributed through the bluetooth low energy protocol broadcast channel, acquires the bluetooth broadcast information, including performing the following operations:
when Bluetooth broadcast information issued by low-power-consumption Bluetooth protocol broadcast information is scanned, judging whether the issued Bluetooth broadcast information is received Bluetooth broadcast information;
and if so, giving up receiving the issued Bluetooth broadcast information.
The modules or sub-modules in all embodiments of the present invention may be implemented by a general-purpose integrated Circuit, such as a CPU (Central Processing Unit), or an ASIC (Application specific integrated Circuit).
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (10)

1. A terminal, comprising:
the acquisition unit is used for acquiring the wireless access point in the current local area environment;
a wireless connection judging unit, configured to judge whether to establish a wireless connection with the wireless access point in the current local environment acquired by the acquiring unit according to pre-stored connection information of the wireless access point;
the Bluetooth scanning unit is used for starting low-power Bluetooth scanning in the current local area environment if the judgment result of the wireless connection judgment unit is negative;
and the broadcast information acquisition unit is used for acquiring the Bluetooth broadcast information when the Bluetooth scanning unit scans the Bluetooth broadcast information released by a low-power Bluetooth protocol broadcast channel.
2. The terminal according to claim 1, wherein the pre-stored connection information of the wireless access point comprises a name of the wireless access point, a decryption method of the wireless access point, or a priority of the wireless access point.
3. The terminal of claim 1, wherein the obtaining unit comprises:
the wireless local area network scanning unit is used for starting wireless local area network scanning in the current local area environment;
and the wireless access point acquisition unit is used for acquiring the wireless access points in the current local area environment through the scanning of the wireless local area network scanning unit.
4. The terminal of claim 1, wherein the bluetooth broadcast information is connection information of a wireless access point in a local environment where the terminal is currently located.
5. The terminal of claim 4, further comprising:
and the wireless connection unit is used for establishing wireless connection with the wireless access point in the current local area environment acquired by the acquisition unit according to the Bluetooth broadcast information acquired by the broadcast information acquisition unit.
6. The terminal of claim 5, further comprising:
and the deleting unit is used for deleting the Bluetooth broadcast information acquired by the broadcast information acquiring unit after the wireless connection unit establishes wireless connection.
7. The terminal of claim 4, further comprising:
and the restarting unit is used for deleting the Bluetooth broadcast information acquired by the broadcast information acquisition unit and restarting the acquisition unit to acquire the wireless access point in the current local area environment when the wireless connection cannot be established between the Bluetooth broadcast information acquired by the broadcast information acquisition unit and the wireless access point in the current local area environment acquired by the acquisition unit.
8. The terminal of claim 1, wherein the bluetooth broadcast message is an advertisement message, a marketing message, a directory message, or a menu message.
9. The terminal of claim 8, wherein the obtaining unit is further configured to determine whether the published bluetooth broadcast information is received bluetooth broadcast information when the bluetooth broadcast information published by the bluetooth low energy protocol broadcast information is scanned, and if not, obtain the published bluetooth broadcast information.
10. The terminal of claim 8, wherein the obtaining unit is further configured to determine whether the issued bluetooth broadcast information is received bluetooth broadcast information when the bluetooth broadcast information issued by the bluetooth low energy protocol broadcast information is scanned, and if so, abandon receiving the issued bluetooth broadcast information.
CN201410594741.7A 2014-10-29 2014-10-29 Terminal Pending CN104363636A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410594741.7A CN104363636A (en) 2014-10-29 2014-10-29 Terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410594741.7A CN104363636A (en) 2014-10-29 2014-10-29 Terminal

Publications (1)

Publication Number Publication Date
CN104363636A true CN104363636A (en) 2015-02-18

Family

ID=52530846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410594741.7A Pending CN104363636A (en) 2014-10-29 2014-10-29 Terminal

Country Status (1)

Country Link
CN (1) CN104363636A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104994088A (en) * 2015-06-29 2015-10-21 北京奇虎科技有限公司 Data checking method based on WiFi connection, client, server and system
CN106302506A (en) * 2016-08-30 2017-01-04 深圳前海弘稼科技有限公司 The incidence relation method for building up of a kind of user and cultivation box and system
CN108377219A (en) * 2017-01-31 2018-08-07 格里布株式会社 IoT gateways and its working method
CN110111126A (en) * 2019-03-26 2019-08-09 浙江口碑网络技术有限公司 The put-on method and client of advertisement, server-side, system
CN113015150A (en) * 2018-05-07 2021-06-22 北京百瑞互联技术有限公司 One-to-many, power consumption-reducing and quick wireless device connection method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102300287A (en) * 2011-08-12 2011-12-28 盛乐信息技术(上海)有限公司 Wireless hotspot connection method and apparatus thereof
CN102612115A (en) * 2011-01-25 2012-07-25 国民技术股份有限公司 Broadcasting device, receiving device and regional network access system and method
CN103747441A (en) * 2013-12-10 2014-04-23 北京智谷睿拓技术服务有限公司 Wireless network accessing method and accessing apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102612115A (en) * 2011-01-25 2012-07-25 国民技术股份有限公司 Broadcasting device, receiving device and regional network access system and method
CN102300287A (en) * 2011-08-12 2011-12-28 盛乐信息技术(上海)有限公司 Wireless hotspot connection method and apparatus thereof
CN103747441A (en) * 2013-12-10 2014-04-23 北京智谷睿拓技术服务有限公司 Wireless network accessing method and accessing apparatus

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104994088A (en) * 2015-06-29 2015-10-21 北京奇虎科技有限公司 Data checking method based on WiFi connection, client, server and system
CN104994088B (en) * 2015-06-29 2018-11-09 北京奇虎科技有限公司 Data verification method, client, server-side based on WiFi connections and system
CN106302506A (en) * 2016-08-30 2017-01-04 深圳前海弘稼科技有限公司 The incidence relation method for building up of a kind of user and cultivation box and system
CN108377219A (en) * 2017-01-31 2018-08-07 格里布株式会社 IoT gateways and its working method
US10772137B2 (en) 2017-01-31 2020-09-08 Grib Co., Ltd Internet of things gateway and operating method of the same
CN113015150A (en) * 2018-05-07 2021-06-22 北京百瑞互联技术有限公司 One-to-many, power consumption-reducing and quick wireless device connection method and system
CN113015150B (en) * 2018-05-07 2023-10-20 北京百瑞互联技术股份有限公司 One-to-many, power consumption reduction and rapid wireless device connection method and system
CN110111126A (en) * 2019-03-26 2019-08-09 浙江口碑网络技术有限公司 The put-on method and client of advertisement, server-side, system

Similar Documents

Publication Publication Date Title
CN104363634A (en) Method for acquiring Bluetooth broadcasting information
CN110139387B (en) Uplink small data transmission method, network side DU and network side CU
CN111373775B (en) Peripheral computing device
CN108419290B (en) Paging monitoring method, device, terminal, base station, system and storage medium
EP3197213B1 (en) Network access method and mobile communication terminal
CN104363636A (en) Terminal
WO2016173336A1 (en) Network access method and mobile communication terminal
WO2018010425A1 (en) Method and apparatus for pushing and receiving wi-fi hotspot information, and storage medium
JP2010081628A (en) Network selection method and apparatus with home network prioritization in country border region
EP3316626A1 (en) Method and apparatus for accessing wireless network with smart device
CN103533592B (en) Multimode terminal and communication means
US9185635B2 (en) Method and apparatus for supporting proximity-based services
US10356707B2 (en) Wireless local area network connection method, mobile terminal, and storage medium
WO2019037604A1 (en) Communication method, related device and system
WO2016173339A1 (en) Network access method and mobile communication terminal
CN105392142B (en) A kind of Wireless Fidelity Wi-Fi access-in point information storage method and device
US9693221B2 (en) Method of managing at least one wireless communications interface of a terminal, and a terminal
CN107135672A (en) Application installation package acquisition methods, information broadcast method, mobile device and base station
CN108882278B (en) Data link monitoring method, device, apparatus and computer readable storage medium
CN104918298A (en) Network connection control method and apparatus, and mobile terminal
CN114567919B (en) Method, device, equipment and storage medium for accessing network
CN110784941B (en) Automatic connection method, device and system for CPE and terminal equipment
WO2016173338A1 (en) Network access method and mobile communications terminal
CN107770035B (en) Method and device for pushing offline notification
KR20210068464A (en) Apparatus and method for performing group communication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150218

WD01 Invention patent application deemed withdrawn after publication