CN112423105B - Data transmission method, device and medium - Google Patents

Data transmission method, device and medium Download PDF

Info

Publication number
CN112423105B
CN112423105B CN202011167155.6A CN202011167155A CN112423105B CN 112423105 B CN112423105 B CN 112423105B CN 202011167155 A CN202011167155 A CN 202011167155A CN 112423105 B CN112423105 B CN 112423105B
Authority
CN
China
Prior art keywords
data
played
playing
delay information
storage area
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
CN202011167155.6A
Other languages
Chinese (zh)
Other versions
CN112423105A (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 CN202011167155.6A priority Critical patent/CN112423105B/en
Publication of CN112423105A publication Critical patent/CN112423105A/en
Application granted granted Critical
Publication of CN112423105B publication Critical patent/CN112423105B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/32Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43637Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]

Abstract

The invention discloses a data transmission method, which comprises the following steps: caching the data to be played and backing up the data to be played to a backup storage area; the data to be played in the cache is sent to a router, so that the router sends the received data to be played to playing equipment; and when receiving the playing delay information sent by the playing device, sending the data to be played in the backup storage area to the playing device corresponding to the playing delay information, wherein the playing device sends the playing delay information to the terminal device when the time interval of receiving the data to be played is larger than the preset time interval. The method and the device have the advantages of reducing the interruption of data transmission and improving the intelligentization level of data transmission of the terminal equipment.

Description

Data transmission method, device and medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a data transmission method, apparatus, and medium.
Background
The traditional intelligent television is connected with wireless sound equipment, and a router is required to be connected with the wireless network, on one hand, the router firstly receives audio data sent by the television, and on the other hand, the router sends the received audio data to all connected surrounding sound equipment, so that after the router is connected with multiple devices, the transmission process is delayed due to the blocking of the router, the audio data of the television cannot be timely transmitted to the sound equipment, and the audio information is delayed in the transmission process of the sound equipment, so that the sound heard by a user is interrupted.
Disclosure of Invention
The embodiment of the invention provides a data transmission method, equipment and medium, which aim to solve the technical problem that in the prior art, the transmission process is delayed due to the blockage of a router, and the audio data of a television cannot be timely transmitted to a sound box, so that the audio information is interrupted in the transmission process of the sound box.
In order to achieve the above object, the present invention provides a data transmission method, which includes the following steps:
caching the data to be played and backing up the data to be played to a backup storage area;
the data to be played in the cache is sent to a router, so that the router sends the received data to be played to playing equipment;
and when receiving the playing delay information sent by the playing device, sending the data to be played in the backup storage area to the playing device corresponding to the playing delay information, wherein the playing device sends the playing delay information to the terminal device when the time interval of receiving the data to be played is larger than the preset time interval.
To achieve the above object, the present invention also provides a data transmission apparatus including:
the backup unit is used for caching the data to be played and backing up the data to the backup storage area;
the first sending unit is used for sending the data to be played in the buffer memory to a router so that the router can send the received data to be played to playing equipment;
and the second sending unit is used for sending the data to be played in the backup storage area to the playing device corresponding to the playing delay information when receiving the playing delay information sent by the playing device, wherein the playing device sends the playing delay information to the terminal device when the time interval of receiving the data to be played is larger than the preset time interval.
In order to achieve the above object, the present invention also provides a data transmission apparatus including a memory, a processor, and a data transmission program stored on the memory and executable on the processor, the processor implementing the data transmission method as described above when executing the data transmission program.
To achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a data transmission program which, when executed by a processor, implements the data transmission method as described above.
The terminal device loads the data to be played to the first preset frequency band through the wireless network and sends the data to be played to the router, and the router loads the data to be played to the second preset frequency band through the wireless network and sends the data to be played to the playing device. And when the playing equipment calculates that the time interval for receiving the data to be played is larger than the preset time interval, generating playing delay information according to the number corresponding to the data to be played and the backup address information, and sending the playing delay information to the terminal equipment. When the terminal equipment receives the playing delay information sent by the playing equipment, the backed-up data to be sent is directly sent to the playing equipment through the wireless network from the backup storage area according to the number of the data to be played corresponding to the playing delay information and the backup address. Therefore, the playing device can send the playing delay information to the terminal device when the router is blocked, and can directly send the backup data to be played to the playing device through the wireless network when the terminal device receives the playing delay information, so that the router can be bypassed when the router is blocked, the data to be played can be directly sent to the playing device through the wireless network, the effect of reducing interruption of data transmission is achieved, and the intelligent level of data transmission of the terminal device is improved.
Drawings
FIG. 1 is a schematic diagram of a device architecture of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a flow chart of a first embodiment of the data transmission method of the present invention;
fig. 3 is a schematic diagram of data transmission in the first embodiment of the data transmission method of the present invention;
fig. 4 is a flowchart of a second embodiment of the data transmission method of the present invention;
fig. 5 is a flowchart of a third embodiment of a data transmission method according to the present invention;
fig. 6 is a schematic diagram of functional modules of the data transmission device of the present invention.
Detailed Description
In order that the above-described aspects may be better understood, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As an implementation, the data transmission device may be as shown in fig. 1.
The embodiment of the invention relates to data transmission equipment, which comprises: a processor 101, such as a CPU, a memory 102, a communication bus 103, a determination unit, a second acquisition unit, and a processing unit. The communication bus 103 is used for realizing connection communication between the components, the determining unit is used for determining actual verification information of equipment in the wireless network according to the equipment information and the equipment type, the second obtaining unit is used for obtaining reference verification information corresponding to the target data, and the processing unit is used for processing the target data if the actual verification information is matched with the reference verification information.
The memory 102 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. As shown in fig. 1, a memory 102, which is a kind of computer storage medium, may include a data transmission program therein; and the processor 101 may be configured to call a data transfer program stored in the memory 102 and perform the following operations:
caching the data to be played and backing up the data to be played to a backup storage area;
the data to be played in the cache is sent to a router, so that the router sends the received data to be played to playing equipment;
and when receiving the playing delay information sent by the playing device, sending the data to be played in the backup storage area to the playing device corresponding to the playing delay information, wherein the playing device sends the playing delay information to the terminal device when the time interval of receiving the data to be played is larger than the preset time interval.
Further, the processor 101 may be configured to call a data transmission program stored in the memory 102 and perform the following operations:
when receiving the playing delay information sent by the playing equipment, acquiring a communication frequency band according to the playing delay information;
and sending the data to be played in the backup storage area to the playing device according to the communication frequency bands, wherein the number of the playing devices is multiple, and the communication frequency bands corresponding to different playing devices are different.
Further, the processor 101 may be configured to call a data transmission program stored in the memory 102 and perform the following operations:
acquiring a frequency band identifier in the playing delay information;
and acquiring the communication frequency band according to the frequency band identification.
Further, the processor 101 may be configured to call a data transmission program stored in the memory 102 and perform the following operations:
dividing the data to be played into at least two data segments;
sequentially storing and backing up the data segments according to the positions of the data segments in the data to be played;
the step of sending the data to be played in the backup storage area to the playing device sending the playing delay information includes:
acquiring a data segment to be transmitted in the backup storage area according to the play delay information;
and sending the data segment to be sent to the playing device.
Further, the processor 101 may be configured to call a data transmission program stored in the memory 102 and perform the following operations:
numbering the data segments according to the positions of the data segments in the data to be played
Storing the backup address and the serial number of the data segment in an associated manner;
the step of obtaining the data segment to be sent in the backup storage area according to the play delay information includes:
acquiring the number in the playing delay information;
and acquiring the data segment stored in the backup address associated with the number to serve as a data segment to be transmitted.
According to the scheme, the terminal equipment loads the data to be played to the first preset frequency band through the wireless network and sends the data to be played to the router, and the router loads the data to be played to the second preset frequency band through the wireless network and sends the data to be played to the playing equipment. And when the playing equipment calculates that the time interval for receiving the data to be played is larger than the preset time interval, generating playing delay information according to the number corresponding to the data to be played and the backup address information, and sending the playing delay information to the terminal equipment. When the terminal equipment receives the playing delay information sent by the playing equipment, the backed-up data to be sent is directly sent to the playing equipment through the wireless network from the backup storage area according to the number of the data to be played corresponding to the playing delay information and the backup address. Therefore, the playing device can send the playing delay information to the terminal device when the router is blocked, and can directly send the backup data to be played to the playing device through the wireless network when the terminal device receives the playing delay information, so that the router can be bypassed when the router is blocked, the data to be played can be directly sent to the playing device through the wireless network, the effect of reducing interruption of data transmission is achieved, and the intelligent level of data transmission of the terminal device is improved.
Based on the hardware architecture of the data transmission device, the embodiment of the data transmission method is provided.
Referring to fig. 2, fig. 2 is a first embodiment of a data transmission method according to the present invention, the data transmission method includes the following steps:
step S10, caching the data to be played and backing up the data to a backup storage area;
the terminal device may be a terminal device such as a television, a computer, etc., where the CPU of the terminal device receives various data to be played, such as digital data to be played of a digital television, analog data to be played of an analog television, and pulse encoded data to be played sent by a mobile phone through a wireless network connection, where the data to be played may be audio data and/or video data, and when the terminal device receives the data to be played, the data to be played may be uniformly converted into the digital data to be played, and at least one copy of the data to be played is saved and backed up to a backup storage area.
Step S20, the data to be played in the buffer memory is sent to a router, so that the router sends the received data to be played to playing equipment;
further, the data to be played in the buffer memory is loaded to a first preset frequency band through a wireless network and sent to the router, and the first preset frequency band can be set to be 2.4Ghz. When the router receives the data to be played in the 2.4Ghz frequency band, the data to be played loaded through the wireless network is unloaded and stored, and the storage position is related to the type of the playing equipment. The router loads a second preset frequency band through the wireless network and sends the second preset frequency band to the playing device, wherein the second preset frequency band can be set to be 2.5Ghz. The playing device may be a sound box, a player, a loudspeaker, etc.
And step S30, when receiving the play delay information sent by the play device, sending the data to be played in the backup storage area to the play device corresponding to the play delay information, wherein the play device sends the play delay information to the terminal device when the time interval of receiving the data to be played is larger than the preset time interval. The playing delay information is generated by the frequency band identification and the number corresponding to the current delay data segment.
The playing delay information is an infrared instruction, and is sent by the playing device, when the playing device receives the data to be played sent by the router, the playing delay information is sent to the terminal device when the time interval of the playing device is larger than the preset time interval, the preset time interval can be 2s, or can be set according to actual conditions, and when the time interval is larger than the preset time interval, the situation that the data to be played sent by the terminal device is blocked in the transmission process of the router is indicated, so that the playing delay information needs to be sent to the terminal device, the terminal device sends the data to be played again according to the playing delay information, and the playing delay information comprises the number corresponding to the data to be played in current delay, the backup address and other information. When the terminal equipment receives the playing delay information sent by the playing equipment, the data to be played in the backup storage area are sent to the playing equipment corresponding to the playing delay information according to the number corresponding to the data to be played in the playing delay information and the backup address information.
It can be understood that the playing device receives the data to be played sent by the router; the playing device obtains the time interval between the current time point and the time point of last receiving the data to be played; when the time interval is larger than a preset time interval, the playing device sends playing delay information to the terminal device; the data to be played received by the playing device is data mixed with carrier frequency information, so that when the backup data to be played is received, the playing device plays the carrier frequency corresponding to the data to be played after the carrier frequency corresponding to the data to be played is unloaded. For example, when the center channel playing device receives the carrier frequency of 2.6Ghz of the terminal device, the carrier frequency of 2.6Ghz is mixed to obtain the transmitted data to be played of the center channel, and the data to be played of the center channel is played. It may be appreciated that in this embodiment, if the data to be played is audio data, when the time interval is smaller than the preset time interval, the playing device sends the data to be played sent by the router to the power amplifier and pushes the data to be played to the speaker for playing.
Referring to fig. 3, fig. 3 is a schematic diagram of data transmission among a terminal device 201, a router 202 and a playing device 203 in the first embodiment of the data transmission method of the present invention, after the terminal device 201 backs up data to be played, the data is loaded to a first preset frequency band through a wireless network and sent to the router 202, the router 202 loads the data to be played to a second preset frequency band through the wireless network and sends the data to the playing device 203, when the playing device 203 detects that a time interval between the data to be played sent by the router 202 and the last received data to be played is greater than a preset time interval, it determines that the data to be played is delayed, and generates playing delay information (infrared instruction) according to a number corresponding to the delayed data to be played and a communication frequency band corresponding to the playing device 203, and the terminal device 201 loads the backed up data to be played to a corresponding frequency band in the playing delay information through the wireless network and sends the data to the corresponding playing delay information to the playing device 203 for playing.
In the technical scheme provided by the embodiment of the invention, the terminal equipment loads the data to be played to the first preset frequency band through the wireless network and sends the data to be played to the router, and the router loads the data to be played to the second preset frequency band through the wireless network and sends the data to be played to the playing equipment. And when the playing equipment calculates that the time interval for receiving the data to be played is larger than the preset time interval, generating playing delay information according to the number corresponding to the delayed data to be played and the backup address information, and sending the playing delay information to the terminal equipment. When the terminal equipment receives the playing delay information sent by the playing equipment, the backed-up data to be sent is directly sent to the playing equipment through the wireless network from the backup storage area according to the number of the delayed data to be played corresponding to the playing delay information and the backup address. Therefore, the playing device can send the playing delay information to the terminal device when the router is blocked, and can directly send the backup data to be played to the playing device through the wireless network when the terminal device receives the playing delay information, so that the router can be bypassed when the router is blocked, the data to be played can be directly sent to the playing device through the wireless network, the effect of reducing interruption of data transmission is achieved, and the intelligent level of data transmission of the terminal device is improved.
Referring to fig. 4, fig. 4 is a second embodiment of the data transmission method according to the present invention, based on the first embodiment, step S30 includes:
step S31, when receiving the playing delay information sent by the playing equipment, acquiring a communication frequency band according to the playing delay information;
further, obtaining a frequency band identifier in the playing delay information;
and acquiring the communication frequency band according to the frequency band identification.
And step S32, sending the data to be played in the backup storage area to the playing device according to the communication frequency bands, wherein the number of the playing devices is multiple, and the communication frequency bands corresponding to different playing devices are different.
The communication frequency band in the playing delay information is set by the playing device, the communication frequency band in the playing delay information is different from the first preset frequency band and the second preset frequency band, and the frequency band identification and the communication frequency band have a mapping relation. In this embodiment, the playing device may include a center channel surround sound, a front left channel surround sound, a front right channel surround sound, a rear left channel surround sound, and a rear right channel surround sound, where the communication frequency bands corresponding to the different playing devices are different, for example, the center channel surround sound corresponds to a 2.6Ghz band, the front left channel surround sound corresponds to a 2.7Ghz band, the front right channel surround sound corresponds to a 2.8Ghz band, the rear left channel surround sound corresponds to a 2.9Ghz band, and the rear right channel surround sound corresponds to a 2.10Ghz band. Each communication frequency band corresponds to a frequency band identifier, for example, a frequency band identifier corresponding to a 2.6Ghz frequency band is 0XF1, a frequency band identifier corresponding to a 2.7Ghz frequency band is 0XF2, a frequency band identifier corresponding to a 2.8Ghz frequency band is 0XF3, a frequency band identifier corresponding to a 2.9Ghz frequency band is 0XF4, and a frequency band identifier corresponding to a 2.10Ghz frequency band is 0XF5. And when receiving the playing delay information, acquiring a communication frequency band corresponding to the equipment to be sent according to the frequency band identifier corresponding to the playing delay information, loading the equipment to be sent to the corresponding communication frequency band through a wireless network, and sending the equipment to be sent to the playing equipment corresponding to the communication frequency band.
In the technical scheme provided by the embodiment of the invention, when receiving the playing delay information sent by the playing device, the terminal device acquires the device to be played and the frequency band identifier corresponding to the playing delay information, loads the device to be played to the communication frequency band corresponding to the frequency band identifier through the wireless network, and then sends the device to be played to the playing device corresponding to the communication frequency band. Therefore, when the router is blocked, the terminal equipment directly sends the backup data to be played to the playing equipment by bypassing the router according to the corresponding data to be played in the playing delay information and the communication frequency band, the effect of reducing the interruption of data transmission is realized, and the intelligent level of the data transmission of the terminal equipment is improved.
Referring to fig. 5, fig. 5 is a third embodiment of the data transmission method according to the present invention, based on the first or second embodiment, step S10 further includes:
step S11, dividing the data to be played into at least two data segments;
step S12, sequentially storing and backing up the data segments according to the positions of the data segments in the data to be played;
further, numbering the data segments according to the positions of the data segments in the data to be played;
storing the backup address and the serial number of the data segment in an associated manner;
when the terminal equipment receives the data to be played, splitting the data to be played into at least two data segments, numbering and backing up the data segments according to the positions of the data segments in the data to be played, and storing the data segment numbers and the backup addresses in an associated mode. The mapping relation between the number and the playing device is as follows: the data segment number corresponding to the central channel surround sound is C-S, the data segment number corresponding to the front left channel surround sound is Q-L-S, the data segment number corresponding to the front right channel surround sound is Q-R-S, the data segment number corresponding to the rear left channel surround sound is H-L-S, and the data segment number corresponding to the rear right channel surround sound is H-R-S. According to the serial number of the data segment to be sent, the data segment is loaded to a first preset frequency band through a wireless network and sent to a router, the router carries out unloading on the data segment according to the serial number and stores the data segment in preset route storage positions respectively, a mapping relation exists between the preset route storage positions and types of playing equipment, for example, the route storage position corresponding to the central channel surround sound is 0X10000, the route storage position corresponding to the front left channel surround sound is 0X40000, the route storage position corresponding to the front right channel surround sound is 0X60000, the route storage position corresponding to the rear left channel surround sound is 0X90000, and the route storage position corresponding to the rear right channel surround sound is 0XA0000. The router loads the data segment to be transmitted to a second preset frequency band through a wireless network and transmits the data segment to the playing device corresponding to the data segment number.
It is understood that the step S30 further includes:
step S34, acquiring a data segment to be transmitted in the backup storage area according to the play delay information;
it is understood that the step S34 includes: acquiring the number in the playing delay information;
and acquiring the data segment stored in the backup address associated with the number to serve as a data segment to be transmitted.
Step S35, transmitting the data segment to be transmitted to the playing device.
In the technical scheme provided by the embodiment of the invention, the terminal equipment splits the received data to be played into at least two data segments, numbers and stores the data segments according to the positions of the data segments in the data to be played, and associates and stores the numbers of the data segments with the backup addresses, so that when the playing delay information is received, the numbers corresponding to the data to be played in the playing delay information can be acquired, the data segments stored in the backup addresses associated with the numbers are acquired according to the numbers, and the data segments are used as the data segments to be sent to the playing equipment. Therefore, when the router is blocked, the terminal equipment accurately acquires the data segment to be sent from the backup address according to the number corresponding to the data to be played in the playing delay information so as to send the data segment to the playing equipment. The accuracy of data transmission of the terminal equipment is improved.
Referring to fig. 6, fig. 6 is a schematic diagram of functional modules of the data transmission device of the present invention.
As shown in fig. 6, the data transmission apparatus includes:
the backup unit 104 is configured to cache the data to be played and backup the data to the backup storage area;
a first sending unit 105, configured to send the data to be played in the buffer memory to a router, so that the router sends the received data to be played to a playing device;
and the second sending unit 106 is configured to send, when receiving the play delay information sent by the playing device, to-be-played data in the backup storage area to a playing device corresponding to the play delay information, where the playing device sends the play delay information to the terminal device when a time interval for receiving the to-be-played data is greater than a preset time interval.
The function implementation of each module in the data transmission device corresponds to each step in the data transmission method embodiment, and the function and implementation process thereof are not described in detail herein.
The embodiment of the invention also provides a computer readable storage medium, on which a data transmission program is stored, which when executed by a processor, implements the data transmission method described above.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (8)

