WO2017185709A1 - Television resource sharing method and apparatus, and television terminal - Google Patents

Television resource sharing method and apparatus, and television terminal Download PDF

Info

Publication number
WO2017185709A1
WO2017185709A1 PCT/CN2016/105139 CN2016105139W WO2017185709A1 WO 2017185709 A1 WO2017185709 A1 WO 2017185709A1 CN 2016105139 W CN2016105139 W CN 2016105139W WO 2017185709 A1 WO2017185709 A1 WO 2017185709A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
request
access
audio
operation request
Prior art date
Application number
PCT/CN2016/105139
Other languages
French (fr)
Chinese (zh)
Inventor
李水旺
Original Assignee
乐视控股(北京)有限公司
乐视致新电子科技(天津)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 乐视控股(北京)有限公司, 乐视致新电子科技(天津)有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2017185709A1 publication Critical patent/WO2017185709A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4367Establishing a secure communication between the client and a peripheral device or smart card
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content

Definitions

  • the embodiments of the present invention relate to the field of television technologies, and in particular, to a method, an apparatus, and a television terminal for sharing resources of a television.
  • TV can provide IE browser, full HD 3D somatosensory games, video calls, family KTV and education online and other entertainment, information, learning resources, and even interact with mobile phones, PAD, laptops, PCs and other electronic devices, but
  • the inventors have found that at least the following problems exist in the prior art: such interaction is limited to the close distance between electronic devices, such as in the same room, and now most families are still accustomed to only A TV is placed in the living room, so family members in other rooms, such as bedrooms or study rooms, cannot share resources with electronic devices via television.
  • An object of the present invention is to provide a method, a device, and a television terminal for sharing resources of a television, which are used to solve the problem that resource sharing cannot be realized between an electronic device and a television when the same room is not in the prior art.
  • the embodiment of the invention provides a method for sharing resources of a television, which is applied to a television terminal, and the method includes:
  • the method before the enabling the WIFI hotspot function on the television, the method further includes:
  • the establishing the WIFI communication with the electronic device according to the access request of the electronic device further includes:
  • the access right includes allowing access, establishing WIFI communication with the electronic device.
  • the access authority further includes at least one of the following operation rights: whether to allow viewing, whether to allow on-demand or whether to modify the permission setting, after receiving the operation request of the electronic device,
  • the method also includes:
  • the data interaction with the electronic device according to the operation request of the electronic device includes:
  • the operation request is a synchronous play request, acquiring audio and video data that is being played by the display screen, and transmitting the audio and video data to the electronic device to implement synchronous play;
  • the WIFI hotspot setting is modified according to the modification data sent by the modification setting request.
  • the display is acquired. Displaying audio and video data being played, and transmitting the audio and video data to the electronic device for synchronous play, including:
  • synchronization information of the audio and video data being played where the synchronization information includes a current play frame or a current play time stamp;
  • An embodiment of the present invention provides a device for sharing a TV resource, where the device includes:
  • the WIFI hotspot module is used to enable the WIFI hotspot function on the television terminal;
  • a communication module configured to establish WIFI communication with the electronic device according to an access request of the electronic device, and configured to perform data interaction with the electronic device according to an operation request of the electronic device.
  • the device further includes a setting module and a determining module:
  • the setting module is configured to set an access right of the electronic device, where the access right includes allowing access;
  • the determining module is configured to determine, according to an access request of the electronic device, whether the access permission of the electronic device includes allowing access;
  • the communication module is further configured to establish WIFI communication with the electronic device when the access permission of the electronic device includes allowing access.
  • the setting module is further configured to set at least one of the following rights included in the access right: whether to allow viewing, whether to allow on-demand or whether to modify the permission setting;
  • the determining module is further configured to determine whether an operation request sent by the electronic device is included in an operation permission allowed by the access permission;
  • the communication module is further configured to respond to the operation request when the operation request is included in an operation permission allowed by the access authority, or to perform an operation that exceeds the permission permission in the operation request The permission request is rejected when the permission is granted.
  • the communication module is further configured to: when the operation request is a synchronous play request, acquire audio and video data that is being played by the display screen, and send the audio and video data to the electronic device to implement Synchronously playing; or for transmitting a directory of audio and video stored by the storage device to the electronic device when the operation request is an on-demand request, and when receiving the playback request of the electronic device, to the electronic device Sending data of the selected audio and video; or for modifying the WIFI hotspot setting according to the modified data sent by the modification setting request when the operation request is a modification setting request.
  • the communication module further includes:
  • a synchronization information acquisition sub-module configured to acquire synchronization information of the audio and video data being played when the operation request is a synchronous play request, where the synchronization information includes a current play frame or a current play time stamp;
  • a data acquisition submodule configured to acquire audio and video data corresponding to the synchronization information from a data buffer module of the television
  • a sending submodule configured to broadcast the audio and video data to the electronic device for playing.
  • An embodiment of the present invention provides a television terminal, where the television terminal includes:
  • At least one processor as well,
  • the memory stores audio and video data and instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
  • the at least one processor is further capable of:
  • Executing a judgment instruction determining, according to an access request of the electronic device, whether the access authority of the electronic device includes allowing access;
  • the at least one processor is further capable of:
  • Execute the permission setting instruction and set at least one of the following rights included in the access permission: whether to allow viewing, whether to allow on-demand or whether to modify the permission setting;
  • the at least one processor is further capable of:
  • the operation request is a synchronous play request, executing an audio and video data acquisition instruction, acquiring audio and video data that is being played by the display screen, and controlling the wireless communication module to send the audio and video data to the electronic device to achieve synchronization Play
  • the wireless communication module to send a directory of audio and video stored in the memory to the electronic device, and controlling the wireless communication module when receiving a play request of the electronic device Transmitting data of the selected audio and video to the electronic device;
  • the operation request is a modification setting request
  • executing a setting instruction and modifying the WIFI hotspot setting according to the modification data sent by the modification setting request.
  • the at least one processor is further capable of:
  • the operation request is a synchronous play request, executing a synchronization instruction, acquiring synchronization information of the audio and video data being played, where the synchronization information includes a current play frame or a current play time stamp;
  • Controlling the wireless communication module to transparently transmit the audio and video data to the electronic device for playing.
  • a non-transitory computer readable storage medium storing program instructions, when the terminal device executes the program instructions, the program instructions are used to make the terminal device Perform the above method.
  • Embodiments of the present invention provide a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a television terminal, The television terminal performs the method described above.
  • the technical solution of the embodiment of the present invention has the following advantages: setting a WIFI hotspot function on a television, establishing WIFI communication with the electronic device through the WIFI hotspot, and exchanging data with the electronic device according to an operation request of the electronic device, thereby realizing sharing with the electronic device.
  • the resource overcomes the shortcomings of the prior art that the interaction between the television and the electronic device must be realized in the same room.
  • FIG. 1 is a flowchart of a method for sharing resources of a television according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic structural diagram of a module of a device for sharing a TV according to Embodiment 2 of the present invention
  • FIG. 3 is a flowchart of another method for sharing resources of a television according to Embodiment 3 of the present invention.
  • step S309 is a flowchart of step S309 when the operation request is a synchronous play request in FIG. 3;
  • FIG. 5 is a schematic structural diagram of another apparatus for sharing a television resource according to Embodiment 4 of the present invention.
  • FIG. 6 is a schematic structural diagram of hardware of a television terminal according to Embodiment 5 of the present invention.
  • the first embodiment of the present invention provides a method for sharing resources of a television.
  • the method is applicable to a television, especially a smart television.
  • the method process includes:
  • WIFI wireless fidelity
  • the electronic device can be a mobile phone, a PAD, a laptop, a PC, and the like.
  • the WIFI hotspot function can be implemented by using the WIFI module in the TV in step S101.
  • the WIFI module can directly use a WIFI module with two Media Access Control (MAC) addresses, or a WIFI module with only one MAC address.
  • MAC Media Access Control
  • a virtual MAC address can be simulated by a preset software to implement the WIFI hotspot function.
  • the WIFI module can convert the network signal into a wireless WIFI signal output.
  • the network interface may be a wired network interface, such as an Ethernet interface, and receive a wired network signal; the network interface may also be a third-generation mobile communication technology (3rd-Generation, 3G) network card interface, and receive a 3G network signal in the 3G network.
  • 3G third-generation mobile communication technology
  • the network interface receives the network signal, the network signal It is provided to the TV for the TV to realize the Internet access function, and the network signal is output to the WIFI module, and the WIFI module performs data processing on the network signal received by the network interface, and then converts into a wireless WIFI signal output through the coil and the antenna.
  • the electronic device for example, a device with a wireless Internet access function such as a mobile phone or a notebook
  • step S103 performing data interaction with the electronic device according to the operation request of the electronic device, including:
  • the operation request is a synchronous play request, acquiring audio and video data that is being played by the display screen, and transmitting the audio and video data to the electronic device through the WIFI hotspot of the television to implement synchronous play;
  • the directory of the audio and video stored by the storage device is sent to the electronic device, and when the playback request of the electronic device is received, the data of the selected audio and video is transmitted to the electronic device;
  • the WIFI hotspot setting is modified according to the modification data sent by the modification setting request.
  • WIFI transparent transmission technology can be used for data interaction with electronic devices, so that the electronic device can simultaneously watch the content being played by the television; at the same time, the television has large memory, and the content stored on the television can also be selected by the electronic device. Thereby enriching the way the family entertains.
  • the WIFI hotspot function is set on the television, and the WIFI communication is established between the WIFI hotspot and the electronic device, and the data exchange with the electronic device is performed according to the operation request of the electronic device, thereby realizing the shared resource with the electronic device.
  • a small local area network is formed, which overcomes the shortcomings in the prior art that the interaction between the television and the electronic device must be realized in the same room.
  • Embodiment 2 of the present invention provides a device for sharing resources of a television, which is suitable for a television set, please refer to Figure 2, the device includes:
  • the WIFI hotspot module 201 is configured to enable the WIFI hotspot function
  • the communication module 202 is configured to establish WIFI communication with the electronic device according to the access request of the electronic device, and to perform data interaction with the electronic device according to the operation request of the electronic device.
  • the WIFI hotspot module 201 may further include the following sub-module: a network interface for receiving network signals and a WIFI module for converting network signals into wireless WIFI signals, wherein the network interface receives the network signal After the network signal is output to the WIFI module, the WIFI module converts the network signal into a wireless WIFI signal output after performing data processing.
  • a WIFI module with two MAC addresses can be directly used, or a WIFI module with only one MAC address can be used.
  • a virtual MAC address can be simulated by a preset software, thereby implementing a WIFI hotspot function.
  • the network interface may be a wired network interface, and receive a wired network signal; the network interface may also be a 3G network card interface, and receive a 3G network signal in the 3G network.
  • the communication module 202 is further configured to: when the operation request is a synchronous play request, acquire audio and video data that is being played by the display screen, and send the audio and video data to the electronic device to implement synchronous play. Or when the operation request is an on-demand request, the directory of the audio and video stored by the storage device is sent to the electronic device, and when the playback request of the electronic device is received, the selected audio and video is sent to the electronic device.
  • the data is also used to modify the WIFI hotspot setting according to the modified data sent by the modification setting request when the operation request is a modification setting request.
  • the WIFI hotspot module is set on the television, the WIFI communication is established with the electronic device through the WIFI hotspot, and the data exchange with the electronic device is requested according to the operation request of the electronic device, thereby realizing the shared resource with the electronic device. It overcomes the shortcomings in the prior art that the interaction between the television and the electronic device must be realized in the same room.
  • the third embodiment of the present invention provides another method for sharing resources of a television.
  • the method process includes:
  • S301 preset a WIFI hotspot function of the television and an access right of the electronic device to be accessed.
  • the WIFI hotspot of the TV can be managed by installing a preset APP application on the TV. Through the application, you can enter the setting interface to set the access rights of the electronic device.
  • the access authority may include at least one of the following operation rights: whether to allow access, whether to allow viewing, whether to allow on-demand, or whether to modify the permission setting.
  • the access permission is defined as: whether the electronic device is allowed to access the WIFI hotspot; the viewing definition is: allowing the electronic device to view on the same screen as the television; and modifying the permission setting is defined as: whether the electronic device is allowed to modify the access right.
  • the MAC address setting authority of the electronic device is used for description.
  • the WIFI hotspot function can be automatically turned on when the TV is turned on, or the WIFI hotspot function can be turned on according to the command input by the user.
  • S303 Receive an access request of an electronic device, where the access request carries a MAC address of the electronic device.
  • S307. Receive an operation request sent by an electronic device.
  • step S308. Determine whether the operation request is included in the operation permission allowed by the access authority. If the step S309 is performed, otherwise step S310 is performed.
  • the operation request may be a synchronous viewing request
  • the step S310 responding to the operation request includes: acquiring audio and video data that the display screen is playing, and Sending the audio and video data to the electronic device for synchronous play, please refer to FIG. 4, including the following steps:
  • the audio and video data television is played to the electronic device.
  • the authority of the electronic device is set by setting a user name and a password
  • the input user and the password prompt are sent to the electronic device, and then the user is fed back according to the electronic device.
  • the name and password determine the access rights of the electronic device.
  • a WIFI hotspot module is set on a television, and a WIFI communication is established between the WIFI hotspot and the electronic device, and data exchange with the electronic device is requested according to an operation request of the electronic device, thereby realizing sharing resources with the electronic device. It overcomes the shortcomings in the prior art that the interaction between the television and the electronic device must be realized in the same room.
  • the fourth embodiment of the present invention provides a device for sharing resources of a television, which is applicable to a television.
  • the device includes:
  • the setting module 501 is configured to preset a WIFI hotspot function of the television and an access right of the electronic device to be accessed.
  • the access authority may include at least one of the following operation rights: whether to allow access, whether to allow viewing, whether to allow on-demand, or whether to modify the permission setting.
  • the MAC address of the electronic device or the device identifier may be directly used to set different permissions.
  • the WIFI hotspot module 502 is used to enable the WIFI hotspot function.
  • the structure of the WIFI hotspot module 502 can adopt the hotspot module in the second embodiment, where No longer.
  • the receiving module 503 is configured to receive an access request of the electronic device, where the access request carries a MAC address of the electronic device.
  • the determining module 504 is configured to obtain a MAC address of the electronic device from the access request, determine an access right of the electronic device according to the MAC address, and determine whether the access right includes permission to access;
  • the communication module 505 is configured to establish WIFI communication with the electronic device when the access permission of the electronic device includes allowing access, or to reject the electronic device when the access permission of the electronic device does not include permission to access Access request.
  • the receiving module 503 is further configured to receive an operation request sent by the electronic device.
  • the determining module 504 is further configured to determine whether the operation request is included in an operation permission allowed by the access authority.
  • the communication module 505 is further configured to: when the operation request is included in the operation permission allowed by the access permission, respond to the operation request, or when the operation request exceeds the operation permission allowed in the access permission, reject the Operation request.
  • the communication module 505 when the operation request sent by the electronic device is a synchronous play request, if the access right of the electronic device includes the viewing right, the communication module 505 further includes:
  • a synchronization information acquisition sub-module configured to acquire synchronization information of the audio and video data being played when the operation request is a synchronous play request, where the synchronization information includes a current play frame or a current play time stamp;
  • a data acquisition submodule configured to acquire audio and video data corresponding to the synchronization information from a data buffer module of the television
  • the sending submodule is configured to play the audio and video data television to the electronic device.
  • the setting module 501 can also set different user names and passwords for each electronic device, and then set different permissions for the electronic devices corresponding to different user names
  • the communication module 505 is further configured to receive After the electronic device inputs the request, the input user and the password prompt are sent to the electronic device, and the determining module 504 determines the access right of the electronic device according to the user name and password fed back by the electronic device. limit.
  • the setting module 501 can also set different permissions corresponding to the device identifiers of the electronic devices.
  • the determining module 504 determines the access rights of the electronic device by identifying the device identifier of the electronic device.
  • the WIFI hotspot module is set on the television, the WIFI communication is established with the electronic device through the WIFI hotspot, and the data exchange with the electronic device is requested according to the operation request of the electronic device, thereby realizing the shared resource with the electronic device. It overcomes the shortcomings in the prior art that the interaction between the television and the electronic device must be realized in the same room.
  • One or more processors 610 and a memory 620 and a wireless communication module 630 are exemplified by one processor 610 in FIG.
  • the processor 610, the memory 620, and the wireless communication module may be connected by a bus or other means, and the bus connection is taken as an example in FIG.
  • the memory 620 is a non-volatile computer readable storage medium, and is applicable to a non-volatile software program, a non-volatile computer-executable program, and a module, such as a method for sharing resources of a television in the embodiment of the present application.
  • the processor 610 executes various functional applications of the server and data processing by executing non-volatile software programs, instructions, and modules stored in the memory 620, that is, a method of implementing the television sharing resource in the above method embodiments.
  • the memory 620 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store an audio and video directory, an audio and video file, and the like.
  • memory 620 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • memory 620 can optionally include memory remotely located relative to processor 610, which can be connected to the television terminal over a network. Above network Examples include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the embodiment further provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by the television terminal, The method for the television terminal to perform the television sharing resource in the foregoing method embodiment.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, ie may be located in one Places, or they can be distributed to multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Provided are a television resource sharing method and apparatus, and a television terminal, which fall within the technical field of televisions. The method flow comprises: starting a WIFI hotspot function pre-set on a television; establishing WIFI communication with an electronic device according to an access request of the electronic device; and performing data interaction with the electronic device according to an operation request of the electronic device. In the embodiments of the present invention, a WIFI hotspot function is set on a television terminal, WIFI communication with an electronic device is established by means of the WIFI hotspot, and data exchange is performed with the electronic device according to an operation request of the electronic device, thereby realizing resource sharing with the electronic device.

