Data transmission control method and device, electronic equipment and storage medium

By entering a dormant state with the weakest control signal, data download from vehicles with strong signal is preferred, which solves the problem of download speed attenuation after routers are connected to multiple vehicles and improves data transmission efficiency.

CN120358471APending Publication Date: 2025-07-22SHENZHEN STREAMING VIDEO TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510414085.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-02
Publication Date
2025-07-22

AI Technical Summary

Technical Problem

After the vehicle operation is over, when the router connects to a large number of vehicles, the download speed is degraded greatly, resulting in low data transmission efficiency.

Method used

When the router connects to the second vehicle, the vehicle with the weakest control signal according to the wireless signal strength enters a dormant state, and data is preferred to download from the vehicle with strong signal.

Benefits of technology

Avoid download speed attenuation caused by access to new vehicles and improve overall data transmission efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120358471A_ABST
    Figure CN120358471A_ABST
Patent Text Reader

Abstract

The invention discloses a data transmission control method and device, electronic equipment and a storage medium, and the control method comprises the steps: determining the first wireless signal intensity of wireless connection between a second vehicle and a router when determining that the router wirelessly accesses the second vehicle and starts data downloading; when it is determined that the first wireless signal strength is the first signal strength grade, the target first vehicle corresponding to the weakest second wireless signal strength in the at least one second wireless signal strength is controlled to enter a dormant state, and wireless connection between each first vehicle and the router corresponds to one second wireless signal strength. According to the method, after the router accesses at least one first vehicle, if the router accesses the second vehicle and the signal wirelessly connected with the second vehicle reaches the first signal strength level, the target first vehicle and the router are controlled to enter the dormant state under the condition that the connection is maintained, so that the transmission of vehicle data is accelerated on the whole; and the transmission efficiency of data transmission is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the technical field of vehicle communication, and particularly relates to a control method for data transmission, a control device, an electronic device, and a storage medium. Background Art

[0002] Currently, after the vehicle operation ends and returns to the station, the vehicle is wirelessly connected to the router configured in the station. The router downloads operation data from the vehicle through the wireless connection with the vehicle for subsequent evidence collection.

[0003] However, when the number of vehicles connected to the router is large and a new vehicle is connected, the download speed of the router downloading operation data from the vehicle decays significantly, resulting in a sharp increase in the download time and low transmission efficiency of data transmission. Summary of the Invention

[0004] In view of this, embodiments of this application provide a control method for data transmission, a control device, an electronic device, and a storage medium to overcome the above problems of the prior art.

[0005] In a first aspect, an embodiment of this application provides a control method for data transmission, which is applied to a controller. The controller is communicatively connected to a router and a first vehicle group. The router is wirelessly connected to at least one first vehicle in the first vehicle group. The control method for data transmission includes: when it is determined that the router wirelessly accesses a second vehicle and starts data download, determining a first wireless signal strength of the wireless connection between the second vehicle and the router; when it is determined that the first wireless signal strength is at a first signal strength level, controlling a target first vehicle corresponding to the weakest second wireless signal strength among at least one second wireless signal strength to enter a sleep state, and each wireless connection between the first vehicle and the router corresponds to one of the second wireless signal strengths.

[0006] Wherein, in some optional embodiments, after determining the first wireless signal strength of the wireless connection between the second vehicle and the router, the control method for data transmission further includes: when it is determined that the first wireless signal strength is at a second signal strength level, determining whether a first download speed is less than a second download speed. The first download speed is used to represent the speed at which the router downloads data from the target first vehicle, and the second download speed is used to represent the speed at which the router downloads data from the second vehicle. The first signal strength level is greater than the second signal strength level; when it is determined that the first download speed is less than the second download speed, controlling the target first vehicle to enter the sleep state.

[0007] Among them, in some alternative embodiments, after determining that the first wireless signal strength is at the second signal strength level and then determining whether the first download speed is less than the second download speed, the data transmission control method further includes: when determining that the first download speed is greater than or equal to the second download speed, controlling the second vehicle to enter the sleep state.

[0008] Among them, in some alternative embodiments, after determining the first wireless signal strength of the wireless connection between the second vehicle and the router, the data transmission control method further includes: when determining that the first wireless signal strength is at the third signal strength level, controlling the second vehicle to enter the sleep state, where the second signal strength level is greater than the third signal strength level.

[0009] Among them, in some alternative embodiments, after controlling the second vehicle to enter the sleep state, the data transmission control method further includes: waking up the second vehicle according to a preset duration; after determining that the second vehicle wakes up, performing the steps of determining the first wireless signal strength of the wireless connection between the second vehicle and the router and subsequent steps.

