CN109618421B - Method and device for reconnecting AP, terminal and storage medium - Google Patents

Method and device for reconnecting AP, terminal and storage medium Download PDF

Info

Publication number
CN109618421B
CN109618421B CN201910032986.3A CN201910032986A CN109618421B CN 109618421 B CN109618421 B CN 109618421B CN 201910032986 A CN201910032986 A CN 201910032986A CN 109618421 B CN109618421 B CN 109618421B
Authority
CN
China
Prior art keywords
candidate
connection
terminal
score value
target
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.)
Expired - Fee Related
Application number
CN201910032986.3A
Other languages
Chinese (zh)
Other versions
CN109618421A (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 CN201910032986.3A priority Critical patent/CN109618421B/en
Publication of CN109618421A publication Critical patent/CN109618421A/en
Application granted granted Critical
Publication of CN109618421B publication Critical patent/CN109618421B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment
    • 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/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

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

Abstract

本申请实施例公开了一种重新连接AP的方法及装置、终端、存储介质,其中,所述方法包括:如果确定需要重新连接AP时,获取扫描得到的候选AP集合中,每一候选AP的至少两个连接参数的数值;所述连接参数是影响所述终端与对应的候选AP之间的连接稳定性的参数;将每一所述候选AP的每一连接参数的数值,按照对应的转换规则,转换成对应的得分值;基于每一所述候选AP的每一连接参数的得分值,从所述候选AP集合中确定目标AP;向所述目标AP发送连接请求,所述连接请求用于请求与所述目标AP建立连接。

Figure 201910032986

The embodiment of the present application discloses a method, a device, a terminal, and a storage medium for reconnecting to an AP, wherein the method includes: if it is determined that the AP needs to be reconnected, acquiring, in the set of candidate APs obtained by scanning, the data of each candidate AP. The values of at least two connection parameters; the connection parameters are parameters that affect the connection stability between the terminal and the corresponding candidate AP; the value of each connection parameter of each candidate AP is converted according to the corresponding A rule is converted into a corresponding score value; based on the score value of each connection parameter of each candidate AP, a target AP is determined from the candidate AP set; a connection request is sent to the target AP, the connection The request is used to request to establish a connection with the target AP.

Figure 201910032986

Description

一种重新连接AP的方法及装置、终端、存储介质A method and device, terminal and storage medium for reconnecting AP

技术领域technical field

本申请实施例涉及电子技术,涉及但不限于一种重新连接AP的方法及装置、终端、存储介质。The embodiments of the present application relate to electronic technologies, and relate to, but are not limited to, a method and apparatus for reconnecting an AP, a terminal, and a storage medium.

背景技术Background technique

复杂环境下,特别是扩展服务集(Extended Service Set,ESS)网络中,因干扰或其他原因,站点(Station,STA)容易被Deauth封包阻断与当前服务接入点(Access Point,AP)之间的连接,从而导致STA频繁掉线。In complex environments, especially in Extended Service Set (ESS) networks, due to interference or other reasons, stations (Station, STA) are easily blocked by Deauth packets from connecting with the current service access point (Access Point, AP). The connection between the STAs is frequently dropped.

目前,STA在收到Deauth封包之后,通常依据扫描得到的候选AP集合中每一候选AP的信号强度,从中选择一个合适的目标AP,从而完成AP重连功能。因此,如何选择一个较好的目标AP,成为当前需要解决的问题。At present, after receiving the Deauth packet, the STA usually selects an appropriate target AP according to the signal strength of each candidate AP in the candidate AP set obtained by scanning, so as to complete the AP reconnection function. Therefore, how to select a better target AP becomes a problem that needs to be solved at present.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本申请实施例为解决相关技术中存在的至少一个问题而提供一种重新连接AP的方法及装置、终端、存储介质。In view of this, the embodiments of the present application provide a method and device, a terminal, and a storage medium for reconnecting an AP to solve at least one problem existing in the related art.

本申请实施例的技术方案是这样实现的:The technical solutions of the embodiments of the present application are implemented as follows:

第一方面,本申请实施例提供一种重新连接AP的方法,所述方法应用于终端,所述方法包括:In a first aspect, an embodiment of the present application provides a method for reconnecting an AP, the method is applied to a terminal, and the method includes:

如果确定需要重新连接AP时,获取扫描得到的候选AP集合中,每一候选AP的至少两个连接参数的数值;所述连接参数是影响所述终端与对应的候选AP之间的连接稳定性的参数;If it is determined that the AP needs to be reconnected, obtain the values of at least two connection parameters of each candidate AP in the candidate AP set obtained by scanning; the connection parameters affect the connection stability between the terminal and the corresponding candidate AP parameter;

将每一所述候选AP的每一连接参数的数值,按照对应的转换规则,转换成对应的得分值;Converting the value of each connection parameter of each candidate AP into a corresponding score value according to the corresponding conversion rule;

基于每一所述候选AP的每一连接参数的得分值,从所述候选AP集合中确定目标AP;determining a target AP from the set of candidate APs based on a score value for each connection parameter of each of the candidate APs;

向所述目标AP发送连接请求,所述连接请求用于请求与所述目标AP建立连接。Send a connection request to the target AP, where the connection request is used to request to establish a connection with the target AP.

第二方面,本申请实施例提供一种重新连接AP的装置,包括:In a second aspect, an embodiment of the present application provides an apparatus for reconnecting an AP, including:

获取模块,配置为如果确定需要重新连接AP时,获取扫描得到的候选AP集合中,每一候选AP的至少两个连接参数的数值;所述连接参数是影响所述装置与对应的候选AP之间的连接稳定性的参数;The acquisition module is configured to acquire the values of at least two connection parameters of each candidate AP in the set of candidate APs obtained by scanning if it is determined that the AP needs to be reconnected; the connection parameters affect the relationship between the device and the corresponding candidate AP. parameters of the connection stability between

转换模块,配置为将每一所述候选AP的每一连接参数的数值,按照对应的转换规则,转换成对应的得分值;A conversion module, configured to convert the value of each connection parameter of each candidate AP into a corresponding score value according to a corresponding conversion rule;

确定模块,配置为基于每一所述候选AP的每一连接参数的得分值,从所述候选AP集合中确定目标AP;a determining module, configured to determine a target AP from the candidate AP set based on the score value of each connection parameter of each candidate AP;

发送模块,配置为向所述目标AP发送连接请求,所述连接请求用于请求与所述目标AP建立连接。A sending module, configured to send a connection request to the target AP, where the connection request is used to request to establish a connection with the target AP.

第三方面,本申请实施例提供一种终端,包括存储器和处理器,所述存储器存储有可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述重新连接AP的方法中的步骤。In a third aspect, an embodiment of the present application provides a terminal, including a memory and a processor, the memory stores a computer program that can be run on the processor, and when the processor executes the program, the above-mentioned method for reconnecting to an AP is implemented steps in .

第四方面,本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述重新连接AP的方法中的步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements steps in the above method for reconnecting to an AP.

本申请实施例中,能够基于每一候选AP的至少两个连接参数的数值以及对应的得分值,来选择目标AP的,这样,在所述终端连接所述目标AP之后,所述终端与所述目标AP之间的连接链路不容易被干扰,从而增强了所述终端的连接稳定性。In this embodiment of the present application, the target AP can be selected based on the values of at least two connection parameters of each candidate AP and the corresponding score value. In this way, after the terminal connects to the target AP, the terminal is connected to the target AP. The connection link between the target APs is not easily disturbed, thereby enhancing the connection stability of the terminal.

附图说明Description of drawings

图1为本申请实施例网络架构的组成结构示意图;FIG. 1 is a schematic structural diagram of the composition of a network architecture according to an embodiment of the present application;

图2为本申请实施例重新连接AP的方法的实现流程示意图;FIG. 2 is a schematic flowchart of an implementation of a method for reconnecting an AP according to an embodiment of the present application;

图3为本申请实施例每一连接参数对应的得分映射表的示意图;3 is a schematic diagram of a score mapping table corresponding to each connection parameter according to an embodiment of the present application;

图4为本申请实施例显示界面示意图;4 is a schematic diagram of a display interface according to an embodiment of the present application;

图5为本申请实施例重新连接AP的装置的组成结构示意图;5 is a schematic diagram of the composition and structure of an apparatus for reconnecting an AP according to an embodiment of the present application;

图6为本申请实施例终端的一种硬件实体示意图。FIG. 6 is a schematic diagram of a hardware entity of a terminal according to an embodiment of the present application.

具体实施方式Detailed ways

下面结合附图和实施例对本申请的技术方案进一步详细阐述。The technical solutions of the present application will be further elaborated below with reference to the accompanying drawings and embodiments.

本实施例先提供一种网络架构,图1为本申请实施例网络架构的组成结构示意图,如图1所示,该网络架构包括多个终端11至1N、多个AP 21至2M和无线网络31,其中,终端11至1N通过与AP 21至2M中的一个AP建立连接,从而接入到无线网络31中,实现与无线网络31之间的数据交互。一般来说,终端可以是各种类型的具有重新连接AP能力的设备,例如,所述终端可以包括手机、平板电脑、台式机、个人数字助理、导航仪、数字电话、视频电话、电视机、传感设备等,还可以包括个人计算机、服务器、或者网络设备等。需要说明的是,在本领域中,所述终端也被称为STA。This embodiment first provides a network architecture. FIG. 1 is a schematic diagram of the composition structure of the network architecture according to the embodiment of the present application. As shown in FIG. 1 , the network architecture includes multiple terminals 11 to 1N, multiple APs 21 to 2M, and a wireless network. 31 , wherein the terminals 11 to 1N connect to the wireless network 31 by establishing a connection with one of the APs 21 to 2M, and realize data interaction with the wireless network 31 . Generally speaking, a terminal can be various types of devices with the ability to reconnect to an AP, for example, the terminal can include a mobile phone, a tablet computer, a desktop computer, a personal digital assistant, a navigator, a digital phone, a video phone, a TV, Sensing devices, etc., may also include personal computers, servers, or network devices. It should be noted that, in the art, the terminal is also called STA.

本实施例提供一种重新连接AP的方法,该方法应用于终端,该方法所实现的功能可以通过终端中的处理器调用程序代码来实现,当然程序代码可以保存在计算机存储介质中,可见,该终端至少包括处理器和存储介质。This embodiment provides a method for reconnecting to an AP. The method is applied to a terminal. The functions implemented by the method can be implemented by calling a program code by a processor in the terminal. Of course, the program code can be stored in a computer storage medium. It can be seen that, The terminal includes at least a processor and a storage medium.

图2为本申请实施例重新连接AP的方法的实现流程示意图,如图2所示,该方法包括步骤S201至步骤S204:FIG. 2 is a schematic flowchart of the implementation of a method for reconnecting an AP according to an embodiment of the present application. As shown in FIG. 2 , the method includes steps S201 to S204:

S201、如果确定需要重新连接AP时,获取扫描得到的候选AP集合中,每一候选AP的至少两个连接参数的数值;所述连接参数是影响所述终端与对应的候选AP之间的连接稳定性的参数;S201. If it is determined that the AP needs to be reconnected, obtain the values of at least two connection parameters of each candidate AP in the candidate AP set obtained by scanning; the connection parameters affect the connection between the terminal and the corresponding candidate AP parameters of stability;

例如,如果所述终端接收当前服务AP发送的信号的信号强度(即接收信号强度)小于预设强度阈值,则确定需要重新连接AP,重新连接的AP一般都是除所述当前服务AP外的其他AP;又如,如果所述终端接收到Deauth封包,则确定需要重新连接AP。For example, if the signal strength (that is, the received signal strength) of the signal received by the terminal from the current serving AP is smaller than the preset strength threshold, it is determined that the AP needs to be reconnected, and the reconnected APs are generally other than the current serving AP. other APs; for another example, if the terminal receives the Deauth packet, it is determined that the AP needs to be reconnected.

可以理解地,影响所述终端与对应的候选AP之间的连接稳定性的参数,一般来说,至少包括以下之二:所述候选AP的工作频率、所述终端接收所述候选AP发送信号时的接收信号强度、所述终端与所述候选AP之间传输数据的第一成功率、所述候选AP的数据传输速度、所述终端连接所述候选AP的第二成功率;其中,所述接收信号强度是影响所述终端与对应AP之间的连接稳定性的主要参数。Understandably, the parameters affecting the connection stability between the terminal and the corresponding candidate AP generally include at least two of the following: the operating frequency of the candidate AP, the terminal receiving the signal sent by the candidate AP The received signal strength at the time, the first success rate of data transmission between the terminal and the candidate AP, the data transmission speed of the candidate AP, and the second success rate of the terminal connecting to the candidate AP; The received signal strength is the main parameter that affects the connection stability between the terminal and the corresponding AP.

S202、将每一所述候选AP的每一连接参数的数值,按照对应的转换规则,转换成对应的得分值;S202, converting the value of each connection parameter of each of the candidate APs into a corresponding score value according to a corresponding conversion rule;

需要说明的是,由于不同的连接参数对对应AP与所述终端之间的连接稳定性的影响程度不同,例如,所述接收信号强度和候选AP的工作频率是影响所述连接稳定性的主要参数。因此,在实际应用中,给每一连接参数配置的转换规则一般是不同的,也就是说,每一连接参数都有对应的转换规则。It should be noted that, since different connection parameters have different influences on the connection stability between the corresponding AP and the terminal, for example, the received signal strength and the operating frequency of the candidate AP are the main factors affecting the connection stability. parameter. Therefore, in practical applications, the conversion rules configured for each connection parameter are generally different, that is, each connection parameter has a corresponding conversion rule.

S203、基于每一所述候选AP的每一连接参数的得分值,从所述候选AP集合中确定目标AP;S203, based on the score value of each connection parameter of each candidate AP, determine a target AP from the candidate AP set;

可以理解地,得分值越高,对应AP与所述终端之间的连接稳定性就越强。在其他实施例中,可以基于每一所述候选AP的每一连接参数的得分值,确定对应候选AP的总得分值,然后基于每一所述候选AP的总得分值,从所述候选AP集合中确定目标AP,例如,将总得分值最高的候选AP确定为目标AP。这样,所述终端在与该目标AP建立连接之后,才能够获得较好的连接链路质量。Understandably, the higher the score value, the stronger the connection stability between the corresponding AP and the terminal. In other embodiments, the total score value of the corresponding candidate AP may be determined based on the score value of each connection parameter of each of the candidate APs, and then based on the total score value of each of the candidate APs, from the candidate APs The target AP is determined from the AP set, for example, the candidate AP with the highest total score value is determined as the target AP. In this way, the terminal can obtain better connection link quality only after establishing a connection with the target AP.

S204、向所述目标AP发送连接请求,所述连接请求用于请求与所述目标AP建立连接。S204. Send a connection request to the target AP, where the connection request is used to request to establish a connection with the target AP.

在本申请实施例中,基于每一个候选AP的多个连接参数的得分值,从候选AP集合中选择目标AP,从而使所述终端在与所述目标AP建立连接之后,能够获得较好的连接链路质量。In this embodiment of the present application, a target AP is selected from the candidate AP set based on the score values of multiple connection parameters of each candidate AP, so that the terminal can obtain better results after establishing a connection with the target AP. connection link quality.

本申请实施例提供另一重新连接AP的方法,该方法应用于终端,该方法包括步骤S301至步骤S306:This embodiment of the present application provides another method for reconnecting to an AP. The method is applied to a terminal, and the method includes steps S301 to S306:

S301、预先载入每一连接参数对应的得分映射表,所述得分映射表用于记录对应连接参数的数值所属的预设范围和所述预设范围对应的得分值;S301. Preload a score mapping table corresponding to each connection parameter, where the score mapping table is used to record a preset range to which the value of the corresponding connection parameter belongs and a score value corresponding to the preset range;

由于不同的连接参数对对应AP与所述终端之间的连接稳定性的影响程度不同,所以在给每一连接参数配置对应的得分映射表时,得分值的配置范围不同。例如,图3为本申请实施例每一连接参数对应的得分映射表,如图3所示,表301为所述工作频率对应的得分映射表,表302为所述接收信号强度对应的得分映射表,表303为所述第一成功率对应的得分映射表,表304为所述数据传输速度对应的得分映射表,表305为所述第二成功率对应的得分映射表。Since different connection parameters have different influences on the connection stability between the corresponding AP and the terminal, when configuring the corresponding score mapping table for each connection parameter, the configuration range of the score value is different. For example, FIG. 3 is a score mapping table corresponding to each connection parameter in this embodiment of the present application. As shown in FIG. 3 , table 301 is a score mapping table corresponding to the operating frequency, and table 302 is a score mapping table corresponding to the received signal strength Table 303 is a score mapping table corresponding to the first success rate, table 304 is a score mapping table corresponding to the data transmission speed, and table 305 is a score mapping table corresponding to the second success rate.

从图3中可以看出,工作频率对应的得分值配置范围为90分-100分,其中,工作频率的最低得分为90分;接收信号强度对应的得分值配置范围为70分-90分,其中,接收信号强度的最低得分为70分;第一成功率对应的得分值配置范围为60分-70分,其中,第一成功率的最低得分为60分;数据传输速度对应的得分值配置范围为50分-60分,其中,数据传输速度的最低得分为50分;第二成功率对应的得分值配置范围为40分-50分,其中,第二成功率的最低得分为40分;可以看出,这是按照每一连接参数对所述终端与对应候选AP之间的连接稳定性的影响程度,给对应连接参数配置对应的得分值范围的,也就是,按照影响程度由大到小的顺序,给每一连接参数配置的最小得分值依次减小。这样,在通过步骤S303和步骤S304确定每一连接参数的得分值时,就能够保证:所述工作频率的得分值≥所述接收信号强度的得分值≥所述第一成功率的得分值≥所述数据传输速度的得分值≥所述第二成功率的得分值,从而使每一连接参数的得分值更加符合实际情况。As can be seen from Figure 3, the configuration range of the score value corresponding to the operating frequency is 90-100 points, of which the lowest score of the operating frequency is 90 points; the configuration range of the score value corresponding to the received signal strength is 70-90 points The minimum score of the received signal strength is 70 points; the configuration range of the score value corresponding to the first success rate is 60 points to 70 points, of which the minimum score of the first success rate is 60 points; the corresponding data transmission speed The configuration range of the score value is 50-60 points, of which the lowest score of the data transmission speed is 50 points; the configuration range of the score value corresponding to the second success rate is 40-50 points, of which the lowest score of the second success rate is The score is 40 points; it can be seen that according to the influence degree of each connection parameter on the connection stability between the terminal and the corresponding candidate AP, the corresponding score value range is configured for the corresponding connection parameter, that is, In descending order of influence degree, the minimum score value configured for each connection parameter decreases in turn. In this way, when the score value of each connection parameter is determined through steps S303 and S304, it can be ensured that: the score value of the operating frequency ≥ the score value of the received signal strength ≥ the first success rate The score value ≥ the score value of the data transmission speed ≥ the score value of the second success rate, so that the score value of each connection parameter is more in line with the actual situation.

当然,在其他实施例中,得分值的配置范围也可以相同,这样,在实施步骤S305时,即,基于每一所述候选AP的每一连接参数的得分值,从所述候选AP集合中确定目标AP时,需要基于每一所述候选AP的每一连接参数的得分值和对应连接参数的影响因子,确定对应候选AP的总得分值;然后,基于每一候选AP的总得分值,从所述候选AP集合中确定目标AP;其中,所述影响因子用于表征对应连接参数对所述终端与对应的候选AP之间的连接稳定性的影响程度。例如,给所述工作频率、所述接收信号强度、所述第一成功率、所述数据传输速度和所述第二成功率依次分配的影响因子为:1.0、0.8、0.6、0.4和0.2。这样,在计算每一候选AP的总得分值时,可以先确定每一连接参数的得分值与对应的影响因子的乘积,然后将候选AP的所有连接参数的乘积之和确定为对应候选AP的总得分值。Of course, in other embodiments, the configuration range of the score value may also be the same. In this way, when step S305 is implemented, that is, based on the score value of each connection parameter of each candidate AP, the When determining the target AP in the set, it is necessary to determine the total score value of the corresponding candidate AP based on the score value of each connection parameter of each candidate AP and the influence factor of the corresponding connection parameter; then, based on the total score of each candidate AP The target AP is determined from the candidate AP set; wherein, the influence factor is used to represent the degree of influence of the corresponding connection parameter on the connection stability between the terminal and the corresponding candidate AP. For example, the impact factors assigned to the working frequency, the received signal strength, the first success rate, the data transmission speed and the second success rate in sequence are: 1.0, 0.8, 0.6, 0.4 and 0.2. In this way, when calculating the total score value of each candidate AP, the product of the score value of each connection parameter and the corresponding influence factor can be determined first, and then the sum of the products of all connection parameters of the candidate AP can be determined as the corresponding candidate AP total score value.

S302、如果确定需要重新连接AP时,获取扫描得到的候选AP集合中,每一候选AP的至少两个连接参数的数值;S302. If it is determined that the AP needs to be reconnected, obtain the values of at least two connection parameters of each candidate AP in the candidate AP set obtained by scanning;

S303、基于每一候选AP的每一连接参数的数值,从对应的得分映射表中确定所述数值所属的目标范围;S303, based on the value of each connection parameter of each candidate AP, from the corresponding score mapping table, determine the target range to which the value belongs;

S304、基于所述目标范围,从对应的得分映射表中确定对应连接参数的得分值;S304, based on the target range, determine the score value of the corresponding connection parameter from the corresponding score mapping table;

例如,获取的候选AP的工作频率为5.725GHz,如图3所示,从对应的得分映射表301中,可以确定该工作频率属于5G频段,对应的得分值为100分。For example, the obtained operating frequency of the candidate AP is 5.725 GHz. As shown in FIG. 3 , from the corresponding score mapping table 301 , it can be determined that the operating frequency belongs to the 5G frequency band, and the corresponding score value is 100 points.

这里,需要说明的是,步骤S303和步骤S304实际上是实施上述实施例中步骤S202的一种示例。Here, it should be noted that step S303 and step S304 are actually an example of implementing step S202 in the above embodiment.

S305、基于每一所述候选AP的每一连接参数的得分值,从所述候选AP集合中确定目标AP;S305, based on the score value of each connection parameter of each candidate AP, determine a target AP from the candidate AP set;

S306、向所述目标AP发送连接请求,所述连接请求用于请求与所述目标AP建立连接。S306. Send a connection request to the target AP, where the connection request is used to request to establish a connection with the target AP.

本申请实施例提供又一重新连接AP的方法,该方法应用于终端,该方法包括步骤S401至步骤S405:This embodiment of the present application provides yet another method for reconnecting to an AP, the method is applied to a terminal, and the method includes steps S401 to S405:

S401、如果确定需要重新连接AP时,获取扫描得到的候选AP集合中,每一候选AP的至少两个连接参数的数值;所述连接参数是影响所述终端与对应的候选AP之间的连接稳定性的参数;S401. If it is determined that the AP needs to be reconnected, obtain the values of at least two connection parameters of each candidate AP in the candidate AP set obtained by scanning; the connection parameters affect the connection between the terminal and the corresponding candidate AP parameters of stability;

S402、将每一所述候选AP的每一连接参数的数值,按照对应的转换规则,转换成对应的得分值;S402, converting the value of each connection parameter of each candidate AP into a corresponding score value according to a corresponding conversion rule;

S403、基于每一所述候选AP的每一连接参数的得分值,确定对应候选AP的总得分值;S403, based on the score value of each connection parameter of each candidate AP, determine the total score value of the corresponding candidate AP;

这里,需要说明的是,在对每一连接参数对应的得分映射表进行配置时,如果每一连接参数对应的得分值配置范围不同时,直接将每一所述候选AP的所有连接参数的得分值之和,确定为对应候选AP的总得分值;如果每一连接参数对应的得分值配置范围相同时,可以先确定每一连接参数的得分值与对应的影响因子的乘积,然后将候选AP的所有连接参数的乘积之和确定为对应候选AP的总得分值。Here, it should be noted that, when configuring the score mapping table corresponding to each connection parameter, if the configuration range of the score value corresponding to each connection parameter is different, directly convert all connection parameters of each candidate AP The sum of the score values is determined as the total score value of the corresponding candidate AP; if the configuration range of the score values corresponding to each connection parameter is the same, the product of the score value of each connection parameter and the corresponding influence factor can be determined first, Then, the sum of the products of all the connection parameters of the candidate AP is determined as the total score value of the corresponding candidate AP.

S404、基于每一所述候选AP的总得分值,从所述候选AP集合中确定目标AP;S404. Based on the total score value of each candidate AP, determine a target AP from the candidate AP set;

一般来说,都是将总得分值最高的候选AP确定为目标AP。需要说明的是,步骤S403和步骤S404实际上是实施上述实施例中步骤S203或步骤S305的一种示例。Generally speaking, the candidate AP with the highest total score value is determined as the target AP. It should be noted that step S403 and step S404 are actually an example of implementing step S203 or step S305 in the above embodiment.

S405、向所述目标AP发送连接请求,所述连接请求用于请求与所述目标AP建立连接。S405. Send a connection request to the target AP, where the connection request is used to request to establish a connection with the target AP.

本申请实施例提供再一重新连接AP的方法,该方法应用于终端,该方法包括步骤S501至步骤S511:This embodiment of the present application provides yet another method for reconnecting to an AP. The method is applied to a terminal, and the method includes steps S501 to S511:

S501、获取第一发送次数,所述第一发送次数为预设时间段内所述终端向所述候选AP发送数据的次数;S501. Obtain a first number of times of sending, where the first number of times of sending is the number of times that the terminal sends data to the candidate AP within a preset time period;

S502、获取第一接收次数,所述第一接收次数为记录预设时间段内所述终端接收所述候选AP发送的数据的次数;S502. Obtain a first number of receptions, where the first number of receptions is the number of times the terminal receives data sent by the candidate AP within a preset time period;

S503、基于所述第一发送次数和所述第一接收次数,确定所述第一成功率;S503. Determine the first success rate based on the first number of times of sending and the first number of times of receiving;

需要说明的是,所述第一发送次数和所述第一接收次数一般都是所述终端预先已经记录的交互信息。在确定所述第一成功率时,直接可以获取这些交互信息,从而确定所述第一成功率。例如,可以将所述第一接收次数与所述第一发送次数的比值确定为所述第一成功率。It should be noted that the first number of times of sending and the first number of times of receiving are generally interaction information that has been recorded in advance by the terminal. When determining the first success rate, the interaction information can be directly obtained, so as to determine the first success rate. For example, the ratio of the first reception times to the first transmission times may be determined as the first success rate.

S504、获取第二发送次数,所述第二发送次数为预设时间段内所述终端向所述候选AP发送连接请求的次数;S504. Obtain a second number of times of sending, where the second number of times of sending is the number of times the terminal sends a connection request to the candidate AP within a preset time period;

S505、获取第二接收次数,所述第二接收次数为预设时间段内所述终端接收所述候选AP发送连接响应的次数;S505. Acquire a second number of times of reception, where the second number of times of reception is the number of times that the terminal receives a connection response sent by the candidate AP within a preset time period;

S506、基于所述第二发送次数和所述第二接收次数,确定所述第二成功率;S506. Determine the second success rate based on the second number of times of sending and the second number of times of receiving;

类似地,所述第二发送次数和所述第二接收次数一般也是所述终端预先已经记录的交互信息。在确定所述第二成功率时,直接可以获取这些交互信息,从而确定所述第二成功率。例如,可以将所述第二接收次数与所述第二发送次数的比值确定为所述第二成功率。Similarly, the second sending times and the second receiving times are generally also interaction information that has been recorded in advance by the terminal. When determining the second success rate, the interaction information can be directly obtained, so as to determine the second success rate. For example, the ratio of the second reception times to the second transmission times may be determined as the second success rate.

S507、保存所述第一成功率和所述第二成功率;S507. Save the first success rate and the second success rate;

需要说明的是,在其他实施例中,可以先执行步骤S504至步骤S506,再执行步骤S501至步骤S503,其中,在执行步骤S504至步骤S506时,不限定步骤S504和步骤S505的执行顺序;在执行步骤S501至步骤S503时,也不限定步骤S501和步骤S502的执行顺序。在执行完步骤S501至步骤S507之后,并不需要立即执行以下步骤S508至步骤S511,在满足需要重新连接AP的条件时,开始执行步骤S508至步骤S511。It should be noted that, in other embodiments, steps S504 to S506 may be performed first, and then steps S501 to S503 may be performed, wherein, when performing steps S504 to S506, the execution order of steps S504 and S505 is not limited; When steps S501 to S503 are executed, the execution order of steps S501 and S502 is also not limited. After steps S501 to S507 are performed, the following steps S508 to S511 do not need to be performed immediately. When the conditions for reconnecting to the AP are satisfied, steps S508 to S511 are started.

S508、如果确定需要重新连接AP时,获取扫描得到的候选AP集合中,每一候选AP的多个连接参数的数值;其中,所述连接参数至少包括以下之二:所述候选AP的工作频率、所述终端接收所述候选AP发送信号时的接收信号强度、所述候选AP的数据传输速度、所述第一成功率和所述第二成功率;S508. If it is determined that the AP needs to be reconnected, obtain the values of multiple connection parameters of each candidate AP in the candidate AP set obtained by scanning; wherein, the connection parameters include at least two of the following: the working frequency of the candidate AP , the received signal strength when the terminal receives the signal sent by the candidate AP, the data transmission speed of the candidate AP, the first success rate and the second success rate;

S509、将每一所述候选AP的每一连接参数的数值,按照对应的转换规则,转换成对应的得分值;S509, converting the value of each connection parameter of each candidate AP into a corresponding score value according to a corresponding conversion rule;

S510、基于每一所述候选AP的每一连接参数的得分值,从所述候选AP集合中确定目标AP;S510, based on the score value of each connection parameter of each candidate AP, determine a target AP from the candidate AP set;

S511、向所述目标AP发送连接请求,所述连接请求用于请求与所述目标AP建立连接。S511. Send a connection request to the target AP, where the connection request is used to request to establish a connection with the target AP.

本申请实施例提供另一重新连接AP的方法,该方法应用于终端,该方法包括步骤S601至步骤S608:This embodiment of the present application provides another method for reconnecting to an AP, the method is applied to a terminal, and the method includes steps S601 to S608:

S601、如果接收到攻击消息,禁止生成断线通知,确定需要重新连接AP,此时,进入步骤S602;其中,所述攻击消息用于阻断所述终端与当前服务AP之间的连接,所述断线通知用于通知所述终端的用户,所述终端与所述当前服务AP已断开连接;S601. If an attack message is received, it is forbidden to generate a disconnection notification, and it is determined that the AP needs to be reconnected. In this case, go to step S602; wherein, the attack message is used to block the connection between the terminal and the current serving AP, so The disconnection notification is used to notify the user of the terminal that the terminal has been disconnected from the current serving AP;

需要说明的是,在实际应用中,在接收到所述攻击消息之后,不执行生成断线通知的程序,而是直接执行步骤S602,即获取扫描得到的候选AP集合中每一候选AP的至少两个连接参数的数值。It should be noted that, in practical applications, after receiving the attack message, the program for generating a disconnection notification is not executed, but step S602 is directly executed, that is, at least one of each candidate AP in the candidate AP set obtained by scanning is obtained. The numeric values of the two connection parameters.

一般来说,所述攻击消息会被频繁发送,尤其是所述攻击消息为Deauth封包时,大量的Deauth封包可能会导致所述终端频繁掉线,此时如果所述终端在每次接收到Deauth封包之后,均生成断线通知,并将该断线通知显示在所述终端的屏幕上,这样,不仅会消耗所述终端的电量,也会影响所述终端对应的用户感官。因此,在接收到所述攻击消息之后,暂不生成所述断线通知,这样不仅节约了所述终端的电量消耗,也避免了频繁干扰所述用户。Generally speaking, the attack message is frequently sent, especially when the attack message is a Deauth packet, a large number of Deauth packets may cause the terminal to be disconnected frequently. After the packets are packaged, a disconnection notification is generated and displayed on the screen of the terminal, which not only consumes the power of the terminal, but also affects the senses of the user corresponding to the terminal. Therefore, after receiving the attack message, the disconnection notification is temporarily not generated, which not only saves the power consumption of the terminal, but also avoids frequent interference to the user.

S602、获取扫描得到的候选AP集合中,每一候选AP的至少两个连接参数的数值;所述连接参数是影响所述终端与对应的候选AP之间的连接稳定性的参数;S602, acquiring the values of at least two connection parameters of each candidate AP in the set of candidate APs obtained by scanning; the connection parameters are parameters that affect the connection stability between the terminal and the corresponding candidate AP;

S603、将每一所述候选AP的每一连接参数的数值,按照对应的转换规则,转换成对应的得分值;S603, converting the value of each connection parameter of each candidate AP into a corresponding score value according to a corresponding conversion rule;

S604、基于每一所述候选AP的每一连接参数的得分值,从所述候选AP集合中确定目标AP;S604, based on the score value of each connection parameter of each candidate AP, determine a target AP from the candidate AP set;

S605、向所述目标AP发送连接请求,所述连接请求用于请求与所述目标AP建立连接;S605. Send a connection request to the target AP, where the connection request is used to request to establish a connection with the target AP;

S606、确定是否在预设时长内接收到连接响应;如果是,执行步骤S607;否则,执行步骤S608;其中,所述连接响应用于告知所述终端,所述目标AP与所述终端成功建立连接。S606. Determine whether a connection response is received within a preset time period; if yes, perform step S607; otherwise, perform step S608; wherein the connection response is used to inform the terminal that the target AP and the terminal are successfully established connect.

可以理解地,如果在预设时长内没有接收到所述连接响应,说明所述终端与所述目标AP建立连接失败,此时,才执行步骤S608,即生成断线通知,并输出所述断线通知,以通知所述终端的用户,所述终端与当前服务AP已断开连接;如果在预设时长内接收到所述连接响应,说明所述终端与所述目标AP已经成功建立连接,这时就不用生成并输出所述断线通知,从而节约了所述终端的电量消耗。Understandably, if the connection response is not received within the preset time period, it means that the terminal has failed to establish a connection with the target AP. At this time, step S608 is performed, that is, a disconnection notification is generated, and the disconnection notification is output. line notification to notify the user of the terminal that the terminal has been disconnected from the current serving AP; if the connection response is received within a preset time period, it means that the terminal and the target AP have successfully established a connection, In this case, it is unnecessary to generate and output the disconnection notification, thereby saving the power consumption of the terminal.

S607、确定与所述目标AP成功建立连接;S607, determine that a connection is successfully established with the target AP;

S608、生成断线通知,并输出所述断线通知,以通知所述终端的用户,所述终端与当前服务AP已断开连接。S608. Generate a disconnection notification, and output the disconnection notification to notify the user of the terminal that the terminal has been disconnected from the current serving AP.

需要说明的是,这里不限定所述终端输出所述断线通知的方式,例如,所述终端可以通过语音播报所述断线通知,如图4所示,还可以通过在所述终端的当前界面40上显示断线通知401,以告知所述终端的用户,所述终端与当前服务AP已断开连接。可以理解地,所述当前服务AP,即为当前正在为所述终端提供连接服务的AP。It should be noted that the manner in which the terminal outputs the disconnection notification is not limited here. For example, the terminal may broadcast the disconnection notification by voice, as shown in FIG. A disconnection notification 401 is displayed on the interface 40 to inform the user of the terminal that the terminal has been disconnected from the current serving AP. Understandably, the current serving AP is the AP that is currently providing connection services for the terminal.

复杂环境下,特别是ESS网络中,因干扰或其他原因,STA容易被发送AP Deauth封包,从而使STA和当前服务AP之间的连接被释放。传统方案中,STA会将该Deauth封包上传给内核(Kernel),内核再将该Deauth封包通过WiFi连接程序(即wpa_supplicant)传输给STA的框架层(即FWK层),从而使STA在用户界面(User Interface,UI)上呈现断线行为(即输出所述断线通知),这样导致的问题是,在接收到Deauth封包之后,立即在UI上呈现断线行为,不仅消耗STA的功耗,还使用户感官不好。In a complex environment, especially in an ESS network, due to interference or other reasons, the STA is likely to be sent an AP Deauth packet, so that the connection between the STA and the current serving AP is released. In the traditional solution, the STA will upload the Deauth packet to the kernel (Kernel), and the kernel will then transmit the Deauth packet to the STA's framework layer (ie the FWK layer) through the WiFi connection program (ie wpa_supplicant), so that the STA can be used in the user interface ( The disconnection behavior is displayed on the User Interface (UI) (that is, the disconnection notification is output). The problem caused by this is that the disconnection behavior is displayed on the UI immediately after receiving the Deauth packet, which not only consumes the power consumption of the STA, but also Make the user feel bad.

如果STA在收到该Deauth封包之后,STA的WIFI驱动层(即WIFI driver层)依据之前的连接记录直接连接一个合适的目标AP,这样即可完成自动恢复连接功能。但此时问题的关键在于,如何选择一个合适的目标AP,以使STA在连接目标AP之后,与目标AP之间的连接链路比较稳定。If the STA receives the Deauth packet, the WIFI driver layer (ie, the WIFI driver layer) of the STA directly connects to a suitable target AP according to the previous connection record, so that the automatic connection recovery function can be completed. But the crux of the problem at this time is how to select a suitable target AP so that the connection link between the STA and the target AP is relatively stable after connecting to the target AP.

基于此,本申请实施例中,STA的WIFI驱动层在接收到AP Deauth封包后不直接上传给上层,而是在WIFI驱动层查找合适的目标AP,并自动发起重连,以完成自动恢复连接的功能。例如,STA在接收到AP Deauth封包之后,不立即发断线通知给内核,而是,依据相关条件在AP扫描列表(即所述候选AP集合)中选择一个合适的目标AP进行连线,同时启动定时器;在定时器到达预设时长之前,如果STA成功与目标AP建立连接,此时取消定时器;否则,如果在定时器到达预设时长时,STA仍然没有找到合适的目标AP,或者,STA与目标AP建立连接失败,则上报断线通知给上层。Based on this, in the embodiment of the present application, the WIFI driver layer of the STA does not directly upload the AP Deauth packet to the upper layer after receiving the AP Deauth packet, but searches for a suitable target AP in the WIFI driver layer, and automatically initiates a reconnection to complete the automatic recovery of the connection. function. For example, after receiving the AP Deauth packet, the STA does not immediately send a disconnection notification to the kernel, but selects a suitable target AP from the AP scan list (that is, the candidate AP set) according to relevant conditions for connection, and at the same time Start the timer; before the timer reaches the preset duration, if the STA successfully establishes a connection with the target AP, the timer is cancelled at this time; otherwise, if the STA still does not find a suitable target AP when the timer reaches the preset duration, or , the STA fails to establish a connection with the target AP, and reports the disconnection to the upper layer.

需要说明的是,在其他实施例中,依据相关条件在AP扫描列表中选择一个合适的目标AP,可以总体采用打分机制,主要可以参考AP扫描列表中的AP是否是5G信道、RSSI、之前发送和接收数据的传输成功率(即上述实施例所述的第一成功率)、选用速度(即上述实施例中所述的候选AP的数据传输速度)、前3次的连线成功率(即上述实施例中所述的第二成功率);其中,在各个连接参数的得分值上,5G的得分值>RSSI的得分值>传输成功率的得分值,选用速度的得分值>连线成功率的得分值。It should be noted that, in other embodiments, a suitable target AP is selected in the AP scan list according to relevant conditions, and a scoring mechanism may be adopted as a whole, mainly by referring to whether the AP in the AP scan list is a 5G channel, RSSI, sent before and the transmission success rate of received data (that is, the first success rate described in the above embodiment), the selection speed (that is, the data transmission speed of the candidate AP described in the above embodiment), and the connection success rate of the first three times (that is, the The second success rate described in the above-mentioned embodiment); wherein, on the score value of each connection parameter, the score value of 5G > the score value of RSSI > the score value of the transmission success rate, and the score value of the selected speed Value>The score value of the connection success rate.

基于前述的实施例,本申请实施例提供一种重新连接AP的装置,该装置包括所包括的各模块、以及各模块所包括的各单元,可以通过终端中的处理器来实现;当然也可通过具体的逻辑电路实现;在实施的过程中,处理器可以为中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等。Based on the foregoing embodiments, the embodiments of the present application provide an apparatus for reconnecting an AP. The apparatus includes each module included and each unit included in each module, which can be implemented by a processor in a terminal; of course, it can also It is implemented by a specific logic circuit; in the process of implementation, the processor may be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA) or the like.

