[go: up one dir, main page]

CN115988476A - Adaptive roaming method, terminal, and computer-readable medium - Google Patents

Adaptive roaming method, terminal, and computer-readable medium Download PDF

Info

Publication number
CN115988476A
CN115988476A CN202211658721.2A CN202211658721A CN115988476A CN 115988476 A CN115988476 A CN 115988476A CN 202211658721 A CN202211658721 A CN 202211658721A CN 115988476 A CN115988476 A CN 115988476A
Authority
CN
China
Prior art keywords
roaming
terminal
threshold
sensitivity
adaptive
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211658721.2A
Other languages
Chinese (zh)
Other versions
CN115988476B (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.)
Shanghai Sunmi Technology Group Co Ltd
Shenzhen Michelangelo Technology Co Ltd
Original Assignee
Shanghai Sunmi Technology Group Co Ltd
Shenzhen Michelangelo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Sunmi Technology Group Co Ltd, Shenzhen Michelangelo Technology Co Ltd filed Critical Shanghai Sunmi Technology Group Co Ltd
Priority to CN202211658721.2A priority Critical patent/CN115988476B/en
Publication of CN115988476A publication Critical patent/CN115988476A/en
Application granted granted Critical
Publication of CN115988476B publication Critical patent/CN115988476B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

  • Mobile Radio Communication Systems (AREA)

Abstract

本发明提供了一种自适应漫游方法、终端以及计算机可读介质,其中自适应漫游方法由终端实施,包括:终端感知自身的漫游参数相关状态;终端根据漫游参数相关状态调整漫游参数。

Figure 202211658721

The present invention provides an adaptive roaming method, a terminal and a computer-readable medium, wherein the adaptive roaming method is implemented by the terminal, including: the terminal perceives its own roaming parameter-related state; and the terminal adjusts the roaming parameter according to the roaming parameter-related state.

Figure 202211658721

Description

自适应漫游方法、终端以及计算机可读介质Adaptive roaming method, terminal and computer readable medium

技术领域technical field

本发明主要涉及无线通信领域,尤其涉及一种自适应漫游方法、终端以及计算机可读介质。The present invention mainly relates to the field of wireless communication, in particular to an adaptive roaming method, a terminal and a computer-readable medium.

背景技术Background technique

当前的漫游方法中,当终端处于快速移动中时,由于漫游灵敏度设置不当导致漫游切换不及时,最终导致断开网络连接,大大影响用户的体验;或是当终端处于两个接入点(Access Point,AP)的覆盖重叠区域并处于静止状态时,终端收到的两个AP的信号强度相近,由于无线信号的波动,终端会在两个AP间频繁地切换,即乒乓切换,这不仅影响用户的使用体验,而且会加重网络的负担。In the current roaming method, when the terminal is moving rapidly, the roaming switch is not timely due to improper roaming sensitivity setting, which eventually leads to disconnection of the network connection, which greatly affects the user experience; or when the terminal is between two access points (Access Point, AP) coverage overlapping area and in a static state, the signal strengths of the two APs received by the terminal are similar. Due to the fluctuation of the wireless signal, the terminal will frequently switch between the two APs, that is, ping-pong switching, which not only affects User experience, and will increase the burden on the network.

现有方案中,终端需将周围AP的信号强度通过802.11协议报文发给AP,接入控制器(Access Controller,AC)再从AP获得终端上报的这些信号强度,最后AC通过该信号强度判断终端是否处于AP的重叠区域。这将带来几个弊端:终端频繁地给AP发送802.11报文将给网络带来负担,降低网络的吞吐量;终端并不知道重叠区域的AP会拒绝连接,所以终端仍然会不断的尝试连接重叠区域的AP,这进一步地会给网络带来负担,甚至影响终端与当前AP的网络连接性能;现有方案严重依赖于AC的决策,终端无法自主进行决策。In the existing solution, the terminal needs to send the signal strength of the surrounding APs to the AP through the 802.11 protocol message, and the access controller (Access Controller, AC) obtains these signal strengths reported by the terminal from the AP, and finally the AC judges the signal strength based on the signal strength. Whether the terminal is in the overlapping area of the AP. This will bring several disadvantages: the terminal frequently sends 802.11 packets to the AP, which will bring a burden to the network and reduce the throughput of the network; the terminal does not know that the AP in the overlapping area will refuse to connect, so the terminal will continue to try to connect APs in overlapping areas will further bring a burden to the network, and even affect the network connection performance between the terminal and the current AP; existing solutions rely heavily on the decision of the AC, and the terminal cannot make decisions independently.

发明内容Contents of the invention

本发明要解决的技术问题是提供一种不依赖于AC/AP的自适应漫游方法、终端以及计算机可读介质。The technical problem to be solved by the present invention is to provide an adaptive roaming method independent of AC/AP, a terminal and a computer-readable medium.

为解决上述技术问题,本发明提供了一种自适应漫游方法,所述自适应漫游方法由终端实施,包括:所述终端感知自身的漫游参数相关状态;所述终端根据所述漫游参数相关状态调整所述漫游参数。In order to solve the above technical problems, the present invention provides an adaptive roaming method, the adaptive roaming method is implemented by a terminal, including: the terminal perceives its own roaming parameter-related state; Adjust the roaming parameters.

在本发明的一实施例中,在所述终端感知漫游参数相关状态前还包括:判断所述终端接收的第一接入点的信号强度与漫游阈值的差值是否小于第一阈值,当所述差值小于所述第一阈值时,所述终端会感知漫游参数相关状态,并根据所述漫游参数相关状态调整漫游参数。In an embodiment of the present invention, before the terminal perceives the roaming parameter-related state, it further includes: judging whether the difference between the signal strength of the first access point received by the terminal and the roaming threshold is smaller than the first threshold, when the When the difference is smaller than the first threshold, the terminal perceives a roaming parameter-related state, and adjusts roaming parameters according to the roaming parameter-related state.

在本发明的一实施例中,漫游参数包括漫游灵敏度和漫游阈值。In an embodiment of the present invention, the roaming parameters include roaming sensitivity and roaming threshold.

在本发明的一实施例中,漫游参数相关状态包括所述终端的运动状态、业务类型和所处场景。In an embodiment of the present invention, the roaming parameter related state includes the movement state, service type and scene of the terminal.

在本发明的一实施例中,根据所述漫游参数相关状态调整漫游灵敏度的步骤包括:当所述运动状态为静止时,所述终端调整所述漫游灵敏度为第一灵敏度;当所述运动状态为移动时,所述终端调整所述漫游灵敏度为第二灵敏度;其中,所述第一灵敏度大于所述第二灵敏度。In an embodiment of the present invention, the step of adjusting the roaming sensitivity according to the related state of the roaming parameter includes: when the motion state is static, the terminal adjusts the roaming sensitivity to the first sensitivity; when the motion state When moving, the terminal adjusts the roaming sensitivity to a second sensitivity; wherein, the first sensitivity is greater than the second sensitivity.

在本发明的一实施例中,当所述运动状态为移动时,所述终端调整所述漫游灵敏度为第二灵敏度的步骤包括:根据所述终端的移动速度,在所述第二灵敏度的多个子灵敏度中确定相应的子灵敏度。In an embodiment of the present invention, when the motion state is moving, the step of the terminal adjusting the roaming sensitivity to the second sensitivity includes: according to the moving speed of the terminal, at multiples of the second sensitivity Determine the corresponding sub-sensitivities in sub-sensitivities.

在本发明的一实施例中,根据所述漫游参数相关状态调整漫游灵敏度的步骤包括:判断所述终端的当前业务是否为无数据业务;当所述当前业务为无数据业务时,所述终端调整所述漫游灵敏度为第三灵敏度;当所述当前业务不是无数据业务时,所述终端调整所述漫游灵敏度为第四灵敏度;其中,所述第三灵敏度大于所述第四灵敏度。In an embodiment of the present invention, the step of adjusting the roaming sensitivity according to the related status of the roaming parameters includes: judging whether the current service of the terminal is a no-data service; when the current service is a no-data service, the terminal Adjusting the roaming sensitivity to a third sensitivity; when the current service is not a data-free service, the terminal adjusts the roaming sensitivity to a fourth sensitivity; wherein the third sensitivity is greater than the fourth sensitivity.

在本发明的一实施例中,根据所述漫游参数相关状态调整漫游灵敏度的步骤还包括:当所述当前业务不是无数据业务时,将所述当前业务与多个不同时延敏感度的数据业务匹配,根据匹配结果在所述第四灵敏度的多个子灵敏度中确定相应的子灵敏度。In an embodiment of the present invention, the step of adjusting the roaming sensitivity according to the related status of the roaming parameters further includes: when the current service is not a data-free service, combining the current service with a plurality of data with different delay sensitivities Service matching, determining a corresponding sub-sensitivity among multiple sub-sensitivities of the fourth sensitivity according to a matching result.

在本发明的一实施例中,根据所述漫游参数相关状态调整漫游灵敏度的步骤包括:当所述运动状态为静止且所述终端未处于接入点重叠区域时,所述终端调整所述漫游灵敏度为第一灵敏度;当所述运动状态为静止且所述终端处于接入点重叠区域时,所述终端调整所述漫游灵敏度为第五灵敏度;其中,所述第五灵敏度大于所述第一灵敏度。In an embodiment of the present invention, the step of adjusting the roaming sensitivity according to the related state of the roaming parameter includes: when the motion state is stationary and the terminal is not in an overlapping area of access points, the terminal adjusts the roaming sensitivity. The sensitivity is the first sensitivity; when the motion state is stationary and the terminal is in an overlapping area of access points, the terminal adjusts the roaming sensitivity to the fifth sensitivity; wherein the fifth sensitivity is greater than the first sensitivity.

在本发明的一实施例中,根据漫游参数相关状态调整漫游阈值的步骤包括:当运动状态为静止时,终端调整漫游灵敏度为第一阈值;当运动状态为移动时,终端调整漫游灵敏度为第二阈值;其中,第一阈值小于第二阈值。In an embodiment of the present invention, the step of adjusting the roaming threshold according to the related state of the roaming parameter includes: when the motion state is stationary, the terminal adjusts the roaming sensitivity to the first threshold; when the motion state is moving, the terminal adjusts the roaming sensitivity to the second threshold Two thresholds; wherein, the first threshold is smaller than the second threshold.

在本发明的一实施例中,当运动状态为移动时,终端调整漫游阈值为第二阈值的步骤包括:根据终端的移动速度,在第二阈值的多个子阈值中确定相应的子阈值。In an embodiment of the present invention, when the motion state is moving, the step of the terminal adjusting the roaming threshold to the second threshold includes: determining a corresponding sub-threshold among multiple sub-thresholds of the second threshold according to the moving speed of the terminal.

在本发明的一实施例中,根据漫游参数相关状态调整漫游阈值的步骤包括:判断终端的当前业务是否为无数据业务;当当前业务为无数据业务时,终端调整漫游阈值为第三阈值;当当前业务不是无数据业务时,终端调整漫游阈值为第四阈值;其中,第三阈值小于第四阈值。In an embodiment of the present invention, the step of adjusting the roaming threshold according to the state of the roaming parameter includes: judging whether the current service of the terminal is a no-data service; when the current service is a no-data service, the terminal adjusts the roaming threshold to the third threshold; When the current service is not a data-free service, the terminal adjusts the roaming threshold to a fourth threshold; wherein, the third threshold is smaller than the fourth threshold.

