Roaming control method and device, electronic equipment and storage medium
By acquiring wearer behavior data and access point parameters, the optimal roaming strategy is predicted and executed, solving the problem of unstable network connection for head-mounted display devices in multi-user dynamic scenarios, and achieving high-quality network transmission and a smooth user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-26
- Publication Date
- 2026-03-27
AI Technical Summary
Traditional roaming mechanisms for head-mounted displays struggle to adapt flexibly to complex network environments in multi-user dynamic scenarios, leading to unstable network connections and interference, and impacting network transmission reliability.
By acquiring wearer behavior data, predicting future behavior trends, and combining access point parameter information, the system formulates the optimal roaming strategy and automatically performs access point switching to ensure that the head-mounted display device is connected to a network with strong signal, low latency, and sufficient bandwidth.
Dynamically adjust roaming strategies to ensure that head-mounted displays maintain a high-quality network connection as the wearer moves, reduce the risk of network outages, improve the continuity and stability of data transmission, and enhance the user experience.
Smart Images

Figure CN121751268A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of head-mounted display devices, and particularly relates to a roaming control method and device, an electronic device and a storage medium. BACKGROUND
[0002] With the rapid development of AR (Augmented Reality) technology, VR (Virtual Reality) technology and MR (Mixed Reality) technology, AR / VR / MR devices and other head-mounted display devices have gradually integrated into people's daily life and become an important part of modern technology experience.
[0003] In a virtual reality space multi-user interaction environment, a head-mounted display device needs to frequently roam between multiple APs (Access Points) to maintain stable network connection. However, the traditional roaming mechanism is limited by a static signal strength comparison strategy and is difficult to flexibly cope with complex and variable multi-user dynamic scenarios, often causing unstable network connection, network interference and other problems, and is difficult to guarantee the reliability of network transmission.
[0004] In summary, how to guarantee the reliability of network transmission of a head-mounted display device has become a technical problem to be solved in the field. SUMMARY
[0005] The main purpose of the present application is to provide a roaming control method and device, an electronic device and a storage medium, which aims to guarantee the reliability of network transmission of a head-mounted display device.
[0006] To achieve the above purpose, the present application provides a roaming control method, which comprises the following steps:
[0007] obtaining current behavior data of a wearer of a head-mounted display device, and determining behavior prediction data of the wearer according to the current behavior data;
[0008] determining a roaming strategy for the head-mounted display device according to the behavior prediction data and parameter information of each access point;
[0009] performing access point switching of the head-mounted display device in a roaming process according to the roaming strategy.
[0010] In an embodiment, the behavior prediction data comprises a predicted action trajectory, and the parameter information comprises a signal coverage range. The step of determining a roaming strategy for the head-mounted display device according to the behavior prediction data and the parameter information of each access point comprises:
[0011] Based on the predicted movement trajectory and the signal coverage of each access point, candidate access points whose signal coverage intersects with the predicted movement trajectory are determined, and the head-mounted display device is controlled to interact with the candidate access points.
[0012] Calculate the first quality score of the candidate access points, and calculate the second quality score of the current access point of the head-mounted display device;
[0013] The roaming strategy for the head-mounted display device is determined to be to switch access points based on the ranking between the first quality score and the second quality score.
[0014] In one embodiment, the step of performing access point switching for the head-mounted display device during roaming according to the roaming strategy includes:
[0015] When the number of alternative access points is one, compare the first quality score with the second quality score.
[0016] When the first quality score is higher than the second quality score, the head-mounted display device is controlled to access the alternative access point, and the alternative access point is determined as the new current access point.
[0017] In one embodiment, the step of performing access point switching for the head-mounted display device during roaming according to the roaming strategy includes:
[0018] When there are multiple candidate access points, the target candidate access point with the highest first quality score is determined from the multiple candidate access points;
[0019] When the first quality score of the target candidate access point is higher than the second quality score of the current access point, the head-mounted display device is controlled to access the target candidate access point, and the target candidate access point is determined as the new current access point.
[0020] In one embodiment, the parameter information further includes network load and signal strength, and the step of calculating the first quality score of the candidate access point includes:
[0021] Calculate the network load score of the candidate access point based on the network load, calculate the signal strength score of the candidate access point based on the signal strength, and calculate the distance score based on the distance between the candidate access point and the head-mounted display device;
[0022] The first quality score of the candidate access point is obtained by calculating the sum of the first product of the network load score and the first preset weight, the second product of the signal strength score and the second preset weight, and the third product of the distance score and the third preset weight, wherein the sum of the first preset weight, the second preset weight, and the third preset weight is one.
[0023] In one embodiment, the behavior prediction data includes a predicted offset angle, the head-mounted display device includes a smart antenna, and after the step of determining the wearer's behavior prediction data based on the current behavior data, the method further includes:
[0024] The signal offset angle between the head-mounted display device and the current access point is updated based on the predicted offset angle.
[0025] The beamforming direction of the smart antenna is adjusted according to the signal offset angle so that the smart antenna provides directional gain to the signal at the current access point.
[0026] In one embodiment, the step of determining the wearer's behavior prediction data based on the current behavior data includes:
[0027] Determine whether the wearer has moved based on the current behavioral data;
[0028] When it is determined that the wearer has moved, the wearer's behavioral trajectory is predicted by a preset behavior prediction model to obtain the wearer's behavior prediction data.
[0029] Furthermore, to achieve the above objectives, this application also proposes a roaming control device, which includes:
[0030] The behavior prediction module is used to acquire the current behavior data of the wearer of the head-mounted display device, and determine the behavior prediction data of the wearer based on the current behavior data;
[0031] The strategy determination module is used to determine a roaming strategy for the head-mounted display device based on the behavior prediction data and parameter information of each access point.
[0032] The roaming control module is used to switch the access point of the head-mounted display device during roaming according to the roaming strategy.
[0033] In addition, to achieve the above objectives, this application also proposes an electronic device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the roaming control method as described above.
[0034] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the roaming control method described above.
[0035] This application proposes a roaming control method. The method acquires the current behavioral data of a head-mounted display device wearer and predicts the wearer's behavioral trends over a future period based on this data, generating behavioral prediction data. Then, based on the predicted behavioral data and parameter information of various access points in the environment, such as signal strength, network latency, and bandwidth availability, an optimal roaming strategy is formulated to pre-plan the timing and path of access point switching during roaming, minimizing network interruption risks and ensuring the continuity and stability of data transmission. Finally, according to the determined roaming strategy, the method automatically executes access point switching operations to ensure that the head-mounted display device can continuously obtain a high-quality network connection while the wearer is moving.
[0036] In summary, this application, by acquiring wearer behavior data, predicting behavior trends, and combining parameter information from each access point to formulate and execute roaming strategies, can dynamically adjust roaming strategies in the face of complex and ever-changing network environments. This ensures that the head-mounted display device is always connected to a network with strong signal, low latency, and sufficient bandwidth, guaranteeing the reliability of network transmission for the head-mounted display device and providing users with a better and smoother user experience. Attached Figure Description
[0037] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0038] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0039] Figure 1 This is a flowchart illustrating an embodiment of the roaming control method of this application.
[0040] Figure 2 This is a flowchart illustrating Embodiment 2 of the roaming control method of this application;
[0041] Figure 3 This is a schematic diagram of the roaming control process provided in Embodiment 2 of the roaming control method of this application;
[0042] Figure 4This is a schematic diagram of the module structure of the roaming control device according to an embodiment of this application;
[0043] Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the roaming control method in the embodiments of this application.
[0044] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0045] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0046] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0047] The main solution of this application embodiment is: to obtain the current behavior data of the wearer of the head-mounted display device, and to determine the behavior prediction data of the wearer based on the current behavior data; to determine the roaming strategy for the head-mounted display device based on the behavior prediction data and the parameter information of each access point; and to perform access point switching of the head-mounted display device during roaming according to the roaming strategy.
[0048] In multi-user interactive environments in virtual reality spaces, head-mounted displays need to frequently roam between multiple access points (APs) to maintain a stable network connection. However, traditional roaming mechanisms are limited by static signal strength comparison strategies, making it difficult to flexibly cope with complex and ever-changing multi-user dynamic scenarios. This often leads to problems such as unstable network connections and network interference, making it difficult to guarantee the reliability of network transmission.
[0049] This application provides a solution that acquires the current behavior data of a head-mounted display device wearer and predicts the wearer's behavior trends over a future period based on this data, generating predictive behavior data. Then, based on the predicted behavior data and parameter information of various access points in the environment, such as signal strength, network latency, and bandwidth availability, an optimal roaming strategy is formulated to pre-plan the timing and path of access point switching during roaming, minimizing network interruption risks and ensuring the continuity and stability of data transmission. Finally, according to the determined roaming strategy, the access point switching operation is automatically executed to ensure that the head-mounted display device can continuously obtain a high-quality network connection while the wearer is moving.
[0050] In summary, this embodiment of the application obtains wearer behavior data, predicts behavior trends, and formulates and executes roaming strategies by combining parameter information from each access point. When facing complex and ever-changing network environments, it can dynamically adjust roaming strategies to ensure that the head-mounted display device is always connected to a network with strong signal, low latency, and sufficient bandwidth. This ensures the reliability of network transmission for the head-mounted display device and provides users with a better and smoother user experience.
[0051] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a computer or server, or an electronic device capable of performing the above functions. The following description uses a roaming control system as an example to illustrate this embodiment and the subsequent embodiments.
[0052] Based on this, embodiments of this application provide a roaming control method, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the roaming control method of this application.
[0053] In this embodiment, the roaming control method includes steps S10 to S20:
[0054] Step S10: Obtain the current behavior data of the wearer of the head-mounted display device, and determine the behavior prediction data of the wearer based on the current behavior data;
[0055] It should be noted that the head-mounted display devices in this embodiment include, but are not limited to, Mixed Reality (MR) devices (such as MR glasses or MR helmets), Augmented Reality (AR) devices (such as AR glasses or AR helmets), Virtual Reality (VR) devices (such as VR glasses or VR helmets), Extended Reality (XR) devices, or some combination thereof, etc.
[0056] The wearer's current behavioral data is captured in real time by sensors integrated into the head-mounted display device. This data includes, but is not limited to, the wearer's movement trajectory and changes in body posture. Subsequently, data processing algorithms (such as machine learning models and deep learning networks) are used to analyze this current behavioral data to predict the wearer's behavior, thus obtaining the wearer's behavioral prediction data.
[0057] In one feasible implementation, the head-mounted display device includes an accelerometer, a gyroscope, and a magnetometer. The accelerometer collects acceleration changes and determines the movement speed based on the acceleration changes; the gyroscope collects rotational movements and determines the direction change based on the rotational movements; the magnetometer collects magnetic field information and determines the position coordinates based on the magnetic field information; and the movement speed, the direction change, and the position coordinates are used as the current behavior data of the wearer of the head-mounted display device.
[0058] Step S20: Determine a roaming strategy for the head-mounted display device based on the behavior prediction data and parameter information of each access point;
[0059] It should be noted that the roaming control system pre-constructs a virtual reality space based on actual needs and application scenarios. This space includes the location and parameter configuration of the head-mounted display device and each access point. The parameter information of the head-mounted display device and each access point is automatically updated according to the real-world scene. Here, "access point" refers to a wireless access point, which can be a simple wireless access point (AP) or a wireless router (including wireless gateways and wireless bridges). The parameter information of the access point includes, but is not limited to, its physical coordinates, signal coverage, latency characteristics, network load, and interference with other access points.
[0060] Based on the obtained behavioral prediction data and the parameter information of each access point in the current network environment, a comprehensive evaluation and optimization calculation is performed to determine an optimal roaming strategy. This ensures that the head-mounted display device can seamlessly and efficiently switch access points during the wearer's movement, thereby maintaining stable network connection quality and reducing the experience degradation caused by signal fluctuations or interruptions.
[0061] Step S30: Perform access point switching for the head-mounted display device during roaming according to the roaming strategy.
[0062] Based on the established roaming strategy, the system automatically performs access point switching operations for the head-mounted display device during roaming. For example, it monitors the wearer's location changes in real time and compares them with the predetermined roaming strategy to determine when to trigger an access point switch. When the switching conditions are met, it automatically initiates a connection request to the new access point and disconnects from the current access point, while ensuring that this switching process has minimal impact on the wearer's user experience. Furthermore, it continuously monitors the network connection quality after the access point switch and adjusts the strategy as needed to address potential network fluctuations.
[0063] In summary, this embodiment of the application obtains wearer behavior data, predicts behavior trends, and formulates and executes roaming strategies by combining parameter information from each access point. When facing complex and ever-changing network environments, it can dynamically adjust roaming strategies to ensure that the head-mounted display device is always connected to a network with strong signal, low latency, and sufficient bandwidth. This ensures the reliability of network transmission for the head-mounted display device and provides users with a better and smoother user experience.
[0064] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in the first embodiment described above can be referred to the above description and will not be repeated hereafter. Based on this, the behavior prediction data includes predicted movement trajectories, and the parameter information includes signal coverage range, such as... Figure 2 As shown, step S20 may include steps S201 to S203:
[0065] Step S201: Based on the predicted movement trajectory and the signal coverage of each access point, determine the alternative access points whose signal coverage intersects with the predicted movement trajectory, and control the head-mounted display device to interact with the alternative access points.
[0066] In this embodiment, the behavior prediction data obtained from the wearer's current behavior data includes the wearer's predicted movement trajectory. The predicted movement trajectory is compared and analyzed with the signal coverage range of each access point to identify backup access points whose signal coverage range overlaps with the predicted movement trajectory. There can be one or more backup access points.
[0067] When there is only one backup access point, the head-mounted display device establishes preliminary information interaction with that backup access point; when there are multiple backup access points, the head-mounted display device can establish preliminary information interaction with each backup access point, or select the optimal access point from among the backup access points for information interaction.
[0068] It should be noted that information interaction refers to a four-way handshake between the head-mounted display device and the access point, negotiating and generating a key and a possible group key for encrypting subsequent wireless data communication, thus ensuring the security of data transmission.
[0069] Step S202: Calculate the first quality score of the candidate access point and calculate the second quality score of the current access point of the head-mounted display device;
[0070] The system performs quality assessments on each candidate access point and the access point currently connected to the head-mounted display device. Quality assessment indicators may include signal strength, latency, access point load status, and distance from the head-mounted display device. Based on these indicators, the system calculates a comprehensive quality score for each access point, namely the first quality score of the candidate access point and the second quality score of the current access point. The score reflects the access point's ability to provide stable and high-quality network services to the head-mounted display device in the current and predicted future time periods.
[0071] Step S203: Determine the roaming strategy for the head-mounted display device as switching access points based on the ranking between the first quality score and the second quality score.
[0072] Based on the ranking result between the first quality score of the alternative access points and the second quality score of the current access point, the roaming strategy of the head-mounted display device is determined. For example, the system will evaluate whether there are alternative access points with higher quality scores than the current access point, and if so, they will be regarded as better access options.
[0073] In one feasible embodiment, step S30 may include steps S301 to S302:
[0074] Step S301: When the number of candidate access points is one, compare the first quality score with the second quality score.
[0075] When there is only one alternative access point, the first quality score of the alternative access point is compared with the second quality score of the current access point to quickly determine whether there is a significantly better access option so that a switch can be made when necessary.
[0076] Step S302: When the first quality score is higher than the second quality score, control the head-mounted display device to access the alternative access point and determine the alternative access point as the new current access point.
[0077] When the first quality score is higher than the second quality score, the head-mounted display device disconnects from the current access point and connects to a backup access point. At the same time, the system updates the status of the head-mounted display device in the virtual reality space, and the newly connected backup access point is determined as the new current access point for the head-mounted display device so that subsequent network communication and data transmission can proceed smoothly.
[0078] In one feasible embodiment, step S30 may further include steps S303 to S304:
[0079] Step S303: When there are multiple candidate access points, determine the target candidate access point with the highest first quality score from the multiple candidate access points;
[0080] When multiple alternative access points are identified, a quality score is given to each alternative access point based on a preset quality evaluation standard, which may include multiple dimensions such as signal strength, network latency, bandwidth availability, and stability. That is, its first quality score is calculated, and the one with the highest first quality score is selected from these alternative access points as a potential target alternative access point, so as to ensure that the optimal access point can be accurately located in complex or diverse network environments.
[0081] Step S304: When the first quality score of the target candidate access point is higher than the second quality score of the current access point, control the head-mounted display device to access the target candidate access point and determine the target candidate access point as the new current access point.
[0082] By comparing the first quality score of the target alternative access point with the second quality score of the current access point, if the first quality score of the target alternative access point is higher than the second quality score of the current access point, it proves that switching to the target alternative access point can bring better network performance. In this case, the system will perform an access point switching operation and control the head-mounted display device to connect to the target alternative access point. At the same time, for the convenience and consistency of subsequent operations, the system will also update the successfully connected target alternative access point to the new current access point, ensuring that all subsequent network requests and data transmissions are carried out through this higher quality access point.
[0083] In one feasible embodiment, the parameter information further includes network load and signal strength, and the step of "calculating the first quality score of the candidate access point" in step S202 may include steps S2021 to S2022:
[0084] Step S2021: Calculate the network load score of the candidate access point based on the network load, calculate the signal strength score of the candidate access point based on the signal strength, and calculate the distance score based on the distance between the candidate access point and the head-mounted display device.
[0085] Based on real-time network load data, the system calculates the network load score for each candidate access point. This score reflects the current load status of the access point and potential congestion risks. At the same time, using signal strength information, the system calculates the signal strength score of the candidate access points. This score is directly related to the communication quality and stability between the head-mounted display device and the access point. In addition, based on the physical distance between the candidate access point and the head-mounted display device, a distance score is calculated. This score, to some extent, indicates the possibility of signal attenuation and the potential impact of transmission delay.
[0086] Step S2022: Calculate the sum of the first product of the network load score and the first preset weight, the second product of the signal strength score and the second preset weight, and the third product of the distance score and the third preset weight to obtain the first quality score of the candidate access point, wherein the sum of the first preset weight, the second preset weight, and the third preset weight is one.
[0087] The network load score is multiplied by a preset first weight to obtain the first product; the signal strength score is multiplied by a preset second weight to obtain the second product; and the distance score is multiplied by a preset third weight to obtain the third product. These three products represent the relative importance of network load, signal strength, and distance in the overall quality assessment, respectively. Finally, these three products are summed to obtain the first quality score of the candidate access point. To ensure the fairness and rationality of the evaluation system, the sum of the first, second, and third preset weights is set to one, which ensures that the contribution of all dimensions to the final score is balanced and comparable.
[0088] In one feasible embodiment, the behavior prediction data includes a predicted offset angle, the head-mounted display device includes a smart antenna, and after step S10, steps S40 to S50 may also be included:
[0089] Step S40: Update the signal offset angle between the head-mounted display device and the current access point according to the predicted offset angle;
[0090] It should be noted that in this embodiment, the head-mounted display device is equipped with a smart antenna. The smart antenna can form a controllable beam using an antenna array, and adjust the direction and shape of the beam through intelligent algorithms to optimize the quality and efficiency of signal transmission. The principle of the smart antenna is mainly based on beamforming technology, that is, by adjusting the phase and amplitude of each element in the antenna array, the signal energy is concentrated in a specific direction, thereby forming a high-gain beam in that direction.
[0091] The system predicts the direction and extent of movement of the head-mounted display device based on the predicted offset angle in the behavior prediction data. Based on this prediction, the system updates the signal offset angle between the head-mounted display device and the current access point in real time. This update ensures that the system can anticipate changes in the signal path in advance and prepare for subsequent antenna adjustments.
[0092] Step S50: Adjust the beamforming direction of the smart antenna according to the signal offset angle so that the smart antenna provides directional gain to the signal at the current access point.
[0093] Based on the updated signal offset angle, the beamforming direction of the smart antenna on the head-mounted display is dynamically adjusted. Smart antenna technology allows the antenna array to form a specific beam shape and concentrate energy in a specific direction, thereby achieving directional gain of the signal at the target access point. In this way, even if the relative position between the head-mounted display and the access point changes during movement, stable signal reception quality can be maintained, reducing signal attenuation and interference.
[0094] It is worth mentioning that traditional smart antennas require dividing the horizontal plane into three 120° bands for simultaneous scanning and applying directional gain to the direction of the scanned access point. In this embodiment, a smart antenna is configured in the head-mounted display device. This smart antenna is an omnidirectional, directional, and reconfigurable antenna that can dynamically adjust the beamforming direction of the antenna based on user behavior predicted by machine learning. The offset angle between the device and the access point can be directly located through virtual reality space. The smart antenna can directly establish directional gain biased towards the access point without scanning, eliminating the scanning process and reducing signal interference. Thus, configuring a smart antenna in the head-mounted display device can not only optimize the reception quality of downlink audio and video streams but also reduce interference between user devices.
[0095] Furthermore, when the head-mounted display switches to a new access point, the signal offset angle between the head-mounted display and the new access point is recalculated based on the new access point's location information, the head-mounted display's current location, and its predicted direction of movement. Then, according to the recalculated signal offset angle, the beamforming direction of the smart antenna is adjusted to ensure precise alignment with the new access point, achieving efficient signal reception and transmission. For a period after the access point switch, the system continuously monitors network connectivity performance and signal quality, and further optimizes the smart antenna configuration as needed to ensure the head-mounted display enjoys optimal network performance.
[0096] In one feasible embodiment, step S10 may include steps S101 to S102:
[0097] Step S101: Determine whether the wearer has moved based on the current behavior data;
[0098] The system first collects and analyzes the wearer's current behavioral data. This data is collected from sensors built into the head-mounted display device, such as accelerometers and gyroscopes. By processing and analyzing this data, the system can accurately determine whether the wearer is in motion. If a significant change in the wearer's position, speed, or direction is detected, the system determines that the wearer is moving.
[0099] Step S102: When it is determined that the wearer has moved, the wearer's behavior trajectory is predicted by a preset behavior prediction model to obtain the wearer's behavior prediction data.
[0100] Once the system determines that the wearer is moving, it immediately activates a pre-set behavior prediction model. This model is built on a large amount of historical data and machine learning algorithms, and it can learn and understand the wearer's movement habits, behavioral patterns, and environmental context. By inputting the wearer's current movement state, historical behavior records, and possible external environmental factors (such as terrain, obstacles, etc.), the model can predict the wearer's possible next behavioral trajectory, i.e., the wearer's behavior prediction data.
[0101] For example, in one feasible implementation, the behavior prediction model can be a bidirectional LSTM (Long Short-Term Memory) model, which can accurately predict the wearer's future behavioral trajectory by finely adjusting the time window, optimizing the labeled data, and using the MSM (Multi-Sequence Matching) loss function.
[0102] For example, to balance the prediction accuracy and computational efficiency of the behavior prediction model, the time window input to the bidirectional LSTM model is adjusted based on the characteristics of the wearer's movement data to determine a time window size that ensures both prediction accuracy and computational efficiency. Furthermore, high-quality label data is generated using historical usage data of the head-mounted display device, combined with the wearer's actual movement trajectory. This data not only includes information on the wearer's positional changes but also incorporates dynamic features such as speed and acceleration, providing rich training material for the model. Additionally, to further improve the model's prediction performance, the MSM loss function is used as the optimization objective for model training. The MSM loss function better handles multi-sequence matching problems, considering not only the prediction error at a single time step but also evaluating the overall similarity between the predicted trajectory and the true trajectory. By minimizing the MSM loss function, the model can learn more accurate wearer behavior patterns, improving the accuracy and coherence of the predicted trajectory.
[0103] For example, to help understand the implementation process of the roaming control method, please refer to... Figure 3 , Figure 3 A roaming control process is provided, taking VR glasses as an example, specifically:
[0104] In practical applications, when a wearer puts on the head-mounted display and begins to move, the device's built-in sensors first collect the wearer's current behavioral data. For example, an accelerometer collects acceleration changes to determine the wearer's speed, a gyroscope collects rotational movements to detect changes in orientation, and a magnetometer collects magnetic field information to determine the user's position. This data is then fed into an optimized bidirectional LSTM model, a behavior prediction model. The model is trained and predictive based on an adjusted time window, optimized labeled data, and the MSM loss function. Finally, the model outputs predicted behavioral data for the wearer, including key information such as predicted offset angles and positional changes. Offset scheduling is then used to update the signal offset angle between the head-mounted display and the current access point, and to adjust the beamforming direction of the smart antenna so that the head-mounted display's smart antenna provides directional gain to the signal of the current access point; position change is used to update the access point information that the head-mounted display is about to connect to, i.e., the information of the alternative access point, and to pre-handle with the alternative access point to complete the information exchange, so that the head-mounted display can quickly switch to a new access point, ensuring a stable network connection and immersive experience even when the wearer is moving.
[0105] Thus, through an intelligent roaming decision-making mechanism, handover latency and packet loss rate are reduced, improving network connection stability; through smart antenna technology, interference between devices is reduced, improving signal quality. This enhances the user experience, providing an efficient and stable network infrastructure for multi-user environments in virtual reality spaces, and improving user immersion and interactive experience.
[0106] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the roaming control method of this application. Any simple modifications based on this technical concept are within the protection scope of this application.
[0107] This application also provides a roaming control device; please refer to... Figure 4 The roaming control device includes:
[0108] The behavior prediction module 10 is used to acquire the current behavior data of the wearer of the head-mounted display device, and determine the behavior prediction data of the wearer based on the current behavior data;
[0109] The strategy determination module 20 is used to determine a roaming strategy for the head-mounted display device based on the behavior prediction data and the parameter information of each access point;
[0110] The roaming control module 30 is used to switch the access point of the head-mounted display device during roaming according to the roaming strategy.
[0111] Optionally, the behavior prediction data includes predicted movement trajectories, and the parameter information includes signal coverage. The strategy determination module 20 is further used for:
[0112] Based on the predicted movement trajectory and the signal coverage of each access point, candidate access points whose signal coverage intersects with the predicted movement trajectory are determined, and the head-mounted display device is controlled to interact with the candidate access points.
[0113] Calculate the first quality score of the candidate access points, and calculate the second quality score of the current access point of the head-mounted display device;
[0114] The roaming strategy for the head-mounted display device is determined to be to switch access points based on the ranking between the first quality score and the second quality score.
[0115] Optionally, the roaming control module 30 is also used for:
[0116] When the number of alternative access points is one, compare the first quality score with the second quality score.
[0117] When the first quality score is higher than the second quality score, the head-mounted display device is controlled to access the alternative access point, and the alternative access point is determined as the new current access point.
[0118] Optionally, the roaming control module 30 is also used for:
[0119] When there are multiple candidate access points, the target candidate access point with the highest first quality score is determined from the multiple candidate access points;
[0120] When the first quality score of the target candidate access point is higher than the second quality score of the current access point, the head-mounted display device is controlled to access the target candidate access point, and the target candidate access point is determined as the new current access point.
[0121] Optionally, the parameter information also includes network load and signal strength, and the policy determination module 20 is further used for:
[0122] Calculate the network load score of the candidate access point based on the network load, calculate the signal strength score of the candidate access point based on the signal strength, and calculate the distance score based on the distance between the candidate access point and the head-mounted display device;
[0123] The first quality score of the candidate access point is obtained by calculating the sum of the first product of the network load score and the first preset weight, the second product of the signal strength score and the second preset weight, and the third product of the distance score and the third preset weight, wherein the sum of the first preset weight, the second preset weight, and the third preset weight is one.
[0124] Optionally, the behavior prediction data includes a predicted offset angle, the head-mounted display device includes a smart antenna, and the roaming control device further includes a signal gain module (not shown), the signal gain module being used for:
[0125] The signal offset angle between the head-mounted display device and the current access point is updated based on the predicted offset angle.
[0126] The beamforming direction of the smart antenna is adjusted according to the signal offset angle so that the smart antenna provides directional gain to the signal at the current access point.
[0127] Optionally, the behavior prediction module 10 is also used for:
[0128] Determine whether the wearer has moved based on the current behavioral data;
[0129] When it is determined that the wearer has moved, the wearer's behavioral trajectory is predicted by a preset behavior prediction model to obtain the wearer's behavior prediction data.
[0130] The roaming control device provided in this application, employing the roaming control method described in the above embodiments, can ensure the reliability of network transmission for head-mounted display devices. Compared with the prior art, the beneficial effects of the roaming control device provided in this application are the same as those of the roaming control method described in the above embodiments, and other technical features in the roaming control device are the same as those disclosed in the roaming control method described in the above embodiments, and will not be repeated here.
[0131] This application provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the roaming control method in the first embodiment described above.
[0132] The following is for reference. Figure 5The diagram illustrates a structural schematic of an electronic device suitable for implementing embodiments of this application. The electronic devices in these embodiments may include, but are not limited to, mobile terminals such as laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), and PADs (Portable Application Descriptions), as well as fixed terminals such as digital TVs and desktop computers. Figure 5 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0133] like Figure 5 As shown, the electronic device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the electronic device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. Communication device 1009 allows electronic devices to communicate wirelessly or wiredly with other devices to exchange data. While electronic devices with various systems are shown in the figures, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.
[0134] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0135] The electronic device provided in this application, employing the roaming control method described in the above embodiments, can ensure the reliability of network transmission for head-mounted display devices. Compared with the prior art, the beneficial effects of the electronic device provided in this application are the same as those of the roaming control method provided in the above embodiments, and other technical features of the electronic device are the same as those disclosed in the roaming control method of the previous embodiment, and will not be repeated here.
[0136] It should be understood that the various parts disclosed in the embodiments of this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0137] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0138] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, which are used to execute the roaming control method in the above embodiments.
[0139] The computer-readable storage medium provided in this application embodiment may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0140] The aforementioned computer-readable storage medium may be included in an electronic device or may exist independently without being assembled into an electronic device.
[0141] The aforementioned computer-readable storage medium carries one or more programs that, when executed by an electronic device, cause the electronic device to: acquire current behavior data of a wearer of a head-mounted display device, and determine predicted behavior data of the wearer based on the current behavior data; determine a roaming strategy for the head-mounted display device based on the predicted behavior data and parameter information of each access point; and perform access point switching of the head-mounted display device during roaming according to the roaming strategy. Computer program code for performing the operations of the embodiments of this application can be written in one or more programming languages or a combination thereof. These programming languages include object-oriented programming languages—such as Java, Smalltalk, and C++—and conventional procedural programming languages—such as the "C" language or similar programming languages. The program code can be executed entirely on a user's computer, partially on a user's computer, as a standalone software package, partially on a user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer through any type of network—including a local area network (LAN) or a wide area network (WAN)—or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0142] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0143] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0144] The readable storage medium provided in this application embodiment is a computer-readable storage medium. This computer-readable storage medium stores computer-readable program instructions (i.e., a computer program) for executing the above-described roaming control method, thereby ensuring the reliability of network transmission for head-mounted display devices. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application embodiment are the same as the beneficial effects of the roaming control method provided in the above embodiments, and will not be repeated here.
[0145] The above are only some embodiments of this application and do not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.
Claims
1. A roaming control method, characterized in that, The method includes: Acquire current behavior data of the wearer of the head-mounted display device, and determine the wearer's behavior prediction data based on the current behavior data; A roaming strategy for the head-mounted display device is determined based on the behavior prediction data and parameter information of each access point. The access point switching of the head-mounted display device during roaming is performed according to the roaming strategy.
2. The roaming control method as described in claim 1, characterized in that, The behavior prediction data includes predicted movement trajectories, and the parameter information includes signal coverage range. The step of determining a roaming strategy for the head-mounted display device based on the behavior prediction data and the parameter information of each access point includes: Based on the predicted movement trajectory and the signal coverage of each access point, candidate access points whose signal coverage intersects with the predicted movement trajectory are determined, and the head-mounted display device is controlled to interact with the candidate access points. Calculate the first quality score of the candidate access points, and calculate the second quality score of the current access point of the head-mounted display device; The roaming strategy for the head-mounted display device is determined to be to switch access points based on the ranking between the first quality score and the second quality score.
3. The roaming control method as described in claim 2, characterized in that, The step of switching the access point of the head-mounted display device during roaming according to the roaming strategy includes: When the number of alternative access points is one, compare the first quality score with the second quality score. When the first quality score is higher than the second quality score, the head-mounted display device is controlled to access the alternative access point, and the alternative access point is determined as the new current access point.
4. The roaming control method as described in claim 2, characterized in that, The step of switching the access point of the head-mounted display device during roaming according to the roaming strategy includes: When there are multiple candidate access points, the target candidate access point with the highest first quality score is determined from the multiple candidate access points; When the first quality score of the target candidate access point is higher than the second quality score of the current access point, the head-mounted display device is controlled to access the target candidate access point, and the target candidate access point is determined as the new current access point.
5. The roaming control method as described in claim 2, characterized in that, The parameter information also includes network load and signal strength. The step of calculating the first quality score of the candidate access point includes: Calculate the network load score of the candidate access point based on the network load, calculate the signal strength score of the candidate access point based on the signal strength, and calculate the distance score based on the distance between the candidate access point and the head-mounted display device; The first quality score of the candidate access point is obtained by calculating the sum of the first product of the network load score and the first preset weight, the second product of the signal strength score and the second preset weight, and the third product of the distance score and the third preset weight, wherein the sum of the first preset weight, the second preset weight, and the third preset weight is one.
6. The roaming control method as described in claim 1, characterized in that, The behavior prediction data includes a predicted offset angle, the head-mounted display device includes a smart antenna, and after the step of determining the wearer's behavior prediction data based on the current behavior data, the method further includes: The signal offset angle between the head-mounted display device and the current access point is updated based on the predicted offset angle. The beamforming direction of the smart antenna is adjusted according to the signal offset angle so that the smart antenna provides directional gain to the signal at the current access point.
7. The roaming control method as described in claim 1, characterized in that, The step of determining the wearer's behavior prediction data based on the current behavior data includes: Determine whether the wearer has moved based on the current behavioral data; When it is determined that the wearer has moved, the wearer's behavioral trajectory is predicted by a preset behavior prediction model to obtain the wearer's behavior prediction data.
8. A roaming control device, characterized in that, The device includes: The behavior prediction module is used to acquire the current behavior data of the wearer of the head-mounted display device, and determine the behavior prediction data of the wearer based on the current behavior data; The strategy determination module is used to determine a roaming strategy for the head-mounted display device based on the behavior prediction data and parameter information of each access point. The roaming control module is used to switch the access point of the head-mounted display device during roaming according to the roaming strategy.
9. An electronic device, characterized in that, The electronic device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the roaming control method as described in any one of claims 1 to 7.
10. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the roaming control method as described in any one of claims 1 to 7.