Method and system for flexibly switching wireless network for mine scene

By combining beamforming technology, IoT electronic fence information and positioning data, adaptive network switching is achieved, and a multi-level nested fence mechanism is adopted, the problems of high cost and poor flexibility in traditional mining communication solutions are solved, and flexible and stable network switching is achieved in mining scenarios.

CN119697725APending Publication Date: 2025-03-25BEIJING DINGSEN RONGTAI TECH CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411679904.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-22
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

Traditional mining communication solutions are difficult to achieve the integration of multiple communication methods, resulting in high cost and poor flexibility in deploying mining information networks, and different network deployment situations in different regions, which has great potential to optimize interoperability space.

Method used

Adaptive network switching is carried out through a multi-level nested fence mechanism and dynamic adjustment beamforming scheme to optimize network connections.

Benefits of technology

It realizes flexible switching of wireless networks in mining scenarios, reduces deployment costs, improves network flexibility and stability, and ensures stable communication connections of equipment in complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119697725A_ABST
    Figure CN119697725A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of network switching, and discloses a mine scene-oriented wireless network flexible switching method and system, and the method comprises the steps: analyzing signal information through employing a beam forming optimization algorithm, and obtaining an optimal beam forming scheme; determining the position of the current mobile terminal; establishing a final communication connection based on the network switching demand, and terminating the initial communication connection; and dynamically adjusting the beamforming scheme according to a preset algorithm and the priority list. According to the invention, adaptive network switching and user label definition are carried out based on the combination of the beamforming technology, the electronic fence information of the Internet of Things and the positioning data, so that network switching is smoother, and signal interruption and network quality reduction caused by frequent switching are avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of network switching, and in particular to a method and system for flexibly switching wireless networks in mining scenarios. Background Art

[0002] Wireless Local Area Network (WLAN) is a computer network based on radio wave technology, which is used to provide high-speed data transmission and wireless network access services within a limited range. It can cover a relatively small area, such as a room, a building or a campus, allowing users to connect to the network wirelessly and transmit data.

[0003] Wireless LAN uses wireless access points (APs) to achieve wireless communication. APs broadcast wireless signals to surrounding devices, and devices can search for these signals to find access points and connect to the network. In wireless LANs, data transmission usually uses Wi-Fi technology, which is a wireless LAN technology based on the IEEE 802.11 standard.

[0004] Wireless LAN is widely used in homes, offices, hotels, airports, hospitals and other places, providing users with a more convenient and flexible way to access the network. At the same time, wireless LAN is also widely used in industrial automation, logistics and distribution and other fields, realizing real-time data transmission and equipment interconnection, and improving production efficiency and management efficiency.

[0005] Mine communications are communications systems and technologies designed specifically to meet the needs of mines and the mining industry. It plays a vital role in the mining environment because mines are often complex, dangerous and have special workplace requirements. Here are some important information about mine communications: Mine communications face many challenges, including underground environments, dust, humidity, narrow passages, and long distances. Communications systems must be able to provide reliable connections in these harsh conditions to keep workers safe and productive.

[0006] In traditional mine communication solutions, due to technical and cost reasons, it is usually impossible to integrate multiple communication methods, resulting in high cost and poor flexibility in deploying mine information networks. At the same time, mine informatization is a type of mine scenario that spans multiple transportation regions, and the network deployment in different regions is different, so there is a huge space for optimizing intercommunication.

[0007] Therefore, how to provide a method and system for flexibly switching wireless networks for mining scenarios is a problem that needs to be solved urgently. Summary of the invention

[0008] The embodiment of the present invention provides a method and system for flexibly switching wireless networks for mining scenarios, so as to solve the problem that in the conventional mining communication scheme in the prior art, due to technical and cost reasons, it is usually impossible to realize the integrated use of multiple communication methods, resulting in high cost and poor flexibility in deploying mining information networks. At the same time, mining informatization belongs to a type of mining scenario, spanning multiple transportation areas, and the network deployment conditions in different areas are different, which has a great problem in optimizing the intercommunication space.

[0009] In order to have a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not a general review, nor is it intended to identify key / important components or to describe the scope of protection of these embodiments. Its only purpose is to present some concepts in a simple form as a prelude to the detailed description that follows.

[0010] According to a first aspect of an embodiment of the present invention, a method for flexibly switching wireless networks in a mine scenario is provided.

[0011] In one embodiment, a method for flexibly switching wireless networks in a mine scenario includes: Based on beamforming technology, the signal information of mobile terminals at different locations is collected, and the signal information is analyzed using the beamforming optimization algorithm to obtain the best beamforming solution; the preset IoT electronic fence information is integrated with the preset positioning data to determine the current location of the mobile terminal; Determine the network switching requirement of the mobile terminal according to the current position of the mobile terminal and the optimal beamforming scheme, establish a final communication connection based on the network switching requirement, and terminate the initial communication connection; Based on the final communication connection established, the mobile terminal continuously collects signal information and preset positioning data, and dynamically adjusts the beamforming scheme according to the preset algorithm and priority list.

[0012] In one embodiment, based on the beamforming technology, signal information of the mobile terminal at different locations is collected, and the signal information is analyzed using a beamforming optimization algorithm to obtain the best beamforming solution, including: Collect signal information of mobile terminals at different locations through wireless access points; The signal information includes signal strength and quality information; Clean the signal strength and quality information of mobile terminals at different locations, remove outliers and noise, and perform standardization. Extract key features from the normalized signal strength and quality information; Based on the extracted key features, a preset beamforming optimization algorithm is selected, a mathematical model is established, and an optimization objective function is set; The established mathematical model is used to generate a preliminary beamforming scheme, which is then applied in a practical environment to evaluate its effect in the actual network. Based on the evaluation results, the preliminary beamforming scheme is adjusted in real time to generate the optimal beamforming scheme.

[0013] In one embodiment, the preset Internet of Things electronic fence information is integrated with the preset positioning data to determine the current location of the mobile terminal, including: Based on geographic information system technology, the information of the Internet of Things electronic fence is defined by a preset definition method, and the defined information of the Internet of Things electronic fence is stored in a database and saved in a standardized format; Acquire the real-time positioning data of the mobile terminal through positioning technology, convert the acquired real-time positioning data into the same coordinate system as the IoT electronic fence information, and combine the IoT electronic fence information and positioning data to form a comprehensive data structure; The geometric algorithm is used to determine the position relationship of the mobile terminal within the IoT electronic fence and determine the current position of the mobile terminal.

[0014] In one embodiment, using a geometric algorithm to determine the position relationship of the mobile terminal within the Internet of Things electronic fence and determining the current position of the mobile terminal includes: Using geometric algorithms, calculate the distance from the mobile terminal to the boundary of the electronic fence; Based on the calculated distance from the mobile terminal to the boundary of the electronic fence, if the distance is less than a set threshold, it is determined that the mobile terminal is inside the Internet of Things electronic fence; if the distance is greater than or equal to the set threshold, it is determined that the mobile terminal is outside the Internet of Things electronic fence; If the mobile terminal is located inside the IoT electronic fence, the best base station is selected according to the preset priority list and network status. If the mobile terminal is located outside the IoT electronic fence, the signal coverage range is expanded by adjusting the beamforming direction.

[0015] In one embodiment, the formula for calculating the distance from the mobile terminal to the boundary of the electronic fence is: ; In the formula, d It is expressed as the distance from the mobile terminal to the boundary of the electronic fence; x 0 represents the horizontal coordinate of the mobile terminal; x t It is expressed as the horizontal coordinate of the target point; y 0 represents the vertical coordinate of the mobile terminal; y tExpressed as the ordinate of the target point.

