CN113873034A - Data transmission method and device, electronic equipment and storage medium - Google Patents

Data transmission method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113873034A
CN113873034A CN202111137080.1A CN202111137080A CN113873034A CN 113873034 A CN113873034 A CN 113873034A CN 202111137080 A CN202111137080 A CN 202111137080A CN 113873034 A CN113873034 A CN 113873034A
Authority
CN
China
Prior art keywords
data
cloud
data transmission
address
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111137080.1A
Other languages
Chinese (zh)
Inventor
谢一心
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202111137080.1A priority Critical patent/CN113873034A/en
Publication of CN113873034A publication Critical patent/CN113873034A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • H04L67/108Resource delivery mechanisms characterised by resources being split in blocks or fragments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Abstract

The invention provides a data transmission method, a data transmission device, electronic equipment and a storage medium. The data transmission method comprises the following steps: first, first data are transmitted to a cloud end, and a first data address returned by the cloud end is received and stored; secondly, transmitting second data to the cloud end, receiving and storing a second data address returned by the cloud end, wherein the data volume of the second data is smaller than that of the first data; then generating a data transmission message according to the first data address and the second data address; and finally, sending the data transmission message to a cloud end, so that the equipment end receives and obtains second data according to the data transmission message. The first data address and the second data address with smaller data volume are sent to the equipment end, and the equipment end can quickly download the second data with smaller data volume according to the second data address and then display the second data, so that the caching time of the first data is reduced.

Description