Description

一种电视共享资源的方法、装置及电视终端Method, device and television terminal for sharing resources of television
本申请要求申请号为CN201610264402.1、申请日为2016年04月25日、发明名称为“一种电视共享资源的方法及装置”的中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application claims the priority of the Chinese patent application with the application number CN201610264402.1 and the application date being April 25, 2016, and the invention name is "a method and device for sharing television resources", the entire contents of which are This application is hereby incorporated by reference.
【技术领域】[Technical Field]
本发明实施例涉及电视技术领域,尤其涉及一种电视共享资源的方法、装置及电视终端。The embodiments of the present invention relate to the field of television technologies, and in particular, to a method, an apparatus, and a television terminal for sharing resources of a television.
【背景技术】【Background technique】
随着电子技术的发展和人们生活水平的不断提高,电视的使用越来越普及。电视能提供IE浏览器、全高清3D体感游戏、视频通话、家庭KTV以及教育在线等多种娱乐、资讯、学习资源,甚至能够与手机、PAD、手提电脑、PC端等电子设备实现互动,但是在实现本发明过程中,发明人发现现有技术中至少存在如下问题:这样的互动仅限于电子设备之间距离较近,例如在同一房间内的情况,而现在大部分家庭还是习惯于仅在客厅摆放一台电视,因此在卧室或者是书房等其他房间中的家庭成员,无法通过电子设备与电视实现资源共享。With the development of electronic technology and the continuous improvement of people's living standards, the use of television has become more and more popular. TV can provide IE browser, full HD 3D somatosensory games, video calls, family KTV and education online and other entertainment, information, learning resources, and even interact with mobile phones, PAD, laptops, PCs and other electronic devices, but In the process of implementing the present invention, the inventors have found that at least the following problems exist in the prior art: such interaction is limited to the close distance between electronic devices, such as in the same room, and now most families are still accustomed to only A TV is placed in the living room, so family members in other rooms, such as bedrooms or study rooms, cannot share resources with electronic devices via television.
【发明内容】[Summary of the Invention]
本发明实施例的目的在于提供一种电视共享资源的方法、装置及电视终端,用以解决现有技术中,不在同一房间时电子设备与电视间不能实现资源共享的问题。An object of the present invention is to provide a method, a device, and a television terminal for sharing resources of a television, which are used to solve the problem that resource sharing cannot be realized between an electronic device and a television when the same room is not in the prior art.
本发明实施例采用的技术方案如下:The technical solution adopted by the embodiment of the present invention is as follows:
本发明实施例提供一种电视共享资源的方法,应用于电视终端,所述方法包括:The embodiment of the invention provides a method for sharing resources of a television, which is applied to a television terminal, and the method includes:
开启电视终端上的WIFI热点功能; Turn on the WIFI hotspot function on the TV terminal;
根据电子设备的接入请求与所述电子设备建立WIFI通讯;Establishing WIFI communication with the electronic device according to an access request of the electronic device;
根据所述电子设备的操作请求与所述电子设备进行数据交互。Performing data interaction with the electronic device according to an operation request of the electronic device.
进一步的,上述方法中,所述开启电视上的WIFI热点功能之前,所述方法还包括:Further, in the foregoing method, before the enabling the WIFI hotspot function on the television, the method further includes:
设置所述电子设备的接入权限,所述接入权限包括是否允许接入;Setting an access right of the electronic device, where the access right includes whether access is allowed;
所述根据电子设备的接入请求与所述电子设备建立WIFI通讯,还包括:The establishing the WIFI communication with the electronic device according to the access request of the electronic device, further includes:
根据电子设备的接入请求判断所述电子设备的接入权限是否包括允许接入;Determining, according to an access request of the electronic device, whether the access authority of the electronic device includes allowing access;
当所述接入权限包括允许接入时,与所述电子设备建立WIFI通讯。When the access right includes allowing access, establishing WIFI communication with the electronic device.
进一步的,上述方法中,所述接入权限还包括如下操作权限中的至少一种:是否允许观看、是否允许点播或者是否允许修改权限设置,所述接收所述电子设备的操作请求之后,所述方法还包括:Further, in the above method, the access authority further includes at least one of the following operation rights: whether to allow viewing, whether to allow on-demand or whether to modify the permission setting, after receiving the operation request of the electronic device, The method also includes:
判断所述电子设备发送的操作请求是否包含在所述接入权限允许的操作权限之内;Determining whether the operation request sent by the electronic device is included in an operation permission allowed by the access permission;
若是,响应所述操作请求;If yes, responding to the operation request;
否则,拒绝所述操作请求。Otherwise, the operation request is rejected.
进一步的,上述方法中,所述根据所述电子设备的操作请求与所述电子设备进行数据交互,包括:Further, in the above method, the data interaction with the electronic device according to the operation request of the electronic device includes:
当所述操作请求为同步播放请求时,获取显示屏正在播放的音视频数据,并将所述音视频数据发送给所述电子设备以实现同步播放;When the operation request is a synchronous play request, acquiring audio and video data that is being played by the display screen, and transmitting the audio and video data to the electronic device to implement synchronous play;
当所述操作请求为点播请求时,向所述电子设备发送存储装置存储的音视频的目录,并在接收到所述电子设备的播放请求时,向所述电子设备发送被选择的音视频的数据;Sending, to the electronic device, a directory of audio and video stored by the storage device when the operation request is an on-demand request, and transmitting the selected audio and video to the electronic device when receiving the play request of the electronic device data;
当所述操作请求为修改设置请求时,根据所述修改设置请求发送的修改数据修改WIFI热点设置。When the operation request is a modification setting request, the WIFI hotspot setting is modified according to the modification data sent by the modification setting request.
进一步的,上述方法中,所述当所述操作请求为同步播放请求时,获取显 示屏正在播放的音视频数据,并将所述音视频数据发送给所述电子设备以实现同步播放,包括:Further, in the above method, when the operation request is a synchronous play request, the display is acquired. Displaying audio and video data being played, and transmitting the audio and video data to the electronic device for synchronous play, including:
获取所述正在播放的音视频数据的同步信息,所述同步信息包括当前播放帧或当前播放时间戳;Obtaining synchronization information of the audio and video data being played, where the synchronization information includes a current play frame or a current play time stamp;
从数据缓存模块获取与所述同步信息对应的音视频数据;Obtaining audio and video data corresponding to the synchronization information from a data cache module;
将所述音视频数据发送给所述电子设备进行播放。And transmitting the audio and video data to the electronic device for playing.
本发明实施例提供一种电视共享资源的装置,所述装置包括:An embodiment of the present invention provides a device for sharing a TV resource, where the device includes:
WIFI热点模块,用于开启电视终端上的的WIFI热点功能;The WIFI hotspot module is used to enable the WIFI hotspot function on the television terminal;
通讯模块,用于根据电子设备的接入请求与所述电子设备建立WIFI通讯,以及用于根据所述电子设备的操作请求与所述电子设备进行数据交互。And a communication module, configured to establish WIFI communication with the electronic device according to an access request of the electronic device, and configured to perform data interaction with the electronic device according to an operation request of the electronic device.
进一步的,上述装置中,所述装置还包括设置模块及判断模块:Further, in the above device, the device further includes a setting module and a determining module:
所述设置模块用于设置所述电子设备的接入权限,所述接入权限包括允许接入;The setting module is configured to set an access right of the electronic device, where the access right includes allowing access;
所述判断模块用于根据电子设备的接入请求判断所述电子设备的接入权限是否包括允许接入;The determining module is configured to determine, according to an access request of the electronic device, whether the access permission of the electronic device includes allowing access;
所述通讯模块还用于在所述电子设备的接入权限包括允许接入时,与所述电子设备建立WIFI通讯。The communication module is further configured to establish WIFI communication with the electronic device when the access permission of the electronic device includes allowing access.
进一步的,上述装置中,所述设置模块,还用于设置接入权限中包括的如下权限中的至少一种:是否允许观看、是否允许点播或者是否允许修改权限设置;Further, in the foregoing apparatus, the setting module is further configured to set at least one of the following rights included in the access right: whether to allow viewing, whether to allow on-demand or whether to modify the permission setting;
所述判断模块还用于判断所述电子设备发送的操作请求是否包含在所述接入权限允许的操作权限之内;The determining module is further configured to determine whether an operation request sent by the electronic device is included in an operation permission allowed by the access permission;
所述通讯模块还用于在所述操作请求包含在所述接入权限允许的操作权限之内时,响应所述操作请求,或者用于在所述操作请求超出所述接入权限允许的操作权限时,拒绝所述操作请求。 The communication module is further configured to respond to the operation request when the operation request is included in an operation permission allowed by the access authority, or to perform an operation that exceeds the permission permission in the operation request The permission request is rejected when the permission is granted.
进一步的,上述装置中,所述通讯模块还用于在所述操作请求为同步播放请求时,获取显示屏正在播放的音视频数据,并将所述音视频数据发送给所述电子设备以实现同步播放;或者还用于在所述操作请求为点播请求时,向所述电子设备发送存储装置存储的音视频的目录,并在接收到所述电子设备的播放请求时,向所述电子设备发送被选择的音视频的数据;或者还用于在所述操作请求为修改设置请求时,根据所述修改设置请求发送的修改数据修改WIFI热点设置。Further, in the above device, the communication module is further configured to: when the operation request is a synchronous play request, acquire audio and video data that is being played by the display screen, and send the audio and video data to the electronic device to implement Synchronously playing; or for transmitting a directory of audio and video stored by the storage device to the electronic device when the operation request is an on-demand request, and when receiving the playback request of the electronic device, to the electronic device Sending data of the selected audio and video; or for modifying the WIFI hotspot setting according to the modified data sent by the modification setting request when the operation request is a modification setting request.
进一步的,上述装置中,所述通讯模块还包括:Further, in the above device, the communication module further includes:
同步信息获取子模块,用于在所述操作请求为同步播放请求时,获取所述正在播放的音视频数据的同步信息,所述同步信息包括当前播放帧或当前播放时间戳;a synchronization information acquisition sub-module, configured to acquire synchronization information of the audio and video data being played when the operation request is a synchronous play request, where the synchronization information includes a current play frame or a current play time stamp;
数据获取子模块,用于从所述电视的数据缓存模块获取与所述同步信息对应的音视频数据;a data acquisition submodule, configured to acquire audio and video data corresponding to the synchronization information from a data buffer module of the television;
发送子模块,用于将所述音视频数据电视给所述电子设备进行播放。And a sending submodule, configured to broadcast the audio and video data to the electronic device for playing.
本发明实施例提供一种电视终端,所述电视终端包括:An embodiment of the present invention provides a television terminal, where the television terminal includes:
至少一个处理器以及,At least one processor as well,
与所述至少一个处理器通信连接的存储器和无线通信模块;其中,a memory and a wireless communication module communicably coupled to the at least one processor; wherein
所述存储器存储有音视频数据和可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:The memory stores audio and video data and instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
控制所述无线通信模块开启电视终端上的WIFI热点功能,并根据电子设备的接入请求与所述电子设备建立WIFI通讯,以及根据所述电子设备的操作请求与所述电子设备进行数据交互。Controlling the wireless communication module to enable the WIFI hotspot function on the television terminal, and establishing WIFI communication with the electronic device according to the access request of the electronic device, and performing data interaction with the electronic device according to the operation request of the electronic device.
进一步的,所述至少一个处理器还能够:Further, the at least one processor is further capable of:
执行权限设置指令,设置所述电子设备的接入权限,所述接入权限包括允许接入; Executing a permission setting instruction, setting an access right of the electronic device, where the access right includes allowing access;
执行判断指令,根据电子设备的接入请求判断所述电子设备的接入权限是否包括允许接入;Executing a judgment instruction, determining, according to an access request of the electronic device, whether the access authority of the electronic device includes allowing access;
在所述电子设备的接入权限包括允许接入时,控制所述无线通信模块与所述电子设备建立WIFI通讯。And controlling, when the access permission of the electronic device includes allowing access, establishing, by the wireless communication module, WIFI communication with the electronic device.
进一步的,所述至少一个处理器还能够:Further, the at least one processor is further capable of:
执行权限设置指令,设置接入权限中包括的如下权限中的至少一种:是否允许观看、是否允许点播或者是否允许修改权限设置;Execute the permission setting instruction, and set at least one of the following rights included in the access permission: whether to allow viewing, whether to allow on-demand or whether to modify the permission setting;
执行判断指令,判断所述电子设备发送的操作请求是否包含在所述接入权限允许的操作权限之内;Executing a judgment instruction, determining whether the operation request sent by the electronic device is included in an operation permission allowed by the access authority;
当所述操作请求包含在所述接入权限允许的操作权限之内时,执行响应指令,响应所述操作请求,或者当所述操作请求超出所述接入权限允许的操作权限时,执行拒绝指令,拒绝所述操作请求。Performing a rejection when the operation request is included in an operation authority permitted by the access authority, in response to the operation request, or when the operation request exceeds an operation authority permitted by the access authority An instruction to reject the operation request.
进一步的,所述至少一个处理器还能够:Further, the at least one processor is further capable of:
在所述操作请求为同步播放请求时,执行音视频数据获取指令,获取显示屏正在播放的音视频数据,并控制所述无线通信模块将所述音视频数据发送给所述电子设备以实现同步播放;And when the operation request is a synchronous play request, executing an audio and video data acquisition instruction, acquiring audio and video data that is being played by the display screen, and controlling the wireless communication module to send the audio and video data to the electronic device to achieve synchronization Play
或者在所述操作请求为点播请求时,控制所述无线通信模块向所述电子设备发送存储器存储的音视频的目录,并在接收到所述电子设备的播放请求时,控制所述无线通信模块向所述电子设备发送被选择的音视频的数据;Or controlling, when the operation request is an on-demand request, the wireless communication module to send a directory of audio and video stored in the memory to the electronic device, and controlling the wireless communication module when receiving a play request of the electronic device Transmitting data of the selected audio and video to the electronic device;
或者在所述操作请求为修改设置请求时,执行设置指令,根据所述修改设置请求发送的修改数据修改WIFI热点设置。Or, when the operation request is a modification setting request, executing a setting instruction, and modifying the WIFI hotspot setting according to the modification data sent by the modification setting request.
进一步的,所述至少一个处理器还能够:Further, the at least one processor is further capable of:
在所述操作请求为同步播放请求时,执行同步指令,获取所述正在播放的音视频数据的同步信息,所述同步信息包括当前播放帧或当前播放时间戳;When the operation request is a synchronous play request, executing a synchronization instruction, acquiring synchronization information of the audio and video data being played, where the synchronization information includes a current play frame or a current play time stamp;
执行音视频获取模块,从所述电视终端的存储器中获取与所述同步信息对应的音视频数据; Performing an audio and video acquisition module, and acquiring audio and video data corresponding to the synchronization information from a memory of the television terminal;
控制所述无线通信模块将所述音视频数据透传给所述电子设备进行播放。Controlling the wireless communication module to transparently transmit the audio and video data to the electronic device for playing.
本发明实施例一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储程序指令,当终端设备执行所述程序指令时,所述程序指令用于使所述终端设备执行上述的方法。A non-transitory computer readable storage medium storing program instructions, when the terminal device executes the program instructions, the program instructions are used to make the terminal device Perform the above method.
本发明实施例提供一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当程序指令被电视终端执行时,使所述电视终端执行上述的方法。Embodiments of the present invention provide a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a television terminal, The television terminal performs the method described above.
本发明实施例的技术方案具有以下优点:在电视上设置WIFI热点功能,通过该WIFI热点与电子设备建立WIFI通讯,根据电子设备的操作请求与电子设备的数据交换,从而实现与电子设备的共享资源,克服了现有技术中电视与电子设备互动必须在同一房间中才能实现的缺点。The technical solution of the embodiment of the present invention has the following advantages: setting a WIFI hotspot function on a television, establishing WIFI communication with the electronic device through the WIFI hotspot, and exchanging data with the electronic device according to an operation request of the electronic device, thereby realizing sharing with the electronic device. The resource overcomes the shortcomings of the prior art that the interaction between the television and the electronic device must be realized in the same room.
【附图说明】[Description of the Drawings]
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本发明实施例一提供的一种电视共享资源的方法的流程图;1 is a flowchart of a method for sharing resources of a television according to Embodiment 1 of the present invention;
图2为本发明实施例二提供的一种电视共享资源的装置的模块结构示意图;2 is a schematic structural diagram of a module of a device for sharing a TV according to Embodiment 2 of the present invention;
图3为本发明实施例三提供的另一种电视共享资源的方法的流程图;3 is a flowchart of another method for sharing resources of a television according to Embodiment 3 of the present invention;
图4为图3中当操作请求为同步播放请求时,步骤S309的流程图;4 is a flowchart of step S309 when the operation request is a synchronous play request in FIG. 3;
图5为本发明实施例四提供的另一种电视共享资源的装置的模块结构示意 图;FIG. 5 is a schematic structural diagram of another apparatus for sharing a television resource according to Embodiment 4 of the present invention; Figure
图6为本发明实施例五提供的电视终端的硬件结构示意图。FIG. 6 is a schematic structural diagram of hardware of a television terminal according to Embodiment 5 of the present invention.
【具体实施方式】【detailed description】
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例一提供了一种电视共享资源的方法,该方法适用于电视,特别是智能电视,请参阅图1,方法流程包括:The first embodiment of the present invention provides a method for sharing resources of a television. The method is applicable to a television, especially a smart television. Referring to FIG. 1, the method process includes:
S101、开启在电视上预先设置的无线保真(wireless fidelity,WIFI)热点功能;S101. Turn on a wireless fidelity (WIFI) hotspot function preset on the television;
S102、根据电子设备的接入请求与该电子设备建立WIFI通讯;S102. Establish a WIFI communication with the electronic device according to an access request of the electronic device.
S103、根据该电子设备的操作请求与该电子设备进行数据交互。S103. Perform data interaction with the electronic device according to an operation request of the electronic device.
实际应用中,电子设备可以是手机、PAD、手提电脑、PC端等。In practical applications, the electronic device can be a mobile phone, a PAD, a laptop, a PC, and the like.
在一个可选的方案中,步骤S101中可以利用电视中的WIFI模组实现WIFI热点功能。该WIFI模组可以直接采用具有两个介质访问控制(Media Access Control,MAC)地址的WIFI模组,也可以采用只有一个MAC地址的WIFI模组。当采用只有一个MAC地址的模组时,则可以通过预设的软件模拟一个虚拟MAC地址,从而实现WIFI热点功能。开启热点功能后,当电视的网络接口接收到网络信号时,WIFI模组便可将网络信号转换成无线WIFI信号输出。In an optional solution, the WIFI hotspot function can be implemented by using the WIFI module in the TV in step S101. The WIFI module can directly use a WIFI module with two Media Access Control (MAC) addresses, or a WIFI module with only one MAC address. When a module with only one MAC address is used, a virtual MAC address can be simulated by a preset software to implement the WIFI hotspot function. After the hotspot function is enabled, when the network interface of the TV receives the network signal, the WIFI module can convert the network signal into a wireless WIFI signal output.
具体的,网络接口可以为有线网络接口,如以太网接口,接收有线网络信号;网络接口也可以为第三代移动通信技术(3rd-Generation,3G)网卡接口,接收3G网络中的3G网络信号。当网络接口接收到网络信号时,将该网络信号 提供给电视,供电视实现上网功能,同时将该网络信号输出至WIFI模组,由WIFI模组将网络接口接收的网络信号进行数据处理后,通过线圈和天线转换成无线WIFI信号输出。此时电子设备(例如手机、笔记本等具有无线上网功能的设备)可搜索到该无线WIFI信号,并向电视发出接入请求,与电视建立WIFI通讯。Specifically, the network interface may be a wired network interface, such as an Ethernet interface, and receive a wired network signal; the network interface may also be a third-generation mobile communication technology (3rd-Generation, 3G) network card interface, and receive a 3G network signal in the 3G network. . When the network interface receives the network signal, the network signal It is provided to the TV for the TV to realize the Internet access function, and the network signal is output to the WIFI module, and the WIFI module performs data processing on the network signal received by the network interface, and then converts into a wireless WIFI signal output through the coil and the antenna. At this time, the electronic device (for example, a device with a wireless Internet access function such as a mobile phone or a notebook) can search for the wireless WIFI signal, and send an access request to the television to establish WIFI communication with the television.
在一个可选的方案中,步骤S103、根据该电子设备的操作请求与该电子设备进行数据交互,包括:In an optional solution, in step S103, performing data interaction with the electronic device according to the operation request of the electronic device, including:
当该操作请求为同步播放请求时,获取显示屏正在播放的音视频数据,并将该音视频数据通过电视的WIFI热点发送给该电子设备以实现同步播放;When the operation request is a synchronous play request, acquiring audio and video data that is being played by the display screen, and transmitting the audio and video data to the electronic device through the WIFI hotspot of the television to implement synchronous play;
当该操作请求为点播请求时,向该电子设备发送存储装置存储的音视频的目录,并在接收到该电子设备的播放请求时,向该电子设备发送被选择的音视频的数据;When the operation request is an on-demand request, the directory of the audio and video stored by the storage device is sent to the electronic device, and when the playback request of the electronic device is received, the data of the selected audio and video is transmitted to the electronic device;
当该操作请求为修改设置请求时,根据该修改设置请求发送的修改数据修改WIFI热点设置。When the operation request is a modification setting request, the WIFI hotspot setting is modified according to the modification data sent by the modification setting request.
实际应用中,可以利用WIFI透传技术与电子设备进行数据交互,使电子设备可以同时观看电视正在播放的内容;同时电视有大的内存,电视上存储的内容,其电子设备也可以选择播放,从而丰富家庭的娱乐方式。In practical applications, WIFI transparent transmission technology can be used for data interaction with electronic devices, so that the electronic device can simultaneously watch the content being played by the television; at the same time, the television has large memory, and the content stored on the television can also be selected by the electronic device. Thereby enriching the way the family entertains.
实际应用中,为了保证最大的带宽和速率,以及保证电子设备观看视频时的流畅效果,也可以通过软件完善以电视WIFI为热点的WIFI协议。In practical applications, in order to ensure the maximum bandwidth and speed, and to ensure the smooth effect of electronic devices when watching video, software can also be used to improve the WIFI protocol with TV WIFI as a hot spot.
本实施例的电视共享资源的方法,在电视上设置WIFI热点功能,通过该WIFI热点与电子设备建立WIFI通讯,根据电子设备的操作请求与电子设备的数据交换,实现了与电子设备的共享资源,从而构成一个以家庭为单位的小的局域网络,克服了现有技术中电视与电子设备互动必须在同一房间中才能实现的缺点。In the method for sharing resources of the television in the embodiment, the WIFI hotspot function is set on the television, and the WIFI communication is established between the WIFI hotspot and the electronic device, and the data exchange with the electronic device is performed according to the operation request of the electronic device, thereby realizing the shared resource with the electronic device. Thus, a small local area network is formed, which overcomes the shortcomings in the prior art that the interaction between the television and the electronic device must be realized in the same room.
本发明实施例二提供了一种电视共享资源的装置,适用于电视机,请参阅 图2,该装置包括:Embodiment 2 of the present invention provides a device for sharing resources of a television, which is suitable for a television set, please refer to Figure 2, the device includes:
WIFI热点模块201,用于开启WIFI热点功能;The WIFI hotspot module 201 is configured to enable the WIFI hotspot function;
通讯模块202,用于根据电子设备的接入请求与该电子设备建立WIFI通讯,以及用于根据该电子设备的操作请求与该电子设备进行数据交互。The communication module 202 is configured to establish WIFI communication with the electronic device according to the access request of the electronic device, and to perform data interaction with the electronic device according to the operation request of the electronic device.
在一个可选的方案中,WIFI热点模块201还可以包括如下子模块:用于接收网络信号的网络接口以及用于将网络信号转换成无线WIFI信号的WIFI模组,其中网络接口接收到网络信号后将该网络信号输出至WIFI模组,WIFI模组将网络信号进行数据处理后,转换为无线WIFI信号输出。In an optional solution, the WIFI hotspot module 201 may further include the following sub-module: a network interface for receiving network signals and a WIFI module for converting network signals into wireless WIFI signals, wherein the network interface receives the network signal After the network signal is output to the WIFI module, the WIFI module converts the network signal into a wireless WIFI signal output after performing data processing.
实际应用中,可以直接采用具有两个MAC地址的WIFI模组,也可以采用只有一个MAC地址的WIFI模组。当采用只有一个MAC地址的模组时,可以通过预设的软件模拟一个虚拟MAC地址,从而实现WIFI热点功能。In practical applications, a WIFI module with two MAC addresses can be directly used, or a WIFI module with only one MAC address can be used. When a module with only one MAC address is used, a virtual MAC address can be simulated by a preset software, thereby implementing a WIFI hotspot function.
具体的,网络接口可以为有线网络接口,接收有线网络信号;网络接口也可以为3G网卡接口,接收3G网络中的3G网络信号。Specifically, the network interface may be a wired network interface, and receive a wired network signal; the network interface may also be a 3G network card interface, and receive a 3G network signal in the 3G network.
在一个可选的方案中,通讯模块202,还用于在该操作请求为同步播放请求时,获取显示屏正在播放的音视频数据,并将该音视频数据发送给该电子设备以实现同步播放;或者还用于在该操作请求为点播请求时,向该电子设备发送存储装置存储的音视频的目录,并在接收到该电子设备的播放请求时,向该电子设备发送被选择的音视频的数据;或者还用于在该操作请求为修改设置请求时,根据该修改设置请求发送的修改数据修改WIFI热点设置。In an optional solution, the communication module 202 is further configured to: when the operation request is a synchronous play request, acquire audio and video data that is being played by the display screen, and send the audio and video data to the electronic device to implement synchronous play. Or when the operation request is an on-demand request, the directory of the audio and video stored by the storage device is sent to the electronic device, and when the playback request of the electronic device is received, the selected audio and video is sent to the electronic device. The data is also used to modify the WIFI hotspot setting according to the modified data sent by the modification setting request when the operation request is a modification setting request.
本实施例的电视共享资源的装置,在电视上设置WIFI热点模块,通过该WIFI热点与电子设备建立WIFI通讯,根据电子设备的操作请求与电子设备的数据交换,从而实现与电子设备的共享资源,克服了现有技术中电视与电子设备互动必须在同一房间中才能实现的缺点。The device for sharing resources of the TV in the embodiment, the WIFI hotspot module is set on the television, the WIFI communication is established with the electronic device through the WIFI hotspot, and the data exchange with the electronic device is requested according to the operation request of the electronic device, thereby realizing the shared resource with the electronic device. It overcomes the shortcomings in the prior art that the interaction between the television and the electronic device must be realized in the same room.
在上述实施例的基础上,本发明实施例三提供了另一种电视共享资源的方法,请参阅图3,方法流程包括: On the basis of the foregoing embodiment, the third embodiment of the present invention provides another method for sharing resources of a television. Referring to FIG. 3, the method process includes:
S301、预先设置电视的WIFI热点功能以及待接入的电子设备的接入权限。S301: preset a WIFI hotspot function of the television and an access right of the electronic device to be accessed.
实际应用中,可以通过在电视上安装预设的APP应用程序,对电视的WIFI热点进行管理。通过该应用程序,可以进入设置界面,从而设置电子设备的接入权限。In practical applications, the WIFI hotspot of the TV can be managed by installing a preset APP application on the TV. Through the application, you can enter the setting interface to set the access rights of the electronic device.
具体的,接入权限可以包括如下几种操作权限中的至少一种:是否允许接入、是否允许观看、是否允许点播或者是否允许修改权限设置。其中,允许接入定义为:是否允许该电子设备接入WIFI热点;观看定义为:允许电子设备与电视同屏观看;修改权限设置定义为:是否允许电子设备修改接入权限。Specifically, the access authority may include at least one of the following operation rights: whether to allow access, whether to allow viewing, whether to allow on-demand, or whether to modify the permission setting. The access permission is defined as: whether the electronic device is allowed to access the WIFI hotspot; the viewing definition is: allowing the electronic device to view on the same screen as the television; and modifying the permission setting is defined as: whether the electronic device is allowed to modify the access right.
实际应用中,可以为各电子设备设置不同的用户名与密码,然后对不同的用户名对应的电子设备设置不同的权限。也可以直接利用各电子设备的MAC地址或设备标识对应设置不同的权限。In actual applications, different user names and passwords can be set for each electronic device, and then different permissions are set for the electronic devices corresponding to different user names. It is also possible to directly set different permissions by using the MAC address or device identifier of each electronic device.
本实施例中,以电子设备的MAC地址设置权限进行说明。In this embodiment, the MAC address setting authority of the electronic device is used for description.
S302、开启WIFI热点功能。S302. Turn on the WIFI hotspot function.
实际应用中,可以在电视开机时自动开启WIFI热点功能,也可以根据用户输入的指令开启WIFI热点功能。In practical applications, the WIFI hotspot function can be automatically turned on when the TV is turned on, or the WIFI hotspot function can be turned on according to the command input by the user.
该步骤的实现方式与实施例一种步骤S101相似,此处不再赘述。The implementation of this step is similar to the step S101 of the embodiment, and details are not described herein again.
S303、接收电子设备的接入请求,该接入请求携带电子设备的MAC地址。S303. Receive an access request of an electronic device, where the access request carries a MAC address of the electronic device.
S304、从该接入请求中获取该电子设备的MAC地址,并根据该MAC地址确定该电子设备的接入权限,并判断该接入权限是否包括允许接入,若是执行步骤S306,否则执行步骤S305。S304. Obtain a MAC address of the electronic device from the access request, determine an access right of the electronic device according to the MAC address, and determine whether the access permission includes permission to be accessed. If the step S306 is performed, perform the step otherwise. S305.
S305、拒绝该接入请求。S305. Reject the access request.
S306、与该电子设备建立WIFI通讯。S306. Establish WIFI communication with the electronic device.
S307、接收电子设备发送的操作请求。S307. Receive an operation request sent by an electronic device.
S308、判断该操作请求是否包含在该接入权限允许的操作权限之内,若是执行步骤S309,否则执行步骤S310。S308. Determine whether the operation request is included in the operation permission allowed by the access authority. If the step S309 is performed, otherwise step S310 is performed.
S309、响应该操作请求。 S309. Respond to the operation request.
S310、拒绝该操作请求。S310. Reject the operation request.
在一个可选的方案中,该操作请求可以是同步观看请求,如果该电子设备的接入权限包括了观看权限,则步骤S310响应该操作请求包括:获取显示屏正在播放的音视频数据,并将该音视频数据发送给该电子设备以实现同步播放,请参阅图4,包括如下步骤:In an optional solution, the operation request may be a synchronous viewing request, and if the access authority of the electronic device includes the viewing right, the step S310 responding to the operation request includes: acquiring audio and video data that the display screen is playing, and Sending the audio and video data to the electronic device for synchronous play, please refer to FIG. 4, including the following steps:
S401、获取该正在播放的音视频数据的同步信息,该同步信息包括当前播放帧或当前播放时间戳;S401. Acquire synchronization information of the audio and video data that is being played, where the synchronization information includes a current play frame or a current play timestamp.
S402、从数据缓存模块获取与该同步信息对应的音视频数据;S402. Acquire audio and video data corresponding to the synchronization information from the data cache module.
S403、将该音视频数据电视给该电子设备进行播放。S403. The audio and video data television is played to the electronic device.
需要说明的是,实际应用中如果通过设置用户名与密码的方式设置电子设备的权限,则在接收到电子设备输入请求之后,向电子设备发送输入用户及密码提示,然后根据电子设备反馈的用户名及密码判断该电子设备的接入权限。It should be noted that, in actual application, if the authority of the electronic device is set by setting a user name and a password, after receiving the input request of the electronic device, the input user and the password prompt are sent to the electronic device, and then the user is fed back according to the electronic device. The name and password determine the access rights of the electronic device.
本实施例的电视共享资源的方法,在电视上设置WIFI热点模块,通过该WIFI热点与电子设备建立WIFI通讯,根据电子设备的操作请求与电子设备的数据交换,从而实现与电子设备的共享资源,克服了现有技术中电视与电子设备互动必须在同一房间中才能实现的缺点。In the method for sharing resources of a TV in this embodiment, a WIFI hotspot module is set on a television, and a WIFI communication is established between the WIFI hotspot and the electronic device, and data exchange with the electronic device is requested according to an operation request of the electronic device, thereby realizing sharing resources with the electronic device. It overcomes the shortcomings in the prior art that the interaction between the television and the electronic device must be realized in the same room.
在上述实施例的基础上,本发明实施例四提供了一种电视共享资源的装置,适用于电视,请参阅图5,装置包括:On the basis of the foregoing embodiments, the fourth embodiment of the present invention provides a device for sharing resources of a television, which is applicable to a television. Referring to FIG. 5, the device includes:
设置模块501,用于预先设置电视的WIFI热点功能以及待接入的电子设备的接入权限。具体的,接入权限可以包括如下几种操作权限中的至少一种:是否允许接入、是否允许观看、是否允许点播或者是否允许修改权限设置。The setting module 501 is configured to preset a WIFI hotspot function of the television and an access right of the electronic device to be accessed. Specifically, the access authority may include at least one of the following operation rights: whether to allow access, whether to allow viewing, whether to allow on-demand, or whether to modify the permission setting.
在一个可选的方案中,可以直接利用各电子设备的MAC地址或设备标识对应设置不同的权限。In an optional solution, the MAC address of the electronic device or the device identifier may be directly used to set different permissions.
WIFI热点模块502,用于开启WIFI热点功能。The WIFI hotspot module 502 is used to enable the WIFI hotspot function.
具体的,该WIFI热点模块502的结构可采用实施例二中的热点模块,此处 不再赘述。Specifically, the structure of the WIFI hotspot module 502 can adopt the hotspot module in the second embodiment, where No longer.
接收模块503,用于接收电子设备的接入请求,该接入请求携带电子设备的MAC地址。The receiving module 503 is configured to receive an access request of the electronic device, where the access request carries a MAC address of the electronic device.
判断模块504,用于从该接入请求中获取该电子设备的MAC地址,并根据该MAC地址确定该电子设备的接入权限,并判断该接入权限是否包括允许接入;The determining module 504 is configured to obtain a MAC address of the electronic device from the access request, determine an access right of the electronic device according to the MAC address, and determine whether the access right includes permission to access;
通讯模块505,用于在该电子设备的接入权限包括允许接入时,与该电子设备建立WIFI通讯,或者用于在该电子设备的接入权限未包括允许接入时,拒绝该电子设备的接入请求。The communication module 505 is configured to establish WIFI communication with the electronic device when the access permission of the electronic device includes allowing access, or to reject the electronic device when the access permission of the electronic device does not include permission to access Access request.
在一个可选的方案中,接收模块503还用于接收电子设备发送的操作请求。In an optional solution, the receiving module 503 is further configured to receive an operation request sent by the electronic device.
判断模块504,还用于判断该操作请求是否包含在该接入权限允许的操作权限之内。The determining module 504 is further configured to determine whether the operation request is included in an operation permission allowed by the access authority.
通讯模块505,还用于在该操作请求包含在该接入权限允许的操作权限之内时,响应该操作请求,或者用于该操作请求超出在该接入权限允许的操作权限时,拒绝该操作请求。The communication module 505 is further configured to: when the operation request is included in the operation permission allowed by the access permission, respond to the operation request, or when the operation request exceeds the operation permission allowed in the access permission, reject the Operation request.
在一个可选的方案中,当电子设备发送的操作请求为同步播放请求时,如果该电子设备的接入权限包括了观看权限,则通讯模块505还包括:In an optional solution, when the operation request sent by the electronic device is a synchronous play request, if the access right of the electronic device includes the viewing right, the communication module 505 further includes:
同步信息获取子模块,用于在该操作请求为同步播放请求时,获取该正在播放的音视频数据的同步信息,该同步信息包括当前播放帧或当前播放时间戳;a synchronization information acquisition sub-module, configured to acquire synchronization information of the audio and video data being played when the operation request is a synchronous play request, where the synchronization information includes a current play frame or a current play time stamp;
数据获取子模块,用于从该电视的数据缓存模块获取与该同步信息对应的音视频数据;a data acquisition submodule, configured to acquire audio and video data corresponding to the synchronization information from a data buffer module of the television;
发送子模块,用于将该音视频数据电视给该电子设备进行播放。The sending submodule is configured to play the audio and video data television to the electronic device.
在一个可选的方案中,设置模块501也可以为各电子设备设置不同的用户名与密码,然后对不同的用户名对应的电子设备设置不同的权限,则通讯模块505还用于在接收到电子设备输入请求之后,向电子设备发送输入用户及密码提示,判断模块504根据电子设备反馈的用户名及密码判断该电子设备的接入权 限。In an optional solution, the setting module 501 can also set different user names and passwords for each electronic device, and then set different permissions for the electronic devices corresponding to different user names, and the communication module 505 is further configured to receive After the electronic device inputs the request, the input user and the password prompt are sent to the electronic device, and the determining module 504 determines the access right of the electronic device according to the user name and password fed back by the electronic device. limit.
在一个可选的方案中,设置模块501也可以各电子设备的设备标识对应设置不同的权限,此时判断模块504通过对电子设备的设备标识进行识别判断该电子设备的接入权限。In an optional solution, the setting module 501 can also set different permissions corresponding to the device identifiers of the electronic devices. At this time, the determining module 504 determines the access rights of the electronic device by identifying the device identifier of the electronic device.
本实施例的电视共享资源的装置,在电视上设置WIFI热点模块,通过该WIFI热点与电子设备建立WIFI通讯,根据电子设备的操作请求与电子设备的数据交换,从而实现与电子设备的共享资源,克服了现有技术中电视与电子设备互动必须在同一房间中才能实现的缺点。The device for sharing resources of the TV in the embodiment, the WIFI hotspot module is set on the television, the WIFI communication is established with the electronic device through the WIFI hotspot, and the data exchange with the electronic device is requested according to the operation request of the electronic device, thereby realizing the shared resource with the electronic device. It overcomes the shortcomings in the prior art that the interaction between the television and the electronic device must be realized in the same room.
本发明实施例五提供的执行电视共享资源的方法的电视终端的硬件结构示意图,如图6所示,该电视终端包括:A hardware structure diagram of a television terminal for performing a method for sharing a television resource according to Embodiment 5 of the present invention. As shown in FIG. 6, the television terminal includes:
一个或多个处理器610以及存储器620、无线通信模块630,图6中以一个处理器610为例。One or more processors 610 and a memory 620 and a wireless communication module 630 are exemplified by one processor 610 in FIG.
处理器610、存储器620、无线通信模块可以通过总线或者其他方式连接,图6中以通过总线连接为例。The processor 610, the memory 620, and the wireless communication module may be connected by a bus or other means, and the bus connection is taken as an example in FIG.
存储器620作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的电视共享资源的方法对应的程序指令/模块。处理器610通过运行存储在存储器620中的非易失性软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例中的电视共享资源的方法。The memory 620 is a non-volatile computer readable storage medium, and is applicable to a non-volatile software program, a non-volatile computer-executable program, and a module, such as a method for sharing resources of a television in the embodiment of the present application. Program instructions/modules. The processor 610 executes various functional applications of the server and data processing by executing non-volatile software programs, instructions, and modules stored in the memory 620, that is, a method of implementing the television sharing resource in the above method embodiments.
存储器620可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储音视频目录、音视频文件等。此外,存储器620可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器620可选包括相对于处理器610远程设置的存储器,这些远程存储器可以通过网络连接至所述电视终端。上述网络的 实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 620 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store an audio and video directory, an audio and video file, and the like. Moreover, memory 620 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 620 can optionally include memory remotely located relative to processor 610, which can be connected to the television terminal over a network. Above network Examples include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。The above products can perform the methods provided by the embodiments of the present application, and have the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiments of the present application.
本实施例还提供一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当程序指令被电视终端执行时,使所述电视终端执行上述方法实施例中的电视共享资源的方法。The embodiment further provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by the television terminal, The method for the television terminal to perform the television sharing resource in the foregoing method embodiment.
以上所描述的装置实施例仅仅是示意性的,其中该作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, ie may be located in one Places, or they can be distributed to multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the various embodiments can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware. Based on such understanding, the above-described technical solutions may be embodied in the form of software products in essence or in the form of software products, which may be stored in a computer readable storage medium such as ROM/RAM, magnetic Discs, optical discs, etc., include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments or portions of the embodiments.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and are not limited thereto; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that The technical solutions described in the foregoing embodiments are modified, or the equivalents of the technical features are replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (17)

  1. 一种电视共享资源的方法,应用于电视终端,其特征在于,所述方法包括:A method for sharing resources by a television, applied to a television terminal, wherein the method includes:
    开启电视终端上的WIFI热点功能;Turn on the WIFI hotspot function on the TV terminal;
    根据电子设备的接入请求与所述电子设备建立WIFI通讯;Establishing WIFI communication with the electronic device according to an access request of the electronic device;
    根据所述电子设备的操作请求与所述电子设备进行数据交互。Performing data interaction with the electronic device according to an operation request of the electronic device.
  2. 根据权利要求1所述的方法,其特征在于,所述开启电视上的WIFI热点功能之前,所述方法还包括:The method of claim 1, wherein before the enabling the WIFI hotspot function on the television, the method further comprises:
    设置所述电子设备的接入权限,所述接入权限包括是否允许接入;Setting an access right of the electronic device, where the access right includes whether access is allowed;
    所述根据电子设备的接入请求与所述电子设备建立WIFI通讯,还包括:The establishing the WIFI communication with the electronic device according to the access request of the electronic device, further includes:
    根据电子设备的接入请求判断所述电子设备的接入权限是否包括允许接入;Determining, according to an access request of the electronic device, whether the access authority of the electronic device includes allowing access;
    当所述接入权限包括允许接入时,与所述电子设备建立WIFI通讯。When the access right includes allowing access, establishing WIFI communication with the electronic device.
  3. 根据权利要求2所述的方法,其特征在于,所述接入权限还包括如下操作权限中的至少一种:是否允许观看、是否允许点播或者是否允许修改权限设置,所述接收所述电子设备的操作请求之后,所述方法还包括:The method according to claim 2, wherein the access authority further comprises at least one of the following operation rights: whether to allow viewing, whether to allow on-demand or whether to modify the permission setting, the receiving the electronic device After the operation request, the method further includes:
    判断所述电子设备发送的操作请求是否包含在所述接入权限允许的操作权限之内;Determining whether the operation request sent by the electronic device is included in an operation permission allowed by the access permission;
    若是,响应所述操作请求;If yes, responding to the operation request;
    否则,拒绝所述操作请求。Otherwise, the operation request is rejected.
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述根据所述电子设备的操作请求与所述电子设备进行数据交互,包括:The method according to any one of claims 1 to 3, wherein the data interaction with the electronic device according to an operation request of the electronic device comprises:
    当所述操作请求为同步播放请求时,获取显示屏正在播放的音视频数据,并将所述音视频数据发送给所述电子设备以实现同步播放;When the operation request is a synchronous play request, acquiring audio and video data that is being played by the display screen, and transmitting the audio and video data to the electronic device to implement synchronous play;
    当所述操作请求为点播请求时,向所述电子设备发送存储装置存储的音视 频的目录,并在接收到所述电子设备的播放请求时,向所述电子设备发送被选择的音视频的数据;Sending the audiovisual stored by the storage device to the electronic device when the operation request is an on-demand request a directory of frequencies, and when receiving a play request of the electronic device, transmitting data of the selected audio and video to the electronic device;
    当所述操作请求为修改设置请求时,根据所述修改设置请求发送的修改数据修改WIFI热点设置。When the operation request is a modification setting request, the WIFI hotspot setting is modified according to the modification data sent by the modification setting request.
  5. 根据权利要求4所述的方法,其特征在于,所述当所述操作请求为同步播放请求时,获取显示屏正在播放的音视频数据,并将所述音视频数据发送给所述电子设备以实现同步播放,包括:The method according to claim 4, wherein when the operation request is a synchronous play request, acquiring audio and video data being played by the display screen, and transmitting the audio and video data to the electronic device Synchronous playback, including:
    获取所述正在播放的音视频数据的同步信息,所述同步信息包括当前播放帧或当前播放时间戳;Obtaining synchronization information of the audio and video data being played, where the synchronization information includes a current play frame or a current play time stamp;
    从数据缓存模块获取与所述同步信息对应的音视频数据;Obtaining audio and video data corresponding to the synchronization information from a data cache module;
    将所述音视频数据发送给所述电子设备进行播放。And transmitting the audio and video data to the electronic device for playing.
  6. 一种电视共享资源的装置,其特征在于,所述装置包括:A device for sharing resources of a television, characterized in that the device comprises:
    WIFI热点模块,用于开启电视终端上的WIFI热点功能;The WIFI hotspot module is used to enable the WIFI hotspot function on the television terminal;
    通讯模块,用于根据电子设备的接入请求与所述电子设备建立WIFI通讯,以及用于根据所述电子设备的操作请求与所述电子设备进行数据交互。And a communication module, configured to establish WIFI communication with the electronic device according to an access request of the electronic device, and configured to perform data interaction with the electronic device according to an operation request of the electronic device.
  7. 根据权利要求6所述的装置,其特征在于,所述装置还包括设置模块及判断模块:The device according to claim 6, wherein the device further comprises a setting module and a determining module:
    所述设置模块用于设置所述电子设备的接入权限,所述接入权限包括允许接入;The setting module is configured to set an access right of the electronic device, where the access right includes allowing access;
    所述判断模块用于根据电子设备的接入请求判断所述电子设备的接入权限是否包括允许接入;The determining module is configured to determine, according to an access request of the electronic device, whether the access permission of the electronic device includes allowing access;
    所述通讯模块还用于在所述电子设备的接入权限包括允许接入时,与所述电子设备建立WIFI通讯。The communication module is further configured to establish WIFI communication with the electronic device when the access permission of the electronic device includes allowing access.
  8. 根据权利要求7所述的装置,其特征在于,The device of claim 7 wherein:
    所述设置模块还用于设置接入权限中包括的如下权限中的至少一种:是否允许观看、是否允许点播或者是否允许修改权限设置; The setting module is further configured to set at least one of the following rights included in the access right: whether to allow viewing, whether to allow on-demand or whether to modify the permission setting;
    所述判断模块还用于判断所述电子设备发送的操作请求是否包含在所述接入权限允许的操作权限之内;The determining module is further configured to determine whether an operation request sent by the electronic device is included in an operation permission allowed by the access permission;
    所述通讯模块还用于在所述操作请求包含在所述接入权限允许的操作权限之内时,响应所述操作请求,或者用于在所述操作请求超出所述接入权限允许的操作权限时,拒绝所述操作请求。The communication module is further configured to respond to the operation request when the operation request is included in an operation permission allowed by the access authority, or to perform an operation that exceeds the permission permission in the operation request The permission request is rejected when the permission is granted.
  9. 根据权利要求6至8任一项所述的装置,其特征在于,所述通讯模块,还用于在所述操作请求为同步播放请求时,获取显示屏正在播放的音视频数据,并将所述音视频数据发送给所述电子设备以实现同步播放;或者还用于在所述操作请求为点播请求时,向所述电子设备发送存储装置存储的音视频的目录,并在接收到所述电子设备的播放请求时,向所述电子设备发送被选择的音视频的数据;或者还用于在所述操作请求为修改设置请求时,根据所述修改设置请求发送的修改数据修改WIFI热点设置。The device according to any one of claims 6 to 8, wherein the communication module is further configured to: when the operation request is a synchronous play request, acquire audio and video data that is being played by the display screen, and Transmitting audio and video data to the electronic device for synchronous play; or for transmitting, to the electronic device, a directory of audio and video stored by the storage device when the operation request is an on-demand request, and receiving the And transmitting, by the electronic device, the data of the selected audio and video; or when the operation request is a modification setting request, modifying the WIFI hotspot setting according to the modified data sent by the modification setting request .
  10. 根据权利要求9所述的装置,其特征在于,所述通讯模块还包括:The device according to claim 9, wherein the communication module further comprises:
    同步信息获取子模块,用于在所述操作请求为同步播放请求时,获取所述正在播放的音视频数据的同步信息,所述同步信息包括当前播放帧或当前播放时间戳;a synchronization information acquisition sub-module, configured to acquire synchronization information of the audio and video data being played when the operation request is a synchronous play request, where the synchronization information includes a current play frame or a current play time stamp;
    数据获取子模块,用于从所述电视的数据缓存模块获取与所述同步信息对应的音视频数据;a data acquisition submodule, configured to acquire audio and video data corresponding to the synchronization information from a data buffer module of the television;
    发送子模块,用于将所述音视频数据透传给所述电子设备进行播放。And a sending submodule, configured to transparently transmit the audio and video data to the electronic device for playing.
  11. 一种电视终端,其特征在于,所述电视终端包括:A television terminal, characterized in that the television terminal comprises:
    至少一个处理器以及,At least one processor as well,
    与所述至少一个处理器通信连接的存储器和无线通信模块;其中,a memory and a wireless communication module communicably coupled to the at least one processor; wherein
    所述存储器存储有音视频数据和可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:The memory stores audio and video data and instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
    控制所述无线通信模块开启电视终端上的WIFI热点功能,并根据电子设备的接入请求与所述电子设备建立WIFI通讯,以及根据所述电子设备的操作请求 与所述电子设备进行数据交互。Controlling the wireless communication module to enable the WIFI hotspot function on the television terminal, and establishing WIFI communication with the electronic device according to the access request of the electronic device, and according to the operation request of the electronic device Performing data interaction with the electronic device.
  12. 根据权利要求11所述的电视终端,其特征在于,所述至少一个处理器还能够:The television terminal according to claim 11, wherein said at least one processor is further capable of:
    执行权限设置指令,设置所述电子设备的接入权限,所述接入权限包括允许接入;Executing a permission setting instruction, setting an access right of the electronic device, where the access right includes allowing access;
    执行判断指令,根据电子设备的接入请求判断所述电子设备的接入权限是否包括允许接入;Executing a judgment instruction, determining, according to an access request of the electronic device, whether the access authority of the electronic device includes allowing access;
    在所述电子设备的接入权限包括允许接入时,控制所述无线通信模块与所述电子设备建立WIFI通讯。And controlling, when the access permission of the electronic device includes allowing access, establishing, by the wireless communication module, WIFI communication with the electronic device.
  13. 根据权利要求12所述的电视终端,其特征在于,所述至少一个处理器还能够:The television terminal according to claim 12, wherein said at least one processor is further capable of:
    执行权限设置指令,设置接入权限中包括的如下权限中的至少一种:是否允许观看、是否允许点播或者是否允许修改权限设置;Execute the permission setting instruction, and set at least one of the following rights included in the access permission: whether to allow viewing, whether to allow on-demand or whether to modify the permission setting;
    执行判断指令,判断所述电子设备发送的操作请求是否包含在所述接入权限允许的操作权限之内;Executing a judgment instruction, determining whether the operation request sent by the electronic device is included in an operation permission allowed by the access authority;
    当所述操作请求包含在所述接入权限允许的操作权限之内时,执行响应指令,响应所述操作请求,或者当所述操作请求超出所述接入权限允许的操作权限时,执行拒绝指令,拒绝所述操作请求。Performing a rejection when the operation request is included in an operation authority permitted by the access authority, in response to the operation request, or when the operation request exceeds an operation authority permitted by the access authority An instruction to reject the operation request.
  14. 根据权利要求10至13任一项所述的电视终端,其特征在于,所述至少一个处理器还能够:The television terminal according to any one of claims 10 to 13, wherein the at least one processor is further capable of:
    在所述操作请求为同步播放请求时,执行音视频数据获取指令,获取显示屏正在播放的音视频数据,并控制所述无线通信模块将所述音视频数据发送给所述电子设备以实现同步播放;And when the operation request is a synchronous play request, executing an audio and video data acquisition instruction, acquiring audio and video data that is being played by the display screen, and controlling the wireless communication module to send the audio and video data to the electronic device to achieve synchronization Play
    或者在所述操作请求为点播请求时,控制所述无线通信模块向所述电子设备发送存储器存储的音视频的目录,并在接收到所述电子设备的播放请求时,控制所述无线通信模块向所述电子设备发送被选择的音视频的数据; Or controlling, when the operation request is an on-demand request, the wireless communication module to send a directory of audio and video stored in the memory to the electronic device, and controlling the wireless communication module when receiving a play request of the electronic device Transmitting data of the selected audio and video to the electronic device;
    或者在所述操作请求为修改设置请求时,执行设置指令,根据所述修改设置请求发送的修改数据修改WIFI热点设置。Or, when the operation request is a modification setting request, executing a setting instruction, and modifying the WIFI hotspot setting according to the modification data sent by the modification setting request.
  15. 根据权利要求12所述的电视终端,其特征在于,所述至少一个处理器还能够:The television terminal according to claim 12, wherein said at least one processor is further capable of:
    在所述操作请求为同步播放请求时,执行同步指令,获取所述正在播放的音视频数据的同步信息,所述同步信息包括当前播放帧或当前播放时间戳;When the operation request is a synchronous play request, executing a synchronization instruction, acquiring synchronization information of the audio and video data being played, where the synchronization information includes a current play frame or a current play time stamp;
    执行音视频获取模块,从所述电视终端的存储器中获取与所述同步信息对应的音视频数据;Performing an audio and video acquisition module, and acquiring audio and video data corresponding to the synchronization information from a memory of the television terminal;
    控制所述无线通信模块将所述音视频数据透传给所述电子设备进行播放。Controlling the wireless communication module to transparently transmit the audio and video data to the electronic device for playing.
  16. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储程序指令,所述程序指令用于使电视终端执行权利要求1-5任一项所述的方法。A non-transitory computer readable storage medium, the non-transitory computer readable storage medium storing program instructions for causing a television terminal to perform the method of any of claims 1-5 method.
  17. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当程序指令被电视终端执行时,使所述电视终端执行权利要求1-5任一项所述的方法。 A computer program product, comprising: a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a television terminal, The television terminal performs the method of any of claims 1-5.