图5为本申请实施例重新连接AP的装置的组成结构示意图,如图5所示,所述装置500包括:FIG. 5 is a schematic structural diagram of an apparatus for reconnecting an AP according to an embodiment of the present application. As shown in FIG. 5 , the apparatus 500 includes:

获取模块501,配置为:如果确定需要重新连接AP时,获取扫描得到的候选AP集合中,每一候选AP的至少两个连接参数的数值;所述连接参数是影响所述装置500与对应的候选AP之间的连接稳定性的参数;The obtaining module 501 is configured to: if it is determined that the AP needs to be reconnected, obtain the values of at least two connection parameters of each candidate AP in the set of candidate APs obtained by scanning; the connection parameters affect the device 500 and the corresponding Parameters of connection stability between candidate APs;

转换模块502,配置为:将每一所述候选AP的每一连接参数的数值,按照对应的转换规则,转换成对应的得分值;The conversion module 502 is configured to: convert the value of each connection parameter of each candidate AP into a corresponding score value according to a corresponding conversion rule;

第一确定模块503,配置为:基于每一所述候选AP的每一连接参数的得分值,从所述候选AP集合中确定目标AP;The first determining module 503 is configured to: determine a target AP from the candidate AP set based on the score value of each connection parameter of each candidate AP;

发送模块504,配置为:向所述目标AP发送连接请求,所述连接请求用于请求与所述目标AP建立连接。The sending module 504 is configured to: send a connection request to the target AP, where the connection request is used to request to establish a connection with the target AP.