在本发明的一实施例中,根据漫游参数相关状态调整漫游阈值的步骤还包括:当当前业务不是无数据业务时,将当前业务与多个不同时延敏感度的数据业务匹配,根据匹配结果在第四阈值的多个子阈值中确定相应的子阈值。In an embodiment of the present invention, the step of adjusting the roaming threshold according to the related status of the roaming parameters further includes: when the current service is not a data-free service, matching the current service with a plurality of data services with different delay sensitivities, and according to the matching result A corresponding sub-threshold is determined among the plurality of sub-thresholds of the fourth threshold.

在本发明的一实施例中,根据漫游参数相关状态调整漫游阈值的步骤包括:当运动状态为静止且终端未处于接入点重叠区域时,终端调整漫游阈值为第一阈值;当运动状态为静止且终端处于接入点重叠区域时,终端调整漫游阈值为第五阈值;其中,第五阈值小于第一阈值。In an embodiment of the present invention, the step of adjusting the roaming threshold according to the roaming parameter-related state includes: when the motion state is static and the terminal is not in the overlapping area of the access point, the terminal adjusts the roaming threshold to the first threshold; when the motion state is When the terminal is stationary and the terminal is in the overlapping area of the access points, the terminal adjusts the roaming threshold to the fifth threshold; where the fifth threshold is smaller than the first threshold.

本发明还提供了一种终端,包括:存储器,用于存储可由处理器执行的指令;处理器,用于执行所述指令以实现如前任一实施例的方法。The present invention also provides a terminal, including: a memory, configured to store instructions executable by a processor; and a processor, configured to execute the instructions to implement the method in any preceding embodiment.

本发明还提供了一种存储有计算机程序代码的计算机可读介质,所述计算机程序代码在由处理器执行时实现如前任一实施例的方法。The present invention also provides a computer-readable medium storing computer program code, the computer program code implements the method in any one of the preceding embodiments when executed by a processor.

与现有技术相比,本发明提供的一种自适应漫游方法完全由终端本身通过对自身运动状态、业务类型等的判断做出调整漫游灵敏度的决策,不依赖于AC/AP,降低了网络负担。Compared with the prior art, the self-adaptive roaming method provided by the present invention completely makes the decision to adjust the roaming sensitivity by the terminal itself by judging its own motion status and service type, and does not depend on AC/AP, which reduces network traffic. burden.

附图说明Description of drawings

包括附图是为提供对本申请进一步的理解,它们被收录并构成本申请的一部分,附图示出了本申请的实施例,并与本说明书一起起到解释本发明原理的作用。附图中:The accompanying drawings are included to provide a further understanding of the present application, and they are included and constitute a part of the present application. The accompanying drawings show the embodiments of the present application, and together with the description, serve to explain the principle of the present invention. In the attached picture:

图1是本申请一实施例的一种自适应方法流程图。Fig. 1 is a flow chart of an adaptive method according to an embodiment of the present application.

图2是本申请另一实施例的一种自适应方法流程图。Fig. 2 is a flowchart of an adaptive method according to another embodiment of the present application.

图3是本申请一实施例的一种依据终端运动状态调整漫游灵敏度的自适应方法流程图。FIG. 3 is a flowchart of an adaptive method for adjusting roaming sensitivity according to a terminal motion state according to an embodiment of the present application.

图4是本申请另一实施例的一种依据终端运动状态调整漫游灵敏度的自适应方法流程图。FIG. 4 is a flow chart of an adaptive method for adjusting roaming sensitivity according to a terminal motion state according to another embodiment of the present application.

图5是本申请一实施例的一种依据终端业务类型调整漫游灵敏度的自适应方法流程图。Fig. 5 is a flow chart of an adaptive method for adjusting roaming sensitivity according to a service type of a terminal according to an embodiment of the present application.

图6是本申请一实施例的一种依据终端所处场景调整漫游灵敏度的自适应方法流程图。Fig. 6 is a flow chart of an adaptive method for adjusting roaming sensitivity according to a scene where a terminal is located according to an embodiment of the present application.

图7是本申请一实施例的一种依据终端运动状态调整漫游阈值的自适应方法流程图。FIG. 7 is a flow chart of an adaptive method for adjusting a roaming threshold according to a terminal motion state according to an embodiment of the present application.

图8是本申请另一实施例的一种依据终端运动状态调整漫游阈值的自适应方法流程图。FIG. 8 is a flow chart of an adaptive method for adjusting a roaming threshold according to a terminal motion state according to another embodiment of the present application.

图9是本申请一实施例的一种依据终端业务类型调整漫游阈值的自适应方法流程图。FIG. 9 is a flow chart of an adaptive method for adjusting a roaming threshold according to a service type of a terminal according to an embodiment of the present application.

图10是本申请一实施例的一种依据终端所处场景调整漫游阈值的自适应方法流程图。FIG. 10 is a flow chart of an adaptive method for adjusting a roaming threshold according to a scenario where a terminal is located according to an embodiment of the present application.

图11是本申请一实施例的一种终端示意图。Fig. 11 is a schematic diagram of a terminal according to an embodiment of the present application.

具体实施方式Detailed ways

为了更清楚地说明本申请的实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单的介绍。显而易见地,下面描述中的附图仅仅是本申请的一些示例或实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图将本申请应用于其他类似情景。除非从语言环境中显而易见或另做说明,图中相同标号代表相同结构或操作。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings that need to be used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some examples or embodiments of the present application, and those skilled in the art can also apply the present application to other similar scenarios. Unless otherwise apparent from context or otherwise indicated, like reference numerals in the figures represent like structures or operations.

如本申请和权利要求书中所示,除非上下文明确提示例外情形,“一”、“一个”、“一种”和/或“该”等词并非特指单数,也可包括复数。一般说来,术语“包括”与“包含”仅提示包括已明确标识的步骤和元素,而这些步骤和元素不构成一个排它性的罗列,方法或者设备也可能包含其他的步骤或元素。As indicated in this application and claims, the terms "a", "an", "an" and/or "the" do not refer to the singular and may include the plural unless the context clearly indicates an exception. Generally speaking, the terms "comprising" and "comprising" only suggest the inclusion of clearly identified steps and elements, and these steps and elements do not constitute an exclusive list, and the method or device may also contain other steps or elements.

除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本申请的范围。同时,应当明白,为了便于描述,附图中所示出的各个部分的尺寸并不是按照实际的比例关系绘制的。对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为授权说明书的一部分。在这里示出和讨论的所有示例中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它示例可以具有不同的值。应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。The relative arrangements of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present application unless specifically stated otherwise. At the same time, it should be understood that, for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship. Techniques, methods and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods and devices should be considered part of the Authorized Specification. In all examples shown and discussed herein, any specific values should be construed as illustrative only, and not as limiting. Therefore, other examples of the exemplary embodiment may have different values. It should be noted that like numerals and letters denote like items in the following figures, therefore, once an item is defined in one figure, it does not require further discussion in subsequent figures.

在本申请的描述中,需要理解的是,方位词如“前、后、上、下、左、右”、“横向、竖向、垂直、水平”和“顶、底”等所指示的方位或位置关系通常是基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,在未作相反说明的情况下,这些方位词并不指示和暗示所指的装置或元件必须具有特定的方位或者以特定的方位构造和操作,因此不能理解为对本申请保护范围的限制;方位词“内、外”是指相对于各部件本身的轮廓的内外。In the description of the present application, it should be understood that orientation words such as "front, back, up, down, left, right", "horizontal, vertical, vertical, horizontal" and "top, bottom" etc. indicate the orientation Or positional relationship is generally based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the application and simplifying the description. In the absence of a contrary statement, these orientation words do not indicate or imply the device or element referred to It must have a specific orientation or be constructed and operated in a specific orientation, so it should not be construed as limiting the protection scope of the present application; the orientation words "inner and outer" refer to the inner and outer relative to the outline of each component itself.

为了便于描述,在这里可以使用空间相对术语,如“在……之上”、“在……上方”、“在……上表面”、“上面的”等,用来描述如在图中所示的一个器件或特征与其他器件或特征的空间位置关系。应当理解的是,空间相对术语旨在包含除了器件在图中所描述的方位之外的在使用或操作中的不同方位。例如,如果附图中的器件被倒置,则描述为“在其他器件或构造上方”或“在其他器件或构造之上”的器件之后将被定位为“在其他器件或构造下方”或“在其他器件或构造之下”。因而,示例性术语“在……上方”可以包括“在……上方”和“在……下方”两种方位。该器件也可以其他不同方式定位(旋转90度或处于其他方位),并且对这里所使用的空间相对描述作出相应解释。For the convenience of description, spatially relative terms may be used here, such as "on ...", "over ...", "on the surface of ...", "above", etc., to describe the The spatial positional relationship between one device or feature shown and other devices or features. It will be understood that the spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. For example, if the device in the figures is turned over, devices described as "above" or "above" other devices or configurations would then be oriented "beneath" or "above" the other devices or configurations. under other devices or configurations". Thus, the exemplary term "above" can encompass both an orientation of "above" and "beneath". The device may be otherwise oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptions used herein interpreted accordingly.

此外,需要说明的是,使用“第一”、“第二”等词语来限定零部件,仅仅是为了便于对相应零部件进行区别,如没有另行声明,上述词语并没有特殊含义,因此不能理解为对本申请保护范围的限制。此外,尽管本申请中所使用的术语是从公知公用的术语中选择的,但是本申请说明书中所提及的一些术语可能是申请人按他或她的判断来选择的,其详细含义在本文的描述的相关部分中说明。此外,要求不仅仅通过所使用的实际术语,而是还要通过每个术语所蕴含的意义来理解本申请。In addition, it should be noted that the use of words such as "first" and "second" to define components is only for the convenience of distinguishing corresponding components. To limit the protection scope of this application. In addition, although the terms used in this application are selected from well-known and commonly used terms, some terms mentioned in the specification of this application may be selected by the applicant according to his or her judgment, and their detailed meanings are listed in this article described in the relevant section of the description. Furthermore, it is required that this application be understood not only by the actual terms used, but also by the meaning implied by each term.

应当理解,当一个部件被称为“在另一个部件上”、“连接到另一个部件”、“耦合于另一个部件”或“接触另一个部件”时,它可以直接在该另一个部件之上、连接于或耦合于、或接触该另一个部件,或者可以存在插入部件。相比之下,当一个部件被称为“直接在另一个部件上”、“直接连接于”、“直接耦合于”或“直接接触”另一个部件时,不存在插入部件。同样的,当第一个部件被称为“电接触”或“电耦合于”第二个部件,在该第一部件和该第二部件之间存在允许电流流动的电路径。该电路径可以包括电容器、耦合的电感器和/或允许电流流动的其它部件,甚至在导电部件之间没有直接接触。It will be understood that when an element is referred to as being "on," "connected to," "coupled to" or "contacting" another element, it can be directly on the other element. On, connected or coupled to, or in contact with, the other component, or there may be an intervening component. In contrast, when an element is referred to as being "directly on," "directly connected to," "directly coupled to" or "directly contacting" another element, there are no intervening elements present. Likewise, when a first component is referred to as being "electrically contacting" or "electrically coupled to" a second component, there exists an electrical path between the first component and the second component that allows electrical current to flow. This electrical path may include capacitors, coupled inductors, and/or other components that allow current to flow, even without direct contact between conductive components.

本申请中使用了流程图用来说明根据本申请的实施例的系统所执行的操作。应当理解的是,前面或下面操作不一定按照顺序来精确地执行。相反,可以按照倒序或同时处理各种步骤。同时,或将其他操作添加到这些过程中,或从这些过程移除某一步或数步操作。The flow chart is used in this application to illustrate the operations performed by the system according to the embodiment of this application. It should be understood that the preceding or following operations are not necessarily performed in an exact order. Instead, various steps may be processed in reverse order or concurrently. At the same time, other operations are either added to these procedures, or a certain step or steps are removed from these procedures.

本申请所提供的一种自适应漫游方法适用于当终端用户在不同接入点(AccessPoint,AP)的服务区之间进行移动时,终端在不同AP之间进行漫游切换的决策。具体的,在本发明的一些实施例中,终端包括移动设备例如手机、平板、车载系统等,AP包括适用于提供无线网络服务的设备例如Wi-Fi设备等。An adaptive roaming method provided in the present application is applicable to decision-making of roaming switching between different APs when the terminal user moves between service areas of different access points (AccessPoint, AP). Specifically, in some embodiments of the present invention, the terminal includes a mobile device such as a mobile phone, a tablet, and a vehicle system, and the AP includes a device suitable for providing wireless network services such as a Wi-Fi device.

图1是本申请一实施例的一种自适应方法流程图。参考图1所示,本申请提供的一种自适应漫游方法包括如下步骤:Fig. 1 is a flow chart of an adaptive method according to an embodiment of the present application. Referring to Figure 1, a method for adaptive roaming provided by the present application includes the following steps:

S10:终端感知自身的漫游参数相关状态;S10: The terminal perceives its own roaming parameter-related status;

S11:终端根据漫游参数相关状态调整漫游参数。S11: The terminal adjusts the roaming parameter according to the state related to the roaming parameter.

在本申请的一实施例中,漫游参数相关状态包括但不限于终端的运动状态、业务类型和所处场景。可以理解的是,运动状态(静止与否、移动速度)、不同业务类型对时延的敏感度以及场景都会影响当前状态下终端对漫游的要求,即是否要进行AP切换,或者AP切换的偏好。In an embodiment of the present application, the status related to the roaming parameters includes, but is not limited to, the motion status, service type and scene of the terminal. It is understandable that the state of motion (stationary or not, moving speed), the sensitivity of different service types to delay, and the scene will all affect the roaming requirements of the terminal in the current state, that is, whether to perform AP switching, or the preference of AP switching .

具体的,当终端处于静止状态时,其所连接的AP信号强度一般较为稳定,无需进行频繁切换,因此可将漫游灵敏度设置为较大的值,和/或将漫游阈值设置为较小的值。而当终端处于移动状态时,其相对于当前所连接的AP的位置不断发生变化,信号强度也会随之发生改变,对不同AP之间的选择需求随之增大,因此可将漫游灵敏度设置为较小的值,和/或将漫游阈值设置为较大的值。Specifically, when the terminal is in a static state, the signal strength of the AP it is connected to is generally relatively stable, and frequent switching is not required, so the roaming sensitivity can be set to a larger value, and/or the roaming threshold can be set to a smaller value . When the terminal is in the mobile state, its position relative to the currently connected AP is constantly changing, and the signal strength will also change accordingly, and the demand for selection between different APs will increase accordingly. Therefore, the roaming sensitivity can be set to to a lower value, and/or set the roaming threshold to a higher value.

图2所示为本申请一优选实施例,参考图2所示,本实施例中自适应漫游方法包括如下步骤:Figure 2 shows a preferred embodiment of the present application, with reference to Figure 2, the adaptive roaming method in this embodiment includes the following steps:

S20:判断终端接收的第一接入点的信号强度与漫游阈值的差值是否小于判断阈值;S20: Determine whether the difference between the signal strength of the first access point received by the terminal and the roaming threshold is smaller than the determination threshold;

S21:终端感知自身运动状态、业务类型和所处场景;S21: The terminal perceives its own motion state, service type and scene;

S22:终端根据感知到的自身运动状态、业务类型和所处场景调整漫游参数;S22: The terminal adjusts the roaming parameters according to the perceived motion state, service type and scene;

S23:终端设置调整时长;S23: The terminal sets the adjustment duration;

S24:判断调整时长是否结束,如果未结束则等待,如果结束则回到步骤S20。S24: Determine whether the adjustment duration is over, if not, wait, and if it is over, return to step S20.

可以理解的是,在步骤S20中,为了避免终端因频繁地感知自身运动状态、业务类型和所处场景而增加不必要的耗电,终端首先对本身接收到的第一接入点的信号强度与漫游阈值进行比较,其中第一接收点为终端当前所连接的AP,且第一接入点的信号强度大于漫游阈值。受到终端漫游参数相关状态的影响,第一接入点的信号强度可能会发生变化。例如随着终端位置的改变,终端与当前连接的AP的距离逐渐增大,信号强度减小。当终端所连接的当前AP的信号强度(即终端接收的第一接入点的信号强度)与漫游阈值的差减小到小于判断阈值时,终端重新判断是否需要改变连接的AP,同时对漫游参数进行调整。具体的,在步骤S20中当终端判断接收的第一接入点的信号强度与漫游阈值的差值小于判断阈值时,执行步骤S21。It can be understood that, in step S20, in order to avoid the unnecessary power consumption of the terminal due to frequent perception of its own motion state, service type and scene, the terminal first checks the signal strength of the first access point received by itself A comparison is made with the roaming threshold, wherein the first receiving point is the AP to which the terminal is currently connected, and the signal strength of the first access point is greater than the roaming threshold. Affected by a state related to the roaming parameters of the terminal, the signal strength of the first access point may change. For example, as the location of the terminal changes, the distance between the terminal and the currently connected AP gradually increases, and the signal strength decreases. When the difference between the signal strength of the current AP connected to the terminal (that is, the signal strength of the first access point received by the terminal) and the roaming threshold decreases to less than the judgment threshold, the terminal re-judges whether to change the connected AP, and at the same time Parameters are adjusted. Specifically, in step S20, when the terminal judges that the difference between the received signal strength of the first access point and the roaming threshold is smaller than the judging threshold, step S21 is executed.

进一步的,在步骤S23、S24中,终端设置调整时长作为缓冲时间,当终端判断调整时长结束时,重新执行步骤S20。Further, in steps S23 and S24, the terminal sets the adjustment duration as the buffer time, and when the terminal determines that the adjustment duration is over, step S20 is re-executed.

图3是本申请一实施例的一种依据终端运动状态调整漫游灵敏度的自适应方法流程图。参考图3所示,在终端所感知的自身的漫游参数相关状态为运动状态时,调整漫游灵敏度的自适应漫游方法包括如下步骤:FIG. 3 is a flowchart of an adaptive method for adjusting roaming sensitivity according to a terminal motion state according to an embodiment of the present application. Referring to Figure 3, when the terminal perceives its own roaming parameter-related state as a motion state, the adaptive roaming method for adjusting roaming sensitivity includes the following steps:

S20:判断终端接收的第一接入点的信号强度与漫游阈值的差值是否小于判断阈值;S20: Determine whether the difference between the signal strength of the first access point received by the terminal and the roaming threshold is smaller than the determination threshold;

S30:终端判断自身运动状态是否为静止,当运动状态为静止时,执行步骤S31,当运动状态为非静止时,执行步骤S32;S30: The terminal judges whether its own motion state is stationary, and when the motion state is stationary, execute step S31, and when the motion state is non-stationary, execute step S32;

S31:终端调整漫游灵敏度为第一灵敏度S1,执行步骤S23;S31: The terminal adjusts the roaming sensitivity to the first sensitivity S 1 , and executes step S23;

S32:终端调整漫游灵敏度为第二灵敏度S2,执行步骤S23;S32: The terminal adjusts the roaming sensitivity to the second sensitivity S 2 , and executes step S23;

S23:终端设置调整时长;S23: The terminal sets the adjustment duration;

S24:判断调整时长是否结束。S24: Judging whether the adjustment duration is over.

具体的,在步骤S30中,当终端的运动状态为静止时表示当前终端并未发生位置的改变,需要进行切换AP的需求并不强。反之,当终端处于运动状态时表示当前终端的位置正在发生改变,其所连接的第一接入点的信号强度发生改变的可能较大,即需要进行AP切换的可能较大。可以理解的是,当感知到的运动状态为静止时,终端执行步骤S31,将漫游灵敏度调整为第一灵敏度S1,当感受到的运动状态为非静止时,终端执行步骤32,将漫游灵敏度调整为第二灵敏度S2,其中S1>S2Specifically, in step S30, when the motion state of the terminal is stationary, it means that the current terminal has not changed its location, and the need to switch APs is not strong. Conversely, when the terminal is in a moving state, it means that the current location of the terminal is changing, and the signal strength of the first access point to which it is connected is more likely to change, that is, it is more likely to need to perform AP switching. It can be understood that, when the perceived motion state is stationary, the terminal executes step S31 to adjust the roaming sensitivity to the first sensitivity S 1 , and when the perceived motion state is non-stationary, the terminal executes step 32 to adjust the roaming sensitivity to the first sensitivity S 1 . Adjust to the second sensitivity S 2 , where S 1 >S 2 .

具体的,漫游灵敏度指终端在不同状态下切换接入点速度的调整速率,以适应最佳的信号连接质量,即漫游灵敏度数值越大,其调整速率越低,也就是终端在多个AP之间的切换频率降低,灵敏性下降。在本实施例中,静止状态表示终端当前处于较平稳的信号强度中,此时无需频繁切换连接点,因此设置为较大的第一漫游灵敏度S1。对应的,当终端感知到自身处于运动状态时,其位置正在发生改变,对切换接入点的需求增大,因此设置为较小的第二漫游灵敏度S2Specifically, roaming sensitivity refers to the adjustment rate of the terminal switching access point speed in different states to adapt to the best signal connection quality, that is, the greater the roaming sensitivity value, the lower the adjustment rate, that is, the terminal is between multiple APs. The switching frequency between them is reduced, and the sensitivity is reduced. In this embodiment, the static state means that the terminal is currently in a relatively stable signal strength, and there is no need to frequently switch connection points at this time, so the first roaming sensitivity S 1 is set to be relatively large. Correspondingly, when the terminal perceives that it is in a moving state, its location is changing, and the demand for switching access points increases, so it is set to a smaller second roaming sensitivity S 2 .

图4是本申请另一实施例的一种依据终端运动状态调整漫游灵敏度的自适应方法流程图。进一步参考图4所示,在本实施例中终端进一步判断自身运动状态在非静止时的移动速度,随着移动速度的不同进一步细化调整漫游灵敏度,以进一步增强信号的稳定性。具体的,本实施例中的自适应漫游方法包括如下步骤:FIG. 4 is a flow chart of an adaptive method for adjusting roaming sensitivity according to a terminal motion state according to another embodiment of the present application. Further referring to FIG. 4 , in this embodiment, the terminal further judges the moving speed of its own motion state when it is not stationary, and further refines and adjusts the roaming sensitivity according to the different moving speeds to further enhance the stability of the signal. Specifically, the adaptive roaming method in this embodiment includes the following steps:

S20:判断终端接收的第一接入点的信号强度与漫游阈值的差值是否小于判断阈值;S20: Determine whether the difference between the signal strength of the first access point received by the terminal and the roaming threshold is smaller than the determination threshold;

S30:终端判断自身运动状态是否为静止,是则执行步骤S31,否则执行步骤S33;S30: The terminal judges whether its own motion state is stationary, if yes, execute step S31, otherwise execute step S33;

S31:终端调整漫游灵敏度为第一灵敏度,执行步骤S23;S31: The terminal adjusts the roaming sensitivity to the first sensitivity, and executes step S23;

S33:终端判断自身是否在低速移动,是则执行步骤S34,否则执行步骤S35;S33: The terminal judges whether it is moving at a low speed, if yes, execute step S34, otherwise execute step S35;

S34:终端调整漫游灵敏度为第一子灵敏度S21,执行步骤S23;S34: The terminal adjusts the roaming sensitivity to the first sub-sensitivity S 21 , and executes step S23;

