Data transmission method and device, electronic equipment and storage medium

By configuring virtual reply services and storage space on the cloud server, the problem of low data transmission efficiency between the cloud and terminal devices in the wireless network environment is solved, and the effect of not reducing the data transmission frequency under network fluctuations is achieved, which improves the data transmission efficiency.

CN120018086APending Publication Date: 2025-05-16DATANG MOBILE COMM EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311515294.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-14
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

In a wireless network environment, data transmission between the cloud and smart transportation terminals is easily affected by factors such as coverage, interference, and occlusion, resulting in high block error rate and communication transmission. Especially in the confirmation communication method, unconfirmed data packets are constantly retransmitted, affecting subsequent communication information transmission.

Method used

The first virtual answer service and the first storage space are configured on the cloud server side. In response to the pending data packet generated by the cloud server, the answer data is fed back and the data packet is saved to the storage space. After receiving the reply data of the terminal device, the data packet is sent to the terminal device to avoid retransmission caused by network fluctuations.

Benefits of technology

Through this method, the cloud server does not need to consider fluctuations in the wireless network environment, avoid data packet retransmission caused by network abnormalities, improve data transmission efficiency, and maximize the use of air-interface transmission bandwidth.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120018086A_ABST
    Figure CN120018086A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of wireless communication, in particular to a data transmission method and device, electronic equipment, a storage medium and a computer program product. The method comprises the following steps: in response to a to-be-processed data packet generated by a cloud server, feeding back first response data corresponding to the to-be-processed data packet to the cloud server by a first virtual response service; and storing the to-be-processed data packet to a first storage space, so that the virtual response service sends the to-be-processed data packet to a terminal device. According to the method, the data transmission efficiency can be improved, and communication transmission is prevented from being influenced by abnormal wireless network environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to a data transmission method, device, electronic device and storage medium, and computer program product. Background Art

[0002] In the vehicle-edge-cloud communication system built on wireless networks, the cloud and smart transportation terminals generally communicate based on the TCP protocol. Since wireless networks are easily affected by the wireless environment, such as coverage, interference, obstruction, road environment, etc., high block error rates are prone to occur during data transmission, and communication transmission will be affected. When the network communication adopts the confirmed transmission mode, the sender will send the same packet of data multiple times with the number of retransmissions and retransmission intervals configured by the network if it does not receive data confirmation from the other end until it receives confirmation from the other end. Under the confirmed communication mode, methods similar to the TCP protocol will trigger congestion control processing in this situation, and unconfirmed data packets will be continuously retransmitted, affecting subsequent communication information transmission. Summary of the invention

[0003] Based on this, it is necessary to provide a data transmission method, device, electronic device and storage medium, and computer program product to address the above technical problems, so as to improve data transmission efficiency and avoid affecting communication transmission due to abnormal wireless network environment.

[0004] In a first aspect, the present application provides a data transmission method, the method comprising: in response to a data packet to be processed generated by a cloud server, a first virtual response service feeds back first response data corresponding to the data packet to be processed to the cloud server; and

[0005] The data packet to be processed is saved in the first storage space so that the virtual answering service can send the data packet to be processed to the terminal device.

[0006] In one of the embodiments, the method further includes: in response to a subsequent data packet to be processed generated by the cloud server, saving the subsequent data packet to be processed to the first storage space; wherein the subsequent data packet to be processed is triggered by the cloud server based on the first response data.

[0007] In one of the embodiments, the first storage space includes a first data queue, and the method further includes: saving the to-be-processed data packets in sequence to the first data queue.

[0008] In one of the embodiments, the method further includes: the first virtual answer service sends the to-be-processed data packet from the first storage space to the terminal device in response to second answer data of the terminal device.

[0009] In one of the embodiments, the method further includes: the first virtual answer service responds to the scheduled task corresponding to the data packet to be processed, and when the second answer information corresponding to the data packet to be processed is not received, repeatedly sends the data packet to be processed to the terminal device.

[0010] In a second aspect, the present application provides a data transmission device, the device comprising:

[0011] A first virtual response service module, configured to respond to a data packet to be processed generated by a cloud server and feed back first response data corresponding to the data packet to be processed to the cloud server;

[0012] The first storage module is used to save the data packet to be processed into a first storage space, so that the virtual answering service can send the data packet to be processed to the terminal device.

