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

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

Info

Publication number
CN114006896B
CN114006896B CN202111188295.6A CN202111188295A CN114006896B CN 114006896 B CN114006896 B CN 114006896B CN 202111188295 A CN202111188295 A CN 202111188295A CN 114006896 B CN114006896 B CN 114006896B
Authority
CN
China
Prior art keywords
data
transmission
object identifier
target
transmission data
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.)
Active
Application number
CN202111188295.6A
Other languages
Chinese (zh)
Other versions
CN114006896A (en
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 CN202111188295.6A priority Critical patent/CN114006896B/en
Publication of CN114006896A publication Critical patent/CN114006896A/en
Application granted granted Critical
Publication of CN114006896B publication Critical patent/CN114006896B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention discloses a data hybrid transmission method, a device, electronic equipment and a storage medium; the method comprises the steps of obtaining data transmission description information and broadcast transmission data of data to be transmitted in fragments, wherein the data transmission description information comprises available time information of at least two data fragments of the data to be transmitted in fragments, determining whether a first fragment and a second fragment of the data fragments are out of date based on the available time information in the data transmission description information, obtaining a current transmission object identification of the broadcast transmission data if the first fragment and the second fragment are out of date, determining target transmission data corresponding to the broadcast transmission data from the data to be transmitted in fragments based on the transmission object identification, and downloading the target transmission data; therefore, the non-real-time audio and video data can be normally transmitted, the stability of audio and video playing is improved, and the problem of abnormal playing caused by the fact that the data fragments are out of date and cannot be downloaded is solved.

Description

Data hybrid transmission method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data hybrid transmission method, a device, an electronic apparatus, and a storage medium.
Background
With the rapid development of the current communication technology, more and more users can enjoy audio and video resources transmitted in real time through services such as live video broadcast, real-time program watching and the like.
At present, the main method adopted by the electronic equipment when downloading the audio and video resources is that an information table of the data fragments of the audio and video resources is obtained, whether each data fragment is out of date is judged according to the information table, and if the data fragment is out of date, the downloading is not carried out. However, with this scheme, for the recorded non-real-time audio and video resources, the acquired information table of the audio and video resources has expired, and at this time, the downloading is performed according to the logic, and since all the data fragments are marked as expired, any one data fragment cannot be downloaded, resulting in abnormal playing of the audio and video resources.
Disclosure of Invention
The embodiment of the invention provides a data hybrid transmission method, a device, electronic equipment and a storage medium, which can download non-real-time audio and video resources and avoid the problem of abnormal playing in the playing process.
The embodiment of the invention provides a data mixed transmission method, which comprises the following steps:
acquiring data transmission description information of the data transmitted in the fragmentation and broadcast transmission data, wherein the data transmission description information comprises available time information of at least two data fragments of the data transmitted in the fragmentation;
determining whether a first segment and a second segment of the data segments are expired based on the available time information in the data transmission description information;
if the first and second fragments are expired, acquiring a current transmission object identifier of the broadcast transmission data;
and determining target transmission data corresponding to the broadcast transmission data from the fragmented transmission data based on the transmission object identification, and downloading the target transmission data.
Correspondingly, an embodiment of the present invention provides a data hybrid transmission device, including:
a description information acquisition unit, configured to acquire data transmission description information of the fragmented transmission data and broadcast transmission data, where the data transmission description information includes available time information of at least two data fragments of the fragmented transmission data;
an expiration judging unit, configured to determine whether a first slice and a second slice in the data slices are expired based on the available time information in the data transmission description information;
An object identifier obtaining unit, configured to obtain a current transmission object identifier of the broadcast transmission data if the first segment and the second segment have expired;
and the data downloading unit is used for determining target transmission data corresponding to the broadcast transmission data from the fragmented transmission data based on the transmission object identification and downloading the target transmission data.
Optionally, the available time information includes available start time of each data slice, and the expiration judging unit is configured to obtain a current standard time and available start time corresponding to a first slice and a second slice in the data slices respectively;
calculating a first time difference value between the current standard time and the available starting time of the first slice and a second time difference value between the current standard time and the available starting time of the second slice;
and determining whether the first and second fragments expire or not based on the first time difference value, the second time difference value and a preset time difference value threshold.
Optionally, the data downloading unit is configured to compare the current transmission object identifier with the acquired previous transmission object identifier;
And if the current transmission object identifier is different from the previous transmission object identifier, determining target transmission data corresponding to the broadcast transmission data from the sliced transmission data according to the current transmission object identifier.
Optionally, the data hybrid transmission device provided by the embodiment of the present invention further includes an identifier updating unit, configured to obtain, after a preset time interval, a new transmission object identifier as a current transmission object identifier if the current transmission object identifier is the same as a previous transmission object identifier, where if the current transmission object identifier is the first transmission object identifier, determine that the current transmission object identifier is the same as the previous transmission object identifier;
and returning to the step of comparing the current transmission object identification with the acquired previous transmission object identification.
Optionally, the data hybrid transmission device provided by the embodiment of the present invention further includes a direct downloading unit of slices, configured to determine, if at least one of the first slice and the second slice is not expired, whether each of the data slices is expired based on available time information corresponding to each of the data slices in the data for the slice transmission;
Taking unexpired data fragments in the data fragments as target transmission data;
and downloading the target transmission data.
Optionally, the data downloading unit is configured to determine, from the fragmented transmission data, a data fragment corresponding to the transmission object identifier as target transmission data based on the transmission object identifier and a preset correspondence between the transmission object identifier and a data fragment identifier;
constructing a data fragment downloading address corresponding to the target transmission data;
and downloading the target transmission data through the data fragment downloading address.
Optionally, the data hybrid transmission device provided by the embodiment of the present invention further includes a fragment verification unit, configured to perform data analysis on the downloaded target transmission data, and obtain a target data fragment identifier of the target transmission data;
verifying the target data fragment identifier based on the transmission object identifier and the corresponding relation between the preset transmission object identifier and the data fragment identifier;
and if the target data slicing identifier is inconsistent with the data slicing identifier corresponding to the transmission object identifier, returning to execute the step of determining the target transmission data corresponding to the broadcast transmission data from the sliced transmission data based on the transmission object identifier, and downloading the target transmission data.
Correspondingly, the embodiment of the invention also provides electronic equipment, which comprises a memory and a processor; the memory stores an application program, and the processor is configured to run the application program in the memory, so as to execute steps in any one of the data hybrid transmission methods provided by the embodiments of the present invention.
In addition, the embodiment of the invention also provides a computer readable storage medium, which stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor to execute the steps in any data hybrid transmission method provided by the embodiment of the invention.
By adopting the scheme of the embodiment of the invention, the data transmission description information and the broadcast transmission data of the data transmission fragments can be obtained, the data transmission description information comprises available time information of at least two data fragments of the data transmission fragments, whether the first fragments and the second fragments in the data fragments are out of date is determined based on the available time information in the data transmission description information, if the first fragments and the second fragments are out of date, the current transmission object identification of the broadcast transmission data is obtained, the target transmission data corresponding to the broadcast transmission data is determined from the fragments transmission data based on the transmission object identification, and the target transmission data is downloaded; because the broadcast transmission data and the sliced transmission data are transmitted simultaneously in the embodiment of the invention, when the data in the sliced transmission data is out of date, the sliced transmission data is not skipped directly, but the target transmission data is determined from the sliced transmission data according to the broadcast transmission data to download, therefore, the non-real-time audio and video data can be normally transmitted, the stability of audio and video playing is improved, and the problem of abnormal playing caused by the incapability of downloading due to the expiration of the data sliced is solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of a scenario of a data hybrid transmission method according to an embodiment of the present invention;
fig. 2 is a flowchart of a data hybrid transmission method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a technical implementation of a data mixing transmission process provided in an embodiment of the present invention when unexpired data fragments exist;
fig. 4 is a schematic diagram of a technical implementation of downloading data fragments in combination with broadcast transmission data in a data hybrid transmission process according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a data hybrid transmission device according to an embodiment of the present invention;
fig. 6 is another schematic structural diagram of a data hybrid transmission device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
The embodiment of the invention provides a data hybrid transmission method, a data hybrid transmission device, electronic equipment and a computer readable storage medium. Specifically, the embodiment of the invention provides a data hybrid transmission method suitable for a data hybrid transmission device, and the data hybrid transmission device can be integrated in electronic equipment.
The electronic device may be a terminal or the like, including but not limited to a mobile terminal and a fixed terminal, for example, a mobile terminal including but not limited to a smart phone, a smart watch, a tablet computer, a notebook computer, a smart car, etc., wherein the fixed terminal includes but not limited to a desktop computer, a smart television, etc.
The electronic device may be a server, which may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs, basic cloud computing services such as big data and artificial intelligence platforms, but is not limited thereto.
The data hybrid transmission method of the embodiment of the invention can be realized by a server or a terminal and the server together.
The method for implementing the data hybrid transmission by the terminal and the server together is described below as an example.
As shown in fig. 1, the data hybrid transmission system provided by the embodiment of the present invention includes a terminal 10, a server 20, and the like; the terminal 10 and the server 20 are connected through a network, for example, a wired or wireless network connection, wherein the terminal 10 may exist as a terminal for a user to acquire broadcast transmission data and download target transmission data.
Among them, the server 20 may be used to transmit data transmission description information of broadcast transmission data and burst transmission data to the terminal 10.
The terminal 10 may acquire data transmission description information of the burst transmission data, including available time information for at least two data bursts of the burst transmission data, and broadcast transmission data, and determine whether a first burst and a second burst of the data bursts are expired based on the available time information in the data transmission description information.
If the first and second slices have expired, the terminal 10 may obtain the current transmission object identifier of the broadcast transmission data from the server 20, determine, based on the transmission object identifier, target transmission data corresponding to the broadcast transmission data from the slice transmission data, and download the target transmission data.
The following will describe in detail. The following description of the embodiments is not intended to limit the preferred embodiments.
The embodiments of the present invention will be described from the perspective of a data hybrid transmission apparatus, which may be integrated in a server or a terminal in particular.
As shown in fig. 2, the specific flow of the data hybrid transmission method of this embodiment may be as follows:
201. and acquiring data transmission description information of the data transmitted in the fragments and broadcasting the data transmitted in the fragments, wherein the data transmission description information comprises available time information of at least two data fragments of the data transmitted in the fragments.
The fragmented transmission data refers to data transmitted in a fragmented form through an internet broadband. Since the link layer has a maximum transmission unit (Maximum Transmission Unit, MTU), when the data packet is larger than the link maximum transmission unit, the data packet can be broken up into a number of data fragments to enable data transmission over the link layer.
In some embodiments, the data transmission description information may be information describing the data for the segment transmission, for example, the data transmission description information may include, but is not limited to, available time information for each data segment in the segment transmission data, uniform resource locators (Uniform Resource Locator, URLs) for downloading each data segment, and/or address information of an electronic device receiving the data transmission description information, and so on.
For example, in an embodiment of the present invention, the data transmission description information may be in the form of a media presentation description (Media Presentation Description, MPD) table. In ATSC3.0, the MPD table may carry both related audio and video information of broadcast transmission and network audio and video information. The MPD table may describe the available time information of the segments and URLs corresponding to the network audio and video.
It will be appreciated that the data transmission description information may be any form that may be implemented to describe the data to be transmitted in slices, which is not limited in this embodiment of the present invention.
The broadcast transmission data is data transmitted through a Radio Frequency (RF) signal.
In the embodiment of the invention, the broadcast transmission data and the sliced transmission data can be limited to meet the standard of advanced television services committee (Advanced Television Systems Committee, ATSC) 3.0, and the broadcast transmission data and the sliced transmission data can be transmitted by adopting the dynamic self-adaptive streaming technology based on HTTP under the standard of ATSC 3.0.
Among them, ATSC3.0 is a national standard of digital television in the united states, and dynamic adaptive streaming over HTTP (Dynamic Adaptive Streaming over HTTP, DASH) is an adaptive bit rate streaming technology, so that high quality streaming media can be delivered through a conventional HTTP web server over the internet.
Specifically, the available time information indicates the valid time of the corresponding data fragment, for example, the available time information may be a certain time, which indicates that the data fragment corresponding to the available time information is valid (not expired) before the time; alternatively, the available time information may be a time period, which indicates that the data slice corresponding to the available time information is valid in the time period; alternatively, the available time information may be a time and a period of time, indicating that the data fragment corresponding to the available time information is valid for the period of time after the time, and so on.
It will be appreciated that the available time information corresponding to different data slices may be the same or different, e.g. the available time information of data slice 1 indicates a valid time of 10 seconds for a data slice, the available time information of data slice 2 indicates a valid time of 15 seconds for a data slice, etc. The embodiment of the present invention is not limited thereto.
202. And determining whether a first fragment and a second fragment of the data fragments are out of date based on the available time information in the data transmission description information.
Wherein the first and second slices are two different data slices in the sliced transmission data. For example, the first slice may be a data slice (first data slice) located at a first bit in the transmission order in the sliced transmission data, and the second slice may be a data slice (last data slice) located at a last bit in the transmission order in the sliced transmission data; alternatively, the first slice is any one of the data slices in the slice transmission data, the second slice is another one of the data slices other than the first slice in the slice transmission data, and so on.
In the practical application process, the correlation between a certain data slice and the audio/video data currently being played gradually decreases with the passage of time. To ensure correlation between the data slices, a validity period may be set for each data slice. When the storage time or transmission time of the data fragment exceeds a preset validity period, the data fragment can be considered to have expired.
203. And if the first and second fragments are expired, acquiring the current transmission object identification of the broadcast transmission data.
The transmission object identifier can be used for identifying an object currently transmitted in broadcast transmission data. For example, the transport object identification may be a transport object identifier (transport object identifier, TOI), or the like.
For example, broadcast transmission data may be in the form of a code stream, a length of which may be composed of a number of media or signaling objects, each of which may have a unique transmission object identification.
204. And determining target transmission data corresponding to the broadcast transmission data from the fragmented transmission data based on the transmission object identification, and downloading the target transmission data.
The target transmission data is data which can be corresponding to the broadcast transmission data in the fragment transmission data. For example, the broadcast transmission data may be audio data, the target transmission data may be video data synchronized with the portion of the audio data, and so on.
The determination of whether the first and second slices of the data slice are expired based on the available time information in the data transmission description information in step 202 is described in detail below.
In some optional embodiments, the available time information includes an available start time of each data slice, and the step of determining whether the first slice and the second slice in the data slice expire based on the available time information in the data transmission description information may specifically include:
acquiring a current standard time and available starting time corresponding to a first fragment and a second fragment in the data fragments respectively;
calculating a first time difference value between the current standard time and the available starting time of the first slice and a second time difference value between the current standard time and the available starting time of the second slice;
And determining whether the first and second fragments expire or not based on the first time difference value, the second time difference value and a preset time difference value threshold.
The current standard time may be coordinated universal time (Universal Time Coordinated, UTC), or beijing time, among others. The current standard time may be calculated with the available start time.
It will be appreciated that the time difference threshold may be a range of values, for example 10 ms to 100 ms, where the first slice may be considered unexpired if the first time difference is within the time difference threshold; alternatively, the time difference threshold may be a critical value, such as a maximum value, if the second time difference is greater than the critical value, the second slice may be deemed to be expired, and so on.
When there is an unexpired data fragment, the unexpired data fragment can be directly downloaded, as shown in fig. 3. The data hybrid transmission method provided by the embodiment of the invention can further comprise the following steps:
if at least one of the first and second fragments is not expired, determining whether each data fragment is expired based on available time information corresponding to each data fragment in the fragment transmission data;
Taking unexpired data fragments in the data fragments as target transmission data;
and downloading the target transmission data.
By directly downloading unexpired data fragments, computing resources for determining target transmission data from broadcast transmission data can be saved.
The following describes in detail the downloading of the target transmission data, which is determined from the fragmented transmission data based on the transmission object identifier in the step 204 and corresponds to the broadcast transmission data.
In the actual application process, it may be determined whether or not there is a data fragment corresponding to the broadcast transmission data currently being transmitted among the data fragments that have expired in combination with the broadcast transmission data. The broadcasting transmission data and the slicing transmission data are mutually referred, so that the accuracy of downloading data slicing can be improved, and the effect of synchronizing audio and video can be further achieved.
As shown in fig. 4, if the broadcast transmission data is still being transmitted in the case where all the data slices have expired, it can be considered that there are more data slices to be downloaded among the expired data slices. Therefore, it is necessary to determine whether broadcast transmission data is still in a transmission state.
Correspondingly, the step of determining, based on the transmission object identifier, target transmission data corresponding to the broadcast transmission data from the fragmented transmission data includes:
comparing the current transmission object identifier with the acquired previous transmission object identifier;
and if the current transmission object identifier is different from the previous transmission object identifier, determining target transmission data corresponding to the broadcast transmission data from the sliced transmission data according to the current transmission object identifier.
If the current transmission object identifier is different from the previous transmission object identifier, the transmission object identifier is considered to be updated, and the broadcast transmission data is still in a transmission state.
It can be appreciated that there may be a certain delay in the transmission of data, and if it is determined that the current transmission object identifier of the broadcast transmission data is different from the previous transmission object identifier at a time, the transmission object identifier may be acquired again after a period of time.
That is, the data hybrid transmission method provided by the embodiment of the present invention may further include:
if the current transmission object identifier is the same as the previous transmission object identifier, acquiring a new transmission object identifier as the current transmission object identifier after a preset time interval, wherein if the current transmission object identifier is the first transmission object identifier, judging that the current transmission object identifier is the same as the previous transmission object identifier;
And returning to the step of comparing the current transmission object identification with the acquired previous transmission object identification.
The first transmission object identifier is the transmission object identifier of the first broadcast transmission data received or acquired in the data mixed transmission process.
The preset time interval may be set by a technician according to practical situations, for example, several hundred milliseconds, etc., which is not limited in the present invention.
The determining, based on the transmission object identifier, target transmission data corresponding to the broadcast transmission data from the fragmented transmission data, and downloading the target transmission data includes:
determining a data fragment corresponding to the transmission object identifier from the fragmented transmission data as target transmission data based on the transmission object identifier and a preset corresponding relation between the transmission object identifier and the data fragment identifier;
constructing a data fragment downloading address corresponding to the target transmission data;
and downloading the target transmission data through the data fragment downloading address.
For example, the TOI may be used as an identifier (segment number) corresponding to the target transmission data to be filled in the URL, and after the TOI is determined, the TOI is equivalent to the target transmission data determined, and the TOI is filled in the URL to obtain the data fragment download address.
In the practical application process, the data hybrid transmission method provided by the embodiment of the invention can further comprise the following steps:
carrying out data analysis on the downloaded target transmission data to obtain a target data fragment identifier of the target transmission data;
verifying the target data fragment identifier based on the transmission object identifier and the corresponding relation between the preset transmission object identifier and the data fragment identifier;
and if the target data slicing identifier is inconsistent with the data slicing identifier corresponding to the transmission object identifier, returning to execute the step of determining the target transmission data corresponding to the broadcast transmission data from the sliced transmission data based on the transmission object identifier, and downloading the target transmission data.
By verifying the target data fragment identification, if conditions such as irregular MPD table production exist, the abnormality can be identified and target transmission data can be redetermined, so that correction of error data is realized, and the robustness of a product can be improved.
As can be seen from the foregoing, in the embodiment of the present invention, data transmission description information and broadcast transmission data of the data to be transmitted in the segments may be obtained, where the data transmission description information includes available time information of at least two data segments of the data to be transmitted in the segments, whether a first segment and a second segment of the data segments are expired is determined based on the available time information in the data transmission description information, if the first segment and the second segment are expired, a current transmission object identifier of the broadcast transmission data is obtained, and based on the transmission object identifier, target transmission data corresponding to the broadcast transmission data is determined from the segment transmission data, and the target transmission data is downloaded; because the broadcast transmission data and the sliced transmission data are transmitted simultaneously in the embodiment of the invention, when the data in the sliced transmission data is out of date, the sliced transmission data is not skipped directly, but the target transmission data is determined from the sliced transmission data according to the broadcast transmission data to download, therefore, the non-real-time audio and video data can be normally transmitted, the stability of audio and video playing is improved, and the problem of abnormal playing caused by the incapability of downloading due to the expiration of the data sliced is solved.
In order to better implement the method, correspondingly, the embodiment of the invention also provides a data hybrid transmission device.
Referring to fig. 5, the apparatus may include:
a description information obtaining unit 501, configured to obtain data transmission description information of the fragmented transmission data and broadcast transmission data, where the data transmission description information may include available time information of at least two data fragments of the fragmented transmission data;
an expiration judging unit 502, configured to determine whether a first slice and a second slice in the data slices are expired based on the available time information in the data transmission description information;
the object identifier obtaining unit 503 may be configured to obtain, if the first segment and the second segment have expired, a current transmission object identifier of the broadcast transmission data;
the data downloading unit 504 may be configured to determine, based on the transmission object identifier, target transmission data corresponding to the broadcast transmission data from the fragmented transmission data, and download the target transmission data.
In some optional embodiments, the available time information may include available start times of the data slices, and the expiration judging unit 502 may be configured to obtain a current standard time and available start times corresponding to a first slice and a second slice in the data slices respectively;
Calculating a first time difference value between the current standard time and the available starting time of the first slice and a second time difference value between the current standard time and the available starting time of the second slice;
and determining whether the first and second fragments expire or not based on the first time difference value, the second time difference value and a preset time difference value threshold.
In some alternative embodiments, the data downloading unit 504 may be configured to compare the current transmission object identifier with the acquired previous transmission object identifier;
and if the current transmission object identifier is different from the previous transmission object identifier, determining target transmission data corresponding to the broadcast transmission data from the sliced transmission data according to the current transmission object identifier.
In some alternative embodiments, as shown in fig. 6, the data hybrid transmission device provided in this embodiment of the present invention may further include an identifier updating unit 505, configured to obtain, after a preset time interval, a new transmission object identifier as a current transmission object identifier if the current transmission object identifier is the same as a previous transmission object identifier, where if the current transmission object identifier is the first transmission object identifier, determine that the current transmission object identifier is the same as the previous transmission object identifier;
And returning to the step of comparing the current transmission object identification with the acquired previous transmission object identification.
In some optional embodiments, the data hybrid transmission apparatus provided in the embodiments of the present invention may further include a direct slice downloading unit 506, configured to determine, if at least one of the first slice and the second slice is not expired, whether each of the data slices is expired based on available time information corresponding to each of the data slices in the data for slice transmission;
taking unexpired data fragments in the data fragments as target transmission data;
and downloading the target transmission data.
In some optional embodiments, the data downloading unit 504 may be configured to determine, based on the transmission object identifier and a preset correspondence between the transmission object identifier and a data slice identifier, a data slice corresponding to the transmission object identifier from the sliced transmission data as target transmission data;
constructing a data fragment downloading address corresponding to the target transmission data;
and downloading the target transmission data through the data fragment downloading address.
In some optional embodiments, the data hybrid transmission apparatus provided by the embodiments of the present invention may further include a fragment verification unit 507, configured to perform data analysis on the downloaded target transmission data, and obtain a target data fragment identifier of the target transmission data;
Verifying the target data fragment identifier based on the transmission object identifier and the corresponding relation between the preset transmission object identifier and the data fragment identifier;
and if the target data slicing identifier is inconsistent with the data slicing identifier corresponding to the transmission object identifier, returning to execute the step of determining the target transmission data corresponding to the broadcast transmission data from the sliced transmission data based on the transmission object identifier, and downloading the target transmission data.
As can be seen from the above, the data transmission description information and the broadcast transmission data of the data segment transmission data can be obtained through the data hybrid transmission device, the data transmission description information includes available time information of at least two data segments of the data segment transmission data, whether a first segment and a second segment of the data segments are out of date or not is determined based on the available time information in the data transmission description information, if the first segment and the second segment are out of date, a current transmission object identifier of the broadcast transmission data is obtained, and based on the transmission object identifier, target transmission data corresponding to the broadcast transmission data is determined from the segment transmission data, and the target transmission data is downloaded; therefore, the non-real-time audio and video data can be normally transmitted, the stability of audio and video playing is improved, and the problem of abnormal playing caused by the fact that the data fragments are out of date and cannot be downloaded is solved.
In addition, the embodiment of the present invention further provides an electronic device, which may be a terminal or a server, as shown in fig. 7, and shows a schematic structural diagram of the electronic device according to the embodiment of the present invention, specifically:
the electronic device may include Radio Frequency (RF) circuitry 701, memory 702 including one or more computer-readable storage media, input unit 703, display unit 704, sensor 705, audio circuitry 706, wireless fidelity (WiFi, wireless Fidelity) module 707, processor 708 including one or more processing cores, and power supply 709. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 7 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
the RF circuit 701 may be used for receiving and transmitting signals during a message or a call, and in particular, after receiving downlink information of a base station, the downlink information is processed by one or more processors 708; in addition, data relating to uplink is transmitted to the base station. Typically, RF circuitry 701 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM, subscriber Identity Module) card, a transceiver, a coupler, a low noise amplifier (LNA, low Noise Amplifier), a duplexer, and the like. In addition, the RF circuit 701 may also communicate with networks and other devices through wireless communication. The wireless communication may use any communication standard or protocol including, but not limited to, global system for mobile communications (GSM, global System of Mobile communication), general packet radio service (GPRS, general Packet Radio Service), code division multiple access (CDMA, code Division Multiple Access), wideband code division multiple access (WCDMA, wideband Code Division Multiple Access), long term evolution (LTE, long Term Evolution), email, short message service (SMS, short Messaging Service), and the like.
The memory 702 may be used to store software programs and modules, and the processor 708 may perform various functional applications and data processing by executing the software programs and modules stored in the memory 702. The memory 702 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the electronic device (such as audio data, phonebooks, etc.), and the like. In addition, the memory 702 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 702 may also include a memory controller to provide access to the memory 702 by the processor 708 and the input unit 703.
The input unit 703 may be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, the input unit 703 may include a touch-sensitive surface, as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations thereon or thereabout by a user (e.g., operations thereon or thereabout by a user using any suitable object or accessory such as a finger, stylus, etc.), and actuate the corresponding connection means according to a predetermined program. Alternatively, the touch-sensitive surface may comprise two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 708, and can receive commands from the processor 708 and execute them. In addition, touch sensitive surfaces may be implemented in a variety of types, such as resistive, capacitive, infrared, and surface acoustic waves. The input unit 703 may comprise other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The display unit 704 may be used to display information input by a user or information provided to a user and various graphical user interfaces of the electronic device, which may be composed of graphics, text, icons, video, and any combination thereof. The display unit 704 may include a display panel, which may be optionally configured in the form of a liquid crystal display (LCD, liquid Crystal Display), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay a display panel, and upon detection of a touch operation thereon or thereabout, the touch-sensitive surface is passed to the processor 708 to determine the type of touch event, and the processor 708 then provides a corresponding visual output on the display panel based on the type of touch event. Although in fig. 7 the touch sensitive surface and the display panel are implemented as two separate components for input and output functions, in some embodiments the touch sensitive surface may be integrated with the display panel to implement the input and output functions.
The electronic device may also include at least one sensor 705, such as a light sensor, a motion sensor, and other sensors. In particular, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or backlight when the electronic device is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the mobile phone is stationary, and can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured with the electronic device are not described in detail herein.
Audio circuitry 706, speakers, and a microphone may provide an audio interface between the user and the electronic device. The audio circuit 706 may transmit the received electrical signal converted from audio data to a speaker, where it is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signals into electrical signals, which are received by the audio circuit 706 and converted into audio data, which are processed by the audio data output processor 708 for transmission to, for example, another electronic device via the RF circuit 701, or which are output to the memory 702 for further processing. The audio circuit 706 may also include an ear bud jack to provide communication of the peripheral ear bud with the electronic device.
WiFi belongs to a short-distance wireless transmission technology, and the electronic equipment can help a user to send and receive emails, browse webpages, access streaming media and the like through the WiFi module 707, so that wireless broadband Internet access is provided for the user. Although fig. 7 shows a WiFi module 707, it is to be understood that it is not a necessary component of an electronic device, and may be omitted entirely as needed within a range that does not change the essence of the invention.
The processor 708 is the control center of the electronic device, connects the various parts of the overall handset using various interfaces and lines, and performs various functions of the electronic device and processes the data by running or executing software programs and/or modules stored in the memory 702, and invoking data stored in the memory 702, thereby performing overall monitoring of the handset. Optionally, the processor 708 may include one or more processing cores; preferably, the processor 708 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 708.
The electronic device also includes a power supply 709 (e.g., a battery) for powering the various components, which may be logically connected to the processor 708 by a power management system, such as to perform functions such as managing charge, discharge, and power consumption by the power management system. The power supply 709 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the electronic device may further include a camera, a bluetooth module, etc., which will not be described herein. In particular, in this embodiment, the processor 708 in the electronic device loads executable files corresponding to the processes of one or more application programs into the memory 702 according to the following instructions, and the processor 708 executes the application programs stored in the memory 702, so as to implement various functions as follows:
acquiring data transmission description information of the data transmitted in the fragmentation and broadcast transmission data, wherein the data transmission description information comprises available time information of at least two data fragments of the data transmitted in the fragmentation;
determining whether a first segment and a second segment of the data segments are expired based on the available time information in the data transmission description information;
If the first and second fragments are expired, acquiring a current transmission object identifier of the broadcast transmission data;
and determining target transmission data corresponding to the broadcast transmission data from the fragmented transmission data based on the transmission object identification, and downloading the target transmission data.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present invention provides a computer readable storage medium having stored therein a plurality of instructions capable of being loaded by a processor to perform the steps of any of the data hybrid transmission methods provided by the embodiments of the present invention. For example, the instructions may perform the steps of:
acquiring data transmission description information of the data transmitted in the fragmentation and broadcast transmission data, wherein the data transmission description information comprises available time information of at least two data fragments of the data transmitted in the fragmentation;
Determining whether a first segment and a second segment of the data segments are expired based on the available time information in the data transmission description information;
if the first and second fragments are expired, acquiring a current transmission object identifier of the broadcast transmission data;
and determining target transmission data corresponding to the broadcast transmission data from the fragmented transmission data based on the transmission object identification, and downloading the target transmission data.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the computer-readable storage medium may comprise: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The steps in any data hybrid transmission method provided by the embodiment of the present invention can be executed due to the instructions stored in the computer readable storage medium, so that the beneficial effects that any data hybrid transmission method provided by the embodiment of the present invention can be achieved, which are detailed in the previous embodiments and are not described herein.
According to one aspect of the present application, there is also provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions to cause the electronic device to perform the methods provided in the various alternative implementations of the embodiments described above.
The foregoing describes in detail a data hybrid transmission method, apparatus, electronic device and storage medium provided by the embodiments of the present invention, and specific examples are applied to illustrate the principles and embodiments of the present invention, where the foregoing examples are only used to help understand the method and core idea of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present invention, the present description should not be construed as limiting the present invention.

Claims (10)

1. A data hybrid transmission method, comprising:
acquiring data transmission description information of the data transmitted in the fragmentation and broadcast transmission data, wherein the data transmission description information comprises available time information of at least two data fragments of the data transmitted in the fragmentation;
determining whether a first segment and a second segment of the data segments are expired based on the available time information in the data transmission description information;
if the first and second fragments are expired, acquiring a current transmission object identifier of the broadcast transmission data;
and determining target transmission data corresponding to the broadcast transmission data from the fragmented transmission data based on the transmission object identification, and downloading the target transmission data.
2. The data hybrid transmission method according to claim 1, wherein the available time information includes available start time of each of the data slices;
the determining whether the first and second slices of the data slices are out of date based on the available time information in the data transmission description information comprises:
acquiring a current standard time and available starting time corresponding to a first fragment and a second fragment in the data fragments respectively;
calculating a first time difference value between the current standard time and the available starting time of the first slice and a second time difference value between the current standard time and the available starting time of the second slice;
and determining whether the first and second fragments expire or not based on the first time difference value, the second time difference value and a preset time difference value threshold.
3. The data hybrid transmission method according to claim 1, wherein determining target transmission data corresponding to the broadcast transmission data from the fragmented transmission data based on the transmission object identification, comprises:
comparing the current transmission object identifier with the acquired previous transmission object identifier;
And if the current transmission object identifier is different from the previous transmission object identifier, determining target transmission data corresponding to the broadcast transmission data from the sliced transmission data according to the current transmission object identifier.
4. A data hybrid transmission method according to claim 3, characterized in that the method further comprises:
if the current transmission object identifier is the same as the previous transmission object identifier, acquiring a new transmission object identifier as the current transmission object identifier after a preset time interval, wherein if the current transmission object identifier is the first transmission object identifier, judging that the current transmission object identifier is the same as the previous transmission object identifier;
and returning to the step of comparing the current transmission object identification with the acquired previous transmission object identification.
5. The data hybrid transmission method of claim 1, further comprising:
if at least one of the first and second fragments is not expired, determining whether each data fragment is expired based on available time information corresponding to each data fragment in the fragment transmission data;
Taking unexpired data fragments in the data fragments as target transmission data;
and downloading the target transmission data.
6. The method of claim 1, wherein determining, based on the transmission object identifier, target transmission data corresponding to the broadcast transmission data from the fragmented transmission data, and downloading the target transmission data, includes:
determining a data fragment corresponding to the transmission object identifier from the fragmented transmission data as target transmission data based on the transmission object identifier and a preset corresponding relation between the transmission object identifier and the data fragment identifier;
constructing a data fragment downloading address corresponding to the target transmission data;
and downloading the target transmission data through the data fragment downloading address.
7. The data hybrid transmission method of claim 1, further comprising:
carrying out data analysis on the downloaded target transmission data to obtain a target data fragment identifier of the target transmission data;
verifying the target data fragment identifier based on the transmission object identifier and the corresponding relation between the preset transmission object identifier and the data fragment identifier;
And if the target data slicing identifier is inconsistent with the data slicing identifier corresponding to the transmission object identifier, returning to execute the step of determining the target transmission data corresponding to the broadcast transmission data from the sliced transmission data based on the transmission object identifier, and downloading the target transmission data.
8. A data hybrid transmission apparatus, comprising:
a description information acquisition unit, configured to acquire data transmission description information of the fragmented transmission data and broadcast transmission data, where the data transmission description information includes available time information of at least two data fragments of the fragmented transmission data;
an expiration judging unit, configured to determine whether a first slice and a second slice in the data slices are expired based on the available time information in the data transmission description information;
an object identifier obtaining unit, configured to obtain a current transmission object identifier of the broadcast transmission data if the first segment and the second segment have expired;
and the data downloading unit is used for determining target transmission data corresponding to the broadcast transmission data from the fragmented transmission data based on the transmission object identification and downloading the target transmission data.
9. An electronic device comprising a memory and a processor; the memory stores an application program, and the processor is configured to execute the application program in the memory to perform the steps in the data hybrid transmission method according to any one of claims 1 to 7.
10. A computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps in the data hybrid transmission method of any one of claims 1 to 7.
CN202111188295.6A 2021-10-12 2021-10-12 Data hybrid transmission method and device, electronic equipment and storage medium Active CN114006896B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111188295.6A CN114006896B (en) 2021-10-12 2021-10-12 Data hybrid transmission method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111188295.6A CN114006896B (en) 2021-10-12 2021-10-12 Data hybrid transmission method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114006896A CN114006896A (en) 2022-02-01
CN114006896B true CN114006896B (en) 2023-08-01

