JP7659721B2 - Audio reproduction method, apparatus, electronic device and storage medium - Google Patents
Audio reproduction method, apparatus, electronic device and storage medium Download PDFInfo
- Publication number
- JP7659721B2 JP7659721B2 JP2024507963A JP2024507963A JP7659721B2 JP 7659721 B2 JP7659721 B2 JP 7659721B2 JP 2024507963 A JP2024507963 A JP 2024507963A JP 2024507963 A JP2024507963 A JP 2024507963A JP 7659721 B2 JP7659721 B2 JP 7659721B2
- Authority
- JP
- Japan
- Prior art keywords
- time
- audio data
- decoding
- offset
- frame
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/439—Processing of audio elementary streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/04—Synchronising
- H04N5/06—Generation of synchronising signals
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Description
本願は、表示制御の技術分野に関するものであり、具体的には、オーディオ再生方法、装置、電子装置及び記憶媒体に関するものである。 This application relates to the technical field of display control, and more specifically to audio playback methods, devices, electronic devices, and storage media.
オーディオ再生技術の急速な発展に伴い、オーディオプレーヤーの種類がますます多くなり、オーディオ同期技術がオーディオ再生の重要な基礎であり、オーディオ同期再生を保証するために、オーディオサーバはオーディオデータを送信する前に、オーディオプレーヤーに接続されているシステムの基準時間を校正する必要がある。 With the rapid development of audio playback technology, there are more and more types of audio players. Audio synchronization technology is an important basis for audio playback. In order to ensure synchronous audio playback, the audio server needs to calibrate the reference time of the system connected to the audio player before sending audio data.
しかし、オーディオプレーヤーは、オーディオデータを受信した後、オーディオデータに対するデコードなどのバックエンドのデータ処理を行う必要があるため、再生する前にオーディオデータの処理のためにデコード時間を確保する必要がある。 However, after receiving the audio data, the audio player needs to perform back-end data processing such as decoding the audio data, so it needs to reserve decoding time for processing the audio data before playback.
異なるオーディオデータのバックエンドのデコード処理時間の統一と特定が難しくて、しかも、一部のオーディオデータのデータ量が膨大で、デコード処理の時間が長くて、デコード処理のレートによる製品のハードウェアの要求が高いので、ハードウェア性能がボトルネックに達した後、オーディオの希望再生時間とオーディオプレーヤーの位置する装置の端末の参考時間とを正確に同期できないことにより、オーディオの再生には、音画非同期、ドロップフレームや再生遅れなどの現象が発生しやすくなってしまう。 It is difficult to standardize and identify the back-end decoding processing time of different audio data. Moreover, some audio data has a huge data volume, which requires a long decoding processing time. The decoding processing rate places high requirements on the product hardware. After the hardware performance reaches a bottleneck, the desired audio playback time cannot be accurately synchronized with the reference time of the terminal where the audio player is located, which makes it easy for audio playback to cause phenomena such as audio-image asynchronization, dropped frames, and playback delays.
本発明の実施例は、バックエンドデコード処理の予約時間を増加させ、オーディオ再生の同期を達成することができるオーディオ再生方法、装置、電子装置及び記憶媒体を提供する。 Embodiments of the present invention provide an audio playback method, device, electronic device, and storage medium that can increase the reservation time for back-end decoding processing and achieve synchronization of audio playback.
本発明の実施例によって提供されるオーディオ再生方法は、
端末装置で再生されるオーディオデータセットをデコード処理し、前記オーディオデータセットが少なくとも1フレームのオーディオデータを含むことと、
前記少なくとも1フレームのオーディオデータの各フレームのオーディオデータに対するデコード処理のデコード開始参考時間と、デコード実際処理時間とを記録することと、
前記オーディオデータに対応する基準オフセット時間と希望再生時間とを取得することと、
前記少なくとも1フレームのオーディオデータの各フレームのオーディオデータに対して、前記基準オフセット時間に基づいて前記デコード開始参考時間を調整し、デコード開始調整時間を取得することと、
前記デコード開始調整時間と、前記デコード実際処理時間に基づいて、前記オーディオデータの参考再生時間を特定することと、
時間変化に基づいて参考再生時間を更新して、調整された参考再生時間を取得することと、
調整された参考再生時間が希望再生時間に達すると、端末装置に応じてオーディオデータが再生されることと、を含む。
An audio reproducing method provided by an embodiment of the present invention includes:
decoding an audio data set to be played on a terminal device, the audio data set including at least one frame of audio data;
recording a reference time for starting decoding and an actual decoding process time for each frame of the audio data of the at least one frame of audio data;
obtaining a reference offset time and a desired playback time corresponding to the audio data;
adjusting the decode start reference time for each frame of the audio data of the at least one frame based on the reference offset time to obtain an adjusted decode start time;
determining a reference playback time of the audio data based on the decoding start adjustment time and the decoding actual processing time;
updating the reference playing time based on the time change to obtain an adjusted reference playing time ;
When the adjusted reference playback time reaches the desired playback time, the audio data is played back according to the terminal device.
相応的に、本発明の実施例によって提供されるオーディオ再生装置は、
端末装置で再生されるオーディオデータセットをデコード処理し、前記オーディオデータセットが少なくとも1フレームのオーディオデータを含むデコードモジュールと、
前記少なくとも1フレームのオーディオデータの各フレームのオーディオデータに対するデコード処理のデコード開始参考時間と、デコード実際処理時間とを記録する記録モジュールと、
前記オーディオデータに対応する基準オフセット時間と希望再生時間とを取得する取得モジュールと、
前記少なくとも1フレームのオーディオデータの各フレームのオーディオデータに対して、前記基準オフセット時間に基づいて前記デコード開始参考時間を調整し、デコード開始調整時間を取得する調整モジュールと、
前記デコード開始調整時間と、前記デコード実際処理時間に基づいて、前記オーディオデータの参考再生時間を特定する特定モジュールと、
時間変化に基づいて参考再生時間を更新して、調整された参考再生時間を取得するタイミングモジュールと、
調整された参考再生時間が希望再生時間に達すると、端末装置に応じて前記オーディオデータが再生される再生モジュールと、を含む。
Accordingly, an audio playback device provided by an embodiment of the present invention comprises:
a decoding module for decoding an audio data set to be played on a terminal device, said audio data set including at least one frame of audio data;
a recording module for recording a reference time for starting a decoding process and an actual decoding process time of each frame of the audio data of the at least one frame of the audio data;
an acquisition module for acquiring a reference offset time and a desired playback time corresponding to the audio data;
an adjustment module for adjusting the decoding start reference time for each frame of the audio data of the at least one frame based on the reference offset time to obtain a decoding start adjustment time;
a determining module for determining a reference playback time of the audio data based on the decoding start adjustment time and the decoding actual processing time;
a timing module for updating the reference play time based on the time change to obtain an adjusted reference play time ;
and a playback module for playing the audio data according to a terminal device when the adjusted reference playback time reaches a desired playback time.
選択的に、本願のいくつかの実施例において、前記オーディオデータが、現在オーディオデータを含み、前記取得モジュールは、
少なくとも1フレームの履歴オーディオデータをサンプリングし、前記履歴オーディオデータが前記現在オーディオデータと同じデータタイプであるサンプリングユニットと、
前記少なくとも1フレームの履歴オーディオデータの各フレームの履歴オーディオデータに対するデコード処理後の履歴参考再生時間と希望再生時間とをそれぞれ取得する第一取得ユニットと、
前記履歴参考再生時間と前記希望再生時間に基づいて、前記少なくとも1フレームの履歴オーディオデータの各フレームの履歴オーディオデータのオフセット時間をそれぞれ特定する第一特定ユニットと、
少なくとも1つの前記オフセット時間に基づいて、前記現在オーディオデータの基準オフセット時間を特定する第二特定ユニットと、を含む。
Optionally, in some embodiments of the present application, the audio data includes current audio data, and the acquisition module:
a sampling unit for sampling at least one frame of historical audio data, said historical audio data being of the same data type as said current audio data;
a first acquiring unit for acquiring a historical reference playback time and a desired playback time after decoding processing for each frame of the historical audio data of the at least one frame of the historical audio data;
a first determination unit for respectively determining an offset time of each frame of the historical audio data of the at least one frame according to the historical reference playback time and the desired playback time;
and a second identifying unit for identifying a reference offset time of the current audio data based on at least one of the offset times.
選択的に、本願のいくつかの実施例において、第二特定ユニットは、
少なくとも1つの前記オフセット時間の平均値を特定し、平均オフセット時間を取得する第一特定サブユニットと、
前記平均オフセット時間に基づいて、前記現在オーディオデータの基準オフセット時間を特定する第二特定サブユニットと、を含む。
Optionally, in some embodiments of the present application, the second identification unit is
a first specifying subunit for specifying an average value of at least one of the offset times to obtain an average offset time;
and a second identifying subunit for identifying a reference offset time of the current audio data based on the average offset time.
選択的に、本願のいくつかの実施例において、前記第二特定ユニットは、
少なくとも1つの前記オフセット時間の平均値を特定し、平均オフセット時間を取得することと、
前記平均オフセット時間の整数を取って、前記履歴オーディオデータに対応する平均整数オフセット時間を取得することと、
前記平均整数オフセット時間を前記現在オーディオデータの基準オフセット時間に特定することと、さらに用いられる。
Optionally, in some embodiments of the present application, the second identification unit is
determining an average value of at least one of the offset times to obtain an average offset time;
taking an integer number of the average offset times to obtain an average integer offset time corresponding to the historical audio data;
The average integer offset time is determined to be a reference offset time of the current audio data, and is further used.
選択的に、本願のいくつかの実施例において、第二特定ユニットは、
前記少なくとも1つの前記オフセット時間の整数を取って、少なくとも1つの整数オフセット時間を取得することと、
前記少なくとも1つの整数オフセット時間に基づいて、前記少なくとも1つフレームのオーディオデータの各フレームのオーディオデータの整数平均オフセット時間を特定することと、
前記整数平均オフセット時間を前記現在オーディオデータの基準オフセット時間に特定することと、さらに用いられる。
Optionally, in some embodiments of the present application, the second identification unit is
taking an integer number of the at least one offset time to obtain at least one integer offset time;
determining an average integer offset time of each frame of audio data of the at least one frame of audio data based on the at least one integer offset time;
The integer average offset time is further used to identify the integer average offset time as a reference offset time of the current audio data.
選択的に、本願のいくつかの実施例において、サンプリングユニットは、
所定周波数に基づいて、履歴オーディオデータを取得し、前記履歴オーディオデータが少なくとも1フレームの履歴オーディオデータを含むことと、
前記少なくとも1フレームの履歴オーディオデータをサンプリングすることと、さらに用いられる。
Optionally, in some embodiments of the present application, the sampling unit comprises:
obtaining historical audio data based on a predetermined frequency, the historical audio data including at least one frame of historical audio data;
Sampling the at least one frame of historical audio data is further utilized.
選択的に、本願のいくつかの実施例において、前記基準オフセット時間が実際オフセット時間を含み、前記調整モジュールは、
前記オーディオデータの予約処理時間を取得する第二取得ユニットと、
前記予約処理時間と前記デコード実際処理時間に基づいて、前記オーディオデータの実際オフセット時間を特定する第三特定ユニットと、
前記実際オフセット時間に基づいて前記デコード開始参考時間を調整し、デコード開始調整時間を取得する第三取得ユニットと、を含む。
Optionally, in some embodiments of the present application, the reference offset time includes an actual offset time, and the adjustment module:
a second acquiring unit for acquiring a reservation processing time of the audio data;
a third determination unit for determining an actual offset time of the audio data based on the scheduled processing time and the actual decoding processing time;
and a third obtaining unit for adjusting the decoding start reference time based on the actual offset time to obtain a decoding start adjustment time.
選択的に、本願のいくつかの実施例において、前記第二取得ユニットは、
前記オーディオデータのデコード開始参考時間と、前記希望再生時間に基づいて、前記オーディオデータの予約処理時間を特定する第三特定サブユニットを含む。
Optionally, in some embodiments of the present application, the second acquisition unit is
The third specifying subunit specifies a reservation processing time for the audio data based on the reference time for starting decoding of the audio data and the desired playback time.
選択的に、本願のいくつかの実施例において、前記第二取得ユニットは、
前記オーディオデータの予約処理時間を取得することと、
前記予約処理時間と前記デコード実際処理時間に基づいて、前記オーディオデータの実際オフセット時間を特定することと、
前記基準オフセット時間と前記実際オフセット時間に基づいて、前記オーディオデータの誤差オフセット時間を特定することと、
前記基準オフセット時間と前記誤差オフセット時間に基づいて前記デコード開始参考時間を調整し、デコード開始調整時間を取得することと、さらに用いられる。
Optionally, in some embodiments of the present application, the second acquisition unit is
obtaining a reservation processing time for the audio data;
determining an actual offset time of the audio data based on the scheduled processing time and the actual decoding processing time;
determining an error offset time of the audio data based on the reference offset time and the actual offset time;
The decoding start reference time is adjusted based on the reference offset time and the error offset time to obtain a decoding start adjustment time.
選択的に、本願のいくつかの実施例において、記録モジュールは、
水晶振動に基づいてタイミングフィードバックを行い、前記オーディオデータのデコード開始時間とデコード終了時間をそれぞれ取得することと、
前記デコード開始時間と、前記デコード終了時間に基づいて、前記オーディオデータのデコード実際処理時間を特定することと、さらに用いられる。
Optionally, in some embodiments of the present application, the recording module comprises:
performing timing feedback based on a crystal oscillation to obtain a decoding start time and a decoding end time of the audio data;
The method further includes determining an actual processing time for decoding the audio data based on the decoding start time and the decoding end time.
選択的に、本願のいくつかの実施例において、特定モジュールは、
前記オーディオデータに対するデコード処理のデコード開始時間とデコード終了時間を取得することと、
前記デコード開始調整時間と、前記デコード開始時間に基づいて、前記オーディオデータのベース参考再生時間を特定することと、
前記ベース参考再生時間と、前記デコード終了時間に基づいて、前記オーディオデータの参考再生時間を特定することと、に用いられる。
Optionally, in some embodiments of the present application, the specific module may include:
obtaining a decoding start time and a decoding end time of a decoding process for the audio data;
determining a base reference playback time of the audio data based on the decoding start adjustment time and the decoding start time;
and determining a reference playback time of the audio data based on the base reference playback time and the decoding end time.
選択的に、本願のいくつかの実施例において、取得モジュールは、
前記オーディオデータから前記オーディオデータの希望再生時間を直接抽出することに用いられる。
Optionally, in some embodiments of the present application, the acquisition module is
It is used to directly extract the desired playback time of the audio data from the audio data.
選択的に、本願のいくつかの実施例において、取得モジュールは、
前記オーディオデータのオーディオデータタイプを識別することと、
マッピング関係セットを取得し、前記マッピング関係セットが、所定オーディオデータタイプと所定基準オフセット時間とのマッピング関係を含むことと、
前記マッピング関係セットと前記オーディオデータタイプに基づいて、前記オーディオデータに対応する基準オフセット時間を取得することと、さらに用いられる。
Optionally, in some embodiments of the present application, the acquisition module is
identifying an audio data type of the audio data;
Obtaining a mapping relationship set, the mapping relationship set including a mapping relationship between a predetermined audio data type and a predetermined reference offset time;
Obtaining a reference offset time corresponding to the audio data based on the mapping relationship set and the audio data type is further used.
本願の実施例は、オーディオデータの参考再生時間を小さくすることにより、参考再生時間を時間とともに変化させ、変化後に希望再生時間に達した後、オーディオデータを再生する、すなわち、オーディオデータの参考再生時間が希望再生時間を満たした後、オーディオデータを同期に再生することができる。このうち、参考再生時間はデコード開始参考時間を小さくすることによって小さくなるが、オーディオデータのデコード実際処理時間は影響や制限を受けない。したがって、オーディオデータに対応する参考再生時間を小さくすることは、オーディオデータのデコード処理に十分なデコード時間を提供し、かつ、デコード処理の時間が長すぎるためにオーディオデータの再生に音画非同期、ドロップフレーム、または再生遅れなどの現象が発生することを回避する。 In the embodiment of the present application, the reference playback time of the audio data is shortened, so that the reference playback time changes over time, and the audio data is played back after it reaches the desired playback time after the change; that is, after the reference playback time of the audio data meets the desired playback time, the audio data can be played back synchronously. Of these, the reference playback time is shortened by shortening the reference decoding start time, but the actual decoding processing time of the audio data is not affected or limited. Therefore, shortening the reference playback time corresponding to the audio data provides sufficient decoding time for the decoding processing of the audio data, and avoids phenomena such as audio-video asynchrony, dropped frames, or playback delays in the playback of the audio data due to the decoding processing time being too long.
以下、添付図面と結び付けて、本願の具体的な実施形態について詳細に説明することにより、本願の技術案及びその発明の効果を明らかにする。
本願の目的の実現、機能的な特徴及び利点については、実施例と添付図面を参照してさらに説明する。
ここに記載された具体的な実施例は、単に本出願を解釈するためのものであって、本出願を限定するためのものではないことを理解すべきである。
The realization of the object, functional features and advantages of the present application will be further explained with reference to the embodiments and the accompanying drawings.
It should be understood that the specific examples described herein are merely for the purpose of interpreting the present application, and are not intended to limit the present application.
本願は、オーディオ再生方法、装置、電子装置及び記憶媒体を提供する。具体的には、本発明の実施例で提供されるオーディオ再生方法は、端末装置またはサーバを含む電子装置によって実行されることができる。そのうち、端末装置はテレビ、携帯電話、ノート、デスクトップ又はタブレット等であってよい。サーバは、スタンドアロンの物理サーバであってもよく、複数の物理サーバで構成されるサーバクラスタや分散システムであってもよく、クラウドサービス、クラウドデータベース、クラウドコンピューティング、クラウドファンクション、クラウドストレージ、ネットワークサービス、クラウド通信、ミドルウェアサービス、ドメイン名サービス、セキュリティサービス、コンテンツ配信ネットワーク(CDN、Content Delivery Network)、ビッグデータや人工知能プラットフォームなどの基礎的なクラウドコンピューティングサービスを提供するクラウドサーバなどであり、有線または無線通信を介して直接または間接的に接続することができる。 The present application provides an audio playback method, device, electronic device, and storage medium. Specifically, the audio playback method provided in the embodiments of the present invention can be executed by an electronic device including a terminal device or a server. The terminal device may be a television, a mobile phone, a notebook, a desktop, or a tablet. The server may be a standalone physical server, a server cluster or a distributed system consisting of multiple physical servers, and may be a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), big data, and artificial intelligence platforms, and may be directly or indirectly connected via wired or wireless communications.
具体的には、本願の実施例は、端末装置とサーバが音声再生方法を共同で実行することを例として説明する。端末装置とサーバとの間では、有線ネットワーク、無線ネットワーク又はブロードキャストの形式でデータ伝送を行うことができ、端末装置とサーバに加えて、音声再生方法を補助的に実行する他の装置を追加することもでき、ここでは、他の装置のタイプについては限定しない。このうち、端末装置とサーバが共同で音声再生方法を実行する具体的な手順は、以下のとおりである。 Specifically, the embodiment of the present application will be described taking as an example a case where a terminal device and a server jointly execute the audio playback method. Data transmission between the terminal device and the server can be performed in the form of a wired network, a wireless network, or a broadcast. In addition to the terminal device and the server, other devices that auxiliary execute the audio playback method can also be added, and the type of other devices is not limited here. Among them, the specific procedure for the terminal device and the server to jointly execute the audio playback method is as follows:
端末装置は、サーバから再生するオーディオデータセット(オーディオデータパケット)を受信し、その後、端末装置内のプロセッサは、受信したオーディオデータセットをデコード処理し、そして、各フレームオーディオデータのデコード開始参考時間と、各フレームオーディオデータのデコード実際処理時間を記録する。また、端末装置は、オーディオデータから、各フレームオーディオデータの基準オフセット時間と希望再生時間を取得し、その後、各フレームのオーディオデータに対して、基準オフセット時間に基づいてデコード開始参考時間の調整を行い、デコード開始調整時間を取得する。そして、デコード開始調整時間とデコード実際処理時間に基づいて、オーディオデータのデコード処理終了の参考再生時間を特定する。最後に、参考再生時間が時間とともに変化した後、参考再生時間が希望再生時間に等しい場合、端末装置によってオーディオデータを再生する。ここで、端末装置がテレビである場合は、追加のオーディオプレーヤーを使用することなく、オーディオデータを直接に再生することができる。 The terminal device receives an audio data set (audio data packets) to be played from the server, and then the processor in the terminal device decodes the received audio data set, and records the reference decode start time of each frame of audio data and the actual decode processing time of each frame of audio data. The terminal device also obtains a reference offset time and a desired playback time of each frame of audio data from the audio data, and then adjusts the reference decode start time for each frame of audio data based on the reference offset time to obtain an adjusted decode start time. Then, based on the adjusted decode start time and the actual decode processing time, the terminal device determines the reference playback time for the end of the decode processing of the audio data. Finally, if the reference playback time changes over time and the reference playback time is equal to the desired playback time, the terminal device plays the audio data. Here, if the terminal device is a television, the audio data can be played directly without using an additional audio player.
ここで、オーディオデータの参考時間(例えばデコード開始参考時間)は、端末装置の参考時計に同期される。参考時計は、ネットワークタイムプロトコル(NTP,Network Time Protocol)によって正確時刻に調整同期される。正確時刻のソースは、国際標準時(UTC,Universal Time Coordinated)である。例えば、端末装置の参考時計が北京時間を示すとき、端末装置がオーディオデータのデコードの開始時刻が北京時間の6時であれば、デコード開始参考時間も6時である。 Here, the reference time of the audio data (e.g., the reference time to start decoding) is synchronized with the reference clock of the terminal device. The reference clock is adjusted and synchronized to the correct time by the Network Time Protocol (NTP). The source of the correct time is Universal Time Coordinated (UTC). For example, when the reference clock of the terminal device indicates Beijing time, if the start time of the decoding of the audio data by the terminal device is 6 o'clock Beijing time, the reference time to start decoding is also 6 o'clock.
参考再生時間は、オーディオデータのデコード後に再生可能な時間であり、理論上には、この参考再生時間も北京時間に同期にされる。すなわち、オーディオデータのデコード後の北京時間は、オーディオデータの参考再生時間である。しかし、参考時計のタイミングは、データ伝送後に更新されることにより取得され、データ伝送には時間消費があるため、参考時計のタイミングには時間誤差がある。そのため、本願の実施例ではデコード開始参考時間とデコードのデコード実際処理時間に基づいて、参考再生時間を特定する。その中で、デコード実際処理時間は水晶振動のフィードバックによってタイミングされているので、時間の記録は非常に正確であるため、オーディオデータデコード処理後の実際の参考再生時間を取得することができ、その際、取得された参考再生時間のタイムスタンプは、参考時計のタイムスタンプに同期されないが、参考再生時間の増加は時間(北京時間)に応じて増加する。例えば、オーディオデータデコード処理の後の参考再生時間が8時ちょうどの場合、北京時間は8時1分になり、すなわち、参考再生時間は北京時間のタイムスタンプと同じではない。 The reference playback time is the time that can be played back after the audio data is decoded, and in theory, this reference playback time is also synchronized with Beijing time. That is, the Beijing time after the audio data is decoded is the reference playback time of the audio data. However, the timing of the reference clock is obtained by updating after data transmission, and since data transmission consumes time, the timing of the reference clock has a time error. Therefore, in the embodiment of the present application, the reference playback time is determined based on the reference time to start decoding and the actual decoding processing time of the decoding. Among them, the actual decoding processing time is timed by feedback of the crystal oscillation, so the time recording is very accurate, so that the actual reference playback time after the audio data decoding processing can be obtained, and at this time, the time stamp of the obtained reference playback time is not synchronized with the time stamp of the reference clock, but the increase of the reference playback time increases with time (Beijing time). For example, if the reference playback time after the audio data decoding processing is exactly 8 o'clock, the Beijing time will be 8:01, that is, the reference playback time is not the same as the time stamp of the Beijing time.
ここで、オーディオデータの参考再生時間が希望再生時間に等しい場合、オーディオデータが再生できるが、オーディオデータのデコード処理に時間がかかり、オーディオデータのデコード後の参考再生時間は、オーディオデータに対応する希望再生時間を超えることが多いので、オーディオデータのデコード処理後の参考再生時間を戻し調整し、それにより、希望再生時間に同期とするか、参考再生時間が時間とともに増加したあとに希望再生時間に同期してから、オーディオデータを再生することである。 Here, if the reference playback time of the audio data is equal to the desired playback time, the audio data can be played back; however, decoding the audio data takes time, and the reference playback time after the audio data is decoded often exceeds the desired playback time corresponding to the audio data. Therefore, the reference playback time after the audio data is decoded is adjusted back so as to be synchronized with the desired playback time, or the reference playback time increases over time and is then synchronized with the desired playback time before the audio data is played back.
ここで、ネットワーク時間プロトコル(NTP,Network Time Protocol)は、コンピュータの時刻同期化のために使用され、コンピュータにサーバやクロックソース(例えば、クオーツ時計、GPSなど)を同期化させることができ、高精度の時刻修正(LAN上では標準との差が1ミリ秒未満、WAN上では数十ミリ秒)を提供できる。ここで、NTPは、原子時計、天文台、衛星、またはインターネットなどの取得時間ソースからUTCを取得してもよい。 Here, the Network Time Protocol (NTP) is used for computer time synchronization, allowing computers to synchronize with servers or clock sources (e.g., quartz clocks, GPS, etc.) and providing highly accurate time correction (less than 1 millisecond difference from the standard on LANs, tens of milliseconds on WANs). Here, NTP may obtain UTC from acquisition time sources such as atomic clocks, observatories, satellites, or the Internet.
ここで、希望再生時間は、オーディオデータの希望再生時間であり、例えば表示時間ラベル(PTS,Presentation Time Stamp)である。オーディオデータの希望再生時間と端末の参考再生時間とが同期される場合、オーディオデータが再生される。すなわち、オーディオデータの希望再生時間と国際標準時刻とが同期され、オーディオデータの希望再生時間が端末の参考再生時間より遅れる場合、オーディオデータが正確に再生できない、例えば、音画非同期、ドロップフレームや再生遅れなどの現象が発生してしまう。 Here, the desired playback time is the desired playback time of the audio data, for example, a presentation time label (PTS, Presentation Time Stamp). When the desired playback time of the audio data is synchronized with the reference playback time of the terminal, the audio data is played back. In other words, when the desired playback time of the audio data is synchronized with international standard time and the desired playback time of the audio data lags behind the reference playback time of the terminal, the audio data cannot be played back accurately, for example, phenomena such as audio-video asynchronization, dropped frames, and playback delays occur.
本願の実施例は、オーディオデータの参考再生時間を小さくすることにより、参考再生時間を時間とともに変化させ、変化後に希望再生時間に達した後、オーディオデータを再生する、すなわち、オーディオデータの参考再生時間が希望再生時間を満たした後、オーディオデータを同期に再生することができる。このうち、参考再生時間はデコード開始参考時間を小さくすることによって小さくなるが、オーディオデータのデコード実際処理時間は影響や制限を受けない。したがって、オーディオデータに対応する参考再生時間を小さくすることは、オーディオデータのデコード処理に十分なデコード時間を提供し、かつ、デコード処理の時間が長すぎるためにオーディオデータの再生に音画非同期、ドロップフレーム、または再生遅れなどの現象が発生することを回避する。 In the embodiment of the present application, the reference playback time of the audio data is shortened, so that the reference playback time changes over time, and the audio data is played back after it reaches the desired playback time after the change; that is, after the reference playback time of the audio data meets the desired playback time, the audio data can be played back synchronously. Of these, the reference playback time is shortened by shortening the reference decoding start time, but the actual decoding processing time of the audio data is not affected or limited. Therefore, shortening the reference playback time corresponding to the audio data provides sufficient decoding time for the decoding processing of the audio data, and avoids phenomena such as audio-video asynchrony, dropped frames, or playback delays in the playback of the audio data due to the decoding processing time being too long.
以下、それぞれに詳しく説明する。なお、以下の実施例の説明順序は、実施例の優先順位を限定するものではない。
図2は、本発明によって提供されるオーディオ再生方法のフロー模式図である。このオーディオ再生方法の具体的な流れは、以下のようになる。
Each of the embodiments will be described in detail below. Note that the order of description of the embodiments below does not limit the priority of the embodiments.
2 is a flow diagram of the audio playback method provided by the present invention. The specific flow of the audio playback method is as follows.
ステップ101:端末装置で再生されるオーディオデータセットをデコード処理し、前記オーディオデータセットが少なくとも1フレームのオーディオデータを含む。 Step 101: Decode an audio data set to be played on a terminal device, the audio data set including at least one frame of audio data.
ここで、端末装置によって受信され、再生するオーディオデータは、多くの場合、符号化されて圧縮されたデータである。例えば、デジタルテレビでは、伝送されるパケットTLVがISDB S3規格のパケットであり、4Kスーパーハイビジョン番組に対応するTLVパケットが、一般的に番組内容のデータ量が非常に大きいため、伝送効率を向上させるために、一般的には、オーディオデータを符号化して圧縮すると、端末装置が受信したオーディオデータが、デコードされる圧縮データであり、端末装置が、オーディオデータをデコードしてからオーディオデータの再生を行うことができる。 The audio data received and played by the terminal device is often encoded and compressed data. For example, in digital television, the transmitted packet TLV is an ISDB S3 standard packet, and the TLV packet corresponding to a 4K Super Hi-Vision program is generally encoded and compressed to improve transmission efficiency since the data volume of the program content is generally very large. The audio data received by the terminal device is compressed data that is decoded, and the terminal device can decode the audio data before playing it back.
ステップ102:前記少なくとも1フレームのオーディオデータの各フレームのオーディオデータに対するデコード処理のデコード開始参考時間と、デコード実際処理時間とを記録する。 Step 102: Record a reference time for starting decoding and an actual decoding process time for each frame of the audio data of the at least one frame of audio data.
ここで、デコード開始参考時間とは、端末装置の参考時計に同期され、すなわち、オーディオデータのデコード処理が開始されるとき、参考時計の時間が、オーディオデータのデコード開始参考時間である。
ここで、オーディオデータのデコード実際処理時間は、オーディオデータデコード処理にかかった実際の時間である。
Here, the decode start reference time is synchronized with a reference clock of the terminal device, that is, when the decoding process of the audio data is started, the time of the reference clock is the decode start reference time of the audio data.
Here, the actual audio data decoding processing time is the actual time required for the audio data decoding processing.
ここで、オーディオデータのデコード実際処理時間が、ハードウェア計時装置によって正確に計時することができ、すなわち、選択的に、本願のいくつかの実施例において、「前記少なくとも1フレームのオーディオデータの各フレームのオーディオデータに対するデコード処理に対するデコード実際処理時間を記録する」ことは、
水晶振動に基づいてタイミングフィードバックを行い、前記オーディオデータのデコード開始時間とデコード終了時間をそれぞれ取得することと、
前記デコード開始時間と、前記デコード終了時間に基づいて、前記オーディオデータのデコード実際処理時間を特定することを含む。
Here, the actual decoding process time of the audio data can be accurately measured by a hardware clock device. That is, optionally, in some embodiments of the present application, "recording the actual decoding process time for the decoding process of the audio data of each frame of the at least one frame of audio data" can be:
performing timing feedback based on a crystal oscillation to obtain a decoding start time and a decoding end time of the audio data;
The method further includes determining an actual processing time for decoding the audio data based on the decoding start time and the decoding end time.
例えば、水晶振動子のフィードバックにより時間を計ることができる。例えば、発振器が使用され、端末装置の電源が入った時、0時0分0秒から時間を計り、時間を計る過程が27M水晶振動によるタイミングフィードバックであり、その中で、発振器による時間を計るのは比較的に正確である。 For example, time can be measured by feedback from a quartz crystal. For example, an oscillator is used, and when the terminal device is turned on, time is measured from 0:00:00. The time measurement process is timing feedback using 27M quartz crystal oscillation, among which measuring time using an oscillator is relatively accurate.
ここで、オーディオデータのデコード開始時に計時し、デコード開始時間を取得し、オーディオデータのデコード終了時に、オーディオデータのデコード終了時間を取得し、デコード終了時間とデコード開始時間の差によって、オーディオデータのデコードのデコード実際処理時間を取得できる。 Here, the time is measured when the decoding of the audio data starts, and the decoding start time is obtained. When the decoding of the audio data ends, the decoding end time of the audio data is obtained. The actual decoding processing time for the decoding of the audio data can be obtained by the difference between the decoding end time and the decoding start time.
ステップ103:前記オーディオデータに対応する基準オフセット時間と希望再生時間とを取得する。 Step 103: Obtain the reference offset time and desired playback time corresponding to the audio data.
ここで、オーディオデータの参考再生時間が希望再生時間より大きい場合、オーディオデータが正確に再生できなく、音画非同期、ドロップフレーム、再生遅れなどの現象が発生するため、オーディオデータの参考再生時間を調整する必要がある。すなわち、音声データ再生の調整は、参考再生時間のデータに参考して、参考時計に対応するデータを調整しない、すなわち、端末の表示時間を調整していない。 Here, if the reference playback time of the audio data is longer than the desired playback time, the audio data cannot be played back accurately, resulting in phenomena such as audio-video asynchronization, dropped frames, and playback delays, so it is necessary to adjust the reference playback time of the audio data. That is, the adjustment of audio data playback is made by referring to the data of the reference playback time, without adjusting the data corresponding to the reference clock, i.e., the display time of the terminal is not adjusted.
ここで、基準オフセット時間が、オーディオデータの参考再生時間と希望再生時間の差により特定されてもよく、参考再生時間を前記差までにバックし、調整された参考再生時間が希望再生時間以下になるようにする。 Here, the reference offset time may be determined by the difference between the reference playback time and the desired playback time of the audio data, and the reference playback time is backed up to the difference so that the adjusted reference playback time is equal to or less than the desired playback time.
ここで、オーディオデータのデコード時間はミリ秒レベルなので、参考時間の調整も人体が感知しにくいミリ秒の差である。例えば、オーディオデータの元参考再生時間が7時500msの場合、すなわち、端末装置の参考時計の表示時間が7時ちょうどで、基準オフセット時間が200msなので、調整後の参考再生時間が7時300msであり、この時に、参考時計の表示時間が7時ちょうどで、200msというミリ秒レベルの調整がユーザーにより感知しにくいが、200msの時間がオーディオデコードにとって無視できないため、元参考再生時間が希望再生時間を超えると、オーディオデータが正確に再生されないので、その分の基準オフセット時間を調整することで、参考再生時間を調整して、オーディオデータを再生可能にし、オーディオデータのデコードに十分な時間を提供し、ハードウェア製品の性能要件を軽減し、ユーザーがこの時間の違いを感知しにくい。 Here, since the decoding time of the audio data is at the millisecond level, the adjustment of the reference time is also a difference of milliseconds that the human body cannot easily perceive. For example, if the original reference playback time of the audio data is 7:500 ms, that is, the time displayed on the reference clock of the terminal device is exactly 7:00, and the reference offset time is 200 ms, the reference playback time after adjustment is 7:300 ms. At this time, the time displayed on the reference clock is exactly 7:00, and the millisecond-level adjustment of 200 ms is difficult for the user to perceive, but since the time of 200 ms cannot be ignored for audio decoding, if the original reference playback time exceeds the desired playback time, the audio data will not be accurately played. Therefore, the reference offset time is adjusted by that amount to adjust the reference playback time, making it possible to play the audio data, providing sufficient time for decoding the audio data, and reducing the performance requirements of the hardware product, making it difficult for the user to perceive the difference in time.
本願の実施例において、現在オーディオデータの基準オフセット時間が、過去の履歴データのオフセット状況に基づいて決定してもよい。すなわち、選択的に、いくつかの実施例において、「前記オーディオデータに対応する基準オフセット時間を取得する」ことは、具体的には、
少なくとも1フレームの履歴オーディオデータをサンプリングし、前記履歴オーディオデータが前記現在オーディオデータと同じデータタイプであることと、
前記少なくとも1フレームの履歴オーディオデータの各フレームの履歴オーディオデータに対するデコード処理後の履歴参考再生時間と履歴希望再生時間とをそれぞれ取得することと、
前記履歴参考再生時間と履歴希望再生時間に基づいて、前記少なくとも1フレームの履歴オーディオデータの各フレームの履歴オーディオデータのオフセット時間をそれぞれ特定することと、
少なくとも1つの前記オフセット時間に基づいて、前記現在オーディオデータの基準オフセット時間を特定することと、を含む。
In some embodiments of the present application, the reference offset time of the current audio data may be determined based on the offset status of the past history data. That is, optionally, in some embodiments, "obtaining a reference offset time corresponding to the audio data" specifically means:
sampling at least one frame of historical audio data, said historical audio data being of the same data type as said current audio data;
obtaining a historical reference playback time and a historical desired playback time after decoding processing for each frame of the historical audio data of the at least one frame of the historical audio data;
determining an offset time of each frame of the at least one frame of the historical audio data based on the historical reference playback time and the historical desired playback time;
determining a reference offset time of the current audio data based on at least one of the offset times.
ここで、同じデータタイプの履歴オーディオデータのオフセット時間の取得に基づいて、現在オーディオデータの参考再生時間が調整すべき基準オフセット時間が推測され、現在オーディオデータのデータタイプと同じ履歴オーディオデータがサンプリングされているため、基準オフセット時間の取得が正確である。 Here, the reference offset time to which the reference playback time of the current audio data should be adjusted is estimated based on obtaining the offset time of historical audio data of the same data type, and since the historical audio data with the same data type as the current audio data is sampled, obtaining the reference offset time is accurate.
基準オフセット時間の正確性を保証するために、サンプリングされる履歴オーディオデータは、ある周波数に応じて交換することができ、すなわち、いくつかの実施例において、「少なくとも1フレームの履歴オーディオデータをサンプリングする」ことは、具体的には、
所定周波数に基づいて、履歴オーディオデータを取得し、前記履歴オーディオデータが少なくとも1フレームの履歴オーディオデータを含むことと、
前記少なくとも1フレームの履歴オーディオデータをサンプリングすることと、を含む。
In order to ensure the accuracy of the reference offset time, the sampled historical audio data may be exchanged according to a certain frequency, i.e., in some embodiments, "sampling at least one frame of historical audio data" specifically means:
obtaining historical audio data based on a predetermined frequency, the historical audio data including at least one frame of historical audio data;
and sampling the at least one frame of historical audio data.
ここで、異なるまたは新しい履歴オーディオデータは、基準オフセット時間の取得の参考として、一定の適時性と正確性を備えている。 Here, the different or new historical audio data has a certain timeliness and accuracy as a reference for obtaining the reference offset time.
ここで、履歴オーディオデータに対応するオフセット時間を平均演算にすることにより、現在オーディオデータの基準オフセットを特定し、すなわち、選択的に、いくつかの実施例において、「少なくとも1つの前記オフセット時間に基づいて、前記現在オーディオデータの基準オフセット時間を特定する」ことは、具体的には、
少なくとも1つの前記オフセット時間の平均値を特定し、平均オフセット時間を取得することと、
前記平均オフセット時間に基づいて、前記現在オーディオデータの基準オフセット時間を特定することと、を含む。
Here, determining a reference offset time of the current audio data by averaging offset times corresponding to the historical audio data; that is, optionally, in some embodiments, "determining a reference offset time of the current audio data based on at least one of the offset times" specifically means:
determining an average value of at least one of the offset times to obtain an average offset time;
determining a reference offset time of the current audio data based on the average offset time.
ここで、平均値は現在オーディオデータと同じデータタイプである履歴オーディオデータの全体的なオフセットを示しており、この全体的なオフセットは、現在オーディオデータの参考再生時間の調整範囲を反映できるので、履歴オーディオデータの平均オフセット時間を現在オーディオデータの基準オフセット時間とすることは、ある程度の正確性と参考価値がある。 Here, the average value indicates the overall offset of the historical audio data, which is the same data type as the current audio data, and this overall offset can reflect the adjustment range of the reference playback time of the current audio data, so taking the average offset time of the historical audio data as the reference offset time of the current audio data has a certain degree of accuracy and reference value.
ここで、デコード時間はミリ秒レベルであるので、計算効率を向上させるために、1ミリ秒単位以下の時間を無視することができるので、オフセット時間に対して整数レベルのオフセット値の調整を行うことができ、すなわち、選択的に、いくつかの実施例において、「少なくとも1つの前記オフセット時間に基づいて、前記現在オーディオデータの基準オフセット時間を特定する」ことは、具体的には、
少なくとも1つの前記オフセット時間の平均値を特定し、平均オフセット時間を取得することと、
前記平均オフセット時間の整数を取って、前記履歴オーディオデータに対応する平均整数オフセット時間を取得することと、
前記平均整数オフセット時間を前記現在オーディオデータの基準オフセット時間に特定することと、を含む。
Here, since the decoding time is at the millisecond level, in order to improve calculation efficiency, a time of 1 millisecond or less can be ignored, and therefore an offset value at an integer level can be adjusted for the offset time. That is, optionally, in some embodiments, "determining a reference offset time of the current audio data based on at least one of the offset times" specifically means:
determining an average value of at least one of the offset times to obtain an average offset time;
taking an integer number of the average offset times to obtain an average integer offset time corresponding to the historical audio data;
determining the average integer offset time as a reference offset time of the current audio data.
ここで、整数を取る方式とは、小数から整数に変換の方式であってもよく、例えば、小数点以下の数値を1に調整し、調整後の参考再生時間を希望再生時間より小さくして、オーディオデータがスムーズに再生できるようにする。 Here, the method of obtaining an integer may be a method of converting a decimal to an integer, for example, adjusting the value after the decimal point to 1, and making the reference playback time after adjustment shorter than the desired playback time, allowing the audio data to be played back smoothly.
ここで、整数の基準オフセット時間から、オーディオデータ参考再生時間の調整区間を直観的に知ることができる。 Here, you can intuitively know the adjustment interval for the reference playback time of the audio data from the integer reference offset time.
ここで、デコード時間はミリ秒レベルであるので、計算効率を向上させるために、1ミリ秒単位以下の時間を無視することができ、すなわち、各オフセット時間の整数部分のみを基準オフセット時間の選択の考慮要素とすることができ、各オフセット時間を先に整数を取り、これらのオフセット時間の平均値を計算する。すなわち、選択的に、いくつかの実施例において、「少なくとも1つの前記オフセット時間に基づいて、前記現在オーディオデータの基準オフセット時間を特定する」ことは、具体的には、
前記少なくとも1つの前記オフセット時間の整数を取って、少なくとも1つの整数オフセット時間を取得することと、
前記少なくとも1つの整数オフセット時間に基づいて、前記少なくとも1つフレームのオーディオデータの各フレームのオーディオデータの整数平均オフセット時間を特定することと、
前記整数平均オフセット時間を前記現在オーディオデータの基準オフセット時間に特定することと、を含む。
Here, since the decoding time is at the millisecond level, in order to improve the calculation efficiency, the time of 1 millisecond or less can be ignored, i.e., only the integer part of each offset time can be taken into consideration for selecting the reference offset time, and the integer of each offset time is taken first, and the average value of these offset times is calculated. That is, optionally, in some embodiments, "determining the reference offset time of the current audio data based on at least one of the offset times" specifically means:
taking an integer number of the at least one offset time to obtain at least one integer offset time;
determining an average integer offset time of each frame of audio data of the at least one frame of audio data based on the at least one integer offset time;
determining the integer average offset time as a reference offset time of the current audio data.
ここで、調整された参考再生時間が希望再生時間以下であることを保証するために、各オフセット時間を小数から整数に変換してもよい。たとえば、各オフセットデータの小数点以下のデータを1に調整すると、すなわち整数部分が1ms増加する。 Here, to ensure that the adjusted reference playback time is equal to or less than the desired playback time, each offset time may be converted from a decimal to an integer. For example, the decimal part of each offset data may be adjusted to 1, i.e., the integer part increases by 1 ms.
ここで、基準オフセット時間は、現在オーディオデータのデータタイプと同じ履歴オーディオデータの基本的なオフセットデータまたは全体的なオフセットを示しているので、参考再生時間に対する基準オフセット時間の調整によって、参考再生時間を希望再生時間以下に調整することが大体できる。 Here, the reference offset time indicates the basic offset data or overall offset of historical audio data that has the same data type as the current audio data, so that the reference playback time can generally be adjusted to be less than or equal to the desired playback time by adjusting the reference offset time relative to the reference playback time.
ここで、前記基準オフセット時間が平均値の取得に基づいて取得したものであり、それぞれのオーディオデータオフセット時間の平均値が、そのオーディオデータセット全体のオフセットを表しているので、前記方式で取得した基準オフセット時間は、参考再生時間の調整ニーズをある程度に満足することができる。 Here, the reference offset time is obtained based on obtaining an average value, and the average value of each audio data offset time represents the offset of the entire audio data set, so the reference offset time obtained by the above method can satisfy the adjustment needs of the reference playback time to a certain extent.
しかし、より高い精度が要求されるオーディオデータについては、基準オフセット時間に加えて、オーディオデータに対応する実際オフセット時間に基づいて、オーディオデータの基準オフセット時間の調整に基づいてまだ存在する誤差オフセット時間を特定し、基準オフセット時間と誤差オフセット時間に基づいて、オーディオデータの参考再生時間を同時に調整することもできる。すなわち、選択的に、いくつかの実施例において、「前記基準オフセット時間に基づいて前記デコード開始参考時間を調整し、デコード開始調整時間を取得する」ことは、
前記オーディオデータの予約処理時間を取得することと、
前記予約処理時間と前記デコード実際処理時間に基づいて、前記オーディオデータの実際オフセット時間を特定することと、
前記基準オフセット時間と前記実際オフセット時間に基づいて、前記オーディオデータの誤差オフセット時間を特定することと、
前記基準オフセット時間と前記誤差オフセット時間に基づいて前記デコード開始参考時間を調整し、デコード開始調整時間を取得することと、を含む。
However, for audio data requiring higher accuracy, in addition to the reference offset time, an error offset time that still exists can be identified based on the adjustment of the reference offset time of the audio data based on the actual offset time corresponding to the audio data, and the reference playback time of the audio data can be adjusted simultaneously based on the reference offset time and the error offset time. That is, optionally, in some embodiments, "adjusting the decoding start reference time based on the reference offset time to obtain the decoding start adjustment time" can be
obtaining a reservation processing time for the audio data;
determining an actual offset time of the audio data based on the scheduled processing time and the actual decoding processing time;
determining an error offset time of the audio data based on the reference offset time and the actual offset time;
adjusting the decoding start reference time based on the reference offset time and the error offset time to obtain a decoding start adjusted time.
ここで、基準オフセット時間が履歴オーディオデータのオフセット時間の平均値から計算されるので、基準オフセット時間による参考再生時間の調整を行っても誤差があるので、実際オフセット時間と基準オフセット時間により誤差オフセット時間を特定し、そして、参考再生時間が基準オフセット時間に基づいて調整した後、さらに誤差オフセット時間による調整を行うと、オーディオデータの参考再生時間調整の精度が向上し、調整後の参考再生時間が希望再生時間以下になることが保証される。 Here, since the reference offset time is calculated from the average offset time of the historical audio data, there will be an error even if the reference playback time is adjusted using the reference offset time. Therefore, the error offset time is determined using the actual offset time and the reference offset time. After the reference playback time is adjusted based on the reference offset time, further adjustment is made using the error offset time. This improves the accuracy of the adjustment of the reference playback time of the audio data, and ensures that the adjusted reference playback time will be less than or equal to the desired playback time.
例えば、基準オフセット時間が整数であると精度が失われるので、精度の要求を満たすためには、各フレームのオーディオデータに対応する実際のオーディオデータを特定し、実際のオーディオデータと基準オフセット時間に基づいて誤差オフセット時間を特定し、そして、基準オフセット時間に基づいて参考再生時間を調整したうえで、誤差オフセット時間に基づいてさらに調整する。 For example, if the reference offset time is an integer, precision will be lost, so to meet the precision requirement, the actual audio data corresponding to the audio data of each frame is identified, the error offset time is identified based on the actual audio data and the reference offset time, the reference playback time is adjusted based on the reference offset time, and then further adjusted based on the error offset time.
ここで、より高い精度が要求されるオーディオデータについては、オーディオデータのデコード後の実際オフセット時間により調整され、基準オフセット時間はさらに実際オフセット時間を含む。すなわち、選択的に、いくつかの実施例において、「前記基準オフセット時間に基づいて前記デコード開始参考時間を調整し、デコード開始調整時間を取得する」ことは、
前記オーディオデータの予約処理時間を取得することと、
前記予約処理時間と前記デコード実際処理時間に基づいて、前記オーディオデータの実際オフセット時間を特定することと、
前記実際オフセット時間に基づいて前記デコード開始参考時間を調整し、デコード開始調整時間を取得することと、を含む。
Here, for audio data requiring higher accuracy, the offset time is adjusted based on the actual offset time after the audio data is decoded, and the reference offset time further includes the actual offset time. That is, optionally, in some embodiments, "adjusting the decoding start reference time based on the reference offset time to obtain the decoding start adjustment time" can be
obtaining a reservation processing time for the audio data;
determining an actual offset time of the audio data based on the scheduled processing time and the actual decoding processing time;
adjusting the decoding start reference time based on the actual offset time to obtain a decoding start adjusted time.
ここで、オーディオデータのデコード後かつオーディオデータが出力される前に、オーディオデータの実際オフセット時間に基づいて、オーディオデータのデコード開始参考時間を調整する。 Here, after the audio data is decoded and before the audio data is output, the reference time for starting decoding of the audio data is adjusted based on the actual offset time of the audio data.
ここで、予約処理時間が、オーディオデータのデコードのために予約された処理時間であり、予約処理時間の取得が、デコード開始参考時間と希望再生時間に従って取得してもよい。すなわち、選択的に、本願のいくつかの実施例において、「オーディオデータの予約処理時間を取得する」ことは、
前記オーディオデータのデコード開始参考時間と、前記希望再生時間に基づいて、前記オーディオデータの予約処理時間を特定することを含む。
Here, the reserved processing time is a processing time reserved for decoding audio data, and the reserved processing time may be acquired according to the reference decoding start time and the desired playback time. That is, optionally, in some embodiments of the present application, "acquiring the reserved processing time of audio data" may be
The method includes specifying a reserved processing time for the audio data based on a reference time for starting decoding of the audio data and the desired playback time.
ここで、希望再生時間とデコード開始参考時間の差に基づいてオーディオデータの予約処理時間が取得でき、予約処理時間とデコード実際処理時間の比較に基づいてオーディオデータデコードの実際オフセット時間が取得できる。 Here, the scheduled processing time for audio data can be obtained based on the difference between the desired playback time and the reference decoding start time, and the actual offset time for audio data decoding can be obtained based on a comparison between the scheduled processing time and the actual decoding processing time.
ここで、オーディオデータの希望再生時間は、オーディオデータのデータ情報から直接抽出できる。すなわち、選択的に、いくつかの実施例において、「前記オーディオデータに対応する希望再生時間を取得する」ことは、具体的には、
前記オーディオデータから前記オーディオデータの希望再生時間を直接抽出することを含む。
Here, the desired playback time of the audio data can be directly extracted from the data information of the audio data. That is, optionally, in some embodiments, "obtaining the desired playback time corresponding to the audio data" specifically means:
Extracting a desired playback duration of the audio data directly from the audio data.
ここで、オーディオデータの基準オフセット時間が、オーディオデータのタイプに基づいて決定してもよい。すなわち、選択的に、いくつかの実施例において、「前記オーディオデータに対応する基準オフセット時間を取得する」ことは、具体的には、
前記オーディオデータのオーディオデータタイプを識別することと、
マッピング関係セットを取得し、前記マッピング関係セットが、所定オーディオデータタイプと所定基準オフセット時間とのマッピング関係を含むことと、
前記マッピング関係セットと前記オーディオデータタイプに基づいて、前記オーディオデータに対応する基準オフセット時間を取得することと、を含む。
Here, the reference offset time of the audio data may be determined based on the type of the audio data. That is, selectively, in some embodiments, "obtaining a reference offset time corresponding to the audio data" specifically means:
identifying an audio data type of the audio data;
Obtaining a mapping relationship set, the mapping relationship set including a mapping relationship between a predetermined audio data type and a predetermined reference offset time;
and obtaining a reference offset time corresponding to the audio data based on the mapping relationship set and the audio data type.
ここで、マッピング関係セットが、従来の履歴オーディオデータのタイプとオフセット時間の関係にもとづいて特定してもよい。例えば、履歴オーディオデータのタイプとオフセット時間の統計にもとづいて、オーディオデータのデータタイプに対応する基準オフセット時間を統合特定する。 Here, the mapping relationship set may be determined based on a conventional relationship between historical audio data type and offset time. For example, a reference offset time corresponding to the data type of audio data is jointly determined based on statistics of historical audio data type and offset time.
ステップ104:前記少なくとも1フレームのオーディオデータの各フレームのオーディオデータに対して、前記基準オフセット時間に基づいて前記デコード開始参考時間を調整し、デコード開始調整時間を取得する。 Step 104: For each frame of audio data of the at least one frame of audio data, adjust the decode start reference time based on the reference offset time to obtain an adjusted decode start time.
ここで、オーディオデータデコード処理前のデコード開始参考時間とデコード処理後の参考再生時間は同じタイムライン上にある。すなわち、デコード開始参考時間の変化が参考再生時間の変化をもたらすので、デコード処理を開始したデコード開始参考時間の調整は、デコード処理後の参考再生時間の調整に相当する。 Here, the reference time to start decoding before the audio data decoding process and the reference playback time after the decoding process are on the same timeline. In other words, a change in the reference time to start decoding results in a change in the reference playback time, so adjusting the reference time to start decoding when the decoding process started is equivalent to adjusting the reference playback time after the decoding process.
ここで、図3を参照する。図3は、本発明の実施例における参考再生時間調整のフロー模式図であるであり、オーディオデータ処理開始時のデコード開始参考時間に対して調整を行うことができ、例えば、デコード開始参考時間に対して戻し調整を行った後に、オーディオデータ処理後の最終的な参考再生時間に対しても変更調整を行う。すなわち、デコード開始参考時間の調整後に、最終的な参考再生時間に対して更新調整を行うことに相当し、具体的には次のとおりである。
ステップ111:オーディオデータパケット(TLV stream)であるオーディオデータセットを取得する。
ステップ112:オーディオデータパケット中のオーディオデータのデコードを開始する際に、オーディオデータデコード開始時の端末装置の参考時計のリアルタイム時間(すなわちオーディオデータのデコード開始参考時間)とデコード実際処理時間を記録する。
ステップ113:オーディオデータに対応する希望再生時間を取得する。
ステップ114:基準オフセット時間と誤差オフセット時間に基づいてデコード開始参考時間を調整することで、調整したデコード開始調整時間とデコード実際処理時間の和(すなわち参考再生時間)が、オーディオデータに対応する希望再生時間の以下になる。
ステップ115:調整後(すなわちオーディオデータデコード後)の参考再生時間を継続のタイミング更新をして、参考再生時間をオーディオデータに対応する希望再生時間に変化させ、このときオーディオデータを再生する。
Here, reference is made to Fig. 3. Fig. 3 is a flow diagram of the reference playback time adjustment in the embodiment of the present invention, in which an adjustment can be made to the decode start reference time at the start of audio data processing, for example, after the decode start reference time is adjusted backward, a change adjustment is also made to the final reference playback time after audio data processing. That is, this corresponds to an update adjustment of the final reference playback time after the adjustment of the decode start reference time, and is specifically as follows.
Step 111: Obtain an audio data set, which is an audio data packet (TLV stream).
Step 112: When starting to decode audio data in the audio data packet, the real time of the reference clock of the terminal device at the start of decoding the audio data (i.e., the reference time to start decoding the audio data) and the actual decoding processing time are recorded.
Step 113: Obtain a desired playback time corresponding to the audio data.
Step 114: By adjusting the decoding start reference time based on the reference offset time and the error offset time, the sum of the adjusted decoding start adjustment time and the decoding actual processing time (i.e., the reference playback time) is equal to or shorter than the desired playback time corresponding to the audio data.
Step 115: The reference playback time after adjustment (i.e., after the audio data is decoded) is updated with the continuing timing, the reference playback time is changed to the desired playback time corresponding to the audio data, and the audio data is played back at this time.
ここで、オーディオデータのデコード開始時に、デコード開始参考時間を調整することにより、オーディオデータを再生するハードウェアデバイスが希望再生時間以下の1つの参考再生時間を取得することができる。すなわち、デコード開始参考時間の調整後、デコード後にハードウェアデバイスによって取得される参考再生時間が、調整後の参考再生時間である。 Here, by adjusting the reference decode start time when decoding of the audio data starts, the hardware device that plays the audio data can obtain a reference playback time that is less than or equal to the desired playback time. In other words, after adjusting the reference decode start time, the reference playback time obtained by the hardware device after decoding is the adjusted reference playback time.
ステップ105:前記デコード開始調整時間と前記デコード実際処理時間とに基づいて前記オーディオデータの参考再生時間を特定し、前記参考再生時間が前記希望再生時間の以下である。 Step 105: Identify a reference playback time of the audio data based on the decode start adjustment time and the decode actual processing time, and the reference playback time is less than or equal to the desired playback time.
ここで、オーディオデータのデコード開始参考時間とデコード実際処理時間の和がオーディオデータデコード後の参照時間であり、履歴オーディオデータのオフセット時間を参照するため、現在オーディオデータの開始参照時間を調整することで、オーディオデータデコード後の参考再生時間がオーディオデータの希望再生時間以下になる。 Here, the sum of the reference time to start decoding the audio data and the actual decoding processing time is the reference time after the audio data is decoded, and since it refers to the offset time of the historical audio data, by adjusting the reference time to start the current audio data, the reference playback time after the audio data is decoded becomes equal to or shorter than the desired playback time of the audio data.
ここで、オーディオデータデコード処理前の時間情報とデコード処理後の時間情報に基づいてオーディオデータの参考再生時間を特定する。すなわち、選択的に、いくつかの実施例において、「前記デコード開始調整時間と前記デコード実際処理時間に基づいて、前記オーディオデータの参考再生時間を特定する」ことは、具体的には、
前記オーディオデータに対するデコード処理のデコード開始時間とデコード終了時間を取得することと、
前記デコード開始調整時間と、前記デコード開始時間に基づいて、前記オーディオデータのベース参考再生時間を特定することと、
前記ベース参考再生時間と、前記デコード終了時間に基づいて、前記オーディオデータの参考再生時間を特定することと、を含む。
Here, the reference playback time of the audio data is determined based on the time information before the audio data is decoded and the time information after the audio data is decoded. That is, optionally, in some embodiments, "determining the reference playback time of the audio data based on the decode start adjustment time and the decode actual processing time" specifically means:
obtaining a decoding start time and a decoding end time of a decoding process for the audio data;
determining a base reference playback time of the audio data based on the decoding start adjustment time and the decoding start time;
determining a reference playback time of the audio data based on the base reference playback time and the decoding end time.
ここで、デコード開始調整時間とデコード開始時間の差により、オーディオデータのベース参考再生時間を取得でき、ベース参考再生時間とデコード終了時間の和により、オーディオデータの参考再生時間を取得できる。すなわち、参考再生時間とデコード開始調整時間の差は、デコード終了時間とデコード開始時間の差に等しい。 Here, the base reference playback time of the audio data can be obtained from the difference between the decode start adjustment time and the decode start time, and the reference playback time of the audio data can be obtained from the sum of the base reference playback time and the decode end time. In other words, the difference between the reference playback time and the decode start adjustment time is equal to the difference between the decode end time and the decode start time.
ここで、ベース参考再生時間によって参考再生時間を取得することにより、基準オフセット時間の調整をオーディオデータのデコード開始時に調整できる。すなわち、オーディオデータのデコード開始参考時間を調整する。 Here, by obtaining the reference playback time using the base reference playback time, the adjustment of the reference offset time can be adjusted at the start of decoding the audio data. In other words, the reference time for starting decoding the audio data is adjusted.
ここで、オーディオデータのデコード開始前のベース参考再生時間を調整することにより、調整後のデコード開始調整時間を最終的な参考再生時間に同期作用させることができる。 Here, by adjusting the base reference playback time before the start of decoding the audio data, the adjusted decode start adjustment time can be synchronized with the final reference playback time.
ステップ106:時間変化に基づいて前記参考再生時間を更新して、調整された参考再生時間を取得する。 Step 106: Update the reference playing time according to time change to obtain an adjusted reference playing time .
ここで、参考再生時間はオーディオデータの参考再生時間であり、参考再生時間が希望再生時間に達すると、オーディオデータを再生することができる。 Here, the reference playback time is the reference playback time of the audio data, and when the reference playback time reaches the desired playback time, the audio data can be played back.
ここで、履歴オーディオデータのオフセット時間により、現在オーディオデータの基準オフセット時間が推測できるので、基準オフセット時間により参考再生時間に戻し調整を行うことで、参考再生時間が、参考時計の時間内に同期されなく、希望再生時間の時間より以下になるように調整した。 Here, the reference offset time of the current audio data can be inferred from the offset time of the historical audio data, so by adjusting it back to the reference playback time using the reference offset time, the reference playback time is adjusted so that it is not synchronized with the time of the reference clock and is below the desired playback time.
ステップ107:調整された参考再生時間が希望再生時間に達すると、端末装置に応じてオーディオデータが再生される。 Step 107: When the adjusted reference playback time reaches the desired playback time, the audio data is played according to the terminal device.
ここで、参考再生時間の計時が続けると、参考再生時間に対応するタイムスタンプが希望再生時間のタイムスタンプと同じになった後、オーディオデータを再生することができ、オーディオデータのデコードがミリ秒レベルであるため、調整された参考再生時間と希望再生時間の時間差もミリ秒レベルであるべきである。 Here, as the reference playback time continues to be clocked, the audio data can be played back after the timestamp corresponding to the reference playback time becomes the same as the timestamp of the desired playback time. Since the decoding of audio data is at the millisecond level, the time difference between the adjusted reference playback time and the desired playback time should also be at the millisecond level.
ここで、オーディオデータセットの各オーディオデータの希望再生時間に対応するタイムスタンプの差は、比較的に一定であるため、調整後の各オーディオデータに対応する参考再生時間の差も、比較的に一定であり、オーディオの連続再生が可能である。 Here, since the difference in the timestamps corresponding to the desired playback times of each audio data in the audio data set is relatively constant, the difference in the reference playback times corresponding to each audio data after adjustment is also relatively constant, making continuous playback of audio possible.
ここで、図4を参照する。本願の実施例において、基準オフセット時間によるオーディオデータの参考再生時間の調整の具体的なプロセスは以下のとおりである。 Now, refer to FIG. 4. In the embodiment of the present application, the specific process of adjusting the reference playback time of the audio data according to the reference offset time is as follows:
ステップ121:オーディオデータセット、すなわちオーディオデータパケット(TLV stream)を取得し、オーディオデータセットからオーディオデータのデコード開始参考時間のタイムスタンプを取得し、デコード開始参考時間のタイムスタンプを検証し、タイムスタンプデータの有効性を判断し、有効であればステップ122に進み、無効であれば、引き続きステップ121に実行する。 Step 121: Obtain an audio data set, i.e., an audio data packet (TLV stream), obtain a timestamp of the reference time for starting decoding of the audio data from the audio data set, verify the timestamp of the reference time for starting decoding, and determine the validity of the timestamp data. If it is valid, proceed to step 122; if it is invalid, continue to step 121.
ステップ122:オーディオデータセットから各フレームオーディオデータの希望再生時間のタイムスタンプを取得し、希望再生時間のタイムスタンプを検証し、タイムスタンプデータの有効性を判断し、有効であればステップ123に進み、無効であれば、引き続きステップ122に実行する。 Step 122: Obtain a timestamp of the desired playback time of each frame of audio data from the audio data set, verify the timestamp of the desired playback time, and determine the validity of the timestamp data. If it is valid, proceed to step 123; if it is invalid, continue to step 122.
ステップ123:オーディオデータデコードのデコード開始時間を記録し、そして、デコード開始時間のタイムスタンプを検証し、タイムスタンプデータの有効性を判断し、有効であればステップ124に進み、無効であれば、引き続きステップ123に実行する。
ステップ124:ベース参考再生時間を取得する。
ステップ125:基準オフセット時間に基づいてベース参考再生時間を調整する(実質的にはデコード開始参考時間の調整)。
ステップ126:実際オフセット時間を取得する。
ステップ127:基準オフセット時間と実際オフセット時間に基づいて、参考再生時間の誤差オフセット時間を特定し、基準オフセット時間が調整した上で、誤差オフセット時間に基づいてベース参考再生時間に引き続き調整を行い(実質的にはデコード開始参考時間に調整を行う)、ベース参考再生調整時間を取得し、ベース参考再生調整時間の有効性を検証し、無効であればステップ127に進み、有効であればステップ128に進む。
ステップ128:ベース参考再生調整時間をオーディオ再生のハードウェアデバイスに更新し、デコード実際処理時間に伴って調整後の参考再生時間を特定する。
Step 123: Record the decoding start time of the audio data decoding, and verify the time stamp of the decoding start time to determine the validity of the time stamp data. If it is valid, proceed to step 124; if it is invalid, continue to step 123.
Step 124: A base reference playback time is obtained.
Step 125: Adjust the base reference playback time based on the reference offset time (effectively adjusting the decoding start reference time).
Step 126: The actual offset time is obtained.
Step 127: Based on the reference offset time and the actual offset time, determine the error offset time of the reference playback time, adjust the reference offset time, and then make further adjustments to the base reference playback time based on the error offset time (effectively making adjustments to the decoding start reference time), obtain the base reference playback adjustment time, and verify the validity of the base reference playback adjustment time. If it is invalid, proceed to step 127; if it is valid, proceed to step 128.
Step 128: Update the base reference playback adjustment time in the hardware device of audio playback, and determine the adjusted reference playback time according to the decoding actual processing time.
ここで、調整過程において、まず基準オフセット時間に基づいてデコード開始参考時間の調整を行い、その後、デコード実際処理時間に基づいて、調整後の誤差オフセット時間を特定する。その後、誤差オフセット時間に基づいて調整を続けることで、デコード開始参考時間の調整の正確性、すなわちオーディオデータの最終的な参考再生時間の正確性が向上する。 Here, in the adjustment process, the reference decode start time is first adjusted based on the reference offset time, and then the adjusted error offset time is determined based on the actual decode processing time. Then, by continuing the adjustment based on the error offset time, the accuracy of the adjustment of the reference decode start time, i.e., the accuracy of the final reference playback time of the audio data, is improved.
本願の実施例は、オーディオデータの参考再生時間を小さくすることにより、参考再生時間を時間とともに変化させ、変化後に希望再生時間に達した後、オーディオデータを再生する、すなわち、オーディオデータの参考再生時間が希望再生時間を満たした後、オーディオデータを同期に再生することができる。このうち、参考再生時間はデコード開始参考時間を小さくすることによって小さくなるが、オーディオデータのデコード実際処理時間は影響や制限を受けない。したがって、オーディオデータに対応する参考再生時間を小さくすることは、オーディオデータのデコード処理に十分なデコード時間を提供し、かつ、デコード処理の時間が長すぎるためにオーディオデータの再生に音画非同期、ドロップフレーム、または再生遅れなどの現象が発生することを回避する。 In the embodiment of the present application, the reference playback time of the audio data is shortened, so that the reference playback time changes over time, and the audio data is played back after it reaches the desired playback time after the change; that is, after the reference playback time of the audio data meets the desired playback time, the audio data can be played back synchronously. Of these, the reference playback time is shortened by shortening the reference decoding start time, but the actual decoding processing time of the audio data is not affected or limited. Therefore, shortening the reference playback time corresponding to the audio data provides sufficient decoding time for the decoding processing of the audio data, and avoids phenomena such as audio-video asynchrony, dropped frames, or playback delays in the playback of the audio data due to the decoding processing time being too long.
本開示に記載されたオーディオ再生方法をより良く実施するために、本開示は、前記オーディオ再生方法によるオーディオ再生装置も提供する。ここで、名詞の意味は上述のオーディオ再生方法におけるものと同じであり、具体的な実現の詳細は方法の実施例における説明を参照してもよい。 To better implement the audio playback method described in the present disclosure, the present disclosure also provides an audio playback device according to the audio playback method. Here, the meanings of the nouns are the same as those in the above-mentioned audio playback method, and specific implementation details may refer to the description in the embodiment of the method.
図5を参照する。図5は、本願に提供されるオーディオ再生装置の概略構成図であり、デコードモジュール201、記録モジュール202、取得モジュール203、調整モジュール204、特定モジュール205、タイミングモジュール206、および再生モジュール207が含まれる。具体的には次のとおりである。
デコードモジュール201には、端末装置で再生されるオーディオデータセットをデコード処理し、前記オーディオデータセットが少なくとも1フレームのオーディオデータを含む。
ここで、端末装置によって受信され、再生するオーディオデータは、多くの場合、符号化されて圧縮されたデータである。例えば、デジタルテレビでは、伝送されるパケットTLVがISDB S3規格のパケットであり、4Kスーパーハイビジョン番組に対応するTLVパケットが、一般的に番組内容のデータ量が非常に大きいため、伝送効率を向上させるために、一般的には、オーディオデータを符号化して圧縮すると、端末装置が受信したオーディオデータが、デコードされる圧縮データであり、端末装置が、オーディオデータをデコードしてからオーディオデータの再生を行うことができる。
記録モジュール202には、前記少なくとも1フレームのオーディオデータの各フレームのオーディオデータに対するデコード処理のデコード開始参考時間と、デコード実際処理時間とを記録する。
ここで、デコード開始参考時間とは、端末装置の参考時計に同期され、すなわち、オーディオデータのデコード処理が開始されるとき、参考時計の時間が、オーディオデータのデコード開始参考時間である。
ここで、オーディオデータのデコード実際処理時間は、オーディオデータデコード処理にかかった実際の時間である。
Please refer to Fig. 5. Fig. 5 is a schematic block diagram of an audio playback device provided in the present application, which includes a
The
Here, the audio data received and played by the terminal device is often coded and compressed data. For example, in digital television, the transmitted packet TLV is a packet of ISDB S3 standard, and the TLV packet corresponding to a 4K super high vision program is generally very large in data amount of the program content, so in order to improve the transmission efficiency, the audio data is generally coded and compressed, and the audio data received by the terminal device is compressed data to be decoded, and the terminal device can play the audio data after decoding the audio data.
The
Here, the decode start reference time is synchronized with a reference clock of the terminal device, that is, when the decoding process of the audio data is started, the time of the reference clock is the decode start reference time of the audio data.
Here, the actual audio data decoding processing time is the actual time required for the audio data decoding processing.
選択的に、本願のいくつかの実施例において、記録モジュール202は、
水晶振動に基づいてタイミングフィードバックを行い、前記オーディオデータのデコード開始時間とデコード終了時間をそれぞれ取得することと、
前記デコード開始時間と、前記デコード終了時間に基づいて、前記オーディオデータのデコード実際処理時間を特定することと、に用いられる。
Optionally, in some embodiments of the present application, the
performing timing feedback based on a crystal oscillation to obtain a decoding start time and a decoding end time of the audio data;
and determining an actual processing time for decoding the audio data based on the decoding start time and the decoding end time.
ここで、参照時間は、参考時計の時刻を受信して更新されるが、データ送信及び更新の過程で時間消費を伴うため、参照時間に基づいてオーディオデータの実際デコード時間を取得することは不正確であるため、本願では水晶振動の計時装置に基づいてオーディオデータの実際デコード時間の計時を実現し、水晶振動フィードバックによる計時処理を用いた方が正確である。 Here, the reference time is updated by receiving the time from the reference clock, but since the process of transmitting and updating data consumes time, it is inaccurate to obtain the actual decoded time of the audio data based on the reference time. Therefore, in this application, the timing of the actual decoded time of the audio data is realized based on a quartz crystal oscillation timing device, and it is more accurate to use a timing process using quartz crystal oscillation feedback.
取得モジュール203には、前記オーディオデータに対応する基準オフセット時間と希望再生時間とを取得する。
The
ここで、オーディオデータの参考再生時間が希望再生時間より大きい場合、オーディオデータが正確に再生できなく、音画非同期、ドロップフレーム、再生遅れなどの現象が発生するため、オーディオデータの参考再生時間を調整する必要がある。すなわち、音声データ再生の調整は、参考再生時間のデータに参考して、参考時計に対応するデータを調整しない、すなわち、端末の表示時間を調整していない。 Here, if the reference playback time of the audio data is longer than the desired playback time, the audio data cannot be played back accurately, resulting in phenomena such as audio-video asynchronization, dropped frames, and playback delays, so it is necessary to adjust the reference playback time of the audio data. That is, the adjustment of audio data playback is made by referring to the data of the reference playback time, without adjusting the data corresponding to the reference clock, i.e., the display time of the terminal is not adjusted.
ここで、基準オフセット時間が、オーディオデータの参考再生時間と希望再生時間の差により特定されてもよく、参考再生時間を前記差までにバックし、調整された参考再生時間が希望再生時間以下になるようにする。 Here, the reference offset time may be determined by the difference between the reference playback time and the desired playback time of the audio data, and the reference playback time is backed up to the difference so that the adjusted reference playback time is equal to or less than the desired playback time.
ここで、オーディオデータのデコード時間はミリ秒レベルなので、参考時間の調整も人体が感知しにくいミリ秒の差である。例えば、オーディオデータの元参考再生時間が7時500msの場合、すなわち、端末装置の参考時計の表示時間が7時ちょうどで、基準オフセット時間が200msなので、調整後の参考再生時間が7時300msであり、この時に、参考時計の表示時間が7時ちょうどで、200msというミリ秒レベルの調整がユーザーにより感知しにくいが、200msの時間がオーディオデコードにとって無視できないため、元参考再生時間が希望再生時間を超えると、オーディオデータが正確に再生されないので、その分の基準オフセット時間を調整することで、参考再生時間を調整して、オーディオデータを再生可能にし、オーディオデータのデコードに十分な時間を提供し、ハードウェア製品の性能要件を軽減し、ユーザーがこの時間の違いを感知しにくい。 Here, since the decoding time of the audio data is at the millisecond level, the adjustment of the reference time is also a difference of milliseconds that the human body cannot easily perceive. For example, if the original reference playback time of the audio data is 7:500 ms, that is, the time displayed on the reference clock of the terminal device is exactly 7:00, and the reference offset time is 200 ms, the reference playback time after adjustment is 7:300 ms. At this time, the time displayed on the reference clock is exactly 7:00, and the millisecond-level adjustment of 200 ms is difficult for the user to perceive, but since the time of 200 ms cannot be ignored for audio decoding, if the original reference playback time exceeds the desired playback time, the audio data will not be accurately played. Therefore, the reference offset time is adjusted by that amount to adjust the reference playback time, making it possible to play the audio data, providing sufficient time for decoding the audio data, and reducing the performance requirements of the hardware product, making it difficult for the user to perceive the difference in time.
選択的に、本願のいくつかの実施例において、前記オーディオデータが、現在オーディオデータを含み、前記取得モジュール203は、
少なくとも1フレームの履歴オーディオデータをサンプリングし、前記履歴オーディオデータが前記現在オーディオデータと同じデータタイプであるサンプリングユニットと、
前記少なくとも1フレームの履歴オーディオデータの各フレームの履歴オーディオデータに対するデコード処理後の履歴参考再生時間と希望再生時間とをそれぞれ取得する第一取得ユニットと、
前記履歴参考再生時間と前記希望再生時間に基づいて、前記少なくとも1フレームの履歴オーディオデータの各フレームの履歴オーディオデータのオフセット時間をそれぞれ特定する第一特定ユニットと、
少なくとも1つの前記オフセット時間に基づいて、前記現在オーディオデータの基準オフセット時間を特定する第二特定ユニットと、を含む。
Optionally, in some embodiments of the present application, the audio data includes current audio data, and the acquisition module 203:
a sampling unit for sampling at least one frame of historical audio data, said historical audio data being of the same data type as said current audio data;
a first acquiring unit for acquiring a historical reference playback time and a desired playback time after decoding processing for each frame of the historical audio data of the at least one frame of the historical audio data;
a first determination unit for respectively determining an offset time of each frame of the historical audio data of the at least one frame according to the historical reference playback time and the desired playback time;
and a second identifying unit for identifying a reference offset time of the current audio data based on at least one of the offset times.
ここで、同じデータタイプの履歴オーディオデータのオフセット時間の取得に基づいて、現在オーディオデータの参考再生時間が調整すべき基準オフセット時間が推測され、現在オーディオデータのデータタイプと同じ履歴オーディオデータがサンプリングされているため、基準オフセット時間の取得が正確である。 Here, the reference offset time to which the reference playback time of the current audio data should be adjusted is estimated based on obtaining the offset time of historical audio data of the same data type, and since the historical audio data with the same data type as the current audio data is sampled, obtaining the reference offset time is accurate.
選択的に、本願のいくつかの実施例において、第二特定ユニットは、
少なくとも1つの前記オフセット時間の平均値を特定し、平均オフセット時間を取得する第一特定サブユニットと、
前記平均オフセット時間に基づいて、前記現在オーディオデータの基準オフセット時間を特定する第二特定サブユニットと、を含む。
Optionally, in some embodiments of the present application, the second identification unit is
a first specifying subunit for specifying an average value of at least one of the offset times to obtain an average offset time;
and a second identifying subunit for identifying a reference offset time of the current audio data based on the average offset time.
ここで、平均値は現在オーディオデータと同じデータタイプである履歴オーディオデータの全体的なオフセットを示しており、この全体的なオフセットは、現在オーディオデータの参考再生時間の調整範囲を反映できるので、履歴オーディオデータの平均オフセット時間を現在オーディオデータの基準オフセット時間とすることは、ある程度の正確性と参考価値がある。 Here, the average value indicates the overall offset of the historical audio data, which is the same data type as the current audio data, and this overall offset can reflect the adjustment range of the reference playback time of the current audio data, so taking the average offset time of the historical audio data as the reference offset time of the current audio data has a certain degree of accuracy and reference value.
選択的に、本願のいくつかの実施例において、前記第二特定ユニットは、
少なくとも1つの前記オフセット時間の平均値を特定し、平均オフセット時間を取得することと、
前記平均オフセット時間の整数を取って、前記履歴オーディオデータに対応する平均整数オフセット時間を取得することと、
前記平均整数オフセット時間を前記現在オーディオデータの基準オフセット時間に特定することと、さらに用いられる。
Optionally, in some embodiments of the present application, the second identification unit is
determining an average value of at least one of the offset times to obtain an average offset time;
taking an integer number of the average offset times to obtain an average integer offset time corresponding to the historical audio data;
The average integer offset time is determined to be a reference offset time of the current audio data, and is further used.
選択的に、本願のいくつかの実施例において、第二特定ユニットは、
前記少なくとも1つの前記オフセット時間の整数を取って、少なくとも1つの整数オフセット時間を取得することと、
前記少なくとも1つの整数オフセット時間に基づいて、前記少なくとも1つフレームのオーディオデータの各フレームのオーディオデータの整数平均オフセット時間を特定することと、
前記整数平均オフセット時間を前記現在オーディオデータの基準オフセット時間に特定することと、さらに用いられる。
Optionally, in some embodiments of the present application, the second identification unit is
taking an integer number of the at least one offset time to obtain at least one integer offset time;
determining an average integer offset time of each frame of audio data of the at least one frame of audio data based on the at least one integer offset time;
The integer average offset time is further used to identify the integer average offset time as a reference offset time of the current audio data.
選択的に、本願のいくつかの実施例において、サンプリングユニットは、
所定周波数に基づいて、履歴オーディオデータを取得し、前記履歴オーディオデータが少なくとも1フレームの履歴オーディオデータを含むことと、
前記少なくとも1フレームの履歴オーディオデータをサンプリングすることと、さらに用いられる。
Optionally, in some embodiments of the present application, the sampling unit comprises:
obtaining historical audio data based on a predetermined frequency, the historical audio data including at least one frame of historical audio data;
Sampling the at least one frame of historical audio data is further utilized.
選択的に、本願のいくつかの実施例において、取得モジュール203は、
前記オーディオデータから前記オーディオデータの希望再生時間を直接抽出することに用いられる。
Optionally, in some embodiments of the present application, the
It is used to directly extract the desired playback time of the audio data from the audio data.
選択的に、本願のいくつかの実施例において、取得モジュール203は、
前記オーディオデータのオーディオデータタイプを識別することと、
マッピング関係セットを取得し、前記マッピング関係セットが、所定オーディオデータタイプと所定基準オフセット時間とのマッピング関係を含むことと、
前記マッピング関係セットと前記オーディオデータタイプに基づいて、前記オーディオデータに対応する基準オフセット時間を取得することと、さらに用いられる。
Optionally, in some embodiments of the present application, the
identifying an audio data type of the audio data;
Obtaining a mapping relationship set, the mapping relationship set including a mapping relationship between a predetermined audio data type and a predetermined reference offset time;
Obtaining a reference offset time corresponding to the audio data based on the mapping relationship set and the audio data type is further used.
調整モジュール204には、前記少なくとも1フレームのオーディオデータの各フレームのオーディオデータに対して、前記基準オフセット時間に基づいて前記デコード開始参考時間を調整し、デコード開始調整時間を取得する。
The
ここで、デコード開始参考時間の調整は、基準オフセット時間に基づいて調整してもよく、実際オフセット時間に基づいて調整してもよく、または、基準オフセット時間の調整に基づいて、誤差オフセット時間の調整を行うことで、参考再生時間の調整の正確性を保証できる。 Here, the adjustment of the reference decoding start time may be based on a reference offset time, or may be based on an actual offset time, or the error offset time may be adjusted based on the adjustment of the reference offset time, thereby ensuring the accuracy of the adjustment of the reference playback time.
選択的に、本願のいくつかの実施例において、前記基準オフセット時間が実際オフセット時間を含み、前記調整モジュール204は、
前記オーディオデータの予約処理時間を取得する第二取得ユニットと、
前記予約処理時間と前記デコード実際処理時間に基づいて、前記オーディオデータの実際オフセット時間を特定する第三特定ユニットと、
前記実際オフセット時間に基づいて前記デコード開始参考時間を調整し、デコード開始調整時間を取得する第三取得ユニットと、を含む。
Optionally, in some embodiments of the present application, the reference offset time includes an actual offset time, and the adjustment module 204:
a second acquiring unit for acquiring a reservation processing time of the audio data;
a third determination unit for determining an actual offset time of the audio data based on the scheduled processing time and the actual decoding processing time;
and a third obtaining unit for adjusting the decoding start reference time based on the actual offset time to obtain a decoding start adjustment time.
選択的に、本願のいくつかの実施例において、前記第二取得ユニットは、
前記オーディオデータのデコード開始参考時間と、前記希望再生時間に基づいて、前記オーディオデータの予約処理時間を特定する第三特定サブユニットを含む。
Optionally, in some embodiments of the present application, the second acquisition unit is
The third specifying subunit specifies a reservation processing time for the audio data based on the reference time for starting decoding of the audio data and the desired playback time.
選択的に、本願のいくつかの実施例において、前記第二取得ユニットは、
前記オーディオデータの予約処理時間を取得することと、
前記予約処理時間と前記デコード実際処理時間に基づいて、前記オーディオデータの実際オフセット時間を特定することと、
前記基準オフセット時間と前記実際オフセット時間に基づいて、前記オーディオデータの誤差オフセット時間を特定することと、
前記基準オフセット時間と前記誤差オフセット時間に基づいて前記デコード開始参考時間を調整し、デコード開始調整時間を取得することと、さらに用いられる。
Optionally, in some embodiments of the present application, the second acquisition unit is
obtaining a reservation processing time for the audio data;
determining an actual offset time of the audio data based on the scheduled processing time and the actual decoding processing time;
determining an error offset time of the audio data based on the reference offset time and the actual offset time;
The decoding start reference time is adjusted based on the reference offset time and the error offset time to obtain a decoding start adjustment time.
特定モジュール205には、前記デコード開始調整時間と、前記デコード実際処理時間に基づいて、前記オーディオデータの参考再生時間を特定する。
The
選択的に、本願のいくつかの実施例において、特定モジュール205は、
前記オーディオデータに対するデコード処理のデコード開始時間とデコード終了時間を取得することと、
前記デコード開始調整時間と、前記デコード開始時間に基づいて、前記オーディオデータのベース参考再生時間を特定することと、
前記ベース参考再生時間と、前記デコード終了時間に基づいて、前記オーディオデータの参考再生時間を特定することと、に用いられる。
Optionally, in some embodiments of the present application, the
obtaining a decoding start time and a decoding end time of a decoding process for the audio data;
determining a base reference playback time of the audio data based on the decoding start adjustment time and the decoding start time;
and determining a reference playback time of the audio data based on the base reference playback time and the decoding end time.
タイミングモジュール206には、時間変化に基づいて参考再生時間を更新して、調整された参考再生時間を取得する。
The
再生モジュール207には、調整された参考再生時間が希望再生時間に達すると、端末装置に応じて前記オーディオデータが再生される。
When the adjusted reference playback time reaches the desired playback time, the
本実施例において、まず、デコードモジュール201が、端末装置によって取得されたオーディオデータに対してデコード処理を行い、同時に、記録モジュール202が、オーディオデータデコード処理前のデコード開始参考再生時間とデコードプロセスのデコード実際処理時間を記録し、次に、取得モジュール203が、オーディオデータの中から、各フレームオーディオデータの希望再生時間と各フレームオーディオデータに対応する基準オフセット時間とを抽出し、そして、調整モジュール204が、基準オフセット時間に基づいて、デコード開始参考再生時間を調整することで(小さくに調整する)、デコード開始調整時間が参考時計の時間に同期されない、そして、特定モジュール204が、デコード開始調整時間とデコード実際処理時間に基づいて、オーディオデータデコード処理後の参考再生時間(すなわち、参考再生時間が、デコード開始調整時間とデコード実際処理時間に基づいて特定し、参考時計の時間に同期されない)を特定し、同時に、タイミングモジュール206が、調整された参考再生時間を再タイミングし、再タイミングされた参考再生時間に対応する現在の時間がオーディオデータの希望再生時間に等しいとき、再生モジュール207が、対応するオーディオデータを再生する。本願の実施例は、オーディオデータの参考再生時間を小さくすることにより、参考再生時間を時間とともに変化させ、変化後に希望再生時間に達した後、オーディオデータを再生する、すなわち、オーディオデータの参考再生時間が希望再生時間を満たした後、オーディオデータを同期に再生することができる。このうち、参考再生時間はデコード開始参考時間を小さくすることによって小さくなるが、オーディオデータのデコード実際処理時間は影響や制限を受けない。したがって、オーディオデータに対応する参考再生時間を小さくすることは、オーディオデータのデコード処理に十分なデコード時間を提供し、かつ、デコード処理の時間が長すぎるためにオーディオデータの再生に音画非同期、ドロップフレーム、または再生遅れなどの現象が発生することを回避する。
In this embodiment, first, the
また、本願は電子装置を提供し、図6に示されるように、本願に関する電子装置の構造概略図を示し、具体的には以下のように説明する。
この電子装置は、1つまたは1つ以上の処理コアのプロセッサ401、1つまたは1つ以上のコンピュータ可読記憶媒体のメモリ402、電源403、および入力ユニット404などの構成要素を含んでもよい。当業者であれば、図6に示された電子装置構造は、電子装置の限定を構成するものではなく、図示よりも多くまたは少ない構成要素を含むか、または、いくつかの構成要素を組み合わせるか、または、異なる構成要素の配置を含むことができることが理解されたい。この中には、
プロセッサ401は、この電子装置の制御センターであり、様々なインターフェースおよび回線を利用して、全体電子装置の各部を接続し、メモリ402内に格納されたソフトウェアプログラムおよび/またはモジュールを実行または実行し、メモリ402内に格納されたデータを呼び出すことによって、電子装置の様々な機能および処理データを実行することで、電子装置全体を監視する。選択的に、プロセッサ401は、1つまたは複数の処理コアを含んでもよい。好ましくは、プロセッサ401は、オペレーティングシステム、ユーザインタフェース、およびアプリケーションプログラムなどを主に処理するアプリケーションプロセッサと、無線通信を主に処理する変復調プロセッサとを統合してもよい。なお、上述の変復調プロセッサは、プロセッサ401に統合されなくてもよい。
メモリ402は、ソフトウェアプログラムおよびモジュールを格納するために使用されてもよく、プロセッサ401は、メモリ402に格納されたソフトウェアプログラムとモジュールを実行することで、様々な機能アプリケーションおよびデコード処理を実行する。メモリ402は、主に、オペレーティングシステム、少なくとも1つの機能(例えば、音声再生機能、画像再生機能など)に必要なアプリケーションプログラムなどを記憶することができる記憶プログラム領域と、記憶データ領域とを含むことができる。格納データ領域は、電子装置の使用に応じて作成されたデータ等を格納してもよい。また、メモリ402は、高速ランダムアクセスメモリを含んでもよく、さらに、少なくとも1つの磁気ディスク記憶装置、フラッシュメモリ装置、または他の揮発性固体記憶装置のような不揮発性メモリを含んでもよい。相応的に、メモリ402は、プロセッサ401によるメモリ402へのアクセスを提供するメモリコントローラをさらに含んでもよい。
電子装置は、様々な構成要素に電力を供給する電源403を含み、好ましくは、電源403は、電力管理システムを介してプロセッサ401に論理的に接続され、それによって、電力管理システムを介して充電、放電、および電力消費の管理のような機能を実現することができる。電源403は、1つまたは1つ以上の直流電源または交流電源、再充電システム、電源障害検出回路、電源変換器またはインバータ、電源状態インジケータなどの任意の構成要素を含んでもよい。
The present application also provides an electronic device, and as shown in FIG. 6, a structural schematic diagram of the electronic device according to the present application is provided, which is specifically described as follows:
The electronic device may include components such as a
The
The
The electronic device includes a
この電子装置は、入力ユニット404を含んでもよく、この入力ユニット404が、入力された数字または文字情報を受信し、ユーザー設定および機能制御に関連するキーボード、マウス、操作レバー、光学式またはトラックボールの信号入力を生成するために使用される。
The electronic device may also include an
図示していないが、電子装置には表示部なども含まれていてもよいので、ここでは説明しない。具体的に本実施例において、電子装置のプロセッサ401は、以下の命令に従って、1つまたは1つ以上のアプリケーションプログラムのプロセスに対応する実行可能ファイルをメモリ402にロードし、メモリ402に格納されたアプリケーションプログラムをプロセッサ401が実行することにより、以下のように様々な機能を実現する。
Although not shown, the electronic device may also include a display unit and the like, which will not be described here. Specifically, in this embodiment, the
端末装置で再生されるオーディオデータセットをデコード処理し、前記オーディオデータセットが少なくとも1フレームのオーディオデータを含む。前記少なくとも1フレームのオーディオデータの各フレームのオーディオデータに対するデコード処理のデコード開始参考時間と、デコード実際処理時間とを記録する。前記オーディオデータに対応する基準オフセット時間と希望再生時間とを取得する。前記少なくとも1フレームのオーディオデータの各フレームのオーディオデータに対して、前記基準オフセット時間に基づいて前記デコード開始参考時間を調整し、デコード開始調整時間を取得する。前記デコード開始調整時間と前記デコード実際処理時間とに基づいて前記オーディオデータの参考再生時間を特定し、前記参考再生時間が前記希望再生時間の以下である。時間変化に基づいて前記参考再生時間を更新して、調整された参考再生時間を取得する。調整された参考再生時間が希望再生時間に達すると、端末装置に応じてオーディオデータが再生される。 Decode an audio data set to be played on a terminal device, the audio data set including at least one frame of audio data; record a reference decode start time and an actual decode processing time of a decoding process for each frame of audio data of the at least one frame of audio data; obtain a reference offset time and a desired playback time corresponding to the audio data; adjust the reference decode start time for each frame of audio data of the at least one frame of audio data based on the reference offset time to obtain an adjusted decode start time; determine a reference playback time of the audio data based on the adjusted decode start time and the actual decode processing time, the reference playback time being less than or equal to the desired playback time; update the reference playback time based on a time change to obtain an adjusted reference playback time ; and play back the audio data according to the terminal device when the adjusted reference playback time reaches the desired playback time.
以上の各動作の具体的な実施案は、前述の実施例を参照し、ここでは重複するものが説明しない。
オーディオデータの参考再生時間を小さくすることにより、参考再生時間を時間とともに変化させ、変化後に希望再生時間に達した後、オーディオデータを再生する、すなわち、オーディオデータの参考再生時間が希望再生時間を満たした後、オーディオデータを同期に再生することができる。このうち、参考再生時間はデコード開始参考時間を小さくすることによって小さくなるが、オーディオデータのデコード実際処理時間は影響や制限を受けない。したがって、オーディオデータに対応する参考再生時間を小さくすることは、オーディオデータのデコード処理に十分なデコード時間を提供し、かつ、デコード処理の時間が長すぎるためにオーディオデータの再生に音画非同期、ドロップフレーム、または再生遅れなどの現象が発生することを回避する。
For specific implementations of the above operations, please refer to the above embodiments, and duplicated descriptions will not be given here.
By reducing the reference playback time of the audio data, the reference playback time is changed with time, and after the change, the audio data is played back when the desired playback time is reached, i.e., after the reference playback time of the audio data meets the desired playback time, the audio data can be played back synchronously. Among these, the reference playback time is reduced by reducing the reference decoding start time, but the actual decoding processing time of the audio data is not affected or limited. Therefore, reducing the reference playback time corresponding to the audio data provides a sufficient decoding time for the decoding processing of the audio data, and prevents phenomena such as audio-picture asynchronous, dropped frames, or playback delays from occurring in the playback of the audio data due to the decoding processing time being too long.
当業者であれば、上述した実施例の様々な方法におけるステップの全部または一部は、コンピュータ可読記憶媒体に記憶され、プロセッサによってロードおよび実行される命令によって、または関連するハードウェアを制御する命令によって実行されることができることを理解されたい。 Those skilled in the art will appreciate that all or part of the steps in the various methods of the above-described embodiments may be performed by instructions stored in a computer-readable storage medium and loaded and executed by a processor, or by instructions that control associated hardware.
そのため、本願は、本明細書に記載されたオーディオ再生方法のいずれかにおけるステップを実行するためにプロセッサによってロードされることができる複数の命令を格納した記憶媒体を提供する。たとえば、この命令は次のようなステップを実行できる。 The present application therefore provides a storage medium having stored thereon a number of instructions that can be loaded by a processor to perform steps in any of the audio playback methods described herein. For example, the instructions can perform steps such as:
端末装置で再生されるオーディオデータセットをデコード処理し、前記オーディオデータセットが少なくとも1フレームのオーディオデータを含む。前記少なくとも1フレームのオーディオデータの各フレームのオーディオデータに対するデコード処理のデコード開始参考時間と、デコード実際処理時間とを記録する。前記オーディオデータに対応する基準オフセット時間と希望再生時間とを取得する。前記少なくとも1フレームのオーディオデータの各フレームのオーディオデータに対して、前記基準オフセット時間に基づいて前記デコード開始参考時間を調整し、デコード開始調整時間を取得する。前記デコード開始調整時間と前記デコード実際処理時間とに基づいて前記オーディオデータの参考再生時間を特定し、前記参考再生時間が前記希望再生時間の以下である。時間変化に基づいて前記参考再生時間を更新して、調整された参考再生時間を取得する。調整された参考再生時間が希望再生時間に達すると、端末装置に応じてオーディオデータが再生される。
以上の各動作の具体的な実施案は、前述の実施例を参照し、ここでは重複するものが説明しない。
Decode an audio data set to be played on a terminal device, the audio data set including at least one frame of audio data; record a reference decode start time and an actual decode processing time of a decoding process for each frame of audio data of the at least one frame of audio data; obtain a reference offset time and a desired playback time corresponding to the audio data; adjust the reference decode start time for each frame of audio data of the at least one frame of audio data based on the reference offset time to obtain an adjusted decode start time; determine a reference playback time of the audio data based on the adjusted decode start time and the actual decode processing time, the reference playback time being less than or equal to the desired playback time; update the reference playback time based on a time change to obtain an adjusted reference playback time ; and play back the audio data according to the terminal device when the adjusted reference playback time reaches the desired playback time.
For specific implementations of the above operations, please refer to the above embodiments, and duplicated descriptions will not be given here.
ここで、記憶媒体は、読み出し専用メモリ(ROM、Read Only Memory)、ランダムアクセスメモリ(RAM、Random Access Memory)、磁気ディスク、または光ディスクなどを含んでもよい。 Here, the storage medium may include a read only memory (ROM), a random access memory (RAM), a magnetic disk, an optical disk, or the like.
この記憶媒体に記憶された命令は、本明細書で提供されたいずれかのオーディオ再生方法におけるステップを実行することができるので、本明細書で提供されたいずれかのオーディオ再生方法によって達成され得る有益な効果を達成することができ、詳細には前述の実施例を参照してここでは説明しない。
本明細書で提供されるオーディオ再生方法、装置、電子装置、および記憶媒体については以上のように詳細に説明し、本明細書では具体的な例を用いて本発明の原理および実施例について説明したが、上記実施例の説明は、本発明の方法およびその中核的な考え方の理解を助けるためにのみ使用されるものである、同時に、当業者にとっては、本発明の考え方に基づいて、具体的な実施例及び適用範囲に変更点があることから、本明細書の内容は本発明の制限と理解すべきではない。
以上に述べたのは本出願の好ましい実施例のみであり、これによって本出願の特許範囲を制限するものではなく、本出願の説明書及び添付図面の内容を利用して行う等価な構造若しくはフローの変換、又は直接若しくは間接的にその他の関連する技術分野での運用は、いずれも本出願の特許保護範囲に含まれるのと同じである。
The instructions stored on the storage medium can perform steps in any of the audio playback methods provided in this specification, and can therefore achieve beneficial effects that can be achieved by any of the audio playback methods provided in this specification, which will not be described in detail herein with reference to the aforementioned embodiments.
The audio playback method, device, electronic device, and storage medium provided in this specification have been described in detail above, and the specification has used specific examples to explain the principles and embodiments of the present invention. However, the description of the above embodiments is only used to help understand the method of the present invention and its core concept. At the same time, for those skilled in the art, there are changes in the specific embodiments and application scope based on the concept of the present invention, so the contents of this specification should not be understood as limitations of the present invention.
The above is only a preferred embodiment of the present application, which does not limit the patent scope of the present application. Any equivalent structural or flow conversion made by utilizing the contents of the description and accompanying drawings of the present application, or operation directly or indirectly in other related technical fields, is also within the patent protection scope of the present application.
Claims (20)
端末装置で再生されるオーディオデータセットをデコード処理し、前記オーディオデータセットが少なくとも1フレームのオーディオデータを含むことと、
前記少なくとも1フレームのオーディオデータの各フレームのオーディオデータに対するデコード処理のデコード開始参考時間と、デコード実際処理時間とを記録することと、
前記オーディオデータに対応する基準オフセット時間と希望再生時間とを取得することと、
前記少なくとも1フレームのオーディオデータの各フレームのオーディオデータに対して、前記基準オフセット時間に基づいて前記デコード開始参考時間を調整し、デコード開始調整時間を取得することと、
前記デコード開始調整時間と前記デコード実際処理時間とに基づいて前記オーディオデータの参考再生時間を特定し、前記参考再生時間が前記希望再生時間の以下であることと、
時間変化に基づいて前記参考再生時間を更新して、調整された参考再生時間を取得することと、
調整された参考再生時間が希望再生時間に達すると、前記端末装置に応じて前記オーディオデータが再生されることと、を含む、
ことを特徴とするオーディオ再生方法。 1. A method for audio reproduction, comprising:
decoding an audio data set to be played on a terminal device, the audio data set including at least one frame of audio data;
recording a reference time for starting decoding and an actual decoding process time for each frame of the audio data of the at least one frame of audio data;
obtaining a reference offset time and a desired playback time corresponding to the audio data;
adjusting the decode start reference time for each frame of the audio data of the at least one frame based on the reference offset time to obtain an adjusted decode start time;
determining a reference playback time of the audio data based on the decoding start adjustment time and the decoding actual processing time, and determining whether the reference playback time is equal to or shorter than the desired playback time;
updating the reference play time based on a time change to obtain an adjusted reference play time ;
When the adjusted reference playback time reaches a desired playback time, the audio data is played back according to the terminal device.
13. An audio playback method comprising:
少なくとも1フレームの履歴オーディオデータをサンプリングし、前記履歴オーディオデータが前記現在オーディオデータと同じデータタイプであることと、
前記少なくとも1フレームの履歴オーディオデータの各フレームの履歴オーディオデータに対するデコード処理後の履歴参考再生時間と履歴希望再生時間とをそれぞれ取得することと、
前記履歴参考再生時間と前記履歴希望再生時間に基づいて、前記少なくとも1フレームの履歴オーディオデータの各フレームの履歴オーディオデータのオフセット時間をそれぞれ特定することと、
少なくとも1つの前記オフセット時間に基づいて、前記現在オーディオデータの基準オフセット時間を特定することと、を含む、
ことを特徴とする請求項1に記載のオーディオ再生方法。 The audio data includes current audio data, and obtaining a reference offset time corresponding to the audio data includes:
sampling at least one frame of historical audio data, said historical audio data being of the same data type as said current audio data;
obtaining a historical reference playback time and a historical desired playback time after decoding processing for each frame of the historical audio data of the at least one frame of the historical audio data;
determining an offset time of each frame of the at least one frame of the historical audio data based on the historical reference playback time and the historical desired playback time;
determining a reference offset time of the current audio data based on at least one of the offset times;
2. The audio reproducing method according to claim 1.
少なくとも1つの前記オフセット時間の平均値を特定し、平均オフセット時間を取得することと、
前記平均オフセット時間に基づいて、前記現在オーディオデータの基準オフセット時間を特定することと、を含む、
ことを特徴とする請求項2に記載のオーディオ再生方法。 determining a reference offset time of the current audio data based on at least one of the offset times,
determining an average value of at least one of the offset times to obtain an average offset time;
determining a reference offset time of the current audio data based on the average offset time.
3. The audio reproducing method according to claim 2.
少なくとも1つの前記オフセット時間の平均値を特定し、平均オフセット時間を取得することと、
前記平均オフセット時間の整数を取って、前記履歴オーディオデータに対応する平均整数オフセット時間を取得することと、
前記平均整数オフセット時間を前記現在オーディオデータの基準オフセット時間に特定することと、を含む、
ことを特徴とする請求項2に記載のオーディオ再生方法。 determining a reference offset time of the current audio data based on at least one of the offset times,
determining an average value of at least one of the offset times to obtain an average offset time;
taking an integer number of the average offset times to obtain an average integer offset time corresponding to the historical audio data;
determining the average integer offset time to a reference offset time of the current audio data;
3. The audio reproducing method according to claim 2.
少なくとも1つの前記オフセット時間の整数を取って、少なくとも1つの整数オフセット時間を取得することと、
少なくとも1つの前記整数オフセット時間に基づいて、前記少なくとも1フレームのオーディオデータの各フレームのオーディオデータの整数平均オフセット時間を特定することと、
前記整数平均オフセット時間を前記現在オーディオデータの基準オフセット時間に特定することと、を含む、
ことを特徴とする請求項2に記載のオーディオ再生方法。 determining a reference offset time of the current audio data based on at least one of the offset times,
taking an integer number of at least one of the offset times to obtain at least one integer offset time;
determining an average integer offset time of each frame of audio data of the at least one frame of audio data based on at least one of the integer offset times;
determining the integer average offset time as a reference offset time of the current audio data;
3. The audio reproducing method according to claim 2.
所定周波数に基づいて、履歴オーディオデータを取得し、前記履歴オーディオデータが少なくとも1フレームの履歴オーディオデータであることと、
前記少なくとも1フレームの履歴オーディオデータをサンプリングすることと、を含む、
ことを特徴とする請求項2に記載のオーディオ再生方法。 Sampling at least one frame of historical audio data
obtaining historical audio data based on a predetermined frequency, the historical audio data being historical audio data of at least one frame;
and sampling the at least one frame of historical audio data.
3. The audio reproducing method according to claim 2.
前記オーディオデータの予約処理時間を取得することと、
前記予約処理時間と前記デコード実際処理時間に基づいて、前記オーディオデータの実際オフセット時間を特定することと、
前記実際オフセット時間に基づいて前記デコード開始参考時間を調整し、デコード開始調整時間を取得することと、を含む、
ことを特徴とする請求項1に記載のオーディオ再生方法。 The reference offset time includes an actual offset time, and the decoding start reference time is adjusted based on the reference offset time to obtain a decoding start adjustment time.
obtaining a reservation processing time for the audio data;
determining an actual offset time of the audio data based on the scheduled processing time and the actual decoding processing time;
adjusting the decoding start reference time based on the actual offset time to obtain a decoding start adjustment time.
2. The audio reproducing method according to claim 1.
前記オーディオデータのデコード開始参考時間と、前記希望再生時間に基づいて、前記オーディオデータの予約処理時間を特定することを含む、
ことを特徴とする請求項7に記載のオーディオ再生方法。 The acquiring of the reservation processing time of the audio data includes:
specifying a reservation processing time for the audio data based on a reference time for starting decoding of the audio data and the desired playback time;
8. The audio reproducing method according to claim 7.
前記オーディオデータの予約処理時間を取得することと、
前記予約処理時間と前記デコード実際処理時間に基づいて、前記オーディオデータの実際オフセット時間を特定することと、
前記基準オフセット時間と前記実際オフセット時間に基づいて、前記オーディオデータの誤差オフセット時間を特定することと、
前記基準オフセット時間と前記誤差オフセット時間に基づいて前記デコード開始参考時間を調整し、デコード開始調整時間を取得することと、を含む、
ことを特徴とする請求項1に記載のオーディオ再生方法。 Adjusting the decoding start reference time based on the reference offset time to obtain a decoding start adjustment time,
obtaining a reservation processing time for the audio data;
determining an actual offset time of the audio data based on the scheduled processing time and the actual decoding processing time;
determining an error offset time of the audio data based on the reference offset time and the actual offset time;
adjusting the decoding start reference time based on the reference offset time and the error offset time to obtain a decoding start adjustment time.
2. The audio reproducing method according to claim 1.
水晶振動に基づいてタイミングフィードバックを行い、前記オーディオデータのデコード開始時間とデコード終了時間をそれぞれ取得することと、
前記デコード開始時間と、前記デコード終了時間に基づいて、前記オーディオデータのデコード実際処理時間を特定することを含む、
ことを特徴とする請求項1に記載のオーディオ再生方法。 Recording an actual decoding time of the decoding process for each frame of the audio data of the at least one frame of the audio data
performing timing feedback based on a crystal oscillation to obtain a decoding start time and a decoding end time of the audio data;
determining an actual processing time for decoding the audio data based on the decoding start time and the decoding end time;
2. The audio reproducing method according to claim 1.
前記オーディオデータに対するデコード処理のデコード開始時間とデコード終了時間を取得することと、
前記デコード開始調整時間と、前記デコード開始時間に基づいて、前記オーディオデータのベース参考再生時間を特定することと、
前記ベース参考再生時間と、前記デコード終了時間に基づいて、前記オーディオデータの参考再生時間を特定することと、を含む、
ことを特徴とする請求項1に記載のオーディオ再生方法。 determining a reference playback time of the audio data based on the decoding start adjustment time and the decoding actual processing time,
obtaining a decoding start time and a decoding end time of a decoding process for the audio data;
determining a base reference playback time of the audio data based on the decoding start adjustment time and the decoding start time;
determining a reference playback time of the audio data based on the base reference playback time and the decoding end time,
2. The audio reproducing method according to claim 1.
前記オーディオデータから前記オーディオデータの希望再生時間を直接抽出することを含む、
ことを特徴とする請求項1に記載のオーディオ再生方法。 Obtaining a desired playback time corresponding to the audio data includes:
extracting a desired playback duration of said audio data directly from said audio data;
2. The audio reproducing method according to claim 1.
前記オーディオデータのオーディオデータタイプを識別することと、
マッピング関係セットを取得し、前記マッピング関係セットが、所定オーディオデータタイプと所定基準オフセット時間とのマッピング関係を含むことと、
前記マッピング関係セットと前記オーディオデータタイプに基づいて、前記オーディオデータに対応する基準オフセット時間を取得することと、を含む、
ことを特徴とする請求項1に記載のオーディオ再生方法。 Obtaining a reference offset time corresponding to the audio data includes:
identifying an audio data type of the audio data;
Obtaining a mapping relationship set, the mapping relationship set including a mapping relationship between a predetermined audio data type and a predetermined reference offset time;
and obtaining a reference offset time corresponding to the audio data based on the mapping relationship set and the audio data type.
2. The audio reproducing method according to claim 1.
端末装置で再生されるオーディオデータセットをデコード処理し、前記オーディオデータセットが少なくとも1フレームのオーディオデータを含むデコードモジュールと、
前記少なくとも1フレームのオーディオデータの各フレームのオーディオデータに対するデコード処理のデコード開始参考時間と、デコード実際処理時間とを記録する記録モジュールと、
前記オーディオデータに対応する基準オフセット時間と希望再生時間とを取得する取得モジュールと、
前記少なくとも1フレームのオーディオデータの各フレームのオーディオデータに対して、前記基準オフセット時間に基づいて前記デコード開始参考時間を調整し、デコード開始調整時間を取得する調整モジュールと、
前記デコード開始調整時間と、前記デコード実際処理時間に基づいて、前記オーディオデータの参考再生時間を特定する特定モジュールと、
時間変化に基づいて前記参考再生時間を更新して、調整された参考再生時間を取得するタイミングモジュールと、
調整された参考再生時間が希望再生時間に達すると、端末装置に応じて前記オーディオデータを再生する再生モジュールと、を含む、
ことを特徴とするオーディオ再生装置。 1. An audio playback device, comprising:
a decoding module for decoding an audio data set to be played on a terminal device, said audio data set including at least one frame of audio data;
a recording module for recording a reference time for starting a decoding process and an actual decoding process time of each frame of the audio data of the at least one frame of the audio data;
an acquisition module for acquiring a reference offset time and a desired playback time corresponding to the audio data;
an adjustment module for adjusting the decoding start reference time for each frame of the audio data of the at least one frame based on the reference offset time to obtain a decoding start adjustment time;
a determining module for determining a reference playback time of the audio data based on the decoding start adjustment time and the decoding actual processing time;
a timing module for updating the reference play time according to a time change to obtain an adjusted reference play time ;
a playback module for playing the audio data according to a terminal device when the adjusted reference playback time reaches a desired playback time;
1. An audio playback device comprising:
少なくとも1フレームの履歴オーディオデータをサンプリングし、前記履歴オーディオデータが前記現在オーディオデータと同じデータタイプであるサンプリングユニットと、
前記少なくとも1フレームの履歴オーディオデータの各フレームの履歴オーディオデータに対するデコード処理後の履歴参考再生時間と履歴希望再生時間とをそれぞれ取得する第一取得ユニットと、
前記履歴参考再生時間と前記希望再生時間に基づいて、前記少なくとも1フレームの履歴オーディオデータの各フレームの履歴オーディオデータのオフセット時間をそれぞれ特定する第一特定ユニットと、
少なくとも1つの前記オフセット時間に基づいて、前記現在オーディオデータの基準オフセット時間を特定する第二特定ユニットと、を含む、
ことを特徴とする請求項14に記載のオーディオ再生装置。 The audio data includes current audio data, and the acquisition module is further configured to:
a sampling unit for sampling at least one frame of historical audio data, said historical audio data being of the same data type as said current audio data;
a first acquiring unit for acquiring a historical reference playback time and a historical desired playback time after decoding processing for each frame of the historical audio data of the at least one frame ;
a first determination unit for respectively determining an offset time of each frame of the historical audio data of the at least one frame according to the historical reference playback time and the desired playback time;
a second determining unit for determining a reference offset time of the current audio data based on at least one of the offset times;
15. An audio reproducing device according to claim 14.
少なくとも1つの前記オフセット時間の平均値を特定し、平均オフセット時間を取得する第一特定サブユニットと、
前記平均オフセット時間に基づいて、前記現在オーディオデータの基準オフセット時間を特定する第二特定サブユニットと、を含む、
ことを特徴とする請求項15に記載のオーディオ再生装置。 The second identification unit is
a first specifying subunit for specifying an average value of at least one of the offset times to obtain an average offset time;
a second specifying subunit for specifying a reference offset time of the current audio data based on the average offset time;
16. An audio reproducing device according to claim 15.
前記オーディオデータの予約処理時間を取得する第二取得ユニットと、
前記予約処理時間と前記デコード実際処理時間に基づいて、前記オーディオデータの実際オフセット時間を特定する第三特定ユニットと、
前記実際オフセット時間に基づいて前記デコード開始参考時間を調整し、デコード開始調整時間を取得する第三取得ユニットと、を含む、
ことを特徴とする請求項14に記載のオーディオ再生装置。 the reference offset time includes an actual offset time, and the adjustment module
a second acquiring unit for acquiring a reservation processing time of the audio data;
a third determination unit for determining an actual offset time of the audio data based on the scheduled processing time and the actual decoding processing time;
a third obtaining unit for adjusting the decoding start reference time according to the actual offset time to obtain a decoding start adjustment time;
15. An audio reproducing device according to claim 14.
前記オーディオデータのデコード開始参考時間と、前記希望再生時間に基づいて、前記オーディオデータの予約処理時間を特定する第三特定サブユニットを含む、
ことを特徴とする請求項17に記載のオーディオ再生装置。 The second acquisition unit is
a third specifying subunit for specifying a reservation processing time of the audio data based on a reference time for starting decoding of the audio data and the desired playback time;
20. An audio reproducing device according to claim 17.
端末装置で再生されるオーディオデータセットをデコード処理し、前記オーディオデータセットが少なくとも1フレームのオーディオデータを含むことと、
前記少なくとも1フレームのオーディオデータの各フレームのオーディオデータに対するデコード処理のデコード開始参考時間と、デコード実際処理時間とを記録することと、
前記オーディオデータに対応する基準オフセット時間と希望再生時間とを取得することと、
前記少なくとも1フレームのオーディオデータの各フレームのオーディオデータに対して、前記基準オフセット時間に基づいて前記デコード開始参考時間を調整し、デコード開始調整時間を取得することと、
前記デコード開始調整時間と、前記デコード実際処理時間に基づいて、前記オーディオデータの参考再生時間を特定することと、
時間変化に基づいて参考再生時間を更新して、調整された参考再生時間を取得することと、
調整された参考再生時間が希望再生時間に達すると、前記端末装置に応じて前記オーディオデータが再生されることと、を実現する、
ことを特徴とする電子装置。 An electronic device including a memory, a processor, and a computer program stored on the memory and executable by the processor, the program, when executed by the processor,
decoding an audio data set to be played on a terminal device, the audio data set including at least one frame of audio data;
recording a reference time for starting decoding and an actual decoding process time for each frame of the audio data of the at least one frame of audio data;
obtaining a reference offset time and a desired playback time corresponding to the audio data;
adjusting the decode start reference time for each frame of the audio data of the at least one frame based on the reference offset time to obtain an adjusted decode start time;
determining a reference playback time of the audio data based on the decoding start adjustment time and the decoding actual processing time;
updating the reference playing time based on the time change to obtain an adjusted reference playing time ;
When the adjusted reference playback time reaches a desired playback time, the audio data is played back according to the terminal device.
1. An electronic device comprising:
端末装置で再生されるオーディオデータセットをデコード処理し、前記オーディオデータセットが少なくとも1フレームのオーディオデータを含むことと、
前記少なくとも1フレームのオーディオデータの各フレームのオーディオデータに対するデコード処理のデコード開始参考時間と、デコード実際処理時間とを記録することと、
前記オーディオデータに対応する基準オフセット時間と希望再生時間とを取得することと、
前記少なくとも1フレームのオーディオデータの各フレームのオーディオデータに対して、前記基準オフセット時間に基づいて前記デコード開始参考時間を調整し、デコード開始調整時間を取得することと、
前記デコード開始調整時間と、前記デコード実際処理時間に基づいて、前記オーディオデータの参考再生時間を特定することと、
時間変化に基づいて前記参考再生時間を更新して、調整された参考再生時間を取得することと、
調整された参考再生時間が希望再生時間に達すると、前記端末装置に応じて前記オーディオデータが再生されることと、を実現する、
ことを特徴とするコンピュータ可読記憶媒体。 A computer-readable storage medium having a computer program stored thereon, the computer program being capable of, when executed by a processor,
decoding an audio data set to be played on a terminal device, the audio data set including at least one frame of audio data;
recording a reference time for starting decoding and an actual decoding process time for each frame of the audio data of the at least one frame of audio data;
obtaining a reference offset time and a desired playback time corresponding to the audio data;
adjusting the decode start reference time for each frame of the audio data of the at least one frame based on the reference offset time to obtain an adjusted decode start time;
determining a reference playback time of the audio data based on the decoding start adjustment time and the decoding actual processing time;
updating the reference play time based on a time change to obtain an adjusted reference play time ;
When the adjusted reference playback time reaches a desired playback time, the audio data is played back according to the terminal device.
A computer-readable storage medium comprising:
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2021/111435 WO2023015404A1 (en) | 2021-08-09 | 2021-08-09 | Method for playing audio, apparatus, electronic device, and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2024529083A JP2024529083A (en) | 2024-08-01 |
| JP7659721B2 true JP7659721B2 (en) | 2025-04-10 |
Family
ID=85199741
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2024507963A Active JP7659721B2 (en) | 2021-08-09 | 2021-08-09 | Audio reproduction method, apparatus, electronic device and storage medium |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP7659721B2 (en) |
| WO (1) | WO2023015404A1 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070081563A1 (en) | 2005-10-11 | 2007-04-12 | Samsung Electronics Co., Ltd. | Synchronization device and synchronization method in digital broadcast receiver |
| US20210065749A1 (en) | 2019-09-04 | 2021-03-04 | Sagemcom Broadband Sas | Method of decoding an incoming audio/video stream |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3197766B2 (en) * | 1994-02-17 | 2001-08-13 | 三洋電機株式会社 | MPEG audio decoder, MPEG video decoder and MPEG system decoder |
| JP3422686B2 (en) * | 1998-06-12 | 2003-06-30 | 三菱電機株式会社 | Data decoding device and data decoding method |
| US9955205B2 (en) * | 2005-06-10 | 2018-04-24 | Hewlett-Packard Development Company, L.P. | Method and system for improving interactive media response systems using visual cues |
-
2021
- 2021-08-09 JP JP2024507963A patent/JP7659721B2/en active Active
- 2021-08-09 WO PCT/CN2021/111435 patent/WO2023015404A1/en not_active Ceased
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070081563A1 (en) | 2005-10-11 | 2007-04-12 | Samsung Electronics Co., Ltd. | Synchronization device and synchronization method in digital broadcast receiver |
| US20210065749A1 (en) | 2019-09-04 | 2021-03-04 | Sagemcom Broadband Sas | Method of decoding an incoming audio/video stream |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2024529083A (en) | 2024-08-01 |
| WO2023015404A1 (en) | 2023-02-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12395312B2 (en) | Method and apparatus for time synchronisation in wireless networks | |
| CN107277594B (en) | Method and device for synchronizing video and audio with bullet screen | |
| JP2019526844A (en) | System and method for controlling an isochronous data stream | |
| US8578201B2 (en) | Conversion of timestamps between multiple entities within a computing system | |
| CN105898500A (en) | Network video play method and device | |
| CN108495239A (en) | Method, apparatus, equipment and the storage medium that more equipment room audio precise synchronizations play | |
| CN115987477B (en) | Multi-reference source time synchronization method, system, module and medium | |
| CN106717079B (en) | Clock synchronization using WIFI beacons | |
| CN108156500B (en) | Multimedia data time correction method, computer device and computer readable storage medium | |
| CN114500476A (en) | Multimedia playing method and device and computer readable storage medium | |
| CN115529481A (en) | Video synchronous display system, method and input device based on fusion signal source | |
| JP7659721B2 (en) | Audio reproduction method, apparatus, electronic device and storage medium | |
| CN107710754B (en) | Audio and video data synchronization method and device | |
| CN115484483B (en) | Streaming media audio and video synchronization method, terminal equipment, control device and medium | |
| CN106533598A (en) | Synchronizing Device | |
| CN108632557B (en) | A method and terminal for audio and video synchronization | |
| CN116017011B (en) | Subtitle synchronization method, playing device and readable storage medium for audio and video | |
| CN115801636A (en) | Delay calculation method, device and computer-readable storage medium | |
| WO2023273601A1 (en) | Audio synchronization method, audio playback device, audio source, and storage medium | |
| CN120614072A (en) | High-precision calibration method, device, medium and equipment for multi-device time code synchronization | |
| CN117201854A (en) | Method and system for accurate seek video frames applied to video synchronous playing system | |
| CN118784138A (en) | Time synchronization method, device and system | |
| CN115550712A (en) | Video playing method of terminal, terminal and intelligent playing system | |
| JP2003199027A (en) | Time stamp marker and encoder |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240207 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240207 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20250127 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20250204 |
|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20250303 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250303 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7659721 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |