CN104616682B - Blu-ray player test methods and intelligent devices, Blu-ray players - Google Patents

Blu-ray player test methods and intelligent devices, Blu-ray players Download PDF

Info

Publication number
CN104616682B
CN104616682B CN 201510102947 CN201510102947A CN104616682B CN 104616682 B CN104616682 B CN 104616682B CN 201510102947 CN201510102947 CN 201510102947 CN 201510102947 A CN201510102947 A CN 201510102947A CN 104616682 B CN104616682 B CN 104616682B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
blu
ray player
test
ray
smart device
Prior art date
Application number
CN 201510102947
Other languages
Chinese (zh)
Other versions
CN104616682A (en )
Inventor
龙俊卫
Original Assignee
广东欧珀移动通信有限公司
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
Grant date

Links

Abstract

本发明适用于电子设备技术领域,提供了一种蓝光播放器测试方法、智能设备及蓝光播放器,所述方法包括:智能设备创建http客户端,通过所述http客户端向用户选定的蓝光播放器发送连接请求消息;所述蓝光播放器接收所述连接请求消息,并根据所述连接请求消息返回确认消息,以与智能设备建立连接;在建立连接后,所述智能设备创建http服务器端,生成所述蓝光播放器的测试指令,并将所述测试指令发送给所述蓝光播放器;所述蓝光播放器执行所述测试指令,并向所述智能设备返回测试信息;所述智能设备通过Http服务器端接收所述测试信息,并通过UI对话框的形式显示所述测试信息。 Technical Field The present invention is applicable to an electronic device, there is provided a method of testing a Blu-ray player, Blu-ray players and smart device, the method comprising: creating a smart device http client selected by the user to the client http blue transmitting a connection request message player; the Blu-ray player receives the connection request message, the request message and returns an acknowledgment message according to the connection, to establish a connection with the smart device; after establishing a connection, the smart server device creates http generating the test command Blu-ray player, and the test instruction to the Blu-ray player; Blu-ray player performing the test command to the smart device return test; the smart device receiving the test information, and displays the dialog box in the form of the UI information through the test Http server. 本发明实现了蓝光播放器的自动化测试,降低了测试成本且提高了测试效率。 The present invention automates the test Blu-ray player, reducing test cost and improve the test efficiency.

Description

蓝光播放器测试方法及智能设备、蓝光播放器 Blu-ray player test methods and intelligent devices, Blu-ray players

技术领域 FIELD

[0001] 本发明属于电子设备技术领域,尤其涉及一种蓝光播放器测试方法及智能设备、 蓝光播放器。 [0001] The present invention belongs to the technical field of electronic devices, and particularly to a method and a Blu-ray player testing intelligent device, Blu-ray players.

背景技术 Background technique

[0002] 现有的蓝光播放器的测试方式主要为人工测试,需要测试人员手动编写测试用例,并且手动进行反复测试。 [0002] The conventional test mode Blu-ray player mainly manual testing, manual testing required to write test cases and manually test repeated. 然而人工测试的成本高,重复的劳动操作也容易使得测试人员产生精神疲劳从而导致测试错误和测试盲点,降低了蓝光播放器测试的效率和准确度;进一步地,人工测试也不利于回归测试的实现。 However, the high cost of manual testing, repetitive work operations such that the tester can be easily produced mental fatigue resulting blind spot test and test error, decreasing the efficiency and accuracy of testing Blu-ray player; further, manual testing is not conducive to the regression test achieve.

发明内容 SUMMARY

[0003] 鉴于此,本发明实施例提供了一种蓝光播放器测试方法及智能设备、蓝光播放器, 以实现蓝光播放器的自动化测试,提高蓝光播放器的测试效率和准确度。 [0003] In view of this, embodiments provide a method and a Blu-ray player testing intelligent device, Blu-ray players present invention to automate the testing Blu-ray player, improve test efficiency and accuracy of the Blu-ray player.

[0004] 第一方面,提供了一种蓝光播放器测试方法,所述方法包括: [0004] In a first aspect, there is provided a method of testing a Blu-ray player, the method comprising:

[0005] 智能设备创建http客户端,通过所述http客户端向用户选定的蓝光播放器发送连接请求消息; [0005] http client to create intelligent device, selected by the user to the Blu-ray player http client transmits a connection request message;

[0006] 所述蓝光播放器接收所述连接请求消息,并根据所述连接请求消息返回确认消息,以与智能设备建立连接; [0006] The Blu-ray player receives the connection request message, the request message and returns an acknowledgment message according to the connection, to establish a connection with the smart device;

[0007] 在建立连接后,所述智能设备创建http服务器端,生成所述蓝光播放器的测试指令,并将所述测试指令发送给所述蓝光播放器; [0007] After the connection is established, the http server to create smart device, said test instruction generating Blu-ray player, and the test instruction to the Blu-ray player;

[0008] 所述蓝光播放器执行所述测试指令,并向所述智能设备返回测试信息; [0008] The Blu-ray player to execute the test instruction, and to return the smart device test information;

[0009] 所述智能设备通过Http服务器端接收所述测试信息,并通过UI对话框的形式显示所述测试信息; [0009] Http server through the smart device receives the test information and test information in the form of displaying the UI dialog;

[0010] 其中,所述测试信息包括所述蓝光播放器的测试进程、测试状态、测试结果。 [0010] wherein the test information includes test processes of the Blu-ray player, the state of testing, the test result.

[0011] 进一步地,在智能设备创建http客户端,通过所述http客户端向用户选定的蓝光播放器发送连接请求消息之前,所述方法还包括: [0011] Further, the http client created in the smart device, before sending the request message via the http client to the user selected Blu-ray player, the method further comprising:

[0012] 所述智能设备启动蓝光播放器自动化测试功能,并检测是否已连接局域网; [0012] The smart device Blu-ray players start automated testing capabilities, and detects whether the LAN connection;

[0013] 若已连接局域网,所述智能设备向所述局域网内的蓝光播放器发送广播消息,并在预设时间范围内监听应答消息,所述应答消息为所述局域网内的蓝光播放器根据所述广播消息返回的应答消息; [0013] if you have connected local area network, the device sends a broadcast message to the smart Blu-ray player within the local area network, and listen for a response message within a preset period of time, the reply message is within the local area network in accordance with the Blu-ray player the response message returned by the broadcast message;

[0014] 所述智能设备根据所述应答消息以列表的方式显示所述局域网内的蓝光播放器, 以供用户选定待测试的蓝光播放器。 [0014] The smart display apparatus according to the Blu-ray player response message in the local area network in a manner of a list for the user to be tested Blu-ray player selected.

[0015] 进一步地,所述方法还包括: [0015] Preferably, the method further comprising:

[0016] 所述局域网内的蓝光播放器接收所述智能设备发送的广播消息,并根据所述广播消息向所述智能设备返回应答消息; [0016] The Blu-ray player in the LAN receive the broadcast message sent by the intelligent device, and returns a response message to the smart device according to the broadcast message;

[0017] 其中,所述应答消息包括蓝光播放器的机型、自定义名称、IP地址以及端口号。 [0017] wherein the reply message comprises a Blu-ray player models, custom name, IP address and port number.

[0018] 进一步地,在所述智能设备启动蓝光播放器自动化测试功能,并检测是否已连接局域网之后,所述方法还包括: After [0018] Further, Blu-ray players starting in the automatic test smart device functions, and detects whether the LAN connection, the method further comprising:

[0019] 若未连接局域网,所述智能设备输出网络未连接的提示信息。 [0019] If no LAN connection, the intelligent network device is not connected to the output message.

[0020] 进一步地,在所述蓝光播放器执行所述测试指令之后,所述方法还包括: After [0020] Further, in the execution of the test instruction Blu-ray player, the method further comprising:

[0021] 所述蓝光播放器获取测试信息,并保存所述测试信息。 The [0021] Blu-ray player acquires test information, and stores the test information.

[0022] 第二方面,提供了一种智能设备,所述设备包括: [0022] In a second aspect, there is provided an intelligent device, said apparatus comprising:

[0023] 连接模块,用于创建http客户端,通过所述http客户端向用户选定的蓝光播放器发送连接请求消息,以与所述蓝光播放器建立连接; [0023] Connection module for creating a http client selected by the user to the Blu-ray player http client sends a connection request message, to establish a connection with the Blu-ray player;

[0024] 测试模块,用于在与蓝光播放器建立连接后,创建http服务器端,生成所述蓝光播放器的测试指令,并将所述测试指令发送给所述蓝光播放器; [0024] The testing module, configured to establish a connection with the Blu-ray player, create http server generates said test instruction Blu-ray player, and the test instruction to the Blu-ray player;

[0025] 显示模块,用于通过Http服务器端接收所述蓝光播放器返回的测试信息,并通过UI对话框的形式显示所述测试信息; [0025] The display module, for receiving the test information via a Blu-ray player Http returned by the server, and display the test information in the form of dialog UI;

[0026] 其中,所述测试信息包括所述蓝光播放器的测试进程、测试状态、测试结果。 [0026] wherein the test information includes test processes of the Blu-ray player, the state of testing, the test result.

[0027] 进一步地,所述智能设备还包括: [0027] Further, the smart device further comprising:

[0028] 启动模块,用于启动蓝光播放器自动化测试功能,并检测是否已连接局域网; [0028] The starting module for starting the Blu-ray player automated testing capabilities, and detects whether the LAN connection;

[0029] 广播模块,用于在已连接局域网时,向所述局域网内的蓝光播放器发送广播消息, 并在预设时间范围内监听所述局域网内的蓝光播放器根据所述广播消息返回的应答消息, 所述应答消息包括蓝光播放器的机型、自定义名称、IP地址以及端口号; [0029] broadcasting module, when connected to a local area network, send a broadcast message to the Blu-ray player within the local area network, and listens for Blu-ray player within the LAN within a preset period of time according to the broadcast message returned reply message, the reply message comprises a Blu-ray player models, custom name, IP address and port number;

[0030] 生成模块,用于根据所述应答消息以列表的方式显示所述局域网内的蓝光播放器,以供用户选定待测试的蓝光播放器。 [0030] The generating module, for displaying a Blu-ray player within the local area network in a manner according to a list of the reply message, Blu-ray player for the user to be tested is selected.

[0031] 进一步地,所述智能设备还包括: [0031] Further, the smart device further comprising:

[0032] 提示模块,用于在未连接局域网时,输出网络未连接的提示信息。 [0032] The prompt means for a message in a local network is not connected, the output of the network is not connected.

[0033] 第三方面,提供了一种蓝光播放器,所述播放器包括: [0033] a third aspect, there is provided a Blu-ray player, said player comprising:

[0034]连接模块,用于接收智能设备发送的连接请求消息,并根据所述连接请求消息返回确认消息,以与智能设备建立连接; [0034] The connection module, for smart device receiving a connection request message sent, and returns an acknowledgment message according to the connection request message, to establish a connection with the smart device;

[0035] 测试模块,用于接收智能设备发送的测试指令,执行所述测试指令,并向所述智能设备返回测试信息; [0035] The testing module, configured to receive a test command sent by the intelligent device, execute the test instruction, and to return the smart device test information;

[0036] 存储模块,用于存储所述测试信息。 [0036] The storage module for storing the test information.

[0037] 进一步地,所述播放器还包括: [0037] Further, the player further comprising:

[0038] 接收模块,用于接收所述智能设备发送的广播消息,并根据所述广播消息向所述智能设备返回应答消息; [0038] a receiving module, for receiving the broadcast message transmitted intelligent device, and returns a response message to the smart device according to the broadcast message;

[0039] 其中,所述应答消息包括蓝光播放器的机型、自定义名称、IP地址以及端口号。 [0039] wherein the reply message comprises a Blu-ray player models, custom name, IP address and port number.

[0040] 与现有技术相比,本发明实施例在智能设备中增加并且运行自动化测试功能,通过智能设备创建http客户端,以所述http客户端向用户选定的蓝光播放器发送连接请求消息;所述蓝光播放器接收所述连接请求消息,并根据所述连接请求消息返回确认消息,以与智能设备建立连接;在建立连接后,所述智能设备创建http服务器端,生成所述蓝光播放器的测试指令,并将所述测试指令发送给所述蓝光播放器;所述蓝光播放器执行所述测试指令,并向所述智能设备返回测试信息;所述智能设备通过Http服务器端接收所述测试信息, 并通过UI对话框的形式显示所述测试信息;其中,所述测试信息包括所述蓝光播放器的测试进程、测试状态、测试结果;从而实现了对蓝光播放器的自动化测试,降低了测试成本且提高了测试效率和准确度,有利于回归测试的实现,增强 [0040] Compared with the prior art, embodiments of the present invention is increased in the intelligent device and run automated testing capabilities, smart create http client apparatus, the http client to the selected user transmits a connection request Blu-ray player message; the blue light player receives the connection request message, the request message and returns an acknowledgment message according to the connection, establishes a connection with the smart device; after the connection is established, the http server to create smart device, generating the blue light test instruction of the player, and the test instruction to the Blu-ray player; Blu-ray player performing the test command to the smart device back test information; receiving the intelligent device through a server Http the test information and test information in the form of displaying the UI dialog; wherein the test information includes test processes of the Blu-ray player, the state of testing, the test results; has automated testing of Blu-ray player and reduce the cost of test and increase test efficiency and accuracy, help to achieve regression testing, and enhance 了蓝光播放器测试的稳定性和可靠性。 The stability and reliability of the Blu-ray player test.

附图说明 BRIEF DESCRIPTION

[0041] 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。 [0041] In order to more clearly illustrate the technical solutions in the embodiments or the prior art embodiment of the present invention, briefly introduced hereinafter, embodiments are described below in the accompanying drawings or described in the prior art needed to be used in describing the embodiments the drawings are only some embodiments of the present invention, those of ordinary skill in the art is concerned, without any creative effort, and can obtain other drawings based on these drawings.

[0042] 图1是本发明实施例一提供的蓝光播放器测试方法的第一实现流程图; [0042] FIG. 1 is a flowchart illustrating a Blu-ray player to achieve a first test method according to a first embodiment of the present invention;

[0043] 图2是本发明实施例二提供的蓝光播放器测试方法的第二实现流程图; [0043] FIG 2 is a flowchart illustrating a Blu-ray player to achieve a second test method according to a second embodiment of the present invention;

[0044] 图3是本发明实施例二提供的智能设备的组成结构图; [0044] FIG. 3 is a component configuration diagram smart device according to a second embodiment of the present invention;

[0045] 图4是本发明实施例三提供的蓝光播放器的组成结构图。 [0045] FIG 4 is a configuration diagram of the composition of Blu-ray player according to a third embodiment of the present invention.

具体实施方式 detailed description

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

[0047] 本发明实施例在智能设备中增加并且运行自动化测试功能,通过智能设备创建http客户端,以所述http客户端向用户选定的蓝光播放器发送连接请求消息;所述蓝光播放器接收所述连接请求消息,并根据所述连接请求消息返回确认消息,以与智能设备建立连接;在建立连接后,所述智能设备创建http服务器端,生成所述蓝光播放器的测试指令, 并将所述测试指令发送给所述蓝光播放器;所述蓝光播放器执行所述测试指令,并向所述智能设备返回测试信息;所述智能设备通过Http服务器端接收所述测试信息,并通过UI对话框的形式显示所述测试信息;其中,所述测试信息包括所述蓝光播放器的测试进程、测试状态、测试结果;从而实现了对蓝光播放器的自动化测试,降低了测试成本且提高了测试效率和准确度,有利于回归测试的实现,增强了蓝光播放器测试 [0047] Example embodiments of the present invention increases the smart device and run automated testing capabilities, smart create http client device to the http client user selected Blu-ray player to send a connection request message; a Blu-ray player receiving the connection request message, the request message and returns an acknowledgment message according to the connection, to establish a connection with the smart device; after the connection is established, the http server to create smart device, said test instruction generating Blu-ray player, and sending the test instructions to the Blu-ray player; Blu-ray player performing the test command to the smart device return test; the smart device receiving the test information via Http server, and by UI dialog displayed as the test information; wherein the test information includes test processes of the Blu-ray player, the state of testing, the test results; has automated testing of Blu-ray player, reducing the cost and increase the test test efficiency and accuracy, is conducive to regression testing, enhanced Blu-ray player test 稳定性和可靠性。 Stability and reliability. 本发明实施例还提供了相应的智能设备和蓝光播放器的组成结构,以下将分别进行详细的说明。 Embodiments of the present invention further provides a composition structure corresponding intelligent devices and Blu-ray players, respectively, will be described in detail.

[0048] 实施例一 [0048] Example a

[0049]图1示出了本发明实施例一提供的蓝光播放器测试方法的第一实现流程,为了便于说明,仅示出了与本发明相关的部分。 [0049] FIG. 1 shows a first implementation of the present invention is a method of flow testing a Blu-ray player according to an embodiment, for convenience of explanation, only the parts related to the present invention.

[0050] 在本发明实施例中,所述方法应用于由蓝光播放器、路由器、智能设备组成的系统,所述蓝光播放器、智能设备均与所述路由器连接,以通过自行搭建的网络环境相连接起来组成一个无线局域网。 [0050] In an embodiment of the present invention, the method is applied to a system from the Blu-ray players, routers, intelligent device composed of a Blu-ray player, smart devices are connected to the router, through self-built network environment They are connected together to form a wireless LAN. 所述智能设备包括但不限于Android设备、PC设备,所述Android设备包括但不限于智能手机、平板电脑等,所述PC设备包括但不限于笔记本电脑、个人计算机等。 The smart device, including but not limited to Android devices, PC device, the Android devices including but not limited to smart phones, tablet PCs, the PC equipment, including but not limited to laptop computers, personal computers and so on.

[0051]所述智能设备作为蓝光播放器自动化测试的控制端,启动蓝光播放器自动化测试功能,并在与待测试的蓝光播放器建立连接后对所述蓝光播放器的基本功能进行测试。 [0051] The intelligent terminal device as a Blu-ray player control automated testing, automated testing start Blu-ray player function, and the basic function of the test Blu-ray player after establishing a connection with Blu-ray player to be tested. [0052] 如图1所示,所述测试方法包括: [0052] The test method shown in FIG. 1 comprising:

[0053] 在步骤S101中,智能设备创建http客户端,通过所述http客户端向用户选定的蓝光播放器发送连接请求消息。 [0053] In step S101, the intelligent device creates a http client sends a connection request message through the http client to the user selected Blu-ray player.

[0054] 在本发明实施例中,在用户选定待测试的蓝光播放器后,所述智能设备创建http 客户端,通过socket向待测试的蓝光播放器的IP地址端口发送连接请求消息(即连接握手消息),所述连接请求消息的格式为httP:"im : {PORT}/signin。 [0054] In an embodiment of the present invention, after the user selects the Blu-ray player to be tested, the smart device creates http client sends a connection request message (i.e., through the IP address of the socket to be tested, Blu-ray player port connection handshake message), the connection request message format is httP: "im: {PORT} / signin.

[0055] 在步骤S102中,所述蓝光播放器接收所述连接请求消息,并根据所述连接请求消息返回确认消息,以与智能设备建立连接。 [0055] In step S102, the Blu-ray player receives the connection request message, the request message and returns an acknowledgment message according to the connection, to establish a connection with the smart device.

[0056] 待测试的蓝光播放器接收到所述连接请求消息后,返回确认消息;智能设备接收所述确认消息。 After [0056] Blu-ray player to be tested to the received connection request message, it returns an acknowledgment message; intelligent device to receive the acknowledgment message. 至此,所述待测试的蓝光播放器与所述智能设备建立通信连接。 Thus, the Blu-ray player to be tested to establish communication connection with the smart device.

[0057] 在步骤S103中,在建立连接后,所述智能设备创建http服务器端,生成所述蓝光播放器的测试指令,并将所述测试指令发送给所述蓝光播放器。 [0057] In step S103, after the connection is established, the http server to create smart device, said test instruction generating Blu-ray player, and the test instruction to the Blu-ray player.

[0058] 智能设备与蓝光播放器之间的通信连接建立后,所述智能设备创建http服务器端,所述http服务器端用于接收蓝光播放器推送的http消息,以获取蓝光播放器的测试状态信息。 After [0058] between the smart device and the Blu-ray player communication connection establishment, the smart device creates http server, http server for the http message receiver push Blu-ray player, the state of testing for Blu-ray player information. 同时,所述智能设备编辑录制所述蓝光播放器的脚本指令以生成测试指令。 Meanwhile, the intelligent script command said recording device to edit Blu-ray player to generate the test instruction. 其中, 所述测试指令是指对蓝光播放器的基本功能进行测试的指令,包括但不限于对开仓、关仓、 按预设次数正跳、打开设置菜单、按预设时间段快进、按预设次数移动光标、设置图像输出参数、设置音频输出参数、选择确认退出等操作步骤或者设置指令。 Wherein said test instruction refers to the basic functions of the Blu-ray player instructions tests, including, but not limited to, Open, CLOSE, according to a preset number of positive transition, open the settings menu, fast-forward a preset time period, a preset number of times to move the cursor, the image output parameter set, set the audio output parameter, select or confirm the exit operations such as setting instruction step. 本发明实施例还可以根据不同的播放介质、不同的文件格式编制录制相对应的测试指令进行测试;其中,所述不同的播放介质包括但不限于蓝光BD碟片、DVD碟片、SACD/CD碟片等,所述不同的文件格式包括但不限于视频文件、图片文件、音频文件等。 Embodiments of the invention may also be tested according to different media players, different file formatter record corresponding test command; wherein said different media including but not limited to playing the Blu-ray disc BD, DVD disc, SACD / CD and other discs, the different file formats include, but are not limited to, video files, image files, audio files and the like. 在测试指令生成完毕,所述智能设备通过http 玄户端将所沭测试栺令发送至待测试的蓝光播放器,其中,URL格式为http://{IP}: {PORT} /playnormalfile〇 Generating test instruction is completed, the intelligent device transmits the order to Shu Yi tested to be tested by the Blu-ray player mysterious http client, wherein, URL format is http: // {IP}: {PORT} / playnormalfile〇

[0059] 在步骤S104中,所述蓝光播放器执行所述测试指令,并向所述智能设备返回测试{目息。 [0059] In step S104, the Blu-ray player to execute the test command to the smart device {mesh back test information.

[0060] 待测试的蓝光播放器接收所述智能设备发送的测试指令后,即开始执行所述测试指令,对自身的基本功能进行测试,并实时获取测试信息,存储至蓝光播放器的存储器(比如flash)中,以便于后续导出测试信息进行查看或者调用。 After [0060] Blu-ray player to be tested receives the test command transmitted intelligent device, i.e. begin executing the test instruction, the basic function of the test itself, and real-time access test information, stored in the memory of the Blu-ray player ( for example, flash) in order to view the subsequent export test information or call.

[0061] 在步骤S105中,所述智能设备通过Http服务器端接收所述测试信息,并通过UI对话框的形式显示所述测试信息。 [0061] In step S105, the smart device receiving the test information via Http server, and display the test information in the form of dialog UI.

[0062] 在测试过程中或者测试结束后,所述蓝光播放器向所述智能设备发送BEGING-PLAY-MSGG消息,以将当前的测试信息告知所述智能设备。 [0062] during the test or after the end of the test, the Blu-ray player transmits BEGING-PLAY-MSGG message to the smart device, the current test information to inform the intelligent device. 所述智能设备通过预先建立的http服务器端接收所述测试信息,并通过UI对话框的形式显示所述测试信息,以便于用户可以通过所述智能设备获知蓝光播放器的测试状态和进程。 The smart device receiving the test information via http server pre-established, and said test information, so that the user can know the state of the test process and a Blu-ray player via the smart display apparatus in the form of dialog UI. 其中,所述测试信息包括但不限于所述蓝光播放器的测试进程、测试状态、测试结果。 Wherein the test information, including but not limited to, the testing process of the Blu-ray player, the state of testing, the test result.

[0063] 综上所述,本发明实施例在智能设备中增加并且运行自动化测试功能,通过智能设备创建http客户端,以所述http客户端向用户选定的蓝光播放器发送连接请求消息;所述蓝光播放器接收所述连接请求消息,并根据所述连接请求消息返回确认消息,以与智能设备建立连接;在建立连接后,所述智能设备创建http服务器端,生成所述蓝光播放器的测试指令,并将所述测试指令发送给所述蓝光播放器;所述蓝光播放器执行所述测试指令,并向所述智能设备返回测试信息;所述智能设备通过Http服务器端接收所述测试信息,并通过UI对话框的形式显示所述测试信息;从而实现了对蓝光播放器的自动化测试,提高了蓝光播放器的测试效率和准确度,并降低了人力测试的成本,有利于回归测试的实现,增强了测试的稳定性和可靠性。 [0063] In summary, embodiments of the present invention is increased and the function of running automated tests in the intelligent device, created through the intelligent http client device to the http client to the user selected Blu-ray player transmits a connection request message; the Blu-ray player receives the connection request message, and returns an acknowledgment message according to the connection request message, to establish a connection with the smart device; after establishing a connection, the smart device creates http server, generates the Blu-ray player test command and the test instruction to the Blu-ray player; the Blu-ray player to execute the test instruction, and to return the smart device test information; receiving the intelligent device by the server Http test information, test and displays the information in the form of UI dialog box; in order to achieve automated testing of Blu-ray players, and improve test efficiency and accuracy of the Blu-ray player, and reduce human testing costs, in favor of the return implement testing, and enhance the stability and reliability of the test. 通过本发明实施例提供的自动化测试方法,还有利于缩短蓝光播放器的软件开发测试周期。 Automated test method provided by the embodiment of the present invention, as well as help reduce the Blu-ray player software development cycle testing.

[0064] 实施例二 [0064] Second Embodiment

[0065]图2示出了本发明实施例二提供的蓝光播放器测试方法的第二实现流程,为了便于说明,仅示出了与本发明相关的部分。 [0065] FIG. 2 shows a second implementation of the process of the present invention is a Blu-ray player testing method according to a second embodiment, for convenience of description, only the parts related to the present invention.

[0066] 如图2所示,所述方法包括: [0066] As shown in FIG 2 said method comprising:

[0067] 在步骤S201中,所述智能设备启动蓝光播放器自动化测试功能。 [0067] In step S201, the smart device, Blu-ray players start automated testing capabilities.

[0068] 在步骤S202中,所述智能设备检测是否已连接局域网。 [0068] In step S202, the smart device detects whether the LAN connection.

[0069] 若检测到网络连接状态为已连接局域网时,执行步骤S203;否则,执行步骤S211。 [0069] If the detected network connection status is connected to a local area network, to step S203; otherwise, to step S211.

[0070] 在步骤S203中,所述智能设备向所述局域网内的蓝光播放器发送广播消息,并在预设时间范围内监听应答消息。 [0070] In step S203, the smart device sends a broadcast message to the Blu-ray player within the local area network, and listen for a response message within a preset period of time.

[0071] 在本发明实施例中,所述智能设备启动一个线程对所连接的局域网内所有的地址(包括所述局域网内的蓝光播放器)发送UDP广播消息“NOTIFY 0REM0TEL0GIN”,并在预设时间范围内监听应答消息。 [0071] In an embodiment of the present invention, the smart device initiates all addresses within a LAN connected to the thread (including Blu-ray players in the local network) sends a UDP broadcast message "NOTIFY 0REM0TEL0GIN", and the preset listener response message within the time frame. 其中,所述应答消息为智能设备所连接的局域网内的蓝光播放器根据所述广播消息返回的应答消息。 Wherein, the response message returned by the Blu-ray player smart devices within the LAN connected to the broadcast message according to the response message. 优选地,所述预设时间为3秒,智能设备在发送广播消息后则监听从发送广播消息起3秒时间范围内的应答消息。 Preferably, the preset time is 3 seconds, the smart device after transmitting the broadcast message is a broadcast message transmitted from the monitor acknowledgment message within a range of 3 seconds.

[0072] 在步骤S204中,所述局域网内的蓝光播放器接收所述智能设备发送的广播消息, 并根据所述广播消息向所述智能设备返回应答消息。 [0072] In step S204, the Blu-ray player within the local network intelligent devices receiving the broadcast message transmitted, and returns a response message to the smart device according to the broadcast message.

[0073] 在同一局域网内的蓝光播放器接收到所述智能设备发送的广播消息后,根据所述广播消息返回应答消息。 After [0073] In the Blu-ray player receives the same LAN broadcast message sent by the smart device, returns a response message according to the broadcast message. 其中,所述应答消息包括蓝光播放器的机型、自定义名称、IP地址以及端口号。 Wherein the reply message comprises a Blu-ray player models, custom name, IP address and port number. 示例性地,所述应答消息的格式为“REPORT ADDRESS TO 0REM0TE:%s: % u”,其中,第一个占位符表示的是蓝光播放器的机型和自定义名称,用下划线拼接,比如BD-88Jly Ml 88;第二个占位符为蓝光播放器的IP地址,比如192.168.1.100;第三个占位符为蓝光播放器的端口号。 Illustratively, the format of the response message is "REPORT ADDRESS TO 0REM0TE:% s:% u", wherein a first placeholder represents the Blu-ray player models and custom name, with underscores splicing, such as BD-88Jly Ml 88; second placeholder for the Blu-ray player's IP address, for example 192.168.1.100; placeholder third port number of the Blu-ray player.

[0074] 在步骤S205中,所述智能设备根据所述应答消息以列表的方式显示所述局域网内的蓝光播放器,以供用户选定待测试的蓝光播放器。 [0074] In step S205, the intelligent display device Blu-ray players within the local area network in a manner according to a list of the reply message, Blu-ray player for the user to be tested is selected.

[0075] 所示智能设备监听到预设时间范围内所述局域网中的蓝光播放器返回的应答消息后,解析所述应答消息,生成蓝光播放器列表,以显示所述蓝光播放器的机型、自定义名称、IP地址以及端口号,使得用户可通过所述列表查看蓝光播放器,并在所述列表上通过比如点击的方式选定待测试的蓝光播放器。 After [0075] FIG intelligent device listens for a response message within a predetermined time range of the local area network in the Blu-ray player to return, parses the response message, generates a Blu-ray player list, to display the Blu-ray player model , custom name, IP address and port number, such that a user can view the list of Blu-ray player, Blu-ray player to be selected and tested in the manner such as by clicking the list.

[0076] 上述步骤完成了对待测试的蓝光播放器的检测,便于用户获取待测试的蓝光播放器,以及建立智能设备与蓝光播放器之间的通信连接。 [0076] The above steps of detecting Blu-ray player treatment test, facilitate user gets to be tested Blu-ray player, and establishing a communication connection between the smart device and the Blu-ray players.

[0077] 若用户通过智能设备显示的蓝光播放器列表选定了待测试的蓝光播放器进行测试时,所述方法还包括: [0077] If the user selected the Blu-ray player to be tested is tested by ray player smart device list display, the method further comprising:

[0078] 在步骤S206中,智能设备创建http客户端,通过所述http客户端向用户选定的蓝光播放器发送连接请求消息。 [0078] In step S206, the intelligent device creates a http client sends a connection request message through the http client to the user selected Blu-ray player.

[0079] 在步骤S207中,所述蓝光播放器接收所述连接请求消息,并根据所述连接请求消息返回确认消息,以与智能设备建立连接。 [0079] In step S207, the Blu-ray player receives the connection request message, the request message and returns an acknowledgment message according to the connection, to establish a connection with the smart device.

[0080] 在步骤S208中,在建立连接后,所述智能设备创建http服务器端,生成所述蓝光播放器的测试指令,并将所述测试指令发送给所述蓝光播放器。 [0080] In step S208, after the connection is established, the http server to create smart device, said test instruction generating Blu-ray player, and the test instruction to the Blu-ray player.

[0081] 在步骤S209中,所述蓝光播放器执行所述测试指令,并向所述智能设备返回测试f目息。 [0081] In step S209, the Blu-ray player to execute the test command to the smart device f mesh back test information.

[0082] 在步骤S210中,所述智能设备通过Http服务器端接收所述测试信息,并通过UI对话框的形式显示所述测试信息。 [0082] In step S210, the smart device receiving the test information via Http server, and display the test information in the form of dialog UI.

[0083] 其中,所述测试信息包括所述蓝光播放器的测试进程、测试状态、测试结果。 [0083] wherein the test information includes test processes of the Blu-ray player, the state of testing, the test result.

[0084] 步骤S206值步骤S210与图1实施例中所述的步骤S101至S105相同,具体请参见图1 实施例的叙述,此处不再赘述。 The step of embodiment [0084] Step S206 and step S210 in FIG. 1 value S101 to S105 the same embodiment, see particularly the embodiment described in Figure 1 embodiment, it is not repeated herein.

[0085] 在步骤S211中,若未连接局域网时,所述智能设备输出网络未连接的提示信息。 [0085] In step S211, if not the LAN connection, the message output device intelligent network is not connected.

[0086] 示例性地,若智能设备未连接局域网,则输出网络未连接的提示信息以提示用户进行网络状态的设置。 [0086] Illustratively, if the smart device is not connected to the LAN, the system outputs are not connected to the network prompt the user to set the state of the network.

[0087] 综上所述,本发明实施例在智能设备中增加并且运行自动化测试功能,通过智能设备检测蓝光播放器,并创建http客户端与待测试的蓝光播放器建立连接以及向蓝光播放器发送测试指令,以及创建http服务器端接收待测试的蓝光播放器返回的测试信息,并通过UI对话框的形式显示所述测试信息;从而实现了对蓝光播放器的自动化测试,提高了蓝光播放器的测试效率和准确度,并降低了人力测试的成本,有利于回归测试的实现,增强了测试的稳定性和可靠性。 [0087] In summary, embodiments of the present invention is increased and the function of running automated tests smart device, the detector device through the smart Blu-ray players, and create a http client to be tested to establish a connection and a Blu-ray player to player Blu sending test instructions, and creating an http server receives the test information to be returned tested Blu-ray player, and displays the test information in the form of a dialog UI; has automated testing of Blu-ray player, a Blu-ray player to improve the test efficiency and accuracy, and reduce the cost of human testing, regression testing is conducive to enhance the stability and reliability of the test. 通过本发明实施例提供的自动化测试方法,还有利于缩短蓝光播放器的软件开发测试周期。 Automated test method provided by the embodiment of the present invention, as well as help reduce the Blu-ray player software development cycle testing.

[0088] 实施例三 [0088] Example three

[0089]图3示出了本发明实施例三提供的智能设备的组成结构,为了便于说明,仅示出了与本发明相关的部分。 [0089] FIG. 3 shows the structure of the present invention is composed of intelligent devices according to a third embodiment, for convenience of description, only the parts related to the present invention.

[0090] 在本发明实施例中,所述智能设备用于实现图1或图2实施例所述的蓝光播放器测试方法,所述智能设备预先与所述路由器连接,以通过自行搭建的网络环境与蓝光播放器连接起来组成一个无线局域网。 [0090] In an embodiment of the present invention, the apparatus for implementing the smart Blu-ray Player test method described in the embodiment of FIG. 1 or FIG. 2, the smart device previously connected to the router, through self-built network environment and Blu-ray player connected together to form a wireless local area network. 优选地,所述智能设备包括但不限于Android设备、PC设备, 所述Android设备包括但不限于智能手机、平板电脑等,所述PC设备包括但不限于笔记本电月凶、个人计算机等。 Preferably, said intelligent device includes but is not limited to Android devices, PC device, the Android devices including but not limited to smart phones, tablet computers, said apparatus including but not limited to PC notebook fierce month, a personal computer.

[0091] 如图3所示,所述智能设备包括: [0091] As shown, the smart device 3 comprises:

[0092]启动模块31,用于启动蓝光播放器自动化测试功能,并检测是否已连接局域网。 [0092] 31 starting module for starting the Blu-ray player automated testing capabilities, and detects whether the LAN connection. [0093]广播模块32,用于在已连接局域网时,向所述局域网内的蓝光播放器发送广播消息,并在预设时间范围内监听所述局域网内的蓝光播放器根据所述广播消息返回的应答消息,所述应答消息包括蓝光播放器的机型、自定义名称、IP地址以及端口号。 [0093] The broadcasting module 32, when connected to a local area network, send a broadcast message to the Blu-ray player within the local area network and listens in the Blu-ray player preset period of time within the local area network based on the broadcast message return reply message, the reply message comprises a Blu-ray player models, custom name, IP address and port number.

[0094] 生成模块幻,用于根据所述应答消息以列表的方式显示所述局域网内的蓝光播放器,以供用户选定待测试的蓝光播放器。 [0094] Magic generating module, for displaying a Blu-ray player within the local area network according to the response message by way of a list for the user to be tested Blu-ray player selected.

[0095] 连接模块34,用于创建http客户端,通过所述http客户端向用户选定的蓝光播放器发送连接请求消息,以与所述蓝光播放器建立连接。 [0095] The connection module 34 for creating http client sends a connection request message through the http client to the user selected Blu-ray player, to establish a connection with the Blu-ray player.

[0096]若用户通过智能设备显示的蓝光播放器列表选定了待测试的蓝光播放器进行测试时,智能设备通过所述连接模块34与待测试的蓝光播放器建立通信连接。 [0096] If the user selected the Blu-ray player to be tested is tested by ray player smart device list display, the smart device 34 through the connecting module establishes a communication connection with the Blu-ray player to be tested.

[0097] 测试模块35,用于在与蓝光播放器建立连接后,创建http服务器端,生成所述蓝光播放器的测试指令,并将所述测试指令发送给所述蓝光播放器。 [0097] The test module 35, configured to establish a connection with the Blu-ray player, create http server generates said test instruction Blu-ray player, and the test instruction to the Blu-ray player.

[0098] 显示模块36,用于通过Http服务器端接收所述蓝光播放器返回的测试信息,并通过UI对话框的形式显示所述测试信息。 [0098] The display module 36 for receiving the test information via Http server returns the Blu-ray player, and displays the test information in the form of dialog UI.

[0099] 其中,所述测试信息为所述蓝光播放器执行所述测试指令获得的测试信息,包括但不限于所述蓝光播放器的测试进程、测试状态、测试结果。 [0099] wherein the test information is obtained for the test instruction information to the Blu-ray player to perform the test, the test process, including but not limited to the Blu-ray player, the state of testing, the test result. 所述智能设备通过预先建立的http服务器端接收所述测试信息,并通过UI对话框的形式显示所述测试信息,有利于用户及时地通过所述智能设备获知蓝光播放器的测试状态和进程。 The smart device receives the test information via http server pre-established, and the test information will help users in a timely manner by the smart device, Blu-ray players informed of the status and progress of the test in the form of UI dialog.

[0100] 优选地,所述智能设备还包括: [0100] Preferably, the smart device further comprising:

[0101] 提示模块37,用于在未连接局域网时,输出网络未连接的提示信息。 [0101] prompt module 37, configured to, when not connected to a LAN, the network is not connected to the output message.

[0102] 示例性地,若智能设备未连接局域网,则通过所述提示模块37输出网络未连接的提示信息以提示用户进行网络状态的设置,便于所述智能设备与待测试的蓝光播放器建立通信连接。 [0102] Illustratively, if the device is not connected intelligent LAN, through the presentation information output module 37 is not connected to the network to prompt the user to set the state of the network, facilitates the smart device to be tested to establish the Blu-ray player communication connection.

[0103] 综上所述,本发明实施例在智能设备中增加并且运行与自动化测试功能相关的功能模块,以作为蓝光播放器测试的控制端,通过检测蓝光播放器,并创建http客户端与待测试的蓝光播放器建立连接以及向蓝光播放器发送测试指令,以及创建http服务器端接收待测试的蓝光播放器返回的测试信息,并通过UI对话框的形式显示所述测试信息,从而实现了对蓝光播放器的自动化测试,提高了蓝光播放器的测试效率和准确度,并降低了人力测试的成本,有利于回归测试的实现,增强了测试的稳定性和可靠性。 [0103] In summary, embodiments of the present invention increases in the smart device and associated with the operation of automated testing capabilities functional modules, as a Blu-ray player control terminal test, by detecting the Blu-ray player, and create a http client Blu-ray player to be tested to establish a connection to the Blu-ray player, and transmits the test instruction, and creating an http server receives the test information to be returned tested Blu-ray player, and displays the information in the form of test UI dialog, in order to achieve Blu-ray player for automated testing, improve test efficiency and accuracy of the Blu-ray player, and reduce the cost of human testing, regression testing is conducive to enhance the stability and reliability of the test. 通过本发明实施例提供的智能终端实现蓝光播放器的自动化测试,还有利于缩短蓝光播放器的软件开发测试周期。 Intelligent terminal provided by the embodiment of the present invention is to achieve an automated test Blu-ray player, Blu-ray players also help reduce the software development cycle testing.

[0104] 需要说明的是,本发明实施例中的智能设备可以用于实现上述方法实施例中的全部技术方案,其各个功能模块的功能可以根据上述方法实施例中的方法具体实现,其具体实现过程可参照上述实施例中的相关描述,此处不再赘述。 [0104] Incidentally, in the embodiment intelligent devices may be used in embodiments of the present invention, the foregoing method aspect of the embodiment, the specific method embodiment of each functional module which functions may be implemented according to the method described above, the specific Referring to the above-described embodiments may be implemented during the relevant embodiment described, it is not repeated here.

[0105] 实施例四 [0105] Fourth Embodiment

[0106] 图4示出了本发明实施例四提供的蓝光播放器的组成结构,为了便于说明,仅示出了与本发明相关的部分。 [0106] FIG. 4 shows the structure of the present invention is composed of a Blu-ray player according to a fourth embodiment, for convenience of description, only the parts related to the present invention.

[0107] 在本发明实施例中,所述智能设备用于实现图1或图2实施例所述的蓝光播放器测试方法,所述蓝光播放器预先与路由器、智能设备连接起来组成一个无线局域网。 [0107] In an embodiment of the present invention, apparatus for implementing the smart Blu-ray Player test method described in the embodiment of FIG. 1 or FIG. 2, the Blu-ray players advance and routers, intelligent devices connected together to form a wireless LAN . 所述智能设备包括但不限于Android设备、PC设备,所述Android设备包括但不限于智能手机、平板电脑等,所述PC设备包括但不限于笔记本电脑、个人计算机等。 The smart device, including but not limited to Android devices, PC device, the Android devices including but not limited to smart phones, tablet PCs, the PC equipment, including but not limited to laptop computers, personal computers and so on.

[0108]如图4所示,所述蓝光播放器包括: [0108] As shown, the Blu-ray player 4 comprising:

[0109]连接模块41,用于接收智能设备发送的连接请求消息,并根据所述连接请求消息返回确认消息,以与智能设备建立连接。 [0109] 41 connector module, for receiving the intelligent connection request message sending device, the request message and returns an acknowledgment message according to the connection, to establish a connection with the smart device.

[0110]测试模块42,用于接收智能设备发送的测试指令,执行所述测试指令,并向所述智能设备返回测试信息。 [0110] The test module 42, configured to receive a test command sent by the intelligent device, execute the test instruction, and to return the smart device test information.

[0111] 存储模块43,用于存储所述测试信息。 [0111] a storage module 43 for storing the test information.

[0112] 优选地,所述播放器还包括: [0112] Preferably, said player further comprises:

[0113]接收模块44,用于接收所述智能设备发送的广播消息,并根据所述广播消息向所述智能设备返回应答消息。 [0113] a receiving module 44, for receiving the broadcast message transmitted intelligent device, and returns a response message to the smart device according to the broadcast message.

[om]其中,所述应答消息包括蓝光播放器的机型、自定义名称、IP地址以及端口号。 [OM] wherein the reply message comprises a Blu-ray player models, custom name, IP address and port number. [0115]在本发明实施例中,所述蓝光播放器通过接收模块44接收到智能设备的广播消息后,返回应答消息以告知智能设备自身的机型、自动义名称、IP地址以及端口号。 [0115] In an embodiment of the present invention, the Blu-ray player after the receiving module receives the broadcast message to the smart device 44, returns a response message to inform the intelligent device's own model, automatically sense name, IP address and port number adopted. 若被智能设备选定为待测试的蓝光播放器时,则通过连接模块41接收智能设备发送的连接请求消息,以及通过测试模块42接收智能设备发送的测试指令,执行所述测试指令,将根据测试指令获得的测试信息返回给所述智能设备,同时将所述测试信息存储至存储设备43中。 When the smart device if they are selected as the Blu-ray player to be tested, the receiving module 41 are connected through the connection request message sent by the intelligent device, and receiving a smart device test command sent by the test module 42, execution of the test instruction, according to test instructions obtained test information is returned to the smart device, while in the test information stored in the storage device 43. 其中, 所述测试信息包括但不限于所述蓝光播放器的测试进程、测试状态、测试结果。 Wherein the test information, including but not limited to, the testing process of the Blu-ray player, the state of testing, the test result.

[0116]本发明实施例通过在蓝光播放器中增加与自动化测试相关联的模块,实现了蓝光播放器的自动化测试,降低了人力测试的成本,且提高了蓝光播放器的测试效率和准确度; 有利于回归测试的实现,进而增强了测试的稳定性和可靠性;还有利于缩短蓝光播放器的软件开发测试周期。 [0116] Cost embodiment by adding associated with the automated testing of the Blu-ray player module, automated testing Blu-ray player, reduced labor tested embodiment of the present invention, and test efficiency is improved Blu-ray players and accuracy ; conducive to regression testing, thereby enhancing the stability and reliability of the test; also help reduce software development and testing cycles Blu-ray player.

[0117]需要说明的是,本发明实施例中的蓝光播放器可以用于实现上述方法实施例中的全部技术方案,其各个功能模块的功能可以根据上述方法实施例中的方法具体实现,其具体实现过程可参照上述实施例中的相关描述,此处不再赘述。 [0117] Incidentally, embodiments of the present invention may be used in the Blu-ray player foregoing method aspect of the embodiment, the specific method embodiment of each functional module which functions may be implemented according to the above method, specific implementation may refer to the embodiments described above related description is not repeated here.

[0118]本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。 [0118] Those of ordinary skill in the art can appreciate that various units and algorithm steps described in the exemplary embodiments disclosed herein, can be combined with electronic hardware, computer software and electronic hardware, or be implemented. 这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。 Whether these functions are performed by hardware or software depends upon the particular application and design constraints of the technical solutions. 专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。 Professional technical staff may use different methods for each specific application to implement the described functionality, but such implementation should not be considered outside the scope of the present invention.

[0119]所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、 装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。 [0119] Those skilled in the art may clearly understand that, for convenience and brevity of description, specific working process of the foregoing system, apparatus, and unit may refer to the corresponding process in the foregoing method embodiments, not described herein again .

[0120]在本申请所提供的几个实施例中,应该理解到,所揭露的方法、智能设备以及蓝光播¥器,可以通过其它的方式实现。 [0120] In several embodiments provided herein present embodiment, it should be understood that the disclosed methods, apparatus, and blue broadcast ¥ smart device may be implemented in other manners. 例如,以上所描述的智能设备、蓝光播放器实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。 For example, smart device described above, Blu-ray players embodiments are merely illustrative of, for example, the unit division is merely logical function division, there may be other division in actual implementation, a plurality of units e.g. or components may be combined or integrated into another system, or some features may be ignored or not performed. 另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。 Another point, displayed or coupling or direct coupling or communication between interconnected in question may be through some interface, device, or indirect coupling or communication connection unit, may be electrical, mechanical, or other forms.

[0121]所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。 [0121] The unit described as separate components may be or may not be physically separate, parts displayed as units may be or may not be physical units, i.e. may be located in one place, or may be distributed to a plurality of networks unit. 可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。 You can select some or all of the units according to actual needs to achieve the object of the solutions of the embodiments.

[0122]另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。 [0122] Additionally, functional units may be integrated in various embodiments of the present invention in a processing unit, separate units may be physically present, may be two or more units are integrated into one unit.

[0123]所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。 [0123] If the function is implemented as a separate product sold or used in the form of a software functional unit may be stored in a computer-readable storage medium. 基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。 Based on such understanding, the technical solutions of the present invention per se or contributing to the prior art or part of the technical solutions may be embodied in a software product, which computer software product is stored in a storage medium, comprising several instructions that enable a computer device (may be a personal computer, a server, or network device) to perform all or part of the steps of the methods of the various embodiments of the present invention. 而前述的存储介质包括:u盘、移动硬盘、只读存储器(R〇M,Read-〇nly Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。 The storage medium comprises: u disk, removable hard disk, read-only memory (R〇M, Read-〇nly Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or optical disk storing program and other media code.

[0124]以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。 [0124] The above are only specific embodiments of the present invention, but the scope of the present invention is not limited thereto, any skilled in the art in the art within the technical scope of the present invention is disclosed, variations may readily occur or Alternatively, it shall fall within the protection scope of the present invention. 因此,本发明的保护范围应所述以权利要求的保护范围为准。 Accordingly, the scope of the present invention should be in the scope of the claims and their equivalents.

Claims (10)

  1. 1. 一种蓝光播放器测试方法,其特征在于,所述方法包括: 智能设备创建http客户端,通过所述http客户端向用户选定的蓝光播放器发送连接请求消息;所述通过所述http客户端向用户选定的蓝光播放器发送连接请求消息具体为:在用户选定待测试的蓝光播放器后,所述智能设备创建http客户端,通过socket向待测试的蓝光播放器的IP地址端口发送连接请求消息,所述连接请求消息的格式为http:// {IP}: {PORT} /signin; 所述蓝光播放器接收所述连接请求消息,并根据所述连接请求消息返回确认消息,以与智能设备建立连接; 在建立连接后,所述智能设备创建http服务器端,生成所述蓝光播放器的测试指令,并将所述测试指令发送给所述蓝光播放器; 所述蓝光播放器执行所述测试指令,并向所述智能设备返回测试信息;其中,所述测试指令是指对蓝光播放器的基本功 A Blu-ray player testing method, wherein the method comprises: http client to create a smart device, selected by the user to the Blu-ray player http client sends a connection request message; by the said http client to the user selected Blu-ray player transmits a connection request message specifically is: the Blu-ray player is selected to be tested in the user, the smart device creates http client, the IP to a Blu-ray player to be tested through the socket address port transmits a connection request message, the connection request message format is http: // {IP}: {pORT} / signin; the Blu-ray player receives the connection request message, and returns an acknowledgment message according to the connection request message, establishing a connection with the smart device; after the connection is established, the http server to create smart device, said test instruction generating Blu-ray player, and the test instruction to the Blu-ray player; the blue light player executes the test command to the smart device back test information; wherein, said test instruction refers to the Blu-ray player basic 进行测试的指令; 所述智能设备通过Http服务器端接收所述测试信息,并通过UI对话框的形式显示所述测试信息; 其中,所述测试信息包括所述蓝光播放器的测试进程、测试状态、测试结果。 Test instructions; smart device receiving the information through the test Http server, and display the test information in the form of dialog UI; wherein the test information includes test processes of the Blu-ray player, the state of testing ,Test Results.
  2. 2. 如权利要求1所述的蓝光播放器测试方法,其特征在于,在智能设备创建http客户端,通过所述http客户端向用户选定的蓝光播放器发送连接请求消息之前,所述方法还包括: 所述智能设备启动蓝光播放器自动化测试功能,并检测是否己连接局域网; 若已连接局域网,所述智能设备向所述局域网内的蓝光播放器发送广播消息,并在预设时间范围内监听应答消息,所述应答消息为所述局域网内的蓝光播放器根据所述广播消息返回的应答消息; 所述智能设备根据所述应答消息以列表的方式显示所述局域网内的蓝光播放器,以供用户选定待测试的蓝光播放器。 2. The Blu-ray player testing method according to claim 1, characterized in that the http client to create the smart device, selected by the user to the Blu-ray player http client before transmitting the connection request message, the method further comprising: said intelligent device startup automated testing capabilities Blu-ray player, and detects whether the LAN connection hexyl; if connected to a local area network, the device sends a broadcast message to the smart Blu-ray player within the local area network, and preset period of time snoop response message within the response message, the reply message is a broadcast message based on the return ray player within the local area network; the intelligent display device Blu-ray players within the local area network in accordance with said reply message list in a manner for the user to select Blu-ray players to be tested.
  3. 3. 如权利要求2所述的蓝光播放器测试方法,其特征在于,所述方法还包括: 所述局域网内的蓝光播放器接收所述智能设备发送的广播消息,并根据所述广播消息向所述智能设备返回应答消息; 其中,所述应答消息包括蓝光播放器的机型、自定义名称、IP地址以及端口号。 3. The Blu-ray player testing method according to claim 2, wherein said method further comprises: BD player within the local area network receiving the broadcast message sent by the smart device, according to the broadcast message the smart device returns a response message; wherein the response message comprises a Blu-ray player models, custom name, IP address and port number.
  4. 4. 如权利要求2所述的蓝光播放器测试方法,其特征在于,在所述智能设备启动蓝光播放器自动化测试功能,并检测是否已连接局域网之后,所述方法还包括: 若未连接局域网,所述智能设备输出网络未连接的提示信息。 The Blu-ray Player 4. After testing method according to claim 2, characterized in that the Blu-ray player to start the automatic test smart device functions, and detects whether the LAN connection, the method further comprising: if not connected to the LAN the intelligent network is not connected to the device output message.
  5. 5. 如权利要求1所述的蓝光播放器测试方法,其特征在于,在所述蓝光播放器执行所述测试指令之后,所述方法还包括: 所述蓝光播放器获取测试信息,并保存所述测试信息。 5. The Blu-ray player testing method according to claim 1, wherein, after the Blu-ray player to execute the test instruction, said method further comprising: obtaining a test of the Blu-ray player information, and saves the said test information.
  6. 6. —种智能设备,其特征在于,所述智能设备包括: 连接模块,用于创建http客户端,通过所述http客户端向用户选定的蓝光播放器发送连接请求消息,以与所述蓝光播放器建立连接;所述通过所述http客户端向用户选定的蓝光播放器发送连接请求消息具体为:在用户选定待测试的蓝光播放器后,所述智能设备创建http客户端,通过socket向待测试的蓝光播放器的IP地址端口发送连接请求消息,所述连接请求消息的格式为http:"{IP} : {P〇RT}/signin; 测试模块,用于在与蓝光播放器建立连接后,创建http服务器端,生成所述蓝光播放器的测试指令,并将所述测试指令发送给所述蓝光播放器;其中,所述测试指令是指对蓝光播放器的基本功能进行测试的指令; 显示模块,用于通过Http服务器端接收所述蓝光播放器返回的测试信息,并通过UI对话框的形式显示所述测试信息 6. - kind of intelligent device, characterized in that, said smart device comprising: a connector module for creating http client selected by the user to the Blu-ray player http client sends a connection request message, to the Blu-ray player to establish a connection; the client selected by the http Blu-ray player to a user transmits a connection request message specifically is: the Blu-ray player is selected to be tested in the user, the smart device creates http client, transmission format of the port through the socket to the Blu-ray player to be tested IP address connection request message, the connection request message is http: "{IP}: {P〇RT} / signin; testing module, configured to play the blue after the connection is established, creating http server generates said test instruction Blu-ray player, and the test instruction to the Blu-ray player; wherein said test instruction refers to the basic functions of the Blu-ray player is test instructions; display module, for receiving the test information via a Blu-ray player Http returned by the server, and display the test information in the form of dialog UI 其中,所述测试信息包括所述蓝光播放器的测试进程、测试状态、测试结果。 Wherein the test information includes test processes of the Blu-ray player, the state of testing, the test result.
  7. 7. 如权利要求6所述的智能设备,其特征在于,所述智能设备还包括: 启动模块,用于启动蓝光播放器自动化测试功能,并检测是否己连接局域网; 广播模块,用于在已连接局域网时,向所述局域网内的蓝光播放器发送广播消息,并在预设时间范围内监听所述局域网内的蓝光播放器根据所述广播消息返回的应答消息,所述应答消息包括蓝光播放器的机型、自定义名称、IP地址以及端口号; 生成模块,用于根据所述应答消息以列表的方式显示所述局域网内的蓝光播放器,以供用户选定待测试的蓝光播放器。 7. The intelligent device of claim 6, characterized in that, said smart device further comprising: a starting module for starting the Blu-ray player automated testing capabilities, connect to a LAN and detects whether hexyl; broadcasting module, has been used when connected to a local area network, send a broadcast message to the Blu-ray player within the local area network, and Blu-ray player snoop response message within the LAN returned according to the broadcast message within a preset period of time, said response message including Blu-ray players for models, custom name, IP address and port number; generating module, for displaying a Blu-ray player within the local area network in a manner according to a list of the reply message, Blu-ray player for the user selected to be tested .
  8. 8. 如权利要求7所述的智能设备,其特征在于,所述智能设备还包括: 提示模块,用于在未连接局域网时,输出网络未连接的提示信息。 8. The apparatus of claim smart claimed in claim 7, wherein said smart device further comprising: prompt means for a message in a local network is not connected, the output of the network is not connected.
  9. 9.一种蓝光播放器,其特征在于,所述播放器包括: 连接模块,用于接收智能设备发送的连接请求消息,并根据所述连接请求消息返回确认消息,以与智能设备建立连接;其中,所述连接请求为所述智能设备创建http客户端,通过socket向待测试的蓝光播放器的IP地址端口发送的连接请求消息,所述连接请求消息的格式为http:/7{IP} : {PORT}/signin; 测试模块,用于接收智能设备发送的测试指令,执行所述测试指令,并向所述智能设备返回测试信息;其中,所述测试指令是指对蓝光播放器的基本功能进行测试的指令; 存储模块,用于存储所述测试信息。 A Blu-ray player, wherein said player comprising: a connection module, for receiving the connection request message sent by the intelligent device, and returns an acknowledgment message according to the connection request message, to establish a connection with the smart device; wherein the connection request to the http client to create smart device, the IP address request message to the connection port to send the Blu-ray player to be tested by the socket, the connection request message format is http: / 7 {IP} : {PORT} / signin; test modules, for receiving the test command transmitted intelligent device, execute the test instruction, and to return the smart device test information; wherein the test instruction is a Blu-ray player refers to substantially functional test instructions; a storage module for storing the test information.
  10. 10.如权利要求9所述的蓝光播放器,其特征在于,所述播放器还包括: 接收模块,用于接收所述智能设备发送的广播消息,并根据所述广播消息向所述智能设备返回应答消息; 其中,所述应答消息包括蓝光播放器的机型、自定义名称、lp地址以及端口号。 10. A Blu-ray player according to claim 9, wherein said player further comprising: a receiving module, configured to receive a broadcast message sent by the intelligent device, according to the smart device and the broadcast message returns a response message; wherein the response message comprises a Blu-ray player models, custom name, address and port number LP.
CN 201510102947 2015-03-09 2015-03-09 Blu-ray player test methods and intelligent devices, Blu-ray players CN104616682B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201510102947 CN104616682B (en) 2015-03-09 2015-03-09 Blu-ray player test methods and intelligent devices, Blu-ray players

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201510102947 CN104616682B (en) 2015-03-09 2015-03-09 Blu-ray player test methods and intelligent devices, Blu-ray players

Publications (2)

Publication Number Publication Date
CN104616682A true CN104616682A (en) 2015-05-13
CN104616682B true CN104616682B (en) 2017-06-09

Family

ID=53151101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201510102947 CN104616682B (en) 2015-03-09 2015-03-09 Blu-ray player test methods and intelligent devices, Blu-ray players

Country Status (1)

Country Link
CN (1) CN104616682B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893247A (en) * 2015-12-18 2016-08-24 乐视云计算有限公司 Player test method, device and system
CN105721945A (en) * 2016-02-02 2016-06-29 四川长虹电器股份有限公司 Method for playing iso mirror image film in local area networkonline with television

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201285546Y (en) * 2008-11-10 2009-08-05 中国华录·松下电子信息有限公司 Automatic test apparatus for player software
CN101526918A (en) * 2009-03-23 2009-09-09 腾讯科技(深圳)有限公司 Method for testing player and device
CN201868100U (en) * 2010-11-02 2011-06-15 中国华录·松下电子信息有限公司 Automatic testing device for Blu-ray player
CN102656636A (en) * 2009-11-26 2012-09-05 Sk 普兰尼特有限公司 System and method for testing a user application using a computing apparatus and a media playback apparatus
CN103000207A (en) * 2012-12-06 2013-03-27 广东欧珀移动通信有限公司 Blue-ray player compatibility problem debugging method and system
CN103268288A (en) * 2013-06-18 2013-08-28 北京云测信息技术有限公司 Remote real machine debugging method and system of mobile terminal application software
CN103778053A (en) * 2012-10-18 2014-05-07 周玲玲 Remote real machine test system and method of mobile terminals

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101104165B1 (en) * 2009-11-26 2012-01-13 애니포인트 미디어 그룹 Media playback apparatus capable of testing user application and method for testing user application using the same

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201285546Y (en) * 2008-11-10 2009-08-05 中国华录·松下电子信息有限公司 Automatic test apparatus for player software
CN101526918A (en) * 2009-03-23 2009-09-09 腾讯科技(深圳)有限公司 Method for testing player and device
CN102656636A (en) * 2009-11-26 2012-09-05 Sk 普兰尼特有限公司 System and method for testing a user application using a computing apparatus and a media playback apparatus
CN201868100U (en) * 2010-11-02 2011-06-15 中国华录·松下电子信息有限公司 Automatic testing device for Blu-ray player
CN103778053A (en) * 2012-10-18 2014-05-07 周玲玲 Remote real machine test system and method of mobile terminals
CN103000207A (en) * 2012-12-06 2013-03-27 广东欧珀移动通信有限公司 Blue-ray player compatibility problem debugging method and system
CN103268288A (en) * 2013-06-18 2013-08-28 北京云测信息技术有限公司 Remote real machine debugging method and system of mobile terminal application software

Also Published As

Publication number Publication date Type
CN104616682A (en) 2015-05-13 application

Similar Documents

Publication Publication Date Title
US20110173239A1 (en) Web Application Record-Replay System and Method
US20120102373A1 (en) Method and apparatus for error video creation, playback and reporting
CN102420712A (en) Testing method and equipment
CN101242621A (en) An automatic testing method and system based on interface
CN101853157A (en) Automatic identification method for application software GUI object
CN103902010A (en) Method for reducing power consumption and electronic equipment
CN102662727A (en) Virtual machine creating method and virtual machine creating device
CN101937351A (en) Method and system for automatically installing application software
CN104598380A (en) Method and system for automatic testing based on control
US20100153087A1 (en) Techniques for generating a reusable test script for a single user performance test
US20130159709A1 (en) Session completion through co-browsing
US20130163442A1 (en) Methods and apparatus for initializing a network connection for an output device
US20090125580A1 (en) Displaying server errors on the client machine that caused the failed request
CN102938800A (en) System and method for automatically testing wireless communication quality
US20080189398A1 (en) Techniques for performing operating system installation on a headless device
CN104301797A (en) Method and device for controlling playing resources in mobile terminal browser
CN103929753A (en) Method and system for automatically testing WIFI compatibility of mobile phone
CN104601770A (en) Terminal and smoothness evaluation method thereof
JP2011253370A (en) Information processing device, information processing method and program
CN103838648A (en) Terminal and data backup method
US20070118779A1 (en) Intelligent Test System and Related Method for Testing an Electronic Product
CN102111677A (en) Method and system for playing specification and electronic equipment terminal
CN104424022A (en) Screen recording method and device
CN104023272A (en) Video screen editing method and device
CN103377058A (en) Method and device for conducting factory reset for terminal device

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
GR01