WO2017107382A1 - Method and device for use in determining wireless slave device to which television needs to connect on startup - Google Patents

Method and device for use in determining wireless slave device to which television needs to connect on startup Download PDF

Info

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
Application number
PCT/CN2016/084388
Other languages
French (fr)
Chinese (zh)
Inventor
焦新旺
王云华
Original Assignee
深圳Tcl数字技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳Tcl数字技术有限公司 filed Critical 深圳Tcl数字技术有限公司
Publication of WO2017107382A1 publication Critical patent/WO2017107382A1/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
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [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)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed is a method for use in determining a wireless slave device to which a television needs to connect on startup, comprising the following steps: detecting wireless devices connected in a wireless network, filtering out Wi-Fi direct connection devices having a wireless reception function; when a wireless master device is present among the Wi-Fi direction connection devices having the wireless reception function, reading a state of a main direct connection switch of the wireless master device; when the main direct connection switch is in an enabled state, acquiring an acceleration value of a wireless slave device having an accelerometer; and when the acceleration value satisfies a preset criterion, making the corresponding wireless slave device as the wireless slave device to which the television needs to connect on startup. Also disclosed is a device. The present invention allows automated determination of which wireless slave devices are the ones with which a smart television needs to establish Wi-Fi direct connections on startup.

Description