[0013] In a third aspect, the present application further provides an electronic device, wherein the electronic device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method in any one of the embodiments of the first aspect are implemented.

[0014] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method in any one of the embodiments of the first aspect are implemented.

[0015] In a fifth aspect, the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the method in any one of the embodiments of the first aspect are implemented.

[0016] In a sixth aspect, the present application provides a data transmission method, the method comprising: in response to a data packet to be uploaded generated by a terminal device, a second virtual response service feeds back third response data corresponding to the data packet to be uploaded to the terminal device; and

[0017] The data packet to be uploaded is saved in a second storage space so that the second virtual answering service can send the data packet to be uploaded to a cloud server.

[0018] In one of the embodiments, the method further includes: in response to a subsequent data packet to be uploaded generated by the terminal device, saving the subsequent data packet to be uploaded to the second storage space; wherein the subsequent data packet to be uploaded is triggered by the terminal device based on the third response data.

[0019] In one embodiment, the second storage space includes a second data queue, and the method further includes:

[0020] The data packets to be uploaded are saved in sequence to the second data queue.

[0021] In one of the embodiments, the method further includes: the second virtual answer service sends the data packet to be uploaded from the second storage space to the cloud server in response to fourth answer data of the cloud server.

[0022] In one embodiment, the method further includes: the second virtual response service responds to the scheduled task corresponding to the data packet to be uploaded, and when the fourth response information corresponding to the data packet to be uploaded is not received, repeatedly sends the data packet to be uploaded to the cloud server.

[0023] In a seventh aspect, the present application provides a data transmission device, the device comprising:

[0024] A second virtual answering service module, configured to respond to a data packet to be uploaded generated by a terminal device, and to feedback third answering data corresponding to the data packet to be uploaded to the terminal device by the second virtual answering service;

[0025] The second storage module is used to save the data packet to be uploaded to a second storage space, so that the second virtual answering service can send the data packet to be uploaded to the cloud server.

[0026] In an eighth aspect, the present application further provides an electronic device, wherein the electronic device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method in any one of the embodiments of the sixth aspect are implemented.

[0027] In a ninth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method in any one of the embodiments of the sixth aspect are implemented.

[0028] In the tenth aspect, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the method in any one of the embodiments of the sixth aspect.

[0029] The above-mentioned data transmission method, apparatus, computer equipment and storage medium, and computer program product, by configuring the first virtual answer service and the first storage space on the cloud server, can use the first virtual answer service to directly process the pending data packets generated by the cloud server and save them to the first storage space locally on the cloud server, without considering the response of the terminal device to the cloud server; even if the network environment is abnormal, the cloud server does not need to resend the pending data packets. By saving the pending data packets to the first storage space, the cloud server can use the first virtual answer service to send the pending data packets from the first storage space to the terminal device when receiving the response data of the terminal device, thereby effectively improving the data transmission efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A schematic diagram of a flow chart of a data transmission method in an embodiment;

[0031] Figure 2 A schematic diagram of a system architecture of smart transportation in one embodiment;

[0032] Figure 3 A schematic diagram of the interaction between the cloud and the terminal device in one embodiment;

[0033] Figure 4 is a flow chart of another data transmission method in one embodiment;

[0034] Figure 5 A schematic diagram of a flow chart of a data transmission method applied to a terminal device in an embodiment;

[0035] Figure 6 is a structural block diagram of a data transmission device in one embodiment;

[0036] Figure 7 is a structural block diagram of another data transmission device in one embodiment;

[0037] Figure 8 FIG. 4 is a diagram showing the internal structure of an electronic device in one embodiment. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0039] In related technologies, with the development of new generation information technologies such as smart transportation and mobile Internet, the classic vehicle-road cooperative system architecture is generally based on the vehicle-side cloud-network integrated architecture to build a smart transportation cooperative system. Based on multi-source wireless communication technology and communication network, a communication mechanism for data interaction between heterogeneous devices in key traffic elements such as vehicles, edges, clouds, and networks is realized. Data collaboration between vehicles, edges, and clouds can be established through network communication. According to the differentiated needs of interactive data in different scenarios, a flexible and elastic network is built, and finally a heterogeneous network and fusion perception and cooperation system with low latency, high reliability, large bandwidth, and strong security in the smart transportation space is completed. In the existing smart transportation system, the wireless communication between cloud devices and smart transportation terminal devices is basically based on the TCP protocol. Through the existing method of air interface transmission, since the mobile network environment is connected through wireless, and the wireless environment is easily affected by factors such as coverage, interference, and mobility, it has the characteristics of relatively high BER, relatively low bandwidth, and relatively limited energy compared to the wired environment. The TCP protocol originally designed for fixed hosts and wired networks has problems of not adapting to this environment, which is mainly manifested in the following aspects:

[0040] 1) The existing TCP-based method lacks an effective error detection mechanism in a wireless mobile network environment. The TCP-based communication method can only detect errors, that is, data packets are discarded, but cannot detect the nature of the errors. For errors that occur during transmission, the TCP-based communication method assumes that packet loss is caused by network congestion. Since the BER (Bit Error Ratio) of wired networks is very low, this assumption is basically valid. However, in a wireless network environment, there are many reasons that can cause packet loss that are not related to congestion. For example, the mobile device is in the process of network switching, attenuated channels, etc. TCP cannot detect the nature of the error in a wireless environment.

[0041] 2) The existing transmission method based on the TCP protocol lacks an effective error recovery mechanism. Once packet loss is detected, the TCP protocol triggers the congestion control process, first retransmitting unconfirmed packets, reducing the congestion window and thus reducing the sending rate; then activating the congestion control mechanism, including exponential backoff when timeout occurs and reducing the slow start threshold; finally entering the congestion avoidance phase to ensure that congestion is resolved. If packet loss is caused by wireless network coverage problems, interference problems, or when mobile devices switch rather than network congestion, then this error recovery mechanism of the TCP protocol will lead to a decline in protocol performance, including a decrease in throughput and an increase in latency.

[0042] 3) Due to the lack of effective error detection and recovery mechanisms, the communication method based on the TCP protocol is not efficient in data packet transmission in a wireless environment. For example, when an unrecoverable error occurs in the RLC (Radio Link Control) layer due to interference problems on the wireless link, the TCP source end considers the network congested and reduces its congestion window, and then conservatively increases the size of the congestion window step by step. During the slow expansion of the congestion window, the transmission opportunity of error-free data packets is wasted, and the communication time is increased. When the unrecoverable error lasts for a long time, the TCP source end reduces its congestion window size but still tries to send data, resulting in the loss of more data packets.

[0043] The data transmission method provided in the embodiment of the present application can be applied to Figure 2 The system architecture shown in Figure 1 is shown in Figure 1. Figure 2 As shown, an optimized smart transportation system architecture is provided, including a cloud service end 210 and a smart transportation terminal 220; data can be transmitted between the cloud server end 210 and the smart transportation terminal 220 through a wireless network. Among them, the cloud server end, as a cloud device of smart transportation, can be implemented by a cloud server to provide cloud services for the smart transportation architecture. On the cloud server end 210, a first virtual response service module 211 and a first storage module 212 are configured; wherein the first virtual response service module 211 can be used to provide a virtual response service to the cloud server and feedback specific response information; the first storage module 212 can be a physical storage device inside the cloud server, and the physical storage device can be integrated with the cloud server storage; or, the physical storage device can also be an entity separated from the cloud server storage. When it is a separate entity, the physical storage device and the cloud service storage device can be wired. In addition, on the side of the smart transportation terminal 220, a second virtual response service module 221 and a second storage module 222 can also be configured. Among them, the second virtual response service module 221 can also be used to provide a local virtual response service to the terminal device and feedback specific response information. The second storage module 222 may be a physical storage device installed locally on the terminal device. For example, the smart transportation terminal may include a vehicle-mounted terminal 224, and smart transportation terminal devices such as a radar 225, a camera 226, and a signal light 227 connected to the smart transportation edge computing unit 223.

[0044] In one embodiment, Figure 1 As shown, a data transmission method is provided, comprising the following steps:

[0045] Step S11, in response to the data packet to be processed generated by the cloud server, the first virtual response service feeds back first response data corresponding to the data packet to be processed to the cloud server.

[0046] For example, for the cloud of smart transportation, refer to Figure 2 The architecture shown can be configured with a first virtual answer service module. When the cloud server generates a data packet to be processed that needs to be sent to the terminal device, such as data packet DATA1; when the data packet DATA1 generated in the cloud is identified, the first virtual answer service added in the cloud can be triggered to respond to the data packet DATA1, and the first virtual answer service generates corresponding first response data as a response to the data packet DATA1, and immediately feeds back to the cloud server. Among them, the first response data can be the local response data Local ACK1 generated by the first virtual answer service, which is used as a confirmation response of the virtual answer service to the data packet DATA1 to be processed.

