WO2017107382A1 - 用于确定电视开机时需要连接的无线从设备的方法及装置 - Google Patents
用于确定电视开机时需要连接的无线从设备的方法及装置 Download PDFInfo
- Publication number
- WO2017107382A1 WO2017107382A1 PCT/CN2016/084388 CN2016084388W WO2017107382A1 WO 2017107382 A1 WO2017107382 A1 WO 2017107382A1 CN 2016084388 W CN2016084388 W CN 2016084388W WO 2017107382 A1 WO2017107382 A1 WO 2017107382A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- acceleration value
- wireless
- direct connection
- wifi direct
- wireless slave
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
- H04N21/43637—Adapting 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]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a method and apparatus for determining a wireless slave device that needs to be connected when the television is turned on.
- WiFi Direct that is, WiFi Direct
- a wireless main device such as a TV creates a wifi direct connection function
- multiple wireless slave devices for the user, such as: It takes 1 second to connect to the TV, 1 second to connect the TV to the IPAD1, 1 second to connect the TV to the mobile phone 2, 1 second to connect the TV to the IPAD2, and 2 seconds to connect the TV to the computer.
- the mobile phone 1 needs to be used as a remote control to operate the TV.
- other devices do not need to be connected during the booting of the TV, so that these wireless slave devices need to be connected during the TV opening process, which will seriously affect the TV boot time.
- the wifi direct connection function of the TV is turned off, the user needs to manually operate, thereby causing the television to lose intelligence.
- the main object of the present invention is to provide a method and apparatus for determining a wireless slave device that needs to be connected when the smart TV is powered on, to automatically determine which wireless slave devices need to establish a WiFi direct connection when the smart TV is powered on.
- the present invention provides a method for determining a wireless slave device that needs to be connected when the television is turned on, comprising the following steps:
- the WiFi direct connection device When the WiFi direct connection device has a wireless receiving function, the device number corresponding to the WiFi direct connected device is read and stored;
- the corresponding wireless slave device is used as a wireless slave device that needs to be connected when the television is turned on.
- the acceleration value includes a horizontal direction acceleration value and a vertical direction acceleration value.
- the step of using the corresponding wireless slave device as a wireless slave device that needs to be connected when the television is powered on includes:
- the corresponding wireless slave device When the acquired horizontal direction acceleration value or vertical direction acceleration value is greater than a predetermined value for a predetermined period of time, the corresponding wireless slave device is used as a wireless slave device that needs to be connected when the television is turned on.
- the present invention also provides a method for determining a wireless slave device that needs to be connected when the television is turned on.
- the method for determining a wireless slave device that needs to be connected when the television is turned on includes the following steps:
- the corresponding wireless slave device is used as a wireless slave device that needs to be connected when the television is turned on.
- the step of detecting the wireless device connected in the wireless network and screening the WiFi direct connection device with the wireless receiving function comprises:
- the WiFi direct connection device When the WiFi direct connection device has a wireless receiving function, the device number corresponding to the WiFi direct connected device is read and stored.
- the step of reading the state of the main direct switch of the wireless master device includes:
- the acceleration value includes a horizontal direction acceleration value and a vertical direction acceleration value.
- the step of using the corresponding wireless slave device as a wireless slave device that needs to be connected when the television is powered on includes:
- the corresponding wireless slave device When the acquired horizontal direction acceleration value or vertical direction acceleration value is greater than a predetermined value for a predetermined period of time, the corresponding wireless slave device is used as a wireless slave device that needs to be connected when the television is turned on.
- the present invention also provides an apparatus for determining a wireless slave device that needs to be connected when the television is powered on, including:
- the screening module is configured to detect the wireless device connected in the wireless network, and filter out the WiFi direct connection device with wireless receiving function;
- a reading module configured to read a state of a main direct switch of the wireless master device when the wireless master device exists in the WiFi direct connection device with wireless receiving function
- An acquiring module configured to acquire an acceleration value of the wireless slave device having the acceleration sensor when the main direct switch is in an open state
- a control module configured to: when the acceleration value meets the preset condition, use the corresponding wireless slave device as a wireless slave device that needs to be connected when the television is powered on.
- the screening module comprises:
- a receiving unit configured to receive a WiFi direct connection request sent by the WiFi direct connection device
- a first determining unit configured to detect a WiFi direct connection device that sends a WiFi direct connection request, and determine whether the WiFi direct connection device has a wireless receiving function
- the first reading unit is configured to read and store the device number of the corresponding WiFi direct connection device when the WiFi direct connection device has the wireless receiving function.
- the reading module comprises:
- a second determining unit configured to search for a preset WiFi direct connection list, and determine whether the WiFi direct connection device with the wireless receiving function is in the preset WiFi direct connection list;
- a determining unit if yes, determining the WiFi direct connection device with the wireless receiving function Is a wireless master device
- a second reading unit configured to read a state of the main direct switch of the wireless master device.
- the acceleration value includes a horizontal direction acceleration value and a vertical direction acceleration value.
- control module comprises:
- a third determining unit configured to determine whether the horizontal acceleration value or the vertical acceleration value is greater than a predetermined value
- a fourth determining unit configured to determine whether the acquired horizontal direction acceleration value or vertical direction acceleration value continues for a predetermined time when the horizontal direction acceleration value or the vertical direction acceleration value is greater than a predetermined value
- a control unit configured to: when the acquired horizontal acceleration value or vertical acceleration value is greater than a predetermined value for a predetermined time, the corresponding wireless slave device is used as a wireless slave device that needs to be connected when the television is powered on.
- the method and device for determining a wireless slave device that needs to be connected when the television is powered on firstly, by detecting a wireless device connected in the wireless network, screening a WiFi direct connection device with wireless receiving function, and then having the wireless direct connection device
- a wireless master device exists in the WiFi direct connection device of the wireless receiving function, reading the state of the main direct switch of the wireless master device, and acquiring the wireless slave with the acceleration sensor when the main direct switch is in an open state
- the acceleration value of the device when the acceleration value satisfies the preset condition, the corresponding wireless slave device is used as the wireless slave device that needs to be connected when the television is turned on. In this way, it is possible to automatically determine which wireless slave devices need to establish a WiFi direct connection when the smart TV is powered on.
- FIG. 1 is a schematic flow chart of an embodiment of a method for determining a wireless slave device that needs to be connected when a television is powered on;
- FIG. 2 is a schematic diagram of a refinement process of step S101 in FIG. 1;
- step S102 in FIG. 1 is a schematic flowchart of the refinement of step S102 in FIG. 1;
- step S104 in FIG. 1 is a schematic diagram of a refinement process of step S104 in FIG. 1;
- FIG. 5 is a schematic diagram of functional blocks of an apparatus for determining a wireless slave device that needs to be connected when the television is powered on;
- FIG. 6 is a schematic diagram of a refinement function module of the screening module in FIG. 5;
- FIG. 7 is a schematic diagram of a refinement function module of the reading module in FIG. 5;
- FIG. 8 is a schematic diagram of a refinement function module of the control module of FIG. 5.
- the present invention provides a method for determining a wireless slave device that needs to be connected when the television is turned on.
- the method for determining a wireless slave device that needs to be connected when the television is powered on includes the following steps:
- Step S101 detecting a wireless device connected in the wireless network, and filtering out a WiFi direct connection device having a wireless receiving function;
- the device for determining the wireless slave device that needs to be connected when the television is powered on receives the WiFi direct connection request sent by the WiFi direct connection device, wherein the WiFi direct connection device includes a computer, a television, a mobile phone, a tablet computer, a router, and the like.
- the device detects a WiFi direct connection device that sends a WiFi direct connection request, determines whether the WiFi direct connection device has a wireless receiving function, and selects a WiFi direct connection device with wireless receiving function, such as filtering out a computer, a television, a mobile phone, and the like.
- Devices such as tablets.
- Step S102 When a wireless master device exists in the WiFi direct connection device with the wireless receiving function, read the state of the main direct switch of the wireless master device;
- the WiFi direct connection device creation group needs to be the wireless master device by the group leader.
- the wireless master device is preferably a television. It can be understood that in a home scene, the weight of a WiFi direct connection device such as a computer, a television, a mobile phone, or a tablet computer is different, and the TV has the largest weight and can be used as a wireless master device.
- the wireless master device can be reasonably selected, and is not limited to the embodiment.
- the wireless master device such as the direct connection switch of the television is turned off.
- the user can also choose to turn off the WiFi direct connection function of the television.
- the device finds the wireless main device number, it is necessary to determine whether the user has turned off the WiFi direct connection through the menu page of the television. If the user does not close the WiFi direct connection on the menu page, the direct connection of the wireless main device is turned on. Switch; if the user directly sets the WiFi direct connection function in the user menu for the WiFi direct connection device, for this reason, the wireless main device such as the TV is not required to be powered on. To start and create a WiFi direct connection.
- Step S103 acquiring an acceleration value of the wireless slave device having the acceleration sensor when the main direct connection switch is in an on state
- the device first needs to filter out non-WiFi direct connected devices, such as routers, and then filter out wireless slave devices without acceleration sensors, such as computers, APs (Wireless Access Point, wireless access point). Wait.
- the wireless slave device has an acceleration sensor. Taking the mobile phone as an example, it generally has a horizontal acceleration value ax and a vertical acceleration value ay. Of course, in other embodiments, the acceleration values may be one or three directions, and are not limited to the embodiment.
- the device directly turns off the wireless slave when the primary direct switch is in the off state.
- Step S104 When the acceleration value meets the preset condition, the corresponding wireless slave device is used as a wireless slave device that needs to be connected when the television is powered on.
- WA_ax, WA_ay horizontal acceleration ax, vertical acceleration ay
- the acceleration value is greater than the predetermined value of 60%, and it is also necessary to start the wireless master device for timing.
- the wireless master device displays the connected wireless slave device on the screen.
- the method for determining a wireless slave device that needs to be connected when the television is turned on is firstly, by detecting a wireless device connected in the wireless network, screening a WiFi direct connection device with a wireless receiving function, and then having the wireless receiving device
- a wireless master device exists in a function WiFi direct connection device, reading a state of a main direct switch of the wireless master device, and acquiring a wireless slave device having an acceleration sensor when the main direct switch is in an open state
- the acceleration value when the acceleration value satisfies the preset condition, the corresponding wireless slave device is used as the wireless slave device that needs to be connected when the television is turned on. In this way, it is possible to automatically determine which wireless slave devices need to establish a WiFi direct connection when the smart TV is powered on.
- the step S101 includes:
- Step S1011 Receive a WiFi direct connection request sent by the WiFi direct connection device.
- the device receives a WiFi direct connection request sent by a WiFi direct connection device, where the WiFi direct connection device includes a computer, a television, a mobile phone, a tablet, a router, and the like.
- Step S1012 Detecting a WiFi direct connection device that sends a WiFi direct connection request, and determining whether the WiFi direct connection device has a wireless receiving function
- the device detects a WiFi direct connection device that sends a WiFi direct connection request, and determines whether the WiFi direct connection device has a wireless receiving function. Through this step, you can filter out non-WiFi direct connected devices that do not have wireless receiving function, such as AP hotspots, to filter out WiFi direct connected devices with wireless receiving functions, such as filtering out computers, TVs, mobile phones, and tablets.
- step S1013 when the WiFi direct connection device has the wireless receiving function, the device number corresponding to the WiFi direct connected device is read and stored.
- the WiFi direct connection device when the WiFi direct connection device has the wireless receiving function, the device number corresponding to the WiFi direct connected device is read and stored in the memory.
- the device finds a device having a wireless receiving function such as a computer or a tablet computer, and reads the device number of the wireless device and stores the registration in the storage area.
- the step S102 includes:
- Step S1021 Searching for a preset WiFi direct connection list, and determining whether the WiFi direct connection device with the wireless receiving function is in the preset WiFi direct connection list;
- Step S1022 if yes, determining the WiFi direct connection device with the wireless receiving function as the wireless master device;
- the device determines whether the WiFi direct connection device with the wireless receiving function is in the preset WiFi direct connection list.
- the weight of a WiFi direct connection device such as a computer, a television, a mobile phone, or a tablet computer is different, and the television has the largest weight and can be used as a wireless master device.
- the wireless master device can be reasonably selected, and is not limited to the embodiment.
- Step S1023 reading the state of the main direct switch of the wireless master device.
- the step S104 includes:
- Step S1041 determining whether the horizontal direction acceleration value or the vertical direction acceleration value is greater than a predetermined value
- the device determines whether the horizontal acceleration value or the vertical acceleration value is greater than a predetermined value, such as 60%.
- a predetermined value such as 60%.
- the horizontal acceleration value or the vertical acceleration value is determined.
- the acceleration value may be one or three directions, and is not limited to the embodiment.
- Step S1042 determining whether the acquired horizontal direction acceleration value or vertical direction acceleration value continues for a predetermined time when the horizontal direction acceleration value or the vertical direction acceleration value is greater than a predetermined value;
- Step S1043 When the acquired horizontal acceleration value or vertical acceleration value is greater than a predetermined value for a predetermined period of time, the corresponding wireless slave device is used as a wireless slave device that needs to be connected when the television is powered on.
- the predetermined time is preferably 1 s.
- other reasonable time values may be set, and are not limited to the embodiment. details as follows:
- Wireless master's direct switch Wfidi_state TRUE, FALSE
- WA_ay (y) vertical acceleration value percentage, accounting for more than 60% of the entire range is the effective vertical acceleration value
- Wclent(z1)>0 TRUE is the wireless slave device to be connected
- Wclent(z1) Wfidi_state*((WA_ax(z1)>60%)
- (WA_ay(z1)>60%)*WTs(z1), z1 0X10, 0X20, 0X30, 0X40, 0X50, 0X60.
- the WiFi direct connection device includes devices with device numbers 0X10, 0X20, 0X30, 0X40, 0X50, and 0X60, where 0X10 is a television that is filtered as a wireless master device, and others are wireless slave devices.
- Wireless slave device; tablet 1 with device number 0X30 has a horizontal acceleration value of 3s greater than a predetermined value of 61% and an acceleration value of less than 61% in the vertical direction.
- Wclent(0X10) 1, that is, tablet 1 is to be connected.
- the acceleration value in the horizontal direction is less than 60%
- the acceleration value of the computer in the horizontal direction is 0 for 2s
- the wireless slave device is a device to be connected to a wireless master device such as a television, that is, the corresponding wireless slave device can be used as a wireless slave device that needs to be connected when the television is turned on.
- the present invention also provides an apparatus 1 for determining a wireless slave device that needs to be connected when the television is turned on.
- the apparatus 1 for determining a wireless slave device that needs to be connected when the television is turned on includes :
- the screening module 101 is configured to detect a wireless device connected in the wireless network, and filter a WiFi direct connection device with a wireless receiving function;
- the device for determining the wireless slave device that needs to be connected when the television is powered on receives the WiFi direct connection request sent by the WiFi direct connection device, wherein the WiFi direct connection device includes a computer, a television, a mobile phone, a tablet computer, a router, and the like.
- the device detects a WiFi direct connection device that sends a WiFi direct connection request, determines whether the WiFi direct connection device has a wireless receiving function, and selects a WiFi direct connection device with wireless receiving function, such as filtering out a computer, a television, a mobile phone, and the like.
- Devices such as tablets.
- the reading module 102 is configured to read a state of a main direct switch of the wireless master device when the wireless master device exists in the WiFi direct connection device having the wireless receiving function;
- the WiFi direct connection device creation group needs to be the wireless master device by the group leader.
- the wireless master device is preferably a television. It can be understood that in a home scene, the weight of a WiFi direct connection device such as a computer, a television, a mobile phone, or a tablet computer is different, and the TV has the largest weight and can be used as a wireless master device.
- the wireless master device can be reasonably selected, and is not limited to the embodiment.
- the wireless master device such as the direct connection switch of the television is turned off.
- the user can also choose to turn off the WiFi direct connection function of the television.
- the device finds the wireless main device number, it is necessary to determine whether the user has turned off the WiFi direct connection through the menu page of the television. If the user does not close the WiFi direct connection on the menu page, the direct connection of the wireless main device is turned on. Switch; if the user directly sets the WiFi direct connection function in the user menu for the WiFi direct connection device, for this reason, the wireless main device such as the TV is not required to start and create a WiFi direct connection when the TV is turned on.
- the obtaining module 103 is configured to acquire an acceleration value of the wireless slave device having the acceleration sensor when the main direct switch is in an on state;
- the device first needs to filter out non-WiFi direct connected devices, such as routers. It will then filter out wireless slave devices without accelerometers, such as computers, APs (Wireless Access Point), and so on.
- the wireless slave device has an acceleration sensor. Taking the mobile phone as an example, it generally has a horizontal acceleration value ax and a vertical acceleration value ay. Of course, in other embodiments, the acceleration values may be one or three directions, and are not limited to the embodiment.
- the device directly turns off the wireless slave when the primary direct switch is in the off state.
- the control module 104 is configured to: when the acceleration value meets the preset condition, use the corresponding wireless slave device as a wireless slave device that needs to be connected when the television is powered on.
- WA_ax, WA_ay horizontal acceleration ax, vertical acceleration ay
- the acceleration value is greater than the predetermined value of 60%, and it is also necessary to start the wireless master device for timing.
- the wireless master device displays the connected wireless slave device on the screen.
- the device for determining a wireless slave device that needs to be connected when the television is powered on firstly, by detecting a wireless device connected in the wireless network, screening a WiFi direct connection device with a wireless receiving function, and then having the wireless receiving device
- a wireless master device exists in a function WiFi direct connection device, reading a state of a main direct switch of the wireless master device, and acquiring a wireless slave device having an acceleration sensor when the main direct switch is in an open state
- the acceleration value when the acceleration value satisfies the preset condition, the corresponding wireless slave device is used as the wireless slave device that needs to be connected when the television is turned on. In this way, it is possible to automatically determine which wireless slave devices need to establish a WiFi direct connection when the smart TV is powered on.
- the screening module 101 includes:
- the receiving unit 1011 is configured to receive a WiFi direct connection request sent by the WiFi direct connection device.
- the device receives a WiFi direct connection request sent by a WiFi direct connection device, where the WiFi direct connection device includes a computer, a television, a mobile phone, a tablet computer, a router, and the like, and can be directly connected through wifi.
- the WiFi direct connection device includes a computer, a television, a mobile phone, a tablet computer, a router, and the like, and can be directly connected through wifi.
- the first determining unit 1012 is configured to detect a WiFi direct connection device that sends a WiFi direct connection request, and determine whether the WiFi direct connection device has a wireless receiving function.
- the device detects a WiFi direct connection device that sends a WiFi direct connection request, and determines whether the WiFi direct connection device has a wireless receiving function. Through this step, you can filter out non-WiFi direct connected devices that do not have wireless receiving function, such as AP hotspots, to filter out WiFi direct connected devices with wireless receiving functions, such as filtering out computers, TVs, mobile phones, and tablets.
- the first reading unit 1013 is configured to read and store the device number of the corresponding WiFi direct connection device when the WiFi direct connection device has the wireless receiving function.
- the WiFi direct connection device when the WiFi direct connection device has the wireless receiving function, the device number corresponding to the WiFi direct connected device is read and stored in the memory.
- the device finds a device having a wireless receiving function such as a computer or a tablet computer, and reads the device number of the wireless device and stores the registration in the storage area.
- the reading module 102 includes:
- the second determining unit 1021 is configured to search for a preset WiFi direct connection list, and determine whether the WiFi direct connection device with the wireless receiving function is in the preset WiFi direct connection list;
- the determining unit 1022 is configured to: if yes, determine the WiFi direct connection device with the wireless receiving function as the wireless master device;
- the device determines whether the WiFi direct connection device with the wireless receiving function is in the preset WiFi direct connection list.
- the weight of a WiFi direct connection device such as a computer, a television, a mobile phone, or a tablet computer is different, and the television has the largest weight and can be used as a wireless master device.
- the wireless master device can be reasonably selected, and is not limited to the embodiment.
- the second reading unit 1023 is configured to read a state of the main direct switch of the wireless master device.
- control module 104 includes:
- the third determining unit 1041 is configured to determine whether the horizontal direction acceleration value or the vertical direction acceleration value is greater than a predetermined value
- the device determines whether the horizontal acceleration value or the vertical acceleration value is greater than a predetermined value, such as 60%.
- a predetermined value such as 60%.
- the horizontal acceleration value or the vertical acceleration value is determined.
- the acceleration value may be one or three directions, and is not limited to the embodiment.
- the fourth determining unit 1042 is configured to determine whether the acquired horizontal direction acceleration value or vertical direction acceleration value continues for a predetermined time when the horizontal direction acceleration value or the vertical direction acceleration value is greater than a predetermined value;
- the control unit 1043 is configured to: when the acquired horizontal acceleration value or vertical acceleration value is greater than a predetermined value for a predetermined time, the corresponding wireless slave device is used as a wireless slave device that needs to be connected when the television is powered on.
- the predetermined time is preferably 1 s.
- other reasonable time values may be set, and are not limited to the embodiment. details as follows:
- Wireless master's direct switch Wfidi_state TRUE, FALSE
- WA_ay (y) vertical acceleration value percentage, accounting for more than 60% of the entire range is the effective vertical acceleration value
- Wclent(z1)>0 TRUE is the wireless slave device to be connected
- Wclent(z1) Wfidi_state*((WA_ax(z1)>60%)
- (WA_ay(z1)>60%)*WTs(z1), z1 0X10, 0X20, 0X30, 0X40, 0X50, 0X60.
- the WiFi direct connection device includes devices with device numbers 0X10, 0X20, 0X30, 0X40, 0X50, and 0X60, where 0X10 is a television that is filtered as a wireless master device, and others are wireless slave devices.
- Wireless slave device; tablet 1 with device number 0X30 has a horizontal acceleration value of 3s greater than a predetermined value of 61% and an acceleration value of less than 61% in the vertical direction.
- Wclent(0X10) 1, that is, tablet 1 is to be connected.
- the acceleration value in the horizontal direction is less than 60%
- the acceleration value of the computer in the horizontal direction is 0 for 2s
- the wireless slave device is a device to be connected to a wireless master device such as a television, that is, the corresponding wireless slave device can be used as a wireless slave device that needs to be connected when the television is turned on.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
本发明公开了一种用于确定电视开机时需要连接的无线从设备的方法,包括以下步骤:侦测无线网中连接的无线设备,筛选出具备无线接收功能的WiFi直连设备;在所述具备无线接收功能的WiFi直连设备中存在无线主设备时,读取所述无线主设备的主直连开关的状态;在所述主直连开关处于开启状态时,获取具有加速度传感器的无线从设备的加速度值;在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备。本发明还公开了一种装置。本发明可以自动确定智能电视开机时需要与哪些无线从设备建立WiFi直连。
Description
本发明涉及通讯技术领域,尤其涉及一种用于确定电视开机时需要连接的无线从设备的方法及装置。
WiFi Direct,即WiFi直连可以让手机以及电视等设备连接在一个内网小组中,在无线主设备如电视创建wifi直连功能以后,针对用户有多个无线从设备的情况,如:手机1连接电视需要1秒,IPAD1连接电视需要1秒,手机2连接电视需要1秒,IPAD2连接电视需要1秒,电脑连接电视需要2秒,然而,其中只有手机1是需要被当成遥控器来操作电视的,而其他设备在电视开机启动中是不需要连接的,这样,这些无线从设备在电视开启过程中都需要去连接,会严重影响电视的开机时间。另一方面,若关闭电视的wifi直连功能,则需要用户手动进行操作,从而造成电视失去智能性。
发明内容
本发明的主要目的在于提供一种用于确定智能电视开机时需要连接的无线从设备的方法及装置,以自动确定智能电视开机时需要与哪些无线从设备建立WiFi直连。
为实现上述目的,本发明提供一种用于确定电视开机时需要连接的无线从设备的方法,包括以下步骤:
接收WiFi直连设备发送的WiFi直连请求;
侦测发送WiFi直连请求的WiFi直连设备,并判断所述WiFi直连设备是否具备无线接收功能;
在所述WiFi直连设备具备无线接收功能时,读取对应WiFi直连设备的设备号并存储;
查找预设WiFi直连列表,判断所述具备无线接收功能的WiFi直连设备是否在所述预设WiFi直连列表内;
若是,则将所述具备无线接收功能的WiFi直连设备判定为无线主设备;
读取所述无线主设备的主直连开关的状态;
在所述主直连开关处于开启状态时,获取具有加速度传感器的无线从设备的加速度值;
在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备。
优选地,所述加速度值包括水平方向加速度值和垂直方向加速度值。
优选地,所述在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备的步骤包括:
判断所述水平方向加速度值或垂直方向加速度值是否大于预定值;
在所述水平方向加速度值或垂直方向加速度值大于预定值时,判断获取的所述水平方向加速度值或垂直方向加速度值是否持续预定时间;
在获取的所述水平方向加速度值或垂直方向加速度值在持续预定时间内大于预定值时,将对应的无线从设备作为电视开机时需要连接的无线从设备。
本发明还提供一种用于确定电视开机时需要连接的无线从设备的方法,所述用于确定电视开机时需要连接的无线从设备的方法包括以下步骤:
侦测无线网中连接的无线设备,筛选出具备无线接收功能的WiFi直连设备;
在所述具备无线接收功能的WiFi直连设备中存在无线主设备时,读取所述无线主设备的主直连开关的状态;
在所述主直连开关处于开启状态时,获取具有加速度传感器的无线从设备的加速度值;
在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备。
优选地,所述侦测无线网中连接的无线设备,筛选出具备无线接收功能的WiFi直连设备的步骤包括:
接收WiFi直连设备发送的WiFi直连请求;
侦测发送WiFi直连请求的WiFi直连设备,并判断所述WiFi直连设备是否具备无线接收功能;
在所述WiFi直连设备具备无线接收功能时,读取对应WiFi直连设备的设备号并存储。
优选地,所述在所述具备无线接收功能的WiFi直连设备中存在无线主设备时,读取所述无线主设备的主直连开关的状态的步骤包括:
查找预设WiFi直连列表,判断所述具备无线接收功能的WiFi直连设备是否在所述预设WiFi直连列表内;
若是,则将所述具备无线接收功能的WiFi直连设备判定为无线主设备;
读取所述无线主设备的主直连开关的状态。
优选地,所述加速度值包括水平方向加速度值和垂直方向加速度值。
优选地,所述在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备的步骤包括:
判断所述水平方向加速度值或垂直方向加速度值是否大于预定值;
在所述水平方向加速度值或垂直方向加速度值大于预定值时,判断获取的所述水平方向加速度值或垂直方向加速度值是否持续预定时间;
在获取的所述水平方向加速度值或垂直方向加速度值在持续预定时间内大于预定值时,将对应的无线从设备作为电视开机时需要连接的无线从设备。
此外,为实现上述目的,本发明还提出一种用于确定电视开机时需要连接的无线从设备的装置,包括:
筛选模块,用于侦测无线网中连接的无线设备,筛选出具备无线接收功能的WiFi直连设备;
读取模块,用于在所述具备无线接收功能的WiFi直连设备中存在无线主设备时,读取所述无线主设备的主直连开关的状态;
获取模块,用于在所述主直连开关处于开启状态时,获取具有加速度传感器的无线从设备的加速度值;
控制模块,用于在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备。
优选地,所述筛选模块包括:
接收单元,用于接收WiFi直连设备发送的WiFi直连请求;
第一判断单元,用于侦测发送WiFi直连请求的WiFi直连设备,并判断所述WiFi直连设备是否具备无线接收功能;
第一读取单元,用于在所述WiFi直连设备具备无线接收功能时,读取对应WiFi直连设备的设备号并存储。
优选地,所述读取模块包括:
第二判断单元,用于查找预设WiFi直连列表,判断所述具备无线接收功能的WiFi直连设备是否在所述预设WiFi直连列表内;
判定单元,用于若是,则将所述具备无线接收功能的WiFi直连设备判定
为无线主设备;
第二读取单元,用于读取所述无线主设备的主直连开关的状态。
优选地,所述加速度值包括水平方向加速度值和垂直方向加速度值。
优选地,所述控制模块包括:
第三判断单元,用于判断所述水平方向加速度值或垂直方向加速度值是否大于预定值;
第四判断单元,用于在所述水平方向加速度值或垂直方向加速度值大于预定值时,判断获取的所述水平方向加速度值或垂直方向加速度值是否持续预定时间;
控制单元,用于在获取的所述水平方向加速度值或垂直方向加速度值在持续预定时间内大于预定值时,将对应的无线从设备作为电视开机时需要连接的无线从设备。
本发明提供的用于确定电视开机时需要连接的无线从设备的方法及装置,首先通过侦测无线网中连接的无线设备,筛选出具备无线接收功能的WiFi直连设备,然后在所述具备无线接收功能的WiFi直连设备中存在无线主设备时,读取所述无线主设备的主直连开关的状态,并在所述主直连开关处于开启状态时,获取具有加速度传感器的无线从设备的加速度值,最终在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备。这样,可以自动确定智能电视开机时需要与哪些无线从设备建立WiFi直连。
图1为本发明用于确定电视开机时需要连接的无线从设备的方法一实施例的流程示意图;
图2为图1中步骤S101的细化流程示意图;
图3为图1中步骤S102的细化流程示意图;
图4为图1中步骤S104的细化流程示意图;
图5为本发明用于确定电视开机时需要连接的无线从设备的装置一实施例的功能模块示意图;
图6为图5中筛选模块的细化功能模块示意图;
图7为图5中读取模块的细化功能模块示意图;
图8为图5中控制模块的细化功能模块示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明提供一种用于确定电视开机时需要连接的无线从设备的方法,参照图1,在一实施例中,所述用于确定电视开机时需要连接的无线从设备的方法包括以下步骤:
步骤S101,侦测无线网中连接的无线设备,筛选出具备无线接收功能的WiFi直连设备;
本实施例中,用于确定电视开机时需要连接的无线从设备的装置接收WiFi直连设备发送的WiFi直连请求,其中WiFi直连设备包括电脑、电视、手机、平板电脑、路由器等设备。该装置侦测发送WiFi直连请求的WiFi直连设备,判定这些WiFi直连设备是否具有无线接收功能,并从中筛选出具备无线接收功能的WiFi直连设备,如筛选出电脑、电视、手机以及平板电脑等设备。
步骤S102,在所述具备无线接收功能的WiFi直连设备中存在无线主设备时,读取所述无线主设备的主直连开关的状态;
本实施例中,WiFi直连设备创建小组,需要由组长作为无线主设备,本实施例中,无线主设备优选为电视。可以理解的是,在家庭场景中,电脑、电视、手机、平板电脑等WiFi直连设备的权重不一样,其中,电视所占的权重最大,可作为无线主设备。当然,在其他实施例,可以合理选择无线主设备,并不局限于本实施例。
当所述装置判定具备无线接收功能的WiFi直连设备中没有无线主设备时,则会关闭无线主设备如电视的直连开关,当然,也可以由用户选择关闭电视的WiFi直连功能。
可以理解的是,所述装置发现有无线主设备号后,需要判断用户是否已经通过电视的菜单页面关闭WiFi直连,若用户没有在菜单页面关闭WiFi直连,则开启无线主设备的直连开关;若用户本身对WiFi直连设备在用户菜单初步设定了关闭WiFi直连的功能,为此,无线主设备如电视在开机时,不需
要启动和创建WiFi直连。
步骤S103,在所述主直连开关处于开启状态时,获取具有加速度传感器的无线从设备的加速度值;
本实施例中,所述装置首先需要过滤掉非WiFi直连设备,如路由器,然后将不具有加速度传感器的无线从设备过滤掉,如电脑、AP热点(Wireless Access Point,无线访问接入点)等。无线从设备具有加速传感器,以手机为例,通常具备水平方向加速度值ax和垂直方向加速度值ay。当然,在其他实施例中,也可以具有一个或三个方向的加速度值,并不局限于本实施例。
可以理解的是,当主直连开关处于关闭状态时,所述装置直接关闭无线从设备。
步骤S104,在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备。
本实施例中,WA_ax,WA_ay(水平方向加速度ax,垂直方向加速度ay,)只要有一个方向上的加速度大于预定值如60%,则由于数据可能由干扰信息传来,如果所述装置读取的加速度值大于预定值60%,还需要启动无线主设备进行定时。所述装置在获取到水平方向加速度值或垂直方向加速度值在持续时间如1s内大于预定值如60%,则判定该无线从设备为待连接设备,并将对应的无线从设备作为电视开机时需要连接的无线从设备。此时,无线主设备在屏幕上对连接的无线从设备进行显示。
本发明提供的用于确定电视开机时需要连接的无线从设备的方法,首先通过侦测无线网中连接的无线设备,筛选出具备无线接收功能的WiFi直连设备,然后在所述具备无线接收功能的WiFi直连设备中存在无线主设备时,读取所述无线主设备的主直连开关的状态,并在所述主直连开关处于开启状态时,获取具有加速度传感器的无线从设备的加速度值,最终在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备。这样,可以自动确定智能电视开机时需要与哪些无线从设备建立WiFi直连。
进一步地,如图2所示,在上述图1的实施例的基础上,本实施例中,所述步骤S101包括:
步骤S1011,接收WiFi直连设备发送的WiFi直连请求;
本实施例中,所述装置接收WiFi直连设备发送的WiFi直连请求,其中WiFi直连设备包括电脑、电视、手机、平板电脑、路由器等设备。
步骤S1012,侦测发送WiFi直连请求的WiFi直连设备,并判断所述WiFi直连设备是否具备无线接收功能;
本实施例中,所述装置侦测发送WiFi直连请求的WiFi直连设备,并判断所述WiFi直连设备是否具备无线接收功能。通过此步骤可以从中过滤掉不具无线接收功能的非WiFi直连设备,如AP热点,从而筛选出具备无线接收功能的WiFi直连设备,如筛选出电脑、电视、手机以及平板电脑等设备。
步骤S1013,在所述WiFi直连设备具备无线接收功能时,读取对应WiFi直连设备的设备号并存储。
本实施例中,在所述WiFi直连设备具备无线接收功能时,读取对应WiFi直连设备的设备号并存储于存储器中。例如:所述装置发现电脑、平板电脑等具备无线接收功能的设备,会读取这些无线设备的设备号并在存储区存储登记。
在一实施例中,如图3所示,在上述图2的实施例的基础上,本实施例中,所述步骤S102包括:
步骤S1021,查找预设WiFi直连列表,判断所述具备无线接收功能的WiFi直连设备是否在所述预设WiFi直连列表内;
步骤S1022,若是,则将所述具备无线接收功能的WiFi直连设备判定为无线主设备;
本实施例中,所述装置判断所述具备无线接收功能的WiFi直连设备是否在预设WiFi直连列表内。本优选实施例中,在家庭场景中,电脑、电视、手机、平板电脑等WiFi直连设备的权重不一样,其中,电视所占的权重最大,可作为无线主设备。当然,在其他实施例,可以合理选择无线主设备,并不局限于本实施例。
步骤S1023,读取所述无线主设备的主直连开关的状态。
在一实施例中,如图4所示,在上述图1的实施例的基础上,本实施例
中,所述步骤S104包括:
步骤S1041,判断所述水平方向加速度值或垂直方向加速度值是否大于预定值;
本实施例中,所述装置判断所述水平方向加速度值或垂直方向加速度值是否大于预定值如60%。本优选实施例中,所述判断水平方向加速度值或垂直方向加速度值,当然,在其他实施例中,也可以具有一个或三个方向的加速度值,并不局限于本实施例。
步骤S1042,在所述水平方向加速度值或垂直方向加速度值大于预定值时,判断获取的所述水平方向加速度值或垂直方向加速度值是否持续预定时间;
步骤S1043,在获取的所述水平方向加速度值或垂直方向加速度值在持续预定时间内大于预定值时,将对应的无线从设备作为电视开机时需要连接的无线从设备。
本实施例中,所述预定时间优选为1s,当然,在其他实施例中,可以设置其他合理时间数值,并不限于本实施例。具体如下:
无线主设备的直连开关Wfidi_state(TRUE,FALSE):
Wfidi_state=1;
WA_ax(x),水平方向加速值:百分比,占整个范围的百分之六十以上为有效的水平方向加速度值,
z1=80,WA_ax(z1)=1;
WA_ay(y)垂直方向加速度值:百分比,占整个范围的百分之六十以上为有效的垂直方向加速度值,
z1=70,WA_ay(z1)=1;
无线主设备定时WTs>1s,true;WTs<2s,false.
z1=2s,WTs(z1)=1.
Wclent(z1)>0,TRUE为待连接无线从设备,Wclent(z2)=0,不连接无线从设备。
计算公式如下:
Wclent(z1)=Wfidi_state*((WA_ax(z1)>60%)||(WA_ay(z1)>60%)*WTs(z1),z1=0X10、0X20、0X30、0X40、0X50、0X60……。
如以下表一所示:
表一
WiFi直连设备包括设备号为0X10、0X20、0X30、0X40、0X50以及0X60的设备,其中0X10为筛选为无线主设备的电视,其他为无线从设备。其中,设备号为0X20的手机1在水平方向加速度值持续3s大于预定值60%,在垂直方向加速度值持续3s小于预定值60%,因此,Wclent(0X10)=1,即手机1为待连接无线从设备;设备号为0X30的平板电脑1在水平方向加速度值持续3s大于预定值61%,在垂直方向加速度值小于61%,因此,Wclent(0X10)=1,即平板电脑1为待连接无线从设备;设备号为0X40的手机2在水平方向加速度值小于62%,在垂直方向加速度值小于62%,因此,Wclent(0X10)=0,即手机2为不连接无线从设备;设备号为0X50的平板电脑2在水平方向加速度值小于60%,在垂直方向加速度值小于60%,因此,Wclent(0X10)=0,即平板电脑2为不连接无线从设备;设备号为0X60的台式电脑在水平方向加速度值持续2s内为0,在垂直方向加速度值持续2s内为0,因此,Wclent(0X10)=0,即台式电脑为不连接无线从设备。综上,当无线从设备的在水平方向加速度值或垂直方向加速度值任一信号值在预定时间如1s内持续大于预定值如60%,则可以判定对应方向的加速度值为有效值,也即认为用户正在操作或使用该无线从设备,因此,该无线从设备为待连接至无线主设备如电视上的设备,即可以将对应的无线从设备作为电视开机时需要连接的无线从设备。
本发明还提供一种用于确定电视开机时需要连接的无线从设备的装置1,参照图5,在一实施例中,所述用于确定电视开机时需要连接的无线从设备的装置1包括:
筛选模块101,用于侦测无线网中连接的无线设备,筛选出具备无线接收功能的WiFi直连设备;
本实施例中,用于确定电视开机时需要连接的无线从设备的装置接收WiFi直连设备发送的WiFi直连请求,其中WiFi直连设备包括电脑、电视、手机、平板电脑、路由器等设备。该装置侦测发送WiFi直连请求的WiFi直连设备,判定这些WiFi直连设备是否具有无线接收功能,并从中筛选出具备无线接收功能的WiFi直连设备,如筛选出电脑、电视、手机以及平板电脑等设备。
读取模块102,用于在所述具备无线接收功能的WiFi直连设备中存在无线主设备时,读取所述无线主设备的主直连开关的状态;
本实施例中,WiFi直连设备创建小组,需要由组长作为无线主设备,本实施例中,无线主设备优选为电视。可以理解的是,在家庭场景中,电脑、电视、手机、平板电脑等WiFi直连设备的权重不一样,其中,电视所占的权重最大,可作为无线主设备。当然,在其他实施例,可以合理选择无线主设备,并不局限于本实施例。
当所述装置判定具备无线接收功能的WiFi直连设备中没有无线主设备时,则会关闭无线主设备如电视的直连开关,当然,也可以由用户选择关闭电视的WiFi直连功能。
可以理解的是,所述装置发现有无线主设备号后,需要判断用户是否已经通过电视的菜单页面关闭WiFi直连,若用户没有在菜单页面关闭WiFi直连,则开启无线主设备的直连开关;若用户本身对WiFi直连设备在用户菜单初步设定了关闭WiFi直连的功能,为此,无线主设备如电视在开机时,不需要启动和创建WiFi直连。
获取模块103,用于在所述主直连开关处于开启状态时,获取具有加速度传感器的无线从设备的加速度值;
本实施例中,所述装置首先需要过滤掉非WiFi直连设备,如路由器,然
后将不具有加速度传感器的无线从设备过滤掉,如电脑、AP热点(Wireless Access Point,无线访问接入点)等。无线从设备具有加速传感器,以手机为例,通常具备水平方向加速度值ax和垂直方向加速度值ay。当然,在其他实施例中,也可以具有一个或三个方向的加速度值,并不局限于本实施例。
可以理解的是,当主直连开关处于关闭状态时,所述装置直接关闭无线从设备。
控制模块104,用于在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备。
本实施例中,WA_ax,WA_ay(水平方向加速度ax,垂直方向加速度ay,)只要有一个方向上的加速度大于预定值如60%,则由于数据可能由干扰信息传来,如果所述装置读取的加速度值大于预定值60%,还需要启动无线主设备进行定时。所述装置在获取到水平方向加速度值或垂直方向加速度值在持续时间如1s内大于预定值如60%,则判定该无线从设备为待连接设备,并将对应的无线从设备作为电视开机时需要连接的无线从设备。此时,无线主设备在屏幕上对连接的无线从设备进行显示。
本发明提供的用于确定电视开机时需要连接的无线从设备的装置,首先通过侦测无线网中连接的无线设备,筛选出具备无线接收功能的WiFi直连设备,然后在所述具备无线接收功能的WiFi直连设备中存在无线主设备时,读取所述无线主设备的主直连开关的状态,并在所述主直连开关处于开启状态时,获取具有加速度传感器的无线从设备的加速度值,最终在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备。这样,可以自动确定智能电视开机时需要与哪些无线从设备建立WiFi直连。
在一实施例中,如图6所示,在上述图5的实施例的基础上,本实施例中,所述筛选模块101包括:
接收单元1011,用于接收WiFi直连设备发送的WiFi直连请求;
本实施例中,所述装置接收WiFi直连设备发送的WiFi直连请求,其中WiFi直连设备包括电脑、电视、手机、平板电脑、路由器等设备,可以通过wifi直连。
第一判断单元1012,用于侦测发送WiFi直连请求的WiFi直连设备,并判断所述WiFi直连设备是否具备无线接收功能;
本实施例中,所述装置侦测发送WiFi直连请求的WiFi直连设备,并判断所述WiFi直连设备是否具备无线接收功能。通过此步骤可以从中过滤掉不具无线接收功能的非WiFi直连设备,如AP热点,从而筛选出具备无线接收功能的WiFi直连设备,如筛选出电脑、电视、手机以及平板电脑等设备。
第一读取单元1013,用于在所述WiFi直连设备具备无线接收功能时,读取对应WiFi直连设备的设备号并存储。
本实施例中,在所述WiFi直连设备具备无线接收功能时,读取对应WiFi直连设备的设备号并存储于存储器中。例如:所述装置发现电脑、平板电脑等具备无线接收功能的设备,会读取这些无线设备的设备号并在存储区存储登记。
在一实施例中,如图7所示,在上述图5的实施例的基础上,所述读取模块102包括:
第二判断单元1021,用于查找预设WiFi直连列表,判断所述具备无线接收功能的WiFi直连设备是否在所述预设WiFi直连列表内;
判定单元1022,用于若是,则将所述具备无线接收功能的WiFi直连设备判定为无线主设备;
本实施例中,所述装置判断所述具备无线接收功能的WiFi直连设备是否在预设WiFi直连列表内。本优选实施例中,在家庭场景中,电脑、电视、手机、平板电脑等WiFi直连设备的权重不一样,其中,电视所占的权重最大,可作为无线主设备。当然,在其他实施例,可以合理选择无线主设备,并不局限于本实施例。
第二读取单元1023,用于读取所述无线主设备的主直连开关的状态。
在一实施例中,如图8所示,在上述图5的实施例的基础上,所述控制模块104包括:
第三判断单元1041,用于判断所述水平方向加速度值或垂直方向加速度值是否大于预定值;
本实施例中,所述装置判断所述水平方向加速度值或垂直方向加速度值是否大于预定值如60%。本优选实施例中,所述判断水平方向加速度值或垂直方向加速度值,当然,在其他实施例中,也可以具有一个或三个方向的加速度值,并不局限于本实施例。
第四判断单元1042,用于在所述水平方向加速度值或垂直方向加速度值大于预定值时,判断获取的所述水平方向加速度值或垂直方向加速度值是否持续预定时间;
控制单元1043,用于在获取的所述水平方向加速度值或垂直方向加速度值在持续预定时间内大于预定值时,将对应的无线从设备作为电视开机时需要连接的无线从设备。
本实施例中,所述预定时间优选为1s,当然,在其他实施例中,可以设置其他合理时间数值,并不限于本实施例。具体如下:
无线主设备的直连开关Wfidi_state(TRUE,FALSE):
Wfidi_state=1;
WA_ax(x),水平方向加速值:百分比,占整个范围的百分之六十以上为有效的水平方向加速度值,
z1=80,WA_ax(z1)=1;
WA_ay(y)垂直方向加速度值:百分比,占整个范围的百分之六十以上为有效的垂直方向加速度值,
z1=70,WA_ay(z1)=1;
无线主设备定时WTs>1s,true;WTs<2s,false.
z1=2s,WTs(z1)=1.
Wclent(z1)>0,TRUE为待连接无线从设备,Wclent(z2)=0,不连接无线从设备。
计算公式如下:
Wclent(z1)=Wfidi_state*((WA_ax(z1)>60%)||(WA_ay(z1)>60%)*WTs(z1),z1=0X10、0X20、0X30、0X40、0X50、0X60……。
如以下表一所示:
表一
WiFi直连设备包括设备号为0X10、0X20、0X30、0X40、0X50以及0X60的设备,其中0X10为筛选为无线主设备的电视,其他为无线从设备。其中,设备号为0X20的手机1在水平方向加速度值持续3s大于预定值60%,在垂直方向加速度值持续3s小于预定值60%,因此,Wclent(0X10)=1,即手机1为待连接无线从设备;设备号为0X30的平板电脑1在水平方向加速度值持续3s大于预定值61%,在垂直方向加速度值小于61%,因此,Wclent(0X10)=1,即平板电脑1为待连接无线从设备;设备号为0X40的手机2在水平方向加速度值小于62%,在垂直方向加速度值小于62%,因此,Wclent(0X10)=0,即手机2为不连接无线从设备;设备号为0X50的平板电脑2在水平方向加速度值小于60%,在垂直方向加速度值小于60%,因此,Wclent(0X10)=0,即平板电脑2为不连接无线从设备;设备号为0X60的台式电脑在水平方向加速度值持续2s内为0,在垂直方向加速度值持续2s内为0,因此,Wclent(0X10)=0,即台式电脑为不连接无线从设备。综上,当无线从设备的在水平方向加速度值或垂直方向加速度值任一信号值在预定时间如1s内持续大于预定值如60%,则可以判定对应方向的加速度值为有效值,也即认为用户正在操作或使用该无线从设备,因此,该无线从设备为待连接至无线主设备如电视上的设备,即可以将对应的无线从设备作为电视开机时需要连接的无线从设备。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是
利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。
Claims (20)
- 一种用于确定电视开机时需要连接的无线从设备的方法,其特征在于,包括以下步骤:接收WiFi直连设备发送的WiFi直连请求;侦测发送WiFi直连请求的WiFi直连设备,并判断所述WiFi直连设备是否具备无线接收功能;在所述WiFi直连设备具备无线接收功能时,读取对应WiFi直连设备的设备号并存储;查找预设WiFi直连列表,判断所述具备无线接收功能的WiFi直连设备是否在所述预设WiFi直连列表内;若是,则将所述具备无线接收功能的WiFi直连设备判定为无线主设备;读取所述无线主设备的主直连开关的状态;在所述主直连开关处于开启状态时,获取具有加速度传感器的无线从设备的加速度值;在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备。
- 如权利要求1所述的用于确定电视开机时需要连接的无线从设备的方法,其特征在于,所述加速度值包括水平方向加速度值和垂直方向加速度值。
- 如权利要求2所述的用于确定电视开机时需要连接的无线从设备的方法,其特征在于,所述在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备的步骤包括:判断所述水平方向加速度值或垂直方向加速度值是否大于预定值;在所述水平方向加速度值或垂直方向加速度值大于预定值时,判断获取的所述水平方向加速度值或垂直方向加速度值是否持续预定时间;在获取的所述水平方向加速度值或垂直方向加速度值在持续预定时间内大于预定值时,将对应的无线从设备作为电视开机时需要连接的无线从设备。
- 一种用于确定电视开机时需要连接的无线从设备的方法,其特征在于,包括以下步骤:侦测无线网中连接的无线设备,筛选出具备无线接收功能的WiFi直连设备;在所述具备无线接收功能的WiFi直连设备中存在无线主设备时,读取所述无线主设备的主直连开关的状态;在所述主直连开关处于开启状态时,获取具有加速度传感器的无线从设备的加速度值;在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备。
- 如权利要求4所述的用于确定电视开机时需要连接的无线从设备的方法,其特征在于,所述侦测无线网中连接的无线设备,筛选出具备无线接收功能的WiFi直连设备的步骤包括:接收WiFi直连设备发送的WiFi直连请求;侦测发送WiFi直连请求的WiFi直连设备,并判断所述WiFi直连设备是否具备无线接收功能;在所述WiFi直连设备具备无线接收功能时,读取对应WiFi直连设备的设备号并存储。
- 如权利要求4所述的用于确定电视开机时需要连接的无线从设备的方法,其特征在于,所述在所述具备无线接收功能的WiFi直连设备中存在无线主设备时,读取所述无线主设备的主直连开关的状态的步骤包括:查找预设WiFi直连列表,判断所述具备无线接收功能的WiFi直连设备是否在所述预设WiFi直连列表内;若是,则将所述具备无线接收功能的WiFi直连设备判定为无线主设备;读取所述无线主设备的主直连开关的状态。
- 如权利要求4所述的用于确定电视开机时需要连接的无线从设备的方法,其特征在于,所述加速度值包括水平方向加速度值和垂直方向加速度值。
- 如权利要求7所述的用于确定电视开机时需要连接的无线从设备的方法,其特征在于,所述在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备的步骤包括:判断所述水平方向加速度值或垂直方向加速度值是否大于预定值;在所述水平方向加速度值或垂直方向加速度值大于预定值时,判断获取的所述水平方向加速度值或垂直方向加速度值是否持续预定时间;在获取的所述水平方向加速度值或垂直方向加速度值在持续预定时间内 大于预定值时,将对应的无线从设备作为电视开机时需要连接的无线从设备。
- 一种用于确定电视开机时需要连接的无线从设备的装置,其特征在于,包括:筛选模块,用于侦测无线网中连接的无线设备,筛选出具备无线接收功能的WiFi直连设备;读取模块,用于在所述具备无线接收功能的WiFi直连设备中存在无线主设备时,读取所述无线主设备的主直连开关的状态;获取模块,用于在所述主直连开关处于开启状态时,获取具有加速度传感器的无线从设备的加速度值;控制模块,用于在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备。
- 如权利要求9所述的所述装置,其特征在于,所述筛选模块包括:接收单元,用于接收WiFi直连设备发送的WiFi直连请求;第一判断单元,用于侦测发送WiFi直连请求的WiFi直连设备,并判断所述WiFi直连设备是否具备无线接收功能;第一读取单元,用于在所述WiFi直连设备具备无线接收功能时,读取对应WiFi直连设备的设备号并存储。
- 如权利要求9所述的所述装置,其特征在于,所述读取模块包括:第二判断单元,用于查找预设WiFi直连列表,判断所述具备无线接收功能的WiFi直连设备是否在所述预设WiFi直连列表内;判定单元,用于若是,则将所述具备无线接收功能的WiFi直连设备判定为无线主设备;第二读取单元,用于读取所述无线主设备的主直连开关的状态。
- 如权利要求10所述的所述装置,其特征在于,所述读取模块包括:第二判断单元,用于查找预设WiFi直连列表,判断所述具备无线接收功能的WiFi直连设备是否在所述预设WiFi直连列表内;判定单元,用于若是,则将所述具备无线接收功能的WiFi直连设备判定为无线主设备;第二读取单元,用于读取所述无线主设备的主直连开关的状态。
- 如权利要求9所述的所述装置,其特征在于,所述加速度值包括水 平方向加速度值和垂直方向加速度值。
- 如权利要求10所述的所述装置,其特征在于,所述加速度值包括水平方向加速度值和垂直方向加速度值。
- 如权利要求11所述的所述装置,其特征在于,所述加速度值包括水平方向加速度值和垂直方向加速度值。
- 如权利要求12所述的所述装置,其特征在于,所述加速度值包括水平方向加速度值和垂直方向加速度值。
- 如权利要求13所述的所述装置,其特征在于,所述控制模块包括:第三判断单元,用于判断所述水平方向加速度值或垂直方向加速度值是否大于预定值;第四判断单元,用于在所述水平方向加速度值或垂直方向加速度值大于预定值时,判断获取的所述水平方向加速度值或垂直方向加速度值是否持续预定时间;控制单元,用于在获取的所述水平方向加速度值或垂直方向加速度值在持续预定时间内大于预定值时,将对应的无线从设备作为电视开机时需要连接的无线从设备。
- 如权利要求14所述的所述装置,其特征在于,所述控制模块包括:第三判断单元,用于判断所述水平方向加速度值或垂直方向加速度值是否大于预定值;第四判断单元,用于在所述水平方向加速度值或垂直方向加速度值大于预定值时,判断获取的所述水平方向加速度值或垂直方向加速度值是否持续预定时间;控制单元,用于在获取的所述水平方向加速度值或垂直方向加速度值在持续预定时间内大于预定值时,将对应的无线从设备作为电视开机时需要连接的无线从设备。
- 如权利要求15所述的所述装置,其特征在于,所述控制模块包括:第三判断单元,用于判断所述水平方向加速度值或垂直方向加速度值是否大于预定值;第四判断单元,用于在所述水平方向加速度值或垂直方向加速度值大于预定值时,判断获取的所述水平方向加速度值或垂直方向加速度值是否持续 预定时间;控制单元,用于在获取的所述水平方向加速度值或垂直方向加速度值在持续预定时间内大于预定值时,将对应的无线从设备作为电视开机时需要连接的无线从设备。
- 如权利要求16所述的所述装置,其特征在于,所述控制模块包括:第三判断单元,用于判断所述水平方向加速度值或垂直方向加速度值是否大于预定值;第四判断单元,用于在所述水平方向加速度值或垂直方向加速度值大于预定值时,判断获取的所述水平方向加速度值或垂直方向加速度值是否持续预定时间;控制单元,用于在获取的所述水平方向加速度值或垂直方向加速度值在持续预定时间内大于预定值时,将对应的无线从设备作为电视开机时需要连接的无线从设备。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510970252.1 | 2015-12-21 | ||
| CN201510970252.1A CN105357573B (zh) | 2015-12-21 | 2015-12-21 | 用于确定电视开机时需要连接的无线从设备的方法及装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017107382A1 true WO2017107382A1 (zh) | 2017-06-29 |
Family
ID=55333412
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/084388 Ceased WO2017107382A1 (zh) | 2015-12-21 | 2016-06-01 | 用于确定电视开机时需要连接的无线从设备的方法及装置 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN105357573B (zh) |
| WO (1) | WO2017107382A1 (zh) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105357573B (zh) * | 2015-12-21 | 2018-10-02 | 深圳Tcl数字技术有限公司 | 用于确定电视开机时需要连接的无线从设备的方法及装置 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110188391A1 (en) * | 2010-02-04 | 2011-08-04 | Texas Instruments Incorporated | INTERRELATED WiFi AND USB PROTOCOLS AND OTHER APPLICATION FRAMEWORK PROCESSES, CIRCUITS AND SYSTEMS |
| CN203120074U (zh) * | 2012-10-31 | 2013-08-07 | 深圳市同洲电子股份有限公司 | 一种数字电视系统及数字电视接收终端 |
| US20130279471A1 (en) * | 2012-04-23 | 2013-10-24 | Toshiyuki Kito | Wireless connection system, wireless connection control method, and wireless connection control program |
| CN104768072A (zh) * | 2015-04-29 | 2015-07-08 | 北京奇艺世纪科技有限公司 | 一种电视盒子及基于电视盒子的电视用户界面操控方法 |
| CN105357573A (zh) * | 2015-12-21 | 2016-02-24 | 深圳Tcl数字技术有限公司 | 用于确定电视开机时需要连接的无线从设备的方法及装置 |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102711282B (zh) * | 2012-05-21 | 2015-12-16 | 浙江优诺肯科技有限公司 | 实现无输入无线设备接入网络的方法及无输入无线设备 |
| CN102802071B (zh) * | 2012-08-24 | 2014-10-29 | 上海广电电子科技有限公司 | 智能电视、移动终端、多屏互动系统及无线通信方法 |
| CN103595798A (zh) * | 2013-11-14 | 2014-02-19 | 福州瑞芯微电子有限公司 | 一种基于WIFI Direct的体感分享主/从设备及方法 |
| CN103826323A (zh) * | 2014-02-26 | 2014-05-28 | 深圳市金立通信设备有限公司 | 一种无线网络连接的方法、终端及移动终端 |
| CN104955165A (zh) * | 2014-03-25 | 2015-09-30 | 上海龙旗科技股份有限公司 | 一种通过运动感应触发的移动设备间建立无线连接的方法 |
| CN104581315B (zh) * | 2015-02-10 | 2019-02-12 | 江苏惠通集团有限责任公司 | 遥控方法及遥控装置 |
-
2015
- 2015-12-21 CN CN201510970252.1A patent/CN105357573B/zh active Active
-
2016
- 2016-06-01 WO PCT/CN2016/084388 patent/WO2017107382A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110188391A1 (en) * | 2010-02-04 | 2011-08-04 | Texas Instruments Incorporated | INTERRELATED WiFi AND USB PROTOCOLS AND OTHER APPLICATION FRAMEWORK PROCESSES, CIRCUITS AND SYSTEMS |
| US20130279471A1 (en) * | 2012-04-23 | 2013-10-24 | Toshiyuki Kito | Wireless connection system, wireless connection control method, and wireless connection control program |
| CN203120074U (zh) * | 2012-10-31 | 2013-08-07 | 深圳市同洲电子股份有限公司 | 一种数字电视系统及数字电视接收终端 |
| CN104768072A (zh) * | 2015-04-29 | 2015-07-08 | 北京奇艺世纪科技有限公司 | 一种电视盒子及基于电视盒子的电视用户界面操控方法 |
| CN105357573A (zh) * | 2015-12-21 | 2016-02-24 | 深圳Tcl数字技术有限公司 | 用于确定电视开机时需要连接的无线从设备的方法及装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105357573B (zh) | 2018-10-02 |
| CN105357573A (zh) | 2016-02-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6866162B2 (ja) | スマート機器の制御方法および装置 | |
| US10055094B2 (en) | Method and apparatus for dynamically displaying device list | |
| KR102124188B1 (ko) | 이미지를 처리하는 전자장치 및 방법 | |
| KR101895743B1 (ko) | 사용 권한을 획득하기 위한 방법 및 장치 | |
| KR102547104B1 (ko) | 전자 장치 및 복수의 영상을 처리하는 방법 | |
| KR20150092964A (ko) | 지문 처리 방법 및 그 전자 장치 | |
| KR102107132B1 (ko) | 전자 장치의 억세스 포인트 접속 방법 및 그 전자 장치 | |
| US20170171613A1 (en) | Method and apparatus for controlling electronic device, and storage medium | |
| CN111614524A (zh) | 一种多智能设备联动控制的方法、设备及系统 | |
| RU2615759C2 (ru) | Способ и устройство для видеозаписи | |
| US9749859B2 (en) | Electronic device and method for updating authentication information in the electronic device | |
| KR20160051390A (ko) | 전자장치 및 전자장치의 필터 제공 방법 | |
| RU2609147C2 (ru) | Способ и устройство для передачи изображений | |
| US20170156106A1 (en) | Method and apparatus for retrieving and displaying network state information | |
| US9332289B2 (en) | Image viewing system, receiver mobile terminal, image server, and image viewing method | |
| JP6283749B2 (ja) | 機器接続を促す方法および装置 | |
| WO2015149613A1 (en) | Volume control methods and devices, and multimedia playback control methods and devices | |
| US9955068B2 (en) | Apparatus and method for operating a composition of a picture in a portable terminal | |
| CN109388238A (zh) | 一种电子设备的控制方法及装置 | |
| US20160026719A1 (en) | Methods and devices for sharing resources | |
| CN108829481B (zh) | 基于控制电子设备的遥控器界面的呈现方法 | |
| JP2016532966A5 (zh) | ||
| WO2024114274A1 (zh) | IoT设备配网方法及相关装置 | |
| RU2647691C2 (ru) | Способ и устройство для позиционирования | |
| KR101640710B1 (ko) | 카메라를 이용하여 주 디스플레이와 같은 방에 있는 후보 동반 디스플레이 디바이스의 근접 검출 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16877196 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 31.10.2018) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16877196 Country of ref document: EP Kind code of ref document: A1 |