用于确定电视开机时需要连接的无线从设备的方法及装置Method and apparatus for determining a wireless slave device that needs to be connected when the television is turned on 技术领域Technical field
本发明涉及通讯技术领域,尤其涉及一种用于确定电视开机时需要连接的无线从设备的方法及装置。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.
背景技术Background technique
WiFi Direct,即WiFi直连可以让手机以及电视等设备连接在一个内网小组中,在无线主设备如电视创建wifi直连功能以后,针对用户有多个无线从设备的情况,如:手机1连接电视需要1秒,IPAD1连接电视需要1秒,手机2连接电视需要1秒,IPAD2连接电视需要1秒,电脑连接电视需要2秒,然而,其中只有手机1是需要被当成遥控器来操作电视的,而其他设备在电视开机启动中是不需要连接的,这样,这些无线从设备在电视开启过程中都需要去连接,会严重影响电视的开机时间。另一方面,若关闭电视的wifi直连功能,则需要用户手动进行操作,从而造成电视失去智能性。WiFi Direct, that is, WiFi Direct, allows devices such as mobile phones and TVs to be connected to an intranet group. After a wireless main device such as a TV creates a wifi direct connection function, there are 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. However, only the mobile phone 1 needs to be used as a remote control to operate the TV. However, 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. On the other hand, if the wifi direct connection function of the TV is turned off, the user needs to manually operate, thereby causing the television to lose intelligence.
发明内容Summary of the invention
本发明的主要目的在于提供一种用于确定智能电视开机时需要连接的无线从设备的方法及装置,以自动确定智能电视开机时需要与哪些无线从设备建立WiFi直连。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.
为实现上述目的,本发明提供一种用于确定电视开机时需要连接的无线从设备的方法,包括以下步骤:To achieve the above object, 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:
接收WiFi直连设备发送的WiFi直连请求;Receiving a WiFi direct connection request sent by the WiFi direct connection device;
侦测发送WiFi直连请求的WiFi直连设备,并判断所述WiFi直连设备是否具备无线接收功能;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;
在所述WiFi直连设备具备无线接收功能时,读取对应WiFi直连设备的设备号并存储;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;
查找预设WiFi直连列表,判断所述具备无线接收功能的WiFi直连设备是否在所述预设WiFi直连列表内;Finding 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;
若是,则将所述具备无线接收功能的WiFi直连设备判定为无线主设备; If yes, determining the WiFi direct connection device with the wireless receiving function as the wireless master device;
读取所述无线主设备的主直连开关的状态;Reading the state of the main direct switch of the wireless master device;
在所述主直连开关处于开启状态时,获取具有加速度传感器的无线从设备的加速度值;Acquiring an acceleration value of the wireless slave device having the acceleration sensor when the main direct switch is in an open state;
在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备。When the acceleration value satisfies the preset condition, the corresponding wireless slave device is used as a wireless slave device that needs to be connected when the television is turned on.
优选地,所述加速度值包括水平方向加速度值和垂直方向加速度值。Preferably, the acceleration value includes a horizontal direction acceleration value and a vertical direction acceleration value.
优选地,所述在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备的步骤包括:Preferably, when the acceleration value meets a preset condition, 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:
判断所述水平方向加速度值或垂直方向加速度值是否大于预定值;Determining whether the horizontal acceleration value or the vertical acceleration value is greater than a predetermined value;
在所述水平方向加速度值或垂直方向加速度值大于预定值时,判断获取的所述水平方向加速度值或垂直方向加速度值是否持续预定时间;When the horizontal acceleration value or the vertical acceleration value is greater than a predetermined value, determining whether the acquired horizontal acceleration value or vertical acceleration value continues for a predetermined time;
在获取的所述水平方向加速度值或垂直方向加速度值在持续预定时间内大于预定值时,将对应的无线从设备作为电视开机时需要连接的无线从设备。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:
侦测无线网中连接的无线设备,筛选出具备无线接收功能的WiFi直连设备;Detecting wireless devices connected in the wireless network, and filtering out WiFi direct connected devices with wireless receiving function;
在所述具备无线接收功能的WiFi直连设备中存在无线主设备时,读取所述无线主设备的主直连开关的状态;Reading 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;
在所述主直连开关处于开启状态时,获取具有加速度传感器的无线从设备的加速度值;Acquiring an acceleration value of the wireless slave device having the acceleration sensor when the main direct switch is in an open state;
在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备。When the acceleration value satisfies the preset condition, the corresponding wireless slave device is used as a wireless slave device that needs to be connected when the television is turned on.
优选地,所述侦测无线网中连接的无线设备,筛选出具备无线接收功能的WiFi直连设备的步骤包括:Preferably, 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:
接收WiFi直连设备发送的WiFi直连请求;Receiving a WiFi direct connection request sent by the WiFi direct connection device;
侦测发送WiFi直连请求的WiFi直连设备,并判断所述WiFi直连设备是否具备无线接收功能;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;
在所述WiFi直连设备具备无线接收功能时,读取对应WiFi直连设备的设备号并存储。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.
优选地,所述在所述具备无线接收功能的WiFi直连设备中存在无线主设备时,读取所述无线主设备的主直连开关的状态的步骤包括: Preferably, when the wireless master device exists in the WiFi direct connection device with the wireless receiving function, the step of reading the state of the main direct switch of the wireless master device includes:
查找预设WiFi直连列表,判断所述具备无线接收功能的WiFi直连设备是否在所述预设WiFi直连列表内;Finding 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;
若是,则将所述具备无线接收功能的WiFi直连设备判定为无线主设备;If yes, determining the WiFi direct connection device with the wireless receiving function as the wireless master device;
读取所述无线主设备的主直连开关的状态。Reading the status of the main direct switch of the wireless master device.
优选地,所述加速度值包括水平方向加速度值和垂直方向加速度值。Preferably, the acceleration value includes a horizontal direction acceleration value and a vertical direction acceleration value.
优选地,所述在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备的步骤包括:Preferably, when the acceleration value meets a preset condition, 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:
判断所述水平方向加速度值或垂直方向加速度值是否大于预定值;Determining whether the horizontal acceleration value or the vertical acceleration value is greater than a predetermined value;
在所述水平方向加速度值或垂直方向加速度值大于预定值时,判断获取的所述水平方向加速度值或垂直方向加速度值是否持续预定时间;When the horizontal acceleration value or the vertical acceleration value is greater than a predetermined value, determining whether the acquired horizontal acceleration value or vertical acceleration value continues for a predetermined time;
在获取的所述水平方向加速度值或垂直方向加速度值在持续预定时间内大于预定值时,将对应的无线从设备作为电视开机时需要连接的无线从设备。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.
此外,为实现上述目的,本发明还提出一种用于确定电视开机时需要连接的无线从设备的装置,包括:In addition, in order to achieve the above object, 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:
筛选模块,用于侦测无线网中连接的无线设备,筛选出具备无线接收功能的WiFi直连设备;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;
读取模块,用于在所述具备无线接收功能的WiFi直连设备中存在无线主设备时,读取所述无线主设备的主直连开关的状态;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;
控制模块,用于在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备。And 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.
优选地,所述筛选模块包括:Preferably, the screening module comprises:
接收单元,用于接收WiFi直连设备发送的WiFi直连请求;a receiving unit, configured to receive a WiFi direct connection request sent by the WiFi direct connection device;
第一判断单元,用于侦测发送WiFi直连请求的WiFi直连设备,并判断所述WiFi直连设备是否具备无线接收功能;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;
第一读取单元,用于在所述WiFi直连设备具备无线接收功能时,读取对应WiFi直连设备的设备号并存储。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.
优选地,所述读取模块包括:Preferably, the reading module comprises:
第二判断单元,用于查找预设WiFi直连列表,判断所述具备无线接收功能的WiFi直连设备是否在所述预设WiFi直连列表内;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;
判定单元,用于若是,则将所述具备无线接收功能的WiFi直连设备判定 为无线主设备;a determining unit, if yes, determining the WiFi direct connection device with the wireless receiving function Is a wireless master device;
第二读取单元,用于读取所述无线主设备的主直连开关的状态。And a second reading unit, configured to read a state of the main direct switch of the wireless master device.
优选地,所述加速度值包括水平方向加速度值和垂直方向加速度值。Preferably, the acceleration value includes a horizontal direction acceleration value and a vertical direction acceleration value.
优选地,所述控制模块包括:Preferably, the 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;
控制单元,用于在获取的所述水平方向加速度值或垂直方向加速度值在持续预定时间内大于预定值时,将对应的无线从设备作为电视开机时需要连接的无线从设备。And 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.
本发明提供的用于确定电视开机时需要连接的无线从设备的方法及装置,首先通过侦测无线网中连接的无线设备,筛选出具备无线接收功能的WiFi直连设备,然后在所述具备无线接收功能的WiFi直连设备中存在无线主设备时,读取所述无线主设备的主直连开关的状态,并在所述主直连开关处于开启状态时,获取具有加速度传感器的无线从设备的加速度值,最终在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备。这样,可以自动确定智能电视开机时需要与哪些无线从设备建立WiFi直连。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 When 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.
附图说明DRAWINGS
图1为本发明用于确定电视开机时需要连接的无线从设备的方法一实施例的流程示意图;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;
图2为图1中步骤S101的细化流程示意图;2 is a schematic diagram of a refinement process of step S101 in FIG. 1;
图3为图1中步骤S102的细化流程示意图;3 is a schematic flowchart of the refinement of step S102 in FIG. 1;
图4为图1中步骤S104的细化流程示意图;4 is a schematic diagram of a refinement process of step S104 in FIG. 1;
图5为本发明用于确定电视开机时需要连接的无线从设备的装置一实施例的功能模块示意图;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;
图6为图5中筛选模块的细化功能模块示意图;6 is a schematic diagram of a refinement function module of the screening module in FIG. 5;
图7为图5中读取模块的细化功能模块示意图;7 is a schematic diagram of a refinement function module of the reading module in FIG. 5;
图8为图5中控制模块的细化功能模块示意图。 FIG. 8 is a schematic diagram of a refinement function module of the control module of FIG. 5.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明提供一种用于确定电视开机时需要连接的无线从设备的方法,参照图1,在一实施例中,所述用于确定电视开机时需要连接的无线从设备的方法包括以下步骤:The present invention provides a method for determining a wireless slave device that needs to be connected when the television is turned on. Referring to FIG. 1, in an embodiment, the method for determining a wireless slave device that needs to be connected when the television is powered on includes the following steps:
步骤S101,侦测无线网中连接的无线设备,筛选出具备无线接收功能的WiFi直连设备;Step S101, detecting a wireless device connected in the wireless network, and filtering out a WiFi direct connection device having a wireless receiving function;
本实施例中,用于确定电视开机时需要连接的无线从设备的装置接收WiFi直连设备发送的WiFi直连请求,其中WiFi直连设备包括电脑、电视、手机、平板电脑、路由器等设备。该装置侦测发送WiFi直连请求的WiFi直连设备,判定这些WiFi直连设备是否具有无线接收功能,并从中筛选出具备无线接收功能的WiFi直连设备,如筛选出电脑、电视、手机以及平板电脑等设备。In this embodiment, 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.
步骤S102,在所述具备无线接收功能的WiFi直连设备中存在无线主设备时,读取所述无线主设备的主直连开关的状态;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;
本实施例中,WiFi直连设备创建小组,需要由组长作为无线主设备,本实施例中,无线主设备优选为电视。可以理解的是,在家庭场景中,电脑、电视、手机、平板电脑等WiFi直连设备的权重不一样,其中,电视所占的权重最大,可作为无线主设备。当然,在其他实施例,可以合理选择无线主设备,并不局限于本实施例。In this embodiment, the WiFi direct connection device creation group needs to be the wireless master device by the group leader. In this embodiment, 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. Of course, in other embodiments, the wireless master device can be reasonably selected, and is not limited to the embodiment.
当所述装置判定具备无线接收功能的WiFi直连设备中没有无线主设备时,则会关闭无线主设备如电视的直连开关,当然,也可以由用户选择关闭电视的WiFi直连功能。When the device determines that there is no wireless master device in the WiFi direct connection device with the wireless receiving function, the wireless master device such as the direct connection switch of the television is turned off. Of course, the user can also choose to turn off the WiFi direct connection function of the television.
可以理解的是,所述装置发现有无线主设备号后,需要判断用户是否已经通过电视的菜单页面关闭WiFi直连,若用户没有在菜单页面关闭WiFi直连,则开启无线主设备的直连开关;若用户本身对WiFi直连设备在用户菜单初步设定了关闭WiFi直连的功能,为此,无线主设备如电视在开机时,不需 要启动和创建WiFi直连。It can be understood that after 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.
步骤S103,在所述主直连开关处于开启状态时,获取具有加速度传感器的无线从设备的加速度值;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;
本实施例中,所述装置首先需要过滤掉非WiFi直连设备,如路由器,然后将不具有加速度传感器的无线从设备过滤掉,如电脑、AP热点(Wireless Access Point,无线访问接入点)等。无线从设备具有加速传感器,以手机为例,通常具备水平方向加速度值ax和垂直方向加速度值ay。当然,在其他实施例中,也可以具有一个或三个方向的加速度值,并不局限于本实施例。In this embodiment, 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.
可以理解的是,当主直连开关处于关闭状态时,所述装置直接关闭无线从设备。It will be appreciated that the device directly turns off the wireless slave when the primary direct switch is in the off state.
步骤S104,在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备。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(水平方向加速度ax,垂直方向加速度ay,)只要有一个方向上的加速度大于预定值如60%,则由于数据可能由干扰信息传来,如果所述装置读取的加速度值大于预定值60%,还需要启动无线主设备进行定时。所述装置在获取到水平方向加速度值或垂直方向加速度值在持续时间如1s内大于预定值如60%,则判定该无线从设备为待连接设备,并将对应的无线从设备作为电视开机时需要连接的无线从设备。此时,无线主设备在屏幕上对连接的无线从设备进行显示。In this embodiment, WA_ax, WA_ay (horizontal acceleration ax, vertical acceleration ay), as long as the acceleration in one direction is greater than a predetermined value such as 60%, since the data may be transmitted by the interference information, if the device reads The acceleration value is greater than the predetermined value of 60%, and it is also necessary to start the wireless master device for timing. When the device obtains the horizontal acceleration value or the vertical acceleration value is greater than a predetermined value, such as 60%, for a duration, such as 1 s, determining that the wireless slave device is a device to be connected, and the corresponding wireless slave device is turned on as a television. A wireless slave device that needs to be connected. At this time, the wireless master device displays the connected wireless slave device on the screen.
本发明提供的用于确定电视开机时需要连接的无线从设备的方法,首先通过侦测无线网中连接的无线设备,筛选出具备无线接收功能的WiFi直连设备,然后在所述具备无线接收功能的WiFi直连设备中存在无线主设备时,读取所述无线主设备的主直连开关的状态,并在所述主直连开关处于开启状态时,获取具有加速度传感器的无线从设备的加速度值,最终在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备。这样,可以自动确定智能电视开机时需要与哪些无线从设备建立WiFi直连。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 When 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.
进一步地,如图2所示,在上述图1的实施例的基础上,本实施例中,所述步骤S101包括: Further, as shown in FIG. 2, on the basis of the foregoing embodiment of FIG. 1, in the embodiment, the step S101 includes:
步骤S1011,接收WiFi直连设备发送的WiFi直连请求;Step S1011: Receive a WiFi direct connection request sent by the WiFi direct connection device.
本实施例中,所述装置接收WiFi直连设备发送的WiFi直连请求,其中WiFi直连设备包括电脑、电视、手机、平板电脑、路由器等设备。In this embodiment, 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.
步骤S1012,侦测发送WiFi直连请求的WiFi直连设备,并判断所述WiFi直连设备是否具备无线接收功能;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;
本实施例中,所述装置侦测发送WiFi直连请求的WiFi直连设备,并判断所述WiFi直连设备是否具备无线接收功能。通过此步骤可以从中过滤掉不具无线接收功能的非WiFi直连设备,如AP热点,从而筛选出具备无线接收功能的WiFi直连设备,如筛选出电脑、电视、手机以及平板电脑等设备。In this embodiment, 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.
步骤S1013,在所述WiFi直连设备具备无线接收功能时,读取对应WiFi直连设备的设备号并存储。In 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.
本实施例中,在所述WiFi直连设备具备无线接收功能时,读取对应WiFi直连设备的设备号并存储于存储器中。例如:所述装置发现电脑、平板电脑等具备无线接收功能的设备,会读取这些无线设备的设备号并在存储区存储登记。In this embodiment, 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. For example, 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.
在一实施例中,如图3所示,在上述图2的实施例的基础上,本实施例中,所述步骤S102包括:In an embodiment, as shown in FIG. 3, on the basis of the foregoing embodiment of FIG. 2, in the embodiment, the step S102 includes:
步骤S1021,查找预设WiFi直连列表,判断所述具备无线接收功能的WiFi直连设备是否在所述预设WiFi直连列表内;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;
步骤S1022,若是,则将所述具备无线接收功能的WiFi直连设备判定为无线主设备;Step S1022, if yes, determining the WiFi direct connection device with the wireless receiving function as the wireless master device;
本实施例中,所述装置判断所述具备无线接收功能的WiFi直连设备是否在预设WiFi直连列表内。本优选实施例中,在家庭场景中,电脑、电视、手机、平板电脑等WiFi直连设备的权重不一样,其中,电视所占的权重最大,可作为无线主设备。当然,在其他实施例,可以合理选择无线主设备,并不局限于本实施例。In this embodiment, the device determines whether the WiFi direct connection device with the wireless receiving function is in the preset WiFi direct connection list. In the preferred embodiment, in a home scenario, 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. Of course, in other embodiments, the wireless master device can be reasonably selected, and is not limited to the embodiment.
步骤S1023,读取所述无线主设备的主直连开关的状态。Step S1023, reading the state of the main direct switch of the wireless master device.
在一实施例中,如图4所示,在上述图1的实施例的基础上,本实施例 中,所述步骤S104包括:In an embodiment, as shown in FIG. 4, based on the embodiment of FIG. 1 above, the embodiment The step S104 includes:
步骤S1041,判断所述水平方向加速度值或垂直方向加速度值是否大于预定值;Step S1041, determining whether the horizontal direction acceleration value or the vertical direction acceleration value is greater than a predetermined value;
本实施例中,所述装置判断所述水平方向加速度值或垂直方向加速度值是否大于预定值如60%。本优选实施例中,所述判断水平方向加速度值或垂直方向加速度值,当然,在其他实施例中,也可以具有一个或三个方向的加速度值,并不局限于本实施例。In this embodiment, the device determines whether the horizontal acceleration value or the vertical acceleration value is greater than a predetermined value, such as 60%. In the preferred embodiment, the horizontal acceleration value or the vertical acceleration value is determined. Of course, in other embodiments, the acceleration value may be one or three directions, and is not limited to the embodiment.
步骤S1042,在所述水平方向加速度值或垂直方向加速度值大于预定值时,判断获取的所述水平方向加速度值或垂直方向加速度值是否持续预定时间;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;
步骤S1043,在获取的所述水平方向加速度值或垂直方向加速度值在持续预定时间内大于预定值时,将对应的无线从设备作为电视开机时需要连接的无线从设备。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.
本实施例中,所述预定时间优选为1s,当然,在其他实施例中,可以设置其他合理时间数值,并不限于本实施例。具体如下:In this embodiment, the predetermined time is preferably 1 s. Of course, in other embodiments, other reasonable time values may be set, and are not limited to the embodiment. details as follows:
无线主设备的直连开关Wfidi_state(TRUE,FALSE):Wireless master's direct switch Wfidi_state (TRUE, FALSE):
Wfidi_state=1;Wfidi_state=1;
WA_ax(x),水平方向加速值:百分比,占整个范围的百分之六十以上为有效的水平方向加速度值,WA_ax(x), horizontal acceleration value: percentage, accounting for more than 60% of the entire range is an effective horizontal acceleration value.
z1=80,WA_ax(z1)=1;Z1=80, WA_ax(z1)=1;
WA_ay(y)垂直方向加速度值:百分比,占整个范围的百分之六十以上为有效的垂直方向加速度值,WA_ay (y) vertical acceleration value: percentage, accounting for more than 60% of the entire range is the effective vertical acceleration value,
z1=70,WA_ay(z1)=1;Z1=70, WA_ay(z1)=1;
无线主设备定时WTs>1s,true;WTs<2s,false.Wireless master timing WTs>1s, true; WTs<2s, false.
z1=2s,WTs(z1)=1.Z1=2s, WTs(z1)=1.
Wclent(z1)>0,TRUE为待连接无线从设备,Wclent(z2)=0,不连接无线从设备。Wclent(z1)>0, TRUE is the wireless slave device to be connected, Wclent(z2)=0, no wireless slave device is connected.
计算公式如下:Calculated as follows:
Wclent(z1)=Wfidi_state*((WA_ax(z1)>60%)||(WA_ay(z1)>60%)*WTs(z1),z1=0X10、0X20、0X30、0X40、0X50、0X60……。 Wclent(z1)=Wfidi_state*((WA_ax(z1)>60%)||(WA_ay(z1)>60%)*WTs(z1), z1=0X10, 0X20, 0X30, 0X40, 0X50, 0X60.
如以下表一所示:As shown in the following table 1:
Figure PCTCN2016084388-appb-000001
Figure PCTCN2016084388-appb-000001
表一Table I
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%,则可以判定对应方向的加速度值为有效值,也即认为用户正在操作或使用该无线从设备,因此,该无线从设备为待连接至无线主设备如电视上的设备,即可以将对应的无线从设备作为电视开机时需要连接的无线从设备。 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. The mobile phone 1 with the device number 0X20 has a horizontal acceleration value of 3 s greater than a predetermined value of 60%, and the vertical acceleration value lasts for 3 s less than a predetermined value of 60%. Therefore, Wclent (0X10)=1, that is, the mobile phone 1 is to be connected. 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. Therefore, Wclent(0X10)=1, that is, tablet 1 is to be connected. The wireless slave device; the mobile phone 2 with the device number 0X40 has an acceleration value of less than 62% in the horizontal direction and an acceleration value of less than 62% in the vertical direction. Therefore, Wclent(0X10)=0, that is, the mobile phone 2 is not connected to the wireless slave device; For the 0X50 tablet 2, the acceleration value in the horizontal direction is less than 60%, and the acceleration value in the vertical direction is less than 60%. Therefore, Wclent(0X10)=0, that is, the tablet 2 is not connected to the wireless slave device; the device number is 0X60. The acceleration value of the computer in the horizontal direction is 0 for 2s, and the acceleration value in the vertical direction is 0 for 2s. Therefore, Wclent(0X10)=0, that is, the desktop computer is not connected to the wireless slave device. In summary, when any signal value of the wireless slave device in the horizontal direction acceleration value or the vertical direction acceleration value continues to be greater than a predetermined value, such as 60%, within a predetermined time, such as 1 s, the acceleration value of the corresponding direction may be determined to be a valid value, that is, It is considered that the user is operating or using the wireless slave device. Therefore, 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.
本发明还提供一种用于确定电视开机时需要连接的无线从设备的装置1,参照图5,在一实施例中,所述用于确定电视开机时需要连接的无线从设备的装置1包括: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. Referring to FIG. 5, in an embodiment, the apparatus 1 for determining a wireless slave device that needs to be connected when the television is turned on includes :
筛选模块101,用于侦测无线网中连接的无线设备,筛选出具备无线接收功能的WiFi直连设备;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;
本实施例中,用于确定电视开机时需要连接的无线从设备的装置接收WiFi直连设备发送的WiFi直连请求,其中WiFi直连设备包括电脑、电视、手机、平板电脑、路由器等设备。该装置侦测发送WiFi直连请求的WiFi直连设备,判定这些WiFi直连设备是否具有无线接收功能,并从中筛选出具备无线接收功能的WiFi直连设备,如筛选出电脑、电视、手机以及平板电脑等设备。In this embodiment, 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.
读取模块102,用于在所述具备无线接收功能的WiFi直连设备中存在无线主设备时,读取所述无线主设备的主直连开关的状态;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;
本实施例中,WiFi直连设备创建小组,需要由组长作为无线主设备,本实施例中,无线主设备优选为电视。可以理解的是,在家庭场景中,电脑、电视、手机、平板电脑等WiFi直连设备的权重不一样,其中,电视所占的权重最大,可作为无线主设备。当然,在其他实施例,可以合理选择无线主设备,并不局限于本实施例。In this embodiment, the WiFi direct connection device creation group needs to be the wireless master device by the group leader. In this embodiment, 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. Of course, in other embodiments, the wireless master device can be reasonably selected, and is not limited to the embodiment.
当所述装置判定具备无线接收功能的WiFi直连设备中没有无线主设备时,则会关闭无线主设备如电视的直连开关,当然,也可以由用户选择关闭电视的WiFi直连功能。When the device determines that there is no wireless master device in the WiFi direct connection device with the wireless receiving function, the wireless master device such as the direct connection switch of the television is turned off. Of course, the user can also choose to turn off the WiFi direct connection function of the television.
可以理解的是,所述装置发现有无线主设备号后,需要判断用户是否已经通过电视的菜单页面关闭WiFi直连,若用户没有在菜单页面关闭WiFi直连,则开启无线主设备的直连开关;若用户本身对WiFi直连设备在用户菜单初步设定了关闭WiFi直连的功能,为此,无线主设备如电视在开机时,不需要启动和创建WiFi直连。It can be understood that after 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.
获取模块103,用于在所述主直连开关处于开启状态时,获取具有加速度传感器的无线从设备的加速度值;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;
本实施例中,所述装置首先需要过滤掉非WiFi直连设备,如路由器,然 后将不具有加速度传感器的无线从设备过滤掉,如电脑、AP热点(Wireless Access Point,无线访问接入点)等。无线从设备具有加速传感器,以手机为例,通常具备水平方向加速度值ax和垂直方向加速度值ay。当然,在其他实施例中,也可以具有一个或三个方向的加速度值,并不局限于本实施例。In this embodiment, 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.
可以理解的是,当主直连开关处于关闭状态时,所述装置直接关闭无线从设备。It will be appreciated that the device directly turns off the wireless slave when the primary direct switch is in the off state.
控制模块104,用于在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备。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(水平方向加速度ax,垂直方向加速度ay,)只要有一个方向上的加速度大于预定值如60%,则由于数据可能由干扰信息传来,如果所述装置读取的加速度值大于预定值60%,还需要启动无线主设备进行定时。所述装置在获取到水平方向加速度值或垂直方向加速度值在持续时间如1s内大于预定值如60%,则判定该无线从设备为待连接设备,并将对应的无线从设备作为电视开机时需要连接的无线从设备。此时,无线主设备在屏幕上对连接的无线从设备进行显示。In this embodiment, WA_ax, WA_ay (horizontal acceleration ax, vertical acceleration ay), as long as the acceleration in one direction is greater than a predetermined value such as 60%, since the data may be transmitted by the interference information, if the device reads The acceleration value is greater than the predetermined value of 60%, and it is also necessary to start the wireless master device for timing. When the device obtains the horizontal acceleration value or the vertical acceleration value is greater than a predetermined value, such as 60%, for a duration, such as 1 s, determining that the wireless slave device is a device to be connected, and the corresponding wireless slave device is turned on as a television. A wireless slave device that needs to be connected. At this time, the wireless master device displays the connected wireless slave device on the screen.
本发明提供的用于确定电视开机时需要连接的无线从设备的装置,首先通过侦测无线网中连接的无线设备,筛选出具备无线接收功能的WiFi直连设备,然后在所述具备无线接收功能的WiFi直连设备中存在无线主设备时,读取所述无线主设备的主直连开关的状态,并在所述主直连开关处于开启状态时,获取具有加速度传感器的无线从设备的加速度值,最终在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备。这样,可以自动确定智能电视开机时需要与哪些无线从设备建立WiFi直连。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 When 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.
在一实施例中,如图6所示,在上述图5的实施例的基础上,本实施例中,所述筛选模块101包括:In an embodiment, as shown in FIG. 6, on the basis of the foregoing embodiment of FIG. 5, in the embodiment, the screening module 101 includes:
接收单元1011,用于接收WiFi直连设备发送的WiFi直连请求;The receiving unit 1011 is configured to receive a WiFi direct connection request sent by the WiFi direct connection device.
本实施例中,所述装置接收WiFi直连设备发送的WiFi直连请求,其中WiFi直连设备包括电脑、电视、手机、平板电脑、路由器等设备,可以通过wifi直连。 In this embodiment, 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.
第一判断单元1012,用于侦测发送WiFi直连请求的WiFi直连设备,并判断所述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.
本实施例中,所述装置侦测发送WiFi直连请求的WiFi直连设备,并判断所述WiFi直连设备是否具备无线接收功能。通过此步骤可以从中过滤掉不具无线接收功能的非WiFi直连设备,如AP热点,从而筛选出具备无线接收功能的WiFi直连设备,如筛选出电脑、电视、手机以及平板电脑等设备。In this embodiment, 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.
第一读取单元1013,用于在所述WiFi直连设备具备无线接收功能时,读取对应WiFi直连设备的设备号并存储。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.
本实施例中,在所述WiFi直连设备具备无线接收功能时,读取对应WiFi直连设备的设备号并存储于存储器中。例如:所述装置发现电脑、平板电脑等具备无线接收功能的设备,会读取这些无线设备的设备号并在存储区存储登记。In this embodiment, 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. For example, 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.
在一实施例中,如图7所示,在上述图5的实施例的基础上,所述读取模块102包括:In an embodiment, as shown in FIG. 7, on the basis of the above embodiment of FIG. 5, the reading module 102 includes:
第二判断单元1021,用于查找预设WiFi直连列表,判断所述具备无线接收功能的WiFi直连设备是否在所述预设WiFi直连列表内;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;
判定单元1022,用于若是,则将所述具备无线接收功能的WiFi直连设备判定为无线主设备;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;
本实施例中,所述装置判断所述具备无线接收功能的WiFi直连设备是否在预设WiFi直连列表内。本优选实施例中,在家庭场景中,电脑、电视、手机、平板电脑等WiFi直连设备的权重不一样,其中,电视所占的权重最大,可作为无线主设备。当然,在其他实施例,可以合理选择无线主设备,并不局限于本实施例。In this embodiment, the device determines whether the WiFi direct connection device with the wireless receiving function is in the preset WiFi direct connection list. In the preferred embodiment, in a home scenario, 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. Of course, in other embodiments, the wireless master device can be reasonably selected, and is not limited to the embodiment.
第二读取单元1023,用于读取所述无线主设备的主直连开关的状态。The second reading unit 1023 is configured to read a state of the main direct switch of the wireless master device.
在一实施例中,如图8所示,在上述图5的实施例的基础上,所述控制模块104包括:In an embodiment, as shown in FIG. 8, on the basis of the foregoing embodiment of FIG. 5, the control module 104 includes:
第三判断单元1041,用于判断所述水平方向加速度值或垂直方向加速度值是否大于预定值; 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;
本实施例中,所述装置判断所述水平方向加速度值或垂直方向加速度值是否大于预定值如60%。本优选实施例中,所述判断水平方向加速度值或垂直方向加速度值,当然,在其他实施例中,也可以具有一个或三个方向的加速度值,并不局限于本实施例。In this embodiment, the device determines whether the horizontal acceleration value or the vertical acceleration value is greater than a predetermined value, such as 60%. In the preferred embodiment, the horizontal acceleration value or the vertical acceleration value is determined. Of course, in other embodiments, the acceleration value may be one or three directions, and is not limited to the embodiment.
第四判断单元1042,用于在所述水平方向加速度值或垂直方向加速度值大于预定值时,判断获取的所述水平方向加速度值或垂直方向加速度值是否持续预定时间;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;
控制单元1043,用于在获取的所述水平方向加速度值或垂直方向加速度值在持续预定时间内大于预定值时,将对应的无线从设备作为电视开机时需要连接的无线从设备。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.
本实施例中,所述预定时间优选为1s,当然,在其他实施例中,可以设置其他合理时间数值,并不限于本实施例。具体如下:In this embodiment, the predetermined time is preferably 1 s. Of course, in other embodiments, other reasonable time values may be set, and are not limited to the embodiment. details as follows:
无线主设备的直连开关Wfidi_state(TRUE,FALSE):Wireless master's direct switch Wfidi_state (TRUE, FALSE):
Wfidi_state=1;Wfidi_state=1;
WA_ax(x),水平方向加速值:百分比,占整个范围的百分之六十以上为有效的水平方向加速度值,WA_ax(x), horizontal acceleration value: percentage, accounting for more than 60% of the entire range is an effective horizontal acceleration value.
z1=80,WA_ax(z1)=1;Z1=80, WA_ax(z1)=1;
WA_ay(y)垂直方向加速度值:百分比,占整个范围的百分之六十以上为有效的垂直方向加速度值,WA_ay (y) vertical acceleration value: percentage, accounting for more than 60% of the entire range is the effective vertical acceleration value,
z1=70,WA_ay(z1)=1;Z1=70, WA_ay(z1)=1;
无线主设备定时WTs>1s,true;WTs<2s,false.Wireless master timing WTs>1s, true; WTs<2s, false.
z1=2s,WTs(z1)=1.Z1=2s, WTs(z1)=1.
Wclent(z1)>0,TRUE为待连接无线从设备,Wclent(z2)=0,不连接无线从设备。Wclent(z1)>0, TRUE is the wireless slave device to be connected, Wclent(z2)=0, no wireless slave device is connected.
计算公式如下:Calculated as follows:
Wclent(z1)=Wfidi_state*((WA_ax(z1)>60%)||(WA_ay(z1)>60%)*WTs(z1),z1=0X10、0X20、0X30、0X40、0X50、0X60……。 Wclent(z1)=Wfidi_state*((WA_ax(z1)>60%)||(WA_ay(z1)>60%)*WTs(z1), z1=0X10, 0X20, 0X30, 0X40, 0X50, 0X60.
如以下表一所示:As shown in the following table 1:
Figure PCTCN2016084388-appb-000002
Figure PCTCN2016084388-appb-000002
表一Table I
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%,则可以判定对应方向的加速度值为有效值,也即认为用户正在操作或使用该无线从设备,因此,该无线从设备为待连接至无线主设备如电视上的设备,即可以将对应的无线从设备作为电视开机时需要连接的无线从设备。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. The mobile phone 1 with the device number 0X20 has a horizontal acceleration value of 3 s greater than a predetermined value of 60%, and the vertical acceleration value lasts for 3 s less than a predetermined value of 60%. Therefore, Wclent (0X10)=1, that is, the mobile phone 1 is to be connected. 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. Therefore, Wclent(0X10)=1, that is, tablet 1 is to be connected. The wireless slave device; the mobile phone 2 with the device number 0X40 has an acceleration value of less than 62% in the horizontal direction and an acceleration value of less than 62% in the vertical direction. Therefore, Wclent(0X10)=0, that is, the mobile phone 2 is not connected to the wireless slave device; For the 0X50 tablet 2, the acceleration value in the horizontal direction is less than 60%, and the acceleration value in the vertical direction is less than 60%. Therefore, Wclent(0X10)=0, that is, the tablet 2 is not connected to the wireless slave device; the device number is 0X60. The acceleration value of the computer in the horizontal direction is 0 for 2s, and the acceleration value in the vertical direction is 0 for 2s. Therefore, Wclent(0X10)=0, that is, the desktop computer is not connected to the wireless slave device. In summary, when any signal value of the wireless slave device in the horizontal direction acceleration value or the vertical direction acceleration value continues to be greater than a predetermined value, such as 60%, within a predetermined time, such as 1 s, the acceleration value of the corresponding direction may be determined to be a valid value, that is, It is considered that the user is operating or using the wireless slave device. Therefore, 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 above is only a preferred embodiment of the present invention, and thus does not limit the scope of the patent of the present invention. The equivalent structure or equivalent flow transformation made by the specification and the drawings of the present invention, or directly or indirectly applied to other related technical fields, are all included in the scope of patent protection of the present invention.

Claims (20)

  1. 一种用于确定电视开机时需要连接的无线从设备的方法,其特征在于,包括以下步骤:A method for determining a wireless slave device that needs to be connected when the television is turned on, characterized in that it comprises the following steps:
    接收WiFi直连设备发送的WiFi直连请求;Receiving a WiFi direct connection request sent by the WiFi direct connection device;
    侦测发送WiFi直连请求的WiFi直连设备,并判断所述WiFi直连设备是否具备无线接收功能;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;
    在所述WiFi直连设备具备无线接收功能时,读取对应WiFi直连设备的设备号并存储;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;
    查找预设WiFi直连列表,判断所述具备无线接收功能的WiFi直连设备是否在所述预设WiFi直连列表内;Finding 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;
    若是,则将所述具备无线接收功能的WiFi直连设备判定为无线主设备;If yes, determining the WiFi direct connection device with the wireless receiving function as the wireless master device;
    读取所述无线主设备的主直连开关的状态;Reading the state of the main direct switch of the wireless master device;
    在所述主直连开关处于开启状态时,获取具有加速度传感器的无线从设备的加速度值;Acquiring an acceleration value of the wireless slave device having the acceleration sensor when the main direct switch is in an open state;
    在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备。When the acceleration value satisfies the preset condition, the corresponding wireless slave device is used as a wireless slave device that needs to be connected when the television is turned on.
  2. 如权利要求1所述的用于确定电视开机时需要连接的无线从设备的方法,其特征在于,所述加速度值包括水平方向加速度值和垂直方向加速度值。The method for determining a wireless slave device to be connected when the television is turned on according to claim 1, wherein the acceleration value comprises a horizontal direction acceleration value and a vertical direction acceleration value.
  3. 如权利要求2所述的用于确定电视开机时需要连接的无线从设备的方法,其特征在于,所述在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备的步骤包括:The method for determining a wireless slave device to be connected when the television is turned on according to claim 2, wherein when the acceleration value satisfies a preset condition, the corresponding wireless slave device is required to be turned on as a television The steps for connecting wireless slave devices include:
    判断所述水平方向加速度值或垂直方向加速度值是否大于预定值;Determining whether the horizontal acceleration value or the vertical acceleration value is greater than a predetermined value;
    在所述水平方向加速度值或垂直方向加速度值大于预定值时,判断获取的所述水平方向加速度值或垂直方向加速度值是否持续预定时间;When the horizontal acceleration value or the vertical acceleration value is greater than a predetermined value, determining whether the acquired horizontal acceleration value or vertical acceleration value continues for a predetermined time;
    在获取的所述水平方向加速度值或垂直方向加速度值在持续预定时间内大于预定值时,将对应的无线从设备作为电视开机时需要连接的无线从设备。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.
  4. 一种用于确定电视开机时需要连接的无线从设备的方法,其特征在于,包括以下步骤:A method for determining a wireless slave device that needs to be connected when the television is turned on, characterized in that it comprises the following steps:
    侦测无线网中连接的无线设备,筛选出具备无线接收功能的WiFi直连设备; Detecting wireless devices connected in the wireless network, and filtering out WiFi direct connected devices with wireless receiving function;
    在所述具备无线接收功能的WiFi直连设备中存在无线主设备时,读取所述无线主设备的主直连开关的状态;Reading 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;
    在所述主直连开关处于开启状态时,获取具有加速度传感器的无线从设备的加速度值;Acquiring an acceleration value of the wireless slave device having the acceleration sensor when the main direct switch is in an open state;
    在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备。When the acceleration value satisfies the preset condition, the corresponding wireless slave device is used as a wireless slave device that needs to be connected when the television is turned on.
  5. 如权利要求4所述的用于确定电视开机时需要连接的无线从设备的方法,其特征在于,所述侦测无线网中连接的无线设备,筛选出具备无线接收功能的WiFi直连设备的步骤包括:The method for determining a wireless slave device to be connected when the television is turned on according to claim 4, wherein the detecting the wireless device connected in the wireless network, and filtering out the WiFi direct connection device having the wireless receiving function The steps include:
    接收WiFi直连设备发送的WiFi直连请求;Receiving a WiFi direct connection request sent by the WiFi direct connection device;
    侦测发送WiFi直连请求的WiFi直连设备,并判断所述WiFi直连设备是否具备无线接收功能;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;
    在所述WiFi直连设备具备无线接收功能时,读取对应WiFi直连设备的设备号并存储。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.
  6. 如权利要求4所述的用于确定电视开机时需要连接的无线从设备的方法,其特征在于,所述在所述具备无线接收功能的WiFi直连设备中存在无线主设备时,读取所述无线主设备的主直连开关的状态的步骤包括:The method for determining a wireless slave device to be connected when the television is turned on according to claim 4, wherein when the wireless master device is present in the WiFi direct connection device having the wireless receiving function, the reading device The steps of the state of the main direct switch of the wireless master device include:
    查找预设WiFi直连列表,判断所述具备无线接收功能的WiFi直连设备是否在所述预设WiFi直连列表内;Finding 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;
    若是,则将所述具备无线接收功能的WiFi直连设备判定为无线主设备;If yes, determining the WiFi direct connection device with the wireless receiving function as the wireless master device;
    读取所述无线主设备的主直连开关的状态。Reading the status of the main direct switch of the wireless master device.
  7. 如权利要求4所述的用于确定电视开机时需要连接的无线从设备的方法,其特征在于,所述加速度值包括水平方向加速度值和垂直方向加速度值。The method for determining a wireless slave device to be connected when the television is turned on according to claim 4, wherein the acceleration value comprises a horizontal direction acceleration value and a vertical direction acceleration value.
  8. 如权利要求7所述的用于确定电视开机时需要连接的无线从设备的方法,其特征在于,所述在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备的步骤包括:The method for determining a wireless slave device to be connected when the television is turned on according to claim 7, wherein when the acceleration value satisfies a preset condition, the corresponding wireless slave device is required to be turned on as a television The steps for connecting wireless slave devices include:
    判断所述水平方向加速度值或垂直方向加速度值是否大于预定值;Determining whether the horizontal acceleration value or the vertical acceleration value is greater than a predetermined value;
    在所述水平方向加速度值或垂直方向加速度值大于预定值时,判断获取的所述水平方向加速度值或垂直方向加速度值是否持续预定时间;When the horizontal acceleration value or the vertical acceleration value is greater than a predetermined value, determining whether the acquired horizontal acceleration value or vertical acceleration value continues for a predetermined time;
    在获取的所述水平方向加速度值或垂直方向加速度值在持续预定时间内 大于预定值时,将对应的无线从设备作为电视开机时需要连接的无线从设备。The acquired horizontal acceleration value or vertical acceleration value is continued for a predetermined time When it is greater than the predetermined value, the corresponding wireless slave device is used as the wireless slave device that needs to be connected when the TV is turned on.
  9. 一种用于确定电视开机时需要连接的无线从设备的装置,其特征在于,包括:A device for determining a wireless slave device that needs to be connected when the television is powered on, characterized in that it comprises:
    筛选模块,用于侦测无线网中连接的无线设备,筛选出具备无线接收功能的WiFi直连设备;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;
    读取模块,用于在所述具备无线接收功能的WiFi直连设备中存在无线主设备时,读取所述无线主设备的主直连开关的状态;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;
    控制模块,用于在所述加速度值满足预设条件时,将对应的无线从设备作为电视开机时需要连接的无线从设备。And 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.
  10. 如权利要求9所述的所述装置,其特征在于,所述筛选模块包括:The device of claim 9, wherein the screening module comprises:
    接收单元,用于接收WiFi直连设备发送的WiFi直连请求;a receiving unit, configured to receive a WiFi direct connection request sent by the WiFi direct connection device;
    第一判断单元,用于侦测发送WiFi直连请求的WiFi直连设备,并判断所述WiFi直连设备是否具备无线接收功能;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;
    第一读取单元,用于在所述WiFi直连设备具备无线接收功能时,读取对应WiFi直连设备的设备号并存储。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.
  11. 如权利要求9所述的所述装置,其特征在于,所述读取模块包括:The device of claim 9 wherein said reading module comprises:
    第二判断单元,用于查找预设WiFi直连列表,判断所述具备无线接收功能的WiFi直连设备是否在所述预设WiFi直连列表内;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;
    判定单元,用于若是,则将所述具备无线接收功能的WiFi直连设备判定为无线主设备;a determining unit, configured to determine the WiFi direct connection device having the wireless receiving function as a wireless master device;
    第二读取单元,用于读取所述无线主设备的主直连开关的状态。And a second reading unit, configured to read a state of the main direct switch of the wireless master device.
  12. 如权利要求10所述的所述装置,其特征在于,所述读取模块包括:The device of claim 10, wherein the reading module comprises:
    第二判断单元,用于查找预设WiFi直连列表,判断所述具备无线接收功能的WiFi直连设备是否在所述预设WiFi直连列表内;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;
    判定单元,用于若是,则将所述具备无线接收功能的WiFi直连设备判定为无线主设备;a determining unit, configured to determine the WiFi direct connection device having the wireless receiving function as a wireless master device;
    第二读取单元,用于读取所述无线主设备的主直连开关的状态。And a second reading unit, configured to read a state of the main direct switch of the wireless master device.
  13. 如权利要求9所述的所述装置,其特征在于,所述加速度值包括水 平方向加速度值和垂直方向加速度值。The device of claim 9 wherein said acceleration value comprises water The acceleration value in the flat direction and the acceleration value in the vertical direction.
  14. 如权利要求10所述的所述装置,其特征在于,所述加速度值包括水平方向加速度值和垂直方向加速度值。The apparatus according to claim 10, wherein said acceleration value comprises a horizontal direction acceleration value and a vertical direction acceleration value.
  15. 如权利要求11所述的所述装置,其特征在于,所述加速度值包括水平方向加速度值和垂直方向加速度值。The apparatus according to claim 11, wherein said acceleration value comprises a horizontal direction acceleration value and a vertical direction acceleration value.
  16. 如权利要求12所述的所述装置,其特征在于,所述加速度值包括水平方向加速度值和垂直方向加速度值。The apparatus according to claim 12, wherein said acceleration value comprises a horizontal direction acceleration value and a vertical direction acceleration value.
  17. 如权利要求13所述的所述装置,其特征在于,所述控制模块包括:The device of claim 13 wherein said 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;
    控制单元,用于在获取的所述水平方向加速度值或垂直方向加速度值在持续预定时间内大于预定值时,将对应的无线从设备作为电视开机时需要连接的无线从设备。And 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.
  18. 如权利要求14所述的所述装置,其特征在于,所述控制模块包括:The device of claim 14, wherein the 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;
    控制单元,用于在获取的所述水平方向加速度值或垂直方向加速度值在持续预定时间内大于预定值时,将对应的无线从设备作为电视开机时需要连接的无线从设备。And 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.
  19. 如权利要求15所述的所述装置,其特征在于,所述控制模块包括:The device of claim 15 wherein said 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 acceleration value or vertical acceleration value is continuous when the horizontal acceleration value or the vertical acceleration value is greater than a predetermined value scheduled time;
    控制单元,用于在获取的所述水平方向加速度值或垂直方向加速度值在持续预定时间内大于预定值时,将对应的无线从设备作为电视开机时需要连接的无线从设备。And 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.
  20. 如权利要求16所述的所述装置,其特征在于,所述控制模块包括:The device of claim 16 wherein said 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;
    控制单元,用于在获取的所述水平方向加速度值或垂直方向加速度值在持续预定时间内大于预定值时,将对应的无线从设备作为电视开机时需要连接的无线从设备。 And 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.
PCT/CN2016/084388 2015-12-21 2016-06-01 Method and device for use in determining wireless slave device to which television needs to connect on startup WO2017107382A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510970252.1A CN105357573B (en) 2015-12-21 2015-12-21 The method and device of the wireless slave unit connected is needed when for determining television startup
CN201510970252.1 2015-12-21

Publications (1)

Publication Number Publication Date
WO2017107382A1 true WO2017107382A1 (en) 2017-06-29

Family

ID=55333412

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084388 WO2017107382A1 (en) 2015-12-21 2016-06-01 Method and device for use in determining wireless slave device to which television needs to connect on startup

Country Status (2)

Country Link
CN (1) CN105357573B (en)
WO (1) WO2017107382A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357573B (en) * 2015-12-21 2018-10-02 深圳Tcl数字技术有限公司 The method and device of the wireless slave unit connected is needed when for determining television startup

Citations (5)

* Cited by examiner, † Cited by third party
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 (en) * 2012-10-31 2013-08-07 深圳市同洲电子股份有限公司 Digital television system and digital television receiving terminal
US20130279471A1 (en) * 2012-04-23 2013-10-24 Toshiyuki Kito Wireless connection system, wireless connection control method, and wireless connection control program
CN104768072A (en) * 2015-04-29 2015-07-08 北京奇艺世纪科技有限公司 Television box and television user interface operation method based on same
CN105357573A (en) * 2015-12-21 2016-02-24 深圳Tcl数字技术有限公司 Method and device for determining wireless slave units required to be connected during starting of television

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102711282B (en) * 2012-05-21 2015-12-16 浙江优诺肯科技有限公司 Realize without the method for input wireless device access network and without input wireless device
CN102802071B (en) * 2012-08-24 2014-10-29 上海广电电子科技有限公司 Intelligent television, mobile terminal, multi-screen interaction system and wireless communication method
CN103595798A (en) * 2013-11-14 2014-02-19 福州瑞芯微电子有限公司 Somatic sense sharing master/slave device and method based on WIFI Direct
CN103826323A (en) * 2014-02-26 2014-05-28 深圳市金立通信设备有限公司 Wireless network connection method, terminal and mobile terminal
CN104955165A (en) * 2014-03-25 2015-09-30 上海龙旗科技股份有限公司 Method for establishing wireless connection among mobile equipment triggered through motion induction
CN104581315B (en) * 2015-02-10 2019-02-12 江苏惠通集团有限责任公司 Remote control method and remote control device

Patent Citations (5)

* Cited by examiner, † Cited by third party
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 (en) * 2012-10-31 2013-08-07 深圳市同洲电子股份有限公司 Digital television system and digital television receiving terminal
CN104768072A (en) * 2015-04-29 2015-07-08 北京奇艺世纪科技有限公司 Television box and television user interface operation method based on same
CN105357573A (en) * 2015-12-21 2016-02-24 深圳Tcl数字技术有限公司 Method and device for determining wireless slave units required to be connected during starting of television

Also Published As

Publication number Publication date
CN105357573A (en) 2016-02-24
CN105357573B (en) 2018-10-02

Similar Documents

Publication Publication Date Title
JP6866162B2 (en) Control methods and devices for smart devices
US10055094B2 (en) Method and apparatus for dynamically displaying device list
KR101895743B1 (en) Method and apparatus for obtaining permissions
EP3588969A1 (en) Media playback method, apparatus and system
US20170171613A1 (en) Method and apparatus for controlling electronic device, and storage medium
EP3105919B1 (en) Photographing method of an electronic device and the electronic device thereof
KR20150092964A (en) Method for processing fingerprint and an electronic device thereof
KR102124188B1 (en) Electronic device and method for processing image
WO2020173375A1 (en) Multi-intelligent device linkage control method, device and system
KR102107132B1 (en) Access point connection method of electronic apparatus and electronic appparatus thereof
KR20160051390A (en) Electronic device and method for providing filter n electronic device
US20170156106A1 (en) Method and apparatus for retrieving and displaying network state information
US9749859B2 (en) Electronic device and method for updating authentication information in the electronic device
RU2609147C2 (en) Method and device for transmitting images
EP3389332B1 (en) Commissioning of a plurality of devices
JP6283749B2 (en) Method and apparatus for prompting device connection
WO2015149613A1 (en) Volume control methods and devices, and multimedia playback control methods and devices
US9332289B2 (en) Image viewing system, receiver mobile terminal, image server, and image viewing method
JP6118469B2 (en) Resource sharing method, apparatus, program, and recording medium
CN108829481B (en) Presentation method of remote controller interface based on control electronic equipment
US20150015730A1 (en) Apparatus and method for obtaining image
JP2016532966A5 (en)
US20190052745A1 (en) Method For Presenting An Interface Of A Remote Controller In A Mobile Device
US8847987B2 (en) System and method for controlling device
WO2017107382A1 (en) Method and device for use in determining wireless slave device to which television needs to connect on startup

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