[0047] For example, a data packet discovery process or data packet discovery service can be configured in the cloud to monitor the cloud server; and when the cloud server generates a data packet to be processed and sent to the terminal device, the virtual response service can be triggered to generate local response data corresponding to the data packet to be processed. Of course, in some exemplary embodiments, the first virtual response service can also realize the identification of the data packet to be processed and the triggering of the local response data.

[0048] For example, the data packet sent by the cloud server to the terminal device may be a control signaling to the terminal device, or data such as traffic indication information fed back to the terminal device.

[0049] Step S12, saving the data packet to be processed to the first storage space, so that the virtual answering service can send the data packet to be processed to the terminal device.

[0050] For example, for the cloud of smart transportation, refer to Figure 2 The architecture shown can also configure a first storage module as a first storage space, which is used as a local physical storage device in the cloud. While using the first virtual response service to generate the first response data corresponding to the data packet to be processed, the data packet to be processed can be directly stored in the local physical storage device, that is, the first storage space.

[0051] By configuring the first virtual response service and the first physical storage space in the cloud of the intelligent transportation system, the first virtual response service can be used to respond to the cloud server to generate a data packet to be processed, and generate the corresponding local virtual response confirmation information, so that the cloud does not need to consider the fluctuation of the wireless network environment and does not reduce the frequency of data transmission at the source end. In addition, by saving the data packet to be processed generated by the cloud server to the first storage space, it is convenient to send the data packet to be processed to the terminal device when the response confirmation information fed back by the terminal device is received.

[0052] In an exemplary embodiment, the method further includes: in response to a subsequent data packet to be processed generated by the cloud server, saving the subsequent data packet to be processed to the first storage space; wherein the subsequent data packet to be processed is triggered by the cloud server based on the first response data.

[0053] Specifically, for the cloud server, after receiving the first response data fed back by the first virtual response service, it can respond to the response data and send the subsequent data packets to be processed corresponding to the data packets to be processed.

[0054] For example, refer to Figure 3 As shown in the interactive diagram, when the cloud server generates a data packet DATA1 to be processed that needs to be sent to the terminal device, it can perform the sending operation on DATA1; the first virtual answer service can generate the corresponding virtual local answer data Local ACK1 for the data packet DATA1 to be processed, and feed it back to the cloud server; after receiving the virtual local answer data Local ACK1, the cloud server can trigger the sending of the data packet DATA2 to be processed to the terminal device. At this time, the first virtual answer service can generate virtual local answer data Local ACK2 for the data packet DATA2 to be processed, and feed it back to the cloud server; so that the cloud server can respond to the virtual local answer data Local ACK2, and send the data to be processed including DATA3; and so on, repeat this process, so that the data packets to be processed that the cloud server needs to send to the terminal device can all be stored in the first storage space, so that the generation and sending process of the data packets to be processed generated by the cloud server is not affected by the network environment and the interaction process with the terminal. The data communication interaction process between the cloud server, the first storage space and the first virtual answer service is local or wired communication, which is not affected by the wireless network environment.

[0055] In an exemplary embodiment, the first storage space includes a first data queue, and the method further includes: saving the to-be-processed data packets in sequence to the first data queue.

[0056] Specifically, a first data queue can be configured in the first storage space to store the pending data packets generated by the cloud server; and the pending data packets can be written into the first data queue according to the sending order of the pending data packets, so as to facilitate the subsequent transmission of the pending data packets to the terminal device in sequence.

[0057] In an exemplary embodiment, referring to Figure 4 As shown, the method also includes:

[0058] Step S13: the first virtual answer service sends the data packet to be processed from the first storage space to the terminal device in response to the second answer data of the terminal device.

[0059] Exemplarily, for the cloud, in the initial state, after the first virtual answer service feeds back the virtual local answer data Local ACK1 corresponding to the data packet DATA1 to be processed to the cloud server, it can directly send the data packet DATA1 to be processed from the first storage space to the terminal device. For the first virtual answer service, after receiving the second answer data ACK1 corresponding to the data packet DATA1 to be processed fed back by the terminal device, it can trigger the sending of the data packet DATA2 to be processed from the first storage space to the terminal device. When the answer data ACK2 for the data packet DATA2 to be processed fed back by the terminal device is received, the data packet DATA3 to be processed can be taken out from the data queue in the first storage space in order and sent to the terminal device; and so on, the data packets to be processed in the data queue can be sent to the terminal device in order.