[0010] Among them, in some alternative embodiments, after controlling the target first vehicle corresponding to the weakest second wireless signal strength among at least one second wireless signal strength to enter the sleep state, the data transmission control method further includes: when determining that the router has completed downloading data from the target vehicle, controlling the target vehicle to disconnect the wireless connection with the router, where the target vehicle is the second vehicle or any vehicle among the other first vehicles in the first vehicle group excluding the target first vehicle; when determining that there is a sleeping vehicle in the to-be-downloaded state, waking up the sleeping vehicle; updating the sleeping vehicle that has exited the sleep state to the second vehicle, and controlling the second vehicle to send a connection request to the router, where the connection request is used to instruct the router to establish a wireless connection with the second vehicle; performing the steps of determining the first wireless signal strength of the wireless connection between the second vehicle and the router and subsequent steps when determining that the router wirelessly accesses the second vehicle and starts data downloading.

[0011] Among them, in some alternative embodiments, after determining that the router wirelessly accesses the second vehicle and starts data download, the control method of data transmission further includes: obtaining an initial download speed at which the router downloads data from the first vehicle group before accessing the second vehicle, and a current download speed at which the router downloads data from the first vehicle group after accessing the second vehicle; when the initial download speed and the current download speed meet a preset attenuation condition, performing the steps of determining the first wireless signal strength of the wireless connection between the second vehicle and the router and subsequent steps.

[0012] In a second aspect, an embodiment of the present application provides a control device for data transmission, which is applied to a controller. The controller is communicatively connected to a router and a first vehicle group. The router is wirelessly connected to at least one first vehicle in the first vehicle group. The control device for data transmission includes a first determination module and a first control module. The first determination module is configured to determine the first wireless signal strength of the wireless connection between the second vehicle and the router when it is determined that the router wirelessly accesses the second vehicle and starts data download; the first control module is configured to control a target first vehicle corresponding to the weakest second wireless signal strength among at least one second wireless signal strength to enter a sleep state when it is determined that the first wireless signal strength is at a first signal strength level, and each wireless connection between the first vehicle and the router corresponds to one of the second wireless signal strengths.

[0013] In a third aspect, an embodiment of the present application provides an electronic device, including a memory; one or more processors coupled to the memory; and one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more application programs are configured to execute the control method of data transmission provided in the first aspect as described above.

[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which program code is stored, and the program code can be called by a processor to execute the control method of data transmission provided in the first aspect as described above.

[0015] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when running on a computer device, causes the computer device to execute the control method of data transmission provided in the first aspect as described above.

[0016] In the solution provided by this application, after at least one first vehicle is connected to the router, if a second vehicle is connected and the signal for wireless connection with the second vehicle reaches the above-mentioned first signal strength level, the target first vehicle with the weakest wireless signal strength among the original first vehicles is controlled to enter the sleep state while maintaining the connection with the router, thereby preventing vehicles with weak signals from preempting resources and preferentially downloading data from vehicles with strong signals, avoiding the problem that the download speed decays significantly due to the connection of new vehicles to the router, accelerating the transmission of vehicle data as a whole, and improving the transmission efficiency of data transmission. Description of the Drawings

[0017] To more clearly illustrate the technical solutions in the embodiments of this application, the following will briefly introduce the drawings required for use in the embodiments or exemplary technical descriptions. Obviously, the drawings in the following description are only some embodiments of this application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0018] Figure 1 Fig. shows a schematic diagram of a scenario of the vehicle operation system provided by an embodiment of this application.

[0019] Figure 2 Fig. shows a schematic flowchart of a control method for data transmission provided by an embodiment of this application.

[0020] Figure 3 Fig. shows another schematic flowchart of a control method for data transmission provided by an embodiment of this application.

[0021] Figure 4 Fig. shows yet another schematic flowchart of a control method for data transmission provided by an embodiment of this application.

[0022] Figure 5 Fig. shows a structural block diagram of a control device for data transmission provided by an embodiment of this application.

[0023] Figure 6 Fig. shows a functional block diagram of an electronic device provided by an embodiment of this application.

[0024] Figure 7 Fig. shows a computer-readable storage medium for storing or carrying program codes for implementing the control method for data transmission provided by an embodiment of this application.

[0025] Figure 8 Fig. shows a computer program product for storing or carrying program codes for implementing the control method for data transmission provided by an embodiment of this application. Detailed Embodiments

[0026] To make the objectives, features, and advantages of this application more obvious and understandable, the following will clearly and completely describe the technical solutions in the embodiments of this application with reference to the accompanying drawings in the embodiments of this application. Obviously, the embodiments described below are only a part of the embodiments of this application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0027] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, wholes, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their combinations.

[0028] It should also be understood that the terms used in this specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. As used in this specification of this application and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" are intended to include the plural forms.

[0029] It should be further understood that the term "and / or" used in this specification of this application and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0030] In addition, in the description of this application, the terms "first", "second", "third", etc. are only used for distinguishing descriptions and cannot be understood as indicating or implying relative importance.