在其他实施例中,所述装置500还包括载入模块505,所述载入模块505,配置为:预先载入每一连接参数对应的得分映射表,所述得分映射表用于记录对应连接参数的数值所属的预设范围和所述预设范围对应的得分值;对应地,转换模块502,配置为:基于每一候选AP的每一连接参数的数值,从对应的得分映射表中确定所述数值所属的目标范围;基于所述目标范围,从对应的得分映射表中确定对应连接参数的得分值。In other embodiments, the apparatus 500 further includes a loading module 505, and the loading module 505 is configured to: preload a score mapping table corresponding to each connection parameter, and the score mapping table is used to record the corresponding connection The preset range to which the value of the parameter belongs and the score value corresponding to the preset range; correspondingly, the conversion module 502 is configured to: based on the value of each connection parameter of each candidate AP, from the corresponding score mapping table Determine the target range to which the numerical value belongs; and determine the score value of the corresponding connection parameter from the corresponding score mapping table based on the target range.

在其他实施例中,第一确定模块503,配置为:基于每一所述候选AP的每一连接参数的得分值,确定对应候选AP的总得分值;基于每一所述候选AP的总得分值,从所述候选AP集合中确定目标AP。In other embodiments, the first determination module 503 is configured to: determine the total score value of the corresponding candidate AP based on the score value of each connection parameter of each candidate AP; based on the total score value of each candidate AP score, and determine the target AP from the candidate AP set.

