Data return method and device, equipment and storage medium

By obtaining the transmission data amount threshold and dynamically adjusting the data slice size, the data upload reliability problem of mobile devices in poor network conditions is solved, and efficient and reliable data backhaul is achieved without blocking the network.

CN119449788APending Publication Date: 2025-02-14JIUZHI (SUZHOU) INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411343276.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

In the case of poor network status, mobile device data is prone to blockage or network unavailability problems when uploading data, affecting the reliability of data upload.

Method used

By obtaining the transmission data amount threshold of the to-process data, segmenting it into multiple data slices, and dynamically adjusting the slice size according to the response status of the server to ensure that the data is effectively uploaded without affecting the use of the device.

Benefits of technology

This method dynamically adjusts the size of the data slice, detects the boundaries of the current network situation, ensures the reliability of data backhaul, and avoids network blockage, optimizing the data upload process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119449788A_ABST
    Figure CN119449788A_ABST
Patent Text Reader

Abstract

The invention discloses a data return method and device, equipment and a storage medium, and relates to the technical field of computers. The method comprises the following steps: acquiring a transmission data volume threshold value corresponding to data to be processed; obtaining a plurality of first data slices corresponding to data to be processed based on the transmission data volume threshold; transmitting each first data slice to the server to determine a first response condition of the server corresponding to each first data slice; determining a corresponding slice adjustment strategy based on the first response condition; based on the corresponding slice adjustment strategy and the transmission data volume threshold, performing adjustment processing on the slice size of the data which is not transmitted to obtain a plurality of different data slices after adjustment processing; and transmitting the plurality of different adjusted data slices to a server. According to the invention, the reliability of data return can be optimized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, specifically to technical fields such as big data technology, and particularly to a method, device, equipment and storage medium for data feedback. Background Art

[0002] Usually, in some business scenarios, it is necessary to obtain various data from various mobile devices for relevant analysis. When the network status is poor, the data in the device still needs to be effectively uploaded to the server without affecting the use of the mobile device.

[0003] At present, most of the solutions in the related technology are to control the transmission speed by counting the amount of data sent in each time window and stopping the transmission when the limited transmission speed is reached. However, the solutions in the related technology may still block the entire network and make the network of the mobile device unavailable when sending a large data packet at a time. Summary of the invention

[0004] The present application provides a method, apparatus, device and storage medium for data transmission, which can solve the problem of poor reliability of data transmission of mobile devices. The technical solution is as follows:

[0005] In a first aspect, a method for data transmission is provided, which is applied to an autonomous driving vehicle, and the method comprises:

[0006] Obtaining a transmission data volume threshold corresponding to the data to be processed;

[0007] Based on the transmission data amount threshold, obtaining a plurality of first data slices corresponding to the data to be processed;

[0008] Transmitting each first data slice to the server to determine a first response of the server corresponding to each first data slice;

[0009] Determine a corresponding slice adjustment strategy based on the first response situation;

[0010] Based on the corresponding slice adjustment strategy and the transmission data amount threshold, the slice size of the untransmitted data is adjusted to obtain a plurality of different adjusted data slices;

[0011] Transmit multiple different adjusted data slices to the server.

[0012] In a possible implementation manner, obtaining a plurality of first data slices corresponding to the data to be processed based on the transmission data amount threshold includes:

[0013] Based on the transmission data amount threshold, determining a first slice size corresponding to the data to be processed;

[0014] Based on the first slice size, the data to be processed is sliced ​​to obtain a plurality of first data slices.

[0015] In a possible implementation manner, determining a corresponding slice adjustment strategy based on the first response situation includes:

[0016] In response to the first response situation being a response timeout, determining that the corresponding slice adjustment strategy is a first adjustment strategy;

[0017] The adjusting the slice size of the untransmitted data based on the corresponding slice adjustment strategy and the transmission data amount threshold to obtain a plurality of different adjusted data slices includes:

[0018] Based on the first adjustment strategy and the transmission data amount threshold, the slice size of the untransmitted data is adjusted to obtain a plurality of different adjusted data slices.

[0019] In a possible implementation, adjusting the slice size of the untransmitted data based on the first adjustment strategy and the transmission data amount threshold to obtain a plurality of different adjusted data slices includes:

[0020] Based on the preset coefficient and the first slice size, a second slice size is calculated;