1. A data transmission method, the data transmission method comprising:
caching the data to be played and backing up the data to be played to a backup storage area;
the data to be played in the cache is sent to a router, so that the router sends the received data to be played to playing equipment;
when receiving the playing delay information sent by the playing device, sending the data to be played in the backup storage area to the playing device corresponding to the playing delay information, wherein the playing device sends the playing delay information to the terminal device when the time interval of receiving the data to be played is larger than a preset time interval;
the step of caching and backing up the data to be played to the backup storage area comprises the following steps:
dividing the data to be played into at least two data segments;
sequentially storing and backing up the at least two data segments according to the positions of the at least two data segments in the data to be played;
the step of sending the data to be played in the backup storage area to the playing device corresponding to the playing delay information includes:
acquiring a data segment to be transmitted in the backup storage area according to the play delay information;
transmitting the data segment to be transmitted to the playing device;
after the step of sequentially storing and backing up the data segments according to the positions of the data segments in the data to be played, the method further comprises the following steps:
numbering the data segments according to the positions of the data segments in the data to be played;
storing the backup address and the serial number of the data segment in an associated manner;
the step of obtaining the data segment to be sent in the backup storage area according to the play delay information includes:
acquiring the number in the playing delay information;
and acquiring the data segment stored in the backup address associated with the number to serve as a data segment to be transmitted.
2. The data transmission method according to claim 1, wherein the step of transmitting the data to be played in the backup storage area to the playback device corresponding to the playback delay information when the playback delay information transmitted by the playback device is received includes:
when receiving the playing delay information sent by the playing equipment, acquiring a communication frequency band according to the playing delay information;
and sending the data to be played in the backup storage area to the playing device according to the communication frequency bands, wherein the number of the playing devices is multiple, and the communication frequency bands corresponding to different playing devices are different.
3. The data transmission method as claimed in claim 2, wherein the step of acquiring the communication band according to the play delay information comprises:
acquiring a frequency band identifier in the playing delay information;
and acquiring the communication frequency band according to the frequency band identification.
4. The data transmission method according to claim 1, wherein a communication frequency band of the playback device and the terminal device is different from a communication frequency band of the router.
5. The data transmission method according to any one of claims 1 to 4, wherein the play delay information is generated by a frequency band identifier and a number corresponding to a current delay data segment.
6. A data transmission apparatus, comprising:
the backup unit is configured to cache and backup data to be played to a backup storage area, and the step of caching and backing up the data to be played to the backup storage area includes: dividing the data to be played into at least two data segments; sequentially storing and backing up the at least two data segments according to the positions of the at least two data segments in the data to be played; the step of sending the data to be played in the backup storage area to the playing device corresponding to the playing delay information includes: acquiring a data segment to be transmitted in the backup storage area according to the play delay information; transmitting the data segment to be transmitted to the playing device; after the step of sequentially storing and backing up the data segments according to the positions of the data segments in the data to be played, the method further comprises the following steps: numbering the data segments according to the positions of the data segments in the data to be played; storing the backup address and the serial number of the data segment in an associated manner; the step of obtaining the data segment to be sent in the backup storage area according to the play delay information includes: acquiring the number in the playing delay information; acquiring the data segment stored in the backup address associated with the number to serve as a data segment to be transmitted;
the first sending unit is used for sending the data to be played in the buffer memory to a router so that the router can send the received data to be played to playing equipment;
and the second sending unit is used for sending the data to be played in the backup storage area to the playing device corresponding to the playing delay information when the playing delay information sent by the playing device is received, wherein the playing device sends the playing delay information to the terminal device when the time interval of receiving the data to be played is larger than the preset time interval.
7. A data transmission device comprising a memory, a processor and a data transmission program stored on the memory and executable on the processor, the processor implementing the data transmission method according to any one of claims 1-5 when executing the data transmission program.
8. A computer-readable storage medium, on which a data transmission program is stored, which, when executed by a processor, implements the data transmission method according to any one of claims 1 to 5.
CN202011167155.6A 2020-10-27 2020-10-27 Data transmission method, device and medium Active CN112423105B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011167155.6A CN112423105B (en) 2020-10-27 2020-10-27 Data transmission method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011167155.6A CN112423105B (en) 2020-10-27 2020-10-27 Data transmission method, device and medium