在其他实施例中,所述连接参数至少包括以下之二:所述候选AP的工作频率、所述装置500接收所述候选AP发送信号时的接收信号强度、所述装置500与所述候选AP之间传输数据的第一成功率、所述候选AP的数据传输速度、所述装置500连接所述候选AP的第二成功率;In other embodiments, the connection parameters include at least two of the following: the operating frequency of the candidate AP, the received signal strength when the apparatus 500 receives a signal sent by the candidate AP, and the apparatus 500 and the candidate AP the first success rate of data transmission between them, the data transmission speed of the candidate AP, and the second success rate of the device 500 connecting to the candidate AP;

对应地,所述工作频率的得分值≥所述接收信号强度的得分值≥所述第一成功率的得分值≥所述数据传输速度的得分值≥所述第二成功率的得分值。Correspondingly, the score value of the operating frequency ≥ the score value of the received signal strength ≥ the score value of the first success rate ≥ the score value of the data transmission speed ≥ the score value of the second success rate score value.

在其他实施例中,所述装置500还包括第一获取模块506和第二确定模块507;其中,In other embodiments, the apparatus 500 further includes a first obtaining module 506 and a second determining module 507; wherein,

第一获取模块506,配置为:获取第一发送次数,所述第一发送次数为预设时间段内所述装置500向所述候选AP发送数据的次数;The first obtaining module 506 is configured to: obtain a first number of times of sending, where the first number of times of sending is the number of times that the device 500 sends data to the candidate AP within a preset time period;