S35:终端判断自身是否在中速移动,是则执行步骤S36,否则判断终端自身高速移动,执行步骤S37;S35: The terminal judges whether it is moving at a medium speed, and if so, executes step S36; otherwise, judges that the terminal itself is moving at a high speed, and executes step S37;

S36:终端调整漫游灵敏度为第二子灵敏度S22,执行步骤S23;S36: The terminal adjusts the roaming sensitivity to the second sub-sensitivity S 22 , and executes step S23;

S37:终端调整漫游灵敏度为第三子灵敏度S23,执行步骤S23;S37: The terminal adjusts the roaming sensitivity to the third sub-sensitivity S 23 , and executes step S23;

S23:终端设置调整时长;S23: The terminal sets the adjustment duration;

S24:判断调整时长是否结束。S24: Judging whether the adjustment duration is over.

可以理解的,与上一实施例相比,本实施例所提供的一种自适应漫游方法在判断终端的运动状态为移动时,终端调整漫游灵敏度为第二灵敏度的步骤还进一步包括根据终端的移动速度,在第二灵敏度的多个子灵敏度中确定相应的子灵敏度。在本实施例中第二灵敏度包括三个子灵敏度S21、S22、S23,分别对应着终端的运动状态为低速移动、中速移动、高速移动。在此,可以根据实际需要设定低速移动、中速移动、高速移动的速度范围。具体的,当终端处于运动状态时,其位置正在发生改变,所连接的第一接入点的信号强度发生改变的可能较大,即需要进行AP切换的可能较大。随着终端移动速度的增大,其位置变化更加剧烈,信号强度发生改变的可能性也就越大,此时需要进一步减小信号灵敏度,使得终端能够及时地完成AP的切换。可以理解的是,在本实施例中S21>S22>S23It can be understood that, compared with the previous embodiment, when the adaptive roaming method provided in this embodiment judges that the motion state of the terminal is moving, the step of the terminal adjusting the roaming sensitivity to the second sensitivity further includes: For moving speed, determine the corresponding sub-sensitivities among the multiple sub-sensitivities of the second sensitivity. In this embodiment, the second sensitivity includes three sub-sensitivities S 21 , S 22 , and S 23 , which respectively correspond to the movement states of the terminal as low-speed movement, medium-speed movement, and high-speed movement. Here, the speed ranges of low-speed movement, medium-speed movement and high-speed movement can be set according to actual needs. Specifically, when the terminal is in a moving state, its location is changing, and the signal strength of the connected first access point is more likely to change, that is, it is more likely to need to perform AP switching. As the mobile speed of the terminal increases, its location changes more violently, and the possibility of signal strength changes is greater. At this time, it is necessary to further reduce the signal sensitivity so that the terminal can complete the AP switching in time. It can be understood that, in this embodiment, S 21 >S 22 >S 23 .

结合如下所示表1对本实施例作进一步说明:In conjunction with Table 1 as shown below, the present embodiment is further described:

运动状态exercise state 漫游灵敏度roaming sensitivity 取值范围(dB)Value range(dB) 默认值(dB)Default value (dB) 静止still <![CDATA[S<sub>1</sub>]]><![CDATA[S<sub>1</sub>]]> 9-119-11 1010 低速移动slow movement <![CDATA[S<sub>21</sub>]]><![CDATA[S<sub>21</sub>]]> 6-86-8 77 中速移动Medium speed movement <![CDATA[S<sub>22</sub>]]><![CDATA[S<sub>22</sub>]]> 3-53-5 44 高速移动high speed movement <![CDATA[S<sub>23</sub>]]><![CDATA[S<sub>23</sub>]]> 0-20-2 11

当终端判断自身接收的第一接入点的信号强度与漫游阈值的差值小于判断阈值时,进一步感知自身的运动状态并对漫游灵敏度做出对应调整:当运动状态为静止时调整漫游灵敏度为S1,9dB<S1<11dB;当运动状态为低速移动时调整漫游灵敏度为S21,6dB<S21<8dB;当运动状态为中速移动时,调整漫游灵敏度为S22,3dB<S22<5dB;当运动状态为高速移动时,调整漫游灵敏度为S23,0<S23<2dB。When the terminal judges that the difference between the signal strength of the first access point received by itself and the roaming threshold is less than the judgment threshold, it further perceives its own motion state and makes corresponding adjustments to the roaming sensitivity: when the motion state is stationary, adjust the roaming sensitivity to S 1 , 9dB<S 1 <11dB; when the movement state is low-speed movement, adjust the roaming sensitivity to S 21 , 6dB<S 21 <8dB; when the movement state is medium-speed movement, adjust the roaming sensitivity to S 22 , 3dB<S 22 <5dB; when the motion state is high-speed movement, adjust the roaming sensitivity to S 23 , 0<S 23 <2dB.

可以理解的是,在本申请的其他一些实施例中,第二灵敏度可以分为更少个或更多个子灵敏度以适应不同需求,本申请在此不做具体限制。It can be understood that, in some other embodiments of the present application, the second sensitivity may be divided into fewer or more sub-sensitivities to meet different requirements, and the present application does not make specific limitations here.

图5是本申请一实施例的一种依据终端业务类型调整漫游灵敏度的自适应方法流程图。参考图5所示为本申请一优选实施例,在终端所感知的自身的漫游参数相关状态为业务类型时,自适应漫游方法包括如下步骤:Fig. 5 is a flow chart of an adaptive method for adjusting roaming sensitivity according to a service type of a terminal according to an embodiment of the present application. Referring to FIG. 5, a preferred embodiment of the present application is shown. When the terminal perceives its own roaming parameter-related state as a service type, the adaptive roaming method includes the following steps:

S20:判断终端接收的第一接入点的信号强度与漫游阈值的差值是否小于判断阈值;S20: Determine whether the difference between the signal strength of the first access point received by the terminal and the roaming threshold is smaller than the determination threshold;

S40:判断终端当前是否有数据收发,是则执行步骤S42,否则执行步骤S41;S40: Determine whether the terminal currently transmits and receives data, if yes, execute step S42, otherwise execute step S41;

S41:终端调整漫游灵敏度为第三灵敏度,执行步骤S23;S41: The terminal adjusts the roaming sensitivity to the third sensitivity, and executes step S23;

S42:判断终端当前业务是否对时延敏感,是则执行步骤S44,否则执行步骤S43;S42: Determine whether the current service of the terminal is sensitive to delay, if yes, execute step S44, otherwise execute step S43;

S43:终端调整漫游灵敏度为第四子灵敏度,执行步骤S23;S43: The terminal adjusts the roaming sensitivity to the fourth sub-sensitivity, and executes step S23;

S44:判断终端当前业务是否为实时语音,是则执行步骤S45,否则执行步骤S46;S44: Determine whether the current service of the terminal is real-time voice, if yes, execute step S45, otherwise execute step S46;

S45:终端调整漫游灵敏度为第五子灵敏度,执行步骤S23;S45: The terminal adjusts the roaming sensitivity to the fifth sub-sensitivity, and executes step S23;

S46:终端调整漫游灵敏度为第六子灵敏度,执行步骤S23;S46: The terminal adjusts the roaming sensitivity to the sixth sub-sensitivity, and executes step S23;

S23:终端设置调整时长;S23: The terminal sets the adjustment duration;

S24:判断调整时长是否结束。S24: Judging whether the adjustment duration is over.

具体的,在步骤S40中,当终端没有数据收发时表示当前终端的业务类型为无数据业务,需要进行切换AP的需求并不强。反之,当终端存在数据收发时表示当前终端的业务类型不是无数据业务,其对所连接的第一接入点的信号强度的要求较高,需要进行AP切换的可能较大。可以理解的是,当感知到的业务类型为无数据业务时,终端执行步骤S41,将漫游灵敏度调整为第三灵敏度S3,当感受到的业务类型不是无数据业务时,终端将漫游灵敏度调整为第四灵敏度S4(图中未示出),其中S3>S4Specifically, in step S40, when the terminal does not send or receive data, it means that the current service type of the terminal is no data service, and the need to switch APs is not strong. Conversely, when the terminal is transmitting and receiving data, it means that the service type of the current terminal is not a data-free service, and it has higher requirements on the signal strength of the connected first access point, and it is more likely to need to perform AP switching. It can be understood that when the perceived service type is no data service, the terminal executes step S41 to adjust the roaming sensitivity to the third sensitivity S 3 , and when the perceived service type is not no data service, the terminal adjusts the roaming sensitivity is the fourth sensitivity S 4 (not shown in the figure), where S 3 >S 4 .

如图5所示为本申请一优选实施例,第四灵敏度S4包括第四子灵敏度S41、第五子灵敏度S42和第六子灵敏度S43。进一步的,在判断终端当前的业务类型存在数据收发后,终端还进一步判断当前的业务类型是否对时延敏感,即执行步骤S42。当业务对时延不敏感时,终端调整漫游灵敏度为第四子灵敏度S41,若业务对时延敏感则进一步判断是否为实时语音。若当前业务类型为实时语音则调整漫游灵敏度为第五子灵敏度S42,若当前业务类型并非实时语音,而是对时延更加敏感的类型例如实时视频或在线游戏等,则调整漫游灵敏度为第六子灵敏度S43。可以理解的是,S3>S41>S42>S43As shown in FIG. 5 , which is a preferred embodiment of the present application, the fourth sensitivity S 4 includes a fourth sub-sensitivity S 41 , a fifth sub-sensitivity S 42 and a sixth sub-sensitivity S 43 . Further, after judging that the current service type of the terminal has data sending and receiving, the terminal further judges whether the current service type is sensitive to delay, that is, executes step S42. When the service is not sensitive to delay, the terminal adjusts the roaming sensitivity to the fourth sub-sensitivity S 41 , and if the service is sensitive to delay, further judges whether it is real-time voice. If the current service type is real-time voice, then adjust the roaming sensitivity to the fifth sub-sensitivity S42 ; if the current service type is not real-time voice, but a type more sensitive to delay such as real-time video or online games, then adjust the roaming sensitivity to the fifth sub-sensitivity Six sub-sensitivity S 43 . It can be understood that S 3 >S 41 >S 42 >S 43 .

结合如下所示表2对本实施例作进一步说明:In conjunction with Table 2 as shown below, the present embodiment is further described:

业务类型business type 漫游灵敏度roaming sensitivity 取值范围(dB)Value range(dB) 默认值(dB)Default value (dB) 无数据业务no data service <![CDATA[S<sub>3</sub>]]><![CDATA[S<sub>3</sub>]]> 7-97-9 88 时延不敏感业务Latency insensitive business <![CDATA[S<sub>41</sub>]]><![CDATA[S<sub>41</sub>]]> 5-75-7 66 实时语音real time voice <![CDATA[S<sub>42</sub>]]><![CDATA[S<sub>42</sub>]]> 3-53-5 44 实时视频/在线游戏Live Video/Online Gaming <![CDATA[S<sub>43</sub>]]><![CDATA[S<sub>43</sub>]]> 1-31-3 22

当终端判断自身接收的第一接入点的信号强度与漫游阈值的差值小于判断阈值时,进一步感知自身的业务类型并对漫游灵敏度做出对应调整:当业务类型为无数据业务时调整漫游灵敏度为S3,7dB<S3<9dB;当业务类型为时延不敏感业务时调整漫游灵敏度为S41,5dB<S41<7dB;当业务类型为实时语音时,调整漫游灵敏度为S42,3dB<S42<5dB;当业务类型为实时视频/在线游戏时,调整漫游灵敏度为S43,1<S43<3dB。When the terminal judges that the difference between the signal strength of the first access point received by itself and the roaming threshold is less than the judgment threshold, it further perceives its own service type and makes corresponding adjustments to roaming sensitivity: adjust roaming when the service type is no data service The sensitivity is S 3 , 7dB<S 3 <9dB; when the service type is delay-insensitive service, adjust the roaming sensitivity to S 41 , 5dB<S 41 <7dB; when the service type is real-time voice, adjust the roaming sensitivity to S 42 , 3dB<S 42 <5dB; when the service type is real-time video/online game, adjust roaming sensitivity to S 43 , 1<S 43 <3dB.