Data transmission method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of data transmission technologies, and in particular, to a data transmission method and apparatus, an electronic device, and a storage medium.
Background
At present, equipment terminals such as smart homes are provided with display screens, and various data information can be received and displayed. Based on the internet of things, a user can form network connection with the smart home through a user side such as a mobile phone, and can send data such as videos, audios and pictures to the smart home equipment for display through the mobile phone.
In the prior art, a user side sends a video to an equipment side, the video needs to be uploaded to a cloud side, the cloud side sends the content of a video message to the equipment side, the equipment side caches the video locally, and then obtains a first frame of picture of the video from the cached video to serve as a video cover to be displayed to a user. Due to the fact that the video data volume is large, the time for downloading the video by the equipment side is long, long time is needed for obtaining the first frame of picture, and the waiting time for a user to see the first frame of picture is too long.
Disclosure of Invention
Based on the above deficiencies in the prior art, the present invention is directed to a data transmission method, an apparatus, an electronic device, and a storage medium, which enable a device to quickly obtain a picture to be displayed.
In order to achieve the above object, the present invention first provides a data transmission method, which is applied to a user side of a data transmission system, wherein the data transmission system further comprises an equipment side and a cloud side, and data of the user side is transmitted to the equipment side through the cloud side; the data transmission method comprises the following steps:
the first data are transmitted to the cloud end, and a first data address returned by the cloud end is received and stored, wherein the first data address is generated after the first data are stored in the cloud end;
transmitting second data to the cloud end, receiving and storing a second data address returned by the cloud end, wherein the second data address is generated after the second data is stored in the cloud end, the second data is generated according to the first data, and the data volume of the second data is smaller than that of the first data;
generating a data transmission message according to the first data address and the second data address;
and sending the data transmission message to the cloud end, so that the equipment end receives and obtains second data according to the data transmission message.
Optionally, the step of sending the data transmission message to the cloud end to enable the device end to receive and obtain the second data according to the data transmission message includes:
and sending the data transmission message to the cloud end, so that the equipment end receives, stores and obtains second data and a first data address according to the data transmission message.
Optionally, after the step of sending the data transmission message to the cloud, the method further includes:
and receiving a first confirmation message from the cloud, wherein the first confirmation message is generated and returned to the cloud after the data transmission message is successfully received by the equipment terminal.
Optionally, after the step of sending the data transmission message to the cloud, the method further includes:
and receiving a second confirmation message from the cloud, wherein the second confirmation message is generated and returned to the cloud after the device end fails to receive the data transmission message.
Optionally, before the step of transmitting the first data to the cloud, the method further includes:
dividing the first data into a plurality of subdata;
one of the plurality of sub data is selected as the second data.
Optionally, before the step of sending the data transmission message to the cloud, so that the device receives and obtains the second data according to the data transmission message, the method further includes:
acquiring an identification mark of the equipment end, wherein the identification mark is recorded in the cloud end after the equipment end establishes network connection with the cloud end;
and determining the equipment terminal which needs to receive the data according to the identification mark.
Optionally, before the steps of transmitting the first data to the cloud, and receiving and saving the first data address returned by the cloud, the method further includes:
sending identity verification information to a cloud;
and receiving an identity information verification result returned by the cloud.
The invention also provides a data transmission device, which is applied to a user side of a data transmission system, the data transmission system also comprises an equipment side and a cloud side, and data of the user side is transmitted to the equipment side through the cloud side; the data transmission device includes:
the first transmission module is used for transmitting the first data to the cloud end, receiving and storing a first data address returned by the cloud end, wherein the first data address is generated after the first data is stored in the cloud end;
the second transmission module is used for transmitting second data to the cloud end, receiving and storing a second data address returned by the cloud end, wherein the second data address is generated after the second data is stored in the cloud end, the second data is generated according to the first data, and the data volume of the second data is smaller than that of the first data;
the data generation module is used for generating a data transmission message according to the first data address and the second data address;
and the message sending module is used for sending the data transmission message to the cloud end, so that the equipment end receives the data transmission message and obtains second data according to the data transmission message.
The invention also provides an electronic device, which comprises a storage medium and a processor, wherein the storage medium stores a computer program, and the processor realizes the steps of the data transmission method when executing the computer program.
The present invention also provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the data transmission method of any one of the above.
Compared with the prior art, the invention has the beneficial effects that: first, first data are transmitted to a cloud end, and a first data address returned by the cloud end is received and stored; secondly, transmitting second data to the cloud end, receiving and storing a second data address returned by the cloud end, wherein the data volume of the second data is smaller than that of the first data; then generating a data transmission message according to the first data address and the second data address; and finally, sending the data transmission message to a cloud end, so that the equipment end receives and obtains second data according to the data transmission message. The first data address and the second data address with smaller data volume are sent to the equipment end, and the equipment end can quickly download the second data with smaller data volume according to the second data address and then display the second data, so that the caching time of the first data is reduced. After the user can see the second data again, if the first data needs to be acquired, the device side can download the first data from the cloud according to the first data address. If the first data does not need to be acquired, the equipment end does not need to download the first data, the data storage space of the equipment end is saved, and a user can quickly see the cover picture of the video.
Drawings
In order to illustrate the embodiments or the technical solutions in the prior art more clearly, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the invention, and it is obvious for a person skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a diagram illustrating steps of a data transmission method according to an embodiment of the present invention;
FIG. 2 is an architecture diagram of a data transmission system according to an embodiment of the present invention;
FIG. 3 is a flow chart of a data transmission method according to an embodiment of the present invention;
FIG. 4 is a block diagram of a data transmission apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The following description of the various embodiments refers to the accompanying drawings that illustrate specific embodiments in which the invention may be practiced. In the description of the present invention, it is to be understood that the terms "first", "second" and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, features defined as "first", "second", "third" may explicitly or implicitly include one or more of the described features. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; may be mechanically connected, may be electrically connected or may be in communication with each other; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
The following disclosure provides many different embodiments or examples for implementing different features of the invention. To simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Of course, they are merely examples and are not intended to limit the present invention.
The embodiment of the invention provides a data transmission method, which is applied to a user side 1 of a data transmission system. As shown in fig. 2, the data transmission system further includes a device 2 and a cloud 3, and the data of the user 1 is transmitted to the device 2 through the cloud 3. The user terminal 1 includes, but is not limited to, a mobile phone, a tablet computer, a computer or a smart wearable device. The device side 2 may be an intelligent appliance with a display screen, such as an intelligent television, an intelligent air conditioner, an intelligent refrigerator, and the like.
The data transmission method of this embodiment can be applied to the user terminal 1, as shown in fig. 1, and includes the following steps:
step 100, transmitting the first data to the cloud end 3, receiving and storing a first data address returned by the cloud end 3, wherein the first data address is generated after the first data is stored in the cloud end 3.
The first data may be video data, and is stored locally at the user end 1. The first data address is a URL (Uniform Resource Locator) address corresponding to the cloud 3 of the first data.
Step 200, transmitting the second data to the cloud end 3, receiving and storing a second data address returned by the cloud end 3, wherein the second data address is generated after the second data is stored in the cloud end 3, the second data is generated according to the first data, and the data volume of the second data is smaller than that of the first data.
The second data may be picture data (for example, a first frame picture of a video, or a certain frame picture thereof, which may be used as a cover page of the video), and the second data address is a URL address corresponding to the second data in the cloud 3. The data size of a general picture is much smaller than that of a video.
Step 300, generating a data transmission message according to the first data address and the second data address.
In the above step, the URL address of the first data and the URL address of the second data are merged into a data transmission message, where the data transmission message includes a video URL address and a picture URL address.
Step 400, sending the data transmission message to the cloud 3, so that the device 2 receives and obtains the second data according to the data transmission message.
In an embodiment, the foregoing steps include sending the data transmission message to the cloud end 3, so that the device end 2 receives, stores, and obtains the second data and the first data address according to the data transmission message.
The data transmission message is transmitted to the device end 2 through the cloud end 3, so that the device end 2 downloads the second data (namely, the video cover pictures) according to the URL address of the second data in the data transmission message after receiving the data transmission message and displays the second data on the display screen of the device end. The user decides whether to watch the video or not according to the cover picture. For example, if it is decided to watch a video, and a picture is clicked, the corresponding first data (i.e., the video) is downloaded according to the URL address of the first data in the data transmission message. If the user does not want to watch the data, the device 2 does not need to download the first data, thereby saving network resources and storage space of the user.
The first data address and the second data address with smaller data volume are sent to the equipment end 2, the equipment end 2 can download the second data with smaller data volume rapidly according to the second data address, and then the second data are displayed, so that the caching time of the first data is reduced. After the user can review the second data again, if the first data needs to be acquired, the device 2 can download the first data from the cloud 3 according to the first data address. If the first data does not need to be acquired, the device end 2 does not need to download the first data, so that the data storage space of the device end 2 is saved, and the user can quickly see the cover picture of the video.
In one embodiment, after the step of sending the data transmission message to the cloud end 3, the method further includes:
and receiving a first confirmation message from the cloud 3, wherein the first confirmation message is generated and returned to the cloud 3 after the device side 2 successfully receives the data transmission message.
Through the steps, whether the equipment end 2 successfully receives the data transmission message can be grasped in time. And after the device end 2 successfully downloads the first data, a message that the first data is successfully downloaded and returned by the device end 2 can be received through the cloud end 3.
In one embodiment, after the step of sending the data transmission message to the cloud end 3, the method further includes:
and receiving a second confirmation message from the cloud 3, wherein the second confirmation message is generated and returned to the cloud 3 after the device end 2 fails to receive the data transmission message.
Through the steps, the second confirmation message returned by the cloud end 3 is received, the fact that the data transmission message is not successfully received by the equipment end 2 is shown, at the moment, the user end 1, the cloud end 3 and the equipment end 2 can carry out self-checking, and if no abnormal problem exists after the self-checking, the data transmission message is sent to the equipment end 2 again through the cloud end 3.
In one embodiment, before the step of transmitting the first data to the cloud 3, the method further includes:
the first data is divided into a plurality of sub data.
In the above steps, the first data is stored locally at the user end 1, and does not need to be downloaded from the internet, so that the first data (i.e. video) can be rapidly processed on the user end 1 and divided into multiple frames of pictures.
One of the plurality of sub data is selected as the second data.
In the above steps, a first frame of picture may be selected from the multiple frames of pictures of the video as the second data, or another certain frame of picture may be selected as the second data.
In one embodiment, before step 400, the method further comprises:
and acquiring the identification mark of the equipment end 2, wherein the identification mark is recorded in the cloud end 3 after the equipment end 2 establishes network connection with the cloud end 3.
In the above steps, after the device 2 establishes the network connection with the cloud 3, the identification mark of the device 2 is registered on the cloud 3.
And determining the equipment end 2 needing to receive data according to the identification mark.
In the above steps, when the user side 1 sends the video to the device side 2, the device side 2 that receives the first data is selected on the user side 1, and then the device side 2 is set as the target device side 2 according to the identification mark of the device side 2, so that the cloud side 3 sends the data to the corresponding target device side 2 according to the identification mark of the target device side 2 after receiving the data.
In one embodiment, before step 100, the method further comprises:
and sending authentication information to the cloud 3.
In the above step, the authentication information may include the identification identifier of the user end 1, the cloud end 3 stores a white list of the user end 1, and only when the identification identifier of the user end 1 is in the white list of the user end 1, the user end 1 has the right to send the first data to the device end 2, so that the illegal user end 1 can be prevented from sending unsafe data to the device end 2.
And receiving an identity information verification result returned by the cloud end 3.
In the above steps, if the result of the authentication of the identity information is legal, it indicates that the user side 1 can send data to the device side 2, and if the result of the authentication of the identity information is illegal, it indicates that the user side 1 cannot send data to the device side 2. Whether the identification mark of the user side 1 is newly added to the white list of the user side 1 can be determined according to actual conditions, and synchronous updating is carried out at the cloud side 3.
In this embodiment, the identification identifiers of the ue 1 and the device 2 may include, but are not limited to, a Media Access Control Address (MAC Address, a Media Access Control Address, or a local area network Address), a Universal Unique Identifier (UUID), and a Mobile Equipment Identifier (MEID).
As shown in fig. 3, the data transmission method according to the embodiment of the present invention may specifically include the following steps:
(1) the client 1 transmits the local video to the cloud 3,
(2) the cloud 3 stores the video and returns the URL address of the video to the user terminal 1.
(3) The user terminal 1 stores the URL address of the video.
(4) The user terminal 1 obtains a cover picture (which may be a first frame picture of the video or some other frame picture) of the local video, and transmits the cover picture to the cloud terminal 3.
(5) The cloud 3 stores the cover picture and returns the URL address of the cover picture to the user terminal 1.
(6) The user side 1 stores the URL address of the cover picture.
(7) The user side 1 splices the URL address of the video and the URL address of the cover picture to generate a data transmission message, which may be a video message, and then transmits the video message to the cloud side 3.
(8) The cloud 3 sends the video message to the device 2.
(9) The device terminal 2 stores the video message, downloads the cover picture according to the URL address of the cover picture, displays the cover picture to the user through the display screen, and returns confirmation information of the received video message to the cloud terminal 3.
(10) The cloud 3 returns the confirmation information to the user terminal 1.
The embodiment of the invention provides a data transmission device, which is applied to a user side 1 of a data transmission system, wherein the data transmission system further comprises an equipment side 2 and a cloud side 3, and data of the user side 1 is transmitted to the equipment side 2 through the cloud side 3; as shown in fig. 4, the data transmission apparatus includes a first transmission module 11, a second transmission module 12, a data generation module 13, and a message sending module 14.
The first transmission module 11 is configured to transmit the first data to the cloud 3, receive and store a first data address returned by the cloud 3, where the first data address is generated after the first data is stored in the cloud 3.
The second transmission module 12 is configured to transmit second data to the cloud 3, receive and store a second data address returned by the cloud 3, where the second data address is generated after the second data is stored in the cloud 3, the second data is generated according to the first data, and a data amount of the second data is smaller than a data amount of the first data.
The data generating module 13 is configured to generate a data transmission message according to the first data address and the second data address.
The message sending module 14 is configured to send the data transmission message to the cloud 3, so that the device side 2 receives and obtains the second data according to the data transmission message.
In the data transmission device of this embodiment, the data transmission method provided in the above embodiment is applied, first data is transmitted to the cloud end 3, and a first data address returned by the cloud end 3 is received and stored; secondly, transmitting second data to the cloud end 3, receiving and storing a second data address returned by the cloud end 3, wherein the data volume of the second data is smaller than that of the first data; then generating a data transmission message according to the first data address and the second data address; and finally, sending the data transmission message to the cloud end 3, so that the equipment end 2 receives and obtains second data according to the data transmission message. According to the invention, the first data address and the second data address with smaller data volume are sent to the equipment end 2, and the equipment end 2 can rapidly download the second data with smaller data volume according to the second data address and then display the second data, so that the cache time of the first data is reduced. After the user can review the second data again, if the first data needs to be acquired, the device 2 can download the first data from the cloud 3 according to the first data address. If the first data does not need to be acquired, the device end 2 does not need to download the first data, so that the data storage space of the device end 2 is saved, and the user can quickly see the cover picture of the video.
An embodiment of the present invention further provides an electronic device, as shown in fig. 5, which includes a storage medium and a processor, where the storage medium stores a computer program, and the processor executes the computer program to implement the steps of any data transmission method in the foregoing embodiments.
It will be understood by those skilled in the art that all or part of the steps in the methods of the above embodiments may be performed by instructions (computer programs) which may be stored in a computer-readable storage medium and loaded and executed by a processor, or by related hardware controlled by the instructions (computer programs). To this end, the storage medium of the electronic device according to the embodiment of the present invention stores a plurality of instructions, and the instructions can be loaded by the processor to execute the steps of any embodiment of the device control method according to the embodiment of the present invention.
In the embodiment, first data is transmitted to the cloud end 3, and a first data address returned by the cloud end 3 is received and stored; secondly, transmitting second data to the cloud end 3, receiving and storing a second data address returned by the cloud end 3, wherein the data volume of the second data is smaller than that of the first data; then generating a data transmission message according to the first data address and the second data address; and finally, sending the data transmission message to the cloud end 3, so that the equipment end 2 receives and obtains second data according to the data transmission message. According to the invention, the first data address and the second data address with smaller data volume are sent to the equipment end 2, and the equipment end 2 can rapidly download the second data with smaller data volume according to the second data address and then display the second data, so that the cache time of the first data is reduced. After the user can review the second data again, if the first data needs to be acquired, the device 2 can download the first data from the cloud 3 according to the first data address. If the first data does not need to be acquired, the device end 2 may not need to download the first data, and the data storage space of the device end 2 is saved.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the steps of any of the data transmission methods.
As shown, the storage medium and the processor are electrically connected, directly or indirectly, to enable transmission or interaction of data. For example, the elements may be electrically connected to each other via one or more communication buses or signal lines, such as via a bus. The storage medium stores computer-executable instructions for implementing the data access control method, and includes at least one software functional module which can be stored in the storage medium in the form of software or firmware, and the processor executes various functional applications and data processing by running the software programs and modules stored in the storage medium. The storage medium may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a programmable read-only memory (PROM), an erasable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), and the like. The storage medium is used for storing programs, and the processor executes the programs after receiving the execution instructions. Further, the software programs and modules within the storage media described above may also include an operating system, which may include various software components and/or drivers for managing system tasks (e.g., memory management, storage device control, power management, etc.), and may communicate with various hardware or software components to provide an operating environment for other software components. The processor may be an integrated circuit chip having signal processing capabilities. The processor may be a general-purpose processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like. The various methods, steps, and logic flow diagrams disclosed in this embodiment may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Since the instructions stored in the storage medium may execute the steps in any data transmission method embodiment provided in the embodiments of the present invention, beneficial effects that can be achieved by any data transmission method provided in the embodiments of the present invention may be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. The data transmission method is characterized by being applied to a user side of a data transmission system, wherein the data transmission system further comprises an equipment side and a cloud side, and data of the user side is transmitted to the equipment side through the cloud side; the data transmission method comprises the following steps:
transmitting first data to the cloud end, receiving and storing a first data address returned by the cloud end, wherein the first data address is generated after the first data is stored in the cloud end;
transmitting second data to the cloud, receiving and storing a second data address returned by the cloud, wherein the second data address is generated after the second data is stored in the cloud, the second data is generated according to the first data, and the data volume of the second data is smaller than that of the first data;
generating a data transmission message according to the first data address and the second data address;
and sending the data transmission message to the cloud end, so that the equipment end receives and obtains the second data according to the data transmission message.
2. The data transmission method according to claim 1, wherein the step of sending the data transmission message to the cloud end so that the device end receives and obtains the second data according to the data transmission message includes:
and sending the data transmission message to the cloud end, so that the equipment end receives, stores and obtains the second data and the first data address according to the data transmission message.
3. The data transmission method according to claim 1, further comprising, after the step of sending the data transmission message to the cloud:
and receiving a first confirmation message from the cloud, wherein the first confirmation message is generated and returned to the cloud after the data transmission message is successfully received by the equipment terminal.
4. The data transmission method according to claim 1 or 3, wherein after the step of sending the data transmission message to the cloud, the method further comprises:
and receiving a second confirmation message from the cloud, wherein the second confirmation message is generated and returned to the cloud after the device end fails to receive the data transmission message.
5. The data transmission method according to claim 1, wherein the step of transmitting the first data to the cloud further comprises:
dividing the first data into a plurality of subdata;
one sub data is selected from the plurality of sub data as second data.
6. The data transmission method according to claim 1, wherein before the step of sending the data transmission message to the cloud, and enabling the device side to receive and obtain the second data according to the data transmission message, the method further comprises:
acquiring an identification mark of the equipment end, wherein the identification mark is recorded in the cloud end after the equipment end establishes network connection with the cloud end;
and determining the equipment terminal which needs to receive the data according to the identification mark.
7. The data transmission method according to claim 1, further comprising, before the steps of transmitting the first data to the cloud, receiving and saving the first data address returned by the cloud:
sending authentication information to the cloud;
and receiving an identity information verification result returned by the cloud.
8. The data transmission device is applied to a user side of a data transmission system, the data transmission system further comprises an equipment side and a cloud side, and data of the user side is transmitted to the equipment side through the cloud side; the data transmission apparatus includes:
the first transmission module is used for transmitting first data to the cloud end, receiving and storing a first data address returned by the cloud end, wherein the first data address is generated after the first data is stored in the cloud end;
the second transmission module is used for transmitting second data to the cloud end, receiving and storing a second data address returned by the cloud end, wherein the second data address is generated after the second data is stored in the cloud end, the second data is generated according to the first data, and the data volume of the second data is smaller than that of the first data;
the data generation module is used for generating a data transmission message according to the first data address and the second data address;
and the message sending module is used for sending the data transmission message to the cloud end, so that the equipment end receives and obtains the second data according to the data transmission message.
9. An electronic device comprising a storage medium and a processor, the storage medium storing a computer program, wherein the processor implements the steps of the data transmission method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that a processor executes the computer program to carry out the steps of the data transmission method according to one of claims 1 to 7.
CN202111137080.1A 2021-09-27 2021-09-27 Data transmission method and device, electronic equipment and storage medium Pending CN113873034A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111137080.1A CN113873034A (en) 2021-09-27 2021-09-27 Data transmission method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111137080.1A CN113873034A (en) 2021-09-27 2021-09-27 Data transmission method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113873034A true CN113873034A (en) 2021-12-31