[0021] Based on the second slice size, the untransmitted data is sliced ​​to obtain a plurality of second data slices;

[0022] Transmitting each second data slice to the server to determine a second response corresponding to each second data slice;

[0023] In response to the second response being a normal response, based on the transmission data volume threshold and a preset data volume value, the size of each corresponding second data slice is increased to obtain a plurality of increased second data slices.

[0024] In a possible implementation manner, determining a corresponding slice adjustment strategy based on the first response situation includes:

[0025] In response to the first response being a non-response, determining that the corresponding slice adjustment strategy is a second adjustment strategy;

[0026] The adjusting the slice size of the untransmitted data based on the corresponding slice adjustment strategy and the transmission data amount threshold to obtain a plurality of different adjusted data slices includes:

[0027] Based on the second adjustment strategy and the transmission data amount threshold, the slice size of the untransmitted data is adjusted to obtain a plurality of different adjusted data slices.

[0028] In a possible implementation, adjusting the slice size of the untransmitted data based on the second adjustment strategy and the transmission data amount threshold to obtain a plurality of different adjusted data slices includes:

[0029] Based on a preset third slice size, the untransmitted data is sliced ​​to obtain a plurality of third data slices;

[0030] Transmitting the third data slice to the server to determine a third response status of the server corresponding to the third data slice;

[0031] In response to the third response being normal, based on a preset data volume value and the transmission data volume threshold, the size of each corresponding third data slice is increased to obtain a plurality of increased third data slices.

[0032] In a second aspect, a data feedback device is provided, which is applied to an autonomous driving vehicle, and the device includes:

[0033] A first acquisition unit, used to acquire a transmission data volume threshold corresponding to the data to be processed;

[0034] A first obtaining unit, configured to obtain a plurality of first data slices corresponding to the data to be processed based on the transmission data amount threshold;

[0035] A first transmission unit, used to transmit each first data slice to the server to determine a first response status of the server corresponding to each first data slice;

[0036] A first determining unit, configured to determine a corresponding slice adjustment strategy based on the first response situation;

[0037] A first adjustment unit, configured to adjust the slice size of the untransmitted data based on the corresponding slice adjustment strategy and the transmission data amount threshold, to obtain a plurality of different adjusted data slices;

[0038] The second transmission unit is used to transmit a plurality of different adjusted data slices to the server.

[0039] In a third aspect, a computer-readable storage medium is provided, wherein at least one instruction is stored in the storage medium, and the at least one instruction is loaded and executed by a processor to implement the method of the above-mentioned aspect and any possible implementation manner.

[0040] In a fourth aspect, an electronic device is provided, including:

[0041] at least one processor; and

[0042] a memory communicatively connected to the at least one processor; wherein,

[0043] The memory stores instructions that can be executed 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 perform the method of any possible implementation manner and the aspects described above.

[0044] According to a fifth aspect, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the above-mentioned aspects and any possible implementation method.

[0045] In a sixth aspect, an autonomous driving vehicle is provided, comprising an electronic device as described above.

[0046] The beneficial effects of the technical solution provided by this application include at least:

[0047] It can be seen from the above technical solution that the embodiment of the present application can obtain a transmission data volume threshold corresponding to the data to be processed, and then based on the transmission data volume threshold, obtain multiple first data slices corresponding to the data to be processed, and transmit each first data slice to the server to determine the first response of the server corresponding to each first data slice, and determine the corresponding slice adjustment strategy based on the first response, and adjust the slice size of the untransmitted data based on the corresponding slice adjustment strategy and the transmission data volume threshold to obtain multiple different adjusted data slices, and transmit the multiple different adjusted data slices to the server. Since the slice size of each data transmission can be dynamically adjusted based on the network situation to detect the boundary of the current network situation, it is possible to ensure that the network is not blocked while ensuring the return of data, thereby effectively optimizing the reliability of data return.

[0048] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0050] Figure 1 It is a flowchart of a method for data return provided by an embodiment of the present application;

[0051] Figure 2 is a structural block diagram of a data feedback device provided in yet another embodiment of the present application;

[0052] Figure 3 It is a block diagram of an electronic device used to implement the data feedback method of an embodiment of the present application. DETAILED DESCRIPTION