可以理解的是,在本申请的其他一些实施例中,第四灵敏度可以分为更少个或更多个子灵敏度以适应不同需求,本申请在此不做具体限制。It can be understood that, in some other embodiments of the present application, the fourth sensitivity may be divided into fewer or more sub-sensitivities to meet different requirements, and the present application does not make specific limitations here.

图6是本申请一实施例的一种依据终端所处场景的自适应方法流程图。在本实施例中,当终端判断自身运动状态为静止时,还会进一步对当前所处区域进行判断。具体步骤如下:Fig. 6 is a flow chart of an adaptive method according to a scene where a terminal is located according to an embodiment of the present application. In this embodiment, when the terminal judges that its own motion state is stationary, it further judges the current area. Specific steps are as follows:

S20:判断终端接收的第一接入点的信号强度与漫游阈值的差值是否小于判断阈值;S20: Determine whether the difference between the signal strength of the first access point received by the terminal and the roaming threshold is smaller than the determination threshold;

S30:终端判断自身运动状态是否为静止,是则执行步骤S50,否则执行步骤S33;S30: The terminal judges whether its own motion state is stationary, if yes, execute step S50, otherwise execute step S33;

S50:终端判断自身是否处于接入点重叠区域,是则执行步骤S31,否则执行步骤S51;S50: The terminal judges whether it is in the access point overlapping area, if yes, execute step S31, otherwise execute step S51;

S31:终端调整漫游灵敏度为第五灵敏度,执行步骤S23;S31: The terminal adjusts the roaming sensitivity to the fifth sensitivity, and executes step S23;

S51:终端调整漫游灵敏度为第一灵敏度,执行步骤S23;S51: The terminal adjusts the roaming sensitivity to the first sensitivity, and executes step S23;

S23:终端设置调整时长;S23: The terminal sets the adjustment duration;

S24:判断调整时长是否结束。S24: Judging whether the adjustment duration is over.

具体的,当终端位于接入点重叠区域时,有可能会接收到两个及以上信号强度相近的AP信号,若持续切换则会产生“乒乓切换”,即终端会在两个AP间频繁地切换。本实施例提供的自适应漫游方法在终端判断自身运动状态为静止后,还进一步对所处信号环境进行判断从而调整漫游灵敏度,即步骤S50-S51。Specifically, when the terminal is located in the overlapping area of the access point, it may receive two or more AP signals with similar signal strengths. switch. In the adaptive roaming method provided in this embodiment, after the terminal judges that its motion state is stationary, it further judges the signal environment where it is located to adjust the roaming sensitivity, that is, steps S50-S51.

可以理解的是,当终端处于静止且处于接入点重叠区域时,为了避免终端在重叠的AP之间反复切换造成信号不稳,本实施例中终端将调整自身漫游灵敏度,使得AP切换的可能性更小,即第五灵敏度S5>第一灵敏度S1It can be understood that when the terminal is stationary and in an overlapping area of access points, in order to avoid signal instability caused by repeated switching between overlapping APs by the terminal, in this embodiment the terminal will adjust its own roaming sensitivity so that AP switching is possible The sensitivity is smaller, that is, the fifth sensitivity S 5 >the first sensitivity S 1 .

图7是本申请一实施例的一种依据终端运动状态调整漫游阈值的自适应方法流程图。参考图7所示,在终端所感知的自身的漫游灵敏度参数相关状态为运动状态时,调整漫游阈值的自适应漫游方法包括如下步骤:FIG. 7 is a flow chart of an adaptive method for adjusting a roaming threshold according to a terminal motion state according to an embodiment of the present application. Referring to FIG. 7, when the terminal perceives its own roaming sensitivity parameter-related state as a motion state, the adaptive roaming method for adjusting the roaming threshold includes the following steps:

S30:终端判断自身运动状态是否为静止,当运动状态为静止时,执行步骤S31’,当运动状态为非静止时,执行步骤S32’;S30: The terminal judges whether its own motion state is stationary, and when the motion state is stationary, execute step S31', and when the motion state is non-stationary, execute step S32';

S31’:终端调整漫游阈值为第一阈值T1,执行步骤S23;S31': The terminal adjusts the roaming threshold to the first threshold T 1 , and executes step S23;

S32’:终端调整漫游阈值为第二阈值T2,执行步骤S23;S32': The terminal adjusts the roaming threshold to the second threshold T 2 , and executes step S23;

S23:终端设置调整时长;S23: The terminal sets the adjustment duration;

S24:判断调整时长是否结束。S24: Judging whether the adjustment duration is over.

同样的,在步骤S30中,当终端的运动状态为静止时表示当前终端并未发生位置的改变,需要进行切换AP的需求并不强。反之,当终端处于运动状态时表示当前终端的位置正在发生改变,其所连接的第一接入点的信号强度发生改变的可能较大,即需要进行AP切换的可能较大。可以理解的是,当感知到的运动状态为静止时,终端执行步骤S31’,将漫游阈值调整为第一阈值T1,当感受到的运动状态为非静止时,终端执行步骤32’,将漫游阈值调整为第二阈值T2,其中T1<T2Similarly, in step S30, when the motion state of the terminal is stationary, it means that the current terminal has not changed its location, and the need to switch APs is not strong. Conversely, when the terminal is in a moving state, it means that the current location of the terminal is changing, and the signal strength of the first access point to which it is connected is more likely to change, that is, it is more likely to need to perform AP switching. It can be understood that, when the perceived motion state is stationary, the terminal executes step S31' to adjust the roaming threshold to the first threshold T 1 , and when the perceived motion state is non-stationary, the terminal executes step 32' to set The roaming threshold is adjusted to a second threshold T 2 , where T 1 <T 2 .

具体的,如图2、7所示,步骤S20中首先对“终端接收的第一接入点的信号强度与漫游阈值的差值是否小于判断阈值”进行判断,再决定是否要感知终端自身的漫游参数相关状态从而决定是否调整漫游参数,可以理解的是,漫游阈值越大,相同条件下终端接收的第一接入点的信号强度与漫游阈值的差值越小,步骤S20判断结果为肯定的几率越大,在漫游灵敏度相同的条件下终端切换接入点的几率越大。也就是说,漫游阈值增大的效果与漫游灵敏度减小所能达到的效果相似。Specifically, as shown in Figures 2 and 7, in step S20, it is first judged "whether the difference between the signal strength of the first access point received by the terminal and the roaming threshold is less than the judgment threshold", and then it is decided whether to perceive the terminal's own It is understandable that the larger the roaming threshold is, the smaller the difference between the signal strength of the first access point received by the terminal and the roaming threshold is under the same conditions, and the judgment result of step S20 is affirmative The greater the probability is, the greater the probability that the terminal switches the access point under the same roaming sensitivity. That is, the effect of increasing the roaming threshold is similar to that achieved by reducing the roaming sensitivity.

在本实施例(如图7所示)中,静止状态表示终端当前处于较平稳的信号强度中,此时无需频繁切换连接点,因此设置为较小的第一漫游阈值T1。对应的,当终端感知到自身处于运动状态时,其位置正在发生改变,对切换接入点的需求增大,因此设置为较大的第二漫游阈值T2In this embodiment (as shown in FIG. 7 ), the static state means that the terminal is currently in a relatively stable signal strength, and there is no need to frequently switch connection points at this time, so the first roaming threshold T 1 is set to be small. Correspondingly, when the terminal perceives that it is in a moving state, its location is changing, and the demand for switching access points increases, so it is set to a larger second roaming threshold T 2 .

图8是本申请另一实施例的一种依据终端运动状态调整漫游阈值的自适应方法流程图。进一步参考图8所示,在本实施例中终端进一步判断自身运动状态在非静止时的移动速度,随着移动速度的不同进一步细化调整漫游灵敏度,以进一步增强信号的稳定性。具体的,本实施例中的自适应漫游方法包括如下步骤:FIG. 8 is a flow chart of an adaptive method for adjusting a roaming threshold according to a terminal motion state according to another embodiment of the present application. Further referring to FIG. 8 , in this embodiment, the terminal further judges the moving speed of its own motion state when it is not stationary, and further refines and adjusts the roaming sensitivity according to the different moving speeds, so as to further enhance the stability of the signal. Specifically, the adaptive roaming method in this embodiment includes the following steps:

S20:判断终端接收的第一接入点的信号强度与漫游阈值的差值是否小于判断阈值;S20: Determine whether the difference between the signal strength of the first access point received by the terminal and the roaming threshold is smaller than the determination threshold;

S30:终端判断自身运动状态是否为静止,是则执行步骤S31’,否则执行步骤S33;S30: The terminal judges whether its own motion state is stationary, if yes, execute step S31', otherwise execute step S33;

S31’:终端调整漫游阈值为第一阈值,执行步骤S23;S31': The terminal adjusts the roaming threshold to the first threshold, and executes step S23;

S33:终端判断自身是否在低速移动,是则执行步骤S34’,否则执行步骤S35;S33: The terminal judges whether it is moving at a low speed, if so, execute step S34', otherwise execute step S35;

S34’:终端调整漫游阈值为第一子阈值T21,执行步骤S23;S34': The terminal adjusts the roaming threshold to the first sub-threshold T 21 , and executes step S23;

S35:终端判断自身是否在中速移动,是则执行步骤S36’,否则判断终端自身高速移动,执行步骤S37’;S35: The terminal judges whether it is moving at a medium speed, and if so, executes step S36'; otherwise, judges that the terminal itself is moving at a high speed, and executes step S37';

S36’:终端调整漫游阈值为第二子阈值T22,执行步骤S23;S36': The terminal adjusts the roaming threshold to the second sub-threshold T 22 , and executes step S23;

S37’:终端调整漫游阈值为第三子阈值T23,执行步骤S23;S37': The terminal adjusts the roaming threshold to the third sub-threshold T 23 , and executes step S23;

S23:终端设置调整时长;S23: The terminal sets the adjustment duration;

S24:判断调整时长是否结束。S24: Judging whether the adjustment duration is over.

可以理解的,与上一实施例相比,本实施例所提供的一种自适应漫游方法在判断终端的运动状态为移动时,终端调整漫游阈值为第二阈值的步骤还进一步包括根据终端的移动速度,在第二阈值的多个子阈值中确定相应的子阈值。在本实施例中第二阈值包括三个子阈值T21、T22、T23,分别对应着终端的运动状态为低速移动、中速移动、高速移动。在此,可以根据实际需要设定低速移动、中速移动、高速移动的速度范围。具体的,当终端处于运动状态时,其位置正在发生改变,所连接的第一接入点的信号强度发生改变的可能较大,即需要进行AP切换的可能较大。随着终端移动速度的增大,其位置变化更加剧烈,信号强度发生改变的可能性也就越大,此时需要进一步增大信号阈值,使得终端能够及时地完成AP的切换。可以理解的是,在本实施例中T21<T22<T23It can be understood that, compared with the previous embodiment, in the adaptive roaming method provided by this embodiment, when judging that the motion state of the terminal is moving, the step of the terminal adjusting the roaming threshold to the second threshold further includes: For the moving speed, a corresponding sub-threshold is determined among the plurality of sub-thresholds of the second threshold. In this embodiment, the second threshold includes three sub-thresholds T 21 , T 22 , and T 23 , which respectively correspond to the low-speed movement, medium-speed movement, and high-speed movement of the terminal. Here, the speed ranges of low-speed movement, medium-speed movement and high-speed movement can be set according to actual needs. Specifically, when the terminal is in a moving state, its location is changing, and the signal strength of the connected first access point is more likely to change, that is, it is more likely to need to perform AP switching. As the mobile speed of the terminal increases, its location changes more violently, and the possibility of signal strength changes is greater. At this time, the signal threshold needs to be further increased so that the terminal can complete the AP switch in time. It can be understood that, in this embodiment, T 21 <T 22 <T 23 .

图9是本申请一实施例的一种依据终端业务类型调整漫游阈值的自适应方法流程图。参考图9所示为本申请一优选实施例,在终端所感知的自身的漫游参数相关状态为业务类型时,调整漫游阈值的自适应漫游方法包括如下步骤:FIG. 9 is a flow chart of an adaptive method for adjusting a roaming threshold according to a service type of a terminal according to an embodiment of the present application. Referring to FIG. 9, a preferred embodiment of the present application is shown. When the terminal perceives its own roaming parameter-related state as a service type, the adaptive roaming method for adjusting the roaming threshold includes the following steps:

S20:判断终端接收的第一接入点的信号强度与漫游阈值的差值是否小于判断阈值;S20: Determine whether the difference between the signal strength of the first access point received by the terminal and the roaming threshold is smaller than the determination threshold;

S40:判断终端当前是否有数据收发,是则执行步骤S42,否则执行步骤S41’;S40: Determine whether the terminal currently has data to send and receive, if yes, execute step S42, otherwise execute step S41';

S41’:终端调整漫游阈值为第三阈值,执行步骤S23;S41': The terminal adjusts the roaming threshold to the third threshold, and executes step S23;

S42:判断终端当前业务是否对时延敏感,是则执行步骤S44,否则执行步骤S43’;S42: Determine whether the current service of the terminal is sensitive to delay, if yes, execute step S44, otherwise execute step S43';

S43’:终端调整漫游阈值为第四子阈值,执行步骤S23;S43': The terminal adjusts the roaming threshold to the fourth sub-threshold, and executes step S23;

S44:判断终端当前业务是否为实时语音,是则执行步骤S45’,否则执行步骤S46’;S44: Determine whether the current service of the terminal is real-time voice, if yes, execute step S45', otherwise execute step S46';

S45’:终端调整漫游阈值为第五子阈值,执行步骤S23;S45': The terminal adjusts the roaming threshold to the fifth sub-threshold, and executes step S23;

S46’:终端调整漫游阈值为第六子阈值,执行步骤S23;S46': The terminal adjusts the roaming threshold to the sixth sub-threshold, and executes step S23;

S23:终端设置调整时长;S23: The terminal sets the adjustment duration;

S24:判断调整时长是否结束。S24: Judging whether the adjustment duration is over.

具体的,在步骤S40中,当终端没有数据收发时表示当前终端的业务类型为无数据业务,需要进行切换AP的需求并不强。反之,当终端存在数据收发时表示当前终端的业务类型不是无数据业务,其对所连接的第一接入点的信号强度的要求较高,需要进行AP切换的可能较大。可以理解的是,当感知到的业务类型为无数据业务时,终端执行步骤S41’,将漫游阈值调整为第三阈值T3,当感受到的业务类型不是无数据业务时,终端将漫游阈值调整为第四阈值T4(图中未示出),其中T3>T4Specifically, in step S40, when the terminal does not send or receive data, it means that the current service type of the terminal is no data service, and the need to switch APs is not strong. Conversely, when the terminal is transmitting and receiving data, it means that the service type of the current terminal is not a data-free service, and it has higher requirements on the signal strength of the connected first access point, and it is more likely to need to perform AP switching. It can be understood that, when the perceived service type is no-data service, the terminal executes step S41' to adjust the roaming threshold to the third threshold T 3 , and when the perceived service type is not no-data service, the terminal adjusts the roaming threshold to Adjust to the fourth threshold T 4 (not shown in the figure), where T 3 >T 4 .

如图9所示为本申请一优选实施例,第四阈值S4包括第四子阈值T41、第五子阈值T42和第六子阈值T43。进一步的,在判断终端当前的业务类型存在数据收发后,终端还进一步判断当前的业务类型是否对时延敏感,即执行步骤S42。当业务对时延不敏感时,终端调整漫游阈值为第四子阈值T41,若业务对时延敏感则进一步判断是否为实时语音。若当前业务类型为实时语音则调整漫游阈值为第五子阈值T42,若当前业务类型并非实时语音,而是对时延更加敏感的类型例如实时视频或在线游戏等,则调整漫游阈值为第六子阈值T43。可以理解的是,T3<T41<T42<T43As shown in FIG. 9 , which is a preferred embodiment of the present application, the fourth threshold S4 includes a fourth sub-threshold T 41 , a fifth sub-threshold T 42 and a sixth sub-threshold T 43 . Further, after judging that the current service type of the terminal has data sending and receiving, the terminal further judges whether the current service type is sensitive to delay, that is, executes step S42. When the service is not sensitive to delay, the terminal adjusts the roaming threshold to the fourth sub-threshold T 41 , and if the service is sensitive to delay, further judges whether it is real-time voice. If the current service type is real-time voice, adjust the roaming threshold to the fifth sub-threshold T 42 ; if the current service type is not real-time voice, but is more sensitive to delay, such as real-time video or online games, then adjust the roaming threshold to the fifth sub-threshold T 42 . Six sub-thresholds T 43 . It can be understood that T 3 <T 41 <T 42 <T 43 .

图10是本申请一实施例的一种依据终端所处场景调整漫游阈值的自适应方法流程图。在本实施例中,当终端判断自身运动状态为静止时,还会进一步对当前所处区域进行判断。具体步骤如下:FIG. 10 is a flow chart of an adaptive method for adjusting a roaming threshold according to a scenario where a terminal is located according to an embodiment of the present application. In this embodiment, when the terminal judges that its own motion state is stationary, it further judges the current area. Specific steps are as follows:

S20:判断终端接收的第一接入点的信号强度与漫游阈值的差值是否小于判断阈值;S20: Determine whether the difference between the signal strength of the first access point received by the terminal and the roaming threshold is smaller than the determination threshold;

S30:终端判断自身运动状态是否为静止,是则执行步骤S50,否则执行步骤S33;S30: The terminal judges whether its own motion state is stationary, if yes, execute step S50, otherwise execute step S33;

S50:终端判断自身是否处于接入点重叠区域,是则执行步骤S31’,否则执行步骤S51’;S50: The terminal judges whether it is in the access point overlapping area, if yes, execute step S31', otherwise execute step S51';

S31’:终端调整漫游阈值为第五阈值,执行步骤S23;S31': The terminal adjusts the roaming threshold to the fifth threshold, and executes step S23;

S51’:终端调整漫游阈值为第一阈值,执行步骤S23;S51': The terminal adjusts the roaming threshold to the first threshold, and executes step S23;

S23:终端设置调整时长;S23: The terminal sets the adjustment duration;

S24:判断调整时长是否结束。S24: Judging whether the adjustment duration is over.

具体的,当终端位于接入点重叠区域时,有可能会接收到两个及以上信号强度相近的AP信号,若持续切换则会产生“乒乓切换”,即终端会在两个AP间频繁地切换。本实施例提供的自适应漫游方法在终端判断自身运动状态为静止后,还进一步对所处信号环境进行判断从而调整漫游阈值,即步骤S50-S51。Specifically, when the terminal is located in the overlapping area of the access point, it may receive two or more AP signals with similar signal strengths. switch. In the adaptive roaming method provided in this embodiment, after the terminal judges that its motion state is stationary, it further judges the signal environment where it is located to adjust the roaming threshold, that is, steps S50-S51.

可以理解的是,当终端处于静止且处于接入点重叠区域时,为了避免终端在重叠的AP之间反复切换造成信号不稳,本实施例中终端将调整自身漫游阈值,使得AP切换的可能性更小,即第五阈值T5<第一阈值T1It can be understood that, when the terminal is stationary and in an overlapping area of access points, in order to avoid signal instability caused by repeated switching between overlapping APs, the terminal will adjust its own roaming threshold in this embodiment to make AP switching possible. Even smaller, that is, the fifth threshold T 5 < the first threshold T 1 .

本发明的一实施例还提出了一种如图11所示的终端50。根据图11,终端50可包括内部通信总线51、处理器(Processor)52、只读存储器(ROM)53、随机存取存储器(RAM)54、以及通信端口55。当应用在个人计算机上时,视频传输参数的自适应调节系统50还可以包括硬盘56。An embodiment of the present invention also proposes a terminal 50 as shown in FIG. 11 . According to FIG. 11 , the terminal 50 may include an internal communication bus 51 , a processor (Processor) 52 , a read only memory (ROM) 53 , a random access memory (RAM) 54 , and a communication port 55 . When implemented on a personal computer, the system 50 for adaptive adjustment of video transmission parameters may also include a hard disk 56 .

内部通信总线51可以实现终端50组件间的数据通信。处理器52可以进行判断和发出提示,用于执行如前任一实施例的自适应漫游方法。在一些实施例中,处理器52可以由一个或多个处理器组成。通信端口55可以实现终端50与外部的数据通信。在一些实施例中,终端50可以通过通信端口55从网络发送和接受信息以及数据。The internal communication bus 51 can realize data communication between components of the terminal 50 . The processor 52 may make a judgment and issue a prompt, so as to execute the adaptive roaming method as in any one of the preceding embodiments. In some embodiments, processor 52 may consist of one or more processors. The communication port 55 can realize data communication between the terminal 50 and the outside. In some embodiments, the terminal 50 can send and receive information and data from the network through the communication port 55 .

终端50还可以包括不同形式的程序储存单元以及数据储存单元,例如硬盘56,只读存储器(ROM)53和随机存取存储器(RAM)54,能够存储计算机处理和/或通信使用的各种数据文件,以及处理器52所执行的可能的程序指令。处理器执行这些指令以实现方法的主要部分。处理器处理的结果通过通信端口传给用户设备,在用户界面上显示。Terminal 50 can also include different forms of program storage units and data storage units, such as hard disk 56, read-only memory (ROM) 53 and random access memory (RAM) 54, which can store various data used by computer processing and/or communication files, and possibly program instructions executed by processor 52. The processor executes these instructions to implement the main parts of the method. The result processed by the processor is transmitted to the user equipment through the communication port, and displayed on the user interface.

本发明还提供了一种存储有计算机程序代码的计算机可读介质,其中计算机程序代码在由处理器执行时实现如前任一实施例的方法。The present invention also provides a computer-readable medium storing computer program codes, wherein the computer program codes implement the method in any one of the preceding embodiments when executed by a processor.

上文已对基本概念做了描述,显然,对于本领域技术人员来说,上述发明披露仅仅作为示例,而并不构成对本申请的限定。虽然此处并没有明确说明,本领域技术人员可能会对本申请进行各种修改、改进和修正。该类修改、改进和修正在本申请中被建议,所以该类修改、改进、修正仍属于本申请示范实施例的精神和范围。The basic concepts have been described above, and obviously, for those skilled in the art, the above disclosure of the invention is only an example, and does not constitute a limitation to the present application. Although not expressly stated here, various modifications, improvements and amendments to this application may be made by those skilled in the art. Such modifications, improvements, and amendments are suggested in this application, so such modifications, improvements, and amendments still belong to the spirit and scope of the exemplary embodiments of this application.

