US2022405213A1PendingUtilityA1

Data processing method and apparatus

Assignee: APOLLO INTELLIGENT CONNECTIVITY BEIJING TECHNOLOGY CO LTDPriority: Aug 30, 2021Filed: Aug 25, 2022Published: Dec 22, 2022
Est. expiryAug 30, 2041(~15.1 yrs left)· nominal 20-yr term from priority
Inventors:Qili Huang
H04L 43/10H04W 76/11H04M 1/72409H04L 43/08H04M 1/724098H04L 43/16G06F 13/102G06F 2213/0042H04W 88/085H04W 76/10H04L 43/0805H04L 43/0811H04W 4/40H04W 4/80H04W 4/48
29
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

The present disclosure provides a data processing method and apparatus, which relate to the field of data processing, and in particular, to the fields of internet of vehicles and smart cockpits. The specific implementation solution is: the electronic device obtains wired connection stability of the wired channel; when the wired connection stability is greater than or equal to a first threshold, the electronic device determines the wired channel as a target channel; when the wired connection stability is less than the first threshold, the electronic device obtains power of the electronic device and wireless connection stability of the wireless channel, and the electronic device determines, according to the power of the electronic device and the wireless connection stability, a target channel from the wired channel and the wireless channel; and the electronic device performs data transmission with the vehicle through the target channel.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
         1 . A data processing method, applied to an electronic device, wherein the electronic device is connected to a vehicle through a wired channel and a wireless channel, and the method comprises:
 obtaining, by the electronic device, wired connection stability of the wired channel;   when the wired connection stability is greater than or equal to a first threshold, determining, by the electronic device, the wired channel as a target channel;   when the wired connection stability is less than the first threshold, obtaining, by the electronic device, power of the electronic device and wireless connection stability of the wireless channel, and determining, by the electronic device, according to the power of the electronic device and the wireless connection stability, a target channel from the wired channel and the wireless channel; and   performing, by the electronic device, data transmission with the vehicle through the target channel.   
     
     
         2 . The method according to  claim 1 , wherein the determining, by the electronic device, according to the power of the electronic device and the wireless connection stability, the target channel from the wired channel and the wireless channel comprises:
 when the power of the electronic device is greater than or equal to a second threshold, if the wireless connection stability is greater than or equal to the first threshold, determining, by the electronic device, the wireless channel as the target channel; and if the wireless connection stability is less than the first threshold, determining, by the electronic device, the target channel according to the wired connection stability and the wireless connection stability; and   when the power of the electronic device is less than the second threshold, if the wired connection stability is greater than or equal to the first threshold, determining, by the electronic device, the wired channel as the target channel; and if the wired connection stability is less than the first threshold, determining, by the electronic device, the target channel according to the wired connection stability and the wireless connection stability.   
     
     
         3 . The method according to  claim 2 , wherein the determining, by the electronic device, the target channel according to the wired connection stability and the wireless connection stability comprises:
 if the wired connection stability is greater than the wireless connection stability, determining the wired channel as the target channel; and   if the wired connection stability is less than the wireless connection stability, determining the wireless channel as the target channel.   
     
     
         4 . The method according to  claim 1 , wherein the electronic device periodically sends a heartbeat packet to the vehicle through the wired channel, and receives a response packet corresponding to the heartbeat packet through the wired channel; the obtaining, by the electronic device, the wired connection stability of the wired channel comprises:
 obtaining, by the electronic device, a first number of heartbeat packets sent to the vehicle within a preset period of time;   obtaining, by the electronic device, a second number of received response packets sent by the vehicle within the preset period of time; and   determining, by the electronic device, the wired connection stability according to the first number and the second number.   
     
     
         5 . The method according to  claim 2 , wherein the electronic device periodically sends a heartbeat packet to the vehicle through the wired channel, and receives a response packet corresponding to the heartbeat packet through the wired channel; the obtaining, by the electronic device, the wired connection stability of the wired channel comprises:
 obtaining, by the electronic device, a first number of heartbeat packets sent to the vehicle within a preset period of time;   obtaining, by the electronic device, a second number of received response packets sent by the vehicle within the preset period of time; and   determining, by the electronic device, the wired connection stability according to the first number and the second number.   
     
     
         6 . The method according to  claim 3 , wherein the electronic device periodically sends a heartbeat packet to the vehicle through the wired channel, and receives a response packet corresponding to the heartbeat packet through the wired channel; the obtaining, by the electronic device, the wired connection stability of the wired channel comprises:
 obtaining, by the electronic device, a first number of heartbeat packets sent to the vehicle within a preset period of time;   obtaining, by the electronic device, a second number of received response packets sent by the vehicle within the preset period of time; and   determining, by the electronic device, the wired connection stability according to the first number and the second number.   
     
     
         7 . The method according to  claim 1 , wherein the electronic device periodically sends a heartbeat packet to the vehicle through the wireless channel, and receives a response packet corresponding to the heartbeat packet through the wireless channel; and obtaining, by the electronic device, wireless connection stability of the wireless channel comprises:
 obtaining, by the electronic device, a third number of heartbeat packets sent to the vehicle within a preset period of time;   obtaining, by the electronic device, a fourth number of response packets sent by the vehicle within the preset period of time; and   determining, by the electronic device, the wireless connection stability according to the third number and the fourth number.   
     
     
         8 . The method according to  claim 2 , wherein the electronic device periodically sends a heartbeat packet to the vehicle through the wireless channel, and receives a response packet corresponding to the heartbeat packet through the wireless channel; and obtaining, by the electronic device, wireless connection stability of the wireless channel comprises:
 obtaining, by the electronic device, a third number of heartbeat packets sent to the vehicle within a preset period of time;   obtaining, by the electronic device, a fourth number of response packets sent by the vehicle within the preset period of time; and   determining, by the electronic device, the wireless connection stability according to the third number and the fourth number.   
     
     
         9 . The method according to  claim 1 , before obtaining, by the electronic device, the wired connection stability of the wired channel, the method further comprising:
 establishing, by the electronic device, the wired channel connection and the wireless channel connection with the vehicle.   
     
     
         10 . The method according to  claim 9 , wherein the establishing, by the electronic device, the wired channel connection and the wireless channel connection with the vehicle comprises:
 establishing, by the electronic device, the wired channel with the vehicle through a universal serial bus (USB) connection cable;   receiving, by the electronic device, a vehicle identification sent by the vehicle through the wired channel;   establishing, by the electronic device, a direct connection network with the vehicle according to the vehicle identification, wherein the direct connection network is used to enable the electronic device and the vehicle in a same local area network; and   sending, by the electronic device, a wireless channel address to the vehicle through the direct connection network, to enable the vehicle to establish the wireless channel with the electronic device according to the wireless channel address.   
     
     
         11 . The method according to  claim 9 , wherein the vehicle is connected to a hotspot network of the electronic device; and the establishing, by the electronic device, the wired channel connection and the wireless channel connection with the vehicle comprises:
 sending, by the electronic device, a wireless channel address to the vehicle through the hotspot network, to enable the vehicle to establish the wireless channel with the electronic device according to the wireless channel address; and   establishing, by the electronic device, the wired channel with the vehicle through a USB connection cable.   
     
     
         12 . A data processing apparatus, applied to an electronic device, wherein the electronic device is connected to a vehicle through a wired channel and a wireless channel, and the apparatus comprises:
 at least one processor;   a transceiver connected with the at least one processor; and   a memory connected in communication with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to:   obtain wired connection stability of the wired channel;   when the wired connection stability is greater than or equal to a first threshold, determine the wired channel as a target channel;   when the wired connection stability is less than the first threshold, obtain power of the electronic device and wireless connection stability of the wireless channel, and determine, according to the power of the electronic device and the wireless connection stability, a target channel from the wired channel and the wireless channel; and   perform, through the transceiver, data transmission with the vehicle through the target channel.   
     
     
         13 . The apparatus according to  claim 12 , wherein the at least one processor is further caused to:
 when the power of the electronic device is greater than or equal to a second threshold, if the wireless connection stability is greater than or equal to the first threshold, determine the wireless channel as the target channel; and if the wireless connection stability is less than the first threshold, determine the target channel according to the wired connection stability and the wireless connection stability; and   when the power of the electronic device is less than the second threshold, if the wired connection stability is greater than or equal to the first threshold, determine the wired channel as the target channel; and if the wired connection stability is less than the first threshold, determine the target channel according to the wired connection stability and the wireless connection stability.   
     
     
         14 . The apparatus according to  claim 13 , wherein the at least one processor is further caused to:
 if the wired connection stability is greater than the wireless connection stability, determine the wired channel as the target channel; and   if the wired connection stability is less than the wireless connection stability, determine the wireless channel as the target channel.   
     
     
         15 . The apparatus according to  claim 12 , wherein the electronic device periodically sends a heartbeat packet to the vehicle through the wired channel, and receives a response packet corresponding to the heartbeat packet through the wired channel; and the at least one processor is further caused to:
 obtain a first number of heartbeat packets sent to the vehicle within a preset period of time;   obtain a second number of received response packets sent by the vehicle within the preset period of time; and   determine the wired connection stability according to the first number and the second number.   
     
     
         16 . The apparatus according to  claim 12 , wherein the electronic device periodically sends a heartbeat packet to the vehicle through the wireless channel, and receives a response packet corresponding to the heartbeat packet through the wireless channel; and the at least one processor is further caused to:
 obtain a third number of heartbeat packets sent to the vehicle within a preset period of time;   obtain a fourth number of response packets sent by the vehicle within the preset period of time; and   determine the wireless connection stability according to the third number and the fourth number.   
     
     
         17 . The apparatus according to  claim 12 , wherein the at least one processor is further caused to:
 establish the wired channel connection and the wireless channel connection with the vehicle before the electronic device obtains the wired connection stability of the wired channel.   
     
     
         18 . The apparatus according to  claim 17 , wherein the at least one processor is further caused to:
 establish the wired channel with the vehicle through a universal serial bus (USB) connection cable;   receive, through the transceiver, a vehicle identification sent by the vehicle through the wired channel;   establish a direct connection network with the vehicle according to the vehicle identification, wherein the direct connection network is used to enable the electronic device and the vehicle in a same local area network; and   send, through the transceiver, a wireless channel address to the vehicle through the direct connection network, to enable the vehicle to establish the wireless channel with the electronic device according to the wireless channel address.   
     
     
         19 . The apparatus according to  claim 17 , wherein the vehicle is connected to a hotspot network of the electronic device; and the at least one processor is further caused to:
 send, through the transceiver, a wireless channel address to the vehicle through the hotspot network, to enable the vehicle to establish the wireless channel with the electronic device according to the wireless channel address; and   establish the wired channel with the vehicle through a USB connection cable.   
     
     
         20 . A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to perform the following steps:
 obtaining wired connection stability of the wired channel;   when the wired connection stability is greater than or equal to a first threshold, determining the wired channel as a target channel;   when the wired connection stability is less than the first threshold, obtaining power of the electronic device and wireless connection stability of the wireless channel, and determining, according to the power of the electronic device and the wireless connection stability, a target channel from the wired channel and the wireless channel; and   performing data transmission with the vehicle through the target channel.

Join the waitlist — get patent alerts

Track US2022405213A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.