[0016] In one embodiment, if the mobile terminal is located inside the Internet of Things electronic fence, selecting the best base station according to the preset priority list and network status includes: The network to which the mobile terminal is connected is measured to collect the real-time network status data of each base station, and the collected real-time network status data of each base station is reported to the network management system through the API interface; The collected real-time network status data of each base station is stored in a database and marked with a timestamp; Based on the weighted scoring method, the priority of the base stations is dynamically updated according to the real-time network status data collected from each base station, and the best base station is selected.

[0017] In one embodiment, determining the network switching requirement of the mobile terminal according to the current position of the mobile terminal and the optimal beamforming scheme includes: Based on the optimal beamforming solution, obtain the signal strength and signal-to-noise ratio of the current network, monitor the performance indicators of the current network, and judge the performance indicators of the current network; Calculate the signal-to-noise ratio of the current network. If the signal-to-noise ratio of the current network is lower than the preset signal-to-noise ratio threshold, switch the network. Monitor the bandwidth usage status of the current network in real time and calculate the current network bandwidth usage rate. If the network bandwidth usage rate is greater than the preset network bandwidth usage rate threshold, switch to the network with the lowest load; Monitor the current network delay in real time and determine the required bandwidth based on the service quality requirements. If the performance indicators of the current network cannot meet the service quality requirements, the network needs to be switched; According to the judgment result of the signal-to-noise ratio of the previous network, the bandwidth usage status of the previous network and the delay of the current network, a decision rule is formed to determine the network switching demand of the mobile terminal; According to the current location of the mobile terminal, the best beamforming scheme and the network status, a preset load balancing algorithm is selected to obtain the best network node performance index and perform network switching.

[0018] In one embodiment, according to the current position of the mobile terminal, the optimal beamforming scheme and the network status, a preset load balancing algorithm is selected to obtain the optimal network node performance indicator, and the network switching is performed, including: The initial performance index of all available network nodes is set to infinity, and the performance index of the mobile terminal is set to zero; Select an available network node with the smallest performance index among the currently unvisited available network nodes, and mark it as a visited available network node; For each adjacent available network node of the visited available network node, if the performance index from the visited available network node to the adjacent available network node is the best, then updating the performance index of the adjacent available network node; The process of visiting available network nodes is repeated until all available network nodes are visited, the best network node performance indicator is obtained, and network switching is performed.

[0019] In one embodiment, establishing a final communication connection based on a network switching requirement and terminating an initial communication connection includes: If it is determined that a network switch is required, the mobile terminal will send a request to the new base station and wait for approval; When the new base station agrees to accept the request, the mobile terminal will send identity authentication information and the latest location information to the new base station to establish a final communication connection and terminate the initial communication connection.

[0020] According to a second aspect of an embodiment of the present invention, a system for flexibly switching wireless networks in a mine scenario is provided.

[0021] In one embodiment, a system for flexibly switching wireless networks in a mine scenario includes: The signal analysis and location confirmation module is used to collect signal information of mobile terminals at different locations based on beamforming technology, and analyze the signal information using the beamforming optimization algorithm to obtain the best beamforming solution; the preset IoT electronic fence information is integrated with the preset positioning data to determine the current location of the mobile terminal; A network switching and communication connection module, which is used to determine the network switching requirements of the mobile terminal according to the current position of the mobile terminal and the optimal beamforming scheme, establish a final communication connection based on the network switching requirements, and terminate the initial communication connection; The communication connection maintenance and optimization module is used to enable the mobile terminal to continuously collect signal information and preset positioning data based on the final communication connection established, and dynamically adjust the beamforming scheme according to the preset algorithm and priority list.

[0022] According to a third aspect of an embodiment of the present invention, a computer device is provided.

[0023] In one embodiment, the computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.

[0024] According to a fourth aspect of embodiments of the present invention, a computer-readable storage medium is provided.

[0025] In one embodiment, the computer-readable storage medium stores a computer program, and the computer program implements the steps of the above method when executed by a processor.

[0026] The technical solution provided by the embodiment of the present invention may have the following beneficial effects: 1. The present invention combines beamforming technology, IoT electronic fence information and positioning data to perform adaptive network switching and define user tags, and proposes a multi-level nested fence mechanism, which divides the fence into multiple levels and sets the largest fence on the network with the lowest level. As the level increases, the fence gradually becomes smaller. Users can stay in multiple fences at the same time, making network switching smoother and avoiding signal interruption and network quality degradation caused by frequent switching.

[0027] 2. The present invention sorts the network priorities from high to low, namely wireless local area network, Internet of Things, Internet of Vehicles, cellular network, and satellite communication network. The terminal preferentially accesses the high-priority network. The lower the priority, the better the signal coverage but the higher the communication cost. The present invention sets a priority level for each network. When congestion occurs in the high-level network, the system sets a congestion warning signal, and the terminal cannot newly access the network with the congestion warning signal.

[0028] 3. The present invention uses a variable fence definition mode to automatically switch to another stable network when the user device enters an unstable network area, thereby effectively avoiding signal interruption and loss. Especially in mining scenarios, complex terrain and closed environments often lead to network instability, so it can ensure that the device maintains a stable communication connection in the transition area and improve the user's network experience.

[0029] 4. Before the device switches to a new network, the system will preheat and optimize the new network to ensure that the device completes the switch in the shortest time possible, reducing network delays or service interruptions caused by the switch. This is crucial for efficient communication of key equipment or personnel in mining scenarios.

[0030] 5. The present invention is applicable to the network switching requirements of digital mines, roads, vehicles, personnel and other related equipment. It can not only improve the flexibility of network switching, but also provide a strong network foundation for the digital and intelligent deployment in mines and other complex scenarios, ensuring the efficient operation of equipment and systems.

[0031] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0033] Figure 1 is a flow chart showing a method for flexibly switching wireless networks in a mine scenario according to an exemplary embodiment; Figure 2 It is a principle block diagram of a system for flexibly switching wireless networks for mining scenarios according to an exemplary embodiment; Figure 3 is a schematic diagram of the structure of a computer device according to an exemplary embodiment; Figure 4 The invention is a schematic diagram of a wireless network technology for flexible switching according to an exemplary embodiment. DETAILED DESCRIPTION

[0034] The following description and accompanying drawings fully illustrate the specific embodiments of this article so that those skilled in the art can practice them. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. The scope of the embodiments of this article includes the entire scope of the claims, as well as all available equivalents of the claims. Herein, the terms "first", "second", etc. are only used to distinguish one element from another, without requiring or implying any actual relationship or order between these elements. In fact, the first element can also be called the second element, and vice versa. Moreover, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that the structure, device or equipment including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such structure, device or equipment. In the absence of more restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the structure, device or equipment including the elements. Each embodiment is described in a progressive manner herein, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the embodiments can be referred to each other.

[0035] The terms "longitudinal", "lateral", "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc. in this document indicate the orientation or position relationship based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing this document and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In the description of this document, unless otherwise specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a mechanical connection or an electrical connection, it can also be the internal communication of two elements, it can be a direct connection, or it can be an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to specific circumstances.

[0036] As used herein, the term "plurality" means two or more than two, unless otherwise specified.

[0037] In this document, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B means: A or B.

[0038] In this article, the term "and / or" is a description of the association relationship between objects, indicating that three relationships may exist. For example, A and / or B means: A or B, or, A and B.

[0039] It should be understood that, although the various steps in the flow chart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the figure may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0040] Each module in the device or system of the present application can be implemented in whole or in part by software, hardware, or a combination thereof. The above modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to the above modules.

[0041] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.

[0042] Figure 1An embodiment of a method for flexibly switching wireless networks in a mine scenario according to the present invention is shown.