[0060] After receiving the response confirmation information fed back by the terminal device through the first virtual response service in the cloud, the first storage space can send the data packet to be processed to the terminal device, which can effectively improve the data transmission efficiency between the cloud and the terminal device.

[0061] In an exemplary embodiment, the method further includes: the first virtual answer service responds to the scheduled task corresponding to the data packet to be processed, and when the second response information corresponding to the data packet to be processed is not received, repeatedly sends the data packet to be processed to the terminal device.

[0062] For example, for the cloud, for each pending data packet sent by the first virtual answer service from the first storage space to the terminal device, when the pending data packet is sent, a corresponding scheduled task can be created as a data packet response feedback scheduled task to determine whether the terminal response data for the pending data packet can be received from the terminal device within a certain period of time. If the response data fed back by the terminal device is not received within the duration of the scheduled task, the current pending data packet can be resent. For example, refer to Figure 3 In the interactive process shown, after receiving the response data ACK1 fed back by the terminal device, the first virtual answer service in the cloud sends the data packet DATA2 to be processed to the terminal device. If no response data of the terminal device for the data packet DATA2 to be processed is received within the duration of the scheduled task, the data packet DATA2 to be processed can be resent until the response data ACK2 fed back by the terminal device is received.

[0063] For example, due to an abnormal wireless network environment, in the first case, the terminal device cannot normally receive the pending data packet sent by the cloud; in another case, after the terminal device receives the pending data packet, the confirmation response information fed back to the cloud cannot be sent to the cloud normally. Both of the above situations will cause the cloud to be unable to receive the confirmation response data fed back by the terminal device. Based on the retransmission mechanism, after the timer configured by the cloud for the pending data packet sent expires, the confirmation response information has not been received, which will trigger the retransmission of the data packet. When the wireless network is restored, in the first case, the cloud will send the pending data packet to the terminal device normally, and the terminal device will receive the pending data packet sent by the cloud, and the terminal device will feedback the corresponding confirmation response data to the cloud; in another case, the terminal device will normally feedback the confirmation response data corresponding to the pending data to the cloud; after receiving the confirmation response data, the cloud triggers the next pending data packet in the first storage space to be sent.

[0064] For example, for the cloud, when the data packet to be processed is sent from the first storage space to the terminal device, it can be transmitted to the terminal device through the air interface in a wireless network transmission mode, and the air interface can be a 4G network, a 5G network or a 6G network, as well as a subsequent evolved wireless network. For the terminal device, after receiving the data packet to be processed sent by the cloud, the data packet to be processed can be saved locally and processed.

[0065] In an exemplary embodiment, a data transmission method is provided, which is applied to a terminal device under a smart transportation network architecture, referring to Figure 5 As shown, it may specifically include:

[0066] Step S51, in response to the data packet to be uploaded generated by the terminal device, the second virtual response service feeds back third response data corresponding to the data packet to be uploaded to the terminal device; and

[0067] Step S52, saving the data packet to be uploaded to the second storage space, so that the second virtual answering service can send the data packet to be uploaded to the cloud server.

[0068] For example, for the terminal device, a local physical storage space and a virtual response service, i.e., a second storage space and a second virtual response service, can also be configured. The second virtual response service can be used to generate corresponding virtual response confirmation data, i.e., third response data, for the uploaded data packet generated by the terminal device and uploaded to the cloud locally.

[0069] Specifically, after the terminal device generates the data packet DATA1 to be uploaded to the cloud, it can trigger the second virtual response service local to the terminal device to generate corresponding third response data for the data packet DATA1 to be uploaded, as virtual local response confirmation data Local ACK1, and feed it back to the terminal device; at the same time, the data packet to be uploaded is saved to the second storage space local to the terminal device.

[0070] In an exemplary embodiment, the method further includes: in response to a subsequent data packet to be uploaded generated by the terminal device, saving the subsequent data packet to be uploaded to a second storage space; wherein the subsequent data packet to be uploaded is triggered by the terminal device based on third response data.