[0053] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0054] Obviously, the described embodiments are only part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0055] It should be noted that the terminal devices involved in the embodiments of the present application may include but are not limited to mobile phones, personal digital assistants (PDAs), wireless handheld devices, tablet computers and other smart devices; display devices may include but are not limited to personal computers, televisions and other devices with display functions.

[0056] In addition, the term "and / or" in this article is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0057] Please refer to Figure 1 , which shows a flow chart of a method for data feedback provided by an embodiment of the present application. The method for data feedback is applied to an autonomous driving vehicle and may specifically include:

[0058] Step 101: Obtain a transmission data volume threshold corresponding to the data to be processed.

[0059] Step 102: Based on the transmission data amount threshold, obtain a plurality of first data slices corresponding to the data to be processed.

[0060] Step 103: Transmit each first data slice to the server to determine a first response status of the server corresponding to each first data slice.

[0061] Step 104: Determine a corresponding slice adjustment strategy based on the first response.

[0062] Step 105: Based on the corresponding slice adjustment strategy and the transmission data amount threshold, the slice size of the untransmitted data is adjusted to obtain a plurality of different adjusted data slices.

[0063] Step 106: Transmit multiple different adjusted data slices to the server.

[0064] At this point, a plurality of different adjusted data slices are transmitted to the server until the transmission of the data to be processed is completed, that is, the data to be processed is transmitted as a whole to the server.

[0065] It should be noted that the data to be processed may be a file data package, which may include but is not limited to data communicated between various modules of the vehicle, perception data of the vehicle, behavior decisions of the vehicle, and the like.

[0066] It should be noted that the first response situation may include multiple different response situations. Each response situation may have a corresponding slice adjustment strategy.

[0067] It should be noted that the untransmitted data may be data that has not been uploaded to the server. The untransmitted data may include data that has not been successfully uploaded and data that has not been processed for transmission.

[0068] It should be noted that part or all of the execution subject of steps 101 to 106 may be an application located in the local terminal, or may also be a functional unit such as a plug-in or software development kit (SDK) set in the application located in the local terminal, or may also be a processing engine located in a network-side server, or may also be a distributed system located on the network side, for example, a processing engine or distributed system in a data processing platform on the network side, etc. This embodiment does not specifically limit this.

[0069] It is understandable that the application may be a local program (nativeApp) installed on the local terminal, or may be a webpage program (webApp) of a browser on the local terminal, which is not limited in this embodiment.

[0070] In this way, by obtaining a transmission data volume threshold corresponding to the data to be processed, multiple first data slices corresponding to the data to be processed can be obtained based on the transmission data volume threshold, and each first data slice can be transmitted to the server to determine the first response status of the server corresponding to each first data slice, and the corresponding slice adjustment strategy can be determined based on the first response status, and the slice size of the untransmitted data can be adjusted based on the corresponding slice adjustment strategy and the transmission data volume threshold to obtain multiple different adjusted data slices, and the multiple different adjusted data slices can be transmitted to the server. Since the slice size of each data transmission can be dynamically adjusted based on the response status to detect the boundary of the current network situation, it is possible to ensure that the data is effectively returned while not blocking the network, thereby optimizing the reliability of data return.

[0071] Optionally, in a possible implementation of this embodiment, in step 102, the first slice size corresponding to the data to be processed can be determined based on the transmission data volume threshold, and then the data to be processed can be segmented based on the first slice size to obtain multiple first data slices.

[0072] In this implementation, the data transmission volume threshold may be determined based on the data transmission volume range obtained by the vehicle end sending an upload data request to the server end. The data transmission volume threshold may be a boundary threshold of the data transmission volume that the server end can receive each time.

[0073] In a specific implementation process of this implementation method, first, the autonomous driving vehicle can send an upload data request to the server. Secondly, the server determines the range of the amount of transmission data that can be received each time based on the upload data request. Thirdly, the server returns the range of the amount of transmission data to the autonomous driving vehicle. Thirdly, the autonomous driving vehicle can determine the threshold of the amount of transmission data based on the current network status and the range of the amount of transmission data.

[0074] In this way, the data to be processed can be segmented by the transmission data volume threshold to obtain multiple first data slices, so that the reliability of the subsequent transmission of the multiple first data slices to the server can be further guaranteed, thereby ensuring the reliability of data return.