[0031] Currently, after the vehicle operation ends and the vehicle returns to the station yard, the vehicle is wirelessly connected to the router configured in the station yard, and the router downloads the operation data from the vehicle through the wireless connection with the vehicle for subsequent evidence collection.

[0032] The operation data here mainly refers to the surveillance video. Since the video clarity is getting higher and the video is getting larger now, in order to avoid incomplete download of video evidence after the vehicle returns to the station yard, although the single-stream speed of the current Wi-Fi is very fast and can reach 1.2 GB / S. However, when the number of vehicles connected to the router is too large, resource contention will occur, and the overall download speed of the router will decay significantly. The time for the router to download video evidence from the connected vehicles will increase sharply, resulting in low transmission efficiency of data transmission.

[0033] In response to the above problems, the data transmission control method, control device, electronic device and storage medium provided in the embodiments of the present application, when it is determined that the router is wirelessly connected to the second vehicle and data download is started, determine the first wireless signal strength of the wireless connection between the second vehicle and the router, and when it is determined that the first wireless signal strength is the first signal strength level, control the target first vehicle corresponding to the weakest second wireless signal strength among at least one second wireless signal strength to enter a sleep state, and each wireless connection between the first vehicle and the router corresponds to a second wireless signal strength.

[0034] The solution provided by the present application is that after the router is connected to at least one first vehicle, if a second vehicle is connected and the signal of the wireless connection with the second vehicle reaches the above-mentioned first signal strength level, the target first vehicle with the weakest wireless signal strength among the above-mentioned first vehicles and the router are controlled to enter a sleep state while maintaining the connection, thereby preventing vehicles with weak signals from occupying resources, and giving priority to downloading data from vehicles with strong signals. This can avoid the problem of a large attenuation of the download speed of the router due to the connection of a new vehicle, thereby speeding up the transmission of vehicle data as a whole and improving the transmission efficiency of data transmission.

[0035] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0036] See also Figure 1 , which shows a schematic diagram of an application scenario of the vehicle operation system provided in an embodiment of the present application. The vehicle operation system may include a first vehicle group 100, a router 200, a controller 300 and a second vehicle 400. The controller 300 is communicatively connected to the first vehicle group 100, the router 200 and the second vehicle 400, and exchanges data with the first vehicle group 100, the router 200 and the second vehicle 400.

[0037] The first vehicle group 100 may include a plurality of first vehicles 110, and each first vehicle 110 may be wirelessly connected to the router 200. For example, each first vehicle 110 may be connected to the router 200 via Wireless Fidelity (Wi-Fi).

[0038] The first vehicle 110 can be any one of an electric vehicle (e.g., an electric car, a battery car, etc.), a hybrid vehicle (e.g., a hybrid electric vehicle (HEV)), a fuel vehicle, or a gas vehicle, etc. The type of the first vehicle 110 is not limited here, and can be specifically set according to actual needs.

[0039] The controller 300 may be a terminal device or a server, etc. The type of the controller 300 is not limited here and may be specifically configured according to actual needs.

[0040] The terminal device can be a mobile terminal device (for example, any one of an intelligent driving recorder terminal, a mobile phone, a personal digital assistant (PDA), a tablet personal computer (TabletPC), a laptop computer, a smart watch, a smart bracelet, or a wearable device, etc.), or a fixed terminal device (such as a desktop computer, a smart panel, etc.).

[0041] The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or can also be any one of cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery network (CDN), big data, or artificial intelligence platforms, etc.

[0042] The second vehicle 400 can be any one of an electric vehicle (for example, an electric car, an electric scooter, etc.), a hybrid vehicle (for example, a hybrid electric vehicle (HEV)), a fuel vehicle, or a gas vehicle, etc. The type of the second vehicle 400 is not limited here, and can be specifically set according to actual needs.

[0043] In some embodiments, the vehicle operation system may further include an operation platform 500, and the operation platform 500 can be communicatively connected to the router 200 and perform data interaction with the router 200.

[0044] Among them, the operation platform 500 can be an independent physical cloud platform, or a cloud platform cluster or distributed system composed of multiple physical cloud platforms, or can also be any one of cloud platforms that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery network (CDN), big data, or artificial intelligence platforms, etc.

[0045] Please refer to Figure 2 , which shows a flowchart of a control method for data transmission provided by an embodiment of the present application. In a specific embodiment, the control method for data transmission can be applied to the controller 300 in the vehicle operation system as shown in Figure 1 . Taking the controller 300 as an example, the process shown in Figure 2 will be elaborated in detail below. The control method for data transmission may include the following steps 110 to step 120.

[0046] Step 110: When it is determined that the router wirelessly accesses the second vehicle and starts data download, determine the first wireless signal strength of the wireless connection between the second vehicle and the router.