PCT/CN2016/105139 2016-04-25 2016-11-09 Television resource sharing method and apparatus, and television terminal WO2017185709A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610264402.1A CN105872736A (en) 2016-04-25 2016-04-25 Method and device for resource sharing of television
CN201610264402.1 2016-04-25

Publications (1)

Publication Number Publication Date
WO2017185709A1 true WO2017185709A1 (en) 2017-11-02

Family

ID=56629183

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/105139 WO2017185709A1 (en) 2016-04-25 2016-11-09 Television resource sharing method and apparatus, and television terminal

Country Status (2)

Country Link
CN (1) CN105872736A (en)
WO (1) WO2017185709A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112738574A (en) * 2019-10-28 2021-04-30 深圳市万普拉斯科技有限公司 Screen recording data processing method and device, computer equipment and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872736A (en) * 2016-04-25 2016-08-17 乐视控股(北京)有限公司 Method and device for resource sharing of television
CN106604085A (en) * 2016-12-19 2017-04-26 天脉聚源(北京)传媒科技有限公司 Video sharing method and video sharing device
CN113495702B (en) * 2020-03-18 2023-10-24 聚好看科技股份有限公司 Interactive invitation processing method and display equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110128487A (en) * 2010-05-24 2011-11-30 엘지전자 주식회사 Electronic device and contents sharing method for electronic device
CN103051954A (en) * 2012-12-13 2013-04-17 四川金网通电子科技有限公司 Method and device of data sharing for multiple receiving terminals of digital television
CN103415016A (en) * 2013-07-05 2013-11-27 惠州Tcl移动通信有限公司 Mobile WIFI hotspot connection processing method and system
CN103491422A (en) * 2013-09-17 2014-01-01 深圳市九洲电器有限公司 Method and system for enabling set top boxes to conduct information sharing
CN103546445A (en) * 2012-07-17 2014-01-29 深圳市中兴移动通信有限公司 Multimedia sharing system and method based on wifi network
CN103957218A (en) * 2014-05-14 2014-07-30 刘瑞雪 Shared media playing method and system
CN103986966A (en) * 2014-05-28 2014-08-13 广州视源电子科技股份有限公司 System and method for pushing intelligent television images to mobile terminal for display
CN104219311A (en) * 2014-09-05 2014-12-17 四川长虹电器股份有限公司 Method and system for downloading television application
CN105872736A (en) * 2016-04-25 2016-08-17 乐视控股(北京)有限公司 Method and device for resource sharing of television

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100542260C (en) * 2005-08-23 2009-09-16 凌阳科技股份有限公司 A kind of method and intelligence controlling device thereof that TV is carried out Based Intelligent Control
CN101505408B (en) * 2009-03-06 2011-04-20 深圳市融创天下科技发展有限公司 Remote video accessing system and method
CN102891973A (en) * 2011-07-20 2013-01-23 天津三星电子有限公司 Television with mobile hotspot function
CN102307316A (en) * 2011-09-09 2012-01-04 深圳创维数字技术股份有限公司 Mobile terminal-based method and system for displaying digital television content and apparatuses
CN102802071B (en) * 2012-08-24 2014-10-29 上海广电电子科技有限公司 Intelligent television, mobile terminal, multi-screen interaction system and wireless communication method
CN102833605A (en) * 2012-08-24 2012-12-19 四川长虹电器股份有限公司 Network television system with routing function
CN103533423B (en) * 2013-10-18 2017-07-07 深圳创维-Rgb电子有限公司 Television set
CN105095706B (en) * 2015-06-25 2019-02-12 小米科技有限责任公司 Operating right setting method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110128487A (en) * 2010-05-24 2011-11-30 엘지전자 주식회사 Electronic device and contents sharing method for electronic device
CN103546445A (en) * 2012-07-17 2014-01-29 深圳市中兴移动通信有限公司 Multimedia sharing system and method based on wifi network
CN103051954A (en) * 2012-12-13 2013-04-17 四川金网通电子科技有限公司 Method and device of data sharing for multiple receiving terminals of digital television
CN103415016A (en) * 2013-07-05 2013-11-27 惠州Tcl移动通信有限公司 Mobile WIFI hotspot connection processing method and system
CN103491422A (en) * 2013-09-17 2014-01-01 深圳市九洲电器有限公司 Method and system for enabling set top boxes to conduct information sharing
CN103957218A (en) * 2014-05-14 2014-07-30 刘瑞雪 Shared media playing method and system
CN103986966A (en) * 2014-05-28 2014-08-13 广州视源电子科技股份有限公司 System and method for pushing intelligent television images to mobile terminal for display
CN104219311A (en) * 2014-09-05 2014-12-17 四川长虹电器股份有限公司 Method and system for downloading television application
CN105872736A (en) * 2016-04-25 2016-08-17 乐视控股(北京)有限公司 Method and device for resource sharing of television

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112738574A (en) * 2019-10-28 2021-04-30 深圳市万普拉斯科技有限公司 Screen recording data processing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN105872736A (en) 2016-08-17