Publications (2)

Publication Number Publication Date
CN112423105A CN112423105A (en) 2021-02-26
CN112423105B true CN112423105B (en) 2024-03-15

Family

ID=74841841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011167155.6A Active CN112423105B (en) 2020-10-27 2020-10-27 Data transmission method, device and medium

Country Status (1)

Country Link
CN (1) CN112423105B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113157238A (en) * 2021-04-19 2021-07-23 深圳市艾酷通信软件有限公司 Audio playing method and device, earphone, electronic equipment and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150131896A (en) * 2014-05-16 2015-11-25 삼성전자주식회사 Contents output apparatus, mobile apparatus and controlling method thereof
EP2955713A1 (en) * 2014-06-12 2015-12-16 Huawei Technologies Co., Ltd. Synchronous audio playback method, apparatus and system
CN105554548A (en) * 2015-12-08 2016-05-04 深圳Tcl数字技术有限公司 Audio data output method and device
WO2016101249A1 (en) * 2014-12-23 2016-06-30 深圳Tcl数字技术有限公司 Wireless transmission method and system for audio data between terminal and surround sound
WO2016165375A1 (en) * 2015-09-11 2016-10-20 中兴通讯股份有限公司 Screen projection video data transmission method, device and system
CN107454458A (en) * 2017-08-30 2017-12-08 努比亚技术有限公司 A kind of video data caching method, equipment and storage medium
CN107517400A (en) * 2016-06-15 2017-12-26 成都鼎桥通信技术有限公司 Flow media playing method and DST PLAYER
CN110351588A (en) * 2019-07-10 2019-10-18 四川长虹电器股份有限公司 The audio video synchronization playback method broadcast is opened based on Bluetooth Synchronous and delay
CN110933216A (en) * 2020-02-11 2020-03-27 南京雷鲨信息科技有限公司 Audio data transmission method and device, readable storage medium and mobile terminal
CN111083680A (en) * 2019-11-19 2020-04-28 珠海格力电器股份有限公司 Intelligent equipment control method, system and device
WO2020156251A1 (en) * 2019-01-30 2020-08-06 腾讯科技(深圳)有限公司 Audio playing and collection method, apparatus and device and readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108462892B (en) * 2018-03-26 2019-08-06 百度在线网络技术(北京)有限公司 The processing method and equipment that image and audio sync play

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150131896A (en) * 2014-05-16 2015-11-25 삼성전자주식회사 Contents output apparatus, mobile apparatus and controlling method thereof
EP2955713A1 (en) * 2014-06-12 2015-12-16 Huawei Technologies Co., Ltd. Synchronous audio playback method, apparatus and system
WO2016101249A1 (en) * 2014-12-23 2016-06-30 深圳Tcl数字技术有限公司 Wireless transmission method and system for audio data between terminal and surround sound
CN105791961A (en) * 2014-12-23 2016-07-20 深圳Tcl数字技术有限公司 Wireless transmission method and system for audio data between terminal and surround sound
WO2016165375A1 (en) * 2015-09-11 2016-10-20 中兴通讯股份有限公司 Screen projection video data transmission method, device and system
CN105554548A (en) * 2015-12-08 2016-05-04 深圳Tcl数字技术有限公司 Audio data output method and device
CN107517400A (en) * 2016-06-15 2017-12-26 成都鼎桥通信技术有限公司 Flow media playing method and DST PLAYER
CN107454458A (en) * 2017-08-30 2017-12-08 努比亚技术有限公司 A kind of video data caching method, equipment and storage medium
WO2020156251A1 (en) * 2019-01-30 2020-08-06 腾讯科技(深圳)有限公司 Audio playing and collection method, apparatus and device and readable storage medium
CN110351588A (en) * 2019-07-10 2019-10-18 四川长虹电器股份有限公司 The audio video synchronization playback method broadcast is opened based on Bluetooth Synchronous and delay
CN111083680A (en) * 2019-11-19 2020-04-28 珠海格力电器股份有限公司 Intelligent equipment control method, system and device
CN110933216A (en) * 2020-02-11 2020-03-27 南京雷鲨信息科技有限公司 Audio data transmission method and device, readable storage medium and mobile terminal

Also Published As

Publication number Publication date
CN112423105A (en) 2021-02-26

Similar Documents

Publication Publication Date Title
CN107992282B (en) Audio data processing method and device, computer device and readable storage device
CN106024035B (en) A kind of method and terminal of audio processing
CN111443941A (en) Method and device for gray scale publishing
CN112423105B (en) Data transmission method, device and medium
CN108132769A (en) A kind of audio data play method and dual-screen mobile terminal
US20170169834A1 (en) Android-based audio content processing method and device
CN109756616B (en) Message processing method and device, storage medium and electronic device
CN110602338A (en) Audio processing method, device, system, storage medium and equipment
CN106878384A (en) Data forwarding method, its device, bluetooth equipment and audio frequency transmission method
CN111857473B (en) Audio playing method and device and electronic equipment
CN112702146B (en) Data processing method and device
CN112565876A (en) Screen projection method, device, equipment, system and storage medium
CN107122320B (en) Device, system and method for realizing PCM audio playing based on FPGA
JP2002521982A (en) Information transmitting / receiving system, information transmitting / receiving method, and information receiving apparatus
CA2478006A1 (en) Methods and apparatus for selecting a base station transceiver system based on service communication type
JP3250532B2 (en) Data transmitting / receiving system, data receiving apparatus, and data receiving method
CN107347092A (en) The method downloaded for multithreading
JP2001157243A (en) Method and system for supporting a plurality of mobile station address types in wireless communication network
CN108966249B (en) Control equipment, and wireless signal intensity self-adaptive adjusting method and system
CN110018908B (en) Inter-process communication method, electronic equipment and readable storage medium
KR101873675B1 (en) Method for Transmitting Audio Content Information in Network-based Audio Video Bridging System
CN105451134A (en) Audio transmission method and terminal equipment
GB2398467A (en) A DAB receiver uses segmentation numbers to assign locations in memory to segments containing multimedia data transmitted using the MOT protocol
US20060115150A1 (en) Calculation method of a cumulative histogram
CN112019261B (en) Method and system for returning distributed control plane electrical layer 1+1 service

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