[0047] In some embodiments, when the router wirelessly accesses the second vehicle and starts data download, at this time, the controller obtains the first wireless signal strength of the wireless connection between the second vehicle and the router. Specifically, the controller may send a first determination instruction to the router. The router receives and responds to the first determination instruction, analyzes the wireless connection signal of the router wirelessly connected to the second vehicle, obtains the first wireless signal strength, and sends the first wireless signal strength to the controller. The controller receives the first wireless signal strength returned by the router.

[0048] In some embodiments, when the controller determines that the router wirelessly accesses the second vehicle and starts data download, it may send a second determination instruction to the second vehicle. The second vehicle receives and responds to the second determination instruction, analyzes the wireless connection signal of the second vehicle wirelessly connected to the router, obtains the first wireless signal strength, and sends the first wireless signal strength to the controller. The controller receives the first wireless signal strength returned by the second vehicle.

[0049] In some embodiments, after determining the first wireless signal strength of the wireless connection between the second vehicle and the router when the controller determines that the router wirelessly accesses the second vehicle and starts data download, the signal strength level of the first wireless signal strength may be determined.

[0050] Among them, the signal strength levels may include a first signal strength level, a second signal strength level, and a third signal strength level, etc. The first signal strength level is greater than the second signal strength level, and the second signal strength level is greater than the third signal strength level.

[0051] Step 120: When it is determined that the first wireless signal strength is the first signal strength level, control the target first vehicle corresponding to the weakest second wireless signal strength among at least one second wireless signal strength to enter the sleep state. Each first vehicle's wireless connection to the router corresponds to a second wireless signal strength.

[0052] In the embodiments of the present application, when the controller determines that the first wireless signal strength is the first signal strength level, it may send a first control instruction to the target first vehicle. The target first vehicle receives and responds to the first control instruction and enters the sleep state.

[0053] Among them, the target first vehicle is the vehicle with the weakest wireless signal strength among multiple first vehicles.

[0054] The sleep state can be used to characterize that the vehicle does not transmit data while maintaining a wireless connection with the router, does not preempt network resources, and the vehicle in the sleep state has low power consumption.

[0055] Among them, the data can include at least any one of positioning data, mileage data, operating parameters, etc., which is not limited here.

[0056] In the solution provided by this application, after the router accesses at least one first vehicle, if a second vehicle is accessed and the signal of the wireless connection with the second vehicle reaches the above-mentioned first signal strength level, the target first vehicle with the weakest wireless signal strength among the original first vehicles is controlled to enter the sleep state while maintaining the connection with the router, so as to prevent the vehicle with weak signal from preempting resources and preferentially downloading data from the vehicle with strong signal, which can avoid the problem that the download speed decays greatly due to the access of a new vehicle to the router, and overall speeds up the transmission of vehicle data and improves the transmission efficiency of data transmission.

[0057] In some embodiments, after the controller controls the target first vehicle corresponding to the weakest second wireless signal strength among at least one second wireless signal strength to enter the sleep state, when it is determined that the router has completed downloading data from the target vehicle, a second control instruction can be sent to the target vehicle, and the target vehicle receives and responds to the second control instruction to disconnect the wireless connection with the router. The controller determines whether there is a sleep vehicle in the waiting-to-download state. If so, a first wake-up instruction is sent to the sleep vehicle, so that the sleep vehicle exits the sleep state according to the first wake-up instruction, and the sleep vehicle that has exited the sleep state is updated as the second vehicle, and a third control instruction is sent to the second vehicle, so that the second vehicle sends a connection request to the router according to the third control instruction, so that the router establishes a wireless connection with the second vehicle according to the connection request, and returns to execute step 110-step 120. In this embodiment, by checking whether there is a sleep vehicle and, if so, downloading the vehicle data according to the principle of preferential download of strong signals designed originally, it avoids ignoring the download of data due to vehicle sleep and at the same time ensures the download speed and efficiency.

[0058] Among them, the target vehicle can be any vehicle among the second vehicle or the other first vehicles in the first vehicle group except the target first vehicle.

[0059] The controller can determine whether the router has completed downloading data from the target vehicle according to the size of the data to be downloaded of the target vehicle and the size of the downloaded data that the router has downloaded from the target vehicle.

[0060] When the size of the downloaded data is greater than or equal to the size of the data to be downloaded, it is determined that the router has completed downloading operation data from the target vehicle; when the downloaded data is less than the data to be downloaded, it is determined that the router has not completed downloading operation data from the target vehicle.

[0061] The controller can obtain the vehicle status of all vehicles that have established a communication connection, and determine whether there are dormant vehicles in the state of waiting to be downloaded based on the vehicle status.

[0062] Please refer to Figure 3 , which shows a flowchart of a control method for data transmission provided by another embodiment of the present application. In a specific embodiment, the control method for data transmission can be applied to a controller 300 in a vehicle operation system as shown in Figure 1 . Taking the controller 300 as an example, the following will elaborate in detail on the Figure 3 process shown. The control method for data transmission may include the following steps 210 to step 230.