[0075] Optionally, in a possible implementation of this embodiment, in step 104, in response to the first response situation being a response timeout, it can be determined that the corresponding slice adjustment strategy is the first adjustment strategy. Further, in step 105, the slice size of the untransmitted data can be adjusted based on the first adjustment strategy and the transmission data amount threshold to obtain multiple different adjusted data slices.

[0076] In a specific implementation process of this implementation method, first, based on the preset coefficient and the first slice size, the second slice size is calculated. Secondly, the untransmitted data can be segmented based on the second slice size to obtain multiple second data slices. Thirdly, each second data slice is transmitted to the server to determine the second response status corresponding to each second data slice. Thirdly, in response to the second response status being a normal response, the size of each corresponding second data slice is increased based on the transmission data volume threshold and the preset data volume value to obtain multiple increased second data slices.

[0077] In this implementation, the second slice size is determined according to the product of a preset coefficient and the first slice size. Preferably, the preset coefficient may be a value less than 1 and greater than 0, for example, the preset coefficient may be 0.5. The second slice size may be half of the first slice size. The first slice size may be the size of the first data slice when the first response situation is a response timeout situation.

[0078] In this implementation, the preset data volume value can be determined according to the actual vehicle-side network conditions. Preferably, the preset data volume value can be 1 kilobyte (kb).

[0079] In a specific implementation process of this implementation method, first, it can be determined whether the response of the server exceeds the preset first time length to determine whether the first response situation is a response timeout. Secondly, when the first response situation is a response timeout, the untransmitted data can be segmented based on the second slice size to obtain multiple second data slices. Thirdly, each second data slice is transmitted to the server to determine the second response situation corresponding to each second data slice. Thirdly, in response to the second response situation being a normal response, the size of each corresponding second data slice is increased based on the transmission data volume threshold and the preset data volume value to obtain multiple increased second data slices.

[0080] In a specific implementation process, the preset first duration may be determined by an actual business scenario. For example, the preset duration may be 1 minute.

[0081] In another specific implementation process of this implementation method, for any second data slice, in response to the second response condition being a normal response, the size of the corresponding second data slice can be increased by a preset data amount value to obtain an increased second data slice. The increased second data slice is transmitted to the server to determine that the second response condition of the size of the increased second data slice is a normal response, and the size of the increased second data slice can be further increased by a preset data amount value to obtain a new increased second data slice, and the above steps are executed repeatedly until the size of the latest increased second data slice reaches the transmission data amount threshold. When the size of the latest increased second data slice is the transmission data amount threshold, the untransmitted data can be sliced ​​according to the size of the latest increased second data slice to obtain multiple new data slices, and each untransmitted new data slice is uploaded to the server based on the preset second duration.

[0082] In this implementation, the preset second duration can be determined according to actual business requirements. For example, the preset second duration can be 3 minutes to 5 minutes. In this way, the stability of data transmission can be guaranteed.

[0083] Exemplarily, when the network deteriorates, for example, the interval for receiving a response increases, resulting in a response timeout, the size of the data slice to be sent can be adjusted to half of the transmission data volume threshold or the temporary upper bound and then continue to be sent. Each time a response is successfully received, the slice size is increased by 1KB until the slice size reaches the transmission data volume threshold or the temporary upper bound. Here, the temporary upper bound can be the data size value of the data slice for which the response timeout occurs.

[0084] In this way, when the first response situation is a response timeout, that is, when the network status deteriorates, the size of the slice sent each time can be dynamically adjusted based on the response situation and the corresponding adjustment strategy, and the boundary of the current network situation can be detected to realize data backhaul without blocking the network.

[0085] It should be noted that the specific implementation process provided in this implementation can be combined with the various specific implementation processes provided in the aforementioned implementation to implement the data return method of this embodiment. For a detailed description, please refer to the relevant content in the aforementioned implementation, which will not be repeated here.

[0086] Optionally, in a possible implementation of this embodiment, in step 104, specifically in response to the first response situation being a non-response, the corresponding slice adjustment strategy can be determined to be a second adjustment strategy. Further, in step 105, the slice size of the non-transmitted data can be adjusted based on the second adjustment strategy and the transmission data volume threshold to obtain multiple different adjusted data slices.