[0071] For example, for a terminal device, after receiving the virtual local response confirmation data Local ACK1, it can trigger the sending of the next data packet to be uploaded DATA2; after the second virtual response service identifies the data packet to be uploaded DATA2, it can generate the corresponding virtual local response confirmation data Local ACK2 and feed it back to the terminal device, while keeping the data packet to be uploaded DATA2 in the local second storage space. By analogy, the data packets to be uploaded of the terminal device can be saved in the second storage space in sequence, thereby avoiding the terminal device being unable to send the data packet to be uploaded due to wireless network abnormalities.

[0072] In an exemplary embodiment, the method further comprises:

[0073] Step S53: the second virtual answering service sends the data packet to be uploaded from the second storage space to the cloud server in response to the fourth answering data of the cloud server.

[0074] Specifically, for the terminal device, after sending the data packet DATA1 to be processed to the cloud, when receiving the response confirmation information fed back by the cloud, that is, the fourth response data, it can trigger the second virtual response service to upload the data packet to be uploaded to the cloud from the second storage space.

[0075] In an exemplary embodiment, the second storage space includes a second data queue, and the method further includes: saving the data packets to be uploaded in sequence to the second data queue.

[0076] Exemplarily, a second data queue may be established in a second local storage space of the terminal device, and the data packets to be uploaded generated by the terminal device may be written into the second data queue in sequence.

[0077] In an exemplary embodiment, the data transmission method further includes: the second virtual response service responds to the scheduled task corresponding to the data packet to be uploaded, and when the fourth response information corresponding to the data packet to be uploaded is not received, repeatedly sends the data packet to be uploaded to the cloud server.

[0078] Specifically, for the terminal device, for each data packet to be uploaded, when sending it to the cloud, the second virtual response service can establish a corresponding scheduled task for the data packet to be uploaded; if no confirmation response information is received from the cloud within the preset time, the scheduled task can be executed and the data packet to be uploaded can be resent.

[0079] Exemplarily, for the cloud service end under the smart transportation architecture, when the communication quality in the unlimited network environment is good, 1) the cloud service end sends a data packet DATA1 to the end-side device, and the data packet DATA1 is transmitted to the internal physical storage space A in the cloud; 2) the virtual response service C configured in the cloud immediately feeds back the virtual local confirmation response data Local ACK1 corresponding to the data packet DATA1 to the cloud service end, which is used to simulate the terminal device's response to DATA1; 3) after receiving the virtual local confirmation response data Local ACK1, the cloud service end immediately sends a data packet DATA2; the virtual response service C immediately feeds back the virtual local confirmation response data Local ACK2 to the cloud service end, which is used to simulate the terminal device's response to the data packet DATA2, and stores the data packet DATA2 in the internal physical storage space A, and so on. The data communication interaction process between the cloud service end and the physical storage space A and the virtual response service C is local or wired communication, and is not affected by the wireless network environment. 4) For the transmission process between the cloud and the terminal settings, due to the good wireless network environment, the data packet DATA1 is transmitted to the terminal device via the wireless network; wherein, the data packet DATA1 is transmitted from the physical storage space A to the terminal device via the air interface in the form of wireless network transmission. 5) For the terminal device, configure the local physical storage space B and the virtual response service D; after receiving the data packet DATA1, the virtual response service D transmits the data packet DATA1 to the terminal device for processing; and immediately generates a terminal confirmation response data ACK1 response for feedback; 6) The terminal confirmation response data ACK1 is uploaded to the cloud service end via the wireless network. After the cloud receives the terminal confirmation response data ACK1 response, the virtual response service C responds to the response data, and the internal physical storage space A of the cloud sends the DATA2 data packet. The above completes a normal data interaction process, and the subsequent communication process is the same as the above process.

[0080] In addition, when the wireless network environment has communication problems due to factors such as network coverage, obstacles, interference, etc., for the cloud, after receiving the terminal confirmation response data ACK1, the data packet DATA2 stored in the physical storage space A is sent to the terminal device; however, due to the wireless network environment problem, there may be two situations: one is that the terminal device cannot receive the data packet DATA2; the other is that the terminal device receives the data packet DATA2, and the terminal confirmation response data ACK2 given is not received by the cloud. Both situations will cause the cloud to be unable to receive the response data of the terminal device for the data packet DATA2. Based on the retransmission mechanism, the corresponding timer can be configured for the sent data packet; for example, refer to Figure 5 As shown, when the cloud does not receive the terminal confirmation response data ACK2 fed back by the terminal device, it can trigger the retransmission of the data packet DATA2. When the wireless network is restored, for the first case mentioned above, the data packet DATA2 is sent to the terminal device normally after the wireless environment is restored, and the terminal device receives it, and the terminal device feeds back the terminal confirmation response data ACK2 to the cloud. For the second case mentioned above, the cloud did not receive the terminal confirmation response data ACK2 fed back by the terminal device; when the wireless environment is restored, the cloud can receive the confirmation response data ACK2 normally. At this time, in both of the above cases, the data packet DATA3 stored in the physical storage space A can be triggered to be sent to the terminal device.