[0063] Step 210: When it is determined that the router wirelessly accesses the second vehicle and starts data download, determine the first wireless signal strength of the wireless connection between the second vehicle and the router.

[0064] In this embodiment, step 210 can refer to the content of the corresponding step in the foregoing embodiment, which will not be elaborated here.

[0065] Step 220: When it is determined that the first wireless signal strength is the second signal strength level, determine whether the first download speed is less than the second download speed.

[0066] In this embodiment, when the controller determines that the first wireless signal strength is the second signal strength level, it can obtain the first download speed at which the router downloads data from the target first vehicle and the second download speed at which the router downloads data from the second vehicle, and determine whether the first download speed is less than the second download speed.

[0067] Among them, the controller can send a first acquisition instruction to the router. The router receives and responds to the first acquisition instruction, and sends the first download speed at which the router downloads data from the target first vehicle to the controller, and the controller receives the first download speed returned by the router.

[0068] The controller can send a second acquisition instruction to the router. The router receives and responds to the second acquisition instruction, sends test data to the second vehicle, determines the transmission rate of the test data as the second download speed at which the router downloads data from the second vehicle, and sends the second download speed to the controller, and the controller receives the second download speed returned by the router.

[0069] The controller can calculate the speed difference between the first download speed and the second download speed, and determine whether the first download speed is less than the second download speed based on the speed difference.

[0070] In this embodiment, the second signal strength level is less than the first signal strength level.

[0071] Step 230: When it is determined that the first download speed is less than the second download speed, the target first vehicle is controlled to enter a dormant state.

[0072] In this embodiment, when the controller determines that the first download speed is less than the second download speed, a fourth control instruction may be sent to the target first vehicle. The target first vehicle receives and responds to the fourth control instruction and enters a dormant state.

[0073] In this embodiment, when the signal strength of the wireless connection of the second connected vehicle is at the second signal strength level, that is, the signal strength is medium, by comparing the data download speed of the second vehicle and the vehicle with the weakest signal in the first vehicle, data download is given priority to the vehicle with a stronger download speed, and the vehicle with a slower download speed is controlled to enter sleep mode to ensure that it does not occupy network resources, thereby avoiding the problem of a large attenuation of the download speed of the router due to the access of a new vehicle, and speeding up the transmission efficiency of data transmission.

[0074] In some embodiments, Figure 4 As shown, the data transmission control method may further include step 240: when it is determined that the first download speed is greater than or equal to the second download speed, the second vehicle is controlled to enter a dormant state. Specifically, when the controller determines that the first download speed is greater than or equal to the second download speed, a fifth control instruction may be sent to the second vehicle, and the second vehicle receives and responds to the fifth control instruction and enters a dormant state, thereby controlling the second vehicle to enter a dormant state when the download speed of the second vehicle newly connected to the router is relatively low, and maintaining the download state of the previously connected vehicle, thereby avoiding the problem of increased download time due to the access of the router to a vehicle with a relatively low download speed, and facilitating the improvement of the transmission efficiency of data transmission.

[0075] In some embodiments, when the controller determines that the first wireless signal strength is at the third signal strength level, a sixth control instruction can be sent to the second vehicle. The second vehicle receives and responds to the sixth control instruction and enters a sleep state. The third signal strength level is less than the second signal strength level, indicating that when the wireless connection signal of the second vehicle is weak, the second vehicle is directly controlled to enter sleep mode, thereby avoiding the occupation of network resources and the problem of increased download time due to the router accessing a vehicle with a poor signal. This is beneficial to improving the transmission efficiency of data transmission.

[0076] In some embodiments, after the controller controls the second vehicle to enter the sleep state, the second vehicle can be woken up according to a preset duration, and after determining that the second vehicle is woken up, steps 110 - 120, or steps 210 - 240 are returned for execution. This embodiment realizes controlling the second vehicle to continuously access the router so that the router can download data from the second vehicle, avoiding data loss of the second vehicle caused by the router not timely downloading the data of the second vehicle when the second vehicle is in the sleep state, and improving the storage security of the data.

[0077] Among them, the controller can send a second wake-up instruction to the second vehicle at intervals of a preset duration, and the second vehicle receives and responds to the second wake-up instruction to exit the sleep state.

[0078] The preset duration can be a duration preset by the user, or the duration after the data of one vehicle is downloaded, or a duration automatically generated by the controller according to the control process of multiple data transmissions, etc., which is not limited here.

[0079] In some embodiments, before step 110 or step 210, after the controller determines that the router wirelessly accesses the second vehicle and starts data downloading, the initial download speed at which the router downloads data from the first vehicle group before accessing the second vehicle and the current download speed at which the router downloads data from the first vehicle group after accessing the second vehicle can be obtained. When the initial download speed and the current download speed meet the preset attenuation condition, steps 110 - 120, or steps 210 - 230 are executed. In this embodiment, only when the download speed of the router decays to a certain extent after accessing the second vehicle, will a certain vehicle be controlled to enter the sleep state and the download be interrupted. If the download speed of the router does not decay to a certain extent after accessing the second vehicle, then the data download will proceed directly as normal, which can avoid the interruption of the download of the first vehicle group when the download speed of the router is not preempted and ensure the continuity of the router's data download.

[0080] Among them, the preset attenuation condition is that the difference between the current download speed and the initial download speed reaches a set threshold.

[0081] Please refer to Figure 5 , which shows a control device 600 for data transmission provided by an embodiment of the present application. In a specific embodiment, the control device 600 for data transmission can be applied to a controller 300 in a vehicle operation system as shown in Figure 1 . Taking the controller 300 as an example below, the control device 600 for data transmission shown in Figure 5 will be elaborated in detail. The control device 600 for data transmission can include a first determination module 610 and a first control module 620.

[0082] The first determination module 610 can be used to determine the first wireless signal strength of the wireless connection between the second vehicle and the router when it is determined that the router wirelessly accesses the second vehicle and starts data download; the first control module 620 can be used to control the target first vehicle corresponding to the weakest second wireless signal strength among at least one second wireless signal strength to enter the sleep state when it is determined that the first wireless signal strength is at the first signal strength level, and each first vehicle can correspond to a second wireless signal strength for the wireless connection with the router.

[0083] In some embodiments, the data transmission control device 600 may further include a second determination module and a second control module.

[0084] The second determination module can be used to determine whether the first download speed is less than the second download speed when it is determined that the first wireless signal strength is at the second signal strength level after the first determination module 610 determines the first wireless signal strength of the wireless connection between the second vehicle and the router. The first download speed can be used to represent the speed at which the router downloads data from the target first vehicle, and the second download speed can be used to represent the speed at which the router downloads data from the second vehicle. The first signal strength level is greater than the second signal strength level; the second control module can be used to control the target first vehicle to enter the sleep state when it is determined that the first download speed is less than the second download speed.

[0085] In some embodiments, the data transmission control device 600 may further include a third control module.

[0086] The third control module can be used to control the second vehicle to enter the sleep state when it is determined that the first wireless signal strength is at the second signal strength level and after the second determination module determines whether the first download speed is less than the second download speed, and when it is determined that the first download speed is greater than or equal to the second download speed.

[0087] In some embodiments, the data transmission control device 600 may further include a fourth control module.

[0088] The fourth control module can be used to control the second vehicle to enter the sleep state when it is determined that the first wireless signal strength is at the third signal strength level after the first determination module 610 determines the first wireless signal strength of the wireless connection between the second vehicle and the router. The second signal strength level is greater than the third signal strength level.

[0089] In some embodiments, the data transmission control device 600 may further include a first wake-up module and a first execution module.

[0090] The first wake-up module can be used to wake up the second vehicle according to a preset duration after the third control module or the fourth control module controls the second vehicle to enter the sleep state; the first execution module can be used to execute the steps of determining the first wireless signal strength of the wireless connection between the second vehicle and the router and subsequent steps after determining that the second vehicle is woken up.

[0091] In some embodiments, the control device 600 for data transmission may further include a fifth control module, a second wake-up module, an update module, and a second execution module.

[0092] The fifth control module can be used to control the target first vehicle corresponding to the weakest second wireless signal strength among at least one second wireless signal strength to enter the sleep state by the first control module 620, and when it is determined that the router has completed downloading data from the target vehicle, control the target vehicle to disconnect the wireless connection with the router. The target vehicle can be any vehicle among the second vehicle or other first vehicles in the first vehicle group except the target first vehicle; the second wake-up module can be used to wake up the sleeping vehicle when it is determined that there is a sleeping vehicle in the pending download state; the update module can be used to update the sleeping vehicle that has exited the sleep state to the second vehicle, and control the second vehicle to send a connection request to the router. The connection request can be used to instruct the router to establish a wireless connection with the second vehicle; the second execution module can be used to execute the steps of determining the first wireless signal strength of the wireless connection between the second vehicle and the router and subsequent steps when it is determined that the router wirelessly accesses the second vehicle and starts data downloading.

[0093] In some embodiments, the control device 600 for data transmission may further include an acquisition module and a third execution module.

[0094] The acquisition module can be used to acquire the initial download speed at which the router downloads data from the first vehicle group before accessing the second vehicle, and the current download speed at which the router downloads data from the first vehicle group after accessing the second vehicle after the first determination module 610 determines that the router wirelessly accesses the second vehicle and starts data downloading; the third execution module can be used to execute the steps of determining the first wireless signal strength of the wireless connection between the second vehicle and the router and subsequent steps when the initial download speed and the current download speed meet a preset attenuation condition.

[0095] In the solution provided in this embodiment, after the router accesses at least one first vehicle, if a second vehicle is accessed and the signal for wireless connection with the second vehicle reaches the above-mentioned first signal strength level, the target first vehicle with the weakest wireless signal strength among the original first vehicles is controlled to enter the sleep state while maintaining the connection with the router, so as to prevent the vehicle with weak signal from preempting resources and preferentially downloading data from the vehicle with strong signal, which can avoid the problem that the download speed decays greatly due to the access of a new vehicle to the router, and overall speed up the transmission of vehicle data and improve the transmission efficiency of data transmission.

[0096] It should be noted that the various embodiments in this specification are all described in a progressive manner. Each embodiment focuses on the differences from other embodiments. For the parts that are the same or similar among the various embodiments, reference can be made to each other. For the device embodiments, since they are basically similar to the method embodiments, the description is relatively simple. For the relevant parts, reference can be made to the partial description of the method embodiments. For any processing method described in the method embodiments, it can be implemented by the corresponding processing module in the device embodiments, and will not be elaborated one by one in the device embodiments.

[0097] In addition, in each embodiment of the present application, the various functional modules can be integrated in one processing module, or each module can exist physically alone, or two or more modules can be integrated in one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module.

[0098] Please refer to Figure 6 , which shows a functional block diagram of an electronic device 700 provided in an embodiment of the present application. The electronic device 700 may include one or more of the following components: a memory 710, a processor 720, and one or more application programs, where one or more application programs may be stored in the memory 710 and configured to be executed by one or more processors 720, and one or more application programs are configured to execute the method described in the foregoing method embodiment.

[0099] The memory 710 may include a Random Access Memory (RAM), and may also include a Read-Only Memory. The memory 710 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 710 may include a program storage area and a data storage area. Among them, the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as determining wireless access to a second vehicle, determining a first wireless signal strength, determining that the first wireless signal strength is a first signal strength level, controlling a target first vehicle to enter a sleep state, determining that the first wireless signal strength is a second signal strength level, determining whether a first download speed is less than a second download speed, determining that the first download speed is less than the second download speed, determining that the first download speed is greater than or equal to the second download speed, controlling a second vehicle to enter a sleep state, determining that the first wireless signal strength is a third signal strength level, waking up the second vehicle, determining that data download is completed, disconnecting a wireless connection, updating to the second vehicle, determining that there is a sleeping vehicle in a pending download state, waking up the sleeping vehicle, and sending a connection request, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data created during the use of the electronic device 700 (such as a controller, a router, a first vehicle group, at least one first vehicle, a second vehicle, a first wireless signal strength, a first signal strength level, at least one second wireless signal strength, the weakest second wireless signal strength, a target first vehicle, a sleep state, other first vehicles, a second signal strength level, a first download speed, a second download speed, the first signal strength level is greater than the second signal strength level, a third signal strength level, the second signal strength level is greater than the third signal strength level, a preset duration, a target vehicle, a pending download state, a sleeping vehicle, and a connection request), etc.

[0100] The processor 720 may include one or more processing cores. The processor 720 connects various parts within the entire electronic device 700 through various interfaces and lines, and executes various functions of the electronic device 700 and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 710, and by calling the data stored in the memory 710. Optionally, the processor 720 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), or programmable logic array (PLA). The processor 720 may integrate a combination of one or more of a central processing unit (CPU), a graphics processing unit (GPU), and a modem, etc. Among them, the CPU mainly processes the operating system, user interface, application programs, etc.; the GPU is responsible for rendering and drawing the display content; the modem is used to process wireless communication. It can be understood that the above modem may not be integrated into the processor 720 and may be implemented separately by a communication chip.

[0101] Please refer to Figure 7 , which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. Program code 810 is stored in the computer-readable storage medium 800, and the program code 810 can be called by a processor to execute the method described in the above method embodiment.