Similar Documents

Publication Publication Date Title
US10284644B2 (en) Information processing and content transmission for multi-display
WO2018095174A1 (en) Control method, device, and terminal apparatus for synthesizing video stream of live streaming room
CN109168021B (en) Plug flow method and device
JP6700344B2 (en) Information exchange method, device, audio terminal, computer-readable storage medium and program
US8732749B2 (en) Virtual desktop services
JP2019530356A (en) Reverse cast from the first screen device to the second screen device
WO2017185709A1 (en) Television resource sharing method and apparatus, and television terminal
CN107104947B (en) Multi-screen interaction method
KR20160019087A (en) System, method and computer-readable medium for presenting media content
EP3996355B1 (en) Method for transferring media stream and user equipment
EP2854342A1 (en) Multi-screen interaction method, apparatus, and terminal device
WO2020151599A1 (en) Method and apparatus for publishing video synchronously, electronic device, and readable storage medium
WO2015139547A1 (en) Method, device and system for setting up application scenario
US20220103873A1 (en) Computer program, method, and server apparatus
TW201547265A (en) Media projection method and device, control terminal and cloud server
JP2014513903A (en) Networking method, server device, and client device
CN105718227A (en) Screen transmission method and related device
CN103037256A (en) Method for sharing screen between mobile terminal and TV receiving terminal and TV receiving terminal
TW201442503A (en) System and method for sharing data via cloud
WO2014190655A1 (en) Application synchronization method, application server and terminal
WO2016161902A1 (en) Method and apparatus for accessing terminal device camera to target device
JP2016502781A (en) Service updates during real-time communication and experience sharing sessions
CN104394127A (en) A multimedia sharing method, device and system
WO2023011058A1 (en) Display device, communication terminal, and projected-screen image dynamic display method
CN112770078B (en) Video conference terminal fusion method and device and readable storage medium

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16900217

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16900217

Country of ref document: EP

Kind code of ref document: A1