Family

ID=79922673

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111188295.6A Active CN114006896B (en) 2021-10-12 2021-10-12 Data hybrid transmission method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114006896B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607439A (en) * 2013-11-08 2014-02-26 四川长虹电器股份有限公司 Dynamic resource downloading method based on preconnecting
CN107104763A (en) * 2016-12-22 2017-08-29 腾讯科技(深圳)有限公司 A kind of method and apparatus that Retransmission timeout duration is set
CN109547172A (en) * 2018-12-14 2019-03-29 东莞见达信息技术有限公司 Data transmission method, system and data transmitting equipment, data receiver
CN110971474A (en) * 2018-09-28 2020-04-07 华为技术有限公司 Method and apparatus for signal processing
US10958702B1 (en) * 2018-09-11 2021-03-23 Amazon Technologies, Inc. Timeout optimization for streaming video
CN112866730A (en) * 2020-12-31 2021-05-28 广州博冠信息科技有限公司 Streaming media data transmission method, device, system, electronic equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11323768B2 (en) * 2019-12-11 2022-05-03 Sony Corporation Reducing latency during service change and improving robustness in advanced television systems committee (ATSC) 3.0 system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607439A (en) * 2013-11-08 2014-02-26 四川长虹电器股份有限公司 Dynamic resource downloading method based on preconnecting
CN107104763A (en) * 2016-12-22 2017-08-29 腾讯科技(深圳)有限公司 A kind of method and apparatus that Retransmission timeout duration is set
US10958702B1 (en) * 2018-09-11 2021-03-23 Amazon Technologies, Inc. Timeout optimization for streaming video
CN110971474A (en) * 2018-09-28 2020-04-07 华为技术有限公司 Method and apparatus for signal processing
CN109547172A (en) * 2018-12-14 2019-03-29 东莞见达信息技术有限公司 Data transmission method, system and data transmitting equipment, data receiver
CN112866730A (en) * 2020-12-31 2021-05-28 广州博冠信息科技有限公司 Streaming media data transmission method, device, system, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114006896A (en) 2022-02-01

Similar Documents

Publication Publication Date Title
CN106791892B (en) Method, device and system for live broadcasting of wheelhouses
US10516640B2 (en) Group message updating and displaying method, apparatus, and terminal
CN103391473B (en) Method and device for providing and acquiring audio and video
CN107333162B (en) Method and device for playing live video
CN109151494B (en) Multimedia data transmission method, multimedia acquisition equipment and server
CN111970683A (en) Method and device for switching SIM (subscriber identity Module) card, terminal equipment and storage medium
US20150304701A1 (en) Play control method and device
CN108668328B (en) Network switching method and mobile terminal
CN106293738B (en) Expression image updating method and device
CN110719319B (en) Resource sharing method, device, terminal equipment and storage medium
US20170171255A1 (en) Method and device for establishing a data connection and computer-readable medium
CN105227598B (en) Resource sharing method, device and system based on cloud storage
CN111475359B (en) System testing method, device and storage medium under multi-message interaction scene
CN109495769B (en) Video communication method, terminal, smart television, server and storage medium
CN103177217A (en) File scan method, file scan system, client-side and server
CN115174418A (en) Communication environment safety early warning method and device, electronic equipment and storage medium
CN107317828B (en) File downloading method and device
CN105306244B (en) Router management method, system and equipment
CN110621079B (en) Random access resource selection method and terminal equipment
CN114006896B (en) Data hybrid transmission method and device, electronic equipment and storage medium
CN105159655B (en) Behavior event playing method and device
CN106330875B (en) Message display method and device
CN107798008B (en) Content pushing system, method and device
CN115118636A (en) Method and device for determining network jitter state, electronic equipment and storage medium
CN106331887B (en) Calling method of webpage player, playing method and device of multimedia file

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
GR01 Patent grant
GR01 Patent grant