Methods, systems, devices, vehicles, storage media, and program products for vehicle data transmission
By acquiring the signal strength of the source AP and the destination AP, the operating status of the flying vehicle is determined. In roaming mode, it connects with the destination AP device and transmits roaming data to the cloud, solving the problem of data loss when flying cars roam between ZigBee networks and achieving data continuity and network stability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-23
- Publication Date
- 2026-03-13
AI Technical Summary
When flying cars move within the coverage area of a ZigBee network, traditional network setup processes cannot guarantee communication continuity, resulting in missing roaming data.
By acquiring the signal strength of the source AP device and the destination AP device, the operating status of the flying vehicle is determined, and in roaming mode, the vehicle is controlled to establish a communication connection with the destination AP device, acquire and transmit roaming data to cloud storage, and ensure data continuity.
It enables continuous data transmission and storage during the flight vehicle's roaming, avoiding data loss, improving network connection stability and security, and optimizing resource management and user experience.
Smart Images

Figure CN119729907B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of flying vehicles, and more specifically, to a method, system, apparatus, vehicle, storage medium, and program product for vehicle data transmission. Background Technology
[0002] With the continuous advancement and deepening application of IoT technology, flying cars, as an emerging mode of transportation, not only demonstrate enormous potential in personal travel but also showcase their unique application value in various fields such as agriculture, industry, and emergency response. Compared to traditional ground transportation, flying cars can overcome terrain obstacles and achieve rapid and flexible movement. This characteristic requires their communication systems to have the ability to support large-scale movement to ensure continuous communication and data transmission during flight.
[0003] In related technologies, Internet of Things (IoT) communication technologies (such as ZigBee networks) are primarily designed for short-range, low-power device-to-device communication. While performing well in scenarios such as home automation and industrial control, their communication range is limited, typically between a few hundred meters and one kilometer. When a flying car moves from the coverage area of one ZigBee network to the coverage area of another, traditional ZigBee network deployment processes cannot guarantee the continuity of communication for the flying car, resulting in the technical problem of missing roaming data for the flying vehicle.
[0004] There is currently no effective solution to the above problems. Summary of the Invention
[0005] This invention provides a method, system, apparatus, vehicle, storage medium, and program product for vehicle data transmission, to at least partially solve the technical problem of missing roaming data for flying vehicles.
[0006] According to one aspect of the present invention, a method for vehicle data transmission is provided. The method may include: acquiring a first signal strength of a source AP device and a second signal strength of a destination AP device, wherein the source AP device is an edge AP device of a network already connected to by the flying vehicle, and the destination AP device is an edge AP device of a network to be connected to by the flying vehicle; determining the operating state of the flying vehicle based on the first signal strength and the second signal strength; in response to the operating state being roaming, controlling the flying vehicle to establish a communication connection with the destination AP device and acquiring roaming data generated by the flying vehicle in the roaming state; and transmitting the roaming data to the destination AP device that has successfully connected with the flying vehicle.
[0007] Optionally, determining the operating state of the flying vehicle based on the first signal strength and the second signal strength includes: in response to the first signal strength being less than the second signal strength, retrieving a roaming strategy, wherein the roaming strategy is at least used to characterize the signal strength threshold of the source AP device; and in response to the first signal strength satisfying the roaming strategy, determining the operating state as a roaming state.
[0008] Optionally, in response to the roaming state, controlling the flying vehicle to establish a communication connection with the target AP device includes: in response to the roaming state, sending an authentication request to the target AP device, wherein the authentication request is used to request the target AP device to authenticate the flying vehicle; and in response to the target AP device successfully authenticating the flying vehicle, controlling the flying vehicle to establish a communication connection with the target AP device.
[0009] Optionally, the method may further include: in response to a successful connection between the flying vehicle and the target AP device, obtaining network information of the network to be connected transmitted by the target AP device, wherein the network information is used to identify the network to be connected; and controlling the flying vehicle to access the network to be connected according to the network information.
[0010] Optionally, controlling the flying vehicle to access the network to be connected according to the network information includes: comparing the network information with historical network information stored in the flying vehicle to obtain a comparison result; in response to the comparison result indicating that the network information is different from the historical network information, controlling the flying vehicle to send a disconnect command to the already connected network, and controlling the flying vehicle to access the network to be connected according to the network information, wherein the disconnect command is used to indicate the termination of the communication connection between the flying vehicle and the already connected network.
[0011] Optionally, the method may further include: in response to a successful connection between the flying vehicle and the target AP device, transmitting roaming data to a controller associated with the target AP device, wherein the roaming data is transmitted from the controller to the cloud.
[0012] According to another aspect of the present invention, a system for transmitting roaming data of a vehicle is also provided. The system may include: a flying vehicle, configured to acquire a first signal strength of a source AP device and a second signal strength of a destination AP device, wherein the source AP device is an edge AP device of a network already connected to by the flying vehicle, and the destination AP device is an edge AP device of a network to which the flying vehicle is to connect; determining the operating state of the flying vehicle based on the first and second signal strengths; in response to the operating state being roaming, controlling the flying vehicle to establish a communication connection with the destination AP device and acquiring roaming data generated by the flying vehicle in the roaming state; transmitting the roaming data to the destination AP device with which the flying vehicle has successfully connected; and the destination AP device, configured to establish a communication connection with the flying vehicle and transmit the roaming data to the cloud.
[0013] Optionally, the target AP device is also used to transmit network information of the network to be connected to the flying vehicle in response to the successful connection between the target AP device and the flying vehicle; the flying vehicle is also used to establish a communication connection with the network to be connected according to the network information.
[0014] Optionally, the system may also include: a network to be connected, used to retrieve roaming data stored in the cloud via a coordinator in response to a successful connection with the flying vehicle.
[0015] Optionally, the system may also include: a controller associated with the target AP device, for acquiring roaming data from the target AP device and transmitting the roaming data to the cloud in response to a successful connection between the flying vehicle and the target AP device.
[0016] Optionally, the destination AP device transmits roaming data to the controller via a data transmission tunnel.
[0017] According to another aspect of the present invention, a vehicle data transmission apparatus is also provided. The apparatus may include: an acquisition unit, configured to acquire a first signal strength of a source AP device and a second signal strength of a destination AP device, wherein the source AP device is an edge AP device of a network already connected to by the flying vehicle, and the destination AP device is an edge AP device of a network to be connected to by the flying vehicle; a determination unit, configured to determine the operating state of the flying vehicle based on the first signal strength and the second signal strength; a processing unit, configured to, in response to the operating state being roaming, control the flying vehicle to establish a communication connection with the destination AP device and acquire roaming data generated by the flying vehicle in the roaming state; and a transmission unit, configured to transmit the roaming data to the destination AP device that has successfully connected with the flying vehicle.
[0018] According to another aspect of the present invention, an electronic device is also provided, comprising: a memory storing an executable program; and a processor for running the program, wherein the program executes the methods of various embodiments of the present invention during runtime.
[0019] According to another aspect of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored executable program, wherein, when the executable program is executed, it controls the device where the computer-readable storage medium is located to perform the methods of various embodiments of the present invention.
[0020] According to another aspect of the present invention, a computer program product is also provided, including a computer program that, when executed by a processor, implements the methods of various embodiments of the present invention.
[0021] According to another aspect of the present invention, a computer program product is also provided, including a non-volatile computer-readable storage medium storing a computer program that, when executed by a processor, implements the methods of various embodiments of the present invention.
[0022] According to another aspect of the present invention, a computer program is also provided, which, when executed by a processor, implements the methods of the various embodiments of the present invention.
[0023] According to another aspect of the present invention, a vehicle is also provided, including a memory and a processor, the memory storing an executable program and the processor running the program, wherein the program executes the methods of various embodiments of the present invention during runtime.
[0024] In this embodiment of the invention, based on the first signal strength of the source AP device and the second signal strength of the destination AP device obtained by the flying vehicle, it is determined whether the vehicle is in a roaming state. If the flying vehicle is in a roaming state, it can be controlled to establish a communication connection with the destination AP device, thereby transmitting the roaming data generated by the flying vehicle in the roaming state to the cloud for storage through the destination AP device. That is, in this embodiment of the invention, a method for storing roaming data generated in the roaming scenario of flying vehicles is proposed, so that the vehicle can enter another controlled network to be connected through a similar wireless roaming method, avoiding the defects of short-range wireless communication of flying vehicles, and thus achieving the technical effect of avoiding the loss of roaming data of flying vehicles, solving the technical problem of the loss of roaming data of flying vehicles. Attached Figure Description
[0025] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:
[0026] Figure 1 This is a flowchart illustrating a method for vehicle data transmission according to an embodiment of the present invention;
[0027] Figure 2 This is a block diagram illustrating a vehicle data transmission system according to an embodiment of the present invention;
[0028] Figure 3 This is a flowchart illustrating a network initialization method according to an embodiment of the present invention;
[0029] Figure 4 This is a flowchart illustrating a network access process according to an embodiment of the present invention;
[0030] Figure 5This is a schematic diagram illustrating a flying vehicle roaming between networks according to an embodiment of the present invention;
[0031] Figure 6 This is a schematic diagram illustrating a data transmission process according to an embodiment of the present invention;
[0032] Figure 7 This is a schematic diagram illustrating a message format according to an embodiment of the present invention;
[0033] Figure 8 This is a structural block diagram of a vehicle data transmission device according to an embodiment of the present invention. Detailed Implementation
[0034] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0035] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0036] According to an embodiment of the present invention, a method embodiment for vehicle data transmission is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0037] This application provides a method for vehicle data transmission. This method can be used to provide roaming functionality for flying vehicles in preset application scenarios, storing roaming data generated by the flying vehicles during the roaming process. The preset application scenarios can include the following scenarios in the vehicle field: autonomous driving scenarios for commuting, AI-powered driver assistance scenarios for family cars, automatic parking assistance (APA) scenarios (such as memory parking for self-owned parking spaces in garages, intelligent parking for designated parking spaces in parking lots, etc.), and navigation-guided pilot (NGP) scenarios in urban or highway areas. Furthermore, the preset application scenarios may also include, but are not limited to: autonomous driving scenarios for intelligent driving trucks or unmanned trucks in the logistics and transportation field, autonomous driving scenarios for autonomous agricultural vehicles in the agricultural machinery field, autonomous driving scenarios for drones, and autonomous driving scenarios for intelligent robots (such as cleaning robots, service robots, delivery robots, etc.).
[0038] Figure 1 This is a flowchart illustrating a vehicle data transmission method according to an embodiment of the present invention, such as... Figure 1 As shown, the method may include the following steps:
[0039] Step S102: Obtain the first signal strength of the source AP device and the second signal strength of the destination AP device, wherein the source AP device is an edge AP device of the network already connected to by the flying vehicle, and the destination AP device is an edge AP device of the network to be connected to by the flying vehicle.
[0040] In the technical solution provided in step S102 of the present invention, the source AP device can be an edge AP device of the network already connected to the flying vehicle, or an already connected AP device, or a router or gateway in the connected network, and can be used to receive and send data. The destination AP device can be an AP device to be connected, or can be deployed at the edge of the network to be connected, or can be an edge AP device of the network to be connected. The flying vehicle (STA) can refer to a client device in a wireless local area network, or a device attempting to connect or currently connecting to an AP (access point). The connected network and the network to be connected can be wireless communication networks, such as an Internet of Things (IoT) network (ZigBee network). It should be noted that this is only an example and the type of network is not specifically limited.
[0041] Optionally, during the movement of the flying vehicle, it can continuously monitor the signal strength of surrounding AP devices to obtain the first signal strength of the source AP device and the second signal strength of the destination AP device.
[0042] Optionally, when the flying vehicle moves from the coverage area of an already connected network to the coverage area of a network to be connected, the flying vehicle can monitor and acquire the first signal strength of the currently connected edge AP device (i.e., the source AP device) and the second signal strength of the edge AP device to be connected (i.e., the destination AP device). Continuous monitoring can be performed on the flying vehicle during its movement to ensure that it can promptly identify signal changes, thereby providing a basis for subsequent roaming decisions.
[0043] For example, a destination AP device and a source AP device are deployed in the network to be connected and the already connected network, respectively. Initially, the flying vehicle and the source AP device are connected, but as the flying vehicle moves, the first signal strength of the source AP device begins to weaken, while the second signal strength of the destination AP device begins to strengthen. The first and second signal strengths can be detected.
[0044] Step S104: Determine the operating status of the flying vehicle based on the first signal strength and the second signal strength.
[0045] In the technical solution provided by step S104 of the present invention, the aforementioned operating state may include a roaming state and a non-roaming state. The aforementioned roaming state may be a wireless network roaming state.
[0046] Optionally, the flying vehicle can continuously monitor the signal strength of surrounding access points (APs) while moving. When it moves to the critical area between the coverage areas of two APs, it can assess which AP has a stronger and more stable signal based on the acquired first and second signal strengths. Based on the signal strength monitoring results, a decision can be made on whether to roam, thus determining the operating status of the flying vehicle.
[0047] For example, if a flying vehicle detects that the second signal strength is 15 dBm stronger than the first signal strength, and the flight path indicates that the flying vehicle will enter the coverage area of the network to be connected, then the flying vehicle's operating state can be determined to be a state that requires roaming (i.e., roaming state).
[0048] Step S106: In response to the roaming state, control the flying vehicle to establish a communication connection with the target AP device and acquire the roaming data generated by the flying vehicle in the roaming state.
[0049] In the technical solution provided in step S106 of the present invention, when the flying vehicle is confirmed to be in a roaming state, it can be controlled to establish a communication connection with the target AP device. Simultaneously, roaming data of the flying vehicle in the roaming state can be acquired. This roaming data can be used to characterize the movement of the flying vehicle in the roaming state, and may include, but is not limited to, flight path, location information, speed, network switching time, and other information related to network connection status. It should be noted that the type of roaming data is not specifically limited here.
[0050] Optionally, changes in signal strength can be used to determine whether the flying vehicle needs to initiate a roaming process. If the flying vehicle is determined to be in roaming mode, it can be controlled to establish a communication connection with the target device while in roaming, thereby avoiding unnecessary network switching and improving efficiency. Simultaneously, roaming data generated by the flying vehicle in roaming mode can be acquired to ensure that key data generated during roaming is completely recorded, providing a basis for subsequent analysis and operation.
[0051] Step S108: Transmit the roaming data to the destination AP device that has successfully connected with the flying vehicle.
[0052] In the technical solution provided by step S108 of the present invention, after obtaining roaming data, the roaming data can be transmitted to the target AP device that has been successfully connected to the flying vehicle. The target AP device can then transmit the roaming data to the cloud for storage. Thus, even before the flying vehicle is connected to the network to be connected, the roaming data can be transmitted and stored through the AP device, thereby avoiding the loss of roaming data.
[0053] Optionally, the first signal strength of the source AP device and the second signal strength of the destination AP device are acquired. Based on the first and second signal strengths, the operating status of the flying vehicle can be determined. If the flying vehicle is in roaming mode, it can be controlled to establish a communication connection with the destination AP device. Before the flying vehicle establishes a communication connection with the destination AP device, roaming data of the flying vehicle can be acquired and transmitted to the cloud via the source AP device to complete the storage of the roaming data. Once the flying vehicle successfully connects with the destination AP device, the roaming data can be transmitted to the destination AP device, which is connected to the flying vehicle, and the destination AP device can upload the roaming data to the cloud to complete the storage of the roaming data.
[0054] Optionally, during the roaming of the flying vehicle, the data transmission process of the flying vehicle will not be interrupted. Before connecting with the destination AP device, the roaming data can be transmitted through the source AP device. After connecting with the destination AP device, the roaming data can be transmitted using the destination AP device. This avoids the problem of roaming data loss due to network switching during the roaming process of the flying vehicle, and achieves the technical effect of avoiding roaming data loss.
[0055] Because existing ZigBee network architectures lack roaming scenarios for child nodes (i.e., flying vehicles), the short-range nature of the Internet of Things (IoT) prevents child nodes moving rapidly over large areas from maintaining their state effectively within the current IoT network. Therefore, this embodiment proposes a roaming scenario for IoT child nodes moving rapidly over large areas. Specifically, the operating status of the flying vehicle is determined based on signal strength changes to determine whether roaming should be initiated. If roaming is required, the flying vehicle establishes a communication connection with the target access point (AP). Once the connection is successful, roaming data is transmitted to the connected AP, avoiding data loss during network switching. This method ensures that the flying vehicle performs network switching when signal conditions permit, reducing communication interruptions caused by signal weakness.
[0056] In steps S102 to S108 of the present invention, based on the first signal strength of the source AP device and the second signal strength of the destination AP device obtained by the flying vehicle, it is determined whether the vehicle is in a roaming state. If the flying vehicle is in a roaming state, it can be controlled to establish a communication connection with the destination AP device, thereby transmitting the roaming data generated by the flying vehicle in the roaming state to the cloud for storage through the destination AP device. That is, in this embodiment, a method for storing roaming data generated in the roaming scenario of the flying vehicle is proposed, so that the vehicle can enter another controlled network to be connected through a similar wireless roaming method, avoiding the defects of short-range wireless communication of the flying vehicle, thereby achieving the technical effect of avoiding the loss of roaming data of the flying vehicle and solving the technical problem of the loss of roaming data of the flying vehicle.
[0057] The following section further explains how the operating status of the flying vehicle is determined based on the first signal strength and the second signal strength in this embodiment.
[0058] As an optional implementation, step S104, determining the operating state of the flying vehicle based on the first signal strength and the second signal strength, includes: in response to the first signal strength being less than the second signal strength, retrieving a roaming strategy, wherein the roaming strategy is at least used to characterize the signal strength threshold of the source AP device; and in response to the first signal strength satisfying the roaming strategy, determining the operating state as a roaming state.
[0059] In this embodiment, obtaining the first signal strength and the second signal strength allows for the determination of whether the operating state is roaming. If the first signal strength is less than the second signal strength, a roaming strategy can be invoked. This roaming strategy can be used to further determine the operating state of the flying vehicle, thereby improving the accuracy of the determination. The roaming strategy can be a pre-set strategy, or it can be a condition for the flying vehicle to roam. For example, it could be a signal strength threshold that the first signal strength must meet when the flying vehicle roams, or it could be information such as roaming delay time. It should be noted that this is only an example and does not impose specific limitations on the content of the roaming strategy.
[0060] Optionally, if the first signal strength is less than the second signal strength, a roaming strategy can be invoked, and the operating status of the flying vehicle can be further judged based on the roaming strategy. The roaming strategy can at least be used to characterize the signal strength threshold that the source AP device needs to meet. For example, it can be the minimum value of the first signal strength. If the first signal strength meets the signal strength threshold, the operating status can be determined to be a roaming status.
[0061] For example, if the first signal strength is less than the second signal strength, it can be determined that the second signal strength of the target AP device to be connected is significantly higher than the first signal strength of the already connected source AP device. In this case, a pre-set roaming strategy can be retrieved, such as a signal strength threshold or roaming delay. The roaming strategy can be used to further determine the operating status of the flying vehicle. If the first signal strength threshold meets the roaming strategy, the operating status can be determined to be roaming. Through the above method, the purpose of accurately determining the operating status of the flying vehicle can be achieved.
[0062] In this embodiment of the invention, the "roaming strategy" can be applied to ZigBee network handover scenarios for flying vehicles using the above method. This significantly improves the intelligence and service efficiency of the vehicular communication system, ensuring that the flying vehicle maintains optimal network connectivity during roaming, thereby providing more stable, secure, and efficient communication services. This not only enhances the flying vehicle's scenario adaptability but also optimizes resource management and user experience, demonstrating the innovative value and application potential of vehicular IoT communication technology in the field of intelligent vehicles. Furthermore, by using the above method, a preliminary judgment of the flying vehicle's operating status is made based on the acquired first and second signal strengths, and then a further judgment is made based on the roaming strategy, thereby achieving the goal of accurately determining the flying vehicle's operating status.
[0063] The following section further explains how to control the communication connection between the flying vehicle and the target AP device in this embodiment.
[0064] As an optional implementation, step S106, in response to the operating state being in roaming state, controls the flying vehicle to establish a communication connection with the target AP device, including: in response to the operating state being in roaming state, sending an authentication request to the target AP device, wherein the authentication request is used to request the target AP device to authenticate the flying vehicle; in response to the target AP device successfully authenticating the flying vehicle, controlling the flying vehicle to establish a communication connection with the target AP device.
[0065] In this embodiment, if the flying vehicle is in a roaming state, it can send an authentication request to the target AP device. This authentication request can be used to request the target AP device to authenticate the flying vehicle. Upon successful authentication of the flying vehicle by the target AP device, it can be determined that the flying vehicle can establish a communication connection with the target AP device, thus enabling communication between the flying vehicle and the target AP device.
[0066] Optionally, the above steps describe the process of establishing a secure and reliable communication connection with the target AP device when the flying vehicle enters a roaming state. The above process may include the following: in response to the flying vehicle's operating state being roaming, it can be determined that a communication connection needs to be established between the flying vehicle and the target AP device. Before establishing the communication connection, an authentication request can be sent to the target AP device. Only when the target device successfully authenticates the flying vehicle can the communication connection between the flying vehicle and the target AP device be controlled.
[0067] For example, when it is determined that the flying vehicle is in a roaming state—that is, the first signal strength of the currently connected source AP device has dropped below the roaming policy's preset threshold, and the second signal strength of the destination AP device deployed in the new ZigBee network is sufficiently strong—the flying vehicle can automatically send an authentication request to the destination AP device. This authentication request can be a preliminary step in the connection between the flying vehicle and the destination AP device. It can be used to request the destination AP device to authenticate the flying vehicle's identity, ensuring that only legitimate flying vehicles can access the destination AP device. This guarantees that only secure flying devices can access the network to be connected through the destination AP device, thereby enhancing network security. The authentication request can include the flying vehicle's identity information and security credentials, which can be used by the destination AP device for verification. It should be noted that this is only an example, and no specific limitations are made on the content or process of the authentication request.
[0068] Optionally, upon receiving an authentication request from the flying vehicle, the destination AP device can initiate an authentication process. This process may include, but is not limited to, various authentication mechanisms (such as WPA / WPA2 PSK, EAP authentication). Through these authentication mechanisms, the destination AP device can verify the flying vehicle's identity and access permissions to ensure the flying vehicle's information security and the proper use of network resources.
[0069] Optionally, in response to the successful authentication of the flying vehicle by the target AP device, the flying vehicle can be controlled to establish a communication connection with the target AP device. That is, once the target AP device completes the authentication of the flying vehicle and confirms that it is a legitimate user, the flying vehicle can establish a communication connection with the target AP device.
[0070] For example, a flying vehicle sends an authentication request to the destination access point (AP) device. This authentication request can be a connection request command. The destination AP device responds to the authentication request by authenticating the flying vehicle. After successful authentication, the destination AP device sends an acknowledgment (ACK) signal, either through a data transmission tunnel (e.g., a CAPWAP tunnel) or by directly responding, to confirm that the flying vehicle can join the network. Thus, the flying vehicle can establish a communication connection with the destination AP device. In this way, the flying vehicle completes the roaming process from the source AP device to the destination AP device and regains stable data transmission and network services.
[0071] In this embodiment of the invention, by implementing authentication requests and authentication processes, the authentication of flying vehicles before joining a new network is ensured, effectively preventing the access of unauthorized devices and enhancing the security of the ZigBee network. Only successfully authenticated flying vehicles can access the target AP device, avoiding waste of network resources and ensuring the quality and efficiency of network services, especially when network resources are limited. The above process ensures smooth connection during the roaming process of flying vehicles, avoiding connection interruptions and data loss, and improving the continuity and stability of data transmission during roaming. Furthermore, the stable connection and data transmission of flying vehicles during roaming provide users with a seamless network experience, especially in scenarios involving critical tasks or requiring continuous communication, enhancing user confidence in controlling the flying vehicle and improving user comfort.
[0072] In summary, the above steps, through the authentication mechanism, ensure the safety and stability of the flying vehicle during roaming, optimize the use of network resources, and improve the user experience. They are key processes for achieving safe and efficient data transmission when flying vehicles roam between ZigBee networks.
[0073] The process of the flying vehicle accessing the network to be connected in this embodiment will be described in detail below.
[0074] As an optional implementation, the method may further include: in response to a successful connection between the flying vehicle and the target AP device, acquiring network information of the network to be connected transmitted by the target AP device, wherein the network information is used to identify the network to be connected; and controlling the flying vehicle to access the network to be connected according to the network information.
[0075] In this embodiment, the aforementioned network information can be a data packet sent by the destination AP device (i.e., an AP2 data packet), which can contain network information of the network to be connected. It can be used to identify the identity of the network to be connected and may include the identity information of the network to be connected where the destination AP device resides, such as the Internet Protocol (IP) address or network identifier (ID) of the network to be connected. It should be noted that this is merely an illustrative example, and no specific limitations are placed on the content contained in the network information.
[0076] Optionally, in response to a successful connection between the flying vehicle and the destination AP device, the destination AP device can send network information of the network to be connected to to the flying vehicle. The flying vehicle can then connect to the corresponding network according to the network information.
[0077] For example, in response to a successful connection between the flying vehicle and the target access point (AP), the target AP can transmit network information of the network to be connected to the flying vehicle. The flying vehicle then obtains the network information and re-triggers the ZigBee network access process, thereby enabling the flying vehicle to connect to the network.
[0078] Optionally, when the flying vehicle detects that the signal strength (second signal strength) of the destination AP device is higher than the signal strength (first signal strength) of the currently connected source AP device during movement, and this meets the threshold conditions set in the roaming policy, a roaming process can be triggered. In response to the vehicle's roaming status, the flying vehicle can be controlled to send an authentication request to the destination AP device, and after successful authentication, a communication connection can be established with the destination AP device. The establishment of this connection is a prerequisite for the flying vehicle to roam to the network to be connected.
[0079] Furthermore, once the flying vehicle successfully connects to the target access point (AP), the AP can send network information about the network to be connected to the flying vehicle. This network information may include, but is not limited to, key parameters such as network ID, channel information, and encryption method. It can be used to identify the network to be connected to and to instruct the flying vehicle on how to correctly access that network. In the network to be connected to (e.g., a ZigBee network), the network ID is an important identifier distinguishing different networks, the channel information can be used to determine the communication frequency, and the encryption method ensures the security of data transmission between the flying vehicle and the network.
[0080] Optionally, after the flying vehicle receives network information transmitted by the target AP device, the flying vehicle's network controller can initiate the process of accessing the network to be connected based on the network information, thereby achieving the purpose of connecting the flying vehicle to the network to be connected. For example, the flying vehicle can use the received network ID to identify the correct network to be connected, adjust its channel settings to match the communication frequency of the network to be connected, and re-establish a secure connection according to the encryption method. This ensures that the flying vehicle can quickly and accurately access the network to be connected, avoiding connection problems and data loss that may occur during network switching, thus maintaining continuous communication between the flying vehicle and the upper-layer network.
[0081] In this embodiment of the invention, the above steps describe how, after a flying vehicle successfully connects to a target AP device, it acquires and utilizes the network information transmitted by the target AP device to access the network to be connected. This process ensures smooth network switching for the flying vehicle during roaming, reduces the risk of connection interruption, and provides continuous network service. By acquiring correct network information and immediately accessing the network to be connected according to that information, the flying vehicle can guarantee the continuity of data transmission, avoiding data loss or delay during roaming. The flying vehicle can also quickly find the optimal network access point based on the network information, reducing search time during roaming, improving the utilization efficiency of network resources, and also reducing unnecessary energy consumption during roaming.
[0082] Optionally, after successfully connecting to the target AP device, the flying vehicle can obtain network information and access the network to be connected according to the network information. This process is a key step in achieving smooth network switching, continuous data transmission, communication security, and efficient resource utilization during roaming. These steps ensure the communication quality and user experience of the flying vehicle when roaming between different ZigBee networks.
[0083] The following is a further explanation of how the flying vehicle in this embodiment accesses the network to be connected via network information.
[0084] As an optional implementation, controlling the flying vehicle to access the network to be connected according to network information includes: comparing the network information with historical network information stored in the flying vehicle to obtain a comparison result; in response to the comparison result indicating that the network information is different from the historical network information, controlling the flying vehicle to send a disconnect command to the already connected network, and controlling the flying vehicle to access the network to be connected according to the network information, wherein the disconnect command is used to indicate the termination of the communication connection between the flying vehicle and the already connected network.
[0085] In this embodiment, when the flying vehicle connects to the source AP device, it acquires and stores historical network information issued by the source AP device and uses this historical network information to connect to the already connected network. After the flying vehicle acquires new network information, it can compare the new network information with the historical network information to obtain a comparison result. This comparison result can include: the new network information and the historical network information are the same, or the new network information and the historical network information are different. In response to the comparison result indicating that the new network information and the historical network information are different, it can be determined that the flying vehicle needs to connect to a new network to be connected. At this time, the flying vehicle can be controlled to send a disconnect command to the already connected network, and the flying vehicle can be controlled to connect to the new network according to the network information. The aforementioned disconnect command can be used to indicate the termination of the communication connection between the flying vehicle and the already connected network.
[0086] Optionally, if the comparison results are the same as the historical network information, it can be determined that the flying vehicle does not need to switch networks, and the connection between the flying vehicle and the connected network can be maintained.
[0087] Optionally, for the first ZigBee network, when the flying vehicle roams from the source AP to the destination AP, the flying vehicle remains in a route-reachable state. At this point, if the flying vehicle receives network information for the second ZigBee network from the destination AP's datagram, it can proactively initiate the ZigBee device disconnection process. This disconnection process may include: the flying vehicle actively sending a disconnect command to the connected network; regardless of whether the flying vehicle receives a response from the coordinator in the connected network, it is considered that the flying vehicle has completed the disconnection process from the connected network.
[0088] Optionally, after receiving network information from the target AP device regarding the network to be connected, the flying vehicle can automatically compare this information with historical network information stored within the flying vehicle. This historical network information may include, but is not limited to, parameters of the network currently connected to the flying vehicle, such as network ID, channel frequency, and encryption method. Through comparison, the flying vehicle can determine whether the network to be connected to the current signal source (target AP device) is different from the already connected network, and whether it has better connection conditions or superior network resources. If the comparison shows a significant difference between the network information transmitted by the target AP device and the historical network information stored in the flying vehicle, it can be determined that the flying vehicle is approaching or has entered a new network coverage area. At this point, the flying vehicle can intelligently make a decision to disconnect from the currently connected network in order to join a stronger or more compatible network to be connected.
[0089] Optionally, after determining that it needs to disconnect from the current network, the flying vehicle can automatically send a disconnect command to the AP device or coordinator of the connected network. The purpose of this command is to formally terminate the communication connection with the current network, ensuring the rational allocation of network resources and avoiding unnecessary data conflicts. According to the ZigBee protocol standard (IEEE 802.15.4), after sending the disconnect command, regardless of whether a confirmation response is received from the AP device or coordinator, the flying vehicle will consider itself to have disconnected from the current network. Furthermore, after completing the disconnection from the connected network, the flying vehicle can use the network information received from the target AP device to initiate the ZigBee networking process to access the network to be connected, following the network access procedure. The process of accessing the network to be connected may include steps such as setting a new network ID, adjusting the communication channel, and establishing an encrypted connection, ensuring that the flying vehicle can seamlessly switch to a new network environment and maintain the continuity of its remote control and data transmission.
[0090] In this embodiment of the invention, the above steps describe how, after acquiring new network information transmitted by the target AP device, the flying vehicle intelligently determines whether it needs to disconnect from the current network (the connected network) and how to smoothly connect to the network to be connected. This process ensures that the flying vehicle can efficiently and safely switch networks while in motion, maintaining the continuity of its data transmission and communication. By intelligently judging and selecting the optimal network, the flying vehicle can efficiently utilize network resources, avoiding unnecessary energy and bandwidth consumption in networks with weak signals. When the flying vehicle switches networks, it can smoothly transition from the connected network to the network to be connected, avoiding connection interruptions and ensuring the continuity of communication and the integrity of data. During this process, when the flying vehicle accesses a new network, it follows corresponding security policies and authentication procedures, which not only enhances network security but also protects the privacy and data security of the flying vehicle. The intelligent network switching function of the flying vehicle reduces the latency and instability caused by network switching, provides a smoother remote control experience, and enhances the user's confidence in controlling the flying vehicle while in motion.
[0091] Optionally, the ability for the flying vehicle to intelligently identify and quickly switch networks during roaming is key to achieving seamless roaming between different ZigBee networks. This process ensures that the flying vehicle maintains optimal network connectivity while in motion, enhancing its availability and security in the Internet of Things (IoT) environment.
[0092] The following section further explains the method of transmitting roaming data in this embodiment.
[0093] As an alternative implementation, the method may further include: in response to a successful connection between the flying vehicle and the target AP device, transmitting roaming data to a controller associated with the target AP device, wherein the roaming data is transmitted from the controller to the cloud.
[0094] In this embodiment, the aforementioned controller (Access Controller, or AC for short) can be used to control AP devices, manage at least one AP device, control data flow, and transmit roaming data to the cloud to avoid the loss of roaming data.
[0095] Optionally, in response to a successful connection between the flying vehicle and the target AP device, roaming data can be transmitted to the controller associated with the target AP device. The controller can then be used to transmit the roaming data to the cloud, thereby achieving the purpose of storing roaming data in the cloud.
[0096] Optionally, the roaming data generated by the flying vehicle during roaming can be temporarily reported to the cloud by the AC and cached in the cloud. After the vehicle completely leaves the first ZigBee network and registers in the second ZigBee network, the coordinator can actively request roaming data from the cloud. This roaming data can be vehicle driving data, thus ensuring that vehicle data is not interrupted during the switching of ZigBee networks.
[0097] Optionally, during the movement of the flying vehicle, when it detects a new access point (AP) with a higher signal strength than the currently connected AP, and the conditions set by the roaming policy are met, the flying vehicle will begin the roaming process, attempting to establish a connection with the AP with the stronger signal. Once the authentication and association process is successfully completed, the flying vehicle successfully establishes a new communication connection with the destination AP. This signifies that the flying vehicle has roamed from the current network (source network) to a new network (destination network). After the connection is established, the flying vehicle can generate roaming data, which may include the flying vehicle's location information, speed information, roaming trigger reason, network switching timestamp, etc. The flying vehicle can transmit the above roaming data to the controller (e.g., AC device) associated with the destination AP. The AC device, as the centralized management point in the network, can be responsible for the control and management of multiple AP devices, and also has the ability to process roaming data.
[0098] Furthermore, after receiving the roaming data from the flying vehicle, the AC device can upload this data to a cloud server. The cloud server serves as a centralized storage and processing center for the roaming data, enabling in-depth analysis, such as evaluating the roaming efficiency of the flying vehicle across different networks, monitoring its real-time status, and providing remote control and optimization suggestions when necessary. In addition, the cloud server ensures that the flying vehicle's data is not lost during network switching, guaranteeing data continuity and integrity.
[0099] In this embodiment of the invention, the above steps describe how, after a flying vehicle successfully connects to a new destination AP device, it transmits data generated during roaming to the controller associated with the destination AP device, and further uploads this data to the cloud. Through these steps, roaming data can be uploaded to the cloud in real time, enabling the system to monitor and analyze the flying vehicle's movement status and network switching performance in real time, improving the system's response speed and data processing capabilities. Based on the roaming data collected in the cloud, the system can learn the flying vehicle's movement patterns and network environment changes, thereby continuously optimizing roaming strategies and improving the network connection quality and stability of the flying vehicle during roaming. Uploading roaming data to the cloud through the AC device ensures the integrity and continuity of the flying vehicle's data during network switching; even when the flying vehicle moves from one ZigBee network to another, its roaming data will not be interrupted or lost. The roaming data stored in the cloud can serve as a basis for remotely controlling the flying vehicle and optimizing network configuration, providing more intelligent decision support for the operation of the flying vehicle.
[0100] In summary, after successfully connecting to the target AP device, the flying vehicle transmits roaming data to the AC device, and then the AC device uploads it to the cloud. This process enables real-time monitoring, analysis, and optimization of roaming data, ensuring data continuity and security for the flying vehicle when roaming between different ZigBee networks, thereby improving the overall system performance and user experience.
[0101] In this embodiment of the invention, based on the first signal strength of the source AP device and the second signal strength of the destination AP device obtained by the flying vehicle, it is determined whether the vehicle is in a roaming state. If the flying vehicle is in a roaming state, it can be controlled to establish a communication connection with the destination AP device. This allows the roaming data generated by the flying vehicle in the roaming state to be transmitted to the cloud for storage via the destination AP device. In other words, this embodiment proposes a method for storing roaming data generated in a roaming scenario for flying vehicles. This allows the vehicle to enter another controlled network to be connected through a method similar to wireless roaming, avoiding the shortcomings of short-range wireless communication of flying vehicles. This achieves the technical effect of avoiding the loss of roaming data of flying vehicles and solves the technical problem of the loss of roaming data of flying vehicles.
[0102] According to another aspect of the embodiments of the present invention, corresponding to the embodiments of the vehicle data transmission method described above, this specification also provides a vehicle data transmission system. Figure 2 This is a block diagram illustrating a vehicle data transmission system according to an embodiment of the present invention, such as... Figure 2 As shown, the vehicle data transmission system 200 may include: a flying vehicle 202 and a destination AP device 204.
[0103] The flying vehicle 202 is used to acquire a first signal strength of a source AP device and a second signal strength of a destination AP device, wherein the source AP device is an edge AP device of a network already connected to by the flying vehicle, and the destination AP device is an edge AP device of a network to be connected to by the flying vehicle; based on the first signal strength and the second signal strength, the operating state of the flying vehicle is determined; in response to the operating state being roaming, the flying vehicle is controlled to establish a communication connection with the destination AP device, and roaming data generated by the flying vehicle in the roaming state is acquired; the roaming data is transmitted to the destination AP device that has successfully connected with the flying vehicle.
[0104] In this embodiment, the flying vehicle 202 can obtain the first signal strength of the source AP device and the second signal strength of the destination AP device, and judge the first signal strength and the second signal strength. If the first signal strength is less than the second signal strength, it can be determined that the flying vehicle is in a roaming state. Thus, it can control the flying vehicle and the destination AP device to establish a communication connection, obtain the roaming data generated by the flying vehicle in the roaming state, and transmit the roaming data to the destination AP device that has successfully connected with the flying vehicle.
[0105] The target AP device 204 is used to communicate with the flying vehicle and transmit roaming data to the cloud.
[0106] In this embodiment, the target AP device can communicate with the flying vehicle. In response to a successful communication connection with the flying vehicle, it can acquire the roaming data generated by the vehicle in roaming mode and transmit the roaming data to the cloud.
[0107] As an optional implementation, the target AP device is also used to transmit network information of the network to be connected to the flying vehicle in response to the successful connection between the target AP device and the flying vehicle; the flying vehicle is also used to establish a communication connection with the network to be connected according to the network information.
[0108] In this embodiment, in response to a successful connection between the target AP device and the flying vehicle, network information of the network to be connected can be transmitted to the flying vehicle. The flying vehicle acquires the network information and establishes a communication connection with the network to be connected according to the network information.
[0109] Optionally, for the first ZigBee network (i.e., the already connected network), when the flying vehicle roams from the source AP device to the destination AP device, the flying vehicle is still in a route-reachable state. At this time, the flying vehicle can receive the second ZigBee network information in the data packets output by the destination AP device, and the flying vehicle actively begins the process of separating from the already connected network. At the same time, it can establish a communication connection with the network to be connected according to the network information.
[0110] As an alternative implementation, the system may also include: a network to be connected, used to retrieve roaming data stored in the cloud via a coordinator in response to a successful connection with the flying vehicle.
[0111] In this embodiment, when the flying vehicle and the network to be connected successfully connect, the network to be connected can, in response to the successful connection with the flying vehicle, utilize the coordinator to obtain roaming data stored in the cloud. The coordinator can be the initiator and manager of the network to be connected, and can participate in data forwarding and network maintenance as a core node in the mesh network.
[0112] As an alternative implementation, the system may further include: a controller associated with the target AP device, for acquiring roaming data from the target AP device in response to a successful connection between the flying vehicle and the target AP device, and transmitting the roaming data to the cloud.
[0113] In this embodiment, each AP device can have a corresponding controller, and a controller can control at least one AP device. When the flying vehicle and the target AP device successfully connect, the roaming data in the target AP device can be obtained, and the roaming data can be transmitted to the cloud through the controller.
[0114] In this embodiment, data transmission of the flying vehicle is uninterrupted during roaming. For devices roaming within an AC, roaming data can be forwarded directly locally by the AC device without needing to go through additional tunnels or routing. For data roaming between ACs, data forwarding can be performed using tunneling technology (such as CAPWAP tunnels).
[0115] As an alternative implementation, the target AP device transmits roaming data to the controller via a data transmission tunnel.
[0116] In this embodiment, a data transmission tunnel (e.g., a CAPWAP tunnel) can be established in advance between the destination AP device and the corresponding AC device. When roaming data is acquired, it can be transmitted from the destination AP device to the controller through the data transmission tunnel.
[0117] Optionally, the destination AP device can be added to the network to be connected as a node in advance. The source AP device can be added to an already connected network as a node.
[0118] In this embodiment, edge AP devices and corresponding AC devices for wireless roaming can be added at the edge of the ZigBee network. By using the edge AP devices and AC devices, wireless network roaming within AC, between ACs, and across ACs can be realized.
[0119] In the vehicle data transmission system of this embodiment, based on the first signal strength of the source AP device and the second signal strength of the destination AP device obtained by the flying vehicle, it is determined whether the vehicle is in a roaming state. If the flying vehicle is in a roaming state, it can be controlled to establish a communication connection with the destination AP device, thereby transmitting the roaming data generated by the flying vehicle in the roaming state to the cloud for storage through the destination AP device. That is, in this embodiment, a method for storing roaming data generated in the roaming scenario of flying vehicles is proposed, so that the vehicle can enter another controlled network to be connected through a similar wireless roaming method, avoiding the defects of short-range wireless communication of flying vehicles, and thus achieving the technical effect of avoiding the loss of roaming data of flying vehicles, solving the technical problem of the loss of roaming data of flying vehicles.
[0120] The technical solutions of the embodiments of the present invention will be illustrated below with reference to preferred embodiments.
[0121] Currently, with the in-depth application of the Internet of Things in various fields, flying vehicles will not only become one of the choices for people's travel, but will also play an important role in agriculture and industry.
[0122] Figure 3 This is a flowchart illustrating a network initialization method according to an embodiment of the present invention, such as... Figure 3 As shown, the method includes the following procedures:
[0123] Step S302: Determine whether the node is in another network.
[0124] In this embodiment, it can be determined whether the node is in another network or whether a ZigBee network exists near the node. The node can be the flying vehicle to be connected. If yes, step S304 can be executed. If no, step S306 can be executed.
[0125] Step S304: Perform the network access process as a router.
[0126] In this embodiment, if a node is already connected, it will not be initialized again, but will remain in the connected state, and the node can act as a router for the network access process.
[0127] Step S306: Channel scanning, select channel number.
[0128] In this embodiment, if the node is not already connected to any network, it enters a network initialization process, where it performs a channel scan to find available wireless channels. This process may include passive and / or active scanning to determine the optimal communication frequency.
[0129] Step S308: Set the network ID.
[0130] In this embodiment, a node selects one of the available network IDs to join. The network ID can be used to distinguish between different networks.
[0131] Step S310: Wait for other nodes to join.
[0132] Figure 4 This is a flowchart illustrating a network access process according to an embodiment of the present invention, such as... Figure 4 As shown, the process may include the following steps:
[0133] Step S402: Complete the scan.
[0134] In this embodiment, the flying vehicle can perform channel scanning to detect the presence of a valid ZigBee network in the surrounding environment. This phase can include both passive and active scanning, gathering network information by listening to or querying nearby ZigBee devices.
[0135] Step S404: Select the appropriate network ID.
[0136] In this embodiment, after detecting multiple available channels, the flying vehicle can select the optimal channel for subsequent communication based on factors such as signal quality and channel congestion.
[0137] Alternatively, the flying vehicle can obtain the network ID from the available ZigBee network beacons, which is a unique identifier for each ZigBee network.
[0138] Alternatively, the flying vehicle can select a suitable network ID from the returned beacon information.
[0139] In step S406, the flying vehicle sends a connection request command to the coordinator.
[0140] In this embodiment, the flying vehicle can send a join request to the network coordinator (or router if the coordinator is not in range). This request may include the flying vehicle's device information and the network ID it is requesting to join.
[0141] Step S408: Determine whether the channel access was successful.
[0142] In this embodiment, it is determined whether the channel access is successful. If successful, step S410 can be executed; if unsuccessful, step S412 can be executed.
[0143] Step S410: Wait for the coordinator to send an ACK response to the flying vehicle.
[0144] In this embodiment, the network coordinator can authenticate received join requests. Authentication may include steps such as device authentication and security key exchange to ensure network security. The network coordinator confirms the join request from the flying vehicle and sends an ACK response confirming the join. This response may include network parameters and any necessary configuration updates.
[0145] Step S412: The failure information is transmitted to the upper level of the flight vehicle's notification system.
[0146] In this embodiment, if channel access fails, the failure information can be transmitted to the upper layer of the vehicle's Media Access Control (MAC) for notification.
[0147] Step S414: Determine if there are sufficient resources in the network.
[0148] In this embodiment, the coordinator can send link indication primitives to the upper layer and determine whether there are sufficient resources in the network. If resources are insufficient, step S416 can be executed; if resources are sufficient, step S418 can be executed.
[0149] In step S416, the coordinator sends a connection failure response to the flying vehicle.
[0150] In this embodiment, if network resources are insufficient, the flying vehicle cannot connect to the network, and the coordinator can send a connection failure response to the flying vehicle.
[0151] In step S418, the coordinator sends a connection request response to the device.
[0152] In this embodiment, if network resources are sufficient, the coordinator can send a connection request to the flying vehicle.
[0153] In step S420, the flying vehicle sends a response frame to the coordinator.
[0154] In this embodiment, the flying vehicle receives a connection request sent by the coordinator and sends a response frame to the coordinator.
[0155] As discussed above, in related technologies, ZigBee network initialization can only be initiated by the network coordinator. Before establishing the network, it's necessary to determine if the node is already connected to other networks. If a node is already connected to other networks, it can only act as a child node of that network. A ZigBee network has one and only one ZigBee coordinator. Once the network is established, the coordinator degenerates into a router role, and can even be removed. These characteristics mean that once a ZigBee network is established, nodes can only join a new ZigBee network after leaving the network. When a child node (flying vehicle) moves outside the coverage area of its original ZigBee network, it automatically leaves the network and waits a scan time before joining a new one. This results in the child node being disconnected from the upper-layer network for a period of time. When the flying vehicle's speed is high enough, there is a possibility that it will remain continuously disconnected from the upper-layer network, posing a security vulnerability and a technical problem of missing roaming data for the flying vehicle.
[0156] In this embodiment of the invention, to address the aforementioned problems, a method for roaming between coordinators of child nodes in a ZigBee mesh network is proposed. This method can accommodate the large-scale movement of flying vehicles within a ZigBee network, ensuring that before a flying vehicle leaves a coordinator-based ZigBee mesh network, it can enter another managed coordinator-based ZigBee network via a similar wireless roaming mechanism. This overcomes the limitations of short-range wireless communication in ZigBee networks, thereby preventing data loss during flying vehicle roaming and resolving the technical problem of missing roaming data for flying vehicles.
[0157] The method of the present invention will be further illustrated below with examples.
[0158] Figure 5 This is a schematic diagram illustrating a flying vehicle roaming between networks according to an embodiment of the present invention, such as... Figure 5 As shown, the connected network 501 may include edge AP device 5011, edge AP device 5012, coordinator 5013, and controller AC 5014 corresponding to edge AP device 5012. The network to be connected 502 may include edge AP device 5021, controller 5022 corresponding to the edge AP device, and coordinator 5023.
[0159] In this embodiment, the aforementioned edge AP device can establish a CAPWAP tunnel with the AC device to transmit data using the CAPWAP tunnel. Figure 6 This is a schematic diagram illustrating a data transmission process according to an embodiment of the present invention, such as... Figure 6As shown, the wireless AP device can send messages to the AC device, which may include: a discovery request message in the Idle State, a join request message in the Join State, an image data request message in the Image Data State, a configuration status request message in the Configuration State, and a change status event request message in the Data Check State.
[0160] Optionally, such as Figure 6 As shown, the AC device can send the following messages to the wireless AP device: Discovery Response Message in Discovery State, Join Response Message in Join State, Image Data Response Message in Image Data State, Configuration Status Response Message in Configuration State, and Change Status Event Response Message in Data Check State.
[0161] In this embodiment, the AP device can join an existing ZigBee network as a node according to the ZigBee networking process. The flying vehicle enters the first ZigBee network (i.e., the connected network) and connects to the AP device (i.e., the source AP device) within the wireless signal coverage area.
[0162] In this embodiment, when a flying vehicle is about to enter a second ZigBee network from the first ZigBee network, a wireless network roaming can be triggered first. The roaming process can include: signal detection, roaming decision, authentication and association, and data forwarding.
[0163] Optionally, the flying vehicle continuously monitors the signal strength of surrounding access points (APs) while moving. When it moves to the critical area between the coverage areas of two APs, it can assess which AP has a stronger and more stable signal.
[0164] Optionally, roaming decisions can be made based on signal detection results. If the signal strength of the new AP is significantly higher than that of the currently connected AP, and roaming conditions are met (e.g., signal strength threshold, roaming delay, etc.), the flying vehicle can begin the roaming process.
[0165] Optionally, in response to the start of the roaming process, the flying vehicle can be authenticated and associated: the flying vehicle can send an authentication request to the destination AP device and perform the necessary authentication process (e.g., WPA / WPA2 PSK, EAP authentication). After successful authentication, it can establish an association with the destination AP device and disconnect from the source AP device.
[0166] Optionally, the transmission of roaming data generated by the flying vehicle during its roaming will not be interrupted.
[0167] Optionally, for flying vehicles roaming within an AC, roaming data can be forwarded directly locally without needing to go through additional tunnels or routes. For roaming between ACs, data forwarding can be performed using tunneling technology (such as CAPWAP tunnels).
[0168] Figure 7 This is a schematic diagram illustrating a message format according to an embodiment of the present invention, such as... Figure 7 As shown, in this embodiment, the data packet may include: IP layer, User Datagram Protocol (UDP) port, CAPWAP header, and CAPWAP message area.
[0169] Optionally, a message type value of 15 can be added to the CAPWAP Header. This change will not alter the original frame length, and value 15 is not occupied by other message types. When Message Type is 15, it means that the content of the CAPWAPMessage (payload) is information about the ZigBee network where the current AP is located, and the payload format can be a common frame format of the Network Layer (NWK). The CAPWAP Header may also include a Datagram Transport Layer Security (DTLS) Header.
[0170] In this embodiment, for the first ZigBee network, when the flying vehicle roams from the source AP device to the destination AP device, the flying vehicle is still in a route-reachable state. At this time, if the flying vehicle receives network information of the second ZigBee network in the destination AP data packet, the flying vehicle can actively start the ZigBee device disconnection process. This ZigBee device disconnection process may include: the flying vehicle actively sending a disconnect command to the connected network. Regardless of whether the flying vehicle receives a response from the coordinator in the connected network, it is considered that the flying vehicle has completed the disconnection process from the connected network.
[0171] In this embodiment, the flying vehicle receives the second ZigBee network information, obtains the network ID, and re-triggers the ZigBee network access process.
[0172] Optionally, edge AP devices and corresponding AC devices can be added at the edge of the ZigBee network to enable wireless roaming within, between, and across ACs.
[0173] In this embodiment, the roaming data generated by the flying vehicle during roaming can be temporarily reported to the cloud by the AC and cached in the cloud. After the vehicle completely leaves the first ZigBee network and registers in the second ZigBee network, the coordinator can actively request roaming data from the cloud. This roaming data can be vehicle driving data, thus ensuring that vehicle data is not interrupted during the switching of ZigBee networks.
[0174] It should be noted that the above method is not only applicable to ZigBee network construction, but also to protocols based on IoT networking such as Wi-Fi, Bluetooth, and Long Range Wide Area Network (LoRaWan).
[0175] In this embodiment of the invention, based on the first signal strength of the source AP device and the second signal strength of the destination AP device obtained by the flying vehicle, it is determined whether the vehicle is in a roaming state. If the flying vehicle is in a roaming state, it can be controlled to establish a communication connection with the destination AP device. This allows the roaming data generated by the flying vehicle in the roaming state to be transmitted to the cloud for storage via the destination AP device. In other words, this embodiment proposes a method for storing roaming data generated in a roaming scenario for flying vehicles. This allows the vehicle to enter another controlled network to be connected through a method similar to wireless roaming, avoiding the shortcomings of short-range wireless communication of flying vehicles. This achieves the technical effect of avoiding the loss of roaming data of flying vehicles and solves the technical problem of the loss of roaming data of flying vehicles.
[0176] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation portals are provided for users to choose to authorize or refuse.
[0177] According to another aspect of the present invention, corresponding to the embodiments of the vehicle data transmission method described above, this specification also provides an apparatus for vehicle data transmission. Figure 8 This is a structural block diagram of a vehicle data transmission device according to an embodiment of the present invention, such as... Figure 8 As shown, the vehicle data transmission device 800 may include: an acquisition unit 802, a determination unit 804, a processing unit 806, and a transmission unit 808.
[0178] The acquisition unit 802 is used to acquire the first signal strength of the source AP device and the second signal strength of the destination AP device, wherein the source AP device is an edge AP device of the network already connected to by the flying vehicle, and the destination AP device is an edge AP device of the network to be connected to by the flying vehicle.
[0179] The determination unit 804 is used to determine the operating status of the flying vehicle based on the first signal strength and the second signal strength.
[0180] The processing unit 806 is used to control the flying vehicle to establish a communication connection with the target AP device in response to the operating state being roaming, and to acquire the roaming data generated by the flying vehicle in roaming state.
[0181] The transmission unit 808 is used to transmit roaming data to the destination AP device that has been successfully connected to the flying vehicle.
[0182] In this embodiment, the acquisition unit 802 acquires the first signal strength of the source AP device and the second signal strength of the destination AP device, wherein the source AP device is an edge AP device of the network already connected to by the flying vehicle, and the destination AP device is an edge AP device of the network to be connected to by the flying vehicle; the determination unit 804 determines the operating state of the flying vehicle based on the first and second signal strengths; the processing unit 806, in response to the operating state being roaming, controls the flying vehicle to establish a communication connection with the destination AP device and acquires the roaming data generated by the flying vehicle in the roaming state; the transmission unit 808 transmits the roaming data to the destination AP device that has successfully connected to the flying vehicle, thereby achieving the technical effect of improving the efficiency of vehicle data transmission and solving the technical problem of low efficiency of vehicle data transmission.
[0183] Embodiments of this application also provide a vehicle, including: a memory storing an executable program; and a processor for running the program, wherein the program executes the methods of various embodiments of the present invention during runtime.
[0184] Embodiments of this application also provide a computer-readable storage medium including a stored executable program, wherein, when the executable program is running, it controls the device where the computer-readable storage medium is located to perform the methods of various embodiments of the present invention.
[0185] Embodiments of this application also provide a computer program product, including a computer program that, when executed by a processor, implements the methods of various embodiments of the present invention.
[0186] Embodiments of this application also provide a computer program product, including a non-volatile computer-readable storage medium for storing a computer program that, when executed by a processor, implements the methods in various embodiments of the present invention.
[0187] Embodiments of this application also provide a computer program that, when executed by a processor, implements the methods described in the various embodiments of the present invention.
[0188] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0189] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between units or modules may be electrical or other forms.
[0190] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0191] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0192] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0193] The above are merely preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method of vehicle data transmission, characterized in that, The method comprises: obtaining a first signal strength of a source AP device and a second signal strength of a target AP device, wherein the source AP device is an edge AP device of a network to which a flying vehicle is connected, and the target AP device is an edge AP device of a network to which the flying vehicle is to be connected; determining a running state of the flying vehicle based on the first signal strength and the second signal strength; in response to the running state being a roaming state, controlling the flying vehicle to be communicatively connected to the target AP device, and obtaining roaming data generated by the flying vehicle in the roaming state, wherein the roaming data is used to represent a movement of the flying vehicle in the roaming state; transmitting the roaming data to the target AP device successfully connected to the flying vehicle.
2. The method of claim 1, wherein, The determination of the running state of the flying vehicle based on the first signal strength and the second signal strength comprises: in response to the first signal strength being less than the second signal strength, invoking a roaming strategy, wherein the roaming strategy is used to represent at least a signal strength threshold of the source AP device; in response to the first signal strength satisfying the roaming strategy, determining that the running state is the roaming state.
3. The method of claim 1, wherein, The controlling of the flying vehicle to be communicatively connected to the target AP device in response to the running state being the roaming state comprises: in response to the running state being the roaming state, sending an authentication request to the target AP device, wherein the authentication request is used to request the target AP device to authenticate the flying vehicle; in response to the target AP device successfully authenticating the flying vehicle, controlling the flying vehicle to be communicatively connected to the target AP device.
4. The method of claim 3, wherein, The method further comprises: in response to the flying vehicle and the target AP device being successfully connected, obtaining network information of the network to be connected transmitted by the target AP device, wherein the network information is used to identify the network to be connected; controlling the flying vehicle to access the network to be connected according to the network information.
5. The method of claim 4, wherein, The controlling of the flying vehicle to access the network to be connected according to the network information comprises: comparing the network information with historical network information stored in the flying vehicle to obtain a comparison result; in response to the comparison result representing that the network information is different from the historical network information, controlling the flying vehicle to send a disconnection instruction to the network to which the flying vehicle is connected, and controlling the flying vehicle to access the network to be connected according to the network information, wherein the disconnection instruction is used to instruct to disconnect the communication connection between the flying vehicle and the network to which the flying vehicle is connected.
6. The method of claim 3, wherein, The method further comprises: in response to the flying vehicle and the target AP device being successfully connected, transmitting the roaming data to a controller associated with the target AP device, wherein the roaming data is transmitted to a cloud by the controller.
7. A roaming data transmission system of a vehicle, characterized by, The method comprises: The flying vehicle is used to acquire a first signal strength of a source AP device and a second signal strength of a target AP device, wherein the source AP device is an edge AP device of a network to which the flying vehicle has connected, and the target AP device is an edge AP device of a network to which the flying vehicle is to be connected; determine a running state of the flying vehicle based on the first signal strength and the second signal strength; in response to the running state being a roaming state, control the flying vehicle to be communicatively connected with the target AP device, and acquire roaming data generated by the flying vehicle in the roaming state; and transmit the roaming data to the target AP device successfully connected with the flying vehicle, wherein the roaming data is used to represent a movement of the flying vehicle in the roaming state. The target AP device is used to be communicatively connected with the flying vehicle, and transmit the roaming data to a cloud.
8. The system of claim 7, wherein, The target AP device is further used to transmit network information of the network to be connected to the flying vehicle in response to the target AP device being successfully connected with the flying vehicle. The flying vehicle is further used to be communicatively connected with the network to be connected according to the network information.
9. The system of claim 8, wherein, The system further comprises: The network to be connected is used to acquire the roaming data stored in the cloud by using a coordinator in response to being successfully connected with the flying vehicle.
10. The system of claim 7, wherein, The system further comprises: A controller associated with the target AP device is used to acquire the roaming data in the target AP device in response to the flying vehicle being successfully connected with the target AP device, and transmit the roaming data to the cloud.
11. The system of claim 10, wherein, The target AP device transmits the roaming data to the controller through a data transmission tunnel.
12. A vehicle characterized by comprising: Comprise: A memory storing an executable program; A processor used to run the program, wherein the program performs the method of any one of claims 1 to 6 when running.
Citation Information
Patent Citations
Method and device for performing registration in network in wireless communication system
CN113545113A
Control of roaming in wireless networks using variable mobility thresholds
CN116113000A