[0087] In a specific implementation process of this implementation method, first, the untransmitted data can be segmented based on a preset third slice size to obtain multiple third data slices. Secondly, the third data slice can be transmitted to the server to determine the third response of the server corresponding to the third data slice. Thirdly, in response to the third response being normal, the size of each corresponding third data slice is increased based on a preset data volume value and the transmission data volume threshold to obtain multiple increased third data slices.

[0088] In this implementation, the preset third slice size may be determined based on the minimum amount of data that can be transmitted. For example, the preset third slice size may be 1 kb.

[0089] Exemplarily, when the network is unavailable, that is, the first response is no response, the size of the data slice in the current network unavailable situation is set as a temporary upper limit, the untransmitted data is segmented and processed to obtain multiple 1KB data slices, and a 1KB data slice is sent to the server. If the response from the server is normal, the data slice corresponding to the data that has not been successfully transmitted can be increased to a 2KB data slice, and then the 2KB data slice is sent to the server to obtain a response, and the cycle is executed until the size of the data slice reaches the transmission data volume threshold. Again, according to the size of the transmission data volume threshold, upload the untransmitted data until all the data to be processed is transmitted to the server.

[0090] In this way, when the first response situation is no response, that is, the network is unavailable, the size of the slice sent each time can be dynamically adjusted based on the response situation and the corresponding adjustment strategy to detect the boundary of the current network situation to realize data backhaul without blocking the network.

[0091] It should be noted that the specific implementation process provided in this implementation can be combined with the various specific implementation processes provided in the aforementioned implementation to implement the data return method of this embodiment. For a detailed description, please refer to the relevant content in the aforementioned implementation, which will not be repeated here.

[0092] Optionally, in a possible implementation of this embodiment, in step 104, in response to the first response condition being a normal response, the untransmitted first data slice and the transmission data range corresponding to the untransmitted first data slice are obtained, and then based on the transmission data range corresponding to the untransmitted first data slice, the untransmitted first data slice is transmitted to the server.

[0093] In this implementation, after the vehicle side transmits the data to be processed to the server side, the server side assembles the received data based on a preset assembly strategy and stores the assembled data.

[0094] In a specific implementation process of this implementation method, first, after receiving the data slice, the server can use the crc32 check algorithm to verify the received data slice. Secondly, if the verification is successful, a normal response message can be returned to the vehicle. Thirdly, if the verification fails, an abnormal response message can be returned to the vehicle, and then the vehicle can adjust the data slice according to actual business needs and send the adjusted data slice again.

[0095] In this way, the reliability and security of the transmitted data can be guaranteed by verifying the data slices.

[0096] It should be noted that the specific implementation process provided in this implementation can be combined with the various specific implementation processes provided in the aforementioned implementation to implement the data return method of this embodiment. For a detailed description, please refer to the relevant content in the aforementioned implementation, which will not be repeated here.

[0097] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0098] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0099] Figure 2 A structural block diagram of a data return device provided by an embodiment of the present application is shown as follows: Figure 2As shown. The data backhaul device 200 of this embodiment is applied to an autonomous driving vehicle, and may include a first acquisition unit 201, a first acquisition unit 202, a first transmission unit 203, a first determination unit 204, a first adjustment unit 205, and a second transmission unit 206. Among them, the first acquisition unit 201 is used to obtain a transmission data volume threshold corresponding to the data to be processed; the first acquisition unit 202 is used to obtain a plurality of first data slices corresponding to the data to be processed based on the transmission data volume threshold; the first transmission unit 203 is used to transmit each first data slice to the server to determine the first response of the server corresponding to each first data slice; the first determination unit 204 is used to determine the corresponding slice adjustment strategy based on the first response; the first adjustment unit 205 is used to adjust the slice size of the untransmitted data based on the corresponding slice adjustment strategy and the transmission data volume threshold to obtain a plurality of different adjusted data slices; the second transmission unit 206 is used to transmit a plurality of different adjusted data slices to the server.

[0100] It should be noted that part or all of the data feedback device of this embodiment may be an application located in the local terminal, or may also be a functional unit such as a plug-in or software development kit (SDK) set in the application located in the local terminal, or may also be a processing engine located in a network-side server, or may also be a distributed system located on the network side, for example, a processing engine or distributed system in a data processing platform on the network side, etc. This embodiment does not specifically limit this.