[0102] The computer-readable storage medium 800 may be an electronic memory such as a flash memory, EEPROM (electrically erasable programmable read-only memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 800 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 800 has a storage space for the program code 810 that executes any method step in the above method. These program codes may be read out from or written into one or more computer program products. The program code 810 may be compressed in an appropriate form, for example.

[0103] Please refer to Figure 8, which shows a structural block diagram of a computer program product 900 provided in an embodiment of the present application. The computer program product 900 includes a computer program / instruction 910, and the computer program / instruction 910 is stored in a computer-readable storage medium of a computer device. When the computer program product 900 is run on a computer device, a processor of the computer device reads the computer program / instruction 910 from the computer-readable storage medium, and the processor executes the computer program / instruction 910, so that the computer device performs the method described in the above method embodiment.

[0104] The solution provided in this embodiment is that after the router is connected to at least one first vehicle, if a second vehicle is connected and the signal of the wireless connection with the second vehicle reaches the above-mentioned first signal strength level, the target first vehicle with the weakest wireless signal strength among the above-mentioned first vehicles and the router are controlled to enter a dormant state while maintaining the connection, thereby preventing vehicles with weak signals from occupying resources and giving priority to downloading data from vehicles with strong signals. This can avoid the problem of a large attenuation of the download speed of the router due to the connection of a new vehicle, thereby accelerating the transmission of vehicle data as a whole and improving the transmission efficiency of data transmission.

[0105] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A control method for data transmission, characterized in that, Applied to a controller, the controller is communicatively connected to a router and a first vehicle group, the router is wirelessly connected to at least one first vehicle in the first vehicle group, and the control method includes: When it is determined that the router wirelessly accesses a second vehicle and starts data download, determine the first wireless signal strength of the wireless connection between the second vehicle and the router; When it is determined that the first wireless signal strength is at a first signal strength level, control the target first vehicle corresponding to the weakest second wireless signal strength among at least one second wireless signal strength to enter the sleep state, and each wireless connection between the first vehicle and the router corresponds to one of the second wireless signal strengths.

2. The control method according to claim 1, characterized in that After determining the first wireless signal strength of the wireless connection between the second vehicle and the router, the control method further includes: When it is determined that the first wireless signal strength is at a second signal strength level, determine whether the first download speed is less than the second download speed, where the first download speed is used to represent the speed at which the router downloads data from the target first vehicle, the second download speed is used to represent the speed at which the router downloads data from the second vehicle, and the first signal strength level is greater than the second signal strength level; When it is determined that the first download speed is less than the second download speed, control the target first vehicle to enter the sleep state.

3. The control method according to claim 2, wherein After determining whether the first download speed is less than the second download speed when it is determined that the first wireless signal strength is at a second signal strength level, the control method further includes: When it is determined that the first download speed is greater than or equal to the second download speed, control the second vehicle to enter the sleep state.

4. The control method according to claim 2, wherein After determining the first wireless signal strength of the wireless connection between the second vehicle and the router, the control method further includes: When it is determined that the first wireless signal strength is at a third signal strength level, control the second vehicle to enter the sleep state, where the second signal strength level is greater than the third signal strength level.

5. The control method according to claim 3 or 4, characterized in that After controlling the second vehicle to enter the sleep state, the control method further includes: Wake up the second vehicle according to a preset duration; After determining that the second vehicle is woken up, execute the steps of determining the first wireless signal strength of the wireless connection between the second vehicle and the router and subsequent steps.

6. The control method according to claim 1 or 2, characterized in that, After controlling the target first vehicle corresponding to the weakest second wireless signal strength among at least one second wireless signal strength to enter the sleep state, the control method further includes: When it is determined that the router has completed downloading data from the target vehicle, control the target vehicle to disconnect the wireless connection with the router, where the target vehicle is any one of the second vehicle or the other first vehicles in the first vehicle group excluding the target first vehicle; When it is determined that there is a sleeping vehicle in the to-be-downloaded state, wake up the sleeping vehicle; Update the sleeping vehicle that has exited the sleep state to the second vehicle, and control the second vehicle to send a connection request to the router, where the connection request is used to instruct the router to establish a wireless connection with the second vehicle. When it is determined that the router wirelessly accesses the second vehicle and starts data downloading, perform the steps of determining the first wireless signal strength of the wireless connection between the second vehicle and the router and subsequent steps.

7. The control method according to claim 1 or 2, characterized in that After it is determined that the router wirelessly accesses the second vehicle and starts data downloading, the control method further includes: Obtain the initial download speed at which the router downloads data from the first vehicle group before accessing the second vehicle, and the current download speed at which the router downloads data from the first vehicle group after accessing the second vehicle; When the initial download speed and the current download speed meet a preset attenuation condition, perform the steps of determining the first wireless signal strength of the wireless connection between the second vehicle and the router and subsequent steps.

8. A control device for data transmission, characterized in that, Applied to a controller, the controller is communicatively connected to a router and a first vehicle group, the router is wirelessly connected to at least one first vehicle in the first vehicle group, the control device includes: A first determination module, configured to determine the first wireless signal strength of the wireless connection between the second vehicle and the router when it is determined that the router wirelessly accesses the second vehicle and starts data downloading; A first control module, configured to control the target first vehicle corresponding to the weakest second wireless signal strength among at least one second wireless signal strength to enter a sleep state when it is determined that the first wireless signal strength is at a first signal strength level, and the wireless connection between each first vehicle and the router corresponds to one of the second wireless signal strengths.

9. An electronic device, characterized in that, Includes: A memory; One or more processors, coupled to the memory; One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more application programs are configured to execute the control method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, Program code is stored in the computer-readable storage medium, and the program code can be called by the processor to execute the control method according to any one of claims 1 to 7.