CN104616682B - Blu-ray player method of testing and smart machine, Blu-ray player - Google Patents
Blu-ray player method of testing and smart machine, Blu-ray player Download PDFInfo
- Publication number
- CN104616682B CN104616682B CN201510102947.8A CN201510102947A CN104616682B CN 104616682 B CN104616682 B CN 104616682B CN 201510102947 A CN201510102947 A CN 201510102947A CN 104616682 B CN104616682 B CN 104616682B
- Authority
- CN
- China
- Prior art keywords
- blu
- ray player
- smart machine
- test
- message
- 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.)
- Expired - Fee Related
Links
- 238000010998 test method Methods 0.000 title claims abstract description 15
- 238000012360 testing method Methods 0.000 claims abstract description 225
- 238000000034 method Methods 0.000 claims abstract description 44
- 238000012790 confirmation Methods 0.000 claims abstract description 13
- 230000004044 response Effects 0.000 claims description 40
- 230000006870 function Effects 0.000 claims description 26
- 230000008569 process Effects 0.000 claims description 17
- 230000005540 biological transmission Effects 0.000 claims description 9
- 241001062009 Indigofera Species 0.000 claims description 5
- 238000012544 monitoring process Methods 0.000 claims 1
- 238000004891 communication Methods 0.000 description 6
- 238000003860 storage Methods 0.000 description 5
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004904 shortening Methods 0.000 description 3
- 210000004556 brain Anatomy 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 208000019914 Mental Fatigue Diseases 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000011017 operating method Methods 0.000 description 1
- 210000003733 optic disk Anatomy 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/18—Error detection or correction; Testing, e.g. of drop-outs
- G11B20/1816—Testing
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
The present invention is applied to technical field of electronic equipment, there is provided a kind of Blu-ray player method of testing, smart machine and Blu-ray player, methods described include:Smart machine creates http clients, and connection request message is sent to the Blu-ray player that user selectes by the http clients;The Blu-ray player receives the connection request message, and returns to confirmation message according to the connection request message, is connected with being set up with smart machine;Upon establishment of a connection, the smart machine creates http-server end, generates the test instruction of the Blu-ray player, and the test instruction is sent into the Blu-ray player;The Blu-ray player performs the test instruction, and returns to test information to the smart machine;The smart machine is by testing information described in Http received server-sides, and form by UI dialog boxes shows the test information.The present invention realizes the automatic test of Blu-ray player, reduces testing cost and improves testing efficiency.
Description
Technical field
The invention belongs to technical field of electronic equipment, more particularly to a kind of Blu-ray player method of testing and smart machine,
Blu-ray player.
Background technology
The test mode of existing Blu-ray player is mainly manual testing, it is necessary to tester writes test use manually
Example, and tested repeatedly manually.But the high cost of manual testing, the labor operations for repeating are also easily so that tester
Mental fatigue is produced so as to cause test errors and test blindspot, efficiency and the degree of accuracy of Blu-ray player test is reduced;Enter
One step ground, manual testing is also unfavorable for the realization of regression test.
The content of the invention
In consideration of it, a kind of Blu-ray player method of testing and smart machine, Blu-ray player are the embodiment of the invention provides,
To realize the automatic test of Blu-ray player, testing efficiency and the degree of accuracy of Blu-ray player are improved.
First aspect, there is provided a kind of Blu-ray player method of testing, methods described includes:
Smart machine creates http clients, is sent to the Blu-ray player that user selectes by the http clients and connected
Connect request message;
The Blu-ray player receives the connection request message, and is disappeared according to connection request message return confirmation
Breath, is connected with being set up with smart machine;
Upon establishment of a connection, the smart machine creates http-server end, and the test for generating the Blu-ray player refers to
Order, and the test instruction is sent to the Blu-ray player;
The Blu-ray player performs the test instruction, and returns to test information to the smart machine;
The smart machine is by testing information described in Http received server-sides, and form by UI dialog boxes shows
The test information;
Wherein, the test information includes test process, test mode, the test result of the Blu-ray player.
Further, http clients, the blue light selected to user by the http clients are created in smart machine
Before player sends connection request message, methods described also includes:
The smart machine starts Blu-ray player automatic test function, and detects whether to have connected LAN;
If having connected LAN, the smart machine sends broadcast message to the Blu-ray player in the LAN, and
Monitor response message in preset time range, the response message is Blu-ray player in the LAN according to described wide
Broadcast the response message of message return;
The smart machine shows the Blu-ray player in the LAN according to the response message in the way of list,
So that user selectes Blu-ray player to be tested.
Further, methods described also includes:
Blu-ray player in the LAN receives the broadcast message that the smart machine sends, and according to the broadcast
Message returns to response message to the smart machine;
Wherein, the response message includes type, self-defined title, IP address and the port numbers of Blu-ray player.
Further, start Blu-ray player automatic test function in the smart machine, and detect whether to have connected
After LAN, methods described also includes:
If not connected LAN, the not connected prompt message of the smart machine output network.
Further, after the Blu-ray player performs the test instruction, methods described also includes:
The Blu-ray player obtains test information, and preserves the test information.
Second aspect, there is provided a kind of smart machine, the equipment includes:
Link block, for creating http clients, the Blu-ray player selected to user by the http clients
Connection request message is sent, is connected with being set up with the Blu-ray player;
Test module, for after being connected with Blu-ray player foundation, creating http-server end, generates the blue light and broadcasts
The test instruction of device is put, and the test instruction is sent to the Blu-ray player;
Display module, for the test information returned by Blu-ray player described in Http received server-sides, and is passed through
The form of UI dialog boxes shows the test information;
Wherein, the test information includes test process, test mode, the test result of the Blu-ray player.
Further, the smart machine also includes:
Starting module, for starting Blu-ray player automatic test function, and detects whether to have connected LAN;
Broadcast module, for when LAN has been connected, broadcast message being sent to the Blu-ray player in the LAN,
And the Blu-ray player in the LAN is monitored in preset time range according to the response message for broadcasting the message and returning,
The response message includes type, self-defined title, IP address and the port numbers of Blu-ray player;
Generation module, for showing that the blue light in the LAN is played in the way of list according to the response message
Device, so that user selectes Blu-ray player to be tested.
Further, the smart machine also includes:
Reminding module, in not connected LAN, exporting the not connected prompt message of network.
The third aspect, there is provided a kind of Blu-ray player, the player includes:
Link block, for receiving the connection request message of smart machine transmission, and returns according to the connection request message
Confirmation message is returned, is connected with being set up with smart machine;
Test module, the test instruction for receiving smart machine transmission, performs the test instruction, and to the intelligence
Equipment returns to test information;
Memory module, for storing the test information.
Further, the player also includes:
Receiver module, for receiving the broadcast message that the smart machine sends, and broadcasts the message to described according to described
Smart machine returns to response message;
Wherein, the response message includes type, self-defined title, IP address and the port numbers of Blu-ray player.
Compared with prior art, the embodiment of the present invention increases in smart machine and runs automatic test function, leads to
Cross smart machine and create http clients, sending connection request to the Blu-ray player that user selectes with the http clients disappears
Breath;The Blu-ray player receives the connection request message, and returns to confirmation message according to the connection request message, with
Smart machine sets up connection;Upon establishment of a connection, the smart machine creates http-server end, generates the Blu-ray player
Test instruction, and by it is described test instruction be sent to the Blu-ray player;The Blu-ray player performs the test and refers to
Order, and return to test information to the smart machine;The smart machine passes through to test information described in Http received server-sides,
And the form by UI dialog boxes shows the test information;Wherein, the test information includes the survey of the Blu-ray player
Examination process, test mode, test result;It is achieved thereby that to the automatic test of Blu-ray player, reduce testing cost and
Improve testing efficiency and the degree of accuracy, be conducive to the realization of regression test, enhance Blu-ray player test stability and can
By property.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also
Other accompanying drawings are obtained with according to these accompanying drawings.
Fig. 1 is that Blu-ray player method of testing that the embodiment of the present invention one is provided first realizes flow chart;
Fig. 2 is that Blu-ray player method of testing that the embodiment of the present invention two is provided second realizes flow chart;
Fig. 3 is the composition structure chart of the smart machine that the embodiment of the present invention two is provided;
Fig. 4 is the composition structure chart of the Blu-ray player that the embodiment of the present invention three is provided.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
The embodiment of the present invention increases in smart machine and runs automatic test function, is created by smart machine
Http clients, connection request message is sent with the http clients to the Blu-ray player that user selectes;The blue light is broadcast
Put device and receive the connection request message, and confirmation message is returned to according to the connection request message, set up with smart machine
Connection;Upon establishment of a connection, the smart machine creates http-server end, generates the test instruction of the Blu-ray player,
And the test instruction is sent to the Blu-ray player;The Blu-ray player performs the test instruction, and to described
Smart machine returns to test information;The smart machine passes through to test information described in Http received server-sides, and by UI pairs
The form for talking about frame shows the test information;Wherein, the test information includes the test process of the Blu-ray player, test
State, test result;It is achieved thereby that to the automatic test of Blu-ray player, reducing testing cost and improve test effect
Rate and the degree of accuracy, are conducive to the realization of regression test, enhance the stability and reliability of Blu-ray player test.It is of the invention real
The composition structure that example additionally provides corresponding smart machine and Blu-ray player is applied, will be described in detail respectively below.
Embodiment one
Fig. 1 shows that the first of the Blu-ray player method of testing that the embodiment of the present invention one is provided realizes flow, in order to just
In explanation, part related to the present invention is illustrate only.
In embodiments of the present invention, methods described be applied to be by what Blu-ray player, router, smart machine were constituted
System, the Blu-ray player, smart machine are connected with the router, are picked up with being connected by the network environment voluntarily built
To constitute a WLAN.The smart machine includes but is not limited to Android device, PC equipment, and the Android sets
Standby including but not limited to smart mobile phone, panel computer etc., the PC equipment include but is not limited to notebook computer, personal computer
Deng.
The smart machine starts Blu-ray player automatic test as the control end of Blu-ray player automatic test
Function, and set up with Blu-ray player to be tested be connected after the basic function of the Blu-ray player is tested.
As shown in figure 1, the method for testing includes:
In step S101, smart machine creates http clients, the indigo plant selected to user by the http clients
Light player sends connection request message.
In embodiments of the present invention, after the Blu-ray player that user selectes to be tested, the smart machine creates http
Client, sends connection request message and (connects and shake hands by socket to the IP address port of Blu-ray player to be tested
Message), the form of the connection request message ishttp://{IP}:{PORT}/signin。
In step s 102, the Blu-ray player receives the connection request message, and is disappeared according to the connection request
Breath returns to confirmation message, is connected with being set up with smart machine.
After Blu-ray player to be tested receives the connection request message, confirmation message is returned;Smart machine is received
The confirmation message.So far, the Blu-ray player to be tested is set up with the smart machine and is communicated to connect.
In step s 103, upon establishment of a connection, the smart machine creates http-server end, generates the blue light and broadcasts
The test instruction of device is put, and the test instruction is sent to the Blu-ray player.
After communication connection between smart machine and Blu-ray player is set up, the smart machine creates http-server
End, the http-server end is used to receive the http message of Blu-ray player push, to obtain the test shape of Blu-ray player
State information.Meanwhile, the smart machine editor records the directive script of the Blu-ray player to generate test instruction.Wherein,
The test instruction refers to the instruction tested the basic function of Blu-ray player, including but not limited to opening a position, Guan Cang,
Just jumped by preset times, open setting menu, at preset timed intervals section F.F., by preset times movement cursor, set image export
Parameter, audio output parameters, selection confirmation are set the operating procedure such as exit or instruction is set.The embodiment of the present invention can be with root
Record corresponding test instruction and tested according to different broadcasting media, different file format establishments;Wherein, the difference
Broadcasting medium include but is not limited to blue light BD disks, DVD disks, SACD/CD disks etc., the different file format includes
But it is not limited to video file, picture file, audio file etc..Finished in test instruction generation, the smart machine passes through http
Client sends to Blu-ray player to be tested the test instruction, wherein, URL format ishttp://{IP}: {PORT}/playnormalfile。
In step S104, the Blu-ray player performs the test instruction, and returns to test to the smart machine
Information.
After Blu-ray player to be tested receives the test instruction that the smart machine sends, that is, start to perform the test
Instruction, the basic function to itself is tested, and obtains test information in real time, is stored to the memory of Blu-ray player (ratio
Such as flash) in, checked or called in order to follow-up derivation test information.
In step S105, the smart machine passes through to test information described in Http received server-sides, and by UI pairs
The form for talking about frame shows the test information.
In test process or test terminate after, the Blu-ray player to the smart machine send BEGING-
PLAY-MSGG message, the smart machine is informed by current test information.The smart machine passes through what is pre-build
Http-server end receives the test information, and form by UI dialog boxes shows the test information, in order to user
The test mode and process of Blu-ray player can be known by the smart machine.Wherein, the test information include but not
It is limited to test process, test mode, the test result of the Blu-ray player.
In sum, the embodiment of the present invention increases in smart machine and runs automatic test function, by intelligence
Equipment creates http clients, and connection request message is sent to the Blu-ray player that user selectes with the http clients;Institute
State Blu-ray player and receive the connection request message, and confirmation message is returned to according to the connection request message, with intelligence
Equipment sets up connection;Upon establishment of a connection, the smart machine creates http-server end, generates the survey of the Blu-ray player
Examination instruction, and the test instruction is sent to the Blu-ray player;The Blu-ray player performs the test instruction, and
Test information is returned to the smart machine;The smart machine is led to by testing information described in Http received server-sides
The form for crossing UI dialog boxes shows the test information;It is achieved thereby that to the automatic test of Blu-ray player, improve indigo plant
The testing efficiency of light player and the degree of accuracy, and the cost of manpower test is reduced, be conducive to the realization of regression test, enhance
The stability and reliability of test.By automated testing method provided in an embodiment of the present invention, also help shortening blue light and broadcast
Put the software development test period of device.
Embodiment two
Fig. 2 shows that the second of the Blu-ray player method of testing that the embodiment of the present invention two is provided realizes flow, in order to just
In explanation, part related to the present invention is illustrate only.
As shown in Fig. 2 methods described includes:
In step s 201, the smart machine starts Blu-ray player automatic test function.
In step S202, the smart machine detects whether to have connected LAN.
If detect network connection state to have connected LAN, step S203 is performed;Otherwise, step S211 is performed.
In step S203, the smart machine sends to the Blu-ray player in the LAN and broadcasts the message, and
Response message is monitored in preset time range.
In embodiments of the present invention, the smart machine starts a thread to all of address in the LAN that is connected
(including the Blu-ray player in the LAN) sends udp broadcast message " NOTIFY OREMOTELOGIN ", and when default
Between in the range of monitor response message.Wherein, the Blu-ray player in LAN that the response message is connected by smart machine
According to the response message that the broadcast message is returned.Preferably, the Preset Time is 3 seconds, and smart machine disappears in transmission broadcast
The response message in 3 seconds time ranges from broadcast message is sent is then monitored after breath.
In step S204, the Blu-ray player in the LAN receives the broadcast message that the smart machine sends,
And return to response message to the smart machine according to described broadcast message.
After Blu-ray player in same LAN receives the broadcast message that the smart machine sends, according to described
Broadcast message returns to response message.Wherein, the response message includes type, self-defined title, the IP address of Blu-ray player
And port numbers.Exemplarily, the form of the response message is " %s REPORT ADDRESS TO OREMOTE:%s:%
U ", wherein, what first placeholder was represented is the type and self-defined title of Blu-ray player, is spliced with underscore, such as BD-
88_My BD 88;Second placeholder is the IP address of Blu-ray player, such as 192.168.1.100;3rd placeholder be
The port numbers of Blu-ray player.
In step S205, the smart machine is shown in the LAN according to the response message in the way of list
Blu-ray player, so that user selectes Blu-ray player to be tested.
The response that shown smart machine listens to the Blu-ray player return in preset time range in the LAN disappears
After breath, the response message is parsed, Blu-ray player list is generated, to show type, the self-defining name of the Blu-ray player
Claim, IP address and port numbers so that user can check Blu-ray player by the list, and on the list by than
Mode as clicked on selectes Blu-ray player to be tested.
Above-mentioned steps complete the detection to Blu-ray player to be tested, are easy to user to obtain blue light to be tested and play
Device, and the communication connection set up between smart machine and Blu-ray player.
If user have selected Blu-ray player to be tested and surveyed by the Blu-ray player list that smart machine shows
During examination, methods described also includes:
In step S206, smart machine creates http clients, the indigo plant selected to user by the http clients
Light player sends connection request message.
In step S207, the Blu-ray player receives the connection request message, and is disappeared according to the connection request
Breath returns to confirmation message, is connected with being set up with smart machine.
In step S208, upon establishment of a connection, the smart machine creates http-server end, generates the blue light and broadcasts
The test instruction of device is put, and the test instruction is sent to the Blu-ray player.
In step S209, the Blu-ray player performs the test instruction, and returns to test to the smart machine
Information.
In step S210, the smart machine passes through to test information described in Http received server-sides, and by UI pairs
The form for talking about frame shows the test information.
Wherein, the test information includes test process, test mode, the test result of the Blu-ray player.
S101 to S105 is identical for the step of step S206 value step S210 are with described in Fig. 1 embodiments, specifically refers to Fig. 1
The narration of embodiment, here is omitted.
In step S211, if during not connected LAN, the not connected prompt message of the smart machine output network.
Exemplarily, if the not connected LAN of smart machine, the prompt message that output network is not connected with is to point out user
Carry out the setting of network state.
In sum, the embodiment of the present invention increases in smart machine and runs automatic test function, by intelligence
Equipment detects Blu-ray player, and creates http clients and set up with Blu-ray player to be tested and be connected and to blue light broadcasting
Device sends test instruction, and creates the test information that reception Blu-ray player to be tested in http-server end is returned, and leads to
The form for crossing UI dialog boxes shows the test information;It is achieved thereby that to the automatic test of Blu-ray player, improve indigo plant
The testing efficiency of light player and the degree of accuracy, and the cost of manpower test is reduced, be conducive to the realization of regression test, enhance
The stability and reliability of test.By automated testing method provided in an embodiment of the present invention, also help shortening blue light and broadcast
Put the software development test period of device.
Embodiment three
Fig. 3 shows the composition structure of the smart machine that the embodiment of the present invention three is provided, and for convenience of description, illustrate only
Part related to the present invention.
In embodiments of the present invention, the smart machine is used to realize that the Blu-ray player described in Fig. 1 or Fig. 2 embodiments to be surveyed
Method for testing, the smart machine is connected with the router in advance, with by the network environment voluntarily built and Blu-ray player
Couple together one WLAN of composition.Preferably, the smart machine includes but is not limited to Android device, PC equipment,
The Android device includes but is not limited to smart mobile phone, panel computer etc., and the PC equipment includes but is not limited to notebook electricity
Brain, personal computer etc..
As shown in figure 3, the smart machine includes:
Starting module 31, for starting Blu-ray player automatic test function, and detects whether to have connected LAN.
Broadcast module 32, for when LAN has been connected, sending broadcast to the Blu-ray player in the LAN and disappearing
Cease, and the Blu-ray player in the LAN is monitored in preset time range and disappeared according to the response that the broadcast message is returned
Breath, the response message includes type, self-defined title, IP address and the port numbers of Blu-ray player.
Generation module 33, for showing that the blue light in the LAN is played in the way of list according to the response message
Device, so that user selectes Blu-ray player to be tested.
Link block 34, for creating http clients, is played by the http clients to the blue light that user selectes
Device sends connection request message, is connected with being set up with the Blu-ray player.
If user have selected Blu-ray player to be tested and surveyed by the Blu-ray player list that smart machine shows
During examination, smart machine sets up communication connection by the link block 34 with Blu-ray player to be tested.
Test module 35, for after being connected with Blu-ray player foundation, creating http-server end, generates the blue light
The test instruction of player, and the test instruction is sent to the Blu-ray player.
Display module 36, for the test information returned by Blu-ray player described in Http received server-sides, and is led to
The form for crossing UI dialog boxes shows the test information.
Wherein, the test information is that the Blu-ray player performs the test information that the test instruction is obtained, including
But it is not limited to test process, test mode, the test result of the Blu-ray player.The smart machine passes through what is pre-build
Http-server end receives the test information, and form by UI dialog boxes shows the test information, is conducive to user
The test mode and process of Blu-ray player are known by the smart machine in time.
Preferably, the smart machine also includes:
Reminding module 37, in not connected LAN, exporting the not connected prompt message of network.
Exemplarily, if the not connected LAN of smart machine, exports what network was not connected with by the reminding module 37
Prompt message is easy to the smart machine to be set up with Blu-ray player to be tested to point out the user to carry out the setting of network state
Communication connection.
In sum, the embodiment of the present invention increases in smart machine and runs the work(related to automatic test function
Can module, as the control end of Blu-ray player test, by detecting Blu-ray player, and create http clients with it is to be measured
The Blu-ray player foundation of examination is connected and sends test instruction to Blu-ray player, and the reception of establishment http-server end is treated
The test information that the Blu-ray player of test is returned, and form by UI dialog boxes shows the test information, so as to realize
To the automatic test of Blu-ray player, testing efficiency and the degree of accuracy of Blu-ray player are improve, and reduce manpower survey
The cost of examination, is conducive to the realization of regression test, enhances the stability and reliability of test.There is provided by the embodiment of the present invention
Intelligent terminal realize the automatic test of Blu-ray player, also help the software development test week for shortening Blu-ray player
Phase.
It should be noted that the smart machine in the embodiment of the present invention can be used for realizing it is complete in above method embodiment
Portion's technical scheme, the function of its each functional module can be implemented according to the method in above method embodiment, and its is specific
Implementation process can refer to the associated description in above-described embodiment, and here is omitted.
Example IV
Fig. 4 shows the composition structure of the Blu-ray player that the embodiment of the present invention four is provided, and for convenience of description, only shows
Part related to the present invention.
In embodiments of the present invention, the smart machine is used to realize that the Blu-ray player described in Fig. 1 or Fig. 2 embodiments to be surveyed
Method for testing, the Blu-ray player couples together one WLAN of composition with router, smart machine in advance.The intelligence
Equipment includes but is not limited to Android device, PC equipment, and the Android device includes but is not limited to smart mobile phone, flat board electricity
Brain etc., the PC equipment includes but is not limited to notebook computer, personal computer etc..
As shown in figure 4, the Blu-ray player includes:
Link block 41, the connection request message for receiving smart machine transmission, and according to the connection request message
Confirmation message is returned, is connected with being set up with smart machine.
Test module 42, the test instruction for receiving smart machine transmission, performs the test instruction, and to the intelligence
Can equipment return test information.
Memory module 43, for storing the test information.
Preferably, the player also includes:
Receiver module 44, for receiving the broadcast message that the smart machine sends, and broadcasts the message to institute according to described
State smart machine and return to response message.
Wherein, the response message includes type, self-defined title, IP address and the port numbers of Blu-ray player.
In embodiments of the present invention, the Blu-ray player receives the broadcast message of smart machine by receiver module 44
Afterwards, response message is returned to inform type, automatic justice title, IP address and the port numbers of smart machine itself.If by intelligence
When selection of equipment is Blu-ray player to be tested, then the connection request for receiving smart machine transmission by link block 41 disappears
Breath, and the test instruction that smart machine sends is received by test module 42, the test instruction being performed, will be referred to according to test
The test information for obtaining is made to return to the smart machine, while by test information Store to the storage device 43.Wherein,
The test information includes but is not limited to test process, test mode, the test result of the Blu-ray player.
The module that the embodiment of the present invention is associated by the increase in Blu-ray player with automatic test, realizes blue light
The automatic test of player, reduces the cost of manpower test, and improves testing efficiency and the degree of accuracy of Blu-ray player;
Be conducive to the realization of regression test, and then enhance the stability and reliability of test;Also help and shorten Blu-ray player
Software development test period.
It should be noted that the Blu-ray player in the embodiment of the present invention can be used for realizing in above method embodiment
Whole technical schemes, the function of its each functional module can be implemented according to the method in above method embodiment, its tool
Body implementation process can refer to the associated description in above-described embodiment, and here is omitted.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Unit and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel
Described function, but this realization can be realized it is not considered that exceeding using distinct methods to each specific application
The scope of the present invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed method, smart machine and blue light
Player, can realize by another way.For example, smart machine described above, Blu-ray player embodiment are only
It is schematical, for example, the division of the unit, only a kind of division of logic function, can have other when actually realizing
Dividing mode, such as multiple units or component can combine or be desirably integrated into another system, or some features can be neglected
Slightly, or do not perform.Another, shown or discussed coupling or direct-coupling or communication connection each other can be passed through
The INDIRECT COUPLING of some interfaces, device or unit or communication connection, can be electrical, mechanical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme
's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is to realize in the form of SFU software functional unit and as independent production marketing or when using, can be with
Storage is in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used to so that a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.
Claims (10)
1. a kind of Blu-ray player method of testing, it is characterised in that methods described includes:
Smart machine creates http clients, and sending connection to the Blu-ray player that user selectes by the http clients please
Seek message;It is described to be specially to the Blu-ray player transmission connection request message that user selectes by the http clients:
After user selectes Blu-ray player to be tested, the smart machine creates http clients, by socket to be tested
The IP address port of Blu-ray player sends connection request message, and the form of the connection request message is http://{IP}:
{PORT}/signin;
The Blu-ray player receives the connection request message, and returns to confirmation message according to the connection request message, with
Set up with smart machine and be connected;
Upon establishment of a connection, the smart machine creates http-server end, generates the test instruction of the Blu-ray player, and
The test instruction is sent to the Blu-ray player;
The Blu-ray player performs the test instruction, and returns to test information to the smart machine;Wherein, the test
Instruction refers to the instruction tested the basic function of Blu-ray player;
The smart machine by testing information described in Http received server-sides, and described in show by the form of UI dialog boxes
Test information;
Wherein, the test information includes test process, test mode, the test result of the Blu-ray player.
2. Blu-ray player method of testing as claimed in claim 1, it is characterised in that create http client in smart machine
End, before sending connection request message to the Blu-ray player that user selectes by the http clients, methods described is also wrapped
Include:
The smart machine starts Blu-ray player automatic test function, and detects whether to have connected LAN;
If having connected LAN, the smart machine sends broadcast message to the Blu-ray player in the LAN, and pre-
If monitoring response message in time range, the response message is that the Blu-ray player in the LAN disappears according to the broadcast
Cease the response message for returning;
The smart machine shows the Blu-ray player in the LAN according to the response message in the way of list, for
User selectes Blu-ray player to be tested.
3. Blu-ray player method of testing as claimed in claim 2, it is characterised in that methods described also includes:
Blu-ray player in the LAN receives the broadcast message that the smart machine sends, and according to the broadcast message
Response message is returned to the smart machine;
Wherein, the response message includes type, self-defined title, IP address and the port numbers of Blu-ray player.
4. Blu-ray player method of testing as claimed in claim 2, it is characterised in that start blue light in the smart machine and broadcast
Device automatic test function is put, and after detecting whether to have connected LAN, methods described also includes:
If not connected LAN, the not connected prompt message of the smart machine output network.
5. Blu-ray player method of testing as claimed in claim 1, it is characterised in that performed in the Blu-ray player described
After test instruction, methods described also includes:
The Blu-ray player obtains test information, and preserves the test information.
6. a kind of smart machine, it is characterised in that the smart machine includes:
Link block, for creating http clients, is sent by the http clients to the Blu-ray player that user selectes
Connection request message, is connected with being set up with the Blu-ray player;The indigo plant selected to user by the http clients
Light player sends connection request message and is specially:After the Blu-ray player that user selectes to be tested, the smart machine wound
Http clients are built, connection request message is sent to the IP address port of Blu-ray player to be tested by socket, it is described
The form of connection request message is http://{IP}:{PORT}/signin;
Test module, for after being connected with Blu-ray player foundation, creating http-server end, generates the Blu-ray player
Test instruction, and by it is described test instruction be sent to the Blu-ray player;Wherein, the test instruction refers to that blue light is broadcast
Put the instruction that the basic function of device is tested;
Display module, for the test information returned by Blu-ray player described in Http received server-sides, and by UI pairs
The form for talking about frame shows the test information;
Wherein, the test information includes test process, test mode, the test result of the Blu-ray player.
7. smart machine as claimed in claim 6, it is characterised in that the smart machine also includes:
Starting module, for starting Blu-ray player automatic test function, and detects whether to have connected LAN;
Broadcast module, for when LAN has been connected, being sent to the Blu-ray player in the LAN and being broadcast the message, and
The response message that the Blu-ray player in the LAN is returned according to the broadcast message is monitored in preset time range, it is described
Response message includes type, self-defined title, IP address and the port numbers of Blu-ray player;
Generation module, for the Blu-ray player in the LAN to be shown in the way of list according to the response message, with
Blu-ray player to be tested is selected for user.
8. smart machine as claimed in claim 7, it is characterised in that the smart machine also includes:
Reminding module, in not connected LAN, exporting the not connected prompt message of network.
9. a kind of Blu-ray player, it is characterised in that the player includes:
Link block, the connection request message for receiving smart machine transmission, and returned according to the connection request message true
Recognize message, be connected with being set up with smart machine;Wherein, the connection request is that the smart machine creates http clients, is led to
The connection request message that socket sends to the IP address port of Blu-ray player to be tested is crossed, the connection request message
Form is http://{IP}:{PORT}/signin;
Test module, the test instruction for receiving smart machine transmission, performs the test instruction, and to the smart machine
Return to test information;Wherein, the test instruction refers to the instruction tested the basic function of Blu-ray player;
Memory module, for storing the test information.
10. Blu-ray player as claimed in claim 9, it is characterised in that the player also includes:
Receiver module, for receiving the broadcast message that the smart machine sends, and broadcasts the message to the intelligence according to described
Equipment returns to response message;
Wherein, the response message includes type, self-defined title, IP address and the port numbers of Blu-ray player.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510102947.8A CN104616682B (en) | 2015-03-09 | 2015-03-09 | Blu-ray player method of testing and smart machine, Blu-ray player |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510102947.8A CN104616682B (en) | 2015-03-09 | 2015-03-09 | Blu-ray player method of testing and smart machine, Blu-ray player |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104616682A 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 |
---|---|---|---|
CN201510102947.8A Expired - Fee Related CN104616682B (en) | 2015-03-09 | 2015-03-09 | Blu-ray player method of testing and smart machine, Blu-ray player |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104616682B (en) |
Families Citing this family (3)
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 |
CN106681921B (en) * | 2016-12-27 | 2020-11-10 | 腾讯科技(深圳)有限公司 | Method and device for realizing data parameterization |
Citations (7)
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)
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 |
-
2015
- 2015-03-09 CN CN201510102947.8A patent/CN104616682B/en not_active Expired - Fee Related
Patent Citations (7)
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 |
---|---|
CN104616682A (en) | 2015-05-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6084261B2 (en) | Web-based music partner system and method | |
JP7064521B2 (en) | Speaker inspection methods, equipment, electronic devices and storage media | |
CN105824836B (en) | Screenshot sharing method and device, and information receiving method and device | |
CN104169913B (en) | A kind of picture display method and device, terminal device | |
CN104616682B (en) | Blu-ray player method of testing and smart machine, Blu-ray player | |
CN105072176B (en) | A kind of wireless connection method and device of play system | |
CN105472417A (en) | Method of acquiring video player abnormity and apparatus thereof | |
CN110113311A (en) | Cross-site scripting attack XSS leak detection method and device | |
CN112860569A (en) | Automatic testing method and device, electronic equipment and storage medium | |
CN105242552B (en) | Bootstrap technique and device are installed | |
CN109195090A (en) | Test method and system for microphone electro mechanical parameter in product | |
CN107741902A (en) | Program application detection method and program application detection means | |
CN1987819A (en) | Selective test method and test apparatus thereof | |
CN107810638A (en) | By the transmission for skipping redundancy fragment optimization order content | |
CN106559702A (en) | Multi-screen interaction method and system, home gateway | |
CN109510636A (en) | Receive test method, device, medium and the equipment of FM signal function | |
CN107766307A (en) | A kind of method and apparatus of Form Element linkage | |
CN114003451B (en) | Interface testing method, device, system and medium | |
CN105929941B (en) | Information processing method and device and terminal equipment | |
CN102761453B (en) | Method for testing availability of client and client | |
CN110198480A (en) | A kind of code stream test method and device | |
CN101819797B (en) | Electronic device with interactive audio recording function and recording method thereof | |
CN108206980B (en) | Audio accessory testing method, device and system | |
CN108810525A (en) | A kind of combined Intelligent set top box volume production test method and system | |
CN105487769B (en) | Media file display method and device and electronic 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 | ||
CP03 | Change of name, title or address |
Address after: Changan town in Guangdong province Dongguan 523860 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. |
|
CP03 | Change of name, title or address | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170609 |
|
CF01 | Termination of patent right due to non-payment of annual fee |