[0101] It is understandable that the application may be a local program (nativeApp) installed on the local terminal, or may be a webpage program (webApp) of a browser on the local terminal, which is not limited in this embodiment.

[0102] Optionally, in a possible implementation of this embodiment, the first obtaining unit 202 is used to determine a first slice size corresponding to the data to be processed based on the transmission data amount threshold; based on the first slice size, the data to be processed is sliced ​​to obtain multiple first data slices.

[0103] Optionally, in a possible implementation of this embodiment, the first determination unit 204 is used to determine that the corresponding slice adjustment strategy is the first adjustment strategy in response to the first response situation being a response timeout, and then the first adjustment unit 205 is used to adjust the slice size of the untransmitted data based on the first adjustment strategy and the transmission data volume threshold to obtain multiple different adjusted data slices.

[0104] Optionally, in a possible implementation of this embodiment, the first adjustment unit 205 is used to calculate the second slice size based on a preset coefficient and the first slice size; based on the second slice size, segment the untransmitted data to obtain multiple second data slices; transmit each second data slice to the server to determine the second response status corresponding to each second data slice; in response to the second response status being a normal response, increase the size of each corresponding second data slice based on the transmission data volume threshold and the preset data volume value to obtain multiple increased second data slices.

[0105] Optionally, in a possible implementation of this embodiment, the first determination unit 204 is used to determine that the corresponding slice adjustment strategy is a second adjustment strategy in response to the first response situation being a non-response, and then the first adjustment unit 205 is used to adjust the slice size of the non-transmitted data based on the second adjustment strategy and the transmission data volume threshold to obtain multiple different adjusted data slices.

[0106] Optionally, in a possible implementation of this embodiment, the first adjustment unit 205 is used to segment the untransmitted data based on a preset third slice size to obtain multiple third data slices; transmit the third data slice to the server to determine a third response status of the server corresponding to the third data slice; in response to the third response status being normal, increase the size of each corresponding third data slice based on a preset data amount value and the transmission data amount threshold to obtain multiple increased third data slices.

[0107] In this embodiment, the first acquisition unit can obtain a transmission data volume threshold corresponding to the data to be processed, and then the first acquisition unit can obtain multiple first data slices corresponding to the data to be processed based on the transmission data volume threshold. The first transmission unit transmits each first data slice to the server to determine the first response status of the server corresponding to each first data slice. The first determination unit determines the corresponding slice adjustment strategy based on the first response status. The first adjustment unit adjusts the slice size of the untransmitted data based on the corresponding slice adjustment strategy and the transmission data volume threshold to obtain multiple different adjusted data slices, so that the second transmission unit can transmit the multiple different adjusted data slices to the server. Since the slice size of each data transmission can be dynamically adjusted based on the response status to detect the boundary of the current network situation, it is possible to ensure that the data is effectively returned while not blocking the network, thereby optimizing the reliability of data return.

[0108] In the technical solution of this application, the user personal information involved, such as the collection, storage, use, processing, transmission, provision and disclosure of user images and attribute data, etc., complies with the provisions of relevant laws and regulations and does not violate public order and good morals.

[0109] According to an embodiment of the present application, the present application also provides an electronic device, a readable storage medium and a computer program product.

[0110] Figure 3 A schematic block diagram of an example electronic device 300 that can be used to implement an embodiment of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.

[0111] like Figure 3 As shown, the electronic device 300 includes a computing unit 301, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 302 or a computer program loaded from a storage unit 308 into a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic device 300 can also be stored. The computing unit 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0112] A number of components in the electronic device 300 are connected to the I / O interface 305, including: an input unit 306, such as a keyboard, a mouse, etc.; an output unit 307, such as various types of displays, speakers, etc.; a storage unit 308, such as a disk, an optical disk, etc.; and a communication unit 309, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 309 allows the electronic device 300 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0113] The computing unit 301 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 301 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 301 performs the various methods and processes described above, such as the method of data return. For example, in some embodiments, the method of data return may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 308. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 300 via the ROM 302 and / or the communication unit 309. When the computer program is loaded into the RAM 303 and executed by the computing unit 301, one or more steps of the method of data return described above may be performed. Alternatively, in other embodiments, the computing unit 301 may be configured to perform the method of data return by any other appropriate means (e.g., by means of firmware).