第一获取模块506,还配置为:获取第一接收次数,所述第一接收次数为记录预设时间段内所述装置500接收所述候选AP发送的数据的次数;The first obtaining module 506 is further configured to: obtain a first number of receptions, where the first number of receptions is the number of times the device 500 receives data sent by the candidate AP within a preset time period;

第二确定模块507,配置为:基于所述第一发送次数和所述第一接收次数,确定所述第一成功率。The second determining module 507 is configured to: determine the first success rate based on the first sending times and the first receiving times.

在其他实施例中,所述装置500还包括第二获取模块508和第三确定模块509;其中,In other embodiments, the apparatus 500 further includes a second obtaining module 508 and a third determining module 509; wherein,

第二获取模块508,配置为:获取第二发送次数,所述第二发送次数为预设时间段内所述装置500向所述候选AP发送连接请求的次数;The second obtaining module 508 is configured to: obtain a second number of times of sending, where the second number of times of sending is the number of times that the device 500 sends a connection request to the candidate AP within a preset time period;

第二获取模块508,还配置为:获取第二接收次数,所述第二接收次数为预设时间段内所述装置500接收所述候选AP发送连接响应的次数;The second obtaining module 508 is further configured to: obtain a second number of reception times, where the second number of times of reception is the number of times that the apparatus 500 receives the connection response sent by the candidate AP within a preset time period;

第三确定模块509,配置为:基于所述第二发送次数和所述第二接收次数,确定所述第二成功率。The third determining module 509 is configured to: determine the second success rate based on the second sending times and the second receiving times.

在其他实施例中,所述第一确定模块503,还配置为:如果接收到攻击消息,确定需要重新连接AP;所述攻击消息用于阻断所述装置500与当前服务AP之间的连接。In other embodiments, the first determining module 503 is further configured to: if an attack message is received, determine that the AP needs to be reconnected; the attack message is used to block the connection between the apparatus 500 and the current serving AP .

在其他实施例中,所述装置500还包括禁止模块510,禁止模块510,配置为:如果接收到所述攻击消息,禁止生成断线通知,所述断线通知用于通知所述装置500的用户,所述装置500与所述当前服务AP已断开连接。In other embodiments, the apparatus 500 further includes a prohibition module 510, and the prohibition module 510 is configured to: if the attack message is received, prohibit the generation of a disconnection notification, where the disconnection notification is used to notify the User, the device 500 has been disconnected from the current serving AP.

在其他实施例中,所述装置500还包括:In other embodiments, the apparatus 500 further includes:

生成模块511,配置为:如果在预设时长内没有接收到连接响应,生成断线通知,所述连接响应用于告知所述装置500,所述目标AP与所述装置500成功建立连接;The generating module 511 is configured to: if a connection response is not received within a preset time period, a disconnection notification is generated, and the connection response is used to inform the device 500 that the target AP has successfully established a connection with the device 500;

输出模块512,配置为:输出所述断线通知,以通知所述装置500的用户,所述装置500与当前服务AP已断开连接。The output module 512 is configured to output the disconnection notification to notify the user of the device 500 that the device 500 has been disconnected from the current serving AP.

以上装置实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果。对于本申请装置实施例中未披露的技术细节,请参照本申请方法实施例的描述而理解。The descriptions of the above apparatus embodiments are similar to the descriptions of the above method embodiments, and have similar beneficial effects to the method embodiments. For technical details not disclosed in the device embodiments of the present application, please refer to the descriptions of the method embodiments of the present application for understanding.

需要说明的是,本申请实施例中,如果以软件功能模块的形式实现上述的重新连接AP的方法,并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台终端(可以是个人计算机、服务器、或者网络设备等)执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read OnlyMemory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本申请实施例不限制于任何特定的硬件和软件结合。It should be noted that, in the embodiments of the present application, if the above-mentioned method for reconnecting to an AP is implemented in the form of a software function module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of software products in essence or the parts that contribute to related technologies. The computer software products are stored in a storage medium and include several instructions to make A terminal (which may be a personal computer, a server, or a network device, etc.) executes all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes: a U disk, a removable hard disk, a read only memory (Read Only Memory, ROM), a magnetic disk or an optical disk and other mediums that can store program codes. As such, the embodiments of the present application are not limited to any specific combination of hardware and software.

对应地,本申请实施例提供一种终端,图6为本申请实施例终端的一种硬件实体示意图,如图6所示,该终端600的硬件实体包括:包括存储器601和处理器602,所述存储器601存储有可在处理器602上运行的计算机程序,所述处理器602执行所述程序时实现上述实施例中提供的重新连接AP的方法中的步骤。Correspondingly, an embodiment of the present application provides a terminal, and FIG. 6 is a schematic diagram of a hardware entity of the terminal according to the embodiment of the present application. As shown in FIG. 6 , the hardware entity of the terminal 600 includes: a memory 601 and a processor 602, and the The memory 601 stores a computer program that can be executed on the processor 602, and when the processor 602 executes the program, the steps in the method for reconnecting the AP provided in the above embodiments are implemented.

存储器601配置为存储由处理器602可执行的指令和应用,还可以缓存待处理器602以及终端600中各模块待处理或已经处理的数据(例如,图像数据、音频数据、语音通信数据和视频通信数据),可以通过闪存(FLASH)或随机访问存储器(Random Access Memory,RAM)实现。The memory 601 is configured to store instructions and applications executable by the processor 602, and can also cache data to be processed or processed by the processor 602 and modules in the terminal 600 (for example, image data, audio data, voice communication data, and video data). communication data), which can be implemented by flash memory (FLASH) or random access memory (Random Access Memory, RAM).

对应地,本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述实施例中提供的重新连接AP的方法中的步骤。Correspondingly, the embodiments of the present application provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps in the method for reconnecting an AP provided in the foregoing embodiments.

这里需要指出的是:以上存储介质和设备实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果。对于本申请存储介质和设备实施例中未披露的技术细节,请参照本申请方法实施例的描述而理解。It should be pointed out here that the descriptions of the above storage medium and device embodiments are similar to the descriptions of the above method embodiments, and have similar beneficial effects to the method embodiments. For technical details not disclosed in the embodiments of the storage medium and device of the present application, please refer to the description of the method embodiments of the present application to understand.

应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。It is to be understood that reference throughout the specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic associated with the embodiment is included in at least one embodiment of the present application. Thus, appearances of "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily necessarily referring to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present application. implementation constitutes any limitation. The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored, or not implemented. In addition, the coupling, or direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms. of.

上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元;既可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The unit described above as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit; it may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本申请各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may all be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above integration The unit can be implemented either in the form of hardware or in the form of hardware plus software functional units.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by program instructions related to hardware, the aforementioned program can be stored in a computer-readable storage medium, and when the program is executed, the execution includes: The steps of the above method embodiments; and the aforementioned storage medium includes: a removable storage device, a read only memory (Read Only Memory, ROM), a magnetic disk or an optical disk and other media that can store program codes.

或者,本申请上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台终端(可以是个人计算机、服务器、或者网络设备等,也可以是手机、平板电脑、台式机、个人数字助理、导航仪、数字电话、视频电话、电视机、传感设备等)执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, if the above-mentioned integrated units of the present application are implemented in the form of software function modules and sold or used as independent products, they may also be stored in a computer-readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of software products in essence or the parts that contribute to related technologies. The computer software products are stored in a storage medium and include several instructions to make A terminal (may be a personal computer, server, or network device, etc., or a mobile phone, tablet computer, desktop computer, personal digital assistant, navigator, digital phone, video phone, television, sensing device, etc.) executes this Claim all or part of the methods described in the various examples. The aforementioned storage medium includes various media that can store program codes, such as a removable storage device, a ROM, a magnetic disk, or an optical disk.

以上所述,仅为本申请的实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only the embodiment of the present application, but the protection scope of the present application is not limited to this. Covered within the scope of protection of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (9)

1. A method for reconnecting an Access Point (AP), the method being applied to a terminal, the method comprising:
if the AP needs to be reconnected, acquiring numerical values of at least two connection parameters of each candidate AP in a candidate AP set obtained by scanning; the connection parameters are parameters that affect the stability of the connection between the terminal and the corresponding candidate AP;
converting the numerical value of each connection parameter of each candidate AP into a corresponding score value according to a corresponding conversion rule;
the connection parameters at least include two of the following: the working frequency of the candidate AP, the received signal strength when the terminal receives the signal sent by the candidate AP, the first power forming rate of data transmission between the terminal and the candidate AP, the data transmission speed of the candidate AP and the second power forming rate of the terminal connected with the candidate AP; wherein, in case the connection parameters include the operating frequency and the received signal strength, the connection parameters further include at least one of: the first power component, the data transmission speed, and the second power component; the score value of the working frequency is more than or equal to the score value of the received signal strength and more than or equal to the score value of the first power generation rate and more than or equal to the score value of the second power generation rate;
determining a target AP from the set of candidate APs based on the score value of each connection parameter of each candidate AP;
sending a connection request to the target AP, wherein the connection request is used for requesting to establish connection with the target AP;
before obtaining values of at least two connection parameters of each candidate AP in the scanned candidate AP set, the method further includes:
if the attack message is received, determining that the AP needs to be reconnected, and forbidding generating a disconnection notice; wherein the attack message is used for blocking the connection between the terminal and the current service AP; the disconnection notification is used for notifying a user of the terminal that the terminal is disconnected from the current service AP.
2. The method of claim 1, further comprising:
pre-loading a score mapping table corresponding to each connection parameter, wherein the score mapping table is used for recording a preset range to which the numerical value of the corresponding connection parameter belongs and a score value corresponding to the preset range; in a corresponding manner, the first and second electrodes are,
converting the value of each connection parameter of each candidate AP into a corresponding score value according to a corresponding conversion rule, including:
determining a target range to which each connection parameter of each candidate AP belongs from a corresponding score mapping table based on the value of the value;
based on the target range, a score value of the corresponding connection parameter is determined from the corresponding score mapping table.
3. The method of claim 1, wherein the determining the target AP from the set of candidate APs based on the score value of each connection parameter of each candidate AP comprises:
determining a total score value of the corresponding candidate AP based on the score value of each connection parameter of each candidate AP;
determining a target AP from the set of candidate APs based on a total score value for each of the candidate APs.
4. The method of claim 1, further comprising:
acquiring first sending times, wherein the first sending times are times of sending data to the candidate AP by the terminal within a preset time period;
acquiring first receiving times, wherein the first receiving times are times of recording data sent by the candidate AP received by the terminal in a preset time period;
determining the first power generation rate based on the first transmission times and the first reception times.
5. The method of claim 1, further comprising:
acquiring second sending times, wherein the second sending times are the times of sending a connection request to the candidate AP by the terminal in a preset time period;
acquiring second receiving times, wherein the second receiving times are the times of receiving the connection response sent by the candidate AP by the terminal in a preset time period;
determining the second power based on the second number of transmissions and the second number of receptions.
6. The method of claim 1, wherein after sending the connection request to the target AP, the method further comprises:
if a connection response is not received within a preset time length, generating a disconnection notification, wherein the connection response is used for notifying the terminal that the target AP and the terminal are successfully connected;
outputting the disconnection notification to notify a user of the terminal that the terminal is disconnected from the current serving AP.
7. An apparatus for reconnecting an Access Point (AP), comprising:
an acquisition module configured to: if the AP needs to be reconnected, acquiring numerical values of at least two connection parameters of each candidate AP in a candidate AP set obtained by scanning; the connection parameters are parameters that affect the stability of the connection between the device and the corresponding candidate AP;
a conversion module configured to: converting the numerical value of each connection parameter of each candidate AP into a corresponding score value according to a corresponding conversion rule;
the connection parameters at least include two of the following: the working frequency of the candidate AP, the received signal strength when the device receives the signal sent by the candidate AP, the first power forming rate of data transmission between the device and the candidate AP, the data transmission speed of the candidate AP and the second power forming rate of connection between the device and the candidate AP; wherein, in case the connection parameters include the operating frequency and the received signal strength, the connection parameters further include at least one of: the first power component, the data transmission speed, and the second power component; the score value of the working frequency is more than or equal to the score value of the received signal strength and more than or equal to the score value of the first power generation rate and more than or equal to the score value of the second power generation rate;
a first determination module configured to: determining a target AP from the set of candidate APs based on the score value of each connection parameter of each candidate AP;
the first determination module is further configured to: if an attack message is received, determining that the AP needs to be reconnected, wherein the attack message is used for blocking the connection between the device and the current service AP;
a sending module configured to: sending a connection request to the target AP, wherein the connection request is used for requesting to establish connection with the target AP;
a disabling module configured to: before obtaining the values of at least two connection parameters of each candidate AP in the scanned candidate AP set, if the attack message is received, the forbidding module forbids to generate a disconnection notice; the outage notification is used to notify a user of the device that the device has disconnected from the current serving AP.
8. A terminal comprising a memory and a processor, the memory storing a computer program operable on the processor, wherein the processor when executing the program performs the steps in the method of reconnecting an AP of any of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of reconnecting an AP according to any one of claims 1 to 6.
CN201910032986.3A 2019-01-14 2019-01-14 Method and device for reconnecting AP, terminal and storage medium Expired - Fee Related CN109618421B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910032986.3A CN109618421B (en) 2019-01-14 2019-01-14 Method and device for reconnecting AP, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910032986.3A CN109618421B (en) 2019-01-14 2019-01-14 Method and device for reconnecting AP, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109618421A CN109618421A (en) 2019-04-12
CN109618421B true CN109618421B (en) 2021-04-30

Family

ID=66018756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910032986.3A Expired - Fee Related CN109618421B (en) 2019-01-14 2019-01-14 Method and device for reconnecting AP, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109618421B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290563A (en) * 2019-05-28 2019-09-27 菜鸟智能物流控股有限公司 Wireless access switching method, device and system and electronic equipment
CN112672385A (en) * 2019-09-30 2021-04-16 广州慧睿思通科技股份有限公司 Device connection method, device, storage medium and device
CN113163407A (en) * 2021-05-24 2021-07-23 青岛中科英泰商用系统股份有限公司 Android device-based wifi communication security defense method and device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022342A (en) * 2007-03-19 2007-08-22 杭州华为三康技术有限公司 Attack information processing method and device
CN101594695A (en) * 2008-05-30 2009-12-02 富士通株式会社 Wireless communication system, wireless communication device, disconnection processing method thereof, storage medium
CN103874097A (en) * 2014-01-26 2014-06-18 上海自仪泰雷兹交通自动化系统有限公司 CBTC (communication based train control system) wireless communication system and method
KR101447469B1 (en) * 2013-12-31 2014-10-06 한국정보보호시스템(주) System and method of wireless intrusion prevention and wireless service
CN105307224A (en) * 2014-06-19 2016-02-03 中国移动通信集团公司 Method and device for intelligently switching terminal between access points and terminal
CN105491632A (en) * 2016-01-15 2016-04-13 北京小米移动软件有限公司 Wireless access point switching method and wireless access point switching device
CN106658484A (en) * 2016-11-15 2017-05-10 乐视控股(北京)有限公司 Method for preventing wireless network attacks, terminal and wireless access point
CN107241782A (en) * 2017-06-16 2017-10-10 广东欧珀移动通信有限公司 Network access method, mobile terminal and computer-readable storage medium
CN107920359A (en) * 2017-07-01 2018-04-17 宇龙计算机通信科技(深圳)有限公司 Connection method, device and the user terminal of wireless access points
CN108055690A (en) * 2017-10-31 2018-05-18 深圳平安讯科技术有限公司 Wi-Fi hotspot recommends method, application server and computer readable storage medium
CN109040958A (en) * 2018-08-16 2018-12-18 Oppo广东移动通信有限公司 Network connection method, device, electronic equipment and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10159039B2 (en) * 2017-04-19 2018-12-18 Fortinet, Inc. Steering wireless local area network (WLAN) clients

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022342A (en) * 2007-03-19 2007-08-22 杭州华为三康技术有限公司 Attack information processing method and device
CN101594695A (en) * 2008-05-30 2009-12-02 富士通株式会社 Wireless communication system, wireless communication device, disconnection processing method thereof, storage medium
KR101447469B1 (en) * 2013-12-31 2014-10-06 한국정보보호시스템(주) System and method of wireless intrusion prevention and wireless service
CN103874097A (en) * 2014-01-26 2014-06-18 上海自仪泰雷兹交通自动化系统有限公司 CBTC (communication based train control system) wireless communication system and method
CN105307224A (en) * 2014-06-19 2016-02-03 中国移动通信集团公司 Method and device for intelligently switching terminal between access points and terminal
CN105491632A (en) * 2016-01-15 2016-04-13 北京小米移动软件有限公司 Wireless access point switching method and wireless access point switching device
CN106658484A (en) * 2016-11-15 2017-05-10 乐视控股(北京)有限公司 Method for preventing wireless network attacks, terminal and wireless access point
CN107241782A (en) * 2017-06-16 2017-10-10 广东欧珀移动通信有限公司 Network access method, mobile terminal and computer-readable storage medium
CN107920359A (en) * 2017-07-01 2018-04-17 宇龙计算机通信科技(深圳)有限公司 Connection method, device and the user terminal of wireless access points
CN108055690A (en) * 2017-10-31 2018-05-18 深圳平安讯科技术有限公司 Wi-Fi hotspot recommends method, application server and computer readable storage medium
CN109040958A (en) * 2018-08-16 2018-12-18 Oppo广东移动通信有限公司 Network connection method, device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN109618421A (en) 2019-04-12

Similar Documents

Publication Publication Date Title
US10314098B2 (en) Method and apparatus for connecting short-range wireless communication in terminal
US10979887B2 (en) Access method, network device, terminal device, and AMF device
US8478273B2 (en) Method and apparatus for intelligently reporting neighbor information to facilitate automatic neighbor relations
CN110268751B (en) Method and system for selecting access and mobility management functions in an access network environment
CN107360635B (en) Data transmission method, device, terminal and computer readable storage medium
WO2019184692A1 (en) Beam failure processing method, terminal, and network device
CN115052372A (en) Beam failure processing method and related equipment
WO2020151743A1 (en) Random access method and terminal
US11178624B2 (en) Method of adjusting transmission power of terminal, mobile terminal, and storage device
US10764805B2 (en) Signal strength measurement method and device
CN109618421B (en) Method and device for reconnecting AP, terminal and storage medium
CN106604314B (en) WiFi roaming network access method and terminal equipment
US20210377765A1 (en) Processing Method For Terminal Measurement and Terminal
WO2022156736A1 (en) Voice fallback method and apparatus, and user equipment
WO2021238404A1 (en) Data card switching method and apparatus, and terminal, and storage medium
WO2019015429A1 (en) Data transmission method, device, terminal and computer-readable storage medium
CN116193500A (en) Method and device for realizing perceived service, network side equipment and terminal
CN111083764B (en) Device control method, device, storage medium and electronic device
WO2023005898A1 (en) Multi-terminal joint session management method, network side device and terminal
CN115515254A (en) Point-to-point connection establishment method, device, storage medium and electronic equipment
WO2024032543A1 (en) Information acquisition method, and terminal and access network device
WO2024022163A1 (en) Positioning method, terminal and network device
WO2022268012A1 (en) Resource processing method and apparatus, electronic device, and storage medium
CN113676853B (en) Communication method and terminal equipment
WO2018153194A1 (en) Streaming data acquisition method, device, and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210430