同时,本申请使用了特定词语来描述本申请的实施例。如“一个实施例”、“一实施例”、和/或“一些实施例”意指与本申请至少一个实施例相关的某一特征、结构或特点。因此,应强调并注意的是,本说明书中在不同位置两次或多次提及的“一实施例”或“一个实施例”或“一替代性实施例”并不一定是指同一实施例。此外,本申请的一个或多个实施例中的某些特征、结构或特点可以进行适当的组合。Meanwhile, the present application uses specific words to describe the embodiments of the present application. For example, "one embodiment", "an embodiment", and/or "some embodiments" refer to a certain feature, structure or characteristic related to at least one embodiment of the present application. Therefore, it should be emphasized and noted that two or more references to "an embodiment" or "an embodiment" or "an alternative embodiment" in different places in this specification do not necessarily refer to the same embodiment . In addition, certain features, structures or characteristics of one or more embodiments of the present application may be properly combined.

本申请的一些方面可以完全由硬件执行、可以完全由软件(包括固件、常驻软件、微码等)执行、也可以由硬件和软件组合执行。以上硬件或软件均可被称为“数据块”、“模块”、“引擎”、“单元”、“组件”或“系统”。处理器可以是一个或多个专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理器件(DAPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、处理器、控制器、微控制器、微处理器或者其组合。此外,本申请的各方面可能表现为位于一个或多个计算机可读介质中的计算机产品,该产品包括计算机可读程序编码。例如,计算机可读介质可包括,但不限于,磁性存储设备(例如,硬盘、软盘、磁带……)、光盘(例如,压缩盘CD、数字多功能盘DVD……)、智能卡以及闪存设备(例如,卡、棒、键驱动器……)。Some aspects of the present application may be entirely implemented by hardware, may be entirely implemented by software (including firmware, resident software, microcode, etc.), or may be implemented by a combination of hardware and software. The above hardware or software may be referred to as "block", "module", "engine", "unit", "component" or "system". The processor can be one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DAPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), processors , a controller, a microcontroller, a microprocessor, or a combination thereof. Additionally, aspects of the present application may be embodied as a computer product comprising computer readable program code on one or more computer readable media. For example, computer-readable media may include, but are not limited to, magnetic storage devices (e.g., hard disk, floppy disk, magnetic tape...), optical disks (e.g., compact disk CD, digital versatile disk DVD...), smart cards, and flash memory devices ( For example, cards, sticks, key drives...).

计算机可读介质可能包含一个内含有计算机程序编码的传播数据信号,例如在基带上或作为载波的一部分。该传播信号可能有多种表现形式,包括电磁形式、光形式等等、或合适的组合形式。计算机可读介质可以是除计算机可读存储介质之外的任何计算机可读介质,该介质可以通过连接至一个指令执行系统、装置或设备以实现通讯、传播或传输供使用的程序。位于计算机可读介质上的程序编码可以通过任何合适的介质进行传播,包括无线电、电缆、光纤电缆、射频信号、或类似介质、或任何上述介质的组合。A computer readable medium may contain a propagated data signal embodying a computer program code, for example, in baseband or as part of a carrier wave. The propagated signal may take many forms, including electromagnetic, optical, etc., or a suitable combination. The computer readable medium can be any computer readable medium, other than computer readable storage medium, which can communicate, propagate or transfer the program for use by being connected to an instruction execution system, apparatus or device. Program code on a computer readable medium may be transmitted over any suitable medium, including radio, electrical cables, fiber optic cables, radio frequency signals, or the like, or combinations of any of the foregoing.

同理,应当注意的是,为了简化本申请披露的表述,从而帮助对一个或多个发明实施例的理解,前文对本申请实施例的描述中,有时会将多种特征归并至一个实施例、附图或对其的描述中。但是,这种披露方法并不意味着本申请对象所需要的特征比权利要求中提及的特征多。实际上,实施例的特征要少于上述披露的单个实施例的全部特征。In the same way, it should be noted that in order to simplify the expression disclosed in the present application and help the understanding of one or more embodiments of the invention, in the foregoing description of the embodiments of the present application, sometimes multiple features are combined into one embodiment, drawings or descriptions thereof. This method of disclosure does not, however, imply that the subject matter of the application requires more features than are recited in the claims. Indeed, embodiment features are less than all features of a single foregoing disclosed embodiment.

一些实施例中使用了描述成分、属性数量的数字,应当理解的是,此类用于实施例描述的数字,在一些示例中使用了修饰词“大约”、“近似”或“大体上”来修饰。除非另外说明,“大约”、“近似”或“大体上”表明所述数字允许有±20%的变化。相应地,在一些实施例中,说明书和权利要求中使用的数值参数均为近似值,该近似值根据个别实施例所需特点可以发生改变。在一些实施例中,数值参数应考虑规定的有效数位并采用一般位数保留的方法。尽管本申请一些实施例中用于确认其范围广度的数值域和参数为近似值,在具体实施例中,此类数值的设定在可行范围内尽可能精确。In some embodiments, numbers describing the quantity of components and attributes are used. It should be understood that such numbers used in the description of the embodiments use the modifiers "about", "approximately" or "substantially" in some examples. grooming. Unless otherwise stated, "about", "approximately" or "substantially" indicates that the stated figure allows for a variation of ±20%. Accordingly, in some embodiments, the numerical parameters used in the specification and claims are approximations that can vary depending upon the desired characteristics of individual embodiments. In some embodiments, numerical parameters should take into account the specified significant digits and adopt the general digit reservation method. Although the numerical ranges and parameters used in some embodiments of the present application to confirm the breadth of the scope are approximate values, in specific embodiments, such numerical values are set as precisely as practicable.

虽然本申请已参照当前的具体实施例来描述,但是本技术领域中的普通技术人员应当认识到,以上的实施例仅是用来说明本申请,在没有脱离本申请精神的情况下还可作出各种等效的变化或替换,因此,只要在本申请的实质精神范围内对上述实施例的变化、变型都将落在本申请的权利要求书的范围内。Although the present application has been described with reference to the current specific embodiments, those of ordinary skill in the art should recognize that the above embodiments are only used to illustrate the present application, and can also be made without departing from the spirit of the present application. Various equivalent changes or substitutions, therefore, as long as the changes and modifications to the above-mentioned embodiments are within the spirit of the present application, they will all fall within the scope of the claims of the present application.

Claims (17)

1.一种自适应漫游方法,所述自适应漫游方法由终端实施,其特征在于,所述自适应漫游方法包括:1. An adaptive roaming method, the adaptive roaming method is implemented by a terminal, characterized in that the adaptive roaming method comprises: 所述终端感知自身的漫游参数相关状态;The terminal perceives its own roaming parameter-related state; 所述终端根据所述漫游参数相关状态调整所述漫游参数。The terminal adjusts the roaming parameter according to the state related to the roaming parameter. 2.如权利要求1所述的自适应漫游方法,其特征在于,在所述终端感知漫游参数相关状态前还包括:2. The adaptive roaming method according to claim 1, further comprising: before the terminal perceives a state related to roaming parameters: 判断所述终端接收的第一接入点的信号强度与漫游阈值的差值是否小于判断阈值,当所述差值小于所述判断阈值时,所述终端会感知漫游参数相关状态,并根据所述漫游参数相关状态调整漫游参数。Judging whether the difference between the signal strength of the first access point received by the terminal and the roaming threshold is smaller than the judging threshold, when the difference is smaller than the judging threshold, the terminal will perceive the state related to roaming parameters, and according to the Adjust the roaming parameters according to the status related to the roaming parameters mentioned above. 3.如权利要求2所述的自适应漫游方法,其特征在于,在所述终端根据所述漫游参数相关状态调整所述漫游参数后还包括:3. The adaptive roaming method according to claim 2, further comprising: after the terminal adjusts the roaming parameters according to the related state of the roaming parameters: 所述终端设置调整时长;The terminal sets the adjustment duration; 所述调整时长结束时,判断所述差值是否小于所述判断阈值。When the adjustment duration ends, it is judged whether the difference is smaller than the judgment threshold. 4.如权利要求3所述的自适应漫游方法,其特征在于,所述漫游参数包括漫游灵敏度和漫游阈值。4. The adaptive roaming method according to claim 3, wherein the roaming parameters include roaming sensitivity and roaming threshold. 5.如权利要求4所述的自适应漫游方法,其特征在于,所述漫游参数相关状态包括所述终端的运动状态、业务类型和所处场景。5 . The adaptive roaming method according to claim 4 , wherein the roaming parameter-related status includes the motion status, service type and scene of the terminal. 6 . 6.如权利要求5所述的自适应漫游方法,其特征在于,根据所述漫游参数相关状态调整漫游灵敏度的步骤包括:6. The adaptive roaming method according to claim 5, wherein the step of adjusting roaming sensitivity according to the related state of the roaming parameters comprises: 当所述运动状态为静止时,所述终端调整所述漫游灵敏度为第一灵敏度;When the motion state is static, the terminal adjusts the roaming sensitivity to the first sensitivity; 当所述运动状态为移动时,所述终端调整所述漫游灵敏度为第二灵敏度;其中,When the motion state is moving, the terminal adjusts the roaming sensitivity to the second sensitivity; wherein, 所述第一灵敏度大于所述第二灵敏度。The first sensitivity is greater than the second sensitivity. 7.如权利要求6所述的自适应漫游方法,其特征在于,当所述运动状态为移动时,所述终端调整所述漫游灵敏度为第二灵敏度的步骤包括:根据所述终端的移动速度,在所述第二灵敏度的多个子灵敏度中确定相应的子灵敏度。7. The adaptive roaming method according to claim 6, wherein when the motion state is moving, the step of adjusting the roaming sensitivity of the terminal to the second sensitivity comprises: according to the moving speed of the terminal , determining the corresponding sub-sensitivities among the multiple sub-sensitivities of the second sensitivity. 8.如权利要求5所述的自适应漫游方法,其特征在于,根据所述漫游参数相关状态调整漫游灵敏度的步骤包括:8. The adaptive roaming method according to claim 5, wherein the step of adjusting roaming sensitivity according to the related state of the roaming parameters comprises: 判断所述终端的当前业务是否为无数据业务;judging whether the current service of the terminal is a no-data service; 当所述当前业务为无数据业务时,所述终端调整所述漫游灵敏度为第三灵敏度;When the current service is a no-data service, the terminal adjusts the roaming sensitivity to a third sensitivity; 当所述当前业务不是无数据业务时,所述终端调整所述漫游灵敏度为第四灵敏度;其中,When the current service is not a data-free service, the terminal adjusts the roaming sensitivity to the fourth sensitivity; wherein, 所述第三灵敏度大于所述第四灵敏度。The third sensitivity is greater than the fourth sensitivity. 9.如权利要求8所述的自适应漫游方法,其特征在于,根据所述漫游参数相关状态调整漫游灵敏度的步骤还包括:9. The adaptive roaming method according to claim 8, wherein the step of adjusting roaming sensitivity according to the roaming parameter-related state further comprises: 当所述当前业务不是无数据业务时,将所述当前业务与多个不同时延敏感度的数据业务匹配,根据匹配结果在所述第四灵敏度的多个子灵敏度中确定相应的子灵敏度。When the current service is not a data-free service, match the current service with multiple data services with different delay sensitivities, and determine a corresponding sub-sensitivity among multiple sub-sensitivities of the fourth sensitivity according to the matching result. 10.如权利要求6所述的自适应漫游方法,其特征在于,根据所述漫游参数相关状态调整漫游灵敏度的步骤包括:10. The adaptive roaming method according to claim 6, wherein the step of adjusting roaming sensitivity according to the related state of the roaming parameters comprises: 当所述运动状态为静止且所述终端未处于接入点重叠区域时,所述终端调整所述漫游灵敏度为第一灵敏度;When the motion state is stationary and the terminal is not in an overlapping area of access points, the terminal adjusts the roaming sensitivity to the first sensitivity; 当所述运动状态为静止且所述终端处于接入点重叠区域时,所述终端调整所述漫游灵敏度为第五灵敏度;其中,When the motion state is stationary and the terminal is in an overlapping area of access points, the terminal adjusts the roaming sensitivity to the fifth sensitivity; wherein, 所述第五灵敏度大于所述第一灵敏度。The fifth sensitivity is greater than the first sensitivity. 11.如权利要求5所述的自适应漫游方法,其特征在于,根据所述漫游参数相关状态调整漫游阈值的步骤包括:11. The adaptive roaming method according to claim 5, wherein the step of adjusting the roaming threshold according to the relevant state of the roaming parameter comprises: 当所述运动状态为静止时,所述终端调整所述漫游阈值为第一阈值;When the motion state is stationary, the terminal adjusts the roaming threshold to a first threshold; 当所述运动状态为移动时,所述终端调整所述漫游阈值为第二阈值;其中,When the motion state is moving, the terminal adjusts the roaming threshold to a second threshold; wherein, 所述第一阈值小于所述第二阈值。The first threshold is less than the second threshold. 12.如权利要求11所述的自适应漫游方法,其特征在于,当所述运动状态为移动时,所述终端调整所述漫游阈值为第二阈值的步骤包括:根据所述终端的移动速度,在所述第二阈值的多个子阈值中确定相应的子阈值。12. The adaptive roaming method according to claim 11, wherein when the motion state is moving, the step of the terminal adjusting the roaming threshold to the second threshold comprises: according to the moving speed of the terminal , determining a corresponding sub-threshold among the plurality of sub-thresholds of the second threshold. 13.如权利要求5所述的自适应漫游方法,其特征在于,根据所述漫游参数相关状态调整漫游阈值的步骤包括:13. The adaptive roaming method according to claim 5, wherein the step of adjusting the roaming threshold according to the related state of the roaming parameter comprises: 判断所述终端的当前业务是否为无数据业务;judging whether the current service of the terminal is a no-data service; 当所述当前业务为无数据业务时,所述终端调整所述漫游阈值为第三阈值;When the current service is no data service, the terminal adjusts the roaming threshold to a third threshold; 当所述当前业务不是无数据业务时,所述终端调整所述漫游阈值为第四阈值;其中,When the current service is not a data-free service, the terminal adjusts the roaming threshold to a fourth threshold; wherein, 所述第三阈值小于所述第四阈值。The third threshold is smaller than the fourth threshold. 14.如权利要求13所述的自适应漫游方法,其特征在于,根据所述漫游参数相关状态调整漫游阈值的步骤还包括:14. The adaptive roaming method according to claim 13, wherein the step of adjusting the roaming threshold according to the related state of the roaming parameter further comprises: 当所述当前业务不是无数据业务时,将所述当前业务与多个不同时延敏感度的数据业务匹配,根据匹配结果在所述第四阈值的多个子阈值中确定相应的子阈值。When the current service is not a data-free service, match the current service with multiple data services with different delay sensitivities, and determine a corresponding sub-threshold among the multiple sub-thresholds of the fourth threshold according to the matching result. 15.如权利要求11所述的自适应漫游方法,其特征在于,根据所述漫游参数相关状态调整漫游阈值的步骤包括:15. The adaptive roaming method according to claim 11, wherein the step of adjusting the roaming threshold according to the related state of the roaming parameter comprises: 当所述运动状态为静止且所述终端未处于接入点重叠区域时,所述终端调整所述漫游阈值为第一阈值;When the motion state is stationary and the terminal is not in an access point overlapping area, the terminal adjusts the roaming threshold to a first threshold; 当所述运动状态为静止且所述终端处于接入点重叠区域时,所述终端调整所述漫游阈值为第五阈值;其中,When the motion state is stationary and the terminal is in an overlapping area of access points, the terminal adjusts the roaming threshold to a fifth threshold; wherein, 所述第五阈值小于所述第一阈值。The fifth threshold is less than the first threshold. 16.一种终端,包括:16. A terminal comprising: 存储器,用于存储可由处理器执行的指令;memory for storing instructions executable by the processor; 处理器,用于执行所述指令以实现如权利要求1-15任一项所述的方法。A processor, configured to execute the instructions to implement the method according to any one of claims 1-15. 17.一种存储有计算机程序代码的计算机可读介质,所述计算机程序代码在由处理器执行时实现如权利要求1-15任一项所述的方法。17. A computer-readable medium storing computer program code, the computer program code implementing the method according to any one of claims 1-15 when executed by a processor.
CN202211658721.2A 2022-12-22 2022-12-22 Adaptive roaming method, terminal and computer readable medium Active CN115988476B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211658721.2A CN115988476B (en) 2022-12-22 2022-12-22 Adaptive roaming method, terminal and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211658721.2A CN115988476B (en) 2022-12-22 2022-12-22 Adaptive roaming method, terminal and computer readable medium

Publications (2)

Publication Number Publication Date
CN115988476A true CN115988476A (en) 2023-04-18
CN115988476B CN115988476B (en) 2025-03-21

Family

ID=85973409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211658721.2A Active CN115988476B (en) 2022-12-22 2022-12-22 Adaptive roaming method, terminal and computer readable medium

Country Status (1)

Country Link
CN (1) CN115988476B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119071810A (en) * 2023-05-31 2024-12-03 锐捷网络股份有限公司 Terminal roaming guidance method, device, electronic device and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060100621A (en) * 2005-03-17 2006-09-21 엘지전자 주식회사 Mobile communication terminal and roaming method equipped with a high speed roaming function
CN103999511A (en) * 2011-12-08 2014-08-20 苹果公司 Mechanisms to improve mobile device roaming in wireless networks
CN106686626A (en) * 2016-12-07 2017-05-17 广东欧珀移动通信有限公司 Setting method and terminal equipment of WiFi roaming
CN107708163A (en) * 2017-09-18 2018-02-16 深圳市信锐网科技术有限公司 A kind of roving link switching method, mobile terminal, network modules and storage medium
CN109089261A (en) * 2018-10-18 2018-12-25 Oppo广东移动通信有限公司 Method, apparatus, computer device and storage medium for wireless roaming triggering
CN109275198A (en) * 2018-09-30 2019-01-25 Oppo广东移动通信有限公司 Mobile terminal control method, device, storage medium and mobile terminal
CN110418334A (en) * 2018-04-30 2019-11-05 慧与发展有限责任合伙企业 The roaming of Stationary clients equipment in access point covering overlapping area prevents
CN111314900A (en) * 2020-03-23 2020-06-19 Oppo广东移动通信有限公司 Wireless connection method, wireless connection device, and mobile terminal
CN112492521A (en) * 2020-11-05 2021-03-12 北京小米移动软件有限公司 WiFi roaming trigger condition determining method and device, mobile terminal and storage medium
CN114828129A (en) * 2022-06-20 2022-07-29 统信软件技术有限公司 Roaming method and device of wireless local area network, mobile terminal and readable storage medium
KR20220122500A (en) * 2021-02-26 2022-09-02 가부시키가이샤 다이후쿠 wireless communication device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060100621A (en) * 2005-03-17 2006-09-21 엘지전자 주식회사 Mobile communication terminal and roaming method equipped with a high speed roaming function
CN103999511A (en) * 2011-12-08 2014-08-20 苹果公司 Mechanisms to improve mobile device roaming in wireless networks
CN106686626A (en) * 2016-12-07 2017-05-17 广东欧珀移动通信有限公司 Setting method and terminal equipment of WiFi roaming
WO2018103492A1 (en) * 2016-12-07 2018-06-14 广东欧珀移动通信有限公司 Method for setting wifi roaming, and terminal device
CN107708163A (en) * 2017-09-18 2018-02-16 深圳市信锐网科技术有限公司 A kind of roving link switching method, mobile terminal, network modules and storage medium
CN110418334A (en) * 2018-04-30 2019-11-05 慧与发展有限责任合伙企业 The roaming of Stationary clients equipment in access point covering overlapping area prevents
CN109275198A (en) * 2018-09-30 2019-01-25 Oppo广东移动通信有限公司 Mobile terminal control method, device, storage medium and mobile terminal
CN109089261A (en) * 2018-10-18 2018-12-25 Oppo广东移动通信有限公司 Method, apparatus, computer device and storage medium for wireless roaming triggering
CN111314900A (en) * 2020-03-23 2020-06-19 Oppo广东移动通信有限公司 Wireless connection method, wireless connection device, and mobile terminal
CN112492521A (en) * 2020-11-05 2021-03-12 北京小米移动软件有限公司 WiFi roaming trigger condition determining method and device, mobile terminal and storage medium
KR20220122500A (en) * 2021-02-26 2022-09-02 가부시키가이샤 다이후쿠 wireless communication device
CN114828129A (en) * 2022-06-20 2022-07-29 统信软件技术有限公司 Roaming method and device of wireless local area network, mobile terminal and readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
""R5-214736 Rel-15 SNPN Test Cases Evaluation RAN5#92"", 3GPP TSG_RAN\\WG5_TEST_EX-T1, 14 August 2021 (2021-08-14) *
刘彤;潘梁;韩锐;王旭;: "WLAN中基于网络信息感知的漫游方案", 电子设计工程, no. 09, 5 May 2020 (2020-05-05) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119071810A (en) * 2023-05-31 2024-12-03 锐捷网络股份有限公司 Terminal roaming guidance method, device, electronic device and storage medium

Also Published As

Publication number Publication date
CN115988476B (en) 2025-03-21

Similar Documents

Publication Publication Date Title
CN107801222B (en) Bluetooth and WiFi switching method and system, client and wireless access point equipment
US10306693B2 (en) Service communication method, terminal and network device
CN108494462B (en) Antenna function control method and device, readable storage medium and intelligent terminal
CN104137612B (en) Method for reporting UE preference indication and auxiliary information in mobile communication network
CN111436091B (en) Transmission path selection method, information configuration method, terminal and network equipment
TW200847688A (en) Interference parameter reporting from client devices to access point for use in modifying wireless operations
CN110267315B (en) Network connection control method, system, intelligent terminal and computer-readable storage medium
EP3843459A1 (en) Communication system switching method and terminal device
US20210297902A1 (en) Data transmission method, related storage medium and electronic device
US20180110080A1 (en) Mobile phone wifi accelerator and method
US20250050205A1 (en) Cloud gaming wireless network optimization method, apparatus and device, and storage medium
WO2023201747A1 (en) Method, device, and system for power saving in wireless networks
CN114302281A (en) Headphone control method, device, Bluetooth headset, and storage medium
CN104301974B (en) A kind of method for switching network, system and terminal
CN115988476A (en) Adaptive roaming method, terminal, and computer-readable medium
CN115002735A (en) Bluetooth control method, Bluetooth control device, storage medium and electronic equipment
CN112039572B (en) Antenna mode switching method, device, receiver and storage medium
JP2005026878A (en) Radio terminal and communication control method
US20230292241A1 (en) Method for data obtaining and communication device
CN116916452A (en) A communication method, device, equipment and storage medium
CN113055985B (en) Information processing method, device and equipment and computer readable storage medium
EP3291591A1 (en) Method for service transmission and transmission device
KR101625212B1 (en) multi-mode mobile terminal and method for selecting network mode in the terminal
CN116388806A (en) Antenna state control method and device, electronic equipment and storage medium
CN114339873B (en) A data transmission method and base station

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