[0114] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0115] The program code for implementing the method of the present application can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, implements the functions / operations specified in the flow chart and / or block diagram. The program code can be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0116] In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0117] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0118] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0119] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0120] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution disclosed in this application can be achieved, and this document is not limited here.

[0121] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.

Claims

1. A method for data return, characterized in that: Applied to an autonomous driving vehicle, the method comprises: Obtaining a transmission data volume threshold corresponding to the data to be processed; Based on the transmission data amount threshold, obtaining a plurality of first data slices corresponding to the data to be processed; Transmitting each first data slice to the server to determine a first response of the server corresponding to each first data slice; Determine a corresponding slice adjustment strategy based on the first response situation; Based on the corresponding slice adjustment strategy and the transmission data amount threshold, the slice size of the untransmitted data is adjusted to obtain a plurality of different adjusted data slices; Transmit multiple different adjusted data slices to the server.

2. The method according to claim 1, characterized in that The obtaining, based on the transmission data amount threshold, a plurality of first data slices corresponding to the data to be processed includes: Based on the transmission data amount threshold, determining a first slice size corresponding to the data to be processed; Based on the first slice size, the data to be processed is sliced ​​to obtain a plurality of first data slices.

3. The method according to claim 1, characterized in that The determining, based on the first response situation, a corresponding slice adjustment strategy includes: In response to the first response situation being a response timeout, determining that the corresponding slice adjustment strategy is a first adjustment strategy; The adjusting the slice size of the untransmitted data based on the corresponding slice adjustment strategy and the transmission data amount threshold to obtain a plurality of different adjusted data slices includes: Based on the first adjustment strategy and the transmission data amount threshold, the slice size of the untransmitted data is adjusted to obtain a plurality of different adjusted data slices.

4. The method according to claim 3, characterized in that The adjusting the slice size of the untransmitted data based on the first adjustment strategy and the transmission data amount threshold to obtain a plurality of different adjusted data slices includes: Based on the preset coefficient and the first slice size, a second slice size is calculated; Based on the second slice size, the untransmitted data is sliced ​​to obtain a plurality of second data slices; Transmitting each second data slice to the server to determine a second response corresponding to each second data slice; In response to the second response being a normal response, based on the transmission data volume threshold and a preset data volume value, the size of each corresponding second data slice is increased to obtain a plurality of increased second data slices.

5. The method according to claim 1, characterized in that The determining, based on the first response situation, a corresponding slice adjustment strategy includes: In response to the first response being a non-response, determining that the corresponding slice adjustment strategy is a second adjustment strategy; The adjusting the slice size of the untransmitted data based on the corresponding slice adjustment strategy and the transmission data amount threshold to obtain a plurality of different adjusted data slices includes: Based on the second adjustment strategy and the transmission data amount threshold, the slice size of the untransmitted data is adjusted to obtain a plurality of different adjusted data slices.

6. The method according to claim 5, characterized in that The adjusting the slice size of the untransmitted data based on the second adjustment strategy and the transmission data amount threshold to obtain a plurality of different adjusted data slices includes: Based on a preset third slice size, the untransmitted data is sliced ​​to obtain a plurality of third data slices; Transmitting the third data slice to the server to determine a third response status of the server corresponding to the third data slice; In response to the third response being normal, based on a preset data volume value and the transmission data volume threshold, the size of each corresponding third data slice is increased to obtain a plurality of increased third data slices.

7. A data return device, characterized in that: Applied to an autonomous driving vehicle, the device comprises: A first acquisition unit, used to acquire a transmission data volume threshold corresponding to the data to be processed; A first obtaining unit, configured to obtain a plurality of first data slices corresponding to the data to be processed based on the transmission data amount threshold; A first transmission unit, used to transmit each first data slice to the server to determine a first response status of the server corresponding to each first data slice; A first determining unit, configured to determine a corresponding slice adjustment strategy based on the first response situation; A first adjustment unit, configured to adjust the slice size of the untransmitted data based on the corresponding slice adjustment strategy and the transmission data amount threshold, to obtain a plurality of different adjusted data slices; The second transmission unit is used to transmit a plurality of different adjusted data slices to the server.

8. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to 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 perform the method according to any one of claims 1 to 6.

9. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-6.

10. An autonomous driving vehicle, characterized in that: Comprising an electronic device according to claim 8.