Family

ID=78991308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111137080.1A Pending CN113873034A (en) 2021-09-27 2021-09-27 Data transmission method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113873034A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1988547A (en) * 2005-12-23 2007-06-27 腾讯科技(深圳)有限公司 Method, server and system for online playing medium file
CN104581407A (en) * 2014-12-31 2015-04-29 北京奇艺世纪科技有限公司 Video previewing method and device
CN104936032A (en) * 2015-06-03 2015-09-23 北京百度网讯科技有限公司 Method and device for playing network video
WO2018095219A1 (en) * 2016-11-24 2018-05-31 腾讯科技(深圳)有限公司 Media information processing method and device
CN108696489A (en) * 2017-04-11 2018-10-23 腾讯科技(北京)有限公司 The playing method and device of media information
CN111405237A (en) * 2019-12-11 2020-07-10 杭州海康威视系统技术有限公司 Cloud storage system providing preview function and preview method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1988547A (en) * 2005-12-23 2007-06-27 腾讯科技(深圳)有限公司 Method, server and system for online playing medium file
CN104581407A (en) * 2014-12-31 2015-04-29 北京奇艺世纪科技有限公司 Video previewing method and device
CN104936032A (en) * 2015-06-03 2015-09-23 北京百度网讯科技有限公司 Method and device for playing network video
WO2018095219A1 (en) * 2016-11-24 2018-05-31 腾讯科技(深圳)有限公司 Media information processing method and device
CN108696489A (en) * 2017-04-11 2018-10-23 腾讯科技(北京)有限公司 The playing method and device of media information
CN111405237A (en) * 2019-12-11 2020-07-10 杭州海康威视系统技术有限公司 Cloud storage system providing preview function and preview method