[0081] The data transmission method provided in the embodiment of the present application, by configuring a virtual response service and a local storage space on the cloud and the terminal device, shields the fluctuation of the wireless environment transmission from the data source end, whether on the cloud service end or the end-side device. When the communication quality of the wireless network environment is good, its transmission process is consistent with the data transmission efficiency of the traditional solution; however, when the wireless network environment is affected by factors such as coverage, obstruction, interference, etc., resulting in short-term communication problems, the local virtual response service can actively send a data packet response to the data source end, and cache the data in the physical storage space, without affecting the data transmission mechanism and data transmission rate of the data source end; when the wireless network environment is restored, the data can be sent from the physical storage space, which accelerates the transmission of data from the cloud to the end side and maximizes the use of the air interface transmission bandwidth. By configuring a virtual response service for the cloud and the terminal device, taking the cloud as an example, the local virtual response service generates corresponding virtual local response confirmation data for the data packet to be processed, so that the cloud server does not reduce the source data transmission frequency, and the source data sending window will not reduce the size of the sending window due to network problems, thereby ultimately affecting the sending frequency of the sending end. In addition, by adding local physical storage space, data that has not received a response due to fluctuations in the wireless network environment and data sent by the virtual response source will be stored in the local physical storage space. Once the wireless network environment is restored, these stored data will be transmitted at the maximum transmission rate of the wireless network, effectively improving the data transmission efficiency from cloud services to end-side services.

[0082] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0083] Based on the same inventive concept, the embodiment of the present application also provides a storage management device for implementing the storage management method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more storage management device embodiments provided below can refer to the limitations on the storage management method above, and will not be repeated here.

[0084] In one embodiment, Figure 6As shown, a data transmission device is provided, which can be applied to the cloud of smart transportation. The data transmission device 600 includes:

[0085] The first virtual response service module 601 is used to respond to the data packet to be processed generated by the cloud server and feed back first response data corresponding to the data packet to be processed to the cloud server;

[0086] The first storage module 602 is used to save the data packet to be processed into a first storage space, so that the virtual answering service can send the data packet to be processed to the terminal device.

[0087] In one of the embodiments, the first storage module 602 can also be used to save the subsequent data packet to be processed to the first storage space in response to the subsequent data packet to be processed generated by the cloud server; wherein the subsequent data packet to be processed is triggered by the cloud server based on the first response data.

[0088] In one embodiment, the first storage space includes a first data queue. The first storage module 602 may also be used to store the to-be-processed data packets in sequence to the first data queue.

[0089] In one of the embodiments, the apparatus 600 may further include: a first transmission module, configured for the first virtual answer service to send the to-be-processed data packet from the first storage space to the terminal device in response to the second answer data of the terminal device.

[0090] In one embodiment, the device 600 may also include: a cloud-based scheduled task processing module, which is used for the first virtual response service to respond to the scheduled task corresponding to the data packet to be processed, and repeatedly send the data packet to be processed to the terminal device when the second response information corresponding to the data packet to be processed is not received.

[0091] In one embodiment, Figure 7 As shown, a data transmission device is provided, which can be applied to terminal equipment of smart transportation. The data transmission device 700 includes:

[0092] The second virtual answering service module 701 is used for responding to the data packet to be uploaded generated by the terminal device, and for the second virtual answering service to feed back third answering data corresponding to the data packet to be uploaded to the terminal device;

[0093] The second storage module 702 is used to save the data packet to be uploaded to a second storage space, so that the second virtual answering service can send the data packet to be uploaded to the cloud server.

[0094] In one of the embodiments, the second storage module 702 can also be used to: in response to a subsequent data packet to be uploaded generated by the terminal device, save the subsequent data packet to be uploaded to the second storage space; wherein the subsequent data packet to be uploaded is triggered by the terminal device based on the third response data.

[0095] In one embodiment, the second storage space includes a second data queue. The second storage module 702 may also be used to: save the data packets to be uploaded in sequence to the second data queue.

[0096] In one of the embodiments, the device 700 may further include: a second transmission module, configured for the second virtual answer service to send the data packet to be uploaded from the second storage space to the cloud server in response to the fourth answer data of the cloud server.

[0097] In one embodiment, the device 700 may also include: a terminal scheduled task processing module, which is used for the second virtual answer service to respond to the scheduled task corresponding to the data packet to be uploaded, and when the fourth response information corresponding to the data packet to be uploaded is not received, repeatedly sending the data packet to be uploaded to the cloud server.

[0098] Each module in the above data transmission device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0099] In one embodiment, an electronic device is provided. The electronic device may be a terminal device such as a mobile phone, a camera, a sports camera, or a drone with photo taking and video recording functions. The internal structure diagram thereof may be as follows: Figure 6As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for analyzing medical images is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

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

[0101] In one embodiment, an electronic device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0102] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0103] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0104] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0105] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magneto resistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0106] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0107] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A data transmission method, characterized in that: The method comprises: In response to a data packet to be processed generated by the cloud server, the first virtual response service feeds back first response data corresponding to the data packet to be processed to the cloud server; and The data packet to be processed is saved in the first storage space so that the virtual answering service can send the data packet to be processed to the terminal device.

2. The method according to claim 1, characterized in that The method further comprises: In response to a subsequent data packet to be processed generated by the cloud server, the subsequent data packet to be processed is saved in the first storage space; wherein the subsequent data packet to be processed is triggered by the cloud server based on the first response data.

3. The method according to claim 1 or 2, characterized in that: The first storage space includes a first data queue, and the method further includes: The to-be-processed data packets are sequentially stored in the first data queue.

4. The method according to claim 1, characterized in that: The method further comprises: The first virtual answer service sends the to-be-processed data packet from the first storage space to the terminal device in response to the second answer data of the terminal device.

5. The method according to claim 1 or 4, characterized in that: The method further comprises: The first virtual answer service responds to the scheduled task corresponding to the data packet to be processed, and repeatedly sends the data packet to be processed to the terminal device when the second answer information corresponding to the data packet to be processed is not received.

6. A data transmission method, characterized in that: The method comprises: In response to the data packet to be uploaded generated by the terminal device, the second virtual response service feeds back third response data corresponding to the data packet to be uploaded to the terminal device; and The data packet to be uploaded is saved in a second storage space so that the second virtual answering service can send the data packet to be uploaded to a cloud server.

7. The method according to claim 6, characterized in that The method further comprises: In response to a subsequent data packet to be uploaded generated by the terminal device, the subsequent data packet to be uploaded is saved in the second storage space; wherein the subsequent data packet to be uploaded is triggered by the terminal device based on the third response data.

8. The method according to claim 6 or 7, characterized in that: The second storage space includes a second data queue, and the method further includes: The data packets to be uploaded are saved in sequence to the second data queue.

9. The method according to claim 6, characterized in that The method further comprises: The second virtual answering service sends the data packet to be uploaded from the second storage space to the cloud server in response to the fourth answering data of the cloud server.

10. The method according to claim 6 or 9, characterized in that: The method further comprises: The second virtual response service responds to the scheduled task corresponding to the data packet to be uploaded, and when the fourth response information corresponding to the data packet to be uploaded is not received, repeatedly sends the data packet to be uploaded to the cloud server.

11. A data transmission device, characterized in that: The device comprises: A first virtual response service module, configured to respond to a data packet to be processed generated by a cloud server and feed back first response data corresponding to the data packet to be processed to the cloud server; The first storage module is used to save the data packet to be processed into a first storage space, so that the virtual answering service can send the data packet to be processed to the terminal device.

12. A data transmission device, characterized in that: The device comprises: A second virtual answering service module, configured to respond to a data packet to be uploaded generated by a terminal device, and to feedback third answering data corresponding to the data packet to be uploaded to the terminal device by the second virtual answering service; The second storage module is used to save the data packet to be uploaded to a second storage space, so that the second virtual answering service can send the data packet to be uploaded to the cloud server.

13. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 10 are implemented.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.

15. A computer program product, characterized in that The computer program product comprises a computer program, which implements the steps of the method according to any one of claims 1 to 10 when executed by a processor.