WO2018227633A1 - 一种设备控制方法及设备 - Google Patents
一种设备控制方法及设备 Download PDFInfo
- Publication number
- WO2018227633A1 WO2018227633A1 PCT/CN2017/088813 CN2017088813W WO2018227633A1 WO 2018227633 A1 WO2018227633 A1 WO 2018227633A1 CN 2017088813 W CN2017088813 W CN 2017088813W WO 2018227633 A1 WO2018227633 A1 WO 2018227633A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- wireless
- capability
- time
- control command
- control
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
- H04M1/72415—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
- H04M1/72412—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
- G08C17/02—Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72451—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72463—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/70—Services for machine-to-machine communication [M2M] or machine type communication [MTC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0225—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
- H04W52/0235—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a power saving command
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
- H04W52/0274—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/02—Details of telephonic subscriber devices including a Bluetooth interface
Definitions
- the present application relates to the field of communications technologies, and in particular, to a device control method and device.
- the user may need to control the portable electronic device that it carries to turn off or on, or turn off the wireless communication capability of the electronic device (such as controlling the electronic device to be in flight mode).
- the portable electronic device that it carries to turn off or on, or turn off the wireless communication capability of the electronic device (such as controlling the electronic device to be in flight mode).
- the user when a user is on an airplane, the user needs to turn off the electronic devices carried by them one by one to reduce electromagnetic interference; after the aircraft is grounded, in order to restore the normal use of the electronic device, the user has to turn on the electronic devices carried by them one by one. or
- the user manually shutting down or turning on multiple electronic devices one by one requires relatively cumbersome user operations, and the user experience is not good. Moreover, if the user has more electronic devices, there is a possibility that the user forgets to turn off or turn on an electronic device. In this way, there may be security risks or inconvenience to the user.
- the present application provides a device control method and device, which can improve the efficiency of controlling a wireless device to turn off or turn on wireless communication capability or shut down.
- the present application provides a device control method, where the device control method includes: a first device establishes a wireless short-range communication connection with a second device; and the first device sends the wireless device to the second device by using the wireless short-range communication connection a first control command, where the first control command may be used to indicate that the second device performs a control action (eg, the control action includes enabling wireless communication capability, turning off wireless communication capability, turning on or off), and the wireless communication capability may include wireless transmission capability.
- the wireless communication capability includes wireless transmission capability and wireless reception capability.
- the first device may send a first control command to the second device, indicating that the second device performs a control action (eg, the control action includes enabling wireless communication capability, turning off wireless communication capability, turning on or off).
- the control action includes enabling wireless communication capability, turning off wireless communication capability, turning on or off.
- the user is not required to manually control the second device to enable wireless communication capability, turn off wireless communication capability, power on or power off.
- the first device may simultaneously control the plurality of second devices to perform the foregoing control actions by using the foregoing first control command; instead of manually controlling the plurality of second devices one by one, the efficiency of controlling the plurality of wireless devices to perform the foregoing control actions may be improved.
- the method of the present application may further include The first device, in response to the user's first input, displays a first interface including a device connection window, which may include an identification of a device having a wireless short-range communication connection with the first device.
- the first device may display a first interface including a device connection window in response to the first input.
- the device connection window includes an identifier of the device that has a wireless short-distance communication connection with the first device. Therefore, the first device may notify the user through the first interface that the first device and the second device are short. Distance communication connection. In this way, it is possible to avoid the user forgetting to turn off a wireless device or its wireless communication. Ability, and the potential security risks or inconvenience to the user.
- the user when a user is on an airplane, if the user carries more wireless devices, the user may forget to turn off a wireless device, which may cause electromagnetic interference to the aircraft.
- a wireless short-distance communication connection between all the wireless devices in the user's power-on state.
- the solution of the present application may prompt the user to have a second device with a wireless short-range communication connection with the first device.
- the method of the present application further includes The first device displays a second interface including a selection window for setting the indication information in the first control command, where the indication information is used to indicate a control action to be performed by the second device.
- the user may input the indication information in the selection window in the second interface, so that the first device may send, according to the indication information, a first control command for instructing the second device to perform the corresponding control action according to the indication information.
- the first device may send a first control command carrying the first indication information to the second device to indicate The second device turns off its wireless transmission capability.
- the foregoing second interface includes not only a selection window, but also a time window, where the time information input in the time window is used to instruct the second device to perform the Control the time of the action.
- the foregoing first control command carrying the first indication information may be used to indicate that the second device is at 9:00:00-10:00. :00 Turn off its wireless launch capability during this time.
- the foregoing first input is further configured to indicate that the first device is powered off. That is, in such an implementation, the first input can be an instruction to instruct the first device to shut down.
- the first input may be an instruction triggered by a user's long press operation on a lock screen button of the mobile phone (first device).
- the first device may first perform the method steps described in the first possible implementation in response to the first input, and then in the “first device through the wireless short-range communication connection to the After the second device sends the first control command, the shutdown interface is displayed.
- the foregoing first input may be used to indicate that the first device is configured to disable the wireless communication capability of the first device.
- the first input is an instruction triggered by a user's opening operation of the "flight mode" of the mobile phone (ie, the first device).
- the first device may perform the method steps described in any one of the first possible implementation to the third possible implementation in response to the first input, and then close the foregoing The wireless communication capability of the first device, and displaying a third interface, where the third interface includes indication information that the wireless communication capability of the first device is turned off.
- the first input may be a start instruction of the first application
- the first interface is a display interface of the first application.
- the first application may be an application downloaded by the user from the application store and installed in the first device, or the first application may be a system application of the first device.
- the first control command carries first indication information and time information, where the first indication information is used to indicate that the second device is indicated by the time information. Turn off its wireless launch capability during the time.
- the first control command carries second indication information and time information, where the second indication information is used to indicate that the second device is in the time information Turn off its wireless transmission capability and wireless reception capability during the indicated time.
- the second indication information is further used to indicate that the second device turns on its wireless receiving capability after the time indicated by the time information.
- the first control command carries third indication information and time information, where the third indication information is used to indicate that the second device is indicated by the time information. Shut down within the time.
- the third indication information is further used to indicate that the second device is indicated by the time information. After booting, turn off its wireless transmission capability and turn on its wireless receiving capability.
- the foregoing first control command may further be used to indicate that the third device that has a wireless short-range communication connection with the second device performs the foregoing control action.
- the foregoing wireless transmission capability may include one or more of radio frequency transmission Tx capability, wireless Fidelity (WiFi) transmission capability, and Bluetooth transmission capability.
- the above wireless receiving capability may include one or more of radio receiving Rx capability, WiFi receiving capability, and Bluetooth receiving capability.
- a device control method where the second device establishes a wireless short-range communication connection with the first device, and the second device receives the first through the wireless short-range communication connection a first control command sent by the device; the second device performs a control action according to the indication of the first control command.
- the second device may automatically perform the response control action according to the instruction of the first control command; instead of manually controlling the second device to perform the control action, the second device may Improve the efficiency of controlling the wireless device to perform the above control actions. Moreover, it is also possible to reduce the security risks or inconveniences caused to the user due to the user forgetting a certain wireless device.
- the foregoing first control command further carries time information, where the time information is used to indicate a time when the second device performs the control action.
- the time information described above may include a first time and a second time.
- the second device may be powered off according to the first control command at the first time and turned on at the second time.
- the second device may be powered on at the second time according to the first control command and turn off the wireless communication capability.
- the time information includes a first time and a second time.
- the second device turns off the wireless communication capability at the first time according to the first control command, and turns on the wireless communication capability at the second time.
- the application provides a first device, where the first device includes: an establishing module and a sending module.
- the establishing module is configured to establish a wireless short-distance communication connection with the second device.
- a sending module configured to send, by the wireless short-range communication connection established by the establishing module, the first control command in the first aspect and its possible implementation manner to the second device.
- the foregoing first device may further include a display module.
- the display module is configured to perform the method steps of any one of the possible implementation manners of the first aspect, and display the display interface of the first interface, the second interface, the shutdown interface, and the like according to the possible implementation manners in the first aspect.
- the foregoing first device may further include a control module.
- the control module is configured to: after the sending module sends the first control command to the second device by using the wireless short-range communication connection, shutting down the wireless communication capability of the first device.
- the application provides a first device, the first device comprising: a processor, a communication interface, a display, and a memory.
- the processor, the communication interface, the display and the memory are connected by a bus
- the communication interface is for communicating with a second device through a wireless short-range communication connection
- the display is for displaying a processor a generated display interface
- the memory for storing computer program code, the computer program code comprising instructions, when the processor executes the instruction, the first device performs as the first aspect or any one of them
- the application provides a second device, where the second device includes: an establishing module, a receiving module, and a control module.
- the establishing module is configured to establish a wireless short-distance communication connection with the first device.
- a receiving module configured to receive, by using the wireless short-range communication connection established by the establishing module, a first control command sent by the first device.
- a control module configured to execute according to the indication of the first control command received by the receiving module The control action described in the second aspect.
- first control command described in the fifth aspect of the present application may refer to the first control command in the second aspect and its possible implementation manner, and details are not described herein again.
- the foregoing control module may be specifically configured to shut down at the first time according to the first control command, where Turn on the second time.
- the control module is specifically configured to be powered off according to the first control command at the first time and powered on at the second time.
- the foregoing control module may be specifically configured to: in the first time, turn off the wireless communication capability according to the first control command, The second time to open the wireless communication capability.
- the application provides a second device, where the second device includes: a processor, a communication interface, and a memory.
- the processor, the communication interface and the memory are connected by a bus, the communication interface is for communicating with a second device by a wireless short-range communication connection, the memory for storing a computer program code,
- the computer program code includes instructions that, when executed by the processor, perform a device control method as described in the second aspect or any of its possible implementations.
- the present application provides a computer storage medium comprising computer instructions that, when executed on a first device, cause the terminal to perform, as in the first aspect, the second aspect, or any of A device control method as described in a possible implementation manner.
- the present application provides a computer program product, when the computer program product is run on a computer, causing the computer to perform the first aspect, the second aspect, or any of the possible implementations thereof Device control method.
- the third device according to the third aspect and the fourth aspect, the second device, the second device of the sixth aspect, the computer storage medium of the seventh aspect, or the eighth aspect The computer program products are all used to perform the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects in the corresponding methods provided above, and are not described herein again.
- FIG. 1 is a schematic diagram 1 of a network architecture applied to a device control method according to an embodiment of the present disclosure
- FIG. 2 is a schematic diagram 2 of a network architecture applied to a device control method according to an embodiment of the present disclosure
- FIG. 3 is a schematic structural diagram of hardware of a mobile phone according to an embodiment of the present disclosure.
- FIG. 4 is a flowchart 1 of a device control method according to an embodiment of the present invention.
- FIG. 5 is a second flowchart of a device control method according to an embodiment of the present disclosure.
- FIG. 6 is a schematic diagram 1 of an example of a display interface of a mobile phone according to an embodiment of the present invention.
- FIG. 7 is a second schematic diagram of a mobile phone display interface according to an embodiment of the present disclosure.
- FIG. 8 is a schematic diagram 3 of an example of a display interface of a mobile phone according to an embodiment of the present disclosure.
- FIG. 9 is a schematic diagram 4 of an example of a display interface of a mobile phone according to an embodiment of the present invention.
- 9C is a schematic diagram of an example of a display interface of a mobile phone according to an embodiment of the present invention.
- FIG. 10 is a schematic diagram 5 of an example of a display interface of a mobile phone according to an embodiment of the present disclosure.
- FIG. 11 is a schematic diagram 6 of an example of a display interface of a mobile phone according to an embodiment of the present invention.
- FIG. 12 is a schematic diagram 7 of an example of a display interface of a mobile phone according to an embodiment of the present invention.
- FIG. 13 is a schematic diagram 8 of an example of a display interface of a mobile phone according to an embodiment of the present disclosure.
- FIG. 14 is a schematic diagram 9 of an example of a display interface of a mobile phone according to an embodiment of the present invention.
- FIG. 15 is a schematic diagram 10 of an example of a display interface of a mobile phone according to an embodiment of the present invention.
- FIG. 16 is a schematic diagram 11 of an example of a display interface of a mobile phone according to an embodiment of the present invention.
- FIG. 17 is a third flowchart of a device control method according to an embodiment of the present invention.
- FIG. 18 is a schematic diagram 12 of an example of a display interface of a mobile phone according to an embodiment of the present invention.
- FIG. 19 is a flowchart 4 of a device control method according to an embodiment of the present invention.
- FIG. 20 is a schematic diagram of an example of a display interface of a mobile phone according to an embodiment of the present invention.
- FIG. 21 is a schematic diagram of an example of a display interface of a mobile phone according to an embodiment of the present invention.
- FIG. 22 is a schematic diagram of an example of a display interface of a mobile phone according to an embodiment of the present invention.
- FIG. 23 is a schematic diagram 16 of an example of a display interface of a mobile phone according to an embodiment of the present invention.
- FIG. 24 is a flowchart 5 of a device control method according to an embodiment of the present disclosure.
- FIG. 25 is a flowchart 6 of a device control method according to an embodiment of the present disclosure.
- FIG. 26 is a schematic diagram of an example of a display interface of a mobile phone according to an embodiment of the present invention.
- FIG. 27 is a flowchart 7 of a device control method according to an embodiment of the present invention.
- FIG. 29 is a flowchart 9 of a device control method according to an embodiment of the present invention.
- FIG. 30 is a schematic diagram of an example of a display interface of a mobile phone according to an embodiment of the present invention.
- FIG. 31 is a schematic diagram of an example of a display interface of a mobile phone according to an embodiment of the present invention.
- FIG. 32 is a schematic diagram 20 of an example of a display interface of a mobile phone according to an embodiment of the present invention.
- FIG. 33 is a schematic diagram of an example of a display interface of a mobile phone according to an embodiment of the present invention.
- FIG. 34 is a schematic diagram 3 of a network architecture applied to a device control method according to an embodiment of the present disclosure
- FIG. 35 is a schematic diagram of an example of a display interface of a mobile phone according to an embodiment of the present invention.
- FIG. 36 is a schematic diagram of an example of a display interface of a mobile phone according to an embodiment of the present invention.
- FIG. 37 is a schematic structural diagram 1 of a first device according to an embodiment of the present invention.
- FIG. 38 is a second schematic structural diagram of a first device according to an embodiment of the present disclosure.
- FIG. 39 is a third schematic structural diagram of a first device according to an embodiment of the present disclosure.
- FIG. 40 is a first schematic structural diagram of a second device according to an embodiment of the present disclosure.
- FIG. 41 is a second schematic structural diagram of a second device according to an embodiment of the present invention.
- first and second are used for descriptive purposes only, and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated.
- features defining “first” and “second” may include one or more of the features either explicitly or implicitly.
- the meaning of "a plurality" is two or more unless otherwise specified.
- at least two second devices refer to two or more second devices.
- the embodiment of the invention provides a device control method, which can be applied to a process in which a first device controls a second device to enable wireless communication capability, turn off wireless communication capability, and power on or power off.
- the wireless communication capability in the embodiment of the present invention may include a wireless reception capability and a wireless transmission capability, or the wireless communication capability may include a wireless transmission capability, or the wireless communication capability may include a wireless reception capability.
- the wireless transmission capability may include at least one of a radio transmission (Transmit, Tx) capability, a wireless fidelity (WiFi) transmission capability, and a Bluetooth transmission capability, where the radio reception capability may include radio reception (Receive, Rx). At least one of capability, WiFi reception capability, and Bluetooth reception capability.
- radio frequency Tx capability may also be referred to as a radio frequency Tx path, a radio frequency Tx resource, or a transmitter (Transmitter).
- the radio frequency Rx capability may also be referred to as a radio frequency Rx path, a radio frequency Rx resource, or a receiver (Receiver).
- the first device in the embodiment of the present invention may be a mobile phone, a notebook computer, a tablet computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant.
- PDA personal digital assistant
- the second device may include a mobile phone, a wearable device (such as a Bluetooth wristband, a Bluetooth watch, a Bluetooth headset, etc.), augmented reality (AR), virtual reality (virtual reality, The VR) device, the tablet computer, the notebook computer, the UMPC, the netbook, the PDA, the Bluetooth water cup, and the like are not limited in this embodiment of the present invention.
- the first device is a mobile phone 110
- the second device includes a tablet computer 121, a notebook computer 122, and a Bluetooth wristband 123 as an example, and the network applied by the device control method provided by the embodiment of the present invention is used.
- a brief introduction to the architecture is used.
- the mobile phone 110 establishes a wireless short-range communication connection on the tablet 121, the notebook computer 122, and the Bluetooth bracelet 123, respectively.
- the wireless short-range communication connection is a communication connection established by wireless short-range communication technology.
- the wireless short-range communication technology involved in the present invention may be a Bluetooth connection or a WiFi connection, and may also be other wireless short-range communication technologies, such as infrared connection, Near Field Communication (NFC) connection, ultra-wideband connection, and purple.
- the bee protocol (ZigBee) connection and the like are not specifically limited in the embodiment of the present invention.
- the WiFi connection can be a WiFi direct connection, ie a WiFi device peer-to-peer connection.
- the mobile phone 110 can send control commands to the devices (including the tablet 121, the notebook computer 122, and the Bluetooth bracelet 123) by wireless short-distance communication connection between the mobile phone and the tablet computer 121, the notebook computer 122, and the Bluetooth wristband 123. Instruct these devices to perform the appropriate control actions.
- the foregoing control action may include enabling wireless communication capability, turning off wireless communication capability, turning on or off, that is, the first device may control the second device to turn on or off its wireless communication capability, or control the second device to be powered off or powered on.
- the first device can also control the second device to be turned off, and is turned on periodically after being turned off.
- the first device can also control the second device to shut down, and after powering off, periodically turn on the power and turn off the wireless transmitting capability.
- the method of the embodiments of the present invention can be applied to a user in the process of flying an airplane.
- the user can use the mobile phone (ie, the first device) to perform the method of the embodiment of the present invention, and control other wireless devices of the user (ie, Two devices, such as laptops, tablets, and Bluetooth bracelets, turn off their wireless communication capabilities or shut down.
- the method of the embodiment of the present invention may also be applied to when a user prepares to rest or participates in a conference or a lecture, in order to reduce or avoid the influence of the wireless device carried by the user on the rest of the user or the conference or lecture attended by the user, the user may
- the method of the embodiment of the present invention is performed by using a mobile phone (ie, a first device), and other wireless devices that control the user (ie, a second device, such as a notebook, a tablet, a Bluetooth wristband, etc.) turn off their wireless communication capabilities or shut down.
- the application scenario of the device control method provided by the embodiment of the present invention includes, but is not limited to, the scenario in which the user is on an airplane, the user prepares to rest, the user participates in the conference, or the user participates in the lecture, and other application scenarios of the device control method are the present invention. The embodiment will not be described again here.
- the method of the embodiment of the present invention may be further applied to a process in which the first device controls the second device, and the third device that has a wireless short-range communication connection with the second device performs the foregoing control action.
- the foregoing third device may be a mobile phone, a wearable device (such as a Bluetooth wristband, a Bluetooth watch, a Bluetooth headset, etc.), an AR ⁇ VR device, a tablet computer, a notebook computer, a UMPC, a netbook, a PDA, a Bluetooth water cup, and the like.
- a wearable device such as a Bluetooth wristband, a Bluetooth watch, a Bluetooth headset, etc.
- the first device is a mobile phone 110
- the second device includes a tablet computer 121, a notebook computer 122, and a Bluetooth wristband 123.
- the third device is a Bluetooth headset 124.
- the network architecture applied by the device control method is briefly introduced.
- the mobile phone 110 establishes a wireless short-distance communication connection between the tablet computer 121, the notebook computer 122, and the Bluetooth wristband 123, and the tablet computer 121 establishes a wireless short-distance communication connection with the Bluetooth headset 124.
- the wireless short-range communication is established.
- the connection can be a Bluetooth connection or a WiFi connection.
- the mobile phone 110 can send a control command to the tablet computer 121, the notebook computer 122, and the Bluetooth wristband 123 through the wireless short-distance communication connection between the mobile phone and the device, and instruct the tablet computer 121, the notebook computer 122, and the Bluetooth wristband 123 to perform the above control. action.
- the tablet 121 may send a control command to the Bluetooth headset 124 having a wireless short-range communication connection with the tablet, instructing the Bluetooth headset 124 to perform the above control action.
- the first device may not only enable the wireless communication capability of the second device to be turned on or off by indicating that the second device operates the switch of the wireless communication capability;
- the device enters a preset usage mode to enable the wireless communication capability of the second device to be turned on and off.
- the first device is the mobile phone a and the second device is the mobile phone b.
- the mobile phone a can instruct the mobile phone b to enter a usage mode such as an airplane mode, a conference mode, and a silent mode.
- the wireless communication capabilities of mobile phone b are in different states. For example, in the flight mode, the wireless transmission capability and the wireless reception capability of the mobile phone b are both in a closed state; in the conference mode, the wireless reception capability of the mobile phone b is in a closed state.
- the opening or closing of some functions of the second device by the first device can also be implemented.
- the mobile phone a can control the mobile phone b to turn on the camera or turn on the flashlight.
- the first device in this embodiment may be the mobile phone 110.
- the embodiment will be specifically described below by taking the mobile phone 110 as an example.
- the illustrated handset 110 is merely one example of a terminal, and that the handset 110 may have more or fewer components than those shown in the figures, two or more components may be combined, or may have Different component configurations.
- the various components shown in FIG. 3 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
- the mobile phone 110 includes an RF (Radio Frequency) circuit 310, a memory 320, an input unit 330, a display unit 340, a sensor 350, an audio circuit 360, and a Wireless Fidelity (Wi-Fi) module. 370, processor 380, and power supply 390 and the like.
- RF Radio Frequency
- FIG. 3 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
- the components of the mobile phone 110 will be specifically described below with reference to FIG. 3:
- the RF circuit 310 can be used for transmitting and receiving information or during a call, and receiving and transmitting signals.
- the downlink information of the base station can be received and processed by the processor 380.
- the data related to the uplink is sent to the base station.
- RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
- RF circuitry 310 can also communicate with the network and other mobile devices via wireless communication.
- the wireless communication can use any communication standard or protocol, including but not limited to global mobile communication systems, general packet radio services, code division multiple access, wideband code division multiple access, long term evolution, email, short message service, and the like.
- Memory 320 can be used to store software programs and data.
- the processor 380 performs various functions and data processing of the handset 110 by running software programs and data stored in the memory 320.
- the memory 320 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the mobile phone 110 (such as audio data, phone book, etc.) and the like.
- memory 320 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
- the memory 320 stores an operating system that enables the mobile phone 110 to operate, such as developed by Apple. Operating system, developed by Google Inc. Open source operating system, developed by Microsoft Corporation Operating system, etc.
- An input unit 330 (such as a touch screen) can be used to receive input numeric or character information, as well as generate and mobile phones 110 user settings and signal inputs related to function control.
- the input unit 330 may include a touch panel 331 disposed on the front surface of the mobile phone 110, and may collect a touch operation on or near the user (such as a user using a finger, a stylus, or the like, any suitable object or accessory on the touch panel 331 The operation is performed on or near the touch panel 331, and the corresponding connection device is driven according to a preset program.
- the touch panel 331 may include two parts (not shown in FIG. 3) of the touch detection device and the touch controller.
- the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
- the processor 380 is provided and can receive instructions from the processor 380 and execute them.
- the touch panel 331 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
- the display unit 340 (i.e., display screen) can be used to display information input by the user or information provided to the user and a graphical user interface (GUI) of various menus of the mobile phone 110.
- the display unit 340 may include a display panel 341 disposed on the front side of the handset 110.
- the display panel 341 can be configured in the form of a liquid crystal display, a light emitting diode, or the like.
- the handset 110 includes a front side A and a back side B.
- An optical touch button is disposed at the bottom of the front surface A; a touch panel 331 and a display panel 341 are further disposed, and the touch panel 331 is overlaid on the display panel 341.
- the touch panel 331 detects a touch operation on or near it, it is transmitted to the processor 380 to determine a touch event, and then the processor 380 provides a corresponding visual output on the display panel 341 according to the type of the touch event.
- the touch panel 331 and the display panel 341 are used as two independent components to implement the input and input functions of the mobile phone 110, in some embodiments, the touch panel 331 can be integrated with the display panel 341. To realize the input and output functions of the mobile phone 110, the integrated touch panel 331 and the display panel 341 may be simply referred to as a touch display screen.
- the touch panel 331 can also be provided with a pressure sensing sensor, so that when the user performs a touch operation on the touch panel, the touch panel can also detect the pressure of the touch operation, and then the mobile phone 110 The touch operation can be detected more accurately.
- the handset 110 can also include at least one sensor 350, such as a light sensor, motion sensor, and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor, wherein, as shown in FIG. 1A, the ambient light sensor 351 may adjust the brightness of the display panel 341 according to the brightness of the ambient light, and the proximity light sensor 352 is disposed on the front of the mobile phone 110.
- the mobile phone 110 When the mobile phone 110 is moved to the ear, according to the detection of the proximity light sensor 352, the mobile phone 110 turns off the power of the display panel 341, so that the mobile phone 110 can further save power.
- the accelerometer sensor can detect the acceleration of each direction (usually three axes). When it is still, it can detect the magnitude and direction of gravity.
- the mobile phone 110 can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen conversion, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.
- the mobile phone 110 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
- the front of the front of the mobile phone 110 may be provided with a front camera 353, and the top of the back is provided with a rear camera 354.
- the audio circuit 360, the speaker 361, and the microphone 362 can provide an audio interface between the user and the handset 110.
- the audio circuit 360 can transmit the converted electrical data of the received audio data to the speaker 361 for conversion to the sound signal output by the speaker 361; on the other hand, the microphone 362 converts the collected sound signal into an electrical signal, by the audio circuit 360. After receiving, it is converted into audio data, and the audio data is output to the RF circuit 310 for transmission to, for example, another mobile phone, or the audio data is output to the memory 320 for further processing.
- Wi-Fi is a short-range wireless transmission technology
- the mobile phone 110 can help users to send and receive emails, browse web pages, and access streaming media through the Wi-Fi module 370, which provides users with wireless broadband Internet access.
- the processor 380 is the control center of the handset 110, which connects various parts of the entire handset using various interfaces and lines, by running or executing software programs stored in the memory 320, and by calling them stored in the memory 320.
- the data performing various functions of the mobile phone 110 and processing data, thereby performing overall monitoring of the mobile phone.
- processor 380 can include one or more processing units; processor 380 can also integrate an application processor and a modem processor, where the application processor primarily processes operating systems, user interfaces, applications, and the like The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 380.
- the Bluetooth module 381 is configured to perform information interaction with other devices through a short-range communication protocol such as Bluetooth.
- the mobile phone 110 can establish a Bluetooth connection through the Bluetooth module 381 and a wearable electronic device (such as a smart watch) that also has a Bluetooth module, thereby performing data interaction.
- the handset 110 also includes a power source 390 (such as a battery) that powers the various components.
- the power supply can be logically coupled to the processor 380 through a power management system to manage functions such as charging, discharging, and power consumption through the power management system. It can be understood that, in the following embodiments, the power source 390 can be used to supply power to the display panel 341 and the touch panel 331.
- An embodiment of the present invention provides a device control method. As shown in FIG. 4, the device control method includes S401-S403:
- S401 The first device establishes a wireless short-distance communication connection with the second device.
- the wireless short-distance communication connection between the first device and the second device may be any one of a Bluetooth connection, a WiFi connection, an infrared connection, an NFC connection, or a ZigBee connection, and the WiFi connection may be a WiFi direct connection.
- the first device can establish a wireless short-range communication connection with one or more second devices.
- the mobile phone 110 ie, the first device
- the first device can establish a different wireless short-range communication connection with the plurality of second devices.
- the mobile phone 110 establishes a Wifi connection with the notebook 122, and the mobile phone 110 establishes a Bluetooth connection with the tablet 121 and the Bluetooth bracelet 123. If the wireless short-distance communication mode established by the first device and the plurality of second devices is different, the wireless short-range communication protocol may be used for interaction.
- the first device sends the first control command to the second device by using the foregoing wireless short-range communication connection.
- the first control command is used to instruct the second device to perform a control action, including enabling wireless communication capability, turning off wireless communication capability, powering on or shutting down.
- the first control command may instruct the second device to enable or disable all wireless communication capabilities of the second device.
- the above control action is to turn off the wireless communication capability
- the above wireless communication capability is a wireless transmission capability.
- the first control command may be used to instruct the second device to turn off all wireless transmission capabilities of the second device, such as all radio transmission capabilities of the second device, such as radio frequency Tx capability, WiFi transmission capability, and Bluetooth transmission capability; and the second device radio frequency Rx All wireless reception capabilities such as capability, WiFi reception capability and Bluetooth reception capability are turned on.
- the first control command may be used to instruct the second device to turn on or off part of the wireless communication capability of the second device.
- the above control action is to disable the wireless communication capability
- the wireless communication capability includes the wireless transmission capability and the wireless reception capability.
- the first control command may be used to instruct the second device to disable the radio frequency Tx capability and the radio frequency Rx of the second device. Capability, while the second device's WiFi transmission capability, WiFi transmission capability, Bluetooth transmission capability, and Bluetooth reception capability can be turned on.
- the above control action is to disable the wireless communication capability, and the wireless communication capability includes the wireless transmission capability.
- the first control command may be used to indicate that the second device turns off the radio frequency Tx capability of the second device, and the second The device's WiFi transmission capability, WiFi transmission capability, Bluetooth transmission capability, Bluetooth reception capability, and RF Rx capability can be turned on.
- the user's mobile phone 110 establishes a wireless short-distance communication connection with the notebook 122, the tablet 121, and the Bluetooth bracelet 123 respectively.
- the wireless device causes electromagnetic interference to the aircraft, and the user can trigger the mobile phone 110 to send the first control command to one or more of the notebook 122, the tablet 121, and the Bluetooth wristband 123, indicating the notebook 122, the tablet 121, and the Bluetooth.
- the wristband 123 turns off its wireless communication capability or shuts down.
- the second device receives the first control command sent by the first device by using a wireless short-range communication connection.
- S404 The second device executes the control action indicated by the first control command.
- the first device may send a first control command to the second device, instructing the second device to perform a control action (such as the control action includes enabling wireless communication capability, turning off wireless communication capability, powering on or shutting down ).
- a control action such as the control action includes enabling wireless communication capability, turning off wireless communication capability, powering on or shutting down .
- the user is not required to manually control the second device to enable wireless communication capability, turn off wireless communication capability, power on or power off.
- the first device may simultaneously control the plurality of second devices to perform the foregoing control actions by using the foregoing first control command; instead of manually controlling the plurality of second devices one by one, the efficiency of controlling the plurality of wireless devices to perform the foregoing control actions may be improved.
- the first device can control the second device to perform a corresponding control action by wireless short-distance communication connection with the second device.
- wireless short-distance communication connection For example, when the user wants to turn off the wireless communication capability of the second device or turn off the second device, it is not necessary to first find the second device, then turn off the wireless communication capability of the second device or turn off the second device; as long as the second device
- the device has a wireless short-distance communication connection with the first device, so that the second device can be controlled to shut down or turn off its wireless communication capability.
- the user can directly use his mobile phone to control the wireless short-distance communication connection with the other wireless devices of the user (such as a tablet, a Bluetooth wristband, a laptop, etc.) through the mobile phone.
- Other wireless devices turn off or turn off their wireless communication capabilities; instead of having to find out these wireless devices one by one, they can control these wireless devices one by one to shut down or turn off their wireless communication capabilities.
- the first device may send the first control command to the second device in different situations.
- the first device may send the first control command to the second device before the shutdown in response to the user's shutdown operation; or the first device may close the wireless device in response to the user's operation of turning off the wireless communication capability of the first device Before the wireless communication capability, the first control command is sent to the second device; or the first device may also be responsive to the user in the first application (the first application is used to control multiple wireless short-distance communication connections with the first device)
- the related operation of the device sends a first control command to the second device.
- the method of the embodiment of the present invention may further include S501-S504:
- S501 The first device displays the first interface in response to the first input of the user.
- the first input is a startup command of the first application
- the first interface is a display interface of the first application.
- the first device is the mobile phone 110 shown in FIG. 1
- the first application may be an application in the mobile phone 110 for controlling other wireless devices that have a wireless short-distance communication connection with the mobile phone 110 .
- the first application may be an application corresponding to the "Wireless Device Control" icon 601 as shown in FIG. 6A.
- the mobile phone 110 can display the "wireless device control interface" 602 as shown in FIG. 6B, that is, the first interface described above.
- the first application may also be a system application in the handset 110.
- the mobile phone 110 can display a "Setting Interface” 702 as shown in FIG. 7B.
- the "Setting Interface” 702 shown in FIG. 7B may include an "Airplane Mode” option, "Wireless Local Area Network (Wireless Local) Area Networks, WLAN) option, "Bluetooth” option, "Mobile Network” option and “Wireless Device Control” option 703.
- the mobile phone 110 can A "wireless device control interface" 602, which is the first interface described above, is displayed as shown in FIG. 7C.
- the "wireless device control interface” 603 and the “wireless device control mode” option 604 may be included in the "wireless device control interface" 602 shown in FIG. 6B or FIG. 7C.
- the "Wireless Device Connection” option 603 shows the identity of the wireless device with the wireless short-range communication connection (such as WiFi connection and Bluetooth connection) with the mobile phone 110 and its connection method (such as WiFi connection). Connect with Bluetooth). From the "Wireless Device Connection” option 603, it can be determined which devices have a wireless short-range communication connection (such as a WiFi connection and a Bluetooth connection) with the mobile phone 110, and determine which wireless short-distance communication connection method the mobile devices use. 110 connections. As shown in FIG. 6B or FIG.
- the wireless device having the wireless short-range communication connection with the mobile phone 110 includes the notebook computer 122, the tablet computer 121, and the Bluetooth wristband 123; and, the tablet computer 121 and the Bluetooth bracelet 123 establish a wireless short-range communication connection with the mobile phone 110 via Bluetooth, and the notebook computer 122 establishes a wireless short-range communication connection with the mobile phone 110 via the WiFi connection.
- the "wireless device control mode” option 604 shows the control mode of the mobile phone 110 controlling the wireless device having a wireless short-range communication connection with the mobile phone 110, the control mode including the “total control” mode 605 and "Sub-device control” mode 606.
- the “total control” mode 605 means that the mobile phone 110 uniformly controls all wireless devices (such as the notebook computer 122, the tablet computer 121, and the Bluetooth wristband 123) that have a wireless short-distance communication connection with the mobile phone 110 to shut down or turn off the wireless communication capability. .
- the "sub-device control" mode 606 means that the mobile phone 110 controls a part of the wireless devices (such as the laptop computer 122 and the tablet computer 121) that have a wireless short-range communication connection with the mobile phone 110 to shut down or turn off its wireless communication capability according to the user's selection.
- the first interface displayed by the first device includes, but is not limited to, the “wireless device control interface” 602 illustrated in FIG. 6B or FIG. 7C.
- the "wireless device connection” option 603 in the “wireless device control interface” 602 shown in FIG. 6B or FIG. 7C is optional, and the “wireless device control interface” 602 shown in FIG. 8 may not include “wireless”.
- the interface display manner of the "wireless device control mode" option 604 includes, but is not limited to, the interface display mode shown in FIG. 6B or FIG. 7C.
- S502 The first device displays the second interface in response to the second input of the user on the first interface.
- the second input is used to determine a device that needs to receive the first control command, and the second interface includes a time window and a selection window, where the time window is used to input the time information, and the selection window is used to input the first control command. Instructing the action performed by the second device described above.
- the "wireless device control interface" 602 shown in FIG. 6B or FIG. 7C is taken as an example.
- the handset 110 can display a "Wireless Device Control Interface” 901 as shown in Figure 9B.
- a "time window” 902 and a “selection window” 904 are included in the "wireless device control interface” 901 shown in FIG. 9B.
- the "time window" 902 is used to input the above time information.
- the format of the time information may be **year******day****minutes** seconds.
- the time information may be in the format of **:**:**, and the mobile phone 110 defaults to the time information as the time of day.
- the time information can be input by the user to the "time window" 902 described above.
- the user may refer to the detailed description in the prior art, and details are not described herein again.
- the mobile phone 110 can read the time information from the electronic ticket stored in the mobile phone 110, the schedule in the calendar of the mobile phone 110, and the like. And displayed in the "time window” 902.
- the first device can establish a wireless connection with multiple second devices by using different wireless short-distance communication connections.
- the wireless short-distance communication connection between the mobile phone 110 and the tablet computer 121 is a Bluetooth connection
- the wireless short-distance communication connection between the mobile phone 110 and the Bluetooth wristband 123 is a Bluetooth connection
- the mobile phone 110 and the notebook computer can establish a wireless connection with multiple second devices by using different wireless short-distance communication connections.
- the wireless short-distance communication connection between the mobile phone 110 and the tablet computer 121 is a Bluetooth connection
- the wireless short-distance communication connection between the mobile phone 110 and the Bluetooth wristband 123 is a Bluetooth connection
- the mobile phone 110 and the notebook computer the notebook computer.
- the wireless short-range communication connection between 122 is a WiFi connection.
- the first device can also establish a wireless connection with multiple second devices through the same wireless short-distance communication connection.
- a wireless short-range communication connection between the mobile phone 110 and the tablet 121 a wireless short-range communication connection between the mobile phone 110 and the Bluetooth bracelet 123, and a wireless short-range communication connection between the mobile phone 110 and the notebook computer 122 can be used. It is a WiFi connection.
- the second interface may not include a time window, and only includes a selection window. That is, the "time window" 902 in the "wireless device control interface” 901 shown in FIG. 9B is optional. For example, only the “selection window” 904 is included in the "wireless device control interface" 911 as shown in FIG. 9C, and does not include a time window.
- selection window or “time window and selection window” may also be directly included in the first interface without responding to the second input of the user in the first interface, and the display includes “selecting window” or The second interface of the "time window and selection window”.
- the mobile phone 110 can display the "time acquisition interface” 1001 as shown in FIG. 10B.
- the "time acquisition interface” 1001 may include a flight time interval 09 of the aircraft plan 1 in the electronic ticket in the mobile phone 110: 10:00-11:20:00 and a flight time interval of the aircraft plan 2: 19:20:00 - 21:35:00, and the schedule in the electronic calendar, the time interval of the conference 1 is 14:20:00-15:20:00 and the time interval of the conference 2 is 15:30:00-16:40:00.
- the user can select any one of the above four time intervals as the effective time interval of the first control command.
- the mobile phone 110 can display the terminal interface as shown in FIG. 10C.
- the time interval 09 of "flight plan 1" 1002 is displayed in the "time window” 902: 10:00-11:20:00.
- the event (flight plan or meeting) displayed in the "time acquisition interface" 1001 shown in FIG. 10B can be the schedule of the user's day.
- the mobile phone 110 may automatically acquire a time interval of an event closest to the current event from the schedule in the electronic ticket or the electronic calendar, and display the time interval in the "time window" 902. in.
- the schedule in the electronic calendar includes the time interval 14 of the conference 1: 20:00-15:20:00 and the time interval of the conference 2 15:30:00-16:40:00.
- the mobile phone 110 can display a terminal interface as shown in FIG. 11B.
- the time interval 09 of "flight plan 1" is displayed in the "time window" 902: 10:00-11:20:00.
- the “selection window” 904 shown in FIG. 9B, FIG. 10C or FIG. 11B may include: “transmitting capability off, receiving capability on” option 905, “transmitting capability off, receiving capability off” option 906, "transmitting capability on, The Receive Capabilities On option 907 and the Shutdown option 908.
- the first control command sent by the mobile phone 110 instructs the second device to perform the control action to turn off the wireless transmitting capability.
- the first control information may be carried in the first control command, where the first indication information is used to indicate that the second device turns off its wireless transmission capability.
- the first control command sent by the handset 110 instructs the second device to perform the control action to turn off the wireless transmit capability and the wireless receive capability.
- the first control command may carry the second indication information, where the second indication information is used to indicate that the second device turns off its wireless transmission capability and the wireless receiving capability.
- the first control sent by the mobile phone 110 The command indication indicates that the control action performed by the second device is a shutdown.
- the first control command may carry the third indication information, where the third indication information is used to indicate that the at least one second device is powered off.
- the first control command sent by the mobile phone 110 indicates that the control action performed by the second device is to enable the wireless transmission capability.
- the first control command carries the fourth indication information, where the fourth indication information is used to indicate that the second device starts its wireless transmission capability.
- the first device receives a third input of the user in the second interface, the third input includes an input of the user in the time window and the selection window.
- the third input may be time information input by the user in the time window, for example, the time interval 09 of displaying "flight plan 1" in the "time window” 902 shown in FIG. 12A: 10:00-11:20 :00, and as shown in FIG. 12A, the user selects the "transmit capability off, receive capability off” option 906.
- the input of the user in the selection window is not included in the third input.
- S402 shown in FIG. 4 can be replaced with S504:
- the first device sends a first control command to the second device by using a wireless short-range communication connection in response to the third input.
- the mobile phone 110 can perform "send the first control command to the second device through the wireless short-range communication connection", and displays as shown in FIG. 12B.
- a dynamic image of the command sent by the handset to the laptop, tablet, and Bluetooth bracelet can be displayed in the "Command Send Interface” 1201 shown in FIG. 12B.
- the mobile phone 110 may return to the terminal interface shown in FIG. 6A or FIG. 7A after displaying the “command sending interface” 1201 shown in FIG. 12B for a period of time (for example, 5 seconds).
- the icon corresponding to the icon of the “laptop computer” may also display the indication information “the notebook is closed”, and the corresponding position of the icon of the “tablet computer” may also display the indication information that the “tablet is closed”
- the icon of the "Bluetooth Bracelet” icon can also display the "Bracelet is closed” indication.
- the “shown in FIG. 12B” may not be displayed.
- the command is sent to the interface 1201, but directly returns to the terminal interface shown in FIG. 6A or FIG. 7A.
- the mobile phone 110 can determine that there is no time limit for the effective time of the first control command. For example, if the first control command is used to indicate that at least one second device is powered off, the at least one second device needs to be in a shutdown state after being turned off until the user manually operates the power on.
- the mobile phone 110 can wirelessly communicate with the mobile phone 110 via the wireless short-range communication connection. All of the wireless devices connected by the short-range communication (ie, the notebook computer 122, the tablet computer 121, and the Bluetooth wristband 123) transmit the first control command described above.
- the "wireless device control interface" 602 shown in FIG. 6B or FIG. 7C is taken as an example.
- the mobile phone 110 can display the "wireless device selection interface" 1301 as shown in FIG. 13B.
- the "Wireless Device Selection Interface” 1201 shown in FIG. 13B includes options for all wireless devices having a wireless short-range communication connection with the handset 110, such as a laptop 122, a tablet 121, and a Bluetooth bracelet 123.
- the handset 110 can display the "Wireless Device Control Interface” 1303 shown in FIG. 13C.
- the handset 110 can display the "Wireless Device Control Interface” 1303 shown in FIG. 13C.
- a detailed description of the displayed content in the "wireless device control interface” 1303 shown in FIG. 13C can be referred to.
- the detailed description of the "wireless device control interface” 901 shown in FIG. 9B is not described herein again.
- the user inputs the time information in the "time window” in the "wireless device control interface” 1303 shown in FIG. 13C, and the specific method of selecting the control action option in the "selection window” can refer to the embodiment of the present invention in FIG. 10 to FIG. The related description of the present invention will not be described in detail herein.
- the terminal can display the terminal interface as shown in FIG. 14A.
- the terminal since the user selects the "sub-device control” mode 606, and as shown in FIG. 13B, the user only selects to send control commands to the laptop 122 and the tablet 121; therefore, when the user When the finger clicks on the "OK" option 1401 shown in FIG.
- the mobile phone 110 can transmit the first control command to the notebook computer 122 and the tablet computer 121 through the wireless short-range communication connection, without sending the above-mentioned number to the Bluetooth wristband 123.
- a control command may be displayed while the mobile phone 110 sends the first control command to the laptop 122 and the tablet 121.
- the mobile phone 110 may display a “command sending interface” 1402 as shown in FIG. 14B.
- a dynamic image of a command sent by the mobile phone to the laptop and the tablet can be displayed in the "command sending interface” 1402 shown in FIG. 14B.
- the first device may display an icon of all devices that have a wireless short-distance communication connection with the first device, and may prompt the user that the first device and the second device have a wireless short distance. Communication connection. Moreover, the user can also select the "total control" mode or the "sub-device control” mode on the first device to control multiple second devices to simultaneously turn off their wireless communication capabilities or shut down, which can improve the user experience.
- the first input may be an instruction for instructing the first device to shut down.
- the first device is the mobile phone 110 as an example.
- the mobile phone 110 receives the shutdown command (as shown in FIG. 15A-1, the user triggers the long-press operation of the lock button of the mobile phone 110)
- the mobile phone 110 can display as shown in FIG. 15B-1.
- the "Shutdown Interface” 1501 is shown.
- the mobile phone 110 receives the shutdown command (as shown in FIG. 15A-2, the user triggers the long-press operation of the lock button of the mobile phone 110)
- the mobile phone 110 can display as shown in FIG. 15B- 2 "Control Tip Interface” 1502.
- 15B-2 includes a prompt message such as "the mobile phone has a wireless short-distance communication connection with the following device", and an icon of the device having the wireless short-distance communication connection with the mobile phone 110 and corresponding Wireless short-range communication connection, "Yes" option 1504 and "No” option 1503.
- the mobile phone 110 can display the "Shutdown Interface” 1501 as shown in FIG. 15B-1.
- the handset 110 displays a "Wireless Device Control Interface” as shown in FIG. 16B.
- the mobile phone 110 can directly access all wireless devices (ie, the laptop 122, the tablet 121, and the Bluetooth) that have a wireless short-range communication connection with the mobile phone 110.
- the hand ring 123) sends a first control command.
- the mobile phone 110 may directly display the "command transmission interface" 1801 as shown in FIG. 18B; instead of displaying the "wireless device control” shown in FIG. 16B. interface".
- the "command sending interface” 1801 shown in FIG. 18B a dynamic image in which the mobile phone sends commands to the notebook computer, the Bluetooth wristband, and the tablet computer can be displayed.
- the first input may be an instruction for instructing the first device to shut down. Therefore, after the above S504, the method of the embodiment of the present invention may further include S1701.
- the method of the embodiment of the present invention may further include S1701:
- S1701 The first device displays a shutdown interface in response to the sending the first control command.
- the first device when receiving the shutdown command, may suspend the shutdown, first prompting the user to: control whether the second device having the wireless short-distance communication connection with the first device performs the corresponding control action .
- This avoids the problem of forgetting to turn off or turn on a wireless device because the user carries more wireless devices.
- the first device may directly send a wireless short-distance communication connection with the first device before shutting down in response to the user's shutdown operation. All of the devices send the first control command without displaying the first interface and the second interface described above.
- the method of the embodiment of the present invention further includes S1901-S1903.
- the method of the embodiment of the present invention further includes S1901-S1903:
- the first device receives a first input of the user, where the first input is used to indicate that the first device is powered off.
- the first input may be a click operation of the shutdown shortcut key of the first device by the user.
- the first input may be a long press operation of the physical lock screen button of the mobile phone by the user.
- the first device sends a first control command to the second device by using a wireless short-range communication connection in response to the first input, where the first control command is used to instruct the second device to execute the control command.
- the second device may be all devices that have a short-range communication connection with the first device.
- S1903 The first device displays a shutdown interface in response to the sending the first control command.
- the mobile phone 110 when the mobile phone 110 receives the shutdown command (as shown in FIG. 20A, the user triggers the long-press operation of the lock button of the mobile phone 110), the mobile phone 110 can directly and wirelessly have a short distance with the mobile phone 110. All of the wireless devices that are communicatively coupled (i.e., laptop 122, tablet 121, and Bluetooth bracelet 123) send a first control command.
- All of the wireless devices that are communicatively coupled i.e., laptop 122, tablet 121, and Bluetooth bracelet 123 send a first control command.
- the mobile phone 110 when the mobile phone 110 receives the shutdown command (as shown in FIG. 20A, the user triggers the long-press operation of the lock button of the mobile phone 110), the mobile phone 110 is in short wireless communication with the mobile phone 110. While all the connected wireless devices transmit the first control command, a "command transmission interface" 2001 as shown in FIG. 20B may also be displayed. Moreover, after the mobile phone 110 displays the "command transmission interface” 2001 shown in FIG. 20B for a certain time (for example, 5 seconds), the mobile phone 110 can display the "shutdown interface" 2002 as shown in FIG. 20C.
- the first input may be an instruction for instructing the first device to disable the wireless communication capability (eg, wireless transmission capability) of the first device.
- the first input can be an instruction by the user to turn off the mobile network of the handset 110; or the first input can be an instruction by the user to turn on the airplane mode of the handset 110.
- the first input is an instruction that the user turns on the flight mode of the mobile phone 110 as an example.
- the mobile phone 110 can display a "control prompt interface" 2102 as shown in FIG. 21B.
- the "control prompt interface” 2102 shown in FIG. 21B includes a prompt message such as "the mobile phone has a wireless short-distance communication connection with the following device", an icon of the device having the wireless short-distance communication connection with the mobile phone 110, and a corresponding wireless device.
- the handset 110 can display the "flight mode interface” as shown in FIG. 22B.
- the "flight mode” option 2101 is in an on state
- the "WLAN” option 2201, the “Bluetooth” option 2202, and the “mobile network” option 2203 are all in a closed state.
- the mobile phone 110 can A "wireless device control interface" as shown in Fig. 23B is displayed.
- the mobile phone 110 may directly connect to all wireless devices (ie, notebooks) that have a short-range communication connection with the mobile phone 110.
- the computer 122, the tablet 121, and the Bluetooth bracelet 123) send a first control command.
- the "control prompt interface" 2102 shown in FIG. 21B is the "control prompt interface” 1502 shown in FIG. 18A.
- the mobile phone 110 can directly display the "command transmission interface” 1801 as shown in FIG. 18B; instead of displaying the "wireless device control interface” shown in FIG. 16B.
- the "command sending interface” 1801 shown in FIG. 18B a dynamic image in which the mobile phone sends commands to the notebook computer, the Bluetooth wristband, and the tablet computer can be displayed.
- the first input may be an instruction for instructing the first device to disable the wireless communication capability (eg, wireless transmission capability) of the first device. Therefore, as shown in FIG. 24, after S504 shown in FIG. 5, the method of the embodiment of the present invention may further include S2401:
- S2401 The first device turns off the wireless communication capability of the first device in response to the sending the first control command.
- the first device when receiving the instruction to disable the wireless communication capability of the first device, the first device may suspend the wireless communication capability of the first device, and prompt the user to: control whether the first device is controlled.
- the second device having the wireless short-range communication connection shuts down or turns off its wireless communication capability. This avoids the problem of forgetting to turn off a wireless device because the user carries more wireless devices. In this way, in some application scenarios, such as during the flight, the problem that the wireless device may cause electromagnetic interference to the aircraft due to the user forgetting to turn off a wireless device or turning off the wireless communication capability of a wireless device may be avoided. Can reduce security risks.
- the first device may close the wireless communication of the first device in response to the user's operation of turning off the wireless communication capability of the first device.
- the first control command is directly sent to all devices that have a wireless short-range communication connection with the first device, without displaying the first interface and the second interface, and the like.
- the method of the embodiment of the present invention may further include S2501-S2503.
- the method of the embodiment of the present invention may further include S2501-S2503:
- the first device receives a first input of the user, where the first input is used to instruct the first device to disable the wireless communication capability of the first device.
- S402 shown in FIG. 4 can be replaced with S2502:
- the first device sends a first control command to the second device by using a wireless short-range communication connection in response to the first input, where the first control command is used to instruct the second device to execute the control command.
- S2503 The first device turns off the wireless communication capability of the first device in response to the sending the first control command.
- the handset 110 can directly access all of the wireless devices that have a wireless short-range communication connection with the handset 110 ( That is, the notebook computer 122, the tablet computer 121, and the Bluetooth bracelet 123) send the first control command.
- the mobile phone 110 transmits the first wireless device to the wireless device having the wireless short-range communication connection with the mobile phone 110.
- a "command transmission interface” 2601 as shown in Fig. 26B can also be displayed.
- the mobile phone 110 displays the "command transmission interface” 2601 shown in FIG. 26B for a certain time (for example, 5 seconds)
- the mobile phone 110 can display the "flight mode interface” 2602 as shown in FIG. 26C.
- the "flight mode” shown in Fig. 26C the "flight mode” option is turned on, the "WLAN” option, the “Bluetooth” option, and the "mobile network” selection. Item 2203 is in the off state.
- the first device may control the second device to perform different operations (such as turning off the wireless transmitting capability, turning off the wireless receiving capability and the wireless transmitting capability, turning off the wireless receiving capability, or shutting down) in different scenarios.
- the wireless devices (such as the mobile phone 110, the notebook 122, the tablet 121, and the Bluetooth bracelet 123 shown in FIG. 1) are electromagnetically transmitted to the aircraft, mainly by these wireless devices. Generated by wireless signals. Therefore, in order to reduce the electromagnetic interference generated by the wireless device carried by the user, the user controls the mobile phone 110 (ie, the first device) to the notebook 122, the tablet computer 121, and the Bluetooth bracelet 123 (ie, before the aircraft taken by the user takes off.
- the first control command sent by the second device can be used to instruct the notebook 122, the tablet 121, and the Bluetooth bracelet 123 to turn off its wireless transmission capability within the time indicated by the time information.
- the first control command may be configured to carry the first indication information and the time information, where the first indication information may be used to indicate that the second device is indicated by the time information. Turn off its wireless transmission capability during the time.
- S404 may be replaced by S404a.
- S404 shown in FIG. 4 may be replaced with S404a:
- S404a The second device turns off the wireless transmission capability of the second device within the time indicated by the time information.
- the first indication information only indicates that the second device turns off its wireless transmission capability within the time indicated by the time information, and does not instruct the second device to turn off its wireless reception capability. Therefore, the second device can also receive other devices (such as commands, messages or other data sent by the first device). For example, the second device may further receive a second control command sent by the first device.
- the first device may send the second device to the at least one device of the second device after the time indicated by the time information, because the wireless receiving capability of the second device is turned on after the time indicated by the time information. And a control command instructing the at least one second device to turn on its wireless transmission capability.
- the method of the embodiment of the present invention may further include S2701-S2703.
- the first device sends a second control command to the second device by using a wireless short-range communication connection, where the second control command is used to instruct the second device to enable its wireless transmission capability.
- S2702 The second device receives the second control command sent by the first device.
- S2703 The second device starts the wireless transmission capability of the second device.
- the wireless device uses its radio frequency Tx capability to transmit information, which will generate strong electromagnetic interference to the aircraft, and the wireless device transmits signals through the Bluetooth transmitting capability without generating strong electromagnetic interference to the aircraft. Therefore, the foregoing first indication information may be used to indicate that the second device turns off its radio frequency Tx capability within the time indicated by the time information. Certainly, for security reasons, the foregoing first indication information may be used to indicate that the second device turns off its wireless transmission capability (including radio frequency Tx capability, Bluetooth transmission capability, etc.) within the time indicated by the time information.
- the first device can control the second device to turn off its wireless transmission capability, in some scenarios (such as during aircraft takeoff), electromagnetic interference generated by the plurality of second devices transmitting wireless signals can be avoided.
- the wireless device carried by the user receiving the wireless signal will also cause a certain degree of electromagnetic interference to the aircraft.
- the first control command sent by the mobile phone 110 to the notebook 122, the tablet 121 and the Bluetooth wristband 123 can be used not only to indicate the notebook 122, the tablet 121 and The Bluetooth wristband 123 turns off its wireless transmission capability within the time indicated by the time information, and is also used to instruct the notebook 122, the tablet 121, and the Bluetooth wristband 123 to turn off its wireless receiving capability within the time indicated by the time information. .
- the first control command may carry the second indication information and the time information, where the second indication information is used to indicate that the second device is in the time information. Turn off its wireless transmission capability and wireless reception capability during the indicated time.
- the time information may include a first time and a second time, where the second indication information may further be used to indicate that the second device turns off the wireless communication capability at the first time, and turns on the wireless communication capability at the second time.
- the time information is 09:10:00-11:20:00
- the first time is 09:10:00
- the second time is 11:20:00.
- the S404 shown in FIG. 4 may be replaced by S404b.
- the method of the embodiment of the present invention may further include S2801:
- S404b The second device turns off the wireless communication capability at the first time.
- S2801 The second device turns on its wireless communication capability at the second time.
- the first control command sent by the mobile phone 110 to the notebook 122, the tablet 121, and the Bluetooth wristband 123 may be used to indicate the notebook 122 and the tablet.
- the computer 121 and the Bluetooth bracelet 123 are turned off at the first time included in the time information.
- the time information includes a first time and a second time. For example, when the time information is 09:10:00-11:20:00, the first time is 09:10:00 and the second time is 11:20:00.
- the first control command may carry the third indication information or the time information, where the third indication information is used to indicate that the second device is in the time information. Shut down within the indicated time.
- the third indication information may be further used to indicate that the second device is powered on at the second time and turns off the wireless transmission capability.
- S404 shown in FIG. 4 may be replaced by S404c.
- the method of the embodiment of the present invention may further include S2901:
- S404c The second device is shut down in the first time.
- the method of the embodiment of the present invention may further include S2901:
- S2901 The second device is powered on at the second time, and turns off its wireless transmission capability, and turns on its wireless receiving capability.
- the method of the embodiment of the present invention may further include S2701-S2703.
- the wireless device (such as the mobile phone 110, the notebook 122, the tablet 121, and the Bluetooth wristband 123 shown in FIG. 1) receives signals sent by other wireless devices, such as incoming calls. Reminders may cause interference to users.
- the first control command sent by the user to control the mobile phone 110 to the notebook 122, the tablet computer 121 and the Bluetooth wristband 123 may be used to indicate the notebook 122.
- the tablet 121 and the Bluetooth bracelet 123 turn off their wireless reception capabilities within the time indicated by the time information.
- the first control command may carry the fourth indication information or the time information, where the fourth indication information is used to indicate that the second device is in the time information. Turn off its wireless reception capability during the indicated time.
- the foregoing first indication information, the second indication information, and the third indication information may be different indication information in the same field (such as a radio control field) in the foregoing first control command.
- the radio control field is “00” (ie, the first indication information)
- the first control command is used to instruct the second device to turn off its wireless transmission capability within the time indicated by the time information.
- the radio control field is "01” (ie, the second indication information)
- the first control command is used to instruct the second device to turn off its wireless transmission capability and radio reception capability within the time indicated by the time information.
- the wireless control field is "10” (ie, the third indication information)
- the first control command is used to instruct the second device to shut down within the time indicated by the time information.
- the radio control field is "11" (ie, the third indication information)
- the first control command is used to instruct the second device to turn off its radio receiving capability within the time indicated by the time information.
- the foregoing first indication information may also be “01”, the second indication information may be “00”, and the third indication information may be “10”, which is not limited by the embodiment of the present invention.
- first control command is sent by the first device in a “total control” manner
- first The indication information is “00”
- the second indication information is “01”
- the third indication information is “10”
- the effective time of the first control command is not limited.
- the details of the first control command may refer to the control commands shown in Table 1 below:
- the time information is “00:00:00-FF:FF:FF” for indicating that the effective time of the first control command has no time limit. For example, since the time information is "00:00:00-FF:FF:FF", after the second device turns off its wireless transmission capability, its wireless transmission capability needs to be kept off until the user manually turns on its wireless. Launch capability.
- the wireless device identifier is "FF: FF: FF: FF: FF: FF” for indicating that the first control command is sent to all wireless devices having a wireless short-range communication connection with the first device. If the wireless device that receives the first control command determines that the wireless device identifier is “FF: FF: FF: FF: FF: FF”, it may be determined that the first control command is sent to the wireless device, The control action indicated by the first control command can be performed.
- the detailed content of the first control command may be Refer to the control commands shown in Table 2 below:
- the details of the first control command may refer to the control commands shown in Table 3 below. :
- the target device identifier carried in the first control command may be an identifier of the second device that the user specifies to receive the first control command, and the identifier of the second device may be The Internet Protocol (IP) address, Media Access Control (MAC) address, and the like of the second device may uniquely identify any one of the information of the second device.
- IP Internet Protocol
- MAC Media Access Control
- the first device is the mobile phone 110 shown in FIG. 1, and the wireless device that the user selects to send the first control command includes the notebook computer 122 and the tablet computer 121 shown in FIG.
- the device identification of the laptop 122 is 35:AB:25:66:EF:20, and the device identification of the tablet 121 is 35:AB:25:66:EF:88.
- the details of the first control command may refer to the control commands shown in Table 4 below:
- the first control command ie, the second indication information
- the details of the first control command may refer to Table 5 below.
- the details of the first control command may refer to the control commands shown in Table 6 below:
- the foregoing wireless transmission capability may include radio frequency Tx capability, WiFi transmission capability, and Bluetooth transmission capability
- the foregoing radio reception capability may include radio frequency Rx capability, WiFi reception capability, and Bluetooth reception capability.
- the first control command may further include a field for distinguishing wireless communication capabilities.
- the wireless communication capability when the field for distinguishing the wireless communication capability (referred to as the capability distinguishing field) is 000, the wireless communication capability may be a radio frequency capability (RF Tx capability and/or RF Rx capability); when the capability discrimination field is 001.
- the wireless communication capability includes radio frequency capability and WiFi capability (WiFi transmission capability and/or WiFi reception capability); when the capability discrimination field is 010, the wireless communication capability includes radio frequency capability and Bluetooth capability (Bluetooth transmission capability and/or Bluetooth receiving capability); «;
- the capability distinguishing field is 100, the above wireless communication capabilities include radio frequency capability, Bluetooth capability, and WiFi capability.
- the first control command shown in Table 5 is taken as an example.
- the first control command shown in Table 7 is used to instruct the laptop 122 and the tablet 121 to turn off their wireless transmission capability and wireless reception capability; and, as shown in Table 7,
- the capability distinguishing field is "000", and therefore, it can be used to indicate that the wireless transmitting capability and the wireless receiving capability are the radio frequency Tx capability and the radio frequency Rx capability, respectively.
- the first control command shown in Table 7 is used to instruct the laptop 122 and the tablet 121 to turn off their RF Tx capability and RF Rx capability in the time interval 09:10:00-11:20:00. .
- the first control command shown in Table 7 can also be used to instruct the laptop 122 and the tablet 121 to turn on their radio frequency Rx capability at 11:20:01.
- the first device may send a second control command to the at least one second device in the second device when the device is powered on.
- the method of the embodiment of the present invention may further include S3001, and S2701 may be replaced by S3002.
- S3001 The first device starts up in response to the fourth input of the user.
- the fourth input may be a booting instruction of the first device.
- the fourth input may be a long press command of the user to lock the screen button of the mobile phone 110 after the mobile phone 110 is turned off.
- the first device establishes a wireless short-range communication connection with the second device in response to the power-on, and sends a second control command to the second device by using a wireless short-range communication connection.
- the mobile phone 110 when the mobile phone 110 receives the power-on command (as shown in FIG. 30A, the user triggers the long-press operation of the lock button of the mobile phone 110), the mobile phone 110 is powered on and displays the booting dynamics shown in FIG. 30B. interface.
- the mobile phone 110 can establish a wireless short-distance communication connection with the second device after being turned on, and can respond to the above-mentioned power-on operation to all wireless devices (ie, the laptop 122, the tablet 121, and the Bluetooth) that have a wireless short-distance communication connection with the mobile phone 110.
- the bracelet 123) sends a second control command.
- the mobile phone 110 can also display a “command sending interface” 3001 as shown in FIG. 30C after displaying the booting dynamic interface shown in FIG. 30B in response to the booting operation.
- the mobile phone 110 can display the terminal interface as shown in FIG. 30D after displaying the “command sending interface” 3001 shown in FIG. 30C for a certain time.
- S3001 may be executed after S1701 or S1901, that is, after the first device sends the first control command and shuts down
- S3001-S3002 may be executed.
- the first device may execute S3002 after booting, that is, the first device may execute S3001-S3002 regardless of whether S1701 or S1901 and related method steps are performed.
- the mobile phone 110 can also display a “control prompt interface” 3101 as shown in FIG. 31C after displaying the boot dynamic interface shown in FIG. 31B in response to the booting operation.
- a “control prompt interface” 3101 as shown in FIG. 31C after displaying the boot dynamic interface shown in FIG. 31B in response to the booting operation.
- the handset 110 can display the terminal interface as shown in FIG. 31D.
- the handset 110 can display the "Wireless Device Control Interface” as shown in FIG. 32D.
- the mobile phone 110 can also display a “control prompt interface” 3101 as shown in FIG. 33C after displaying the boot dynamic interface shown in FIG. 33B in response to the booting operation.
- the mobile phone 110 can directly display the "Command Sending Interface” 3001 as shown in FIG. 33D; instead of displaying the display shown in FIG. 32D.
- the mobile phone 110 may display the terminal interface shown in FIG. 31D after displaying the “command sending interface” 3001 shown in FIG. 33D for a period of time (for example, 5 seconds).
- the first device may also be opened by the user.
- the device's wireless communication capability such as wireless transmission capability
- the second control command is sent to the second device.
- the method of the embodiment of the present invention may further include S3101, and S2701 may be replaced by S3102.
- S3101 The first device starts the wireless transmission capability of the first device in response to the fifth input of the user.
- the first device sends the second control command to the second device by using a wireless short-range communication connection in response to the wireless transmitting capability of the first device being turned on.
- the first device when the first device sends the second control command to the second device when the user turns on the wireless communication capability of the first device, reference may be made to the embodiment of the present disclosure, where the first device turns off the first device. A detailed description of the first control command is sent in the case of the wireless communication capability, and details are not described herein again.
- the user may further control, by using the foregoing first application, that the first device sends a second control command to the second device.
- the method of the embodiment of the present invention may further include S3201-S3102, and S2701 may be replaced by S3203.
- the first device displays a first interface, where the first interface includes a device connection window, where the device connection window is used to select a requirement from all second devices that have a wireless short-range communication connection with the first device.
- the sixth input is a startup command of the first application
- the first interface is a display interface of the first application.
- the first device receives a seventh input of the user in the first interface, and the seventh input is used to determine a device that needs to receive the second control command.
- S3203 The first device sends a second control command to the second device by using a wireless short-range communication connection in response to the seventh input.
- the method for controlling the first device to send the second control command to the second device may refer to the foregoing “controlling the first device to send the first control command to the second device by using the first application”.
- the detailed description of the method is not described herein again.
- control action field in the second control command can be used to instruct the second device to turn on its wireless transmission capability.
- control action field in the second control command may be "11".
- the details of the second control command may refer to the control commands shown in Table 8 below:
- the device control method may also be applied to the network architecture shown in FIG. 2.
- the mobile phone 110 establishes a wireless short-range communication connection with the tablet computer 121, the notebook computer 122, and the Bluetooth wristband 123, respectively, and the tablet computer 121 also establishes a wireless short-range communication connection with the Bluetooth headset 124.
- the mobile phone 110 can interact with the tablet computer 121, the notebook computer 122, and the Bluetooth wristband 123 to acquire other devices having a wireless short-range communication connection with the tablet computer 121, the notebook computer 122, and the Bluetooth wristband 123 (the mobile phone 110). Identification of equipment other than).
- the mobile phone 110 may send the first control command or the second control command to the tablet computer 121, the notebook computer 122, and the Bluetooth wristband 123 through the cloud server 3401, and then the tablet computer 121
- the Bluetooth headset 124 having a wireless short-range communication connection with the tablet 121 transmits the first control command or the second control command.
- the second device may forward the first control command to other devices that have a wireless short-range communication connection with the second device. Order or second control command.
- the “wireless device control interface” shown in FIG. 6B, FIG. 7C and other related drawings may be replaced with FIG. 35 “wireless device control interface” 3501.
- the “wireless device control interface” 3501 may include not only the identifiers of the tablet 121, the Bluetooth bracelet 123, and the notebook computer 122, which have a wireless short-distance communication connection with the mobile phone 110, and the wireless short-distance communication connection manner thereof.
- the identification of the Bluetooth headset 124 having a wireless short-range communication connection with the tablet 121 and the wireless short-range communication connection (Bluetooth connection) of the Bluetooth headset 124 and the tablet 121 are included.
- the second device such as the tablet computer 121
- receives the first control command or the second control command sent by the first device such as the mobile phone 110
- the second device can be sent to the second device.
- a third device such as the Bluetooth headset 124) having a wireless short-range communication connection (such as the tablet 121) forwards the first control command or the second control command to instruct the third device to execute the first control command or the second control command. Indicated control action.
- the "wireless device selection interface” shown in FIG. 13B and the other related drawings may be replaced with the “wireless device selection interface” 3601 of FIG.
- the “wireless device selection interface” 3601 of FIG. 36 not only the option of the tablet 121 having the wireless short-range communication connection with the mobile phone 110, the option of the Bluetooth wristband 123, and the option of the notebook computer 122 and its wireless short-range communication may be included.
- the connection method also includes an option of the Bluetooth headset 124 having a wireless short-range communication connection with the tablet 121 and a wireless short-range communication connection mode (Bluetooth connection) between the Bluetooth headset 124 and the tablet 121.
- the first control command or the second control command sent by the first device to the second device may carry forwarding indication information, where the forwarding indication information is used to indicate that the second device is
- the third device that has the wireless short-range communication connection of the second device forwards the first control command or the second control command.
- the second device such as the tablet computer 131
- the third device the Bluetooth headset 1244 may be connected to the second device. Forwarding the first control command or the second control command.
- the second device does not need to forward the received first control command or second control command.
- the forwarding indication information may be indicated by a preset field of the first control command or the second control command.
- the preset field is “1”, it indicates that the second device needs to forward the first control command or the second control command to the third device that has a wireless short-range communication connection with the second device;
- the field is “0”, it means that the second device does not need to forward the first control command or the second control command to the third device that has a wireless short-range communication connection with the second device.
- the details of the first control command may refer to the control commands shown in Table 9 below:
- the first device may send a first control command to the second device, and instruct the second device to perform a control action, such as the control action includes enabling wireless communication capability, and turning off wireless communication. Ability, power on or off).
- the control action includes enabling wireless communication capability, and turning off wireless communication. Ability, power on or off).
- the user is not required to manually control the second device to enable wireless communication capability, turn off wireless communication capability, power on or power off.
- the first device may simultaneously control the plurality of second devices to perform the foregoing control actions by using the foregoing first control command; instead of manually controlling the plurality of second devices one by one, the efficiency of controlling the plurality of wireless devices to perform the foregoing control actions may be improved.
- the first device includes function modules corresponding to performing respective functions.
- the present application can be implemented in a combination of hardware or hardware and computer software in conjunction with the first apparatus and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
- the embodiment of the present application provides a first device to implement the foregoing method embodiments.
- the first device may be divided according to the foregoing method.
- each module or unit may be divided according to each function, or two or More than two functions are integrated in one processing module.
- the above integrated modules can be implemented in the form of hardware or in the form of software modules or units.
- the division of modules or units in the embodiments of the present application is schematic, and is only a logical function division, and may be further divided in actual implementation.
- FIG. 37 is a schematic diagram showing a possible structure of the first device involved in the above embodiment.
- the first device 3700 can include: an establishing module 3701 and a sending module 3702.
- the establishing module 3701 is for supporting S401 in the method embodiment, and/or other processes for the techniques described herein.
- the transmitting module 3702 is configured to support S402, S504, S1902, S2502, S2701, S3102, S3203, and/or other processes for the techniques described herein in the method embodiments.
- the foregoing first device 3700 may further include: a display module 3703.
- the display module 3703 is configured to support S501, S502, S1701, S1903, S3201 in the method embodiment, and/or other processes for the techniques described herein.
- the foregoing first device 3700 may further include: a control module.
- the control module is for supporting S2401, S2503, S3101 in the method embodiment, and/or other processes for the techniques described herein.
- the foregoing first device 3700 may further include: a storage module.
- the storage module is configured to save an icon of the one or more second devices, a first interface, a second interface, etc., and/or other processes for the techniques described herein.
- the first device 3700 includes, but is not limited to, the unit modules enumerated above.
- the first device 3700 may further include a receiving module for receiving data or signals sent by other devices, such as the second device.
- the functions that can be implemented by the above-mentioned modules include, but are not limited to, the functions corresponding to the method steps in the foregoing example.
- the other units of the first device 3700 and the detailed description of each unit of the first device 3700 may refer to the corresponding method. The detailed description of the steps is not described herein again.
- the above-mentioned establishing module 3701 and the control module and the like may be integrated into one processing unit, and the processing unit may be a processor or a controller, such as a CPU, a graphics processing unit (Graphics Processing Unit, GPU), general purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic Device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
- the processing unit may also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like. Above storage
- the module can be a memory.
- the first device 3700 involved in the embodiment of the present application may be the first device 3900 shown in FIG. 39.
- the first device 3900 includes a processor 3901, a communication interface 3902, a display 3903, and a memory 3904.
- the processor 3901, the communication interface 3902, the display 3903, and the memory 3904 are connected to each other through a bus 3905.
- the communication interface 3902 is configured to communicate with the second device through a wireless short-range communication connection
- the display 3903 is configured to display a display interface generated by the processor.
- the memory 3904 is configured to store computer program code, the computer program code includes instructions, when the processor 3901 executes the instruction, the first device performs, as shown in FIG. 4, FIG. 5, FIG. 17, FIG. The device control method shown in any of Figs. 24, 25, 27, 28, and 29.
- the bus 3905 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus.
- PCI Peripheral Component Interconnect
- EISA Extended Industry Standard Architecture
- the bus 3905 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in FIG. 39, but it does not mean that there is only one bus or one type of bus.
- the first device 3900 provided by the present application may include one or more processors 3901.
- the embodiment of the present invention further provides a computer storage medium, where the computer program code is stored, and when the one or more processors 3901 of the first device 3900 execute the computer program code, the first device 3900 executes the image. 4.
- the method steps of any of Figures 5, 17, 19, 24, 25, 27, 28 and 29 implement the device control method of the above embodiment.
- the embodiment of the present invention further provides a computer program product, when the computer program product is run on a computer, causing the computer to execute FIG. 4, FIG. 5, FIG. 17, FIG. 19, FIG. 24, FIG. 25, FIG.
- the related method steps corresponding to the first device in any of FIG. 29 implement the device control method in the above embodiment.
- the first device 3700, the first device 3900, the computer storage medium, or the computer program product provided by the embodiment of the present invention are all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can be referred to The beneficial effects in the corresponding methods provided by the text are not described here.
- FIG. 40 is a schematic diagram showing one possible structure of the second device involved in the above embodiment.
- the second device 4000 may include: an establishing module 4001, a receiving module 4002, and a control module 4003.
- the establishing module 4001 is configured to support the operation of “the second device establishes a wireless short-range communication connection with the first device” in S401 in the method embodiment, and/or other processes for the techniques described herein.
- the receiving module 4002 is configured to support S403, S2702 in the method embodiments, and/or other processes for the techniques described herein.
- the control module 4003 is configured to support S404, S404a, S2703, S404b, S2801, S404c, S2901, and/or other processes for the techniques described herein in the method embodiments.
- the foregoing second device 4000 may further include: a sending module 4002.
- the sending module 4002 can be configured to send the first control command or the second control command to the third device.
- the second device 4000 includes, but is not limited to, the unit modules listed above.
- the functions that can be implemented by the foregoing modules include, but are not limited to, the functions corresponding to the method steps described in the foregoing examples.
- the other units of the second device 4000 and the detailed descriptions of the respective units of the second device 4000 may refer to the corresponding methods. The detailed description of the steps is not described herein again.
- the above-mentioned establishing module 4001 and the control module 4003 and the like may be integrated into one processing unit, and the processing unit may be a processor or a controller, such as a CPU, a GPU, a general-purpose processor, or a DSP. , ASIC, FPGA or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
- the processing unit may also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
- the above storage module may be a memory.
- the second device 4000 involved in the embodiment of the present application may be the second device 4101 shown in FIG. 41.
- the second device 4101 includes a processor 4101, a communication interface 4102, and a memory 4103.
- the processor 4101, the communication interface 4102, and the memory 4103 are connected to each other through a bus 4104.
- the communication interface 4102 is configured to communicate with the second device through a wireless short-range communication connection.
- the memory 4103 is configured to store computer program code, the computer program code includes instructions, when the processor 4101 executes the instruction, the second device performs, as shown in FIG. 4, FIG. 5, FIG. 17, FIG. The device control method shown in any of Figs. 24, 25, 27, 28, and 29.
- the bus 4104 can be a PCI bus or an EISA bus.
- the bus 3905 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 41, but it does not mean that there is only one bus or one type of bus.
- the second device 4100 provided by the present application may include one or more processors 4101.
- the embodiment of the present invention further provides a computer storage medium, where the computer program code is stored, and when the one or more processors 4101 of the second device 4101 execute the computer program code, the second device 4101 executes the image. 4.
- the method steps of any of Figures 5, 17, 19, 24, 25, 27, 28 and 29 implement the device control method of the above embodiment.
- the embodiment of the present invention further provides a computer program product, when the computer program product is run on a computer, causing the computer to execute FIG. 4, FIG. 5, FIG. 17, FIG. 19, FIG. 24, FIG. 25, FIG.
- the related method steps corresponding to the second device in any of FIG. 29 implement the device control method in the above embodiment.
- the disclosed system, apparatus, and method may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the modules or units is only a logical function division.
- there may be another division manner for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
- a computer readable storage medium A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to perform all or part of the steps of the methods described in various embodiments of the present application.
- the foregoing storage medium includes: a flash memory, a mobile hard disk, a read only memory, a random access memory, a magnetic disk, or an optical disk, and the like, which can store program codes. medium.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Telephone Function (AREA)
Abstract
本申请提供一种设备控制方法及设备,涉及通信技术领域,可以提高控制无线设备关闭或者开机其无线发射能力或者关机的效率。具体方案包括:第一设备与第二设备建立无线短距离通信连接;所述第一设备通过所述无线短距离通信连接,向所述第二设备发送第一控制命令,所述第一控制命令用于指示所述第二设备执行控制动作,该控制动作包括关闭无线通信能力、开启无线通信能力、开机或者关机,所述无线通信能力包括无线发射能力,或者所述无线通信能力包括无线发射能力和无线接收能力。
Description
本申请涉及通信技术领域,尤其涉及一种设备控制方法及设备。
随着电子技术的发展,越来越多的便携式电子设备(如智能手机、笔记本电脑、平板电脑和蓝牙手环等)逐渐进入人们的生活,为其工作、学习提供方便。其中,基于不同的使用目的,一个用户可能会随身携带多个便携式电子设备。
在一些场景下或者一些时段内,用户可能需要逐一控制其携带的便捷式电子设备关闭或开启,或者关闭电子设备的无线通信能力(如控制电子设备处于飞行模式)。例如,用户乘坐飞机时,用户需要逐一关闭其携带的电子设备,以减少电磁干扰;飞机落地后,为了恢复电子设备的正常使用,用户又要逐一开启其携带的电子设备。或者
其中,用户手动逐一关闭或者开启多个电子设备需要较为繁琐的用户操作,用户体验不佳。并且,如果用户的电子设备较多,很可能会存在用户忘记关闭或开启某个电子设备的问题。这样,可能会存在安全隐患或者给用户带来不便。
发明内容
本申请提供一种设备控制方法及设备,可以提高控制无线设备关闭或者开启无线通信能力或者关机的效率。
为达到上述目的,本申请采用如下技术方案:
第一方面,本申请提供一种设备控制方法,该设备控制方法包括:第一设备与第二设备建立无线短距离通信连接;该第一设备通过上述无线短距离通信连接,向第二设备发送第一控制命令,该第一控制命令可以用于指示第二设备执行控制动作(如控制动作包括开启无线通信能力、关闭无线通信能力、开机或者关机),该无线通信能力可以包括无线发射能力,或者该无线通信能力包括无线发射能力和无线接收能力。
本申请提供的设备控制方法,第一设备可以向第二设备发送第一控制命令,指示这些第二设备执行控制动作(如控制动作包括开启无线通信能力、关闭无线通信能力、开机或者关机)。这样,便不需要用户手动控制第二设备开启无线通信能力、关闭无线通信能力、开机或者关机。并且,第一设备可以通过上述第一控制命令同时控制多个第二设备执行上述控制动作;而不需要逐一手动控制多个第二设备,可以提高控制多个无线设备执行上述控制动作的效率。并且,还可以减少由于用户忘记某个无线设备,而存在的安全隐患或者给用户带来的不便。
可选的,在第一方面的一种实现方式中,在上述“第一设备通过所述无线短距离通信连接向所述第二设备发送第一控制命令”之前,本申请的方法还可以包括:该第一设备响应于用户的第一输入,显示包括设备连接窗口的第一界面,该设备连接窗口中可以包括与第一设备存在无线短距离通信连接的设备的标识。
本申请中,第一设备可以响应于第一输入显示包括设备连接窗口的第一界面。由于该设备连接窗口中包括与上述第一设备存在无线短距离通信连接的设备的标识;因此,第一设备可以通过该第一界面,向用户提示该第一设备与哪些第二设备存在无线短距离通信连接。这样,便可以避免由于用户忘记关闭某个无线设备或者其无线通信
能力,而存在的安全隐患或者给用户带来的不便。
例如,在用户乘坐飞机时,如果该用户随身携带的无线设备较多,用户很有可能会忘记关闭某个无线设备,则可能会对飞机产生电磁干扰。一般而言,该用户的所有处于开机状态的无线设备之间都存在无线短距离通信连接,本申请的方案,可以提示用户与第一设备存在无线短距离通信连接的第二设备都有哪些。
可选的,在第一方面的一种实现方式中,在上述“第一设备通过所述无线短距离通信连接,向所述第二设备发送第一控制命令”之前,本申请的方法还包括:第一设备显示包括选择窗口的第二界面,该选择窗口用于设置上述第一控制命令中的指示信息,该指示信息用于指示上述第二设备所要执行的控制动作。其中,用户可以在第二界面中的选择窗口中输入指示信息,以便于第一设备可以根据该指示信息,向第二设备发送用于指示第二设备执行相应控制动作的第一控制命令。例如,当用户在选择窗口中输入用于指示第二设备关闭其无线发射能力的第一指示信息时,第一设备可以向第二设备发送携带该第一指示信息的第一控制命令,以指示第二设备关闭其无线发射能力。
可选的,在第一方面的一种实现方式中,上述第二界面不仅包括选择窗口,还可以包括时间窗口,该时间窗口中输入的时间信息,用于指示所述第二设备执行所述控制动作的时间。例如,当该时间信息为9:00:00-10:00:00时,上述携带上述第一指示信息的第一控制命令可以用于指示上述第二设备在9:00:00-10:00:00这段时间内关闭其无线发射能力。
可选的,在第一方面的一种实现方式中,上述第一输入还可以用于指示上述第一设备关机。即在这种实现方式中,第一输入可以是用于指示第一设备关机的指令。例如,该第一输入可以是用户对手机(第一设备)的锁屏按键的长按操作所触发的指令。在这种实现方式中,第一设备可以响应于上述第一输入,先执行第一种可能的实现方式所述的方法步骤,然后在“第一设备通过所述无线短距离通信连接向所述第二设备发送所述第一控制命令”之后,再显示关机界面。
可选的,在第一方面的一种实现方式中,上述第一输入可以用于指示上述第一设备关闭该第一设备的无线通信能力。例如,该第一输入是用户对手机(即第一设备)的“飞行模式”的开启操作所触发的指令。在这种实现方式中,第一设备可以响应于上述第一输入,先执行第一种可能的实现方式至第三种可能的实现方式中的任一项所述的方法步骤,然后再关闭上述第一设备的无线通信能力,并显示第三界面,该第三界面中包括上述第一设备的无线通信能力已关闭的指示信息。
可选的,在第一方面的一种实现方式中,上述第一输入可以是第一应用的启动指令,该第一界面是该第一应用的显示界面。其中,该第一应用可以是用户从应用商店下载并安装在第一设备中的应用,或者该第一应用可以是第一设备的系统应用。
可选的,在第一方面的一种实现方式中,上述第一控制命令携带有第一指示信息和时间信息;该第一指示信息用于指示所述第二设备在所述时间信息所指示的时间内,关闭其无线发射能力。
可选的,在第一方面的一种实现方式中,所述第一控制命令携带有第二指示信息和时间信息;该第二指示信息用于指示所述第二设备在所述时间信息所指示的时间内,关闭其无线发射能力和无线接收能力。可选的,该第二指示信息还可以用于指示所述第二设备在所述时间信息所指示的时间后,开启其无线接收能力。
可选的,在第一方面的一种实现方式中,上述第一控制命令携带有第三指示信息和时间信息;该第三指示信息用于指示所述第二设备在所述时间信息所指示的时间内关机。可选的,该第三指示信息还用于指示所述第二设备在所述时间信息所指示的时
间后开机,并关闭其无线发射能力,开启其无线接收能力。
可选的,在第一方面的一种实现方式中,上述第一控制命令还可以用于指示与所述第二设备存在无线短距离通信连接的第三设备,执行上述控制动作。
可选的,在第一方面的一种实现方式中,上述无线发射能力可以包括射频发射Tx能力、无线保真(Wireless Fidelity,WiFi)发射能力发射能力和蓝牙发射能力中的一项或者多项。上述无线接收能力可以包括射频接收Rx能力、WiFi接收能力和蓝牙接收能力中的一项或者多项。
第二方面,提供一种设备控制方法,该设备控制方法包括:第二设备与第一设备建立无线短距离通信连接;所述第二设备通过所述无线短距离通信连接,接收所述第一设备发送的第一控制命令;所述第二设备根据所述第一控制命令的指示,执行控制动作。其中,第二方面中的控制动作、无线通信能力可以参考第一方面及其可能的实现方式中的相关描述,本申请这里不再赘述。
本申请中,第二设备可以在接收到第一设备发送的第一控制命令后,自动根据第一控制命令的指示执行响应的控制动作;而不需要用户手动控制第二设备执行控制动作,可以提高控制无线设备执行上述控制动作的效率。并且,还可以减少由于用户忘记某个无线设备,而存在的安全隐患或者给用户带来的不便。
可选的,在第二方面的一种实现方式中,上述第一控制命令还携带有时间信息,所述时间信息用于指示所述第二设备执行所述控制动作的时间。
在一些实施例中,上述时间信息可以包括第一时间和第二时间。上述第二设备可以根据所述第一控制命令在所述第一时间关机,在所述第二时间开机。可选的,该第二设备可以根据所述第一控制命令在所述第二时间开机并关闭无线通信能力。
在另一些实施例中,上述时间信息包括第一时间和第二时间。所述第二设备根据所述第一控制命令在所述第一时间关闭无线通信能力,在所述第二时间开启无线通信能力。
第三方面,本申请提供一种第一设备,该第一设备包括:建立模块和发送模块。其中,建立模块,用于与第二设备建立无线短距离通信连接。发送模块,用于通过所述建立模块建立的所述无线短距离通信连接,向所述第二设备发送第一方面及其可能的实现方式所述的第一控制命令。
可选的,在第三方面的一种可能的实现方式中,上述第一设备还可以包括显示模块。该显示模块,用于执行第一方面的任一种可能的实现方式所述的方法步骤,显示第一方面中可能的实现方式所述的第一界面、第二界面、关机界面等显示界面。
可选的,在第三方面的一种可能的实现方式中,上述第一设备还可以包括控制模块。该控制模块,用于在所述发送模块通过所述无线短距离通信连接,向所述第二设备发送所述第一控制命令之后,关闭所述第一设备的无线通信能力。
第四方面,本申请提供一种第一设备,该第一设备包括:处理器、通信接口、显示器和存储器。其中,所述处理器、所述通信接口、所述显示器和所述存储器通过总线相连,所述通信接口用于通过无线短距离通信连接,与第二设备通信,所述显示器用于显示处理器生成的显示界面,所述存储器用于存储计算机程序代码,所述计算机程序代码包括指令,当所述处理器执行所述指令时,所述第一设备执行如第一方面或者其任一种可能的实现方式所述的设备控制方法。
第五方面,本申请提供一种第二设备,该第二设备包括:建立模块、接收模块和控制模块。其中,建立模块,用于与第一设备建立无线短距离通信连接。接收模块,用于通过所述建立模块建立的所述无线短距离通信连接,接收所述第一设备发送的第一控制命令。控制模块,用于根据所述接收模块接收的所述第一控制命令的指示,执
行第二方面所述的控制动作。
需要说明的是,本申请第五方面所述的第一控制命令可以参考第二方面及其可能的实现方式所述的第一控制命令,本申请这里不再赘述。
可选的,当第一控制命令中携带的时间信息包括第一时间和第二时间时,上述控制模块,具体可以用于根据所述第一控制命令在所述第一时间关机,在所述第二时间开机。可选的,控制模块,具体可以用于根据所述第一控制命令在所述第一时间关机,在所述第二时间开机。
或者,当第一控制命令中携带的时间信息包括第一时间和第二时间时,上述控制模块,具体可以用于根据所述第一控制命令在所述第一时间关闭无线通信能力,在所述第二时间开启无线通信能力。
第六方面,本申请提供一种第二设备,该第二设备包括:处理器、通信接口和存储器。其中,所述处理器、所述通信接口和所述存储器通过总线相连,所述通信接口用于通过无线短距离通信连接,与第二设备通信,所述存储器用于存储计算机程序代码,所述计算机程序代码包括指令,当所述处理器执行所述指令时,所述第二设备执行如第二方面或者其任一种可能的实现方式所述的设备控制方法。
第七方面,本申请提供一种计算机存储介质,该计算机存储介质包括计算机指令,当所述计算机指令在第一设备上运行时,使得所述终端执行如第一方面、第二方面或者其任一种可能的实现方式所述的设备控制方法。
第八方面,本申请提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如第一方面、第二方面或者其任一种可能的实现方式所述的设备控制方法。
可以理解地,上述提供的第三方面和第四方面所述的第一设备、第五方面和第六方面所述的第二设备、第七方面所述的计算机存储介质或者第八方面所述的计算机程序产品均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
图1为本发明实施例提供的一种设备控制方法所应用的网络架构示意图一;
图2为本发明实施例提供的一种设备控制方法所应用的网络架构示意图二;
图3为本发明实施例提供的一种手机的硬件结构示意图;
图4为本发明实施例提供的一种设备控制方法流程图一;
图5为本发明实施例提供的一种设备控制方法流程图二;
图6为本发明实施例提供的一种手机显示界面实例示意图一;
图7为本发明实施例提供的一种手机显示界面实例示意图二;
图8为本发明实施例提供的一种手机显示界面实例示意图三;
[根据细则91更正 04.08.2017]
图9为本发明实施例提供的一种手机显示界面实例示意图四;
图9C为本发明实施例提供的一种手机显示界面实例示意图二十四;
图9为本发明实施例提供的一种手机显示界面实例示意图四;
图9C为本发明实施例提供的一种手机显示界面实例示意图二十四;
图10为本发明实施例提供的一种手机显示界面实例示意图五;
图11为本发明实施例提供的一种手机显示界面实例示意图六;
图12为本发明实施例提供的一种手机显示界面实例示意图七;
图13为本发明实施例提供的一种手机显示界面实例示意图八;
图14为本发明实施例提供的一种手机显示界面实例示意图九;
图15为本发明实施例提供的一种手机显示界面实例示意图十;
图16为本发明实施例提供的一种手机显示界面实例示意图十一;
图17为本发明实施例提供的一种设备控制方法流程图三;
图18为本发明实施例提供的一种手机显示界面实例示意图十二;
图19为本发明实施例提供的一种设备控制方法流程图四;
图20为本发明实施例提供的一种手机显示界面实例示意图十三;
图21为本发明实施例提供的一种手机显示界面实例示意图十四;
图22为本发明实施例提供的一种手机显示界面实例示意图十五;
图23为本发明实施例提供的一种手机显示界面实例示意图十六;
图24为本发明实施例提供的一种设备控制方法流程图五;
图25为本发明实施例提供的一种设备控制方法流程图六;
图26为本发明实施例提供的一种手机显示界面实例示意图十七;
图27为本发明实施例提供的一种设备控制方法流程图七;
图28为本发明实施例提供的一种设备控制方法流程图八;
图29为本发明实施例提供的一种设备控制方法流程图九;
图30为本发明实施例提供的一种手机显示界面实例示意图十八;
图31为本发明实施例提供的一种手机显示界面实例示意图十九;
图32为本发明实施例提供的一种手机显示界面实例示意图二十;
图33为本发明实施例提供的一种手机显示界面实例示意图二十一;
图34为本发明实施例提供的一种设备控制方法所应用的网络架构示意图三;
图35为本发明实施例提供的一种手机显示界面实例示意图二十二;
图36为本发明实施例提供的一种手机显示界面实例示意图二十三;
图37为本发明实施例提供的一种第一设备的结构组成示意图一;
图38为本发明实施例提供的一种第一设备的结构组成示意图二;
图39为本发明实施例提供的一种第一设备的结构组成示意图三;
图40为本发明实施例提供的一种第二设备的结构组成示意图一;
图41为本发明实施例提供的一种第二设备的结构组成示意图二。
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本发明实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。例如,至少两个第二设备是指两个或者多个第二设备。
本发明实施例提供一种设备控制方法,该方法可以应用于第一设备控制第二设备开启无线通信能力、关闭无线通信能力、开机或者关机的过程中。
示例性的,本发明实施例中的无线通信能力可以包括无线接收能力和无线发射能力,或者无线通信能力可以包括无线发射能力,或者上述无线通信能力可以包括无线接收能力。其中,上述无线发射能力可以包括射频发射(Transmit,Tx)能力、无线保真(Wireless Fidelity,WiFi)发射能力和蓝牙发射能力中的至少一个,上述无线接收能力可以包括射频接收(Receive,Rx)能力、WiFi接收能力和蓝牙接收能力中的至少一个。
需要说明的是,上述射频Tx能力也可以称为射频Tx通路、射频Tx资源或者发射器(Transmitter),上述射频Rx能力也可以称为射频Rx通路、射频Rx资源或者接收器(Receiver)。
示例性的,本发明实施例中的第一设备可以是手机、笔记本电脑、平板电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理
(personal digital assistant,PDA)等设备,第二设备可以包括手机、可穿戴式设备(如蓝牙手环、蓝牙手表、蓝牙耳机等)、增强现实(augmented reality,AR)\虚拟现实(virtual reality,VR)设备、平板电脑、笔记本电脑、UMPC、上网本、PDA、蓝牙水杯等,本发明实施例对此不作任何限制。
请参考图1,本发明实施例这里以第一设备是手机110,第二设备包括平板电脑121、笔记本电脑122和蓝牙手环123为例,对本发明实施例提供的设备控制方法所应用的网络架构进行简单介绍。
如图1所示,手机110分别于平板电脑121、笔记本电脑122和蓝牙手环123建立了无线短距离通信连接。该无线短距离通信连接即通过无线短距离通信技术建立的通信连接。本发明涉及的无线短距离通信技术可以为蓝牙连接或者WiFi连接,还可以为其他无线短距离通信技术,例如红外连接、近距离无线通信技术(Near Field Communication,NFC)连接、超宽带连接、紫蜂协议(ZigBee)连接等,本发明实施例不做具体限定。该WiFi连接可以是WiFi直连,即WiFi设备点对点连接。
其中,手机110可以通过手机与平板电脑121、笔记本电脑122和蓝牙手环123的无线短距离通信连接,分别向这些设备(包括平板电脑121、笔记本电脑122和蓝牙手环123)发送控制命令,指示这些设备执行相应的控制动作。
其中,上述控制动作可以包括开启无线通信能力、关闭无线通信能力、开机或者关机,即第一设备可以控制第二设备开启或者关闭其无线通信能力,或者控制第二设备关机或者开机。其中,第一设备还可以控制第二设备关机,并在关机后定时开机。或者,第一设备还可以控制第二设备关机,并在关机后,定时开机并关闭无线发射能力。
举例来说,本发明实施例的方法可以应用于用户乘坐飞机的过程中。在飞机起飞时,为了减少或者避免该用户所携带的无线设备对飞机产生电磁干扰,用户可以使用手机(即第一设备)执行本发明实施例的方法,控制该用户的其他无线设备(即第二设备,如笔记本、平板电脑和蓝牙手环等)关闭其无线通信能力或者关机。
或者,本发明实施例的方法还可以应用于用户准备休息或者要参加会议或讲座时,为了减少或者避免该用户所携带的无线设备对用户的休息或者用户参加的会议或讲座产生影响,用户可以使用手机(即第一设备)执行本发明实施例的方法,控制该用户的其他无线设备(即第二设备,如笔记本、平板电脑和蓝牙手环等)关闭其无线通信能力或者关机。
需要说明的是,本发明实施例提供的设备控制方法的应用场景包括但不限于上述用户乘坐飞机、用户准备休息、用户参加会议或者用户参加讲座的场景,该设备控制方法的其他应用场景本发明实施例这里不再赘述。
进一步的,本发明实施例的方法还可以应用于第一设备控制第二设备,以及与第二设备存在无线短距离通信连接的第三设备,执行上述控制动作的过程中。
示例性的,上述第三设备可以为手机、可穿戴式设备(如蓝牙手环、蓝牙手表、蓝牙耳机等)、AR\VR设备、平板电脑、笔记本电脑、UMPC、上网本、PDA、蓝牙水杯等,本发明实施例对此不作任何限制。
请参考图2,本发明实施例这里以第一设备是手机110,第二设备包括平板电脑121、笔记本电脑122和蓝牙手环123,第三设备是蓝牙耳机124为例,对本发明实施例提供的设备控制方法所应用的网络架构进行简单介绍。
如图2所示,手机110分别于平板电脑121、笔记本电脑122和蓝牙手环123建立了无线短距离通信连接,平板电脑121与蓝牙耳机124建立了无线短距离通信连接,该无线短距离通信连接可以为蓝牙连接或者WiFi连接。
其中,手机110可以通过手机与上述设备的无线短距离通信连接,向平板电脑121、笔记本电脑122和蓝牙手环123发送控制命令,指示平板电脑121、笔记本电脑122和蓝牙手环123执行上述控制动作。平板电脑121可以在接收到上述控制命令后,向与该平板电脑存在无线短距离通信连接的蓝牙耳机124发送控制命令,指示蓝牙耳机124执行上述控制动作。
需要说明的是,通过本发明实施例的方法,第一设备不仅可以通过指示第二设备操作其无线通信能力的开关,实现第二设备的无线通信能力的开启和关闭;还可以通过指示第二设备进入预先设置的使用模式,实现第二设备的无线通信能力的开启和关闭。例如,假设第一设备是手机a,第二设备是手机b。手机a可以指示手机b进入飞行模式、会议模式、静音模式等使用模式。在不同的使用模式下,手机b的无线通信能力所处的状态不同。例如,在飞行模式下,手机b的无线发射能力和无线接收能力均处于关闭状态;在会议模式下,手机b的无线接收能力处于关闭状态。
可以理解的是,通过本实施例的方法,还可以实现第一设备对第二设备的一些功能的开启或者关闭。例如,当手机a与手机b建立无线短距离通信连接时,手机a可以控制手机b打开摄像头或者打开手电筒等。
以下实施例以第一设备是手机为例,说明第一设备和第二设备如何实现实施例中的具体技术方案。如图3所示,本实施例中的第一设备可以为手机110。下面以手机110为例对实施例进行具体说明。
应该理解的是,图示手机110仅仅是终端的一个范例,并且手机110可以具有比图中所示出的更过的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图3中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。
如图3所示,手机110包括:RF(Radio Frequency,射频)电路310、存储器320、输入单元330、显示单元340、传感器350、音频电路360、无线保真(Wireless Fidelity,Wi-Fi)模块370、处理器380、以及电源390等部件。本领域技术人员可以理解,图3中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图3对手机110的各个构成部件进行具体的介绍:
RF电路310可用于收发信息或通话过程中,信号的接收和发送,可以将基站的下行信息接收后,给处理器380处理;另外,将涉及上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等器件。此外,RF电路310还可以通过无线通信与网络和其他移动设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统、通用分组无线服务、码分多址、宽带码分多址、长期演进、电子邮件、短消息服务等。
存储器320可用于存储软件程序及数据。处理器380通过运行存储在存储器320的软件程序及数据,从而执行手机110的各种功能以及数据处理。存储器320可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机110的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器320可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。在以下实施例中,存储器320存储有使得手机110能运行的操作系统,例如苹果公司所开发的操作系统,谷歌公司所开发的开源操作系统,微软公司所开发的操作系统等。
输入单元330(如触摸屏)可用于接收输入的数字或字符信息,以及产生与手机
110的用户设置以及功能控制有关的信号输入。具体地,输入单元330可以包括设置在手机110正面的触控面板331,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板331上或在触控面板331附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板331可包括触摸检测装置和触摸控制器两个部分(图3中未示出)。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器380,并能接收处理器380发来的指令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板331。
显示单元340(即显示屏)可用于显示由用户输入的信息或提供给用户的信息以及手机110的各种菜单的图形用户界面(Graphical User Inter face,GUI)。显示单元340可包括设置在手机110正面的显示面板341。其中,显示面板341可以采用液晶显示器、发光二极管等形式来配置。
在一些实施例中,手机110包括正面A和背面B。在正面A的底部设置有光学触摸按键;还设置有触控面板331和显示面板341,触控面板331覆盖在显示面板341之上。当触控面板331检测到在其上或附近的触摸操作后,传送给处理器380以确定触摸事件,随后处理器380根据触摸事件的类型在显示面板341上提供相应的视觉输出。虽然在图3中,触控面板331与显示面板341是作为两个独立的部件来实现手机110的输入和输入功能,但是在某些实施例中,可以将触控面板331与显示面板341集成而实现手机110的输入和输出功能,集成后的触控面板331与显示面板341可以简称为触摸显示屏。
在另外的一些实施例中,上述触控面板331还可以设置有压力感应传感器,这样用户在上述触控面板上进行触摸操作时,触控面板还能检测到该触摸操作的压力,进而手机110能够更准确地检测该触摸操作。
手机110还可以包括至少一种传感器350,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,如图1A所示,环境光传感器351可根据环境光线的明暗来调节显示面板341的亮度,接近光传感器352设置在手机110的正面,当在手机110移动到耳边时,根据接近光传感器352的检测,手机110关闭显示面板341的电源,这样手机110可以进一步节省电量。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏转化、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机110还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。手机110正面的顶部可以设置有前置摄像头353、背面的顶部设置有后置摄像头354。
音频电路360、扬声器361,麦克风362可提供用户与手机110之间的音频接口。音频电路360可将接收到的音频数据转换后的电信号,传输到扬声器361,由扬声器361转换为声音信号输出;另一方面,麦克风362将收集的声音信号转换为电信号,由音频电路360接收后转换为音频数据,再将音频数据输出至RF电路310以发送给比如另一手机,或者将音频数据输出至存储器320以便进一步处理。
Wi-Fi属于短距离无线传输技术,手机110可以通过Wi-Fi模块370帮助用户收发电子邮件、浏览网页和访问流媒体等,它为用户提供了无线的宽带互联网访问。
处理器380是手机110的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器320内的软件程序,以及调用存储在存储器320内
的数据,执行手机110的各种功能和处理数据,从而对手机进行整体监控。在一些实施例中,处理器380可包括一个或多个处理单元;处理器380还可以集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器380中。
蓝牙模块381,用于通过蓝牙这种短距离通讯协议来与其他设备进行信息交互。例如,手机110可以通过蓝牙模块381与同样具备蓝牙模块的可穿戴电子设备(例如智能手表)建立蓝牙连接,从而进行数据交互。
手机110还包括给各个部件供电的电源390(比如电池)。电源可以通过电源管理系统与处理器380逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗等功能。可以理解的是,在以下实施例中,电源390可以用于给显示面板341及触控面板331供电。
以下实施例中的方法均可以在具有上述硬件结构的手机110中实现。
本发明实施例提供一种设备控制方法,如图4所示,该设备控制方法包括S401-S403:
S401:第一设备与第二设备建立无线短距离通信连接。
其中,第一设备与第二设备之间的无线短距离通信连接可以是蓝牙连接、WiFi连接、红外连接、NFC连接或者ZigBee等连接中的任意一种,该WiFi连接可以是WiFi直连。第一设备可以与一个或多个第二设备建立无线短距离通信连接。例如,以图1为例,手机110(即第一设备)可以与多个第二设备(笔记本122、平板电脑121和蓝牙手环123)建立无线短距离通信连接。可选的,第一设备可以与多个第二设备建立不同的无线短距离通信连接,例如,手机110与笔记本122建立Wifi连接,手机110与平板电脑121和蓝牙手环123建立蓝牙连接。若第一设备与多个第二设备建立的无线短距离通信方式不同,则可以通过无线短距离通信协议进行交互。
S402:第一设备通过上述无线短距离通信连接,向第二设备发送第一控制命令。
其中,该第一控制命令用于指示上述第二设备执行控制动作,该控制动作包括开启无线通信能力、关闭无线通信能力、开机或者关机。
示例性的,当上述控制动作为开启无线通信能力或者关闭无线通信能力时,在一些实施例中,上述第一控制命令可以指示第二设备开启或者关闭第二设备的全部无线通信能力。
例如,以上述控制动作是关闭无线通信能力,且上述无线通信能力是无线发射能力为例。第一控制命令可以用于指示第二设备关闭第二设备的全部无线发射能力,如第二设备的射频Tx能力、WiFi发射能力和蓝牙发射能力等所有无线发射能力;而第二设备的射频Rx能力、WiFi接收能力和蓝牙接收能力等所有无线接收能力则处于开启状态。
示例性的,当上述控制动作为开启无线通信能力或者关闭无线通信能力时,在另一些实施例中,第一控制命令可以用于指示第二设备开启或者关闭第二设备的部分无线通信能力。
例如,以上述控制动作是关闭无线通信能力,且上述无线通信能力包括无线发射能力和无线接收能力为例,第一控制命令可以用于指示第二设备关闭第二设备的射频Tx能力和射频Rx能力,而第二设备的WiFi发射能力、WiFi发射能力、蓝牙发射能力和蓝牙接收能力则可以处于开启状态。
例如,以上述控制动作是关闭无线通信能力,且上述无线通信能力包括无线发射能力为例,第一控制命令可以用于指示第二设备关闭第二设备的射频Tx能力,而第二
设备的WiFi发射能力、WiFi发射能力、蓝牙发射能力、蓝牙接收能力和射频Rx能力则可以处于开启状态。
示例性的,以图1为例,用户的手机110与其笔记本122、平板电脑121和蓝牙手环123分别建立了无线短距离通信连接,当用户乘坐的飞机将要起飞时,为了降低该用户携带的无线设备对飞机造成电磁干扰,该用户可以触发手机110可以向笔记本122、平板电脑121和蓝牙手环123中的一个或多个设备发送上述第一控制命令,指示笔记本122、平板电脑121和蓝牙手环123中关闭其无线通信能力或者关机。
S403:第二设备通过无线短距离通信连接,接收第一设备发送的第一控制命令。
S404:第二设备执行第一控制命令所指示的控制动作。
本发明实施例提供的设备控制方法,第一设备可以向第二设备发送第一控制命令,指示这些第二设备执行控制动作(如控制动作包括开启无线通信能力、关闭无线通信能力、开机或者关机)。这样,便不需要用户手动控制第二设备开启无线通信能力、关闭无线通信能力、开机或者关机。并且,第一设备可以通过上述第一控制命令同时控制多个第二设备执行上述控制动作;而不需要逐一手动控制多个第二设备,可以提高控制多个无线设备执行上述控制动作的效率。并且,还可以减少由于用户忘记某个无线设备,而存在的安全隐患或者给用户带来的不便。
并且,本申请中,第一设备可以通过与第二设备的无线短距离通信连接,便可以控制第二设备执行相应的控制动作。例如,当用户想要关闭第二设备的无线通信能力或者关闭第二设备时,则不需要先找出第二设备,再关闭第二设备的无线通信能力或者关闭第二设备;只要该第二设备与第一设备存在无线短距离通信连接,便可以控制第二设备关机或者关闭其无线通信能力。
例如,当用户乘坐的飞机将要起飞时,该用户可以直接使用其手机,通过手机与该用户的其他无线设备(如平板电脑、蓝牙手环、笔记本电脑等)的无线短距离通信连接,控制该其他无线设备关机或者关闭其无线通信能力;而不需要一一找出这些无线设备,再逐一控制这些无线设备关机或者关闭其无线通信能力。
进一步的,第一设备可以在不同的情况下,向上述第二设备发送第一控制命令。例如,第一设备可以响应于用户的关机操作,在关机之前,向第二设备发送第一控制命令;或者,第一设备可以响应于用户关闭第一设备的无线通信能力的操作,在关闭其无线通信能力之前,向第二设备发送第一控制命令;或者,第一设备还可以响应于用户在第一应用(该第一应用用于控制与第一设备存在无线短距离通信连接的多个设备)的相关操作,向第二设备发送第一控制命令。
具体的,如图5所示,在图4所示的S402之前,本发明实施例的方法还可以包括S501-S504:
S501:第一设备响应于用户的第一输入,显示第一界面。
在第一种应用场景中,上述第一输入是第一应用的启动指令,该第一界面是第一应用的显示界面。
示例性的,以第一设备是图1所示的手机110为例,上述第一应用可以是手机110中、用于控制与手机110存在无线短距离通信连接的其他无线设备的应用程序。
例如,第一应用可以是如图6A所示的“无线设备控制”图标601所对应的应用程序。当用户手指点击如图6A所示的“无线设备控制”图标601时,手机110可以显示如图6B所示的“无线设备控制界面”602,即上述第一界面。
或者,第一应用还可以是手机110中的系统应用。例如,当用户手机点击图7A所示的“设置”图标701时,手机110可以显示如图7B所示的“设置界面”702。其中,图7B所示的“设置界面”702中可以包括“飞行模式”选项、“无线局域网(Wireless Local
Area Networks,WLAN)”选项、“蓝牙”选项、“移动网络”选项和“无线设备控制”选项703。其中,当用户手指点击图6A所示的“无线设备控制”图标703时,手机110可以显示如图7C所示的“无线设备控制界面”602,即上述第一界面。
其中,图6B或图7C所示的“无线设备控制界面”602中可以包括“无线设备连接”选项603和“无线设备控制方式”选项604。
如图6B或图7C所示,“无线设备连接”选项603中示出了与手机110存在无线短距离通信连接(如WiFi连接和蓝牙连接)的无线设备的标识及其连接方式(如WiFi连接和蓝牙连接)。从“无线设备连接”选项603可以确定具体有哪些设备与手机110存在无线短距离通信连接(如WiFi连接和蓝牙连接),并确定这些无线设备是通过哪一种无线短距离通信连接方式与手机110连接。如图6B或图7C所示,从“无线设备连接”选项603可以确定:与手机110存在无线短距离通信连接的无线设备包括笔记本电脑122、平板电脑121和蓝牙手环123;并且,平板电脑121和蓝牙手环123通过蓝牙与手机110建立无线短距离通信连接,笔记本电脑122通过WiFi连接与手机110建立无线短距离通信连接。
如图6B或图7C所示,“无线设备控制方式”选项604示出了手机110控制与手机110存在无线短距离通信连接的无线设备的控制方式,该控制方式包括“总控制”方式605和“分设备控制”方式606。其中,“总控制”方式605是指手机110统一控制与该手机110存在无线短距离通信连接的所有无线设备(如笔记本电脑122、平板电脑121和蓝牙手环123)关机或者关闭其无线通信能力。“分设备控制”方式606是指手机110根据用户的选择,控制与该手机110存在无线短距离通信连接的部分无线设备(如笔记本电脑122和平板电脑121)关机或者关闭其无线通信能力。
需要说明的是,本发明实施例中,第一设备所显示的第一界面包括但不限于图6B或图7C所示的“无线设备控制界面”602。例如,图6B或图7C所示的“无线设备控制界面”602中的“无线设备连接”选项603是可选的,如图8所示的“无线设备控制界面”602中可以不包括“无线设备连接”选项603,仅包括“无线设备控制方式”选项604。并且,“无线设备控制方式”选项604的界面显示方式包括但不限于图6B或图7C所示的界面显示方式。
S502:第一设备响应于用户在第一界面上的第二输入,显示第二界面。
其中,该第二输入用于确定需要接收第一控制命令的设备,该第二界面包括时间窗口和选择窗口,该时间窗口用于输入上述时间信息,该选择窗口用于输入上述第一控制命令指示上述第二设备所执行的动作。
示例性的,以图6B或图7C所示的“无线设备控制界面”602为例,当用户选择采用“总控制”方式控制与手机110连接的多个无线设备时,即用户手指点击图9A所示的“总控制”方式605时,手机110可以显示如图9B所示的“无线设备控制界面”901。图9B所示的“无线设备控制界面”901中包括“时间窗口”902和“选择窗口”904。
其中,“时间窗口”902用于输入上述时间信息。该时间信息的格式可以为**年**月**日**时**分**秒。或者,该时间信息的格式可以为**:**:**,此时手机110默认该时间信息是当天的时间。
示例性的,该时间信息可以由用户输入上述“时间窗口”902。其中,用户向“时间窗口”902输入时间信息的方法可以参考现有技术中的详细描述,本发明实施例这里不再赘述。
可选的,当用户手指点击如图9B所示的“时间获取按钮”903时,手机110可以从该手机110中保存的电子机票、手机110的日历中的日程安排等信息中读取时间信息,并显示在“时间窗口”902中。
需要说明的是,第一设备可以通过不同的无线短距离通信连接方式,与多个第二设备建立无线连接。例如,如图7C所示,手机110与平板电脑121之间的无线短距离通信连接为蓝牙连接,手机110与蓝牙手环123之间的无线短距离通信连接为蓝牙连接,手机110与笔记本电脑122之间的无线短距离通信连接为WiFi连接。
当然,第一设备也可以通过相同的无线短距离通信连接方式,与多个第二设备建立无线连接。例如,手机110与平板电脑121之间的无线短距离通信连接、手机110与蓝牙手环123之间的无线短距离通信连接,以及手机110与笔记本电脑122之间的无线短距离通信连接都可以是WiFi连接。
可选的,上述第二界面中也可以不包括时间窗口,仅包括选择窗口。即图9B所示的“无线设备控制界面”901中的“时间窗口”902是可选的。例如,如图9C所示的“无线设备控制界面”911中仅包括“选择窗口”904,而不包括时间窗口。
可选的,上述“选择窗口”或者“时间窗口和选择窗口”还可以直接包括在第一界面中,而不需要响应于用户在第一界面中的第二输入,显示包括“选择窗口”或者“时间窗口和选择窗口”的第二界面。
示例性的,如图10所示,当用户手指点击如图10A所示的“时间获取按钮”903时,手机110可以显示如图10B所示的“时间获取界面”1001。该“时间获取界面”1001中可以包括该手机110中电子机票中的飞机计划1的飞行时间区间09:10:00-11:20:00和飞机计划2的飞行时间区间19:20:00-21:35:00,以及电子日历中的日程安排中会议1的时间区间14:20:00-15:20:00和会议2的时间区间15:30:00-16:40:00。用户可以从上述4个时间区间中选择任一个时间区间,作为第一控制命令的生效时间区间。例如,假设用户选择图10B所示的“飞行计划1”1002,当用户手指点击图10B所示的“选定”按钮1006时,手机110则可以显示如图10C所示的终端界面。图10C所示的终端界面中,“时间窗口”902中显示“飞行计划1”1002的时间区间09:10:00-11:20:00。可以理解,图10B所示的“时间获取界面”1001中所显示的事件(飞行计划或者会议)可以是该用户当天的日程安排。
可选的,在一些实施例中,手机110可以自动从电子机票或者电子日历中的日程安排中,获取与当前事件最接近的事件的时间区间,并将该时间区间显示在“时间窗口”902中。例如,假设当前时间是08:59:00,手机110中电子机票中包括飞机计划1的飞行时间区间09:10:00-11:20:00和飞机计划2的飞行时间区间19:20:00-21:35:00,电子日历中的日程安排中包括会议1的时间区间14:20:00-15:20:00和会议2的时间区间15:30:00-16:40:00。由于“飞行计划1”的时间区间09:10:00-11:20:00最接近当前时间08:59:00;因此,当用户手指点击如图11A所示的“时间获取按钮”903时,手机110可以显示如图11B所示的终端界面。图11B所示的终端界面中,“时间窗口”902中显示“飞行计划1”的时间区间09:10:00-11:20:00。
其中,图9B、图10C或者图11B所示的“选择窗口”904可以包括:“发射能力关闭,接收能力开启”选项905、“发射能力关闭,接收能力关闭”选项906、“发射能力开启,接收能力开启”选项907和“关机”选项908。
举例来说,当用户选择“发射能力关闭,接收能力开启”选项905时,手机110发送的第一控制命令指示第二设备执行的控制动作为关闭无线发射能力。此时,第一控制命令中可以携带第一指示信息,该第一指示信息用于指示第二设备关闭其无线发射能力。当用户选择“发射能力关闭,接收能力关闭”选项906时,手机110发送的第一控制命令指示第二设备执行的控制动作为关闭无线发射能力和无线接收能力。此时,第一控制命令中可以携带第二指示信息,该第二指示信息用于指示第二设备关闭其无线发射能力和无线接收能力。当用户选择“关机”选项908时,手机110发送的第一控
制命令指示指示第二设备执行的控制动作为关机。此时,第一控制命令中可以携带第三指示信息,该第三指示信息用于指示至少一个第二设备关机。当用户选择“发射能力开启,接收能力开启”选项907时,手机110发送的第一控制命令指示指示第二设备执行的控制动作为开启无线发射能力。此时,第一控制命令中携带第四指示信息,该第四指示信息用于指示第二设备开启其无线发射能力。
S503:第一设备接收用户在所述第二界面的第三输入,该第三输入包括用户在时间窗口和选择窗口中的输入。
示例性的,该第三输入可以是用户在时间窗口输入的时间信息,例如,图12A所示的“时间窗口”902中显示“飞行计划1”的时间区间09:10:00-11:20:00,以及图12A所示,用户对“发射能力关闭,接收能力关闭”选项906的选择。
其中,当第二界面不包括时间窗口时,该第三输入中也不包括用户在选择窗口中的输入。
相应的,上述S402可以替换为S504,例如,如图5所示,图4所示的S402可以替换为S504:
S504:第一设备响应于所述第三输入,通过无线短距离通信连接向第二设备发送第一控制命令。
示例性的,当用户点击图12A所示的“确定”按钮910时,手机110则可以执行“通过无线短距离通信连接向第二设备发送第一控制命令”,并显示如图12B所示的“命令发送界面”1201。在图12B所示的“命令发送界面”1201中可以显示手机向笔记本电脑、平板电脑和蓝牙手环发送命令的动态图像。其中,手机110可以在显示图12B所示的“命令发送界面”1201一段时间(如5秒)后,返回图6A或者图7A所示的终端界面。
可选的,如图12B所示,“笔记本电脑”的图标对应位置还可以显示“笔记本已关闭”的指示信息,“平板电脑”的图标对应位置还可以显示“平板电脑已关闭”的指示信息,“蓝牙手环”的图标对应位置还可以显示“手环已关闭”的指示信息。
可选的,当用户点击图12A所示的“确定”按钮910时,手机执行“通过无线短距离通信连接向第二设备发送第一控制命令”时,也可以不显示图12B所示的“命令发送界面”1201,而是直接返回图6A或者图7A所示的终端界面。
可选的,用户也可以不在上述“时间窗口”902输入任何时间信息。此时,手机110可以确定上述第一控制命令的生效时间没有时间限制。例如,假设上述第一控制命令用于指示至少一个第二设备关机,那么该至少一个第二设备在关机后则需要一直处于关机状态,直至用户手动操作其开机。
如图9A所示,由于用户选择了“总控制”方式605,因此,当用户点击图12A所示的“确定”按钮910时,手机110则可以通过无线短距离通信连接向与手机110存在无线短距离通信连接的所有无线设备(即笔记本电脑122、平板电脑121和蓝牙手环123)发送上述第一控制命令。
示例性的,以图6B或图7C所示的“无线设备控制界面”602为例,当用户选择采用“分设备控制”方式控制与手机110连接的多个无线设备时,即用户手指点击图13A所示的“分设备控制”方式606时,手机110可以显示如图13B所示的“无线设备选择界面”1301。图13B所示的“无线设备选择界面”1201中包括:与手机110存在无线短距离通信连接的所有无线设备的选项,如笔记本电脑122、平板电脑121和蓝牙手环123。
如图13B所示,当用户选择笔记本电脑122和平板电脑121,并点击如图13B所示的“确定”选项1302后,手机110可以显示图13C所示的“无线设备控制界面”1303。其中,图13C所示的“无线设备控制界面”1303中的所显示的内容的详细描述可以参
考本发明实施例对图9B所示的“无线设备控制界面”901的详细描述,本发明实施例这里不再赘述。
并且,用户在图13C所示的“无线设备控制界面”1303中的“时间窗口”输入时间信息,以及在“选择窗口”选择控制动作选项的具体方法可以参考本发明实施例图10-图11的相关描述,本发明实施例这里不再详细描述。
其中,当用户在图13C所示的“时间窗口”输入中输入“飞行计划1”的时间区间09:10:00-11:20:00,并在“选择窗口”选择“发射能力关闭,接收能力关闭”选项后,终端可以显示如图14A所示的终端界面。不同的是,如图13A所示,由于用户选择了“分设备控制”方式606,并且,如图13B所示,该用户仅选择向笔记本电脑122和平板电脑121发送控制命令;因此,当用户手指点击图14A所示的“确定”选项1401时,手机110则可以通过无线短距离通信连接向笔记本电脑122和平板电脑121发送上述第一控制命令,而不需要向蓝牙手环123发送上述第一控制命令。可选的,在手机110向笔记本电脑122和平板电脑121发送上述第一控制命令的同时,手机110可以显示如图14B所示的“命令发送界面”1402。其中,在图14B所示的“命令发送界面”1402中可以显示手机向笔记本电脑和平板电脑发送命令的动态图像。
本发明实施例提供的设备控制方法中,第一设备可以显示与该第一设备存在无线短距离通信连接的所有设备的图标,可以向用户提示该第一设备与哪些第二设备存在无线短距离通信连接。并且,用户还可以在第一设备上选择通过“总控制”方式或者“分设备控制”方式,控制多个第二设备同时关闭其无线通信能力或者关机,可以提高用户体验。
在第二种应用场景中,上述第一输入可以是用于指示第一设备关机的指令。例如,以上述第一设备是手机110为例。一般而言,当手机110接收到关机指令(如图15A-1所示,用户对手机110的锁屏按键的长按操作所触发的指令)时,手机110则可以显示如图15B-1所示的“关机界面”1501。而本发明实施例中,当手机110接收到关机指令(如图15A-2所示,用户对手机110的锁屏按键的长按操作所触发的指令)时,手机110可以显示如图15B-2所示的“控制提示界面”1502。其中,图15B-2所示的“控制提示界面”1502中包括提示信息“手机与以下设备存在无线短距离通信连接”等提示语、与手机110存在无线短距离通信连接的设备的图标及对应的无线短距离通信连接方式、“是”选项1504和“否”选项1503。
当用户手指点击图15B-2所示的“否”选项1503时,手机110可以显示如图15B-1所示的“关机界面”1501。如图16A所示,当用户手指点击图16A所示的“是”选项1504时,手机110显示如图16B所示的“无线设备控制界面”。
需要说明的是,用户通过图16B所示的“无线设备控制界面”控制手机110向第二设备发送第一控制命令的具体方法可以参考本发明实施例图10-图11的相关描述,本发明实施例这里不再详细描述。
可选的,当用户手指点击图18A所示的“是”选项1504时,手机110可以直接向与该手机110存在无线短距离通信连接的所有无线设备(即笔记本电脑122、平板电脑121和蓝牙手环123)发送第一控制命令。可选的,当用户手指点击图18A所示的“是”选项1504时,手机110可以直接显示如图18B所示的“命令发送界面”1801;而不是显示图16B所示的“无线设备控制界面”。其中,在图18B所示的“命令发送界面”1801中,可以显示手机向笔记本电脑、蓝牙手环和平板电脑发送命令的动态图像。
在第二种应用场景中,由于上述第一输入可以是用于指示第一设备关机的指令。因此,在上述S504之后,本发明实施例的方法还可以包括S1701。例如,如图17所示,在图6所示的S504之后,本发明实施例的方法还可以包括S1701:
S1701:第一设备响应于所述发送第一控制命令,显示关机界面。
本发明实施例提供的设备控制方法,第一设备在接收到关机指令时,可以暂缓关机,先提示用户:是否控制与该第一设备存在无线短距离通信连接的第二设备执行相应的控制动作。这样可以避免因为用户携带较多的无线设备,而忘记关闭或者开启某个无线设备的问题。如此,在一些应用场景中,如乘坐飞机的过程中,则可以避免由于用户忘记关闭某个无线设备或者忘记关闭某个无线设备的无线通信能力,而导致该无线设备对飞机造成电磁干扰的问题,可以减少安全隐患。
可选的,在一些实施例中,在本发明实施例的第二种应用场景中,第一设备可以响应于用户的关机操作,在关机之前,直接向与第一设备存在无线短距离通信连接的所有设备发送第一控制命令,而不需要显示上述第一界面和第二界面等。具体的,在S402之前,本发明实施例的方法还包括S1901-S1903。例如,如图19所示,在图4所示的S402之前,本发明实施例的方法还包括S1901-S1903:
S1901:第一设备接收用户的第一输入,该第一输入用于指示第一设备关机。
示例性的,该第一输入可以是用户对第一设备的关机快捷键的点击操作,如当第一设备是手机时,第一输入可以是用户对手机的物理锁屏按键的长按操作。
相应的,如图19所示,上述S402可以替换为S1902:
S1902:第一设备响应于所述第一输入,通过无线短距离通信连接,向第二设备发送第一控制命令,该第一控制命令用于指示上述第二设备执行控制命令。
其中,在本发明实施例的第二种应用场景中,上述第二设备可以是与第一设备存在无线短距离通信连接的所有设备。
S1903:第一设备响应于所述发送第一控制命令,显示关机界面。
示例性的,当手机110接收到关机指令(如图20A所示,用户对手机110的锁屏按键的长按操作所触发的指令)时,手机110可以直接向与该手机110存在无线短距离通信连接的所有无线设备(即笔记本电脑122、平板电脑121和蓝牙手环123)发送第一控制命令。
可选的,当手机110接收到关机指令(如图20A所示,用户对手机110的锁屏按键的长按操作所触发的指令)时,手机110在向与该手机110存在无线短距离通信连接的所有无线设备发送第一控制命令的同时,还可以显示如图20B所示的“命令发送界面”2001。并且,在手机110显示图20B所示的“命令发送界面”2001一定时间(如5秒)后,手机110可以显示如图20C所示的“关机界面”2002。
在第三种应用场景中,上述第一输入可以是用于指示第一设备关闭第一设备的无线通信能力(如无线发射能力)的指令。例如,该第一输入可以是用户关闭手机110的移动网络的指令;或者该第一输入可以是用户开启手机110的飞行模式的指令。
示例性的,以上述第一输入是用户开启手机110的飞行模式的指令为例。当用户手机在图21A所示的“飞行模式”选项2101上滑动,开启手机110的飞行模式时,手机110可以显示如图21B所示的“控制提示界面”2102。其中,图21B所示的“控制提示界面”2102中包括提示信息“手机与以下设备存在无线短距离通信连接”等提示语、与手机110存在无线短距离通信连接的设备的图标及对应的无线短距离通信连接方式、“是”选项2104和“否”选项2103。
当用户手指点击图22A所示的“否”选项2103时,手机110可以显示如图22B所示的“飞行模式界面”。其中,在图22B所示的“飞行模式界面”中,“飞行模式”选项2101处于开启状态,“WLAN”选项2201、“蓝牙”选项2202以及“移动网络”选项2203均处于关闭状态。
如图23A所示,当用户手指点击图23A所示的“是”选项2104时,手机110可以
显示如图23B所示的“无线设备控制界面”。
需要说明的是,用户通过图23B所示的“无线设备控制界面”控制手机110向第二设备发送第一控制命令的具体方法可以参考本发明实施例图10-图11的相关描述,本发明实施例这里不再详细描述。
可选的,在第三种应用场景中,当用户手指点击图21B所示的“是”选项2104时,手机110可以直接向与该手机110存在无线短距离通信连接的所有无线设备(即笔记本电脑122、平板电脑121和蓝牙手环123)发送第一控制命令。例如,假设图21B所示的“控制提示界面”2102是图18A所示的“控制提示界面”1502。当用户手指点击图18A所示的“是”选项1504时,手机110可以直接显示如图18B所示的“命令发送界面”1801;而不是显示图16B所示的“无线设备控制界面”。其中,在图18B所示的“命令发送界面”1801中,可以显示手机向笔记本电脑、蓝牙手环和平板电脑发送命令的动态图像。
在第三种应用场景中,上述第一输入可以是用于指示第一设备关闭第一设备的无线通信能力(如无线发射能力)的指令。因此,如图24所示,在图5所示的S504之后,本发明实施例的方法还可以包括S2401:
S2401:第一设备响应于所述发送第一控制命令,关闭第一设备的无线通信能力。
本发明实施例提供的设备控制方法,第一设备在接收到关闭第一设备的无线通信能力的指令时,可以暂缓关闭第一设备的无线通信能力,先提示用户:是否控制与该第一设备存在无线短距离通信连接的第二设备关机或者关闭其无线通信能力。这样可以避免因为用户携带较多的无线设备,而忘记关闭某个无线设备的问题。如此,在一些应用场景中,如乘坐飞机的过程中,则可以避免由于用户忘记关闭某个无线设备或者关闭某个无线设备的无线通信能力,而导致该无线设备对飞机造成电磁干扰的问题,可以减少安全隐患。
可选的,在一些实施例中,在本发明实施例的第三种应用场景中,第一设备可以响应于用户的关闭第一设备的无线通信能力的操作,在关闭第一设备的无线通信能力的之前,直接向与第一设备存在无线短距离通信连接的所有设备发送第一控制命令,而不需要显示上述第一界面和第二界面等。具体的,在上述S402之前,本发明实施例的方法还可以包括S2501-S2503。例如,如图25所示,在图4所示的S402之前,本发明实施例的方法还可以包括S2501-S2503:
S2501:第一设备接收用户的第一输入,该第一输入用于指示第一设备关闭第一设备的无线通信能力。
相应的,如图25所示,图4所示的S402可以替换为S2502:
S2502:第一设备响应于所述第一输入,通过无线短距离通信连接,向第二设备发送第一控制命令,该第一控制命令用于指示上述第二设备执行控制命令。
S2503:第一设备响应于所述发送第一控制命令,关闭第一设备的无线通信能力。
示例性的,当用户手机在图26A所示的“飞行模式”选项2101上滑动,开启手机110的飞行模式时,手机110可以直接向与该手机110存在无线短距离通信连接的所有无线设备(即笔记本电脑122、平板电脑121和蓝牙手环123)发送第一控制命令。
可选的,当用户手机在图26A所示的“飞行模式”选项2101上滑动,开启手机110的飞行模式时,手机110在向与该手机110存在无线短距离通信连接的所有无线设备发送第一控制命令的同时,还可以显示如图26B所示的“命令发送界面”2601。并且,在手机110显示图26B所示的“命令发送界面”2601一定时间(如5秒)后,手机110可以显示如图26C所示的“飞行模式界面”2602。其中,在图26C所示的“飞行模式界面”中,“飞行模式”选项处于开启状态,“WLAN”选项、“蓝牙”选项以及“移动网络”选
项2203均处于关闭状态。
其中,在不同的场景中,第一设备可以控制上述第二设备执行不同的操作(如关闭无线发射能力、关闭无线接收能力和无线发射能力、关闭无线接收能力或者关机)。
例如,在用户乘坐飞机的过程中,其携带的无线设备(如图1所示的手机110、笔记本122、平板电脑121和蓝牙手环123)对飞机的电磁干扰,主要是由这些无线设备发射无线信号所产生的。因此,为了降低该用户携带的无线设备对飞机产生电磁干扰,在用户乘坐的飞机起飞前,用户控制其手机110(即第一设备)向笔记本122、平板电脑121和蓝牙手环123(即第二设备)发送的第一控制命令可以用于指示笔记本122、平板电脑121和蓝牙手环123在时间信息所指示的时间内,关闭其无线发射能力。
即在本发明实施例的第一种实现方式中,上述第一控制命令中可以携带有第一指示信息和时间信息,该第一指示信息可以用于指示上述第二设备在时间信息所指示的时间内,关闭其无线发射能力。具体的,上述S404可以替换为S404a。例如,如图27所示,图4所示的S404可以替换为S404a:
S404a:第二设备在时间信息所指示的时间内,关闭该第二设备的无线发射能力。
可以理解,在第一种实现方式中,由于第一指示信息仅指示上述第二设备在时间信息所指示的时间内,关闭其无线发射能力,而并未指示上述第二设备关闭其无线接收能力,因此该第二设备还可以接收其他设备(如第一设备发送的命令、消息或者其他数据)。例如,该第二设备还可以接收第一设备发送的第二控制命令。
具体的,由于第二设备的无线接收能力在时间信息所指示的时间后均被开启,因此第一设备可以在时间信息所指示的时间后,向上述第二设备中的至少一个设备发送第二控制命令,指示该至少一个第二设备开启其无线发射能力。具体的,如图27所示,在S404a之后,本发明实施例的方法还可以包括S2701-S2703。
S2701:第一设备通过无线短距离通信连接,向第二设备发送第二控制命令,该第二控制命令用于指示第二设备开启其无线发射能力。
S2702:第二设备接收第一设备发送的第二控制命令。
S2703:第二设备开启该第二设备的无线发射能力。
一般而言,在飞机起飞过程中,无线设备采用其射频Tx能力发射信息会对飞机产生较强的电磁干扰,而无线设备通过蓝牙发射能力发送信号不会对飞机产生较强的电磁干扰。因此,上述第一指示信息可以用于指示第二设备在时间信息所指示的时间内,关闭其射频Tx能力。当然,为了安全起见,上述第一指示信息可以用于指示第二设备在时间信息所指示的时间内,关闭其无线发射能力(包括射频Tx能力、蓝牙发射能力等)。
进一步的,第一设备可以控制上述第二设备关闭其无线发射能力后,在一些场景(如飞机起飞过程中)中,可以避免由于上述多个第二设备发射无线信号产生电磁干扰。
当然,在用户乘坐飞机的过程中,用户携带的无线设备接收无线信号也会对飞机造成一定程度的电磁干扰。为了更大程度的降低该用户携带的无线设备对飞机产生电磁干扰,手机110向笔记本122、平板电脑121和蓝牙手环123发送的第一控制命令不仅可以用于指示笔记本122、平板电脑121和蓝牙手环123,在时间信息所指示的时间内,关闭其无线发射能力,还用于指示笔记本122、平板电脑121和蓝牙手环123,在时间信息所指示的时间内,关闭其无线接收能力。
即在本发明实施例的第二种实现方式中,上述第一控制命令中可以携带有第二指示信息和时间信息,该第二指示信息用于指示所述第二设备在所述时间信息所指示的时间内,关闭其无线发射能力和无线接收能力。
进一步的,该时间信息可以包括第一时间和第二时间,该第二指示信息还可以用于指示第二设备在第一时间关闭无线通信能力,在第二时间开启无线通信能力。例如,当时间信息为09:10:00-11:20:00时,第一时间是09:10:00,第二时间是11:20:00。具体的,图4所示的S404可以替换为S404b,在S404b之后,本发明实施例的方法还可以包括S2801:
S404b:第二设备在第一时间关闭无线通信能力。
S2801:第二设备在第二时间开启其无线通信能力。
可选的,为了避免用户乘机时,该用户携带的无线设备对飞机产生电磁干扰,手机110向笔记本122、平板电脑121和蓝牙手环123发送的第一控制命令可以用于指示笔记本122、平板电脑121和蓝牙手环123,在时间信息包括的第一时间关机。该时间信息包括第一时间和第二时间。例如,当时间信息为09:10:00-11:20:00时,第一时间是09:10:00,第二时间是11:20:00。
即在本发明实施例的第三种实现方式中,上述第一控制命令中可以携带有第三指示信息或者时间信息,该第三指示信息用于指示所述第二设备在所述时间信息所指示的时间内关机。
进一步的,该第三指示信息还可以用于指示第二设备在第二时间开机并关闭无线发射能力。具体的,如图29所示,图4所示的S404可以替换为S404c,在S404c之后,本发明实施例的方法还可以包括S2901:
S404c:第二设备在第一时间内关机。
如图29所示,在S404之后,本发明实施例的方法还可以包括S2901:
S2901:第二设备在第二时间开机,并关闭其无线发射能力,开启其无线接收能力。
可选的,在S2901之后,本发明实施例的方法还可以包括S2701-S2703。
例如,在用户参加会议/讲座或者用户休息时,其携带的无线设备(如图1所示的手机110、笔记本122、平板电脑121和蓝牙手环123)接收其他无线设备发送的信号,如来电提醒,可能会对用户造成干扰。此时,对了避免该用户携带的无线设备接收无线信号对该用户造成干扰,用户控制其手机110向笔记本122、平板电脑121和蓝牙手环123发送的第一控制命令可以用于指示笔记本122、平板电脑121和蓝牙手环123在时间信息所指示的时间内,关闭其无线接收能力。
即在本发明实施例的第四种实现方式中,上述第一控制命令中可以携带有第四指示信息或者时间信息,该第四指示信息用于指示所述第二设备在所述时间信息所指示的时间内,关闭其无线接收能力。
示例性的,上述第一指示信息、第二指示信息和第三指示信息可以是上述第一控制命令中同一字段(如无线控制字段)中的不同指示信息。
例如,当无线控制字段为“00”(即第一指示信息)时,则该第一控制命令用于指示上述第二设备在时间信息所指示的时间内,关闭其无线发射能力。当无线控制字段为“01”(即第二指示信息)时,则该第一控制命令用于指示上述第二设备在时间信息所指示的时间内,关闭其无线发射能力和无线接收能力。当无线控制字段为“10”(即第三指示信息)时,则该第一控制命令用于指示上述第二设备在时间信息所指示的时间内关机。当无线控制字段为“11”(即第三指示信息)时,则该第一控制命令用于指示上述第二设备在时间信息所指示的时间内关闭其无线接收能力。当然,上述第一指示信息也可以是“01”,第二指示信息可以是“00”,第三指示信息可以是“10”,本发明实施例对此不做限制。
在一些实施例中,假设第一控制命令是第一设备采用“总控制”方式发送的,第一
指示信息为“00”,第二指示信息为“01”,第三指示信息为“10”,第一控制命令的生效时间没有限制。
当第一控制命令用于指示第二设备在时间信息所指示的时间内,关闭其无线发射能力时,第一控制命令的详细内容可以参考如下表1所示的控制命令:
表1
其中,时间信息为“00:00:00-FF:FF:FF”用于表示第一控制命令的生效时间没有时间限制。例如,由于时间信息为“00:00:00-FF:FF:FF”,因此,第二设备在关闭其无线发射能力后,其无线发射能力则需要一直处于关闭状态,直至用户手动开启其无线发射能力。
无线设备标识为“FF:FF:FF:FF:FF:FF”用于表示该第一控制命令是发送给与第一设备存在无线短距离通信连接的所有无线设备的。其中,接收到该第一控制命令的无线设备如果确定上述无线设备标识为“FF:FF:FF:FF:FF:FF”,则可以确定该第一控制命令是发送给该无线设备的,则可以执行该第一控制命令所指示的控制动作。
当第一控制命令的生效时间没有限制,且第一控制命令用于指示第二设备在时间信息所指示的时间内,关闭其无线发射能力和无线接收能力时,第一控制命令的详细内容可以参考如下表2所示的控制命令:
表2
当第一控制命令的生效时间没有限制,且第一控制命令用于指示第二设备在时间信息所指示的时间内关机时,第一控制命令的详细内容可以参考如下表3所示的控制命令:
表3
在另一些实施例中,“分设备控制”方式中,第一控制命令中携带的对象设备标识可以是用户指定接收该第一控制命令的第二设备的标识,该第二设备的标识可以是该第二设备的网际协议(Internet Protocol,IP)地址、媒体接入控制(Media Access Control,MAC)地址等可以唯一标识该第二设备的信息中的任一个。
假设第一控制命令是第一设备采用“分设备控制”方式发送的,第一指示信息为“00”,第二指示信息为“01”,第三指示信息为“10”。时间信息为“09:10:00-11:20:00”。第一设备为图1所示的手机110,用户选择发送第一控制命令的无线设备包括图1所示的笔记本电脑122和平板电脑121。笔记本电脑122的设备标识为35:AB:25:66:EF:20,平板电脑121的设备标识为35:AB:25:66:EF:88。
当第一控制命令用于指示第二设备在时间信息所指示的时间内,关闭其无线发射能力时,第一控制命令的详细内容可以参考如下表4所示的控制命令:
表4
当第一控制命令(即第二指示信息)用于指示第二设备在时间信息所指示的时间内,关闭其无线发射能力和无线接收能力时,第一控制命令的详细内容可以参考如下表5所示的控制命令:
表5
当第一控制命令(即第三指示信息)用于指示第二设备在时间信息所指示的时间内关机时,第一控制命令的详细内容可以参考如下表6所示的控制命令:
表6
进一步的,上述无线发射能力可以包括射频Tx能力、WiFi发射能力和蓝牙发射能力,上述无线接收能力可以包括射频Rx能力、WiFi接收能力和蓝牙接收能力。
基于这种情况,上述第一控制命令中还可以包括用于区分无线通信能力的字段。例如,当该用于区分无线通信能力的字段(简称:能力区分字段)为000时,可以上述无线通信能力为射频能力(射频Tx能力和/或射频Rx能力);当能力区分字段为001时,可以表示上述无线通信能力包括射频能力和WiFi能力(WiFi发射能力和/或WiFi接收能力);当能力区分字段为010时,上述无线通信能力包括射频能力和蓝牙能力(蓝牙发射能力和/或蓝牙接收能力);……;当能力区分字段为100时,上述无线通信能力包括射频能力、蓝牙能力和WiFi能力。
例如,假设能力区分字段为000,以表5所示的第一控制命令为例,第一控制命令的详细内容可以参考如下表7所示的控制命令:
表7
其中,由于第一指示信息为“01”,因此表7所示的第一控制命令用于指示笔记本电脑122和平板电脑121关闭其无线发射能力和无线接收能力;并且,由于表7所示的能力区分字段为“000”,因此,可以用于指示无线发射能力和无线接收能力分别为射频Tx能力和射频Rx能力。综上所示,表7所示的第一控制命令用于指示笔记本电脑122和平板电脑121,在时间区间09:10:00-11:20:00内,关闭其射频Tx能力和射频Rx能力。
可选的,表7所示的第一控制命令还可以用于指示笔记本电脑122和平板电脑121,在11:20:01时刻,开启其射频Rx能力。
进一步的,在本发明实施例的一种应用场景中,第一设备可以在开机时向第二设备中的至少一个第二设备发送第二控制命令。具体的,在S2701之前,本发明实施例的方法还可以包括S3001,S2701可以替换为S3002。
S3001:第一设备响应于用户的第四输入,开机。
其中,第四输入可以是第一设备的开机指令。例如第四输入可以是当手机110关机后,用户对手机110的锁屏按键的长按指令。
S3002:第一设备响应于所述开机,与所述第二设备建立无线短距离通信连接,并通过无线短距离通信连接,向第二设备发送第二控制命令。
示例性的,当手机110接收到开机指令(如图30A所示,用户对手机110的锁屏按键的长按操作所触发的指令)时,手机110开机启动并显示图30B所示的开机动态界面。手机110可以在开机后与第二设备建立无线短距离通信连接,可以响应于上述开机操作,向与该手机110存在无线短距离通信连接的所有无线设备(即笔记本电脑122、平板电脑121和蓝牙手环123)发送第二控制命令。
可选的,手机110还可以响应于上述开机操作,在显示图30B所示的开机动态界面后,显示如图30C所示的“命令发送界面”3001。其中,手机110可以在显示图30C所示的“命令发送界面”3001一定时间后,显示如图30D所示的终端界面。
需要说明的是,上述S3001可以在S1701或者S1901之后执行,即在第一设备发送第一控制命令并关机后,可以执行S3001-S3002。或者,无论是否执行S1701或者S1901及其相关方法步骤,第一设备都可以在开机后执行S3002,即无论是否执行S1701或者S1901及其相关方法步骤,第一设备都可以执行S3001-S3002。
可选的,手机110还可以响应于上述开机操作,在显示图31B所示的开机动态界面后,显示如图31C所示的“控制提示界面”3101。当用户手指点击图31C所示的“控制提示界面”3101中的“否”选项3102时,手机110可以显示如图31D所示的终端界面。当用户手指点击图32所始终的“控制提示界面”3101中的“是”选项3103时,手机110可以显示如图32D所示的“无线设备控制界面”。
需要说明的是,用户通过图32D所示的“无线设备控制界面”控制手机110向第二设备发送第二控制命令的具体方法可以参考本发明实施例图10-图11中手机110发送第一控制命令的相关描述,本发明实施例这里不再详细描述。
可选的,手机110还可以响应于上述开机操作,在显示图33B所示的开机动态界面后,显示如图33C所示的“控制提示界面”3101。当用户手指点击图32所始终的“控制提示界面”3101中的“是”选项3103时,手机110可以直接显示如图33D所示的“命令发送界面”3001;而不是显示图32D所示的“无线设备控制界面”。其中,手机110可以在显示图33D所示的“命令发送界面”3001一段时间(如5秒)后,显示图31D所示的终端界面。
可选的,在本发明实施例的另一种应用场景中,第一设备还可以在用户开启第一
设备的无线通信能力(如无线发射能力)时,向第二设备发送第二控制命令。具体的,在2701之前,本发明实施例的方法还可以包括S3101,S2701可以替换为S3102。
S3101:第一设备响应于用户的第五输入,开启第一设备的无线发射能力。
S3102:第一设备响应于所述开启第一设备的无线发射能力,通过无线短距离通信连接,向第二设备发送所述第二控制命令。
需要说明的是,第一设备在用户开启第一设备的无线通信能力时,向第二设备发送第二控制命令的方法,可以参考本发明实施例中,第一设备在用户关闭第一设备的无线通信能力时,发送第一控制命令的详细描述,本发明实施例这里不再赘述。
可选的,在本发明实施例的另一种应用场景中,用户还可以通过上述第一应用,控制第一设备向第二设备发送第二控制命令。具体的,在2701之前,本发明实施例的方法还可以包括S3201-S3102,S2701可以替换为S3203。
S3201:第一设备响应于第六输入,显示第一界面,第一界面包括设备连接窗口,该设备连接窗口用于从与第一设备存在无线短距离通信连接的所有第二设备中,选择需要接收第二控制命令的设备。
其中,上述第六输入为所述第一应用的启动指令,所述第一界面是所述第一应用的显示界面。
S3202:第一设备接收用户在第一界面的第七输入,该第七输入用于确定需要接收第二控制命令的设备。
S3203:第一设备响应于第七输入,通过无线短距离通信连接,向第二设备发送第二控制命令。
需要说明的是,通过上述第一应用,控制第一设备向第二设备发送第二控制命令的方法可以参考上述对“通过第一应用,控制第一设备向第二设备发送第一控制命令”的方法的详细描述,本发明实施例这里不再赘述。
不同的是,第二控制命令中的控制动作字段可以用于指示第二设备开启其无线发射能力。例如,第二控制命令中的控制动作字段可以为“11”。基于表4所示的第一控制命令,第二控制命令的详细内容可以参考如下表8所示的控制命令:
表8
进一步的,在本发明实施例的一种应用场景中,上述设备控制方法还可以应用于如图2所示的网络架构。在图2中,手机110与平板电脑121、笔记本电脑122和蓝牙手环123分别建立了无线短距离通信连接,并且平板电脑121还与蓝牙耳机124建立了无线短距离通信连接。在这种情况下,手机110可以与平板电脑121、笔记本电脑122和蓝牙手环123交互,获取与平板电脑121、笔记本电脑122和蓝牙手环123存在无线短距离通信连接的其他设备(手机110之外的设备)的标识。
在一些实施例中,如图34所示,手机110可以通过云服务器3401向平板电脑121、笔记本电脑122和蓝牙手环123发送上述第一控制命令或者第二控制命令,然后由平板电脑121向与平板电脑121存在无线短距离通信连接的蓝牙耳机124发送上述第一控制命令或者第二控制命令。
在另一些实施例中,第一设备向第二设备发送上述第一控制命令或者第二控制命令后,该第二设备可以向与其存在无线短距离通信连接的其他设备转发该第一控制命
令或者第二控制命令。
在这些实施例中,以图2所示的网络架构为例,图6B、图7C以及上述其他相关附图所示的“无线设备控制界面”均可以替换为图35“无线设备控制界面”3501。其中,图35“无线设备控制界面”3501中,不仅可以包括与手机110存在无线短距离通信连接的平板电脑121、蓝牙手环123和笔记本电脑122的标识及其无线短距离通信连接方式,还包括与平板电脑121存在无线短距离通信连接的蓝牙耳机124的标识和蓝牙耳机124与平板电脑121的无线短距离通信连接方式(蓝牙连接)。
其中,在“总控制”方式中,当第二设备(如平板电脑121)接收到第一设备(如手机110)发送的第一控制命令或者第二控制命令后,可以向与该第二设备(如平板电脑121)存在无线短距离通信连接的第三设备(如蓝牙耳机124)转发该第一控制命令或者第二控制命令,指示第三设备执行该第一控制命令或者第二控制命令所指示的控制动作。
并且,以图2所示的网络架构为例,图13B以及上述其他相关附图所示的“无线设备选择界面”均可以替换为图36“无线设备选择界面”3601。其中,图36“无线设备选择界面”3601中,不仅可以包括与手机110存在无线短距离通信连接的平板电脑121的选项、蓝牙手环123的选项和笔记本电脑122的选项及其无线短距离通信连接方式,还包括与平板电脑121存在无线短距离通信连接的蓝牙耳机124的选项和蓝牙耳机124与平板电脑121的无线短距离通信连接方式(蓝牙连接)。
其中,在“分设备控制”方式中,如图36所示,当用户选择与任一个第二设备(如平板电脑131)存在无线短距离通信连接的第三设备(即用户选择图36所示的蓝牙耳机124的选项3602)时,第一设备向该第二设备发送的第一控制命令或者第二控制命令中可以携带转发指示信息,该转发指示信息用于指示该第二设备向与该第二设备存在无线短距离通信连接的第三设备转发该第一控制命令或者第二控制命令。当第二设备(如平板电脑131)接收到携带上述转发指示信息的第一控制命令或者第二控制命令时,可以向与该第二设备存在无线短距离通信连接的第三设备(蓝牙耳机124)转发该第一控制命令或者第二控制命令。
如果用户没有选择任一个第三设备,那么第二设备则不需要转发接收到的第一控制命令或者第二控制命令。
示例性的,上述转发指示信息可以通过第一控制命令或者第二控制命令中的一个预设字段来指示。例如,当该预设字段为“1”时,则表示第二设备需要向与该第二设备存在无线短距离通信连接的第三设备转发该第一控制命令或者第二控制命令;当该预设字段为“0”时,则表示第二设备不需要向与该第二设备存在无线短距离通信连接的第三设备转发该第一控制命令或者第二控制命令。
例如,基于表5所示的第一控制命令,第一控制命令的详细内容可以参考如下表9所示的控制命令:
表9
本发明实施例提供的设备控制方法,第一设备可以向第二设备发送第一控制命令,指示这些第二设备执行控制动作(如控制动作包括开启无线通信能力、关闭无线通信
能力、开机或者关机)。这样,便不需要用户手动控制第二设备开启无线通信能力、关闭无线通信能力、开机或者关机。并且,第一设备可以通过上述第一控制命令同时控制多个第二设备执行上述控制动作;而不需要逐一手动控制多个第二设备,可以提高控制多个无线设备执行上述控制动作的效率。并且,还可以减少由于用户忘记某个无线设备,而存在的安全隐患或者给用户带来的不便。
上述主要从第一设备与第二设备,以及第三设备交互的角度对本申请实施例提供的方案进行了介绍。可以理解的是,第一设备为了实现上述功能,其包含了执行各个功能相应的功能模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的第一设备及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例提供第一设备用以实现上述各方法实施例,具体的,可以根据上述方法示例对第一设备进行划分,例如,可以对应各个功能划分各个模块或者单元,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件模块或者单元的形式实现。其中,本申请实施例中对模块或者单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
图37示出了上述实施例中所涉及的第一设备的一种可能的结构示意图。如图37所示,该第一设备3700可以包括:建立模块3701和发送模块3702。
其中,建立模块3701用于支持方法实施例中的S401,和/或用于本文所描述的技术的其它过程。发送模块3702用于支持方法实施例中的S402、S504、S1902、S2502、S2701、S3102、S3203,和/或用于本文所描述的技术的其它过程。
进一步的,如图38所示,上述第一设备3700还可以包括:显示模块3703。该显示模块3703,用于支持方法实施例中的S501、S502、S1701、S1903、S3201,和/或用于本文所描述的技术的其它过程。
进一步的,上述第一设备3700还可以包括:控制模块。该控制模块,用于支持方法实施例中的S2401、S2503、S3101,和/或用于本文所描述的技术的其它过程。
进一步的,上述第一设备3700还可以包括:存储模块。该存储模块,用于保存一个或多个第二设备的图标、第一界面、第二界面等,和/或用于本文所描述的技术的其它过程。
当然,第一设备3700包括但不限于上述所列举的单元模块,例如,第一设备3700还可以包括用于接收其他设备(如第二设备)发送数据或者信号的接收模块。并且,上述模块的具体所能够实现的功能也包括但不限于上述实例所述的方法步骤对应的功能,第一设备3700的其他单元以及第一设备3700的各个单元详细描述可以参考其所对应方法步骤的详细描述,本申请实施例这里不再赘述。
在采用集成的单元的情况下,上述建立模块3701和控制模块等可以集成在一个处理单元中实现,该处理单元可以是处理器或控制器,例如可以是CPU,图形处理器(Graphics Processing Unit,GPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种举例说明逻辑方框,模块和电路。所述处理单元也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。上述存储
模块可以是存储器。
当所述处理单元为处理器,存储模块为存储器时,本申请实施例所涉及的第一设备3700可以为图39所示的第一设备3900。如图39所示,该第一设备3900包括:处理器3901、通信接口3902、显示器3903和存储器3904。
其中,处理器3901、通信接口3902、显示器3903和存储器3904通过总线3905相互连接。其中,通信接口3902用于通过无线短距离通信连接与第二设备通信,所述显示器3903用于显示处理器生成的显示界面。所述存储器3904用于存储计算机程序代码,所述计算机程序代码包括指令,当所述处理器3901执行所述指令时,所述第一设备执行如图4、图5、图17、图19、图24、图25、图27、图28和图29中任一附图所示的设备控制方法。
其中,总线3905可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。所述总线3905可以分为地址总线、数据总线、控制总线等。为便于表示,图39中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
可选的,本申请提供的第一设备3900可以包括一个或多个处理器3901。
本发明实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机程序代码,当第一设备3900的一个或多个处理器3901执行该计算机程序代码时,该第一设备3900执行图4、图5、图17、图19、图24、图25、图27、图28和图29中任一附图中的相关方法步骤实现上述实施例中的设备控制方法。
本发明实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行图4、图5、图17、图19、图24、图25、图27、图28和图29中任一附图中的第一设备对应的相关方法步骤实现上述实施例中的设备控制方法。
其中,本发明实施例提供的第一设备3700、第一设备3900、计算机存储介质或者计算机程序产品均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
图40示出了上述实施例中所涉及的第二设备的一种可能的结构示意图。如图40所示,该第二设备4000可以包括:建立模块4001、接收模块4002和控制模块4003。
其中,建立模块4001用于支持方法实施例中的S401中“第二设备与第一设备建立无线短距离通信连接”的操作,和/或用于本文所描述的技术的其它过程。接收模块4002用于支持方法实施例中的S403、S2702,和/或用于本文所描述的技术的其它过程。控制模块4003用于支持方法实施例中的S404、S404a、S2703、S404b、S2801、S404c、S2901,和/或用于本文所描述的技术的其它过程。
进一步的,上述第二设备4000还可以包括:发送模块4002。发送模块4002可以用于向第三设备发送第一控制命令或者第二控制命令。
当然,第二设备4000包括但不限于上述所列举的单元模块。并且,上述模块的具体所能够实现的功能也包括但不限于上述实例所述的方法步骤对应的功能,第二设备4000的其他单元以及第二设备4000的各个单元详细描述可以参考其所对应方法步骤的详细描述,本申请实施例这里不再赘述。
在采用集成的单元的情况下,上述建立模块4001和控制模块4003等可以集成在一个处理单元中实现,该处理单元可以是处理器或控制器,例如可以是CPU,GPU,通用处理器,DSP,ASIC,FPGA或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种举例说明逻辑方框,模块和电路。所述处理单元也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。上述存储模块可以是存储器。
当所述处理单元为处理器,存储模块为存储器时,本申请实施例所涉及的第二设备4000可以为图41所示的第二设备4101。如图41所示,该第二设备4101包括:处理器4101、通信接口4102和存储器4103。
其中,处理器4101、通信接口4102和存储器4103通过总线4104相互连接。其中,通信接口4102用于通过无线短距离通信连接与第二设备通信。所述存储器4103用于存储计算机程序代码,所述计算机程序代码包括指令,当所述处理器4101执行所述指令时,所述第二设备执行如图4、图5、图17、图19、图24、图25、图27、图28和图29中任一附图所示的设备控制方法。
其中,总线4104可以是PCI总线或EISA总线等。所述总线3905可以分为地址总线、数据总线、控制总线等。为便于表示,图41中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
可选的,本申请提供的第二设备4100可以包括一个或多个处理器4101。
本发明实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机程序代码,当第二设备4101的一个或多个处理器4101执行该计算机程序代码时,该第二设备4101执行图4、图5、图17、图19、图24、图25、图27、图28和图29中任一附图中的相关方法步骤实现上述实施例中的设备控制方法。
本发明实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行图4、图5、图17、图19、图24、图25、图27、图28和图29中任一附图中的第二设备对应的相关方法步骤实现上述实施例中的设备控制方法。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的
介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。
Claims (34)
- 一种设备控制方法,其特征在于,所述方法包括:第一设备与第二设备建立无线短距离通信连接;所述第一设备通过所述无线短距离通信连接,向所述第二设备发送第一控制命令,所述第一控制命令用于指示所述第二设备执行控制动作,所述控制动作包括开启无线通信能力、关闭无线通信能力、开机或者关机;其中,所述无线通信能力包括无线发射能力,或者所述无线通信能力包括无线发射能力和无线接收能力。
- 根据权利要求1所述的方法,其特征在于,在所述第一设备通过所述无线短距离通信连接向所述第二设备发送第一控制命令之前,所述方法还包括:所述第一设备响应于用户的第一输入,显示第一界面,所述第一界面包括设备连接窗口,所述设备连接窗口中包括与所述第一设备存在所述无线短距离通信连接的设备的标识。
- 根据权利要求1或2所述的方法,其特征在于,在所述第一设备通过所述无线短距离通信连接,向所述第二设备发送第一控制命令之前,所述方法还包括:显示第二界面,所述第二界面包括选择窗口,所述选择窗口用于设置所述第一控制命令中的指示信息,所述指示信息用于指示所述第二设备所要执行的控制动作。
- 根据权利要求3所述的方法,其特征在于,所述第二界面还包括时间窗口,所述时间窗口中输入的时间信息,用于指示所述第二设备执行所述控制动作的时间。
- 根据权利要求2-4中任一项所述的方法,其特征在于,所述第一输入还用于指示所述第一设备关机,在所述通过所述无线短距离通信连接,向所述第二设备发送所述第一控制命令之后,所述方法还包括:所述第一设备显示关机界面;或者,所述第一输入还用于指示所述第一设备关闭所述第一设备的无线通信能力,在所述通过所述无线短距离通信连接,向所述第二设备发送所述第一控制命令之后,所述方法还包括:所述第一设备关闭所述第一设备的无线通信能力,并显示第三界面,所述第三界面中包括所述第一设备的无线通信能力已关闭的指示信息;或者,所述第一输入是所述第一应用的启动指令,所述第一界面是所述第一应用的显示界面。
- 根据权利要求4或5所述的方法,其特征在于,所述时间信息包括第一时间和第二时间;所述第一控制命令用于指示所述第二设备在所述第一时间关机,在所述第二时间开机。
- 根据权利要求6所述的方法,其特征在于,所述第一控制命令用于指示所述第二设备在所述第二时间开机并关闭无线通信能力。
- 根据权利要求4或5所述的方法,其特征在于,所述时间信息包括第一时间和第二时间;所述第一控制命令用于指示所述第二设备在所述第一时间关闭无线通信能力,在所述第二时间开启无线通信能力。
- 根据权利要求1-8中任一项所述的方法,其特征在于,所述第一控制命令还用于指示与所述第二设备存在无线短距离通信连接的第三设备,执行所述控制动作。
- 根据权利要求1-9中任一项所述的方法,其特征在于,所述无线发射能力包括射频发射Tx能力、无线保真WiFi发射能力和蓝牙发射能力中的一项或者多项;所述无线接收能力包括射频接收Rx能力、WiFi接收能力和蓝牙接收能力中的一项或者多项。
- 一种设备控制方法,其特征在于,所述方法包括:第二设备与第一设备建立无线短距离通信连接;所述第二设备通过所述无线短距离通信连接,接收所述第一设备发送的第一控制命令;所述第二设备根据所述第一控制命令的指示,执行控制动作,所述控制动作包括开启无线通信能力、关闭无线通信能力、开机或者关机;其中,所述无线通信能力包括无线发射能力,或者所述无线通信能力包括无线发射能力和无线接收能力。
- 根据权利要求11所述的方法,其特征在于,所述第一控制命令还携带有时间信息,所述时间信息用于指示所述第二设备执行所述控制动作的时间。
- 根据权利要求12所述的方法,其特征在于,所述时间信息包括第一时间和第二时间;所述第二设备根据所述第一控制命令在所述第一时间关机,在所述第二时间开机。
- 根据权利要求13所述的方法,其特征在于,所述第二设备根据所述第一控制命令在所述第二时间开机并关闭无线通信能力。
- 根据权利要求12所述的方法,其特征在于,所述时间信息包括第一时间和第二时间;所述第二设备根据所述第一控制命令在所述第一时间关闭无线通信能力,在所述第二时间开启无线通信能力。
- 一种第一设备,其特征在于,所述第一设备包括:建立模块,用于与第二设备建立无线短距离通信连接;发送模块,用于通过所述建立模块建立的所述无线短距离通信连接,向所述第二设备发送第一控制命令,所述第一控制命令用于指示所述第二设备执行控制动作,所述控制动作包括开启无线通信能力、关闭无线通信能力、开机或者关机;其中,所述无线通信能力包括无线发射能力,或者所述无线通信能力包括无线发射能力和无线接收能力。
- 根据权利要求16所述的第一设备,其特征在于,所述第一设备还包括:显示模块,用于在所述发送模块通过所述无线短距离通信连接向所述第二设备发送第一控制命令之前,响应于用户的第一输入,显示第一界面,所述第一界面包括设备连接窗口,所述设备连接窗口中包括与所述第一设备存在所述无线短距离通信连接的设备的标识。
- 根据权利要求16或17所述的第一设备,其特征在于,显示模块,用于在所述发送模块通过所述无线短距离通信连接,向所述第二设备发送第一控制命令之前,显示第二界面,所述第二界面包括选择窗口,所述选择窗口用于设置所述第一控制命令中的指示信息,所述指示信息用于指示所述第二设备所要执行的控制动作。
- 根据权利要求18所述的第一设备,其特征在于,所述第二界面还包括时间窗口,所述时间窗口中输入的时间信息,用于指示所述第二设备执行所述控制动作的时间。
- 根据权利要求17-19中任一项所述的第一设备,其特征在于,所述第一输入还用于指示所述第一设备关机,显示模块,用于在所述发送模块通过所述无线短距离通信连接,向所述第二设备发送所述第一控制命令之后,显示关机界面;或者,所述第一输入还用于指示所述第一设备关闭所述第一设备的无线通信能力,所述第一设备还包括:控制模块,用于在所述发送模块通过所述无线短距离通信连接,向所述第二设备发送所述第一控制命令之后,关闭所述第一设备的无线通信能力,显示模块,用于在所述发送模块通过所述无线短距离通信连接,向所述第二设备发送所述第一控制命令之后,显示第三界面,所述第三界面中包括所述第一设备的无线通信能力已关闭的指示信息;或者,所述第一输入是所述第一应用的启动指令,所述第一界面是所述第一应用的显示界面。
- 根据权利要求19或20所述的第一设备,其特征在于,所述时间信息包括第一时间和第二时间;所述第一控制命令用于指示所述第二设备在所述第一时间关机,在所述第二时间开机。
- 根据权利要求21所述的第一设备,其特征在于,所述第一控制命令用于指示所述第二设备在所述第二时间开机并关闭无线通信能力。
- 根据权利要19或20所述的第一设备,其特征在于,所述时间信息包括第一时间和第二时间;所述第一控制命令用于指示所述第二设备在所述第一时间关闭无线通信能力,在所述第二时间开启无线通信能力。
- 根据权利要求16-23中任一项所述的第一设备,其特征在于,所述第一控制命令还用于指示与所述第二设备存在无线短距离通信连接的第三设备,执行所述控制动作。
- 根据权利要求16-24中任一项所述的第一设备,其特征在于,所述无线发射能力包括射频发射Tx能力、无线保真WiFi发射能力和蓝牙发射能力中的一项或者多项;所述无线接收能力包括射频接收Rx能力、WiFi接收能力和蓝牙接收能力中的一项或者多项。
- 一种第二设备,其特征在于,所述方法包括:建立模块,用于与第一设备建立无线短距离通信连接;接收模块,用于通过所述建立模块建立的所述无线短距离通信连接,接收所述第一设备发送的第一控制命令;控制模块,用于根据所述接收模块接收的所述第一控制命令的指示,执行控制动作,所述控制动作包括开启无线通信能力、关闭无线通信能力、开机或者关机;其中,所述无线通信能力包括无线发射能力,或者所述无线通信能力包括无线发射能力和无线接收能力。
- 根据权利要求26所述的第二设备,其特征在于,所述第一控制命令还携带有时间信息,所述时间信息用于指示所述第二设备执行所述控制动作的时间。
- 根据权利要求27所述的第二设备,其特征在于,所述时间信息包括第一时间和第二时间;所述控制模块,具体用于根据所述第一控制命令在所述第一时间关机,在所述第二时间开机。
- 根据权利要求28所述的第二设备,其特征在于,所述控制模块,具体用于根据所述第一控制命令在所述第二时间开机并关闭无线通信能力。
- 根据权利要求29所述的第二设备,其特征在于,所述时间信息包括第一时间和第二时间;所述控制模块,具体用于根据所述第一控制命令在所述第一时间关闭无线通信能力,在所述第二时间开启无线通信能力。
- 一种第一设备,其特征在于,包括:处理器、通信接口、显示器和存储器;所述处理器、所述通信接口、所述显示器和所述存储器通过总线相连,所述通信接口用于通过无线短距离通信连接与第二设备通信,所述显示器用于显示处理器生成的显示界面,所述存储器用于存储计算机程序代码,所述计算机程序代码包括指令,当所述处理器执行所述指令时,所述第一设备执行如权利要求1-10中任一项所述的设备控制方法。
- 一种第二设备,其特征在于,包括:处理器、通信接口和存储器;所述处理器、所述通信接口、和所述存储器通过总线相连,所述通信接口用于通过无线短距离通信连接与第二设备通信,所述存储器用于存储计算机程序代码,所述计算机程序代码包括指令,当所述处理器执行所述指令时,所述第二设备执行如权利要求11-15中任一项所述的设备控制方法。
- 一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在第一设备上运行时,使得所述终端执行如权利要求1-10中任一项所述的设备控制方法或者11-15中任一项所述的设备控制方法。
- 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-10中任一项所述的设备控制方法或者11-15中任一项所述的设备控制方法。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP17914102.3A EP3624552B1 (en) | 2017-06-16 | 2017-06-16 | Device control method and device |
PCT/CN2017/088813 WO2018227633A1 (zh) | 2017-06-16 | 2017-06-16 | 一种设备控制方法及设备 |
CN201780008295.9A CN108702415A (zh) | 2017-06-16 | 2017-06-16 | 一种设备控制方法及设备 |
US16/622,528 US11212657B2 (en) | 2017-06-16 | 2017-06-16 | Device control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/088813 WO2018227633A1 (zh) | 2017-06-16 | 2017-06-16 | 一种设备控制方法及设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018227633A1 true WO2018227633A1 (zh) | 2018-12-20 |
Family
ID=63843798
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/088813 WO2018227633A1 (zh) | 2017-06-16 | 2017-06-16 | 一种设备控制方法及设备 |
Country Status (4)
Country | Link |
---|---|
US (1) | US11212657B2 (zh) |
EP (1) | EP3624552B1 (zh) |
CN (1) | CN108702415A (zh) |
WO (1) | WO2018227633A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112954602A (zh) * | 2021-04-28 | 2021-06-11 | 北京声智科技有限公司 | 语音控制方法、传输方法、装置、电子设备及存储介质 |
EP4068063A4 (en) * | 2020-01-16 | 2023-01-25 | Huawei Technologies Co., Ltd. | DATA TRANSMISSION METHOD AND MOBILE DEVICE |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10902287B2 (en) * | 2018-09-17 | 2021-01-26 | At&T Intellectual Property I, L.P. | Data harvesting for machine learning model training |
CN110502882A (zh) * | 2019-07-31 | 2019-11-26 | 联想(北京)有限公司 | 一种控制方法及电子设备 |
KR20210014890A (ko) * | 2019-07-31 | 2021-02-10 | 삼성전자주식회사 | 전자 장치 및 전자 장치에서 저전력 기반 통신 연결 방법 |
CN114205546B (zh) * | 2020-09-18 | 2023-05-05 | 华为终端有限公司 | 一种设备控制系统 |
CN112291598A (zh) * | 2020-10-14 | 2021-01-29 | 青岛海信传媒网络技术有限公司 | 一种显示设备功能控制方法及显示设备 |
EP4030741A1 (en) * | 2021-01-15 | 2022-07-20 | Sony Group Corporation | Operating a portable electronic device to detect airplane flight events |
CN112866983B (zh) * | 2021-01-19 | 2024-01-12 | 维沃移动通信有限公司 | 控制方法、控制装置以及电子设备 |
CN113050494A (zh) * | 2021-03-22 | 2021-06-29 | 江苏博田机器人有限公司 | 电动设备的启动控制系统、方法及装置 |
US20230029604A1 (en) * | 2021-07-28 | 2023-02-02 | Johnson Controls Tyco IP Holdings LLP | Radio frequency protocol for a security / automation system |
CN113784454A (zh) * | 2021-09-10 | 2021-12-10 | 深圳思为科技有限公司 | 一种保持蓝牙连接的方法及装置 |
US12101428B2 (en) * | 2024-01-10 | 2024-09-24 | Max E. Kaplan | Proximity based operating of a mobile computing device using another mobile computing device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101227199A (zh) * | 2008-02-02 | 2008-07-23 | 宇龙计算机通信科技(深圳)有限公司 | 一种监控手机状态的装置及方法 |
CN101374310A (zh) * | 2008-10-07 | 2009-02-25 | 深圳华为通信技术有限公司 | 一种通信方法、移动终端及移动终端系统 |
CN101478595A (zh) * | 2008-09-08 | 2009-07-08 | 广东南方信息安全产业基地有限公司 | 移动通信终端数据保护方法 |
US20110081859A1 (en) * | 2009-10-06 | 2011-04-07 | Lg Electronics Inc. | Mobile terminal capable of being connected to audio output device using short-range communication and method of controlling the operation of the mobile terminal |
CN102833422A (zh) * | 2012-09-18 | 2012-12-19 | 中国人民解放军总参谋部第五十四研究所 | 一种移动智能终端基于短信控制的长命令系统 |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006067488A (ja) * | 2004-08-30 | 2006-03-09 | Mitsubishi Electric Corp | 携帯通信端末 |
US7987378B2 (en) * | 2007-01-05 | 2011-07-26 | Apple Inc. | Automatic power-off of bluetooth device from linked device |
CN101827317A (zh) | 2009-09-07 | 2010-09-08 | 上海银贵网络科技服务有限公司 | 一种通过移动终端寻找目标对象的控制方法以及控制装置 |
WO2013058423A1 (ko) * | 2011-10-21 | 2013-04-25 | 엘지전자 주식회사 | 전자기기 및 전자기기의 동작 방법 |
WO2015030783A1 (en) * | 2013-08-29 | 2015-03-05 | Bodhi Technology Ventures Llc | Multi-device wireless disable and enable |
KR102052809B1 (ko) * | 2015-05-04 | 2019-12-05 | 밀워키 일렉트릭 툴 코포레이션 | 전동 공구 및 무선 통신 방법 |
CN105182777A (zh) | 2015-09-18 | 2015-12-23 | 小米科技有限责任公司 | 设备控制方法及装置 |
CN110268805B (zh) * | 2016-10-21 | 2022-07-19 | 路创技术有限责任公司 | 控制电负载组的负载控制系统 |
CN106658560B (zh) | 2016-11-10 | 2020-08-14 | 广东美的暖通设备有限公司 | 设备无线网络配置的识别方法及装置 |
WO2018107593A1 (zh) * | 2016-12-12 | 2018-06-21 | 华为技术有限公司 | 一种在不同终端间共享文件的方法及设备 |
-
2017
- 2017-06-16 US US16/622,528 patent/US11212657B2/en active Active
- 2017-06-16 CN CN201780008295.9A patent/CN108702415A/zh active Pending
- 2017-06-16 WO PCT/CN2017/088813 patent/WO2018227633A1/zh unknown
- 2017-06-16 EP EP17914102.3A patent/EP3624552B1/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101227199A (zh) * | 2008-02-02 | 2008-07-23 | 宇龙计算机通信科技(深圳)有限公司 | 一种监控手机状态的装置及方法 |
CN101478595A (zh) * | 2008-09-08 | 2009-07-08 | 广东南方信息安全产业基地有限公司 | 移动通信终端数据保护方法 |
CN101374310A (zh) * | 2008-10-07 | 2009-02-25 | 深圳华为通信技术有限公司 | 一种通信方法、移动终端及移动终端系统 |
US20110081859A1 (en) * | 2009-10-06 | 2011-04-07 | Lg Electronics Inc. | Mobile terminal capable of being connected to audio output device using short-range communication and method of controlling the operation of the mobile terminal |
CN102833422A (zh) * | 2012-09-18 | 2012-12-19 | 中国人民解放军总参谋部第五十四研究所 | 一种移动智能终端基于短信控制的长命令系统 |
Non-Patent Citations (1)
Title |
---|
See also references of EP3624552A4 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP4068063A4 (en) * | 2020-01-16 | 2023-01-25 | Huawei Technologies Co., Ltd. | DATA TRANSMISSION METHOD AND MOBILE DEVICE |
CN112954602A (zh) * | 2021-04-28 | 2021-06-11 | 北京声智科技有限公司 | 语音控制方法、传输方法、装置、电子设备及存储介质 |
CN112954602B (zh) * | 2021-04-28 | 2022-11-29 | 北京声智科技有限公司 | 语音控制方法、传输方法、装置、电子设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
US20200213830A1 (en) | 2020-07-02 |
EP3624552A1 (en) | 2020-03-18 |
CN108702415A (zh) | 2018-10-23 |
EP3624552A4 (en) | 2020-04-29 |
US11212657B2 (en) | 2021-12-28 |
EP3624552B1 (en) | 2022-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018227633A1 (zh) | 一种设备控制方法及设备 | |
AU2021201059B2 (en) | Coordination of message alert presentations across devices based on device modes | |
US10958776B2 (en) | Method and apparatus for interworking between electronic devices | |
CN110286865B (zh) | 一种触摸屏的显示方法及电子设备 | |
CN112947823B (zh) | 会话处理方法、装置、设备及存储介质 | |
US10299210B2 (en) | Method and apparatus for reducing power consumption of electronic device | |
AU2018421189B2 (en) | Method for quickly opening application or application function, and terminal | |
US20200413120A1 (en) | Method of controlling the sharing of videos and electronic device adapted thereto | |
KR102488374B1 (ko) | 전자 장치, 액세서리 장치 및 이를 이용한 정보 표시 방법 | |
US11227042B2 (en) | Screen unlocking method and apparatus, and storage medium | |
CN111447074A (zh) | 群组会话中的提醒方法、装置、设备及介质 | |
CN111614549B (zh) | 交互处理方法、装置、计算机设备及存储介质 | |
WO2022227623A1 (zh) | 显示发布进度的方法及电子设备 | |
WO2019000411A1 (zh) | 一种无线通信连接建立的方法及设备 | |
CN108777859A (zh) | 移动终端与穿戴设备间的数据处理方法、终端及存储介质 | |
WO2018161353A1 (zh) | 一种分享照片的方法和装置 | |
EP4132122B1 (en) | Power optimization method and electronic device | |
CN104954149A (zh) | 网络会议中进行数据共享的方法、装置及系统 | |
WO2018233631A1 (zh) | 一种终端设备的控制方法、存储介质及终端设备 | |
WO2021244118A1 (zh) | 智能卡分享方法、电子设备及计算机可读存储介质 | |
WO2018227825A1 (zh) | 一种屏幕锁定方法及装置 | |
CN111083285A (zh) | 一种移动终端通话定位系统和方法 | |
CN110764808B (zh) | 客户端升级检测方法、装置和计算机可读存储介质 | |
CN109857536B (zh) | 多任务显示方法、系统、移动终端及存储介质 | |
US20150215465A1 (en) | Communication message management method and electronic device supporting the same |
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: 17914102 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2017914102 Country of ref document: EP Effective date: 20191210 |