Similar Documents

Publication Publication Date Title
US20180041893A1 (en) Method and system of multi-terminal mapping to a virtual sim card
CN111756674B (en) Network communication method, system, device and computer readable storage medium
CN110324405B (en) Message sending method, device, system and computer readable storage medium
CN107135672B (en) Application installation package obtaining method, information broadcasting method, mobile equipment and base station
CN109992406B (en) Picture request method, picture request response method and client
CN107274222B (en) Advertisement putting method and device
CN110493321B (en) Resource acquisition method, edge scheduling system and server
CN101242330A (en) Electronic device, management server and control method thereof
CN110764688B (en) Method and device for processing data
CN105592083B (en) Method and device for terminal to access server by using token
CN110855772A (en) Cross-device data storage method, system, device, server and medium
CN111159269B (en) Data processing method, device and system
CN111241523B (en) Authentication processing method, device, equipment and storage medium
CN113361913A (en) Communication service arranging method, device, computer equipment and storage medium
CN112689316A (en) Binding method and device of intelligent equipment, storage medium and electronic device
CN112714365B (en) Video playing method and system
CN112818270B (en) Data cross-domain transfer method and device and computer equipment
CN114416508A (en) Application performance monitoring method and device, storage medium and electronic equipment
CN113259429A (en) Session keeping control method, device, computer equipment and medium
CN110838969B (en) Picture transmission method, device, equipment and medium
CN113873034A (en) Data transmission method and device, electronic equipment and storage medium
EP2003852A1 (en) Method for improving output of data from a remote gateway at a mobile device and download management unit
CN113162997B (en) Data transmission method and device, electronic equipment and readable storage medium
CN113746851B (en) Proxy system and method supporting real-time analysis of GRPC request
EP3694151A1 (en) Terminal network sharing method, apparatus, air conditioning adjustment device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination