CN103037252B - A kind of video playing terminal and its sensor application implementation method, system - Google Patents

A kind of video playing terminal and its sensor application implementation method, system Download PDF

Info

Publication number
CN103037252B
CN103037252B CN201210524778.3A CN201210524778A CN103037252B CN 103037252 B CN103037252 B CN 103037252B CN 201210524778 A CN201210524778 A CN 201210524778A CN 103037252 B CN103037252 B CN 103037252B
Authority
CN
China
Prior art keywords
sensor
video playing
mobile terminal
sensing data
terminal
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
Application number
CN201210524778.3A
Other languages
Chinese (zh)
Other versions
CN103037252A (en
Inventor
朱小林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Research America Inc
Original Assignee
TCL Research America Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TCL Research America Inc filed Critical TCL Research America Inc
Priority to CN201210524778.3A priority Critical patent/CN103037252B/en
Publication of CN103037252A publication Critical patent/CN103037252A/en
Application granted granted Critical
Publication of CN103037252B publication Critical patent/CN103037252B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention belongs to video playing terminal design field, there is provided a kind of video playing terminal and its sensor application implementation method, system.In this method and system, video playing terminal is connected with the mobile terminal with motion sensor, and using the sensing data of the motion sensor output on mobile terminal as foundation, performs corresponding sensor application.I other words, fictionalize the motion sensor of mobile terminal in video playing terminal, user is by changing the position of mobile terminal, you can complete corresponding sensor application., can be using mobile terminal as game paddle, by the position for changing mobile terminal when user carries out game application using television set, game application can be completed, without individually purchase game paddle, customer using cost is reduced, is conducive to the popularization of game application in video playing terminal.

Description

A kind of video playing terminal and its sensor application implementation method, system
Technical field
The invention belongs to video playing terminal design field, more particularly to a kind of video playing terminal and its sensor application Implementation method, system.
Background technology
With scientific and technological progress, television set just develops towards intelligent direction, and can provide a variety of entertainment applications to meet use Family entertainment requirements.For example, television set, which can provide television program record application, Internet video, plays application, game application etc..Its In, game application refers to that using television screen be display, and the game of household machine, itself and computer game are performed on a television set It is similar, belong to one kind of electronic game.
The game application of traditional television set is relatively simple, and can meet simple control by TV remote controller will Ask, and with the complication of game application, TV remote controller is required far from satisfaction control.In order to complete to more complicated trip The control of play application, user need to individually buy a game paddle, add the use cost of user, be unfavorable for pushing away for game application Extensively.
The content of the invention
The purpose of the embodiment of the present invention is the sensor application implementation method for providing a kind of video playing terminal, it is intended to solve Certainly in the prior art, to realize the control to game application in television set, game paddle need to be individually bought, user is added and uses Cost, is unfavorable for the problem of game application is promoted.
The embodiment of the present invention is achieved in that a kind of sensor application implementation method of video playing terminal, the side Method includes:
Video playing terminal is set up with mobile terminal and is connected;
The video playing terminal obtains sensing data related in the mobile terminal;
The video playing terminal performs corresponding sensor application according to the related sensing data.
The another object of the embodiment of the present invention is a kind of data receiver method for providing video playing terminal, methods described Including:
Set up the connection with mobile terminal;
Obtain sensing data related in the mobile terminal.
Corresponding sensor application is performed according to the related sensing data.
The another object of the embodiment of the present invention is to provide a kind of data transmission method for uplink of mobile terminal, methods described bag Include:
Set up the connection with video playing terminal;
Sensing data is obtained from the application programming interface of motion sensor;
Sensing data is sent to the video playing terminal.
The another object of the embodiment of the present invention is to provide a kind of video playing terminal, and the video playing terminal includes:
First link block, for setting up the connection with mobile terminal;
First acquisition module, for obtaining sensing data related in the mobile terminal;
Sensor application module, the related sensing data for being obtained according to first acquisition module is performed Corresponding sensor application.
The another object of the embodiment of the present invention is to provide a kind of mobile terminal, and the mobile terminal includes:
Second link block, for setting up the connection with video playing terminal;
Second acquisition module, for obtaining sensing data from the application programming interface of motion sensor;
Sending module, for sending sensing data to the video playing terminal.
The another object of the embodiment of the present invention is that providing a kind of sensor application of video playing terminal realizes system, its It is characterised by, the system includes mobile terminal and video playing terminal as described above.
In video playing terminal and its sensor application realization method and system provided in an embodiment of the present invention, video playback Terminal is connected with the mobile terminal with motion sensor, and with the sensing data of the motion sensor output on mobile terminal For foundation, corresponding sensor application is performed.I other words, the motion-sensing of mobile terminal is fictionalized in video playing terminal Device, user is by changing the position of mobile terminal, you can complete corresponding sensor application.For example, when user utilizes television set , can be using mobile terminal as game paddle, by the position for changing mobile terminal when carrying out game application, you can completing game should With without individually purchase game paddle, reducing customer using cost, be conducive to pushing away for game application in video playing terminal Extensively.
Brief description of the drawings
Fig. 1 is the flow chart of the sensor application implementation method for the video playing terminal that the embodiment of the present invention one is provided;
Fig. 2 is the flow chart of the sensor application implementation method for the video playing terminal that the embodiment of the present invention two is provided;
Fig. 3 is the flow chart of the sensor application implementation method for the video playing terminal that the embodiment of the present invention three is provided;
Fig. 4 is the flow chart of the sensor application implementation method for the video playing terminal that the embodiment of the present invention four is provided;
Fig. 5 is the flow chart of the sensor application implementation method for the video playing terminal that the embodiment of the present invention five is provided;
Fig. 6 is the flow chart of the sensor application implementation method for the video playing terminal that the embodiment of the present invention six is provided;
Fig. 7 is the flow chart of the data receiver method for the video playing terminal that the embodiment of the present invention seven is provided;
Fig. 8 is the flow chart of the data transmission method for uplink for the mobile terminal that the embodiment of the present invention 13 is provided;
Fig. 9 is the flow chart of the data transmission method for uplink for the mobile terminal that the embodiment of the present invention 14 is provided;
Figure 10 is the flow chart of the data transmission method for uplink for the mobile terminal that the embodiment of the present invention 15 is provided;
Figure 11 is the flow chart of the data transmission method for uplink for the mobile terminal that the embodiment of the present invention 16 is provided;
Figure 12 is the flow chart of the data transmission method for uplink for the mobile terminal that the embodiment of the present invention 17 is provided;
Figure 13 is the structure chart for the video playing terminal that the embodiment of the present invention 18 is provided;
Figure 14 is the structure chart for the video playing terminal that the embodiment of the present invention 19 is provided;
Figure 15 is the structure chart for the video playing terminal that the embodiment of the present invention 20,21 is provided;
Figure 16 is the structure chart for the video playing terminal that the embodiment of the present invention 22,23 is provided;
Figure 17 is the structure chart for the mobile terminal that the embodiment of the present invention 24 is provided;
Figure 18 is the structure chart for the mobile terminal that the embodiment of the present invention 25 is provided;
Figure 19 is the structure chart for the mobile terminal that the embodiment of the present invention 26 is provided;
Figure 20 is the structure chart for the mobile terminal that the embodiment of the present invention 27 is provided;
Figure 21 is the structure chart for the mobile terminal that the embodiment of the present invention 28 is provided.
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.
In the problem of existing for prior art, the present invention, video playing terminal and the mobile end with motion sensor End connection, and using the sensing data of the motion sensor output on mobile terminal as foundation, perform corresponding sensor application.
In the present invention, video playing terminal refers to the terminal device with video playback capability, such as computer, television set Deng;Mobile terminal refers to the portable mobile apparatus with motion sensor, such as smart mobile phone, palm PC;Motion is passed Sensor refer to position about, can sensed position change sensor, be for example built in gyroscope in smart mobile phone, accelerate Meter, magnetometer etc.;Sensor application refers in video playing terminal that the various applications based on motion sensor, such as game should With, menu operation application etc..The realization of the present invention is described in detail below in conjunction with specific embodiment:
Embodiment one
The embodiment of the present invention one provides a kind of sensor application implementation method of video playing terminal, as shown in Figure 1.In detail For thin, including:
Step S11:Video playing terminal is set up with mobile terminal and is connected.
In the embodiment of the present invention one, video playing terminal can be assisted with mobile terminal based on wired communication protocol or radio communication View realizes connection, and according to the difference of connection protocol, the process for setting up connection is different.If for example, video playing terminal with Mobile terminal is based on ICP/IP protocol and realizes connection, then in connection procedure is set up, video playing terminal is based on mobile terminal UPnP protocol sets up connection, and detailed process includes following three step:Source device sends connection request signal to target device;Mesh Marking device responds the connection request signal, and device id, IP address, related port information etc. are returned into source as response message sets It is standby;After source device confirms to response message, the connection with target device is set up, source device therein can be video playing terminal Or mobile terminal.And if video playing terminal is based on other communication protocols with mobile terminal(Such as:Bluetooth protocol etc.)Realize connection, The process of connection is then set up by corresponding communication protocol defined, be will not be described here.
Step S12:Video playing terminal obtains sensing data related in mobile terminal.
In the embodiment of the present invention one, the sensing data needed for each sensor application in video playing terminal is possible to It is different.For example, it is assumed that mobile terminal includes different types of motion sensor 1, motion sensor 2, motion sensor 3, video playing terminal includes sensor application A, sensor application B;For sensor application A, it uses motion sensor 1 The sensing data exported respectively with motion sensor 2, and for sensor application B, it uses motion sensor 1 and motion is passed The sensing data that sensor 3 is exported respectively.Therefore, related sensing data refers to that video playing terminal performs sensor application Required sensing data.
Step S13:Video playing terminal performs corresponding sensor application according to related sensing data.
The embodiment of the present invention one provide video playing terminal sensor application implementation method in, video playing terminal with With motion sensor mobile terminal connection, and using on mobile terminal motion sensor output sensing data as according to According to the corresponding sensor application of execution.I other words, the motion sensor of mobile terminal is fictionalized in video playing terminal, is used Family is by changing the position of mobile terminal, you can complete corresponding sensor application.For example, when user is swum using television set , can be using mobile terminal as game paddle, by the position for changing mobile terminal when play is applied, you can complete game application, and Without individually buying game paddle, customer using cost is reduced, is conducive to the popularization of game application in video playing terminal.
Embodiment two
The embodiment of the present invention two provides a kind of sensor application implementation method of video playing terminal, as shown in Figure 2.Its In, step S201 is identical with step S11, and step S206 is identical with step S13, will not be described here.It is different from shown in Fig. 1, step S202 to step S205 is the refinement to step S12.
In the embodiment of the present invention two, after video playing terminal is connected with mobile terminal foundation, the motion in mobile terminal Sensor is in opening.Specifically, the sensor application for the video playing terminal that the embodiment of the present invention two is provided is real Existing method includes:
Step S201:Video playing terminal is set up with mobile terminal and is connected.
Step S202:Application programming interface of the mobile terminal from motion sensor (ApplicationProgramming Interface, API)Obtain sensing data.
Step S203:Mobile terminal sends sensing data to video playing terminal.
Step S204:Video playing terminal receives sensing data.
Step S205:The sensor application that video playing terminal is performed needed for, abandons unrelated sensing data, protects The sensing data of correlation is stayed, and parsing encapsulation is carried out to related sensing data.Similarly, related sensing data is Refer to the sensing data needed for video playing terminal execution sensor application.
Step S206:Video playing terminal performs corresponding sensor application according to related sensing data.
Embodiment three
The embodiment of the present invention three provides a kind of sensor application implementation method of video playing terminal, as shown in Figure 3.Its In, step S301 is identical with step S11, and step S311 is identical with step S13, will not be described here.It is different from shown in Fig. 1, step S302 to step S310 is the refinement to step S12.
In the embodiment of the present invention three, after video playing terminal is connected with mobile terminal foundation, the motion in mobile terminal Sensor is in opening.Specifically, the sensor application for the video playing terminal that the embodiment of the present invention three is provided is real Existing method includes:
Step S301:Video playing terminal is set up with mobile terminal and is connected.
Step S302:Video playing terminal sends the acquisition request signal of sensor list to mobile terminal.
Step S303:Mobile terminal, which is received, obtains request signal.
Step S304:Mobile terminal obtains sensor list according to request signal is obtained.
In the embodiment of the present invention three, sensor list include sensor type flag bit, device id number, it is current open/ The information such as closed mode;Mobile terminal can obtain sensor list from the application programming interface of motion sensor.
Step S305:Mobile terminal sends sensor list to video playing terminal.
Step S306:Video playing terminal receives sensor list.
Step S307:Mobile terminal obtains sensing data from the application programming interface of motion sensor.
Step S308:Mobile terminal sends sensing data to video playing terminal.
Step S309:Video playing terminal receives sensing data.
Step S310:The sensor application that video playing terminal is performed needed for, abandons unrelated sensing data, protects The sensing data of correlation is stayed, and parsing encapsulation is carried out to related sensing data.Similarly, related sensing data is Refer to the sensing data needed for video playing terminal execution sensor application.
Step S311:Video playing terminal performs corresponding sensor application according to related sensing data.
Example IV
The embodiment of the present invention four provides a kind of sensor application implementation method of video playing terminal, as shown in Figure 4.Its In, step S401 to step S411 is corresponding identical respectively with step S301 to step S311, will not be described here.With shown in Fig. 3 not Together, after step S411, in addition to:
Step S412:The closing that video playing terminal sends corresponding sports sensor in sensor list to mobile terminal refers to Order.
Step S413:Mobile terminal closes corresponding sports sensor according to out code.
Embodiment five
The embodiment of the present invention five provides a kind of sensor application implementation method of video playing terminal, as shown in Figure 5.Its In, step S501 is identical with step S11, and step S513 is identical with step S13, will not be described here.It is different from shown in Fig. 1, step S502 to step S512 is the refinement to step S12.
In the embodiment of the present invention five, after video playing terminal is connected with mobile terminal foundation, the motion in mobile terminal Sensor can be at being turned on and off state.Specifically, the sensor for the video playing terminal that the embodiment of the present invention five is provided Include using implementation method:
Step S501:Video playing terminal is set up with mobile terminal and is connected.
Step S502:Video playing terminal sends the acquisition request signal of sensor list to mobile terminal.
Step S503:Mobile terminal, which is received, obtains request signal.
Step S504:Mobile terminal obtains sensor list according to request signal is obtained.
Step S505:Mobile terminal sends sensor list to video playing terminal.
Step S506:Video playing terminal receives sensor list.
Step S507:The sensor application that video playing terminal is performed needed for, sensor column is sent to mobile terminal The open command of corresponding sports sensor in table.
Step S508:Mobile terminal receives the open command that video playing terminal is sent, and opens phase according to open command Answer motion sensor.
Step S509:Mobile terminal obtains related sensing data from the application programming interface of motion sensor.
Step S510:Mobile terminal sends related sensing data to video playing terminal.
Step S511:Video playing terminal receives related sensing data.
Step S512:Video playing terminal carries out parsing encapsulation to related sensing data.
Step S513:Video playing terminal performs corresponding sensor application according to related sensing data.
Embodiment six
The embodiment of the present invention six provides a kind of sensor application implementation method of video playing terminal, as shown in Figure 6.Its In, step S601 to step S613 is corresponding identical respectively with step S501 to step S513, will not be described here.With shown in Fig. 5 not Together, after step S613, in addition to:
Step S614:The closing that video playing terminal sends corresponding sports sensor in sensor list to mobile terminal refers to Order.
Step S615:Mobile terminal receives the out code that video playing terminal is sent, and closes phase according to out code Answer motion sensor.
Embodiment seven
The embodiment of the present invention seven provides a kind of data receiver method of video playing terminal, as shown in fig. 7, comprises:
Step S71:The connection with mobile terminal is set up, the step is identical with step S11 in embodiment one, does not go to live in the household of one's in-laws on getting married herein State.
Step S72:Obtain sensing data related in mobile terminal.
Step S73:Corresponding sensor application is performed according to related sensing data.
Embodiment eight
The embodiment of the present invention eight provides a kind of data receiver method of video playing terminal.Wherein, step S7101 is extremely walked Rapid S7102 is the refinement to step S72 in embodiment seven.
In the embodiment of the present invention eight, the motion sensor in the mobile terminal being connected with video playing terminal is in out Open state.Specifically, in the embodiment of the present invention eight, step S72 includes:
Step S7101:Receive the sensing data that mobile terminal is sent.
Step S7102:According to the sensor application of required execution, abandon unrelated sensing data, retain related biography Sensor data, and parsing encapsulation is carried out to related sensing data.
Embodiment nine
The embodiment of the present invention nine provides a kind of data receiver method of video playing terminal.Wherein, step S7103 is extremely walked Rapid S7106 is the refinement to step S72 in embodiment seven.
In the embodiment of the present invention nine, the motion sensor in the mobile terminal being connected with video playing terminal is in out Open state.Specifically, in the embodiment of the present invention nine, step S72 includes:
Step S7103:The acquisition request signal of sensor list is sent to mobile terminal.
Step S7104:Receive the sensor list that mobile terminal is sent.
Step S7105:Receive the sensing data that mobile terminal is sent.
Step S7106:According to the sensor application of required execution, abandon unrelated sensing data, retain related biography Sensor data, and parsing encapsulation is carried out to related sensing data.
Embodiment ten
The embodiment of the present invention ten provides a kind of data receiver method of video playing terminal.With inventive embodiments nine not Together, after step S73, in addition to:
Step S74:The out code of corresponding sports sensor in sensor list is sent to mobile terminal.Other steps with Embodiment nine is identical, will not be described here.
Embodiment 11
The embodiment of the present invention 11 provides a kind of data receiver method of video playing terminal.Wherein, step S7107 is extremely Step S7111 is the refinement to step S72 in embodiment seven.
In the embodiment of the present invention 11, the motion sensor in the mobile terminal being connected with video playing terminal can be at It is turned on and off state.Specifically, in the embodiment of the present invention nine, step S72 includes:
Step S7107:The acquisition request signal of sensor list is sent to mobile terminal.
Step S7108:Receive the sensor list that mobile terminal is sent.
Step S7109:According to the sensor application of required execution, corresponding sports in sensor list are sent to mobile terminal The open command of sensor.
Step S7110:Receive the sensing data that mobile terminal is sent.
Step S7111:Parsing encapsulation is carried out to related sensing data.
Embodiment 12
The embodiment of the present invention 12 provides a kind of data receiver method of video playing terminal.With inventive embodiments 11 Difference, after step S73, in addition to:
Step S75:The out code of corresponding sports sensor in sensor list is sent to mobile terminal.Other steps with Embodiment 11 is identical, will not be described here.
Embodiment 13
The embodiment of the present invention 13 provides a kind of data transmission method for uplink of mobile terminal.Wherein, the fortune in mobile terminal Dynamic sensor is in opening, as shown in figure 8, including:
Step S801:Set up the connection with video playing terminal.
Step S802:Sensing data is obtained from the application programming interface of motion sensor.
Step S803:Sensing data is sent to video playing terminal.
Embodiment 14
The embodiment of the present invention 14 provides a kind of data transmission method for uplink of mobile terminal.It is different from embodiment 13, such as Shown in Fig. 9, between step S801 and step S802, in addition to:
Step S804:Receive the acquisition request signal that video playing terminal is sent.
Step S805:According to request signal is obtained, sensor list is obtained.
Step S806:Sensor list is sent to video playing terminal.
Embodiment 15
The embodiment of the present invention 15 provides a kind of data transmission method for uplink of mobile terminal.It is different from embodiment 14, such as Shown in Figure 10, after step S803, in addition to:
Step S807:The out code that video playing terminal is sent is received, corresponding sports sensing is closed according to out code Device.
Embodiment 16
The embodiment of the present invention 16 provides a kind of data transmission method for uplink of mobile terminal.It is different from embodiment 14, move Motion sensor in dynamic terminal can be at being turned on and off state, as shown in figure 11, then step S806 and step S802 it Between, in addition to:
Step S808:The open command that video playing terminal is sent is received, corresponding sports sensing is opened according to open command Device.
Embodiment 17
The embodiment of the present invention 17 provides a kind of data transmission method for uplink of mobile terminal.It is different from embodiment 16, such as Shown in Figure 12, after step S803, in addition to:
Step S807:The out code that video playing terminal is sent is received, corresponding sports sensing is closed according to out code Device.
Embodiment 18
The embodiment of the present invention 18 provides a kind of video playing terminal, as shown in figure 13, including:First link block 11, for setting up the connection with mobile terminal;First acquisition module 12, for obtaining sensor number related in mobile terminal According to;Sensor application module 13, corresponding pass is performed for sensing data obtained according to the first acquisition module 12, related Sensor application.
Embodiment 19
The embodiment of the present invention 19 provides a kind of video playing terminal, as shown in figure 14.With the embodiment of the present invention 18 Difference, Figure 14 is refined to the first acquisition module 12 in Figure 13.
Specifically, the first acquisition module 12 can include:First virtual interface module 123;First radio receiving transmitting module 121, the sensing data for receiving mobile terminal transmission;First driven management module 122, for according to the required biography performed Sensor application, abandons the unrelated sensing data in the sensing data that the first radio receiving transmitting module 121 is received, retains phase The sensing data of pass, and related sensing data is carried out after parsing encapsulation, sent by the first virtual interface module 123 To sensor application module 13.
In the embodiment of the present invention 19, the first link block 11 and the first radio receiving transmitting module 121 constitute video playback end The data transfer layer of system architecture in end;First driven management module 122 as system architecture driven management layer;First is virtual Interface module 123 is provided using virtual-sensor as the interface layer of system architecture to the sensor application module 13 on upper strata Hardware abstraction layer standard interface.Further, data transfer layer and driven management layer between and driven management layer and interface layer Between, interaction can be realized using pipeline or other interprocess communication forms.
Embodiment 20
The embodiment of the present invention 20 provides a kind of video playing terminal, as shown in figure 15.With the embodiment of the present invention 18 Difference, Figure 15 is refined to the first acquisition module 12 in Figure 13.
Specifically, the first acquisition module 12 can include:Second virtual interface module 223;Second radio receiving transmitting module 221, the acquisition request signal for sending sensor list to mobile terminal receives the sensor list that mobile terminal is sent, And receive the sensing data of mobile terminal transmission;Second driven management module 222, for being answered according to the required sensor performed With unrelated sensing data, the biography of reservation correlation in the sensing data that the second radio receiving transmitting module 221 of discarding is received Sensor data, and related sensing data is carried out after parsing encapsulation, sensing is sent to by the second virtual interface module 223 Device application module 13.
In the embodiment of the present invention 20, the first link block 11 and the second radio receiving transmitting module 221 constitute video playback end The data transfer layer of system architecture in end;Second driven management module 222 as system architecture driven management layer;Second is virtual Interface module 223 is provided using virtual-sensor as the interface layer of system architecture to the sensor application module 13 on upper strata Hardware abstraction layer standard interface.Further, data transfer layer and driven management layer between and driven management layer and interface layer Between, interaction can be realized using pipeline or other interprocess communication forms.
Embodiment 21
The embodiment of the present invention 21 provides a kind of video playing terminal, as shown in figure 15.
Different from embodiment 20, in the present embodiment 21, the second driven management module 222 is additionally operable to by second Radio receiving transmitting module 221 sends the out code of corresponding sports sensor in sensor list to mobile terminal.
Embodiment 22
The embodiment of the present invention 22 provides a kind of video playing terminal, as shown in figure 16.With the embodiment of the present invention ten Eight is different, and Figure 16 is refined to the first acquisition module 12 in Figure 13.
Specifically, the first acquisition module 12 can include:3rd virtual interface module 323;3rd radio receiving transmitting module 321, the acquisition request signal for sending sensor list to mobile terminal receives the sensor list that mobile terminal is sent, According to the sensor application of required execution, the open command of corresponding sports sensor in sensor list is sent to mobile terminal, And receive the sensing data of mobile terminal transmission;3rd driven management module 322, for the 3rd radio receiving transmitting module 321 The related sensing data received is carried out after parsing encapsulation, and being sent to sensor by the 3rd virtual interface module 323 should With module 13.
In the embodiment of the present invention 22, the first link block 11 and the 3rd radio receiving transmitting module 321 constitute video playback The data transfer layer of system architecture in terminal;3rd driven management module 322 as system architecture driven management layer;3rd is empty Intend interface module 323 as the interface layer of system architecture, provided to the sensor application module 13 on upper strata and use virtual-sensor Hardware abstraction layer standard interface.Further, data transfer layer and driven management layer between and driven management layer and interface Between layer, interaction can be realized using pipeline or other interprocess communication forms.
Embodiment 23
The embodiment of the present invention 23 provides a kind of video playing terminal, as shown in figure 16.
Different from embodiment 22, in the present embodiment 23, the 3rd driven management module 322 is additionally operable to by Three radio receiving transmitting modules 321 send the out code of corresponding sports sensor in sensor list to mobile terminal.
Embodiment 24
The embodiment of the present invention 24 provides a kind of mobile terminal, as shown in figure 17, including:Second link block 21, For setting up the connection with video playing terminal;Second acquisition module 22, for being connect from the application programming of motion sensor Mouth obtains sensing data;Sending module 23, for sending sensing data to video playing terminal.
In the embodiment of the present invention 24, the second link block 21 constitutes system architecture in mobile terminal with sending module 23 Data transfer layer, the second acquisition module 22 as system architecture data call layer;Further, data transfer layer and data Interaction can be realized using function call mode between calling layer.
Embodiment 25
The embodiment of the present invention 25 provides a kind of mobile terminal, as shown in figure 18.It is different from embodiment 24, move Dynamic terminal can also include:First receiving module 24, the acquisition request signal for receiving video playing terminal transmission;Now, Second acquisition module 22 is additionally operable to, according to request signal is obtained, obtain sensor list;Sending module 23 is additionally operable to broadcast to video Put terminal and send sensor list.
In the embodiment of the present invention 25, the second link block 21, the receiving module 24 of sending module 23 and first, which are constituted, to be moved The data transfer layer of system architecture in dynamic terminal, the second acquisition module 22 as system architecture data call layer;Further, It can be realized and interacted using function call mode between data transfer layer and data call layer.
Embodiment 26
The embodiment of the present invention 26 provides a kind of mobile terminal, as shown in figure 19.It is different from embodiment 25, move Dynamic terminal can also include:Second receiving module 25, the out code for receiving video playing terminal transmission;Motion sensor Closedown module 26, for closing corresponding sports sensor according to out code.
In the embodiment of the present invention 26, the second link block 21, sending module 23, the first receiving module 24 connect with second Receive the data transfer layer that module 25 constitutes system architecture in mobile terminal, the second acquisition module 22 and motion sensor closedown module 26 as system architecture data call layer;Further, function call can be used between data transfer layer and data call layer Mode realizes interaction.
Embodiment 27
The embodiment of the present invention 27 provides a kind of mobile terminal, as shown in figure 20.It is different from embodiment 25, move Dynamic terminal can also include:3rd receiving module 27, the open command for receiving video playing terminal transmission;Motion sensor Opening module 28, for opening corresponding sports sensor according to open command.
In the embodiment of the present invention 27, the second link block 21, sending module 23, the first receiving module 24 connect with the 3rd Receive the data transfer layer that module 27 constitutes system architecture in mobile terminal, the second acquisition module 22 and motion sensor opening module 28 as system architecture data call layer;Further, function call can be used between data transfer layer and data call layer Mode realizes interaction.
Embodiment 28
The embodiment of the present invention 28 provides a kind of mobile terminal, as shown in figure 21.It is different from embodiment 27, move Dynamic terminal can also include:Second receiving module 25, the out code for receiving video playing terminal transmission;Motion sensor Closedown module 26, for closing corresponding sports sensor according to out code.
In the embodiment of the present invention 28, the second link block 21, sending module 23, the first receiving module 24, second connect Receive the data transfer layer that the receiving module 27 of module 25 and the 3rd constitutes system architecture in mobile terminal, the second acquisition module 22, fortune Dynamic sensor closedown module 26 and data call layer of the motion sensor opening module 28 as system architecture;Further, number Interacted according to that can be realized between transport layer and data call layer using function call mode.
Embodiment 29
The embodiment of the present invention 29 realizes system there is provided a kind of sensor application of video playing terminal, including such as this Video playing terminal of the inventive embodiments 18 into the embodiment of the present invention 23 described in any embodiment, and such as the present invention Mobile terminal of the embodiment 24 into the embodiment of the present invention 28 described in any embodiment.
In the sensor application realization method and system for the video playing terminal that the present invention is provided, video playing terminal and band The mobile terminal for having motion sensor is connected, and using the sensing data of the motion sensor output on mobile terminal as foundation, Perform corresponding sensor application.I other words, the motion sensor of mobile terminal, Yong Hutong are fictionalized in video playing terminal Cross the position for changing mobile terminal, you can complete corresponding sensor application.For example, being answered when user carries out game using television set Used time, can be using mobile terminal as game paddle, by the position for changing mobile terminal, you can complete game application, without Individually purchase game paddle, reduces customer using cost, is conducive to the popularization of game application in video playing terminal.
Can be with one of ordinary skill in the art will appreciate that realizing that all or part of step in above-described embodiment method is Control the hardware of correlation to complete by program, described program can in a computer read/write memory medium is stored in, Described storage medium, such as ROM/RAM, disk, CD.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention Any modifications, equivalent substitutions and improvements made within refreshing and principle etc., should be included in the scope of the protection.

Claims (11)

1. the sensor application implementation method of a kind of video playing terminal, it is characterised in that methods described includes:
Video playing terminal is set up with mobile terminal and is connected;
The video playing terminal obtains sensing data related in the mobile terminal;
The video playing terminal performs corresponding sensor application according to the related sensing data;
Wherein, the step of video playing terminal obtains sensing data related in the mobile terminal includes:
The video playing terminal sends the acquisition request signal of sensor list to the mobile terminal;
The mobile terminal receives the acquisition request signal;
The mobile terminal obtains sensor list according to the acquisition request signal, and the sensor list includes sensor Type code position, device id number and current unlatching/closed mode;
The mobile terminal sends the sensor list to the video playing terminal;
The video playing terminal receives the sensor list;
The sensor application that the video playing terminal is performed needed for, phase in sensor list is sent to the mobile terminal Answer the open command of motion sensor;
The mobile terminal receives the open command that the video playing terminal is sent, and opens corresponding according to the open command Motion sensor;
The mobile terminal obtains related sensing data from the application programming interface of the motion sensor;
The mobile terminal sends the related sensing data to the video playing terminal;
The video playing terminal receives the related sensing data;
The video playing terminal carries out parsing encapsulation to the related sensing data;
The video playing terminal sends the out code of corresponding sports sensor in sensor list to the mobile terminal;
The mobile terminal closes corresponding sports sensor according to the out code.
2. the sensor application implementation method of video playing terminal as claimed in claim 1, it is characterised in that the video is broadcast Putting the step of terminal obtains sensing data related in the mobile terminal includes:
The mobile terminal obtains sensing data from the application programming interface of motion sensor;
The mobile terminal sends the sensing data to the video playing terminal;
The video playing terminal receives the sensing data;
The sensor application that the video playing terminal is performed needed for, abandons unrelated sensing data, retains correlation Sensing data, and parsing encapsulation is carried out to the related sensing data.
3. the sensor application implementation method of video playing terminal as claimed in claim 1, it is characterised in that the video is broadcast Putting the step of terminal obtains sensing data related in the mobile terminal includes:
The video playing terminal sends the acquisition request signal of sensor list to the mobile terminal;
The mobile terminal receives the acquisition request signal;
The mobile terminal obtains sensor list according to the acquisition request signal;
The mobile terminal sends the sensor list to the video playing terminal;
The video playing terminal receives the sensor list;
The mobile terminal obtains sensing data from the application programming interface of the motion sensor;
The mobile terminal sends the sensing data to the video playing terminal;
The video playing terminal receives the sensing data;
The sensor application that the video playing terminal is performed needed for, abandons unrelated sensing data, retains correlation Sensing data, and parsing encapsulation is carried out to the related sensing data.
4. the sensor application implementation method of video playing terminal as claimed in claim 3, it is characterised in that the video is broadcast Put after the step of terminal performs corresponding sensor application according to the related sensing data, methods described also includes:
The video playing terminal sends the out code of corresponding sports sensor in sensor list to the mobile terminal;
The mobile terminal closes corresponding sports sensor according to the out code.
5. a kind of data transmission method for uplink of mobile terminal, it is characterised in that methods described includes:
Set up the connection with video playing terminal;
Sensing data is obtained from the application programming interface of motion sensor;
Sensing data is sent to the video playing terminal;
Wherein, the application programming interface from motion sensor obtains sensing data and included:
The acquisition request signal for the sensor list that the video playing terminal is sent is received, according to the acquisition request signal, Obtain sensor list;
Send the sensor list to the video playing terminal, the sensor list include sensor type flag bit, Device id number and current unlatching/closed mode;
The open command of corresponding sports sensor in the sensor list that the video playing terminal is sent is received, is opened according to described Open instruction and open corresponding sports sensor;
Related sensing data is obtained from the application programming interface of the motion sensor;
Video playing terminal closing of corresponding sports sensor into mobile terminal transmission sensor list is received to refer to Order;
Corresponding sports sensor is closed according to the out code.
6. a kind of video playing terminal, it is characterised in that the video playing terminal includes:
First link block, for setting up the connection with mobile terminal;
First acquisition module, for obtaining sensing data related in the mobile terminal;
Sensor application module, the related sensing data for being obtained according to first acquisition module performs correspondence Sensor application;
Wherein, first acquisition module includes:
3rd virtual interface module;
3rd radio receiving transmitting module, the acquisition request signal for sending sensor list to the mobile terminal receives described The sensor list that mobile terminal is sent, according to the sensor application of required execution, sensor column is sent to the mobile terminal The open command of corresponding sports sensor in table, and receive the sensing data that the mobile terminal is sent, the sensor column Table includes sensor type flag bit, device id number and current unlatching/closed mode;
3rd driven management module, for entering to the related sensing data that the 3rd radio receiving transmitting module is received After row parsing encapsulation, the sensor application module is sent to by the 3rd virtual interface module;3rd driving tube Reason module is additionally operable to send corresponding sports biography in sensor list to the mobile terminal by the 3rd radio receiving transmitting module The out code of sensor.
7. video playing terminal as claimed in claim 6, it is characterised in that first acquisition module includes:
First virtual interface module;
First radio receiving transmitting module, for receiving the sensing data that the mobile terminal is sent;
First driven management module, for according to the required sensor application performed, abandoning first radio receiving transmitting module and connecing Unrelated sensing data, the sensing data of reservation correlation in the sensing data received, and to the related sensing Device data are carried out after parsing encapsulation, and the sensor application module is sent to by first virtual interface module.
8. video playing terminal as claimed in claim 7, it is characterised in that first acquisition module includes:
Second virtual interface module;
Second radio receiving transmitting module, the acquisition request signal for sending sensor list to the mobile terminal receives described The sensor list that mobile terminal is sent, and receive the sensing data that the mobile terminal is sent;
Second driven management module, for according to the required sensor application performed, abandoning second radio receiving transmitting module and connecing Unrelated sensing data, the sensing data of reservation correlation in the sensing data received, and to the related sensing Device data are carried out after parsing encapsulation, and the sensor application module is sent to by second virtual interface module.
9. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
Second link block, for setting up the connection with video playing terminal;
Second acquisition module, for obtaining sensing data from the application programming interface of motion sensor;
Sending module, for sending sensing data to the video playing terminal;
Wherein, second acquisition module, the acquisition for being additionally operable to receive the sensor list that the video playing terminal is sent please Signal is sought, according to the acquisition request signal, sensor list is obtained, the sensor column is sent to the video playing terminal Table, receives the open command of corresponding sports sensor in the sensor list that the video playing terminal is sent, is opened according to described Open instruction and open corresponding sports sensor;Receive the video playing terminal and send phase in sensor list to the mobile terminal The out code of motion sensor is answered, corresponding sports sensor is closed according to the out code, from the motion sensor Application programming interface obtains related sensing data, and the sensor list includes sensor type flag bit, equipment No. ID and current unlatching/closed mode.
10. a kind of sensor application of video playing terminal realizes system, it is characterised in that the system include mobile terminal, And the video playing terminal as described in any one of claim 6 to 8.
11. the sensor application of video playing terminal as claimed in claim 10 realizes system, it is characterised in that the movement Terminal includes:
Second link block, for setting up the connection with video playing terminal;
Second acquisition module, for obtaining sensing data from the application programming interface of motion sensor;
Sending module, for sending sensing data to the video playing terminal.
CN201210524778.3A 2012-12-07 2012-12-07 A kind of video playing terminal and its sensor application implementation method, system Expired - Fee Related CN103037252B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210524778.3A CN103037252B (en) 2012-12-07 2012-12-07 A kind of video playing terminal and its sensor application implementation method, system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210524778.3A CN103037252B (en) 2012-12-07 2012-12-07 A kind of video playing terminal and its sensor application implementation method, system

Publications (2)

Publication Number Publication Date
CN103037252A CN103037252A (en) 2013-04-10
CN103037252B true CN103037252B (en) 2017-08-25

Family

ID=48023667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210524778.3A Expired - Fee Related CN103037252B (en) 2012-12-07 2012-12-07 A kind of video playing terminal and its sensor application implementation method, system

Country Status (1)

Country Link
CN (1) CN103037252B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461686B (en) * 2014-11-19 2019-08-13 深圳市掌中灵动科技有限公司 The method and apparatus of sensing data are provided to sensor-based application program
CN106484387A (en) * 2015-09-01 2017-03-08 广州爱九游信息技术有限公司 The method that intelligent mobile terminal is used as game paddle and web game device
CN106060626B (en) * 2016-05-19 2019-02-15 网宿科技股份有限公司 Set-top box and the method for realizing virtual-sensor on the set-top box

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820588A (en) * 2010-05-07 2010-09-01 中兴通讯股份有限公司 Method and network for sharing sensor data among mobile terminals
CN101879375A (en) * 2009-05-06 2010-11-10 鼎亿数码科技(上海)有限公司 Mobile-phone game handle based on Bluetooth transmission and realization method thereof
EP2369515A1 (en) * 2010-03-10 2011-09-28 Vodafone Holding GmbH Mobile communication device adapter for connecting to sensors
CN102445985A (en) * 2010-11-26 2012-05-09 深圳市同洲电子股份有限公司 Digital television receiving terminal and mobile terminal interaction method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101879375A (en) * 2009-05-06 2010-11-10 鼎亿数码科技(上海)有限公司 Mobile-phone game handle based on Bluetooth transmission and realization method thereof
EP2369515A1 (en) * 2010-03-10 2011-09-28 Vodafone Holding GmbH Mobile communication device adapter for connecting to sensors
CN101820588A (en) * 2010-05-07 2010-09-01 中兴通讯股份有限公司 Method and network for sharing sensor data among mobile terminals
CN102445985A (en) * 2010-11-26 2012-05-09 深圳市同洲电子股份有限公司 Digital television receiving terminal and mobile terminal interaction method, device and system

Also Published As

Publication number Publication date
CN103037252A (en) 2013-04-10

Similar Documents

Publication Publication Date Title
US10963147B2 (en) Media-aware interface
JP6243843B2 (en) Device linking
CN102262503B (en) Electronic device and method of controlling the same
TWI547157B (en) Proxy device operation in command and control network
US6629892B2 (en) Game system, game device, game device control method and information storage medium
WO2019062606A1 (en) Overlay comment information display method, providing method, and apparatus
WO2013125829A1 (en) Screen mirroring method and apparatus thereof
CN106385621A (en) Intelligent device control method and device
US20140195925A1 (en) Short-range radio frequency wireless communication data transfer methods and related devices
CN104168503A (en) Video information sharing method and device
CN103702238A (en) Multi-screen video sharing method, terminals and server
CN103037252B (en) A kind of video playing terminal and its sensor application implementation method, system
US8634818B2 (en) Mobile terminal and control method
CN102148842A (en) Audio processing method and equipment for remote desktop protocol
CN101699851B (en) Control method for playing games through novel television and television therewith
JP6124998B2 (en) Method and apparatus for providing immersive interaction through everyday devices
CN105119958A (en) Method and device of controlling intelligent device
CN107526561A (en) Method for information display, mobile terminal and the storage medium of screen prjection
CN103517108A (en) Smart television playing device, mobile terminal, method for achieving somatosensory function and system
CN107896339A (en) A kind of video broadcasting method, terminal and computer-readable recording medium
CN108432256A (en) Interactive application server on second screen apparatus
US7627645B2 (en) Remotely controlling playback of content on a stored device
CN106598540A (en) Audio playing method and device
KR101661232B1 (en) Method for providing contents to external apparatus
KR20130044618A (en) Media card, media apparatus, contents server, and method for operating the same

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170825

CF01 Termination of patent right due to non-payment of annual fee