[0043] In this optional embodiment, the method for flexibly switching wireless networks in a mine scenario includes: Step S101, based on the beamforming technology, signal information of the mobile terminal at different locations is collected, and the signal information is analyzed using the beamforming optimization algorithm to obtain the best beamforming solution; the preset IoT electronic fence information is integrated with the preset positioning data to determine the current location of the mobile terminal; Step S103, determining the network switching requirement of the mobile terminal according to the current position of the mobile terminal and the optimal beamforming scheme, establishing a final communication connection based on the network switching requirement, and terminating the initial communication connection; Step S105, based on the final communication connection established, the mobile terminal continuously collects signal information and preset positioning data, and dynamically adjusts the beamforming scheme according to a preset algorithm (minimum mean square error algorithm or maximum signal-to-noise ratio algorithm, genetic algorithm, particle swarm optimization, reinforcement learning algorithm, Kalman filter, etc.) and a priority list.

[0044] In this optional embodiment, based on the beamforming technology, signal information of the mobile terminal at different locations is collected, and the signal information is analyzed by using the beamforming optimization algorithm to obtain the best beamforming scheme. The signal information of the mobile terminal at different locations can be collected through the wireless access point; wherein the signal information includes signal strength and quality information; the collected signal strength and quality information of the mobile terminal at different locations is cleaned to remove outliers and noise, and is standardized; key features are extracted from the standardized signal strength and quality information; based on the extracted key features, a preset beamforming optimization algorithm is selected, and a mathematical model is established to set the optimization objective function; a preliminary beamforming scheme is generated using the established mathematical model, and the preliminary beamforming scheme is applied to an actual environment to evaluate its effect in a real network, and based on the evaluation effect, the preliminary beamforming scheme is adjusted in real time to generate the best beamforming scheme.

[0045] In this optional embodiment, when the preset Internet of Things electronic fence information is integrated with the preset positioning data to determine the current position of the mobile terminal, the information of the Internet of Things electronic fence can be defined based on the geographic information system technology using a preset definition method, and the defined Internet of Things electronic fence information is stored in a database and saved in a standardized format; the real-time positioning data of the mobile terminal is obtained through positioning technology, the obtained real-time positioning data is converted into the same coordinate system as the Internet of Things electronic fence information, and the Internet of Things electronic fence information and the positioning data are combined to form a comprehensive data structure; a geometric algorithm is used to determine the positional relationship of the mobile terminal within the Internet of Things electronic fence, and the current position of the mobile terminal is determined.

[0046] In this optional embodiment, when using a geometric algorithm to determine the positional relationship of the mobile terminal within the Internet of Things electronic fence and determining the current position of the mobile terminal, the geometric algorithm can be used to calculate the distance from the mobile terminal to the boundary of the electronic fence; based on the calculated distance from the mobile terminal to the boundary of the electronic fence, if the distance is less than a set threshold, it is determined that the mobile terminal is located inside the Internet of Things electronic fence; if the distance is greater than or equal to the set threshold, it is determined that the mobile terminal is located outside the Internet of Things electronic fence; if the mobile terminal is located inside the Internet of Things electronic fence, the best base station is selected according to a preset priority list and network status; if the mobile terminal is located outside the Internet of Things electronic fence, the signal coverage range is expanded by adjusting the beamforming direction.

[0047] In this optional embodiment, if the mobile terminal is located inside the Internet of Things electronic fence, when selecting the best base station according to the preset priority list and network status, measurements can be taken through the network to which the mobile terminal is connected to collect real-time network status data of each base station, and the collected real-time network status data of each base station can be reported to the network management system through the API interface; the collected real-time network status data of each base station is stored in a database and marked with a timestamp; based on a weighted scoring method, the priority of the base station is dynamically updated according to the collected real-time network status data of each base station, and the best base station is selected.

[0048] In this optional embodiment, when determining the network switching demand of the mobile terminal according to the current position of the mobile terminal and the optimal beamforming scheme, the signal strength and signal-to-noise ratio of the current network can be obtained based on the optimal beamforming scheme, and the performance indicators of the current network can be monitored and judged; the signal-to-noise ratio of the current network is calculated, and if the signal-to-noise ratio of the current network is lower than the preset signal-to-noise ratio threshold, the network is switched; the bandwidth usage status of the current network is monitored in real time, and the network bandwidth usage rate of the current network is calculated, and if the network bandwidth usage rate is greater than the preset network bandwidth usage rate threshold, it is switched to the network with the lowest load; the delay of the current network is monitored in real time, and the required bandwidth is determined according to the service quality requirements, and if the performance indicators of the current network cannot meet the service quality requirements, it is necessary to switch the network; according to the judgment results of the signal-to-noise ratio of the previous network, the bandwidth usage status of the previous network and the delay of the current network, a decision rule is formed to determine the network switching demand of the mobile terminal; according to the current position of the mobile terminal, the optimal beamforming scheme and the network status, a preset load balancing algorithm is selected to obtain the optimal network node performance indicator, and the network switching is performed.

[0049] In this optional embodiment, when a preset load balancing algorithm is selected according to the current position of the mobile terminal, the optimal beamforming scheme and the network status, the optimal network node performance indicator is obtained, and the network switching is performed, the initial performance indicators of all available network nodes can be set to infinity, and the performance indicator of the mobile terminal can be set to zero; the available network node with the smallest performance indicator among the currently unvisited available network nodes is selected and marked as the visited available network node; for each adjacent available network node of the visited available network node, if the performance indicator from the visited available network node to the adjacent available network node is the best, the performance indicator of the adjacent available network node is updated; the process of visiting the available network nodes is repeated until all available network nodes are visited, the optimal network node performance indicator is obtained, and the network switching is performed.

[0050] In this optional embodiment, when the final communication connection is established based on the network switching requirement and the initial communication connection is terminated, if it is determined that network switching is required, the mobile terminal will send a request to the new base station and wait for approval; when the new base station agrees to accept the request, the mobile terminal will send identity authentication information and the latest location information to the new base station to establish the final communication connection and terminate the initial communication connection.

[0051] Figure 2 An embodiment of a system for flexibly switching wireless networks for mining scenarios according to the present invention is shown.

[0052] In this optional embodiment, the system for flexibly switching wireless networks for mining scenarios includes: The signal analysis and location confirmation module 201 is used to collect signal information of the mobile terminal at different locations based on the beamforming technology, and analyze the signal information using the beamforming optimization algorithm to obtain the best beamforming solution; the preset IoT electronic fence information is integrated with the preset positioning data to determine the current location of the mobile terminal; The network switching and communication connection module 203 is used to determine the network switching requirement of the mobile terminal according to the current position of the mobile terminal and the optimal beamforming scheme, establish a final communication connection based on the network switching requirement, and terminate the initial communication connection; The communication connection maintenance and optimization module 205 is used for the mobile terminal to continuously collect signal information and preset positioning data based on the final communication connection established, and dynamically adjust the beamforming scheme according to the preset algorithm and priority list.

[0053] In specific applications, the present invention proposes a method and system for flexibly switching wireless networks for mining scenarios, adaptive network switching and definition of user tags based on beamforming technology, IoT electronic fence information and positioning data, and proposes a multi-level nested fence construction scheme, including a fence definition mode that changes with network changes, to achieve flexible residency and data upload in cellular networks, wireless LANs, Internet of Vehicles, satellite communication networks, narrowband Internet of Things and other multi-mode systems, becoming a key supporting technology for the development of digital logistics technology. Figure 4 As shown, this technical solution can be deployed in mines, roads, vehicles, personnel and other devices that support digital logistics.

[0054] It mainly includes three aspects: First, an adaptive network switching solution is implemented based on the combination of beamforming technology, IoT electronic fence information and positioning data.

[0055] Second, a more intelligent switching method can be achieved by defining user tags during network switching.

[0056] Third, set up a multi-level nested fence construction plan to assist in network management and switching.

[0057] In traditional solutions, wireless communication can only achieve cell network switching within the same network. When a mobile terminal (such as a mobile phone) moves from one cell to another, it automatically switches to the new cell network to maintain communication connection. The following is a general cell network switching process: Base station measurement: The mobile terminal continuously receives signal strength and quality information from surrounding base stations. When the signal quality of the mobile terminal begins to decline, or the signal strength falls below a certain threshold, it starts looking for surrounding base stations.

[0058] Neighborhood search: When the signal quality of a mobile terminal decreases, it starts searching for surrounding base stations and finds their locations and signal quality. This process is called neighborhood search.

[0059] Cell selection: After finding the location and signal quality of surrounding base stations, the mobile terminal will select the best base station based on a predefined priority list and measurements. If the new cell has better signal quality, the mobile terminal will send a request to the new cell and wait for approval.

[0060] Signaling exchange: If the new cell agrees to accept the mobile terminal's request, signaling will be exchanged to establish a new communication connection and terminate the old connection. This process requires sending some necessary information to the new base station, such as the mobile terminal's identity authentication and location information.

[0061] Handover completion: Once the signaling exchange is complete, the mobile terminal can start using the new cell network for communication. This process is called cell handover completion.

[0062] In general, cell network switching requires coordinated work between mobile terminals, base stations and mobile networks to ensure seamless switching of communication connections and minimize communication interruptions.

[0063] The workflow proposed by the present invention is as follows: 1) After the digital logistics network is deployed, it usually includes multiple available networks in a park, which are integrated at the top level and connected to the Internet for unified data management. Specifically, the steps are as follows: After the digital logistics network is deployed in the park, it is necessary to integrate multiple available networks at the top level to connect all networks to the Internet for unified data management. The following design solutions can be considered: Network architecture design: Based on the characteristics and communication requirements of different networks within the park, the network architecture is designed to achieve the connection and intercommunication of different networks. Virtual private networks (VPN) or other corresponding technologies can be used to connect different networks and build a unified network system.

[0064] Data management platform: Establish a data management platform to manage the data on various networks in a unified manner, including data collection, storage, processing and analysis. The data management platform can use cloud computing or other distributed technologies to achieve efficient management and sharing of data.

[0065] Security management: Security management is essential in the process of top-level network integration. It is necessary to establish a complete network security system and use encryption technology, firewalls, intrusion detection and other means to ensure the security of data and networks.

[0066] Fault diagnosis and maintenance: To ensure the stable operation of the network, a fault diagnosis and maintenance mechanism needs to be established. By real-time monitoring of network status and performance indicators, faults can be discovered and eliminated in a timely manner to ensure the stable operation of the network.

[0067] 2) Classify the deployed networks. The networks with the widest coverage have the lowest level and often have a small amount of data transmission. The networks with the most limited coverage have the highest level and often have a large amount of data transmission. A typical classification from high to low is wireless LAN, cellular network, Internet of Vehicles, narrowband Internet of Things, and satellite communication network.

[0068] 3) After the devices in the area enter the network, the principle followed is data flow first. In order to meet data availability and traffic duplication, all devices should preferentially reside in a higher-level network. If the current network cannot provide signal and service guarantees, they will fall back to a lower-level network.

[0069] 4) To limit certain special cases, define a certain type of key users in user tags to reside only in certain levels of networks, and they are not restricted by the fallback mechanism mentioned above.

[0070] 5) A prediction mechanism combining beamforming technology, IoT electronic fence information and positioning data is used to achieve more optimized network switching. That is, when beamforming technology, IoT electronic fence information and positioning data identify that the user has moved away from a good coverage area of ​​a certain network and entered a good coverage area of ​​another network, the measurement reselection process is skipped and the user automatically enters another better network.

[0071] Specifically, the steps are as follows: 1. First, based on beamforming technology, the signal strength and quality information of the mobile terminal at different locations is collected, and the optimal beamforming solution is obtained through algorithm analysis.

[0072] In a wireless network based on beamforming technology, the process of collecting signal strength and quality information of mobile terminals at different locations can be analyzed through the following steps and algorithms to obtain the best beamforming solution: Step 1: Data collection: Use sensors or wireless access points (APs) to collect signal strength and quality information from mobile terminals. Record parameters such as signal strength, signal-to-noise ratio (SNR), and bit error rate (BER) at multiple locations.

[0073] Step 2: Data preprocessing: Clean the collected data to remove outliers and noise (such as interference signals). Standardize the data for subsequent analysis.

[0074] Step 3: Feature extraction: Extract features from signal strength and quality information, which may include location coordinates, directionality, frequency response, etc.

[0075] Step 4: Algorithm selection and application: Select an appropriate algorithm (i.e., beamforming optimization algorithm) to optimize the beamforming scheme. Common algorithms include: Minimum mean square error (MMSE): used to optimize the reception quality of the signal. Genetic algorithm (GA): finds the optimal beam configuration by simulating the natural selection process. Particle swarm optimization (PSO): an algorithm based on swarm intelligence, suitable for beam optimization in dynamic environments. Machine learning algorithms (such as random forests, support vector machines, etc.): used to predict the optimal beam configuration through training models.

[0076] Step 5: Optimization model construction: Based on the selected algorithm, a mathematical model is established. The objective function is usually to maximize signal quality or minimize interference. Model training is performed using historical data and real-time data.

[0077] Step 6: Solution evaluation: Apply the obtained beamforming solution to the actual environment and evaluate its performance. Collect feedback information and further optimize the solution.

[0078] Step 7: Dynamic adjustment: According to the location of the mobile terminal and environmental changes, the beamforming scheme is adjusted in real time to maintain the optimal signal quality.

[0079] Algorithm description: Minimum mean square error (MMSE): This algorithm can effectively improve the quality of the signal by minimizing the mean square error of the received signal, and is suitable for scenarios that require a high signal-to-noise ratio. Genetic algorithm (GA): This algorithm simulates the biological evolution process and finds the optimal solution through operations such as selection, crossover, and mutation. It is suitable for global optimization of complex problems. Particle swarm optimization (PSO): By simulating the foraging behavior of bird flocks, it can quickly find the optimal solution in multi-dimensional space and has strong adaptability. Machine learning algorithm: By learning from historical data and building a model, accurate beamforming optimization can be performed for specific scenarios.

[0080] Second, the IoT electronic fence information is then combined with the positioning data to determine the current location of the mobile terminal, including whether it is inside or outside the electronic fence, as well as information such as its position and direction.

[0081] To combine IoT electronic fence information with positioning data to determine the current location of the mobile terminal and its status (such as inside or outside the electronic fence), you can follow the steps below: Step 1: Get the electronic fence information: Define the electronic fence: Use GIS (Geographic Information System) technology or dedicated software tools to define the shape and location of the electronic fence (such as circle, rectangle or polygon) by coordinate points, radius, boundary lines, etc.

[0082] Step 2: Data storage: Store the defined geo-fence information in a database for later access. This can be saved in a standardized format (such as GeoJSON or KML).

[0083] Step 3: Real-time update: When the definition or environment of the fence changes, update the electronic fence information in time.

[0084] Step 4: Obtain positioning data: Positioning technology selection: Obtain the location information of the mobile terminal through GPS, Wi-Fi positioning, Bluetooth positioning or other positioning technologies.

[0085] Step 5. Data format: Ensure that the positioning data contains location coordinates (such as latitude and longitude) and possible direction information (such as speed and heading).

[0086] Step 6: Data fusion: Coordinate conversion: Convert the acquired location information (such as GPS coordinates) into the same coordinate system as the electronic fence information to ensure data consistency.

[0087] Data integration: Use an algorithm (i.e., data integration algorithm) to combine the electronic fence information and positioning data to form a comprehensive data structure for subsequent processing.

[0088] Specifically, the data integration algorithm includes: Kalman filter: It is used to fuse positioning data from different sources in real time to provide a more accurate position estimate. It continuously optimizes the position estimate through state prediction and update steps.

[0089] Weighted average: When there are multiple positioning data sources, a weighted average algorithm can be used to give different weights to each data source according to its signal quality or reliability to obtain a comprehensive position.

[0090] Bayesian fusion: Using Bayesian theory, the electronic fence information is combined with the positioning data, and the current location is comprehensively judged by calculating the posterior probability.

[0091] Data fusion framework: such as information granulation technology, which granulates data from different levels and sources and then fuses them.

[0092] Complementary filtering: Combines GPS positioning and inertial navigation system (INS) data to optimize position estimation through complementary filtering algorithms, ensuring accurate position is still provided when the signal is insufficient.

[0093] Step 7: Position determination: Determine the relationship between a point and a fence: Use geometric algorithms (such as determining whether a point is within a polygon, calculating distance, etc.) to determine whether the mobile terminal is within the electronic fence. Common methods include: Distance calculation: Calculate the distance between the mobile terminal and the boundary of the electronic fence. If it is less than the set threshold, the terminal is considered to be within the fence.

[0094] In IoT applications, electronic fences are used to define a virtual boundary that can monitor the location of mobile terminals. If you want to determine whether the location of a mobile terminal is within the electronic fence, a geometric algorithm is usually used. There are several commonly used methods, including distance calculation from a point to a polygon boundary.

[0095] 1) Calculation of distance from point to line segment: The electronic fence is usually a polygon composed of multiple points (vertices), so it is necessary to calculate the distance from the mobile terminal (point) to the polygon boundary (line segment). P (x0, y0) and a line segment (1, 1) A ( x 1, y 1) to (2, 2) A ( x 2, y 2) The distance can be calculated using the following steps: (1) Calculate the vector: =( x 2- x 1, y 2- y 1); =( x 0- x 1, y 0- y 1).

[0096] (2) Calculate the square length of the line segment: len 2 =( x 2- x 1) 2 +( y 2- y 1) 2 .

[0097] (3) Calculate the projection coefficient: If the length of the line segment is 0 (i.e. A and B coincides), then directly calculate P To point A Otherwise, calculate the projection coefficient t : ; in, is the dot product of the vectors.

[0098] (4) Determine the projection position: If t is less than 0, then the nearest point is A ;if t Greater than 1, the nearest point is B ; If 0 is less than or equal to t Less than or equal to 1, then the nearest point is P t ( x t , y t ): x t = x 1+ t ·( x 2- x 1) y t = y 1+ t ·( y 2- y 1).

[0099] (5) Calculate distance: Last mobile terminal P To the nearest point P t The distance can be calculated using the Euclidean distance formula (i.e. the distance formula from the mobile terminal to the boundary of the electronic fence): ; In the formula, d It is expressed as the distance from the mobile terminal to the boundary of the electronic fence; x 0 represents the horizontal coordinate of the mobile terminal; x t It is expressed as the horizontal coordinate of the target point; y 0 represents the vertical coordinate of the mobile terminal; y t Expressed as the ordinate of the target point.

[0100] 2) Determine the relationship between the location and the electronic fence: Once the distance from the mobile terminal to all electronic fence boundary segments is obtained d , the position can be determined by: Inside the electric fence: If d If the value is less than the threshold, the mobile terminal is considered to be within the fence.

[0101] Outside the electric fence: Ifd If the value is greater than or equal to the threshold, the mobile terminal is considered to be outside the fence.

[0102] 3) Electronic fence direction determination: In addition to determining whether the device is inside or outside the fence, the direction of movement can also be determined by calculating the specific position of the mobile terminal relative to the fence (for example, on which boundary of the fence it is located). This usually involves tracking the location of the terminal at multiple times and analyzing its movement trajectory.

[0103] The above is a basic method for determining whether a point (mobile terminal) is within a polygon (electronic fence) based on a geometric algorithm. If you need to implement the code, you can use the math library in the programming language to help implement it. The specific code implementation will vary slightly depending on the programming language used.

[0104] 4) Polygon determination: For polygonal electronic fences, use the ray method or angle sum method to determine whether a point is within the polygon.

[0105] Determining whether a point is inside a polygon is a classic problem in computational geometry. Commonly used methods include RayCasting and Angle Summation. The following will introduce the specific principles and implementation steps of these two methods.

[0106] 1. Ray Casting: Principle: The ray method sends a ray (usually horizontally or vertically) from the point to be detected, and then calculates the number of intersections between the ray and the polygon boundary. If the number of intersections between the ray and the polygon boundary is an odd number, the point is inside the polygon; if it is an even number, the point is outside the polygon.

[0107] The implementation steps of the ray method are: Step 1: Initialize variables: set a point P ( x , y ) is the point to be detected. Initialize a counter count to record the number of intersection points.

[0108] Step 2: Traverse each edge of the polygon: For each edge ( V i , V i+1 ), determine the intersection of the ray and the edge.

[0109] Step 3: Determine the handover: Set the two endpoints of the edge to V i ( x 1, y 1) and V i+1 ( x 2,y 2). Check P of y Whether the coordinates are on the edge y Within the coordinate range, that is min ( y 1, y 2) Less than y Less than or equal to max ( y 1, y 2). Calculate the intersection of edges x coordinate x intersect : .

[0110] if x intersect Less than x, This means that the ray intersects the edge, and the counter count increases by 1.

[0111] Step 4: Return the result: If the counter count is an odd number, the point is inside the polygon; if it is an even number, the point is outside the polygon.

[0112] 2. Angle Summation: Principle: The angle sum method determines the position of a point by calculating the sum of the angles formed by the point to be detected and each vertex of the polygon. If the sum is equal to 2π (360 degrees), the point is inside the polygon; if the sum is 0, the point is outside the polygon.

[0113] The implementation steps of the angle and method are: Step 1: Initialize variables: set the points to be detected P ( x , y ) and the vertex set of the polygon V . Initialize a variable angleSum to record the angle sum, with an initial value of 0.

[0114] Step 2: Traverse each vertex: For each pair of adjacent vertices of the polygon V i , V i+1 (loop back to the first vertex): Calculating vectors and angle; use the inverse tangent function ( atan 2) Calculate the angle between these two vectors: θ=atan 2 ( y i+1 - y , xi+1 - x )- atan 2 ( y i - y , x i - x ).

[0115] Make sure the angle is in the range -π to π: if θ <-π: θ +=2π if θ <-π: θ -=2π.

[0116] Step 3: Accumulated angle: The calculated angle θ Add to angleSum.

[0117] Step 4. Return the result: If the absolute value of angleSum is close to 2π, the point is inside the polygon; if it is close to 0, the point is outside the polygon.

[0118] Step 5: Direction and status identification: Based on the acquired direction information, determine the movement direction of the mobile terminal to determine its status within the electronic fence (enter, stay or leave).

[0119] Real-time monitoring and feedback: Monitor the location changes of mobile terminals regularly or in real time and compare them with the electronic fence information. If the mobile terminal enters or leaves the electronic fence, the system should trigger corresponding events or alarms in time (such as notifying users, recording data, etc.).

[0120] Historical data recording: The location changes of mobile terminals and their interactions with electronic fences are archived for subsequent analysis and optimization.

[0121] 3. Determine whether network switching is needed based on the current location of the mobile terminal and the beamforming scheme.

[0122] The process of deciding whether a network handover is needed, based on the current location of the mobile terminal and the beamforming scheme, involves multiple factors, including signal quality, network load, and user demand. The following are the steps of the process and the theoretical basis involved.

[0123] Step 1: Signal quality assessment: The signal strength and signal-to-noise ratio (SNR) of the current network are obtained through the beamforming scheme, which is expressed as: ; In the formula, SNR It is expressed as signal-to-noise ratio; P sExpressed as signal power; P n Noise power.

[0124] Setting Thresholds SNR th , if the current SNR Below this threshold, you need to consider switching networks.

[0125] Step 2: Network load assessment: Monitor the current network load, usually through network bandwidth usage U It is expressed as: ; In the formula, U Expressed as network bandwidth usage; B used Indicates the currently used bandwidth; B total Expressed as the total bandwidth of the network.

[0126] if U Exceeding the set threshold U th , consider switching to a less loaded network.

[0127] Step 3: User demand analysis: Determine the suitability of the current network based on the user's actual needs (such as real-time video, file download, etc.). You can set quality of service (QoS) parameters such as delay D and bandwidth requirements B r : D< D th and B net > B r; in, D th It is represented by the set delay threshold; B net Indicates the current available network bandwidth.

[0128] If the current network cannot meet user needs, you need to switch.

[0129] Step 3: Based on the above evaluation results, construct decision rules. SNR < SNR th or U > U th or( D >D th or B net < B r ), then perform network switching.

[0130] Theoretical basis: 1) Signal strength and signal-to-noise ratio: The network availability is evaluated by calculating the ratio of signal strength to noise. A low SNR usually indicates poor signal quality.

[0131] 2) Load balancing algorithm: A dynamic load balancing algorithm is used to select a network, such as a best path selection (BGP) or shortest path algorithm (i.e., the load balancing algorithm of the present invention). The dynamic load balancing algorithm is used to optimize the use of network resources and improve the overall network performance. According to the current location of the mobile terminal, the beamforming scheme, and the network status, the steps of network switching can be summarized as follows: Step 1: Network status monitoring: Before selecting a network, you first need to monitor and collect network status information in real time, including: Signal Strength: The signal strength of each available network.

[0132] Bandwidth utilization: The current bandwidth and load of each network.

[0133] Latency: The delay of the network.

[0134] Packet loss rate: the proportion of data packets lost during transmission.

[0135] Step 2: Determine the dynamic load balancing algorithm: You can choose a load balancing strategy that is suitable for the usage scenario, such as the following: 1. Based on the best path selection (BGP) Principle: BGP (Border Gateway Protocol) is a core routing protocol used for the Internet. It forwards data packets by selecting the optimal path.

[0136] The best path selection steps include: Get routing information from network nodes.

[0137] Select the best path based on network status and policies (such as cost, distance, bandwidth, etc.).

[0138] Perform path updates and failover, and recalculate the best path when a path is unavailable.

[0139] 2. Shortest Path Algorithm (Dijkstra) Principle: Dijkstra algorithm is used to find the shortest path from a source point to all other points and is suitable for small networks.

[0140] The shortest path algorithm steps include: Initialization: Set the initial distance of all nodes (i.e., initial performance index) to infinity and the distance of the source node (i.e., performance index of the mobile terminal) to 0.

[0141] Visited node: Select the node closest to the source node among the currently unvisited nodes and mark it as visited.

[0142] Update neighbor node distance: For each neighbor node of the visited node (i.e., the available network node with the smallest performance index among the available network nodes), if the path through this node to the neighbor node is shorter, update the neighbor's distance.

[0143] Repeat: until all nodes are visited, and finally the shortest path from the source node to all other nodes is obtained.

[0144] 3. Select a network based on location and network status: Based on the current location of the mobile terminal, the beamforming scheme, and the network status, the performance indicators of the currently available networks are calculated; the signal strength, bandwidth, delay, and packet loss rate of each available network are evaluated.

[0145] Application load balancing algorithm: Based on the selected load balancing algorithm (BGP, Dijkstra, etc.), the performance indicators are taken into consideration and the best network is dynamically selected.

[0146] Switch network: If a new network is selected, perform network switching. During the switching process, ensure seamless data transmission and avoid disconnection.

[0147] 4. Continuous monitoring and feedback: Once the network is switched, continue to monitor the network status, dynamically adjust and optimize the network selection strategy. Based on historical data and real-time feedback, perform algorithm tuning to make the load balancing strategy more efficient.

[0148] Step 3: Quality of Service (QoS) Protocol: Use QoS management protocols (such as RSVP, DiffServ) to evaluate whether user needs are met. Quality of Service (QoS) protocol refers to the standards and protocols used to manage and ensure the quality of network services. The goal of QoS is to ensure that the network can provide different types of services at an acceptable level, especially in terms of bandwidth, delay, jitter and packet loss rate. This is especially important in multimedia communications, real-time voice, video transmission and other applications that are sensitive to delay and bandwidth.

[0149] RSVP (Resource Reservation Protocol): RSVP is a signaling protocol that allows nodes in a network to reserve resources to meet the QoS requirements of specific traffic. It does this by establishing a session, requesting resources from routers in the network, and reserving bandwidth on the path.

[0150] DiffServ (Differential Services): DiffServ is a network architecture that implements QoS by setting different priority tags (DSCP) in IP packets. Traffic is classified according to the service level so that different types of packets are treated differently in the network.

[0151] The steps to assess whether user requirements are met using QoS management protocols include: Step 1: Demand Analysis: User requirements determination: Collect and analyze the specific requirements of users, including required bandwidth, latency, jitter, reliability, etc. For example, video conferencing may require low latency and high bandwidth, while email has low latency requirements.

[0152] Step 2: Network status monitoring: Evaluate network performance: Monitor the status of the network in real time, including current bandwidth utilization, latency, packet loss rate, jitter, etc. This can be achieved through network monitoring tools and protocols (such as SNMP, NetFlow, etc.).

[0153] Step 3: QoS policy configuration: Set up QoS configuration; according to user needs, set up corresponding QoS policies. For RSVP, create signatures for flows and request resources. For DiffServ, configure routers to identify and classify traffic and set appropriate DSCP tags.

[0154] Step 4: Traffic classification and marking: Traffic classification: Classify the traffic entering the network according to the configured QoS policy (for example, by application type or source IP). Assign a priority to each flow and mark the data packets using DSCP.

[0155] Step 5: Resource reservation: RSVP resource reservation: If RSVP is used, a request is sent to the relevant routers in the network to reserve the necessary resources (bandwidth). The router decides whether to satisfy the resource request based on the network status and QoS policy.

[0156] DiffServ traffic processing: In DiffServ, the router processes traffic based on the DSCP marking to ensure that high-priority traffic is forwarded and processed first.

[0157] Step 6: Evaluate and monitor: Evaluate QoS effects: During application operation, continuously monitor network performance to check whether the user's QoS requirements are met. Collect actual data such as latency, bandwidth utilization, and packet loss rate for comparison and analysis.

[0158] Step 7: Adjust QoS policy: Dynamic adjustment: If network performance fails to meet user needs, dynamically adjust QoS policies based on monitoring results. For example, increase resource reservation or reconfigure traffic priority to cope with changes in network load.

[0159] Mobility management protocol: Achieve seamless switching across networks based on mobility management protocols (such as Mobile IP or MIPv6). Mobility management protocols refer to a class of protocols used to support seamless switching of mobile devices between different networks. These protocols enable devices to maintain the validity of their IP addresses and the continuity of communications during network mobility, thereby avoiding communication interruptions. The main mobility management protocols include Mobile IP and MIPv6 (Mobile IPv6).

[0160] Mobility management protocol specifically refers to: Mobile IP: Mobile IP is a protocol developed by the IETF (Internet Engineering Task Force) that allows mobile devices to move between different networks without changing their IP addresses. The protocol defines how to maintain the connectivity of mobile devices and provide transparent connections between mobile devices and applications.

[0161] MIPv6: MIPv6 is an extension of Mobile IP and is designed specifically for IPv6 networks. It adapts to a larger address space and enhances the flexibility and mobility management capabilities of mobile devices. MIPv6 introduces some new features, such as better support for multiple addresses and more efficient routing mechanisms.

[0162] 3) The mobility management protocol achieves seamless switching across networks through the following steps: Step 1: Mobile device registration: When a mobile device accesses a new network, it will register through a node called a "Home Agent". The mobile device sends a registration request to the network at its current location, informing the HomeAgent of its new "Current Address".

[0163] Step 2: Home Agent Function: When a mobile device leaves the original network, Home Agent will map its original IP address to the new Care-of Address. Home Agent is responsible for receiving data packets sent from the fixed network to the mobile device and forwarding them to the current Care-of Address.

[0164] Step 3: Packet forwarding: When packets are sent to the original IP address of the mobile device, Home Agent will forward these packets to the Care-of Address of the mobile device, thus achieving transparent data transmission. The mobile device can continue to receive and send packets in the new network without interrupting its original session.

[0165] Step 4: Seamless switching: When a mobile device switches between different networks, the switching process is transparent to the user due to the presence of Home Agent. This mechanism ensures that when a mobile device switches between networks, the existing TCP connection and UDP session remain unchanged, and the user will not notice the change of network.

[0166] Step 5. Terminate the session: When the mobile device leaves the current network again and returns to the original network or enters another network, it sends a logout request to the Home Agent to end the session and clear its registration information in the Home Agent.

[0167] 4. When the mobile terminal is within the electronic fence, the best base station can be selected according to the previously recorded priority list and measurement values; when the mobile terminal is outside the electronic fence, the beamforming direction can be continuously adjusted to expand the signal coverage as much as possible to ensure signal quality.

[0168] The strategy for selecting the best base station when the mobile terminal is inside or outside the electronic fence involves the priority list, the definition and use of measurement values, and the corresponding theoretical basis. The following is a detailed description.

[0169] 1. Priority list: The priority list is a predefined ordered list containing the priorities of all available base stations. The priority can be determined based on multiple factors, such as: Signal quality: historical signal strength provided by the base station (such as RSRP, RSRQ, etc.).

[0170] Network load: The average number of users or bandwidth usage at a base station.

[0171] Geographic location: The distance between the base station and the user's location.

[0172] Service type: service type supported by the base station (such as 4G, 5G, VoLTE, etc.).

[0173] Historical connection quality: past connection success rate and reliability with this base station.

[0174] The priority list can be recorded in the following ways: 2. Data collection: Regularly conduct network measurements to collect signal strength, load, and other relevant information of each base station. Use mobile terminals to report signal quality and connection status at different locations to the network management system through APIs or protocols (such as SNMP, OAM).

[0175] 3. Data storage: Store the collected data in a database, possibly using a timestamp to facilitate subsequent updates and queries.

[0176] 4. Priority Algorithm: Use an algorithm (such as weighted scoring method or hierarchical analysis method) to dynamically update the priority of base stations based on the collected data. Selecting the best base station Selecting the best base station can be achieved by following the steps below: Step 1: Get measurement values: The measurement values ​​may include signal strength (such as RSRP, RSRQ), delay (Latency), network load (such as bandwidth usage), etc. For example: RSRP (Reference Signal Received Power): indicates the received reference signal power.

[0177] RSRQ (Reference Signal Received Quality): indicates the quality of the reference signal.

[0178] Latency: The round-trip time (RTT) for a packet to travel from source to destination.

[0179] Step 2: Evaluate base stations: Combine the measurements and the priority list and use a weighted scoring model to evaluate the performance of each base station: S i = w 1. RSRP i + w 2. RQ i + w 3. U i + w 3. D i; in, S i Represented as base station i The overall score of RSRP i Represented as base station i Signal strength; RQ i Represented as base station i signal quality; U i Represented as base station i Load; D i Represented as base station i distance; w Expressed as weight coefficient.

[0180] w 1, w 2, w 3. w 4 represent the weight coefficients of various parameters, which are set according to actual needs.

[0181] Step 3: Select a base station: Based on the comprehensive score S i , select the base station with the highest score to connect to.

[0182] Signal quality assessment: Evaluate user experience based on signal strength and quality to ensure high-quality communications.

[0183] Weighted scoring model: By combining different parameters (i.e. S i , RSRP i , RQ i , U i , D i ) weighted summation to meet the needs of different scenarios and flexibly select the optimal base station. The weight is allocated by the server, and the present invention only opens the weight setting.

[0184] Step 3: Network load balancing: By monitoring and considering the load conditions of base stations, relatively idle base stations are dynamically selected to optimize network resources.

[0185] Step 4: Mobility management protocol: Mobility management protocols (such as Mobile IP and MIPv6) are used to achieve seamless transition of base station switching and network connection.

[0186] 5. If it is determined that a network switch is required, the mobile terminal will send a request to the new base station and wait for approval. When the new base station agrees to accept the request, the mobile terminal will send some necessary information, such as identity authentication and location information, to the new cell to establish a new communication connection and terminate the old connection.

[0187] 6. After the handover is completed, the mobile terminal will continue to collect signal information and location data, and dynamically adjust the beamforming scheme according to the predefined algorithm and priority list to ensure network quality and connection stability.

[0188] In summary, this solution combines beamforming technology, IoT electronic fence information and positioning data to achieve adaptive network switching, improving network quality and user experience.

[0189] In specific applications, the multi-level nested fence mechanism is a switching scheme involved in the present invention, which means that it is different from the traditional electronic fence. Since the present invention involves an area where multiple networks are cross-covered, and the electronic fence has a mechanism to guide users to settle in the network, the fence design sets the lowest-level network as the largest fence. As the level increases, the fence becomes smaller in turn, and it can be synchronously stationed in multiple fences during the switching process. Some network unstable areas are set to a variable fence definition mode, and in the variable fence definition mode, the networks that meet the conditions in the fence need to be settled in turn. The variable fence definition mode can be divided into two stages: a transition stage and a settlement stage. In the transition stage, when the user's device enters the variable fence definition mode, the system will determine whether the current network is unstable based on factors such as the device's location information and signal strength. If so, the system will automatically switch the device to another network in the cross-fence transition area to ensure network connectivity. In the settlement stage, the system will settle in the networks across the fence transition area one by one based on factors such as the type of user equipment and the demand for the required service. This process needs to take into account factors such as the priority, bandwidth and network quality between each network, and complete the switching and settlement of the network in the shortest time. At the same time, before the user device switches to the new network, the system will preheat and optimize the network to ensure the consistency and stability of the user experience. In general, the variable fence definition mode provides a more stable and efficient network switching solution for the digital logistics network with multi-network cross-coverage through the design of cross-fence transition areas. At the same time, in actual applications, it is necessary to comprehensively consider multiple factors, such as network quality, bandwidth, and user needs, to ensure smooth and efficient network switching.

[0190] In specific applications, the various devices covered by the present invention can flexibly reside and upload data in multi-mode systems such as cellular networks, wireless local area networks, Internet of Vehicles, satellite communication networks, narrowband Internet of Things, etc. In addition, the technical solution can be deployed in mines, roads, vehicles, personnel and other devices that support digitalization.

[0191] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 3As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store static information and dynamic information data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the steps in the above method embodiment are implemented.

[0192] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device to which the solution of the present invention is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0193] In addition, the present invention also provides a computer device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiment when executing the computer program.

[0194] In addition, the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the above method embodiment are implemented.

[0195] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0196] The present invention is not limited to the structures which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A method for flexibly switching wireless networks in mining scenarios, characterized in that: include: Based on beamforming technology, the signal information of mobile terminals at different locations is collected, and the signal information is analyzed using the beamforming optimization algorithm to obtain the best beamforming solution; The preset IoT electronic fence information is integrated with the preset positioning data to determine the current location of the mobile terminal; Determine the network switching requirement of the mobile terminal according to the current position of the mobile terminal and the optimal beamforming scheme, establish a final communication connection based on the network switching requirement, and terminate the initial communication connection; Based on the final communication connection established, the mobile terminal continuously collects signal information and preset positioning data, and dynamically adjusts the beamforming scheme according to the preset algorithm and priority list.

2. The method for flexibly switching wireless networks for mining scenarios according to claim 1 is characterized in that: The beamforming technology is based on collecting signal information of mobile terminals at different locations, and using a beamforming optimization algorithm to analyze the signal information to obtain the best beamforming solution, including: Collect signal information of mobile terminals at different locations through wireless access points; Wherein, the signal information includes signal strength and quality information; Clean the signal strength and quality information of mobile terminals at different locations, remove outliers and noise, and perform standardization. Extract key features from the normalized signal strength and quality information; Based on the extracted key features, a preset beamforming optimization algorithm is selected, a mathematical model is established, and an optimization objective function is set; The established mathematical model is used to generate a preliminary beamforming scheme, which is then applied in a practical environment to evaluate its effect in the actual network. Based on the evaluation results, the preliminary beamforming scheme is adjusted in real time to generate the optimal beamforming scheme.

3. The method for flexibly switching wireless networks for mining scenarios according to claim 1 is characterized in that: The step of integrating the preset Internet of Things electronic fence information with the preset positioning data to determine the current location of the mobile terminal includes: Based on geographic information system technology, the information of the Internet of Things electronic fence is defined by a preset definition method, and the defined information of the Internet of Things electronic fence is stored in a database and saved in a standardized format; Acquire the real-time positioning data of the mobile terminal through positioning technology, convert the acquired real-time positioning data into the same coordinate system as the IoT electronic fence information, and combine the IoT electronic fence information and positioning data to form a comprehensive data structure; The geometric algorithm is used to determine the position relationship of the mobile terminal within the IoT electronic fence and determine the current position of the mobile terminal.

4. The method for flexibly switching wireless networks for mining scenarios according to claim 3 is characterized in that: The method of using a geometric algorithm to determine the position relationship of the mobile terminal within the Internet of Things electronic fence and determining the current position of the mobile terminal includes: Using geometric algorithms, calculate the distance from the mobile terminal to the boundary of the electronic fence; Based on the calculated distance from the mobile terminal to the boundary of the electronic fence, if the distance is less than a set threshold, it is determined that the mobile terminal is inside the Internet of Things electronic fence; if the distance is greater than or equal to the set threshold, it is determined that the mobile terminal is outside the Internet of Things electronic fence; If the mobile terminal is located inside the IoT electronic fence, the best base station is selected according to the preset priority list and network status. If the mobile terminal is located outside the IoT electronic fence, the signal coverage range is expanded by adjusting the beamforming direction.

5. The method for flexibly switching wireless networks for mining scenarios according to claim 4 is characterized in that: The formula for calculating the distance from the mobile terminal to the boundary of the electronic fence is: ; In the formula, d It is expressed as the distance from the mobile terminal to the boundary of the electronic fence; x 0 represents the horizontal coordinate of the mobile terminal; x t It is expressed as the horizontal coordinate of the target point; y 0 represents the vertical coordinate of the mobile terminal; y t Expressed as the ordinate of the target point.

6. The method for flexibly switching wireless networks for mining scenarios according to claim 4 is characterized in that: If the mobile terminal is located inside the Internet of Things electronic fence, selecting the best base station according to the preset priority list and network status includes: The network to which the mobile terminal is connected is measured to collect the real-time network status data of each base station, and the collected real-time network status data of each base station is reported to the network management system through the API interface; The collected real-time network status data of each base station is stored in a database and marked with a timestamp; Based on the weighted scoring method, the priority of the base stations is dynamically updated according to the real-time network status data collected from each base station, and the best base station is selected.

7. The method for flexibly switching wireless networks for mining scenarios according to claim 1 is characterized in that: Determining the network switching requirement of the mobile terminal according to the current position of the mobile terminal and the optimal beamforming scheme includes: Based on the optimal beamforming solution, obtain the signal strength and signal-to-noise ratio of the current network, monitor the performance indicators of the current network, and judge the performance indicators of the current network; Calculate the signal-to-noise ratio of the current network. If the signal-to-noise ratio of the current network is lower than the preset signal-to-noise ratio threshold, switch the network. Monitor the bandwidth usage status of the current network in real time and calculate the current network bandwidth usage rate. If the network bandwidth usage rate is greater than the preset network bandwidth usage rate threshold, switch to the network with the lowest load; Monitor the current network delay in real time and determine the required bandwidth based on the service quality requirements. If the performance indicators of the current network cannot meet the service quality requirements, it is necessary to switch networks. According to the judgment results of the signal-to-noise ratio of the current network, the bandwidth usage status of the current network and the delay of the current network, a decision rule is formed to determine the network switching demand of the mobile terminal; According to the current location of the mobile terminal, the best beamforming scheme and the network status, a preset load balancing algorithm is selected to obtain the best network node performance index and perform network switching.

8. The method for flexibly switching wireless networks for mining scenarios according to claim 7 is characterized in that: The selecting a preset load balancing algorithm according to the current position of the mobile terminal, the optimal beamforming scheme and the network status, obtaining the optimal network node performance indicator, and performing network switching includes: Set the initial performance index of all available network nodes to infinity and the performance index of mobile terminals to zero; Select an available network node with the smallest performance index among the currently unvisited available network nodes, and mark it as a visited available network node; For each adjacent available network node of the visited available network node, if the performance index from the visited available network node to the adjacent available network node is the best, then updating the performance index of the adjacent available network node; The process of visiting available network nodes is repeated until all available network nodes are visited, the best network node performance indicator is obtained, and network switching is performed.

9. The method for flexibly switching wireless networks for mining scenarios according to claim 1 is characterized in that: The establishing of the final communication connection based on the network switching requirement and terminating the initial communication connection includes: If it is determined that a network switch is required, the mobile terminal will send a request to the new base station and wait for approval; When the new base station agrees to accept the request, the mobile terminal will send identity authentication information and the latest location information to the new base station to establish a final communication connection and terminate the initial communication connection.

10. A system for flexibly switching wireless networks for mining scenarios, characterized in that: The system for flexibly switching wireless networks includes: The signal analysis and location confirmation module is used to collect signal information of mobile terminals at different locations based on beamforming technology, and analyze the signal information using the beamforming optimization algorithm to obtain the best beamforming solution; the preset IoT electronic fence information is integrated with the preset positioning data to determine the current location of the mobile terminal; A network switching and communication connection module, which is used to determine the network switching requirements of the mobile terminal according to the current position of the mobile terminal and the optimal beamforming scheme, establish a final communication connection based on the network switching requirements, and terminate the initial communication connection; The communication connection maintenance and optimization module is used to enable the mobile terminal to continuously collect signal information and preset positioning data based on the final communication connection established, and dynamically adjust the beamforming scheme according to the preset algorithm and priority list.

Citation Information

Cited By

  • Method for automatically switching network channels and SIM (Subscriber Identity Module) cards according to signal strength

    CN120129010A

  • Wireless networking method for complex terrain and related equipment

    CN121665255A

  • Mesh group intercom method, system and device for mine

    CN122513739A