[go: up one dir, main page]

CN104244084B - A kind of method, system and the mobile terminal that control audio file to play - Google Patents

A kind of method, system and the mobile terminal that control audio file to play Download PDF

Info

Publication number
CN104244084B
CN104244084B CN201410459329.4A CN201410459329A CN104244084B CN 104244084 B CN104244084 B CN 104244084B CN 201410459329 A CN201410459329 A CN 201410459329A CN 104244084 B CN104244084 B CN 104244084B
Authority
CN
China
Prior art keywords
cue
files
file
mobile terminal
blue light
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410459329.4A
Other languages
Chinese (zh)
Other versions
CN104244084A (en
Inventor
黄德志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410459329.4A priority Critical patent/CN104244084B/en
Publication of CN104244084A publication Critical patent/CN104244084A/en
Application granted granted Critical
Publication of CN104244084B publication Critical patent/CN104244084B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

本发明适用于信息技术领域,尤其涉及一种控制音频文件播放的方法、系统及移动终端,所述方法包括:移动终端在接收到用户对CUE文件的点击信息且所述CUE文件已解析时,显示所述CUE文件对应的CUE曲目列表,并在接收到所述用户对所述CUE曲目列表中的某一CUE音频文件的播放请求信息时,将所述CUE音频文件的文件路径发送至所述蓝光播放机;所述蓝光播放机根据所述CUE音频文件的文件路径获取所述CUE音频文件并播放。本发明通过移动终端保存CUE曲目列表,使已解析的CUE文件无需重复解析,并由移动终端控制蓝光播放机播放CUE音频文件,大大提高了蓝光播放机播放CUE音频文件的效率。

The present invention is applicable to the field of information technology, and in particular relates to a method, system and mobile terminal for controlling the playback of audio files. The method includes: when the mobile terminal receives the user's click information on the CUE file and the CUE file has been parsed, Display the CUE track list corresponding to the CUE file, and send the file path of the CUE audio file to the Blu-ray player; the Blu-ray player acquires and plays the CUE audio file according to the file path of the CUE audio file. The invention saves the CUE track list through the mobile terminal, so that the analyzed CUE file does not need to be repeatedly analyzed, and the mobile terminal controls the Blu-ray player to play the CUE audio file, which greatly improves the efficiency of the Blu-ray player to play the CUE audio file.

Description

一种控制音频文件播放的方法、系统及移动终端A method, system and mobile terminal for controlling playback of audio files

技术领域technical field

本发明属于信息技术领域,尤其涉及一种控制音频文件播放的方法、系统及移动终端。The invention belongs to the field of information technology, and in particular relates to a method, system and mobile terminal for controlling audio file playback.

背景技术Background technique

现有技术中,蓝光播放机在每次播放CUE(CUE sheet,光盘映像辅助)音频文件时,都需要先解析CUE文件才能进行CUE音频文件的播放。例如,当用户请求播放第一CUE文件对应的音频文件时,蓝光播放机解析第一CUE文件以播放第一CUE文件对应的音频文件;当用户请求播放第二CUE文件对应的音频文件时,蓝光播放机解析第二CUE文件以播放第二CUE文件对应的音频文件;此时,若用户再次请求播放第一CUE文件对应的音频文件,则蓝光播放机需要再次解析第一CUE文件以播放第一CUE文件对应的音频文件。也就是说,当用户请求播放不同CUE文件对应的音频文件时,蓝光播放机需要来回选择和解析CUE文件才能播放CUE音频文件。综上,现有技术中蓝光播放机播放CUE音频文件的效率较低。In the prior art, every time a Blu-ray player plays a CUE (CUE sheet, disc image auxiliary) audio file, it needs to parse the CUE file before playing the CUE audio file. For example, when the user requests to play the audio file corresponding to the first CUE file, the Blu-ray player parses the first CUE file to play the audio file corresponding to the first CUE file; when the user requests to play the audio file corresponding to the second CUE file, the Blu-ray player The player parses the second CUE file to play the audio file corresponding to the second CUE file; at this time, if the user requests to play the audio file corresponding to the first CUE file again, the Blu-ray player needs to parse the first CUE file again to play the first CUE file. The audio file corresponding to the CUE file. That is to say, when the user requests to play audio files corresponding to different CUE files, the Blu-ray player needs to select and parse the CUE files back and forth to play the CUE audio files. To sum up, the efficiency of playing CUE audio files by Blu-ray players in the prior art is relatively low.

发明内容Contents of the invention

本发明实施例的目的在于提供一种控制音频文件播放的方法,以解决现有的蓝光播放机播放CUE音频文件的效率低的问题。The purpose of the embodiments of the present invention is to provide a method for controlling the playback of an audio file, so as to solve the problem of low efficiency of playing CUE audio files in existing Blu-ray players.

本发明实施例是这样实现的,一种控制音频文件播放的方法,包括:The embodiment of the present invention is achieved in this way, a method for controlling audio file playback, comprising:

移动终端在接收到用户对光盘映像辅助CUE文件的点击信息时,检测所述CUE文件是否已被解析,若是,显示所述CUE文件对应的CUE曲目列表,并在接收到所述用户对所述CUE曲目列表中的某一CUE音频文件的播放请求信息时,将所述CUE音频文件的文件路径发送至所述蓝光播放机;When the mobile terminal receives the user's click information on the CD image auxiliary CUE file, it detects whether the CUE file has been parsed, if so, displays the CUE track list corresponding to the CUE file, and receives the user's click on the CUE file. When playing request information of a certain CUE audio file in the CUE track list, the file path of the CUE audio file is sent to the Blu-ray player;

所述蓝光播放机根据所述CUE音频文件的文件路径,获取所述CUE音频文件并播放。The Blu-ray player acquires and plays the CUE audio file according to the file path of the CUE audio file.

本发明实施例的另一目的在于提供一种控制音频文件播放的系统,所述系统包括移动终端和蓝光播放机,所述移动终端与所述蓝光播放机以无线方式连接通信;Another object of the embodiments of the present invention is to provide a system for controlling playback of audio files, the system includes a mobile terminal and a Blu-ray player, and the mobile terminal communicates with the Blu-ray player in a wireless manner;

所述移动终端,用于在接收到用户对光盘映像辅助CUE文件的点击信息时,检测所述CUE文件是否已被解析,若是,显示所述CUE文件对应的CUE曲目列表,并在接收到所述用户对所述CUE曲目列表中的某一CUE音频文件的播放请求信息时,将所述CUE音频文件的文件路径发送至所述蓝光播放机;The mobile terminal is configured to detect whether the CUE file has been parsed when receiving the user's click information on the auxiliary CUE file of the CD image, if so, display the CUE track list corresponding to the CUE file, and receive the When the user requests playing information for a certain CUE audio file in the CUE track list, the file path of the CUE audio file is sent to the Blu-ray player;

所述蓝光播放机,用于根据所述CUE音频文件的文件路径,获取所述CUE音频文件并播放。The Blu-ray player is configured to acquire and play the CUE audio file according to the file path of the CUE audio file.

本发明实施例的另一目的在于提供一种移动终端,包括:Another object of the embodiments of the present invention is to provide a mobile terminal, including:

CUE曲目列表显示模块,用于在接收到用户对光盘映像辅助CUE文件的点击信息时,检测所述CUE文件是否已被解析,若是,显示所述CUE文件对应的CUE曲目列表;The CUE track list display module is used to detect whether the CUE file has been analyzed when receiving the user's click information on the CD image auxiliary CUE file, and if so, display the CUE track list corresponding to the CUE file;

CUE音频文件路径发送模块,用于在接收到所述用户对所述CUE曲目列表中的某一CUE音频文件的播放请求信息时,将所述CUE音频文件的文件路径发送至所述蓝光播放机,以使所述蓝光播放机根据所述CUE音频文件的文件路径获取所述CUE音频文件并播放。The CUE audio file path sending module is used to send the file path of the CUE audio file to the Blu-ray player when receiving the user's play request information for a certain CUE audio file in the CUE track list , so that the Blu-ray player acquires and plays the CUE audio file according to the file path of the CUE audio file.

本发明实施例与现有技术相比存在的有益效果是:本发明实施例通过移动终端在接收到用户对一CUE文件的点击信息且该CUE文件已解析时,显示CUE文件对应的CUE曲目列表,并在接收到用户对CUE曲目列表中的某一CUE音频文件的播放请求信息时,将CUE音频文件的文件路径发送至蓝光播放机,蓝光播放机根据CUE音频文件的文件路径获取CUE音频文件并播放,由此通过移动终端保存CUE曲目列表,使已解析的CUE文件无需重复解析,并由移动终端控制蓝光播放机播放CUE音频文件,大大提高了蓝光播放机播放CUE音频文件的效率。Compared with the prior art, the embodiment of the present invention has the following beneficial effects: the embodiment of the present invention displays the CUE track list corresponding to the CUE file when the mobile terminal receives the user's click information on a CUE file and the CUE file has been resolved , and when receiving the user’s play request information for a certain CUE audio file in the CUE track list, the file path of the CUE audio file is sent to the Blu-ray player, and the Blu-ray player obtains the CUE audio file according to the file path of the CUE audio file And play, thus save the CUE track list through the mobile terminal, so that the analyzed CUE file does not need to be analyzed repeatedly, and the mobile terminal controls the Blu-ray player to play the CUE audio file, which greatly improves the efficiency of the Blu-ray player to play the CUE audio file.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the descriptions of the embodiments or the prior art. Obviously, the accompanying drawings in the following descriptions are only of the present invention. For some embodiments, those skilled in the art can also obtain other drawings according to these drawings without paying creative efforts.

图1是本发明实施例提供的控制音频文件播放的系统的结构框图;Fig. 1 is a structural block diagram of a system for controlling audio file playback provided by an embodiment of the present invention;

图2是本发明实施例提供的控制音频文件播放的方法的实现流程图;Fig. 2 is the implementation flowchart of the method for controlling audio file playback provided by the embodiment of the present invention;

图3是本发明另一实施例提供的控制音频文件播放的方法的实现流程图;Fig. 3 is the implementation flowchart of the method for controlling audio file playback provided by another embodiment of the present invention;

图4是本发明另一实施例提供的控制音频文件播放的方法的实现流程图;Fig. 4 is the implementation flowchart of the method for controlling audio file playback provided by another embodiment of the present invention;

图5是本发明实施例提供的移动终端的结构框图。Fig. 5 is a structural block diagram of a mobile terminal provided by an embodiment of the present invention.

具体实施方式detailed description

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

本发明实施例通过移动终端在接收到用户对一CUE文件的点击信息且该CUE文件已解析时,显示CUE文件对应的CUE曲目列表,并在接收到用户对CUE曲目列表中的某一CUE音频文件的播放请求信息时,将CUE音频文件的文件路径发送至蓝光播放机,蓝光播放机根据CUE音频文件的文件路径获取CUE音频文件并播放,由此通过移动终端保存CUE曲目列表,使已解析的CUE文件无需重复解析,并由移动终端控制蓝光播放机播放CUE音频文件,大大提高了蓝光播放机播放CUE音频文件的效率。In the embodiment of the present invention, when the mobile terminal receives the user's click information on a CUE file and the CUE file has been parsed, it displays the CUE track list corresponding to the CUE file, and when receiving the user's click on a certain CUE audio in the CUE track list When the playback request information of the file is sent, the file path of the CUE audio file is sent to the Blu-ray player, and the Blu-ray player obtains the CUE audio file according to the file path of the CUE audio file and plays it, thereby saving the CUE track list through the mobile terminal, so that the analyzed The CUE file does not need to be analyzed repeatedly, and the mobile terminal controls the Blu-ray player to play the CUE audio file, which greatly improves the efficiency of the Blu-ray player to play the CUE audio file.

本发明实施例中的移动终端可以包括移动电话(或称为“蜂窝”电话)和具有移动终端的计算机,例如,可以是便携式、袖珍式、手持式或计算机内置的移动装置,它们与无线接入网交换语言和/或数据。例如,个人通信业务(Personal Communication Service,PCS)电话、无绳电话、会话发起协议(Session Initiation Protocol,SIP)话机、无线本地环路(Wireless Local Loop,WLL)站、个人数字助理(Personal Digital Assistant,PDA)等设备,在此不作限定。The mobile terminal in the embodiment of the present invention can comprise mobile phone (or be referred to as " cellular " phone) and the computer that has mobile terminal, for example, can be portable, pocket type, hand-held or computer built-in mobile device, they are connected with wireless interface Access the network to exchange language and/or data. For example, Personal Communication Service (Personal Communication Service, PCS) telephone, cordless telephone, Session Initiation Protocol (Session Initiation Protocol, SIP) telephone, Wireless Local Loop (Wireless Local Loop, WLL) station, Personal Digital Assistant (Personal Digital Assistant, PDA) and other devices are not limited here.

图1示出了本发明实施例提供的控制音频文件播放的系统的结构框图,该系统包括移动终端11和蓝光播放机12,所述移动终端11与所述蓝光播放机12以无线方式连接通信。为了便于说明,仅示出了与本实施例相关的部分。Fig. 1 shows the structural block diagram of the system for controlling the playback of audio files provided by the embodiment of the present invention, the system includes a mobile terminal 11 and a Blu-ray player 12, and the mobile terminal 11 and the Blu-ray player 12 are connected and communicated in a wireless manner . For ease of description, only the parts related to this embodiment are shown.

参照图1:Referring to Figure 1:

所述移动终端11,用于在接收到用户对光盘映像辅助CUE文件的点击信息时,检测所述CUE文件是否已被解析,若是,显示所述CUE文件对应的CUE曲目列表,并在接收到所述用户对所述CUE曲目列表中的某一CUE音频文件的播放请求信息时,将所述CUE音频文件的文件路径发送至所述蓝光播放机12;The mobile terminal 11 is configured to detect whether the CUE file has been parsed when receiving the user's click information on the CD image auxiliary CUE file, if so, display the CUE track list corresponding to the CUE file, and receive When the user requests information for playing a certain CUE audio file in the CUE track list, the file path of the CUE audio file is sent to the Blu-ray player 12;

所述蓝光播放机12,用于根据所述CUE音频文件的文件路径,获取所述CUE音频文件并播放。The Blu-ray player 12 is configured to acquire and play the CUE audio file according to the file path of the CUE audio file.

进一步地,所述移动终端11还用于:Further, the mobile terminal 11 is also used for:

在所述CUE文件未被解析时,将所述CUE文件的文件路径发送至所述蓝光播放机12,接收CUE曲目列表并保存;When the CUE file is not analyzed, the file path of the CUE file is sent to the Blu-ray player 12, and the list of CUE tracks is received and saved;

所述蓝光播放机12还用于:The Blu-ray player 12 is also used for:

根据所述CUE文件的文件路径,获取所述CUE文件,解析所述CUE文件以获取所述CUE文件对应的CUE曲目列表,并将所述CUE曲目列表发送至所述移动终端11。Obtain the CUE file according to the file path of the CUE file, parse the CUE file to obtain a CUE track list corresponding to the CUE file, and send the CUE track list to the mobile terminal 11 .

进一步地,所述移动终端11还用于:Further, the mobile terminal 11 is also used for:

在接收到用户发出的获取CUE文件的请求信息时,将所述请求信息发送至所述蓝光播放机12,接收所有CUE文件并保存;When receiving the request information sent by the user to obtain the CUE file, the request information is sent to the Blu-ray player 12, and all CUE files are received and saved;

所述蓝光播放机12还用于:The Blu-ray player 12 is also used for:

在接收到所述请求信息后,从第三方存储设备获取所有CUE文件,并将所获取的所有CUE文件发送至所述移动终端11。After receiving the request information, all CUE files are obtained from the third-party storage device, and all the obtained CUE files are sent to the mobile terminal 11 .

优选地,所述移动终端11具体用于:Preferably, the mobile terminal 11 is specifically used for:

在接收到所述用户对所述CUE曲目列表中的某一CUE音频文件的播放请求信息时,显示该CUE音频文件的标题及附加信息,并将所述CUE音频文件的文件路径发送至所述蓝光播放机12。When receiving the user's play request information for a certain CUE audio file in the CUE track list, display the title and additional information of the CUE audio file, and send the file path of the CUE audio file to the Blu-ray player12.

本发明实施例通过移动终端在接收到用户对一CUE文件的点击信息且该CUE文件已解析时,显示CUE文件对应的CUE曲目列表,并在接收到用户对CUE曲目列表中的某一CUE音频文件的播放请求信息时,将CUE音频文件的文件路径发送至蓝光播放机,蓝光播放机根据CUE音频文件的文件路径获取CUE音频文件并播放,由此通过移动终端保存CUE曲目列表,使已解析的CUE文件无需重复解析,并由移动终端控制蓝光播放机播放CUE音频文件,大大提高了蓝光播放机播放CUE音频文件的效率。In the embodiment of the present invention, when the mobile terminal receives the user's click information on a CUE file and the CUE file has been parsed, it displays the CUE track list corresponding to the CUE file, and when receiving the user's click on a certain CUE audio in the CUE track list When the playback request information of the file is sent, the file path of the CUE audio file is sent to the Blu-ray player, and the Blu-ray player obtains the CUE audio file according to the file path of the CUE audio file and plays it, thereby saving the CUE track list through the mobile terminal, so that the analyzed The CUE file does not need to be analyzed repeatedly, and the mobile terminal controls the Blu-ray player to play the CUE audio file, which greatly improves the efficiency of the Blu-ray player to play the CUE audio file.

图2示出了本发明实施例提供的控制音频文件播放的方法的实现流程图,该流程图的执行主体可以为图1中的移动终端11和蓝光播放机12,所述移动终端与所述蓝光播放机以无线方式连接通信,所述方法包括:Fig. 2 shows the implementation flow chart of the method for controlling the playback of audio files provided by the embodiment of the present invention, the execution subject of the flow chart may be the mobile terminal 11 and the Blu-ray player 12 in Fig. The Blu-ray player communicates wirelessly, the method comprising:

在步骤S201中,移动终端在接收到用户对光盘映像辅助CUE文件的点击信息时,检测所述CUE文件是否已被解析,若是,显示所述CUE文件对应的CUE曲目列表。In step S201, when the mobile terminal receives the user's click information on the CD image auxiliary CUE file, it detects whether the CUE file has been parsed, and if so, displays the CUE track list corresponding to the CUE file.

CUE文件是指光盘映像辅助文件或标记文件,其按照文本文件格式编制。CUE文件被蓝光播放机解析后,可获取该CUE文件对应的所有CUE音频文件的标题,该CUE文件对应的所有CUE音频文件的标题生成该CUE文件对应的CUE曲目列表。A CUE file refers to a disc image auxiliary file or a tag file, which is compiled according to the text file format. After the CUE file is parsed by the Blu-ray player, the titles of all the CUE audio files corresponding to the CUE file can be obtained, and the titles of all the CUE audio files corresponding to the CUE file can generate a list of CUE tracks corresponding to the CUE file.

在本发明实施例中,已由蓝光播放机解析的CUE文件对应的CUE曲目列表均保存在移动终端中。因此,对于每一个CUE文件只需解析一次。In the embodiment of the present invention, the CUE track list corresponding to the CUE file parsed by the Blu-ray player is stored in the mobile terminal. Therefore, it only needs to be parsed once for each CUE file.

在这里,用户对CUE文件的点击信息可以为单击信息、双击信息或长按信息,在此不作限定。Here, the user's click information on the CUE file may be single-click information, double-click information or long-press information, which is not limited here.

作为本发明的一个实施例,移动终端包括CUE文件列表界面、CUE曲目列表界面和CUE音频文件播放控制界面。其中,CUE文件列表界面显示移动终端上所包含的CUE文件。CUE曲目列表界面显示已由蓝光播放机解析的CUE文件对应的CUE曲目列表。CUE音频文件播放控制界面显示控制播放的控件,例如,播放暂停按键、上一曲按键或下一曲按键;CUE音频文件播放控制界面还可显示CUE音频文件的当前播放进度的进度条。As an embodiment of the present invention, the mobile terminal includes a CUE file list interface, a CUE track list interface and a CUE audio file playback control interface. Wherein, the CUE file list interface displays the CUE files included in the mobile terminal. The CUE track list interface displays the CUE track list corresponding to the CUE file that has been parsed by the Blu-ray player. The CUE audio file playback control interface displays controls for controlling playback, for example, a play pause button, a previous song button or a next song button; the CUE audio file playback control interface can also display a progress bar of the current playback progress of the CUE audio file.

可选地,移动终端在接收到用户对一CUE文件的点击信息,且该CUE文件已由蓝光播放机解析时,提示用户该CUE文件已解析。Optionally, when the mobile terminal receives the user's click information on a CUE file, and the CUE file has been parsed by the Blu-ray player, it prompts the user that the CUE file has been parsed.

在步骤S202中,所述移动终端在接收到所述用户对所述CUE曲目列表中的某一CUE音频文件的播放请求信息时,将所述CUE音频文件的文件路径发送至所述蓝光播放机。In step S202, when the mobile terminal receives the user's play request information for a certain CUE audio file in the CUE track list, it sends the file path of the CUE audio file to the Blu-ray player .

当移动终端在CUE曲目列表界面接收到用户对CUE曲目列表中的某一CUE音频文件的播放请求信息时,移动终端由CUE曲目列表界面自动跳转至CUE音频文件播放控制界面,并将CUE音频文件的文件路径发送至蓝光播放机。When the mobile terminal receives the user's play request information for a certain CUE audio file in the CUE track list interface on the CUE track list interface, the mobile terminal automatically jumps from the CUE track list interface to the CUE audio file playback control interface, and the CUE audio file The file path of the file is sent to the Blu-ray player.

优选地,所述移动终端与所述蓝光播放机通过无线保真技术Wi-Fi连接通信。Preferably, the mobile terminal communicates with the Blu-ray player through a Wi-Fi Wi-Fi connection.

在本发明实施例中,使移动终端与蓝光播放机处于同一WLAN(Wireless LocalArea Network,无线局域网)中,移动终端作为客户端,蓝光播放机作为服务器端,采用HTTP(Hyper Text Transfer Protocol,超文本传输协议)建立移动终端与蓝光播放机的通信连接。在移动终端为安卓Android操作系统时,移动终端采用HttpClient库,蓝光播放机导入Mongoose库,以实现移动终端与蓝光播放机的连接。In the embodiment of the present invention, make mobile terminal and Blu-ray player be in the same WLAN (Wireless LocalArea Network, wireless local area network), mobile terminal is as client, Blu-ray player is as server end, adopts HTTP (Hyper Text Transfer Protocol, hypertext transmission protocol) to establish a communication connection between the mobile terminal and the Blu-ray player. When the mobile terminal is an Android operating system, the mobile terminal adopts the HttpClient library, and the Blu-ray player imports the Mongoose library to realize the connection between the mobile terminal and the Blu-ray player.

在步骤S203中,所述蓝光播放机根据所述CUE音频文件的文件路径,获取所述CUE音频文件并播放。In step S203, the Blu-ray player acquires and plays the CUE audio file according to the file path of the CUE audio file.

在这里,蓝光播放机根据CUE音频文件的文件路径从第三方存储设备获取CUE音频文件。蓝光播放机与第三方存储设备通过USB(Universal Serial Bus,通用串行总线)接口相连接。存储设备可以为SD卡(Secure Digital Memory Card,安全数码卡)、U盘(USBFlash Disk,USB闪存盘)或硬盘等,在此不作限定。Here, the Blu-ray player obtains the CUE audio file from the third-party storage device according to the file path of the CUE audio file. The Blu-ray player is connected to the third-party storage device through a USB (Universal Serial Bus, Universal Serial Bus) interface. The storage device may be an SD card (Secure Digital Memory Card, secure digital card), a U disk (USB Flash Disk, USB flash disk) or a hard disk, etc., which is not limited herein.

图3示出了本发明另一实施例提供的控制音频文件播放的方法的实现流程图,为了便于说明,仅示出了与本实施例相关的部分。参照图3:Fig. 3 shows an implementation flow chart of a method for controlling playback of an audio file provided by another embodiment of the present invention. For ease of description, only parts related to this embodiment are shown. Referring to Figure 3:

在步骤S301中,所述移动终端在所述CUE文件未被解析时,将所述CUE文件的文件路径发送至所述蓝光播放机。In step S301, when the CUE file has not been parsed, the mobile terminal sends the file path of the CUE file to the Blu-ray player.

在步骤S302中,所述蓝光播放机根据所述CUE文件的文件路径,获取所述CUE文件,并解析所述CUE文件以获取所述CUE文件对应的CUE曲目列表。In step S302, the Blu-ray player obtains the CUE file according to the file path of the CUE file, and parses the CUE file to obtain a list of CUE tracks corresponding to the CUE file.

在步骤S303中,所述蓝光播放机将所述CUE曲目列表发送至所述移动终端。In step S303, the Blu-ray player sends the CUE track list to the mobile terminal.

在步骤S304中,所述移动终端接收所述CUE曲目列表并保存。In step S304, the mobile terminal receives and saves the CUE track list.

在本发明实施例中,当移动终端接收到用户对一CUE文件的点击信息,且该CUE文件未解析时,移动终端将该CUE文件的文件路径发送至蓝光播放机。In the embodiment of the present invention, when the mobile terminal receives the user's click information on a CUE file and the CUE file has not been parsed, the mobile terminal sends the file path of the CUE file to the Blu-ray player.

作为本发明的一个实施例,移动终端与蓝光播放机采用JSON(JavaScript ObjectNotation)数据结构进行数据交互。在移动终端为Android操作系统时,移动终端采用Android操作系统提供的JSON库,而蓝光播放机导入cJSON开源库。移动终端或蓝光播放机需传输数据时,调用库接口将需传输的数据封装为JSON数据,再将JSON数据按照HTTP编码格式编码为URL,通过URL发送和接收数据。As an embodiment of the present invention, the mobile terminal and the Blu-ray player use a JSON (JavaScript Object Notation) data structure for data interaction. When the mobile terminal is an Android operating system, the mobile terminal adopts the JSON library provided by the Android operating system, and the Blu-ray player imports the cJSON open source library. When the mobile terminal or Blu-ray player needs to transmit data, call the library interface to encapsulate the data to be transmitted into JSON data, then encode the JSON data into URL according to the HTTP encoding format, and send and receive data through the URL.

蓝光播放机根据CUE文件的文件路径从第三方存储存储设备获取CUE文件,并解析CUE文件以获取CUE文件对应的CUE曲目列表。蓝光播放机将解析获取的CUE曲目列表封装为CUE曲目列表对应的JSON数据后再发送至移动终端,移动终端解析CUE曲目列表对应的JSON数据获取CUE曲目列表,并将CUE曲目列表显示在CUE曲目列表界面上。The Blu-ray player obtains the CUE file from the third-party storage device according to the file path of the CUE file, and parses the CUE file to obtain the CUE track list corresponding to the CUE file. The Blu-ray player encapsulates the obtained CUE track list into JSON data corresponding to the CUE track list and then sends it to the mobile terminal. The mobile terminal analyzes the JSON data corresponding to the CUE track list to obtain the CUE track list, and displays the CUE track list on the CUE track list. on the list interface.

在步骤S305中,移动终端在接收到用户对光盘映像辅助CUE文件的点击信息时,检测所述CUE文件是否已被解析,若是,显示所述CUE文件对应的CUE曲目列表。In step S305, when the mobile terminal receives the user's click information on the CD image auxiliary CUE file, it detects whether the CUE file has been parsed, and if so, displays the CUE track list corresponding to the CUE file.

在步骤S306中,所述移动终端在接收到所述用户对所述CUE曲目列表中的某一CUE音频文件的播放请求信息时,将所述CUE音频文件的文件路径发送至所述蓝光播放机。In step S306, the mobile terminal sends the file path of the CUE audio file to the Blu-ray player when receiving the user's play request information for a certain CUE audio file in the CUE track list .

在步骤S307中,所述蓝光播放机根据所述CUE音频文件的文件路径,获取所述CUE音频文件并播放。In step S307, the Blu-ray player acquires and plays the CUE audio file according to the file path of the CUE audio file.

其中,步骤S305至步骤S307与步骤S201至步骤S203一一对应,在此不再赘述。Wherein, step S305 to step S307 correspond one to one to step S201 to step S203 , which will not be repeated here.

图4示出了本发明另一实施例提供的控制音频文件播放的方法的实现流程图。为了便于说明,仅示出了与本实施例相关的部分。Fig. 4 shows an implementation flowchart of a method for controlling playback of an audio file provided by another embodiment of the present invention. For ease of description, only the parts related to this embodiment are shown.

在步骤S401中,所述移动终端在接收到用户发出的获取CUE文件的请求信息时,将所述请求信息发送至所述蓝光播放机。In step S401, the mobile terminal sends the request information to the Blu-ray player when receiving the request information sent by the user to obtain the CUE file.

在步骤S402中,所述蓝光播放机在接收到所述请求信息后,从第三方存储设备获取所有CUE文件。In step S402, the Blu-ray player acquires all CUE files from a third-party storage device after receiving the request information.

在步骤S403中,所述蓝光播放机将所获取的所有CUE文件发送至所述移动终端。In step S403, the Blu-ray player sends all acquired CUE files to the mobile terminal.

在步骤S404中,所述移动终端接收所述所有CUE文件并保存。In step S404, the mobile terminal receives and saves all the CUE files.

在本发明实施例中,移动终端在接收到用户对存储设备中CUE文件的请求信息时,将请求信息发送至蓝光播放机,蓝光播放机从第三方存储设备中获取所有CUE文件并将所有CUE文件发送至移动终端,移动终端接收所有CUE文件并保存。In the embodiment of the present invention, when the mobile terminal receives the user's request information for the CUE file in the storage device, it sends the request information to the Blu-ray player, and the Blu-ray player obtains all the CUE files from the third-party storage device and saves all the CUE files The files are sent to the mobile terminal, and the mobile terminal receives and saves all CUE files.

在步骤S405中,所述移动终端在所述CUE文件未被解析时,将所述CUE文件的文件路径发送至所述蓝光播放机。In step S405, when the CUE file has not been parsed, the mobile terminal sends the file path of the CUE file to the Blu-ray player.

在步骤S406中,所述蓝光播放机根据所述CUE文件的文件路径,获取所述CUE文件,并解析所述CUE文件以获取所述CUE文件对应的CUE曲目列表。In step S406, the Blu-ray player obtains the CUE file according to the file path of the CUE file, and parses the CUE file to obtain a list of CUE tracks corresponding to the CUE file.

在步骤S407中,所述蓝光播放机将所述CUE曲目列表发送至所述移动终端。In step S407, the Blu-ray player sends the CUE track list to the mobile terminal.

在步骤S408中,所述移动终端接收所述CUE曲目列表并保存。In step S408, the mobile terminal receives and saves the CUE track list.

在步骤S409中,移动终端在接收到用户对光盘映像辅助CUE文件的点击信息时,检测所述CUE文件是否已被解析,若是,显示所述CUE文件对应的CUE曲目列表。In step S409, when the mobile terminal receives the user's click information on the CD image auxiliary CUE file, it detects whether the CUE file has been parsed, and if so, displays the CUE track list corresponding to the CUE file.

在步骤S410中,所述移动终端在接收到所述用户对所述CUE曲目列表中的某一CUE音频文件的播放请求信息时,将所述CUE音频文件的文件路径发送至所述蓝光播放机。In step S410, the mobile terminal sends the file path of the CUE audio file to the Blu-ray player when receiving the user's play request information for a certain CUE audio file in the CUE track list .

在步骤S411中,所述蓝光播放机根据所述CUE音频文件的文件路径,获取所述CUE音频文件并播放。In step S411, the Blu-ray player acquires and plays the CUE audio file according to the file path of the CUE audio file.

其中,步骤S405至步骤S411与步骤S301至步骤S307一一对应,在此不再赘述。Wherein, step S405 to step S411 correspond one-to-one to step S301 to step S307 , which will not be repeated here.

优选地,步骤S202所述移动终端在接收到所述用户对所述CUE曲目列表中的某一CUE音频文件的播放请求信息时,将所述CUE音频文件的文件路径发送至所述蓝光播放机具体为:Preferably, in step S202, the mobile terminal sends the file path of the CUE audio file to the Blu-ray player when receiving the user's play request information for a certain CUE audio file in the CUE track list Specifically:

所述移动终端在接收到所述用户对所述CUE曲目列表中的某一CUE音频文件的播放请求信息时,显示该CUE音频文件的标题及附加信息,并将所述CUE音频文件的文件路径发送至所述蓝光播放机。When the mobile terminal receives the user's play request information for a certain CUE audio file in the CUE track list, it displays the title and additional information of the CUE audio file, and lists the file path of the CUE audio file Send to said Blu-ray player.

在本发明实施例中,移动终端在接收到用户对CUE曲目列表中的某一CUE音频文件的播放请求信息时,通过CUE音频文件播放控制界面显示CUE音频文件的标题及附加信息,并将CUE音频文件的文件路径发送至蓝光播放机。其中,CUE音频文件的附加信息可以为ID3信息,ID3信息可以包括该CUE音频文件的歌手、专辑名称、专辑图片、年代、风格或歌词等。In the embodiment of the present invention, when the mobile terminal receives the user's play request information for a certain CUE audio file in the CUE track list, it displays the title and additional information of the CUE audio file through the CUE audio file play control interface, and displays the CUE audio file The file path of the audio file sent to the Blu-ray player. Wherein, the additional information of the CUE audio file may be ID3 information, and the ID3 information may include the singer, album name, album picture, year, style or lyrics of the CUE audio file.

本发明实施例通过移动终端在接收到用户对一CUE文件的点击信息且该CUE文件已解析时,显示CUE文件对应的CUE曲目列表,并在接收到用户对CUE曲目列表中的某一CUE音频文件的播放请求信息时,将CUE音频文件的文件路径发送至蓝光播放机,蓝光播放机根据CUE音频文件的文件路径获取CUE音频文件并播放,由此通过移动终端保存CUE曲目列表,使已解析的CUE文件无需重复解析,并由移动终端控制蓝光播放机播放CUE音频文件,大大提高了蓝光播放机播放CUE音频文件的效率。In the embodiment of the present invention, when the mobile terminal receives the user's click information on a CUE file and the CUE file has been parsed, it displays the CUE track list corresponding to the CUE file, and when receiving the user's click on a certain CUE audio in the CUE track list When the playback request information of the file is sent, the file path of the CUE audio file is sent to the Blu-ray player, and the Blu-ray player obtains the CUE audio file according to the file path of the CUE audio file and plays it, thereby saving the CUE track list through the mobile terminal, so that the analyzed The CUE file does not need to be analyzed repeatedly, and the mobile terminal controls the Blu-ray player to play the CUE audio file, which greatly improves the efficiency of the Blu-ray player to play the CUE audio file.

图5示出了本发明实施例提供的移动终端的结构框图,该移动终端可以为图1中的移动终端11。为了便于说明,仅示出了与本实施例相关的部分,参照图5:FIG. 5 shows a structural block diagram of a mobile terminal provided by an embodiment of the present invention, and the mobile terminal may be the mobile terminal 11 in FIG. 1 . For ease of description, only the parts relevant to this embodiment are shown, referring to Figure 5:

该移动终端包括:The mobile terminal includes:

CUE曲目列表显示模块51,用于在接收到用户对光盘映像辅助CUE文件的点击信息时,检测所述CUE文件是否已被解析,若是,显示所述CUE文件对应的CUE曲目列表;The CUE track list display module 51 is used to detect whether the CUE file has been analyzed when receiving the user's click information on the CD image auxiliary CUE file, and if so, display the CUE track list corresponding to the CUE file;

CUE音频文件路径发送模块52,用于在接收到所述用户对所述CUE曲目列表中的某一CUE音频文件的播放请求信息时,将所述CUE音频文件的文件路径发送至所述蓝光播放机,以使所述蓝光播放机根据所述CUE音频文件的文件路径获取所述CUE音频文件并播放。The CUE audio file path sending module 52 is used to send the file path of the CUE audio file to the Blu-ray player when receiving the user's play request information for a certain CUE audio file in the CUE track list machine, so that the Blu-ray player acquires and plays the CUE audio file according to the file path of the CUE audio file.

进一步地,所述移动终端还包括:Further, the mobile terminal also includes:

CUE文件路径发送模块53,用于在所述CUE文件未被解析时,将所述CUE文件的文件路径发送至所述蓝光播放机,以使所述蓝光播放机根据所述CUE文件的文件路径获取所述CUE文件,并解析所述CUE文件以获取所述CUE文件对应的CUE曲目列表;The CUE file path sending module 53 is configured to send the file path of the CUE file to the Blu-ray player when the CUE file has not been parsed, so that the Blu-ray player can use the file path of the CUE file Obtaining the CUE file, and parsing the CUE file to obtain a list of CUE tracks corresponding to the CUE file;

CUE曲目列表保存模块54,用于接收所述CUE曲目列表并保存。The CUE track list saving module 54 is configured to receive and save the CUE track list.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. within range.

Claims (7)

1. a kind of method for controlling audio file to play, it is characterised in that methods described includes:
Whether mobile terminal detects the CUE files when receiving user and aiding in the click information of CUE files to Disc image It has been be resolved that, if so, the corresponding CUE songs list of the CUE files is shown, and it is bent to the CUE receiving the user During the playing request information of a certain CUE audio files in mesh list, the file path of the CUE audio files is sent to indigo plant Light player;
The blue light player obtains the CUE audio files and played according to the file path of the CUE audio files;
Methods described also includes:The mobile terminal is not when the CUE files are resolved, by the file road of the CUE files Footpath is sent to the blue light player;
The blue light player obtains the CUE files according to the file paths of the CUE files, parse the CUE files with The corresponding CUE songs list of the CUE files is obtained, and the CUE songs list is sent to the mobile terminal;
The mobile terminal receives the CUE songs list and preserved.
2. the method as described in claim 1, it is characterised in that methods described also includes:
The mobile terminal sends the solicited message when receiving the solicited message for the acquisition CUE files that user sends To the blue light player;
The blue light player obtains all CUE files after the solicited message is received from third party's storage device, and will Acquired all CUE files are sent to the mobile terminal;
The mobile terminal receives all CUE files and preserved.
3. the method as described in claim 1, it is characterised in that the mobile terminal is receiving the user to the CUE During the playing request information of a certain CUE audio files in song list, by the file path of the CUE audio files send to The blue light player is specially:
The mobile terminal receive the user please to the broadcastings of a certain CUE audio files in the CUE songs list When seeking information, the title and additional information of the CUE audio files are shown, and the file path of the CUE audio files is sent To the blue light player.
4. a kind of system for controlling audio file to play, it is characterised in that the system includes mobile terminal and blue light player, The mobile terminal and the blue light player wirelessly connection communication;
The mobile terminal, for when receiving user and aiding in the click information of CUE files to Disc image, detection to be described Whether CUE files have been resolved, if so, showing the corresponding CUE songs list of the CUE files, and are receiving the user During to the playing request information of a certain CUE audio files in the CUE songs list, by the file of the CUE audio files Path is sent to the blue light player;
The blue light player, for the file path according to the CUE audio files, obtains the CUE audio files and broadcasts Put;
The mobile terminal is additionally operable to:
When the CUE files are not resolved, the file path of the CUE files is sent to the blue light player, received The list of CUE songs is simultaneously preserved;
The blue light player is additionally operable to:
According to the file path of the CUE files, the CUE files are obtained, parse the CUE files to obtain the CUE texts The corresponding CUE songs list of part, and the CUE songs list is sent to the mobile terminal.
5. system as claimed in claim 4, it is characterised in that the mobile terminal is additionally operable to:
When receiving the solicited message for the acquisition CUE files that user sends, the solicited message is sent to the blue light and broadcast Machine is put, all CUE files is received and preserves;
The blue light player is additionally operable to:
After the solicited message is received, all CUE files are obtained from third party's storage device, and acquired is owned CUE files are sent to the mobile terminal.
6. system as claimed in claim 4, it is characterised in that the mobile terminal specifically for:
When receiving the user to the playing request information of a certain CUE audio files in the CUE songs list, display The title and additional information of the CUE audio files, and the file path of the CUE audio files is sent to blue light broadcasting Machine.
7. a kind of mobile terminal, it is characterised in that including:
CUE song list display modules, for receive user to Disc image aid in CUE files click information when, inspection Survey whether the CUE files have been resolved, if so, showing the corresponding CUE songs list of the CUE files;
CUE audio files path sending module, for receiving the user to a certain CUE in the CUE songs list During the playing request information of audio file, the file path of the CUE audio files is sent to blue light player, so that described Blue light player obtains the CUE audio files according to the file path of the CUE audio files and played,
CUE file path sending modules, for when the CUE files are not resolved, the file path of the CUE files to be sent out The blue light player is delivered to, so that the blue light player obtains the CUE texts according to the file path of the CUE files Part, and parse the CUE files to obtain the corresponding CUE songs list of the CUE files;
CUE song list preserving modules, for receiving the CUE songs list and preserving.
CN201410459329.4A 2014-09-10 2014-09-10 A kind of method, system and the mobile terminal that control audio file to play Active CN104244084B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410459329.4A CN104244084B (en) 2014-09-10 2014-09-10 A kind of method, system and the mobile terminal that control audio file to play

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410459329.4A CN104244084B (en) 2014-09-10 2014-09-10 A kind of method, system and the mobile terminal that control audio file to play

Publications (2)

Publication Number Publication Date
CN104244084A CN104244084A (en) 2014-12-24
CN104244084B true CN104244084B (en) 2017-08-29

Family

ID=52231290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410459329.4A Active CN104244084B (en) 2014-09-10 2014-09-10 A kind of method, system and the mobile terminal that control audio file to play

Country Status (1)

Country Link
CN (1) CN104244084B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104777986B (en) * 2015-03-20 2018-01-23 广东欧珀移动通信有限公司 A kind of navigation processing method and mobile terminal
CN104780455B (en) * 2015-03-20 2017-08-25 广东欧珀移动通信有限公司 A kind of digital document control method for playing back and mobile terminal
CN105721945A (en) * 2016-02-02 2016-06-29 四川长虹电器股份有限公司 Method for playing iso mirror image film in local area networkonline with television
CN105704558A (en) * 2016-03-17 2016-06-22 四川长虹电器股份有限公司 Method of online playing iso film in local area network by intelligent television
CN106383842A (en) * 2016-08-30 2017-02-08 广联达科技股份有限公司 Parsing method and parsing device of model file, and server
CN113569084A (en) * 2021-07-26 2021-10-29 歌尔科技有限公司 Audio data processing method, device, medium, and computer program product
CN113672423A (en) * 2021-08-18 2021-11-19 青岛海信移动通信技术股份有限公司 Method for restoring analysis file of album file and terminal equipment
CN113674724A (en) * 2021-08-18 2021-11-19 青岛海信移动通信技术股份有限公司 Analysis file generation method and terminal device for album file

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203325449U (en) * 2013-07-05 2013-12-04 中国华录集团有限公司 A Blu-ray player controlled by an intelligent terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ATE413046T1 (en) * 2001-08-06 2008-11-15 Research In Motion Ltd METHOD AND DEVICE FOR PROCESSING CODED MESSAGES
US7555291B2 (en) * 2005-08-26 2009-06-30 Sony Ericsson Mobile Communications Ab Mobile wireless communication terminals, systems, methods, and computer program products for providing a song play list
CN101883168A (en) * 2009-05-08 2010-11-10 北京闻言科技有限公司 Method for efficiently managing cache files at mobile phone client
CN101770511B (en) * 2009-12-31 2012-09-05 优视科技有限公司 Browse system for accelerating backspace operation of mobile communication equipment terminal and application method thereof
CN103298074B (en) * 2013-05-21 2016-01-27 华为终端有限公司 For method for switching network and the network-termination device of network-termination device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203325449U (en) * 2013-07-05 2013-12-04 中国华录集团有限公司 A Blu-ray player controlled by an intelligent terminal

Also Published As

Publication number Publication date
CN104244084A (en) 2014-12-24

Similar Documents

Publication Publication Date Title
CN104244084B (en) A kind of method, system and the mobile terminal that control audio file to play
CN104093067B (en) Share in the terminal, the apparatus and method of playback of audio-visual fragment
CN106791958B (en) Position mark information generation method and device
US10284494B2 (en) Device controlling method, client, server and intermediate device
JP6490898B2 (en) Method of providing service and device thereof
WO2017161769A1 (en) Bullet comment transmission method and apparatus
US20170068730A1 (en) Display apparatus, background music providing method thereof and background music providing system
US20170180445A1 (en) Advertisement data acquisition method and electronic equipment
CN105407365A (en) Advertisement data management method and advertisement management server side
CN103096128A (en) Method capable of achieving video interaction, server, terminal and system
CN106559560A (en) Method and device for displaying information and electronic equipment
TWI462045B (en) Cross-system platform push system
US20170171339A1 (en) Advertisement data transmission method, electrnoic device and system
CN110647827A (en) Comment information processing method, device, electronic device, and storage medium
CN103024491A (en) Video playing method and video playing system of mobile terminal
CN109995743A (en) A kind of processing method and terminal of multimedia file
CN105302752B (en) A kind of connection method of audio frequency apparatus, audio playing apparatus
CN104780206A (en) A data sharing method and device
CN104469414A (en) Information system, information put-in method and IPTV system based on multi-screen interaction
US20120165043A1 (en) Mobile communication based tagging
CN105049926A (en) Method of collecting and playing multimedia fragments, terminal and playing device
KR102206426B1 (en) Method and apparatus for providing help of user device
CN104575125B (en) Dual-audio repeating method and device
CA3078190A1 (en) Apparatus and method for automatic generation of croudsourced news media from captured contents
CN104954858A (en) Method for annotating and quickly playing multimedia playing nodes, mobile terminal and playing equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.