IP Library Granted Patent US 11,871,075
Granted Patent B2
US 11,871,075 · App. 17/512,912 · Granted Jan 9, 2024

Audio playing and transmitting methods and apparatuses

Inventors: Ziquan Song (Qingdao, CN); Xiujuan Pang (Qingdao, CN)
Assignee: Hisense Visual Technology Co., Ltd.
H04N21/439G06F3/165H04N21/4126H04N21/41265H04N21/4222H04N21/43637H04N21/44209H04N21/4882
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,871,075
App. No.
17/512,912
Granted
Jan 9, 2024
Kind
B2
Abstract

The present disclosure provides audio playing and transmitting methods and apparatuses, so as to reduce a playback delay of a control apparatus. An audio playing method provided the embodiment of the present disclosure includes: receiving a first system time data packet transmitted from a smart television, wherein the first system time data packet includes a first system time of the smart television at a sound transmission start time; calculating a difference serving as a first difference between a current second system time of a control apparatus and the first system time; receiving audio data transmitted from the smart television; calculating, according to the first difference, a network delay of transmission of the audio data between the smart television and the control apparatus; and abandoning the audio data when the network delay is greater than a preset threshold.

Claims (47)

1. An audio transmitting method, comprising:

transmitting, by a smart television, a first system time data packet to a control apparatus, wherein the first system time data packet comprises first system time of the smart television at which the smart television transmits the first system time data packet to the control apparatus;

receiving, by the smart television, a command for audio data transmission transmitted from the control apparatus; and

transmitting, by the smart television, an audio data to the control apparatus in response to the command for audio data transmission, wherein the audio data comprises second system time of the smart television at which the smart television transmits the audio data, such that the control apparatus calculates a network delay of transmission of the audio data between the smart television and the control apparatus according to the first system time and the second system time and determines whether to play the audio data according to the network delay;

wherein before the transmitting, by the smart television, the audio data to the control apparatus, the method further comprises:

determining, by the smart television, whether the audio data is invalid audio data by performing cyclic detection on a first byte and a last byte of a frame of the audio data;

in response to a byte of the frame of the audio data being not a preset character, determining the frame of the audio data as valid audio data;

in response to each byte of the frame of the audio data being the preset character, determining the frame of the audio data as invalid audio data;

in response to the audio data being invalid audio data, adding, by the smart television, indication information for indicating invalid audio data into the audio data, and compressing, by the smart television, the audio data with the indication information to generate an invalid audio data packet; and

in response to the audio data being valid audio data, determining, by the smart television, to transmit the valid audio data to the control apparatus.

2. The audio transmitting method according to claim 1 , further comprising:

turning off, by the smart television, a speaker of the smart television in response to the command for audio data transmission.

3. The audio transmitting method according to claim 1 , further comprising:

setting, by the smart television, a volume output of the smart television to be 0 in response to the command for audio data transmission.

4. The audio transmitting method according to claim 1 , further comprising:

in response to the command for audio data transmission, recording, by the smart television, sound corresponding to a current screen of the smart television, and encapsulating, by the smart television, the recorded sound in a preset format to obtain the audio data in the preset format, such that the control apparatus directly transmits the audio data in the preset format to a decoder of the control apparatus for playing.

5. The audio transmitting method according to claim 1 , further comprising:

transmitting, by the smart television, the invalid audio data packet to the control apparatus.

6. The audio transmitting method according to claim 5 , further comprising:

transmitting, by the smart television, the invalid audio data packet to the control apparatus periodically to maintain a communication connection between the smart television and the control apparatus.

7. A smart television, comprising:

a memory, configured to store computer readable program codes; and

at least one processor, configured to execute the computer readable program codes to control the smart television to:

transmit a first system time data packet to a control apparatus, wherein the first system time data packet comprises first system time of the smart television at which the smart television transmits the first system time data packet to the control apparatus;

receive a command for audio data transmission transmitted from the control apparatus; and

transmit an audio data to the control apparatus in response to the command for audio data transmission, wherein the audio data comprises second system time of the smart television at which the smart television transmits the audio data, such that the control apparatus calculates a network delay of transmission of the audio data between the smart television and the control apparatus according to the first system time and the second system time and determines whether to play the audio data according to the network delay;

wherein the at least one processor is further configured to execute the computer readable program codes to control the smart television to:

determine whether the audio data is invalid audio data by performing cyclic detection on a first byte and a last byte of a frame of the audio data;

in response to a byte of the frame of the audio data being not a preset character, determine the frame of the audio data as valid audio data;

in response to each byte of the frame of the audio data being the preset character, determine the frame of the audio data as invalid audio data;

in in response to the audio data being invalid audio data, add, by the smart television, indication information for indicating invalid audio data into the audio data, and compress the audio data with the indication information to generate an invalid audio data packet; and

in respone to the audio data being valid audio data, determine to transmit the valid audio data to the control apparatus.

8. The smart television according to claim 7 , wherein the at least one processor is further configured to execute the computer readable program codes to control the smart television to:

turn off a speaker of the smart television in response to the command for audio data transmission.

9. The smart television according to claim 7 , wherein the at least one processor is further configured to execute the computer readable program codes to control the smart television to:

set a volume output of the smart television to be 0 in response to the command for audio data transmission.

10. The smart television according to claim 7 , wherein the at least one processor is further configured to execute the computer readable program codes to control the smart television to:

in response to the command for audio data transmission: record sound corresponding to a current screen of the smart television, and encapsulate the recorded sound in a preset format to obtain the audio data in the preset format, such that the control apparatus directly transmits the audio data in the preset format to a decoder of the control apparatus for playing.

11. The smart television according to claim 7 , wherein the at least one processor is further configured to execute the computer readable program codes to control the smart television to:

transmit the invalid audio data packet to the control apparatus.

12. The smart television according to claim 11 , wherein the at least one processor is further configured to execute the computer readable program codes to control the smart television to:

transmit the invalid audio data packet to the control apparatus periodically to maintain a communication connection between the smart television and the control apparatus.

13. The smart television according to claim 7 , wherein the control apparatus comprises a mobile terminal.

14. The smart television according to claim 13 , wherein the command for audio data transmission is triggered by an operation for a control on a user interface of the mobile terminal.

15. The smart television according to claim 7 , wherein the at least one processor is further configured to execute the computer readable program codes to control the smart television to:

transmit the audio data to the control apparatus frame by frame.

16. The smart television according to claim 10 , wherein the preset format comprises pulse code modulation (PCM) format.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 28, 2021
From: SONG, ZIQUAN; PANG, XIUJUAN
To: QINGDAO HISENSE ELECTRONICS CO., LTD.
Reel/Frame 057947/0256 →
CHANGE OF NAME Recorded Oct 28, 2021
From: QINGDAO HISENSE ELECTRONICS CO., LTD.
To: HISENSE VISUAL TECHNOLOGY CO., LTD.
Reel/Frame 057965/0416 →
Priority Claims (3)
CN 201811565099.4 · Dec 20, 2018 · national
CN 201811565526.9 · Dec 20, 2018 · national
CN 201811565963.0 · Dec 20, 2018 · national
Continuity (3)
Continuation 16588510 · Sep 30, 2019
Continuation PCTCN2019104971 · Sep 9, 2019
Related Publication 20220053231A1 · Feb 17, 2022