WO2022002211A1 - Cross-device control method, apparatus, and system - Google Patents

Cross-device control method, apparatus, and system Download PDF

Info

Publication number
WO2022002211A1
WO2022002211A1 PCT/CN2021/104067 CN2021104067W WO2022002211A1 WO 2022002211 A1 WO2022002211 A1 WO 2022002211A1 CN 2021104067 W CN2021104067 W CN 2021104067W WO 2022002211 A1 WO2022002211 A1 WO 2022002211A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
interface
operation interface
user
control
Prior art date
Application number
PCT/CN2021/104067
Other languages
French (fr)
Chinese (zh)
Inventor
牛亮
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022002211A1 publication Critical patent/WO2022002211A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/281Exchanging configuration information on appliance services in a home automation network indicating a format for calling an appliance service function in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network

Definitions

  • the present application relates to the field of smart home technology, and in particular, to a cross-device control method, device, and system.
  • electronic devices can touch other electronic devices (for example, smart speakers) in the smart home, so as to quickly establish connections with other electronic devices, so that electronic devices can be linked with other electronic devices, for example,
  • the electronic device can be connected with the smart speaker, and the music of the electronic device can be played through the smart speaker.
  • the electronic device can search for and establish a near field communication (NFC) connection with the smart speakers, and then Play the music that the electronic device is currently playing through the smart speaker.
  • NFC near field communication
  • the electronic device runs an application program corresponding to the other electronic device, and the subsequent electronic device can control other electronic devices through the running application program according to the interface shown in Figure 1. equipment, resulting in a more complicated process for electronic equipment to control other electronic equipment.
  • the embodiments of the present application provide a cross-device control method, device, and system, which can solve the problem that the electronic device controls the smart home device in a complicated process.
  • an embodiment of the present application provides a cross-device control method, including:
  • a first area of a display interface of an electronic device displays an operation interface, and the operation interface is an interface corresponding to the second electronic device;
  • the first electronic device controls the second electronic device to perform an operation corresponding to the operation instruction.
  • the first electronic device controls the second electronic device to perform the operation corresponding to the operation instruction, including:
  • the first electronic device sends a control instruction to the second electronic device through a server in communication with the second electronic device, where the control instruction is used to instruct the second electronic device to perform an operation corresponding to the operation instruction.
  • the The method before the operation interface is displayed in the first area of the display interface of the first electronic device, the The method also includes:
  • the first electronic device determines device description information of the second electronic device
  • the first electronic device determines the operation interface according to the device description information.
  • the first electronic device displays on the display of the first electronic device
  • the first area of the interface displays the operation interface, including:
  • the first electronic device determines an application service of the second electronic device according to the device description information, where the application service is used to determine the operation interface;
  • the operation interface is displayed in the first area of the display interface of the first electronic device.
  • the first electronic device determines the application of the second electronic device according to the device description information Services, including:
  • the first electronic device sends a request message to the server, where the request message is used to request an application service corresponding to the second electronic device;
  • the first electronic device receives the application service from the server.
  • the method before the first electronic device determines the device description information of the second electronic device, the method further includes :
  • the first electronic device In response to a user-triggered tap operation on the first electronic device or the second electronic device, the first electronic device establishes a proximity communication connection with the second electronic device.
  • the short-range communication connection between the first electronic device and the second electronic device includes: One or more of a Near Field Communication NFC connection, a Bluetooth connection or a Wi-Fi network connection.
  • the first electronic device in response to an operation instruction triggered by a user on the operation interface, controls After the second electronic device performs the operation corresponding to the operation instruction, the method further includes:
  • the first electronic device updates the content displayed on the operation interface according to the feedback result.
  • an embodiment of the present application provides a cross-device control device, including:
  • a display module used for responding to a touch operation triggered by a user on the first electronic device or the second electronic device when the distance between the first electronic device and the second electronic device satisfies a preset range condition , displaying an operation interface in the first area of the display interface of the first electronic device, where the operation interface is an interface corresponding to the second electronic device;
  • the communication module is configured to control the second electronic device to perform the operation corresponding to the operation instruction in response to the operation instruction triggered by the user on the operation interface.
  • the communication module is further configured to send a control instruction to the second electronic device through a server that communicates with the second electronic device, where the control instruction is used for The second electronic device is instructed to perform the operation corresponding to the operation instruction.
  • the apparatus further includes:
  • a service execution module configured to determine the device description information of the second electronic device
  • the service execution module is further configured to determine the operation interface according to the device description information.
  • the service execution module is further configured to determine the second electronic device according to the device description information an application service of the device, where the application service is used to determine the operation interface;
  • the display module is further configured to display the operation interface in the first area of the display interface of the first electronic device after determining the operation interface according to the application service.
  • the communication module is further configured to send a request message to the server, where the request message is used to request all the application service corresponding to the second electronic device;
  • the communication module is further configured to receive the application service from the server.
  • the communication module is further configured to The touch operation triggered by the second electronic device establishes a short-range communication connection with the second electronic device.
  • the short-range communication connection between the first electronic device and the second electronic device includes: One or more of a Near Field Communication NFC connection, a Bluetooth connection or a Wi-Fi network connection.
  • the communication module is further configured to receive an operation instruction from the second electronic device feedback results
  • the display module is further configured to update the content displayed on the operation interface according to the feedback result.
  • an embodiment of the present application provides a cross-device control system, including: a first electronic device, a server, and a second electronic device;
  • the first electronic device When the distance between the first electronic device and the second electronic device satisfies the preset range condition, the first electronic device responds to a touch triggered by the user on the first electronic device or the second electronic device operation, displaying an operation interface in the first area of the display interface of the first electronic device, and the operation interface is an interface corresponding to the second electronic device;
  • the first electronic device sends a control instruction to the server in response to an operation instruction triggered on the operation interface, where the control instruction is used to instruct the second electronic device to perform an operation corresponding to the operation instruction;
  • the server forwards the control instruction to the second electronic device
  • the second electronic device executes the operation corresponding to the operation instruction according to the control instruction.
  • an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, when the processor executes the computer program
  • the cross-device control method according to any one of the above first aspects is implemented.
  • an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any one of the above-mentioned first aspects is implemented.
  • the described cross-device control method is described.
  • an embodiment of the present application provides a computer program product that, when the computer program product runs on an electronic device, enables the electronic device to execute the cross-device control method described in any one of the first aspects above.
  • an embodiment of the present application provides a chip system, the chip system includes a memory and a processor, and the processor executes a computer program stored in the memory to implement any one of the first aspects above The described cross-device control method.
  • the chip system may be a single chip or a chip module composed of multiple chips.
  • the first electronic device when the distance between the first electronic device and the second electronic device satisfies the preset range condition, in response to a touch triggered by the user on the first electronic device or the second electronic device operation, display the operation interface corresponding to the second electronic device in the first area of the display interface of the first electronic device, and in response to the operation instruction triggered by the user on the operation interface, the first electronic device can control the second electronic device to execute the corresponding operation instruction. Operation, compared with the control of the second electronic device by the first electronic device after running the application program corresponding to the second electronic device, the present application can utilize the displayed information of the first electronic device without the application program corresponding to the second electronic device.
  • the control interface realizes the control of the second electronic device based on the operation instructions triggered by the user on the control interface, thus reducing the flow of the first electronic device controlling the second electronic device and improving the efficiency of the first electronic device controlling the second electronic device and flexibility.
  • FIG. 1 is a schematic interface diagram of an electronic device running an application program corresponding to other electronic devices in the prior art provided by an embodiment of the present application;
  • FIG. 2 is a schematic diagram of a system architecture to which a cross-device control method provided by an embodiment of the present application is applicable;
  • FIG. 3 is a schematic diagram of a system architecture to which another cross-device control method provided by an embodiment of the present application is applicable;
  • FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of a cross-device control method provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a first electronic device displaying an operation interface provided by an embodiment of the present application.
  • FIG. 7 is a schematic flowchart of displaying an operation interface in a first area of a display interface of a first electronic device according to an embodiment of the present application
  • FIG. 8 is a software architecture diagram of a first electronic device provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a smart audio and an operation interface provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of an air conditioner and an operation interface provided by an embodiment of the present application.
  • 11a is a schematic diagram of an operation interface when a song is cut provided by an embodiment of the present application.
  • 11b is a schematic diagram of an operation interface when another song cutting provided by an embodiment of the present application.
  • FIG. 12 is a structural block diagram of a cross-device control device provided by an embodiment of the present application.
  • FIG. 13 is a structural block diagram of another cross-device control apparatus provided by an embodiment of the present application.
  • FIG. 14 is a structural block diagram of another cross-device control apparatus provided by an embodiment of the present application.
  • the cross-device control method provided by the embodiments of the present application can be applied to mobile phones, tablet computers, wearable devices, notebook computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (personal digital assistants, etc.) PDA) and other electronic devices, the embodiments of the present application do not impose any restrictions on the specific types of the electronic devices.
  • UMPCs ultra-mobile personal computers
  • PDA personal digital assistants
  • the wearable device may also be a general term for the intelligent design of daily wear and the development of wearable devices by applying wearable technology, such as glasses, gloves, Watches, clothing and shoes, etc.
  • a wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories. Wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction, and cloud interaction.
  • wearable smart devices include full-featured, large-scale, complete or partial functions without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, which needs to be used in conjunction with other devices such as smart phones. , such as various types of smart bracelets and smart jewelry that monitor physical signs.
  • FIG. 2 is a schematic diagram of a system architecture applicable to a cross-device control method provided by an embodiment of the present application.
  • the system architecture may include: a first electronic device 10 , a server 20 , and a second electronic device 30 .
  • the server 20 has connections with the first electronic device 10 and the second electronic device 30 respectively, and both the first electronic device 10 and the second electronic device 30 can perform data interaction with the server 20 .
  • the near field communication connection between the first electronic device and the second electronic device may include one or more of a near field communication (NFC) connection, a Bluetooth connection, or a Wi-Fi network connection.
  • the first electronic device 10 in the embodiment of the present application may display an operation interface of the second electronic device 30 .
  • the first electronic device 10 may also send a control instruction to the second electronic device 30 based on the user's operation on the operation interface.
  • the first electronic device 10 can send a control instruction to the second electronic device 30 through the server 20 .
  • the control instruction sent by the first electronic device 10 to the second electronic device 30 may not need to be relayed through the server 20 .
  • the server 20 has registration information of the second electronic device and application services corresponding to the second electronic device.
  • the first electronic device 10 may request the application service from the server 20, and display the operation interface of the second electronic device 30 on the first electronic device 10 according to the application service.
  • FIG. 3 is a schematic diagram of a system architecture to which another cross-device control method provided by an embodiment of the present application is applicable.
  • the system architecture may include: a mobile phone 310 , a server 320 and a smart speaker 330 .
  • the mobile phone 310 may include: a display module, a user operation module, a service execution module and a communication module.
  • the display module is used to display the interface of the mobile phone 310 and the operation interface used to control the smart speaker 330
  • the user operation module is used to detect the control operation triggered by the user operation interface
  • the service execution module is used to control the mobile phone 310 to perform the action of displaying and updating the operation interface
  • the communication module is used for data interaction with the server 320 and the smart speaker 330 .
  • the smart speaker 330 may include: a user operation module, a service execution module and a communication module.
  • the user operation module is used to detect the operation triggered by the user on the smart speaker 330
  • the service execution module is used to execute the corresponding operation according to the operation triggered by the user or the instruction sent by the server 320
  • the communication module is used to carry out the operation with the mobile phone 310 or the server 320 . Data interaction.
  • the first electronic device is a mobile phone 310 and the second electronic device is a smart speaker.
  • the second electronic device may also be a TV, a smart lamp, a smart soymilk maker, an air conditioner, or other electronic devices, and the embodiments of the present application do not limit the first electronic device and the second electronic device.
  • the second electronic device may or may not have a display screen, but regardless of whether the second electronic device has a display screen, the user can manage the second electronic device with the help of the display screen of the first electronic device.
  • FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device 400 may be a desktop, laptop, tablet, or handheld computer, and may also correspond to computing devices such as cellular telephones, PDAs, dedicated media players, consumer electronic devices, and the like.
  • the electronic device may be the above-mentioned first electronic device, or may be the second electronic device, which is not limited in this application.
  • the electronic device 400 includes:
  • a processor that controls the receipt and manipulation of input and output data between components of the electronic device's operating system.
  • the processor is used to determine the application service corresponding to the second electronic device.
  • the communication module is used to connect the electronic device 400 to the Internet and perform data communication with the server deployed on the Internet.
  • the data interaction between the application service and the server is through the communication module.
  • the communication module is used to send data to the server obtained by the input device. to the user input.
  • the communication module can be used to request the server for the application service corresponding to the second electronic device and receive the application service sent by the server. The feedback result of the device in response to the operation command.
  • a memory which may be connected to the processor, for storing operating system, application program information, etc. used by the electronic device 400 .
  • Memory may include read only memory (ROM), random access memory (RAM), etc.
  • Information may also reside on removable storage media, including SD memory cards, and be loaded or installed on a computer system when needed .
  • the memory is used to store device description information and application services of the second electronic device.
  • the display device is connected with the processor, and is used for receiving the processing result returned by the processor and displaying it.
  • Display devices typically have a graphical user interface (GUI) that provides an easy-to-use user interface between a user of a computer system and an operating system or application running on it.
  • GUI graphical user interface
  • An input device connected to the processor, is used to receive user input operations.
  • the input device may be a touch pad or touch screen placed on or before the display device, and may be based on various sensing technologies, including but not limited to capacitive sensing, resistive sensing, surface acoustic wave sensing, pressure sensing, light sensing, and the like.
  • the touchpad or touchscreen may be integrated with the display device or may be a separate component.
  • the input device may be a single-point or multi-point input device. In this solution, the input device is used to receive the user's control operation.
  • the near-field sensing device can be an NFC module, a BT module or a Wi-Fi module, and the near-field sensing device is used for the first electronic device to establish a short-range communication connection with the second electronic device.
  • the near-field sensing device will send a device search signal to find smart home devices near the electronic device 400, and receive response signals fed back by each smart home device, then the electronic device can obtain the device Search for the signal and the response signal, and identify the smart home device that touches the electronic device 400 by analyzing the time between the device's search signal and the response signal, thereby establishing a close proximity between the first electronic device and the second electronic device.
  • Distance communication connection can be an NFC module, a BT module or a Wi-Fi module, and the near-field sensing device is used for the first electronic device to establish a short-range communication connection with the second electronic device.
  • FIG. 5 is a schematic flowchart of a cross-device control method provided by an embodiment of the present application. As an example and not a limitation, the method can be applied to the above-mentioned first electronic device. Referring to FIG. 5 , the method includes:
  • Step 501 When the distance between the first electronic device and the second electronic device satisfies the preset range condition, in response to the touch operation triggered by the user for the first electronic device or the second electronic device, in the first electronic device The first area of the display interface displays the operation interface.
  • the preset range condition may be that the distance between the first electronic device and the second electronic device is less than or equal to a distance threshold, and the distance threshold may be adjusted according to different modules corresponding to the near-field sensing device of the first electronic device.
  • the distance threshold can be 1 cm; if the near-field sensing device is a BT module, the distance threshold can be 10 meters; if the near-field sensing device is a Wi-Fi module group, the distance threshold may be set for the number and arrangement of routers in the local area network, and the distance threshold is not limited in this embodiment of the present application.
  • the touch operation may be a touch operation that occurs between the first electronic device and the second electronic device, or it may be that when the distance between the first electronic device and the second electronic device satisfies the range condition, the user
  • the operation triggered by the electronic device to approach the second electronic device, or the operation triggered by the user to the second electronic device to approach the first electronic device can also be when the distance between the first electronic device and the second electronic device satisfies the range condition,
  • the shaking operation triggered by the user on the first electronic device or the second electronic device of course, the touching operation can also be sensed by other first electronic devices or second electronic devices and used to establish the relationship between the first electronic device and the second electronic device.
  • the short-range communication connection operation between the two electronic devices does not limit the touch-to-touch operation in this embodiment of the present application.
  • the operation interface is an interface corresponding to the second electronic device, and the operation interface may include multiple controls.
  • the first electronic device can detect the control operation triggered by the user on the operation interface, so that the first electronic device can control the second electronic device according to the control operation.
  • the operation interface corresponding to the second electronic device is generated according to the application service corresponding to the second electronic device.
  • the display interface of the first electronic device may be an interface displayed by the first electronic device to the user, the first area in the display interface may be a preset area, and the position of the first area may also be based on an operation triggered by the user Make adjustments in the display interface.
  • an operation interface 62 corresponding to the smart speaker may be displayed in the first area of the display interface 61 of the first electronic device.
  • the operation interface 62 can be moved in the display interface 61 according to the operation triggered by the user, and the first area of the display interface 61 changes accordingly.
  • the display interface of the first electronic device may be displayed through a display screen integrated with the first electronic device, or may be displayed through an external display screen connected to the first electronic device.
  • the display interface of the mobile phone can be displayed on the screen of the mobile phone; if the first electronic device is a computer, the interface of the computer can be displayed on a display connected to the computer host.
  • the user may not trigger the control operation on the operation interface displayed by the first electronic device, then the first electronic device may not perform step 502, and only display the operation interface corresponding to the second electronic device to the user, so that the user can follow the operation according to the operation interface.
  • the interface acquires information corresponding to the second electronic device.
  • the operation interface may only include the information of the second electronic device, but not the controls.
  • the operation interface may only include information such as the name, model, and remaining power of the smart speaker. The content is not limited.
  • step 501 After the first electronic device completes step 501, it does not perform step 502, and only displays the operation interface corresponding to the second electronic device to the user.
  • the second electronic device is controlled according to the operation instruction triggered by the user.
  • Step 502 In response to the operation instruction triggered by the user on the operation interface, the first electronic device controls the second electronic device to perform the operation corresponding to the operation instruction.
  • the operation instruction may be generated by the first electronic device according to a control operation triggered by the user on the operation interface, and the control operation may be a click operation, a sliding operation or a dragging operation triggered by the user on the operation interface. Not limited.
  • the first electronic device After the first electronic device displays the operation interface, when the first electronic device detects a control operation triggered by the user on the operation interface, the first electronic device can generate an operation instruction corresponding to the control operation according to the control operation, and use the operation instruction to generate an operation instruction corresponding to the control operation.
  • the second electronic device is controlled so that the second electronic device can perform corresponding operations.
  • the first electronic device can control the second electronic device without opening an application program corresponding to the second electronic device, which improves the efficiency and flexibility of controlling the second electronic device.
  • the first electronic device may generate and send the control command to the server in response to the operation command triggered on the operation interface, and the server may forward the control command to the second electronic device, and the first electronic device may
  • the second electronic device can perform corresponding operations according to the control instruction, so as to realize the control of the second electronic device by the first electronic device.
  • the first electronic device can control the smart speaker to control the playback mode, the song played and the playback pause of the song through a triggered click operation; the first electronic device can Through the triggered sliding operation, the smart speaker is controlled to adjust the progress of the song being played; the first electronic device can adjust the displayed position of the operation interface in the first electronic device through the triggered drag operation.
  • the present application when the distance between the first electronic device and the second electronic device satisfies the preset range condition, in response to the user targeting the first electronic device or the second electronic device
  • the touch operation triggered by the electronic device displays the operation interface corresponding to the second electronic device in the first area of the display interface of the first electronic device.
  • the first electronic device can control the second electronic device.
  • the electronic device executes the operation corresponding to the operation instruction.
  • the present application does not need to pass the application program corresponding to the second electronic device.
  • control of the second electronic device Using the control interface displayed by the first electronic device, based on the operation instructions triggered by the user on the control interface, the control of the second electronic device is realized, so the process of controlling the second electronic device by the first electronic device can be reduced, and the first electronic device can be improved. Efficiency and flexibility in controlling the second electronic device.
  • the operation interface of the second electronic device on the first electronic device, for the second electronic device without a display screen, it is convenient for the user to identify the first electronic device according to the operation interface of the second electronic device displayed on the first electronic device.
  • the content corresponding to the second electronic device (such as the content currently being played by the second electronic device or the temperature adjustment operation being performed by the second electronic device), or it is convenient for the user to execute on the operation interface of the second electronic device displayed on the first electronic device
  • the related operation realizes the control of the second electronic device and improves the convenience of controlling the second electronic device.
  • step 501 may include: step 501a, step 501b, and step 501c.
  • Step 501a in response to a touch operation triggered by the user on the first electronic device or the second electronic device, the first electronic device establishes a short-range communication connection with the second electronic device.
  • the first electronic device can detect the touch operation triggered by the user on the first electronic device, and if the touch operation triggered by the first electronic device is detected, it can communicate with the second electronic device through the near-field sensing device of the first electronic device.
  • the device establishes a short-range communication connection, so that in a subsequent step, the first electronic device can obtain the device description information of the second electronic device through the short-range communication connection.
  • the near-field sensing device of the first electronic device may establish a short-range communication connection with the second electronic device by means of Wi-Fi, Bluetooth or NFC.
  • the short-range communication connection between the first electronic device and the second electronic device may be a near-field communication NFC connection, a Bluetooth connection, or a Wi-Fi network connection, which is not limited in this embodiment of the present application.
  • the near-field sensing device is a Bluetooth module
  • the user can trigger a touch operation between the first electronic device and the second electronic device on the first electronic device, then the first electronic device can send a device search signal, and Receive the response signal fed back by each second electronic device, and the distance between each second electronic device and the first electronic device is different, and the time required for the receiving device to search for the signal and send the response signal to the first electronic device is also different, then the first electronic device is different.
  • An electronic device can determine the second electronic device that is closest to the first electronic device according to the moment of receiving each response signal, and the second electronic device that is closest to the first electronic device is the second electronic device that touches the first electronic device.
  • the first electronic device can establish a near field communication connection with the determined second electronic device.
  • the near-field sensing device includes a Wi-Fi module, and includes an NFC module or a Bluetooth module
  • the user can trigger the touch operation between the first electronic device and the second electronic device on the first electronic device, then the first electronic device
  • An electronic device can first obtain the MAC address of the second electronic device through the NFC module or the Bluetooth module, and then send the MAC address of the second electronic device to the local area network router of the smart home system, so that the router can pull the second electronic device into the local area network. , so as to realize the near field communication connection through Wi-Fi.
  • the first electronic device can first enable the Bluetooth function or the Wi-Fi function according to the operation triggered by the user, so that the enabled function can communicate with the second electronic device.
  • the device establishes a near field communication connection. If the first electronic device does not have the Bluetooth function or the Wi-Fi function turned on, the connection cannot be established through the Bluetooth module or the Wi-Fi module.
  • Step 501b the first electronic device determines the device description information of the second electronic device.
  • the device description information is used to describe the second electronic device, and the device description information may include one or more fields describing the second electronic device.
  • the device description information of the second electronic device includes a first field, a second field and a third field for illustration, where the first field may represent the identity of the manufacturer of the second electronic device.
  • the first electronic device may determine, according to the identity of the manufacturer, a data processing module (such as an APP Router Service) inside the first electronic device that can process the device description information.
  • the second field may be the identifier of the operation interface corresponding to the second electronic device.
  • the first electronic device may determine the application service corresponding to the second electronic device according to the second field.
  • the third field is used to identify the identity of the second electronic device.
  • the third field may be a physical address (such as an internet protocol (IP) address and/or a medium access control (MAC) address) of the second electronic device, and the first electronic device may field to initialize the application service.
  • IP internet protocol
  • MAC medium access control
  • the device description information may also include other fields describing the second electronic device, which are not limited in this embodiment of the present application.
  • the short-range communication connection between the two electronic devices determines the device description information of the second electronic device. That is, the first electronic device can send a request message to the second electronic device, the second electronic device can feed back the device description information to the second electronic device according to the request message, and the first electronic device can receive the device description information, thereby Obtain device description information of the second electronic device.
  • the first electronic device may send a request to the second electronic device for requesting the device description information of the second electronic device from the second electronic device, and the second electronic device may, according to the request, feed back advance information to the first electronic device Stored device description information.
  • the first electronic device can wait for and receive the device description information fed back by the second electronic device.
  • the first electronic device does not receive the device description information sent by the second electronic device within the preset period of time, it means that the first electronic device may not have established a short-range communication connection with the second electronic device, or the second electronic device may not have established a short-range communication connection. If the device does not receive the request sent by the first electronic device, the first electronic device may remind the user that the acquisition of the device description information fails and cannot control the second electronic device.
  • the first electronic device may acquire the device description information of the second electronic device in different ways according to different near-field sensing devices.
  • the near-field sensing device of the first electronic device is an NFC module
  • the NFC sensing area of the first electronic device is close to the NFC tag of the second electronic device
  • the NFC of the first electronic device scans the second electronic device device NFC tag
  • the information of the NFC tag can be obtained, that is, the device description information of the second electronic device can be obtained.
  • the first electronic device can send an information request to the second electronic device by means of Bluetooth communication.
  • the second electronic device may receive the information request, and feed back the device description information of the second electronic device to the first electronic device according to the information request.
  • the first electronic device may receive the device description information sent by the second electronic device.
  • the first electronic device can send an information request to the router in the local area network through the Wi-Fi wireless network, and forward the information request to the second electronic device through the router .
  • the second electronic device may receive the information request forwarded by the router, feed back the device description information of the second electronic device to the router according to the information request, and also forward the information request to the first electronic device through the router.
  • the first electronic device may receive the device description information of the second electronic device forwarded by the router.
  • Step 501c the first electronic device determines and displays the operation interface in the first area of the display interface of the first electronic device according to the device description information.
  • the first electronic device can determine whether the first electronic device has an application service corresponding to the second electronic device according to the description information, so as to obtain the application service corresponding to the second electronic device from the local storage space or server of the first electronic device according to the confirmation result,
  • the operation interface of the second electronic device is determined and displayed to the user by running the application service corresponding to the second electronic device.
  • the application service is used to determine the operation interface, that is, used to display the operation interface corresponding to the second electronic device.
  • the application service may be pre-stored in the first electronic device, or may be obtained by the first electronic device requesting the server, and the embodiment of the present application does not limit the manner in which the first electronic device obtains the application service.
  • the application service may include interface information for displaying the operation interface.
  • the application service can determine each control included in the operation interface, the position of each control, and the information corresponding to the second electronic device according to the interface information, and then the second electronic device can be generated.
  • interface information may include one or more interface elements.
  • the above-mentioned one or more elements may include multiple controls such as play mode, previous song, play/pause, next song, whether to display lyrics, and a progress bar.
  • the first electronic device may obtain an operation interface corresponding to the second electronic device according to the interface information.
  • the process of how to obtain the operation interface corresponding to the second electronic device according to the interface information reference may be made to the description in the prior art, which is not limited in this embodiment of the present application.
  • the first electronic device may detect a control operation triggered by the user on the operation interface, and control the second electronic device according to the detected control operation.
  • the operation interface of the smart speaker may include multiple controls such as play mode, previous song, play/pause, next song, whether to display lyrics, and a progress bar. , the user can control the smart speaker by clicking on each control in the operation interface.
  • the first electronic device may determine the application service of the second electronic device according to the device description information, and then determine the operation interface according to the application service, and display the operation interface in the first area of the display interface of the first electronic device.
  • the first electronic device may include a plurality of hardware such as a processor and a memory, and during the operation of the processor, a plurality of functional modules stored in the memory may be executed to determine whether the memory of the first electronic device has a second electronic device corresponding application service.
  • the first electronic device may have an operating system, a data processing module and a message distribution module, and the message distribution module may include at least one distribution module.
  • the data processing module is used to read the device description information
  • the distribution module is used to start the application service corresponding to the second electronic device, and send the information for configuring and initializing the application service to the application service.
  • each distribution module may correspond to at least one service application.
  • the first electronic device is provided with three distribution modules, distribution module 1 may correspond to application service A and application service B, distribution module 2 may correspond to application service C, and distribution module 3 may correspond to application service D. If the application service corresponding to the second electronic device is the application service C, the first electronic device can open and initialize the application service C through the distribution module 2, and then display the operation interface corresponding to the second electronic device through the running application service C.
  • the data processing module and the distribution module of the first electronic device may belong to the same software function module, or may belong to different software function modules, which are not limited in this embodiment of the present application.
  • both the data processing module and the distribution module of the first electronic device may belong to the APP Router Service of the first electronic device.
  • the operating system of the first electronic device may read a preset field of the device description information, obtain the identifier of the manufacturer of the second electronic device, so as to determine the manufacturer of the second electronic device, and use the The identification of the manufacturer is compared with the identification of the manufacturer of the first electronic device to determine whether the first electronic device and the second electronic device belong to the same manufacturer.
  • the device description information can be sent to the preset data processing module; if the second electronic device and the first electronic device belong to different manufacturers, the device description information can be sent to the The data processing module corresponding to the manufacturer of the second electronic device sends the device description information.
  • the manufacturer of the first electronic device is A
  • the manufacturer of the second electronic device is also A
  • the first electronic device can send device description information to the pre-stored data processing module
  • the manufacturer of the second electronic device is A is B
  • the first electronic device can send device description information to the data processing module corresponding to B
  • the manufacturer of the second electronic device is C
  • the first electronic device can send device description information to the data processing module corresponding to C information.
  • the data processing module of the first electronic device can read the other fields in the device description information except for the identity of the identification manufacturer one by one, determine the application service corresponding to the second electronic device, and obtain the application service for initialization. configuration information in order to start the application service and display the operation interface through the application service.
  • the first electronic device may first find out whether the application service is stored, and if the application service is stored, the first electronic device may enable the application service through the distribution module, and use the The device description information of the second electronic device initializes the application service.
  • the first electronic device has application services of each second electronic device.
  • the first electronic device has device description information of each second electronic device, and application services associated with each device description information.
  • the first electronic device may determine the application service of the second electronic device a from the application services of each second electronic device described above. Then, the first electronic device displays the operation interface of the second electronic device a according to the application service of the second electronic device a.
  • the current smart home scene also includes other first electronic devices (such as computers, laptops or tablet computers) that can store application services, then the first electronic device obtains the device description information of the second electronic device a after obtaining the device description information of the second electronic device a.
  • the application service of the second electronic device a can be requested from other first electronic devices, and the application service can be obtained according to the request.
  • the system architecture shown in FIG. 1 may not include a server.
  • the first electronic device may request the server for the application service corresponding to the second electronic device according to the device description information.
  • the first electronic device may send a request message to the server, and the first electronic device may also receive an application service from the server, where the request message is used to request an application service corresponding to the second electronic device, and the request message may carry the second Device description information for electronic devices.
  • the first electronic device may generate a request message according to the device description information, and send the request message to the server.
  • the server may receive the request message, determine the application service corresponding to the second electronic device according to the device description information in the request message, and send the application service corresponding to the second electronic device to the first electronic device.
  • the first electronic device may receive the application service corresponding to the second electronic device sent by the server, so as to obtain the application service.
  • the device description information of the second electronic device obtained by the first electronic device may include the address of the server, and the first electronic device may request the server for an application service corresponding to the second electronic device according to the device description information.
  • the application service corresponding to the second electronic device may also include the address of the server, then in the subsequent process of the first electronic device controlling the second electronic device, the first electronic device Take control.
  • the first electronic device can run the application service, generate an operation interface of the second electronic device through the application service in combination with the interface information included in the application service, and display the operation interface in the first area of the display interface of the first electronic device , so that the first electronic device can control the second electronic device through the operation interface.
  • the operation interface of the first electronic device can display not only various controls, but also information related to the linkage between the second electronic device and the first electronic device. For example, if the second electronic device is For smart speakers, the operation interface can also display the name, lyrics and artist of the song currently being played by the smart speaker.
  • FIG. 9 shows the display interface 92 displayed by the smart speaker 91 and the first electronic device, wherein the display interface 92 may include an operation interface 921, and the operation interface 921 may include: play mode 921a, upper One song 921b, play/pause 921c, next song 921d, whether to display lyrics 921e, and a progress bar 921f and other controls; moreover, the operation interface 921 can also display the model 921g of the smart speaker, and the name of the currently playing song 921h , and the singer 921i of the song; finally, the operation interface 921 can also display the image of the singer of the song or the cover 921j and lyrics 921k of the album to which the song belongs.
  • the display interface 92 may include an operation interface 921
  • the operation interface 921 may include: play mode 921a, upper One song 921b, play/pause 921c, next song 921d, whether to display lyrics 921e, and a progress bar 921f and other controls; moreover, the operation interface 921 can also
  • the operation interface 921 may further include a sound projection control 921m, and the sound projection control 921m is used to adjust the audio data source played by the smart speaker 91 .
  • the smart speaker 91 plays the audio data provided by the server by default.
  • the smart speaker 91 can play the audio data provided by the first electronic device.
  • the first electronic device can also send a control command to the smart speaker 91 through the operation interface 921 instead of forwarding the control command through the server.
  • the first electronic device may establish a connection with the second electronic device and exchange data by means of near field communication, which will not be repeated here.
  • the first electronic device searches whether the application service corresponding to the second electronic device is pre-stored, and determines whether it needs to request the application service from the server according to the search result. If the application service is pre-stored, it can no longer request the application service from the server. The efficiency and flexibility of the first electronic device to control the second electronic device are improved.
  • the first electronic device can adjust the data source of the second electronic device according to the user's trigger operation, so that the second electronic device can be linked according to the data source provided by the server or the first electronic device, which improves the control of the second electronic device by the first electronic device. Flexibility of electronic devices.
  • the operation interface can also display the current status of the air conditioner, such as whether it is currently working, adjusting temperature, working mode, and blowing direction.
  • Fig. 10 shows a display interface 102 displayed by the first electronic device, wherein the display interface 102 may include an operation interface 1021 of the air conditioner, and the operation interface 1021 may include: a power supply 1021a, a temperature increase 1021b, a temperature decrease 1021c, working mode 1021d and blowing direction 1021e and other controls, and the operation interface 1021 can also display the model 1021f of the air conditioner, the target temperature 1021g and the current indoor temperature 1021h.
  • the first electronic device may establish a connection with the second electronic device without relying on the NFC module, but may establish a connection with the second electronic device through a Bluetooth module or a Wi-Fi module Establishing a connection improves the flexibility of establishing a connection between the first electronic device and the second electronic device.
  • the first electronic device when the first electronic device performs step 502, the first electronic device sends a control instruction to the second electronic device through a server that communicates with the second electronic device, where the control instruction is used to instruct the second electronic device to execute The operation corresponding to the operation command.
  • the second electronic device after the second electronic device performs the corresponding operation, it can feed back the execution result indicating that the execution is completed to the server, the server can forward the execution result to the first electronic device, and the first electronic device can receive the second electronic device from the server.
  • the feedback result of the electronic device to the control instruction, and the operation interface can be updated according to the feedback result.
  • Fig. 11a and Fig. 11b show the change of the operation interface displayed by the first electronic device according to the song-cutting operation triggered by the user.
  • the first electronic device After the connection between the electronic device and the smart speaker is established, the interface shown in Figure 11a can be displayed on the operation interface of the second electronic device displayed by the first electronic device.
  • the song "P" is currently playing, and the lyrics of the song “O" are displayed.
  • the first electronic device can generate a control instruction to play the next song according to the control operation, and the server can send it to the intelligent The speaker forwards the control command, and the smart speaker can switch to play the next song according to the control command.
  • the smart speaker can forward the execution result to the server, and the server can forward the execution result to the first electronic device.
  • the first electronic device can The operation interface is updated to play the song “R”, and update the lyrics “HIJKLMN” and the singer “T” of the song “R”, and can also update the progress bar.
  • the first electronic device can also control the second electronic device to start playing or stop playing according to the click operation triggered by the user on the play/pause control.
  • the first electronic device can click on whether to display the lyrics control triggered by the user. operation to control whether the first electronic device displays the lyrics in the operation interface; the first electronic device can control the playback progress of the second electronic device according to the sliding operation triggered by the user on the progress bar control; the first electronic device can At least one click operation triggered by the control adjusts the play mode of the second electronic device.
  • FIG. 12 is a structural block diagram of a cross-device control apparatus provided by an embodiment of the present application. For the convenience of description, only the control device related to the embodiment of the present application is shown. part.
  • the device includes:
  • the display module 1201 is configured to, when the distance between the first electronic device and the second electronic device satisfies the preset range condition, in response to the touch operation triggered by the user on the first electronic device or the second electronic device, in the first electronic device or the second electronic device.
  • a first area of a display interface of an electronic device displays an operation interface, and the operation interface is an interface corresponding to the second electronic device;
  • the communication module 1202 is configured to control the second electronic device to perform the operation corresponding to the operation instruction in response to the operation instruction triggered by the user on the operation interface.
  • the communication module 1202 is further configured to send a control instruction to the second electronic device through a server communicating with the second electronic device, where the control instruction is used to instruct the second electronic device to perform an operation corresponding to the operation instruction.
  • the device further includes:
  • a service execution module 1203, configured to determine the device description information of the second electronic device
  • the service execution module 1203 is further configured to determine the operation interface according to the device description information.
  • the service execution module 1203 is further configured to determine the application service of the second electronic device according to the device description information, and the application service is used to determine the operation interface;
  • the display module 1201 is further configured to display the operation interface in the first area of the display interface of the first electronic device after determining the operation interface according to the application service.
  • the communication module 1202 is further configured to send a request message to the server, where the request message is used to request an application service corresponding to the second electronic device;
  • the communication module 1202 is further configured to receive application services from the server.
  • the communication module 1202 is further configured to establish a short-range communication connection with the second electronic device in response to a touch operation triggered by the user on the first electronic device or the second electronic device.
  • the short-range communication connection between the first electronic device and the second electronic device includes: one or more of a near-field communication NFC connection, a Bluetooth connection or a Wi-Fi network connection.
  • the communication module 1202 is further configured to receive a feedback result for the operation instruction from the second electronic device;
  • the display module 1201 is further configured to update the content displayed on the operation interface according to the feedback result.
  • the device further includes:
  • the user operation module 1204 is configured to detect the control operation triggered on the operation interface.
  • the cross-device control device provided by the embodiment of the present application, when the distance between the first electronic device and the second electronic device satisfies the preset range condition, in response to the user targeting the first electronic device or the second electronic device
  • the touch operation triggered by the electronic device displays the operation interface corresponding to the second electronic device in the first area of the display interface of the first electronic device.
  • the first electronic device can control the second electronic device.
  • the electronic device executes the operation corresponding to the operation instruction.
  • the present application does not need to pass the application program corresponding to the second electronic device.
  • control of the second electronic device Using the control interface displayed by the first electronic device, based on the operation instructions triggered by the user on the control interface, the control of the second electronic device is realized, so the process of controlling the second electronic device by the first electronic device can be reduced, and the first electronic device can be improved. Efficiency and flexibility in controlling the second electronic device.
  • the disclosed apparatus and method may be implemented in other manners.
  • the system embodiments described above are only illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be Incorporation may either be integrated into another system, or some features may be omitted, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and 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 in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium.
  • the present application realizes all or part of the processes in the methods of the above embodiments, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium.
  • the computer program includes computer program code
  • the computer program code may be in the form of source code, object code, executable file or some intermediate form, and the like.
  • the computer-readable medium may include at least: any entity or device capable of carrying the computer program code to the terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunication signals, and software distribution media.
  • ROM read-only memory
  • RAM random access memory
  • electrical carrier signals telecommunication signals
  • software distribution media For example, U disk, mobile hard disk, disk or CD, etc.
  • computer readable media may not be electrical carrier signals and telecommunications signals.

Abstract

The present application is applicable to the technical field of smart home, and provides a cross-device control method, apparatus, and system. The method comprises: when the distance between a first electronic device and a second electronic device satisfies a preset range condition, in response to a touch operation triggered by a user for the first electronic device or the second electronic device, displaying an operation interface on a first area of a display interface of the first electronic device, the operation interface being an interface corresponding to the second electronic device; and in response to an operation instruction triggered by the user at the operation interface, controlling, by the first electronic device, the second electronic device to execute an operation corresponding to the operation instruction. According to the present application, by using a control interface displayed in a first electronic device, a second electronic device can be controlled on the basis of an operation instruction triggered by a user on the control interface, without using an application program corresponding to the second electronic device, so that the processes of controlling the second electronic device by the first electronic device can be reduced, and the efficiency and flexibility of controlling the second electronic device by the first electronic device are improved.

Description

跨设备的控制方法、装置及系统Cross-device control method, device and system
本申请要求于2020年7月1日提交国家知识产权局、申请号为202010621325.7、申请名称为“跨设备的控制方法、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202010621325.7 and the application title "Cross-device control method, device and system" submitted to the State Intellectual Property Office on July 1, 2020, the entire contents of which are incorporated by reference in in this application.
技术领域technical field
本申请涉及智能家居技术领域,尤其涉及一种跨设备的控制方法、装置及系统。The present application relates to the field of smart home technology, and in particular, to a cross-device control method, device, and system.
背景技术Background technique
随着智能家居的不断发展,电子设备可以与智能家居中的其他电子设备(例如,智能音响)进行触碰,从而快速与其他电子设备建立连接,使得电子设备与其他电子设备进行联动,例如,电子设备可以与智能音响连接,通过智能音响播放电子设备的音乐。With the continuous development of smart homes, electronic devices can touch other electronic devices (for example, smart speakers) in the smart home, so as to quickly establish connections with other electronic devices, so that electronic devices can be linked with other electronic devices, for example, The electronic device can be connected with the smart speaker, and the music of the electronic device can be played through the smart speaker.
相关技术中,以电子设备和智能音响为例,若电子设备的传感器检测到与智能音响的触碰,则电子设备可以搜索并与智能音响建立近场通信(near field communication,NFC)连接,再通过智能音响播放电子设备当前正在播放的音乐。In the related art, taking electronic devices and smart speakers as examples, if the sensor of the electronic device detects a touch with the smart speakers, the electronic device can search for and establish a near field communication (NFC) connection with the smart speakers, and then Play the music that the electronic device is currently playing through the smart speaker.
但是,在电子设备与其他电子设备建立连接的基础上,电子设备上运行有与其他电子设备对应的应用程序,后续电子设备可以根据如图1所示的界面,通过运行的应用程序控制其他电子设备,导致电子设备控制其他电子设备的过程较复杂。However, on the basis of establishing a connection between the electronic device and other electronic devices, the electronic device runs an application program corresponding to the other electronic device, and the subsequent electronic device can control other electronic devices through the running application program according to the interface shown in Figure 1. equipment, resulting in a more complicated process for electronic equipment to control other electronic equipment.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种跨设备的控制方法、装置及系统,可以解决电子设备控制智能家居设备的过程较复杂的问题。The embodiments of the present application provide a cross-device control method, device, and system, which can solve the problem that the electronic device controls the smart home device in a complicated process.
第一方面,本申请实施例提供了一种跨设备的控制方法,包括:In a first aspect, an embodiment of the present application provides a cross-device control method, including:
在第一电子设备和第二电子设备之间的距离满足预先设置的范围条件时,响应于用户针对所述第一电子设备或所述第二电子设备触发的碰一碰操作,在所述第一电子设备的显示界面的第一区域显示操作界面,所述操作界面为所述第二电子设备对应的界面;When the distance between the first electronic device and the second electronic device satisfies the preset range condition, in response to a touch operation triggered by the user on the first electronic device or the second electronic device, at the first electronic device A first area of a display interface of an electronic device displays an operation interface, and the operation interface is an interface corresponding to the second electronic device;
响应于用户在所述操作界面触发的操作指令,所述第一电子设备控制所述第二电子设备执行所述操作指令对应的操作。In response to an operation instruction triggered by the user on the operation interface, the first electronic device controls the second electronic device to perform an operation corresponding to the operation instruction.
在第一方面的第一种可能的实现方式中,所述第一电子设备控制所述第二电子设备执行所述操作指令对应的操作,包括:In a first possible implementation manner of the first aspect, the first electronic device controls the second electronic device to perform the operation corresponding to the operation instruction, including:
所述第一电子设备通过与所述第二电子设备通信的服务器向所述第二电子设备发送控制指令,所述控制指令用于指示所述第二电子设备执行所述操作指令对应的操作。The first electronic device sends a control instruction to the second electronic device through a server in communication with the second electronic device, where the control instruction is used to instruct the second electronic device to perform an operation corresponding to the operation instruction.
基于第一方面的上述任意一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述在所述第一电子设备的显示界面的第一区域显示操作界面之前,所述方法还包括:Based on any one of the possible implementation manners of the first aspect, in a second possible implementation manner of the first aspect, before the operation interface is displayed in the first area of the display interface of the first electronic device, the The method also includes:
所述第一电子设备确定第二电子设备的设备描述信息;The first electronic device determines device description information of the second electronic device;
所述第一电子设备根据所述设备描述信息,确定所述操作界面。The first electronic device determines the operation interface according to the device description information.
基于第一方面的上述第二种可能的实现方式,在第一方面的第三种可能的实现方式中,所述第一电子设备根据所述设备描述信息,在所述第一电子设备的显示界面的第一区域显示操作界面,包括:Based on the above-mentioned second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the first electronic device, according to the device description information, displays on the display of the first electronic device The first area of the interface displays the operation interface, including:
所述第一电子设备根据所述设备描述信息,确定所述第二电子设备的应用服务,所述应用服务用于确定所述操作界面;The first electronic device determines an application service of the second electronic device according to the device description information, where the application service is used to determine the operation interface;
所述第一电子设备根据所述应用服务,确定所述操作界面后,在所述第一电子设备的显示界面的第一区域显示所述操作界面。After the first electronic device determines the operation interface according to the application service, the operation interface is displayed in the first area of the display interface of the first electronic device.
基于第一方面的上述第三种可能的实现方式,在第一方面的第四种可能的实现方式中,所述第一电子设备根据所述设备描述信息,确定所述第二电子设备的应用服务,包括:Based on the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the first electronic device determines the application of the second electronic device according to the device description information Services, including:
所述第一电子设备向服务器发送请求消息,所述请求消息用于请求所述第二电子设备对应的应用服务;The first electronic device sends a request message to the server, where the request message is used to request an application service corresponding to the second electronic device;
所述第一电子设备接收来自所述服务器的所述应用服务。The first electronic device receives the application service from the server.
基于第一方面的上述第二种可能的实现方式,在第一方面的第五种可能的实现方式中,所述第一电子设备确定第二电子设备的设备描述信息之前,所述方法还包括:Based on the second possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, before the first electronic device determines the device description information of the second electronic device, the method further includes :
响应于用户针对所述第一电子设备或所述第二电子设备触发的碰一碰操作,所述第一电子设备建立与所述第二电子设备之间的近距离通信连接。In response to a user-triggered tap operation on the first electronic device or the second electronic device, the first electronic device establishes a proximity communication connection with the second electronic device.
基于第一方面的上述第五种可能的实现方式,在第一方面的第六种可能的实现方式中,所述第一电子设备与所述第二电子设备之间的近距离通信连接包括:近场通信NFC连接、蓝牙连接或无线保真Wi-Fi网络连接中的一个或多个。Based on the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, the short-range communication connection between the first electronic device and the second electronic device includes: One or more of a Near Field Communication NFC connection, a Bluetooth connection or a Wi-Fi network connection.
基于第一方面的上述任意一种可能的实现方式,在第一方面的第七种可能的实现方式中,所述响应于用户在所述操作界面触发的操作指令,所述第一电子设备控制所述第二电子设备执行所述操作指令对应的操作之后,所述方法还包括:Based on any one of the above possible implementation manners of the first aspect, in a seventh possible implementation manner of the first aspect, in response to an operation instruction triggered by a user on the operation interface, the first electronic device controls After the second electronic device performs the operation corresponding to the operation instruction, the method further includes:
所述第一电子设备接收来自所述第二电子设备针对所述操作指令的反馈结果;receiving, by the first electronic device, a feedback result for the operation instruction from the second electronic device;
所述第一电子设备根据所述反馈结果,对所述操作界面显示的内容进行更新。The first electronic device updates the content displayed on the operation interface according to the feedback result.
第二方面,本申请实施例提供了一种跨设备的控制装置,包括:In a second aspect, an embodiment of the present application provides a cross-device control device, including:
显示模块,用于在第一电子设备和第二电子设备之间的距离满足预先设置的范围条件时,响应于用户针对所述第一电子设备或所述第二电子设备触发的碰一碰操作,在所述第一电子设备的显示界面的第一区域显示操作界面,所述操作界面为所述第二电子设备对应的界面;A display module, used for responding to a touch operation triggered by a user on the first electronic device or the second electronic device when the distance between the first electronic device and the second electronic device satisfies a preset range condition , displaying an operation interface in the first area of the display interface of the first electronic device, where the operation interface is an interface corresponding to the second electronic device;
通信模块,用于响应于用户在所述操作界面触发的操作指令,控制所述第二电子设备执行所述操作指令对应的操作。The communication module is configured to control the second electronic device to perform the operation corresponding to the operation instruction in response to the operation instruction triggered by the user on the operation interface.
在第二方面的第一种可能的实现方式中,所述通信模块,还用于通过与所述第二电子设备通信的服务器向所述第二电子设备发送控制指令,所述控制指令用于指示所述第二电子设备执行所述操作指令对应的操作。In a first possible implementation manner of the second aspect, the communication module is further configured to send a control instruction to the second electronic device through a server that communicates with the second electronic device, where the control instruction is used for The second electronic device is instructed to perform the operation corresponding to the operation instruction.
基于第二方面的上述任意一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述装置还包括:Based on any one of the foregoing possible implementations of the second aspect, in a second possible implementation of the second aspect, the apparatus further includes:
业务执行模块,用于确定第二电子设备的设备描述信息;a service execution module, configured to determine the device description information of the second electronic device;
所述业务执行模块,还用于根据所述设备描述信息,确定所述操作界面。The service execution module is further configured to determine the operation interface according to the device description information.
基于第二方面的上述第二种可能的实现方式,在第二方面的第三种可能的实现方式中,所述业务执行模块,还用于根据所述设备描述信息,确定所述第二电子设备的应用服务,所述应用服务用于确定所述操作界面;Based on the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the service execution module is further configured to determine the second electronic device according to the device description information an application service of the device, where the application service is used to determine the operation interface;
所述显示模块,还用于根据所述应用服务,确定所述操作界面后,在所述第一电子设备的显示界面的第一区域显示所述操作界面。The display module is further configured to display the operation interface in the first area of the display interface of the first electronic device after determining the operation interface according to the application service.
基于第二方面的上述第三种可能的实现方式,在第二方面的第四种可能的实现方式中,所述通信模块,还用于向服务器发送请求消息,所述请求消息用于请求所述第二电子设备对应的应用服务;Based on the third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the communication module is further configured to send a request message to the server, where the request message is used to request all the application service corresponding to the second electronic device;
所述通信模块,还用于接收来自所述服务器的所述应用服务。The communication module is further configured to receive the application service from the server.
基于第二方面的上述第二种可能的实现方式,在第二方面的第五种可能的实现方式中,所述通信模块,还用于响应于用户针对所述第一电子设备或所述第二电子设备触发的碰一碰操作,建立与所述第二电子设备之间的近距离通信连接。Based on the second possible implementation manner of the second aspect, in a fifth possible implementation manner of the second aspect, the communication module is further configured to The touch operation triggered by the second electronic device establishes a short-range communication connection with the second electronic device.
基于第二方面的上述第五种可能的实现方式,在第二方面的第六种可能的实现方式中,所述第一电子设备与所述第二电子设备之间的近距离通信连接包括:近场通信NFC连接、蓝牙连接或无线保真Wi-Fi网络连接中的一个或多个。Based on the fifth possible implementation manner of the second aspect, in a sixth possible implementation manner of the second aspect, the short-range communication connection between the first electronic device and the second electronic device includes: One or more of a Near Field Communication NFC connection, a Bluetooth connection or a Wi-Fi network connection.
基于第二方面的上述任意一种可能的实现方式,在第二方面的第七种可能的实现方式中,所述通信模块,还用于接收来自所述第二电子设备针对所述操作指令的反馈结果;Based on any one of the above possible implementation manners of the second aspect, in a seventh possible implementation manner of the second aspect, the communication module is further configured to receive an operation instruction from the second electronic device feedback results;
所述显示模块,还用于根据所述反馈结果,对所述操作界面显示的内容进行更新。The display module is further configured to update the content displayed on the operation interface according to the feedback result.
第三方面,本申请实施例提供了一种跨设备的控制系统,包括:第一电子设备、服务器和第二电子设备;In a third aspect, an embodiment of the present application provides a cross-device control system, including: a first electronic device, a server, and a second electronic device;
在第一电子设备和第二电子设备之间的距离满足预先设置的范围条件时,所述第一电子设备响应于用户针对所述第一电子设备或所述第二电子设备触发的碰一碰操作,在所述第一电子设备的显示界面的第一区域显示操作界面,所述操作界面为所述第二电子设备对应的界面;When the distance between the first electronic device and the second electronic device satisfies the preset range condition, the first electronic device responds to a touch triggered by the user on the first electronic device or the second electronic device operation, displaying an operation interface in the first area of the display interface of the first electronic device, and the operation interface is an interface corresponding to the second electronic device;
所述第一电子设备响应于在所述操作界面触发的操作指令,向所述服务器发送控制指令,所述控制指令用于指示所述第二电子设备执行所述操作指令对应的操作;The first electronic device sends a control instruction to the server in response to an operation instruction triggered on the operation interface, where the control instruction is used to instruct the second electronic device to perform an operation corresponding to the operation instruction;
所述服务器向所述第二电子设备转发所述控制指令;the server forwards the control instruction to the second electronic device;
所述第二电子设备根据所述控制指令,执行所述操作指令对应的操作。The second electronic device executes the operation corresponding to the operation instruction according to the control instruction.
第四方面,本申请实施例提供了一种电子设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上述第一方面中任一项所述的跨设备的控制方法。In a fourth aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, when the processor executes the computer program The cross-device control method according to any one of the above first aspects is implemented.
第五方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如上述第一方面中任一项所述的跨设备的控制方法。In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any one of the above-mentioned first aspects is implemented. The described cross-device control method.
第六方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在电子设备上运行时,使得电子设备执行上述第一方面中任一项所述的跨设备的控制方法。In a sixth aspect, an embodiment of the present application provides a computer program product that, when the computer program product runs on an electronic device, enables the electronic device to execute the cross-device control method described in any one of the first aspects above.
第七方面,本申请实施例提供了一种芯片系统,所述芯片系统包括存储器和处理器,所述处理器执行所述存储器中存储的计算机程序,以实现如上述第一方面中任一项所述的跨设备的控制方法。In a seventh aspect, an embodiment of the present application provides a chip system, the chip system includes a memory and a processor, and the processor executes a computer program stored in the memory to implement any one of the first aspects above The described cross-device control method.
其中,所述芯片系统可以为单个芯片,或者多个芯片组成的芯片模组。Wherein, the chip system may be a single chip or a chip module composed of multiple chips.
本申请提供的跨设备的控制方法,在第一电子设备和第二电子设备之间的距离满足预先设置的范围条件时,响应于用户针对第一电子设备或第二电子设备触发的碰一碰操作,在第一电子设备的显示界面的第一区域显示第二电子设备对应的操作界面,响应于用户在操作界面触发的操作指令,第一电子设备可以控制第二电子设备执行操作指令对应的操作,与第一电子设备通过运行第二电子设备对应的应用程序后实现对第二电子设备的控制相比,本申请无需通过第二电子设备对应的应用程序即可利用第一电子设备显示的控制界面,基于用户在控制界面触发的操作指令,实现对第二电子设备的控制,因此可以减少第一电子设备控制第二电子设备的流程,提高了第一电子设备控制第二电子设备的效率和灵活性。In the cross-device control method provided by the present application, when the distance between the first electronic device and the second electronic device satisfies the preset range condition, in response to a touch triggered by the user on the first electronic device or the second electronic device operation, display the operation interface corresponding to the second electronic device in the first area of the display interface of the first electronic device, and in response to the operation instruction triggered by the user on the operation interface, the first electronic device can control the second electronic device to execute the corresponding operation instruction. Operation, compared with the control of the second electronic device by the first electronic device after running the application program corresponding to the second electronic device, the present application can utilize the displayed information of the first electronic device without the application program corresponding to the second electronic device. The control interface realizes the control of the second electronic device based on the operation instructions triggered by the user on the control interface, thus reducing the flow of the first electronic device controlling the second electronic device and improving the efficiency of the first electronic device controlling the second electronic device and flexibility.
附图说明Description of drawings
图1是本申请实施例提供的现有技术中,电子设备运行与其他电子设备对应的应用程序时的界面示意图;1 is a schematic interface diagram of an electronic device running an application program corresponding to other electronic devices in the prior art provided by an embodiment of the present application;
图2是本申请实施例提供的一种跨设备的控制方法适用的系统架构示意图;2 is a schematic diagram of a system architecture to which a cross-device control method provided by an embodiment of the present application is applicable;
图3是本申请实施例提供的另一种跨设备的控制方法适用的系统架构示意图;3 is a schematic diagram of a system architecture to which another cross-device control method provided by an embodiment of the present application is applicable;
图4是本申请实施例提供的一种电子设备的结构示意图;4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图5是本申请实施例提供的一种跨设备的控制方法的示意性流程图;5 is a schematic flowchart of a cross-device control method provided by an embodiment of the present application;
图6是本申请实施例提供的一种第一电子设备展示操作界面的示意图;6 is a schematic diagram of a first electronic device displaying an operation interface provided by an embodiment of the present application;
图7是本申请实施例提供的一种在第一电子设备的显示界面的第一区域显示操作界面的流程示意图;7 is a schematic flowchart of displaying an operation interface in a first area of a display interface of a first electronic device according to an embodiment of the present application;
图8是本申请实施例提供的一种第一电子设备的软件架构图;8 is a software architecture diagram of a first electronic device provided by an embodiment of the present application;
图9是本申请实施例提供的一种智能音响与操作界面的示意图;9 is a schematic diagram of a smart audio and an operation interface provided by an embodiment of the present application;
图10是本申请实施例提供的一种空调与操作界面的示意图;10 is a schematic diagram of an air conditioner and an operation interface provided by an embodiment of the present application;
图11a是本申请实施例提供的一种切歌时操作界面的示意图;11a is a schematic diagram of an operation interface when a song is cut provided by an embodiment of the present application;
图11b是本申请实施例提供的另一种切歌时操作界面的示意图;11b is a schematic diagram of an operation interface when another song cutting provided by an embodiment of the present application;
图12是本申请实施例提供的一种跨设备的控制装置的结构框图;12 is a structural block diagram of a cross-device control device provided by an embodiment of the present application;
图13是本申请实施例提供的另一种跨设备的控制装置的结构框图;13 is a structural block diagram of another cross-device control apparatus provided by an embodiment of the present application;
图14是本申请实施例提供的又一种跨设备的控制装置的结构框图。FIG. 14 is a structural block diagram of another cross-device control apparatus provided by an embodiment of the present application.
具体实施方式detailed description
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, for the purpose of illustration rather than limitation, specific details such as a specific system structure and technology are set forth in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形 式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括例如“一个或多个”这种表达形式,除非其上下文中明确地有相反指示。还应当理解,在本申请实施例中,“一个或多个”是指一个、两个或两个以上;“和/或”,描述关联对象的关联关系,表示可以存在三种关系;例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。The terms used in the following embodiments are for the purpose of describing particular embodiments only, and are not intended to be limitations of the present application. As used in the specification of this application and the appended claims, the singular expressions "a," "an," "the," "above," "the," and "the" are intended to also Expressions such as "one or more" are included unless the context clearly dictates otherwise. It should also be understood that, in this embodiment of the present application, "one or more" refers to one, two or more; "and/or", which describes the association relationship of associated objects, indicates that there may be three kinds of relationships; for example, A and/or B can mean that A exists alone, A and B exist simultaneously, and B exists independently, wherein A and B can be singular or plural. The character "/" generally indicates that the associated objects are an "or" relationship.
本申请实施例提供的跨设备的控制方法可以应用于手机、平板电脑、可穿戴设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等电子设备中,本申请实施例对电子设备的具体类型不作任何限制。The cross-device control method provided by the embodiments of the present application can be applied to mobile phones, tablet computers, wearable devices, notebook computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (personal digital assistants, etc.) PDA) and other electronic devices, the embodiments of the present application do not impose any restrictions on the specific types of the electronic devices.
作为示例而非限定,当所述电子设备为可穿戴设备时,该可穿戴设备还可以是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,如智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能首饰等。As an example but not a limitation, when the electronic device is a wearable device, the wearable device may also be a general term for the intelligent design of daily wear and the development of wearable devices by applying wearable technology, such as glasses, gloves, Watches, clothing and shoes, etc. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories. Wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction, and cloud interaction. In a broad sense, wearable smart devices include full-featured, large-scale, complete or partial functions without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, which needs to be used in conjunction with other devices such as smart phones. , such as various types of smart bracelets and smart jewelry that monitor physical signs.
参见图2,图2是本申请实施例提供的一种跨设备的控制方法适用的系统架构示意图,该系统架构可以包括:第一电子设备10、服务器20和第二电子设备30。Referring to FIG. 2 , FIG. 2 is a schematic diagram of a system architecture applicable to a cross-device control method provided by an embodiment of the present application. The system architecture may include: a first electronic device 10 , a server 20 , and a second electronic device 30 .
其中,服务器20分别与第一电子设备10和第二电子设备30之间具有连接,第一电子设备10和第二电子设备30均可以与服务器20进行数据交互。第一电子设备10与第二电子设备30之间具有近场通信连接。第一电子设备与第二电子设备之间的近距离通信连接可以包括:近场通信NFC连接、蓝牙连接或无线保真Wi-Fi网络连接中的一个或多个。The server 20 has connections with the first electronic device 10 and the second electronic device 30 respectively, and both the first electronic device 10 and the second electronic device 30 can perform data interaction with the server 20 . There is a near field communication connection between the first electronic device 10 and the second electronic device 30 . The near field communication connection between the first electronic device and the second electronic device may include one or more of a near field communication (NFC) connection, a Bluetooth connection, or a Wi-Fi network connection.
本申请实施例中的第一电子设备10可以显示第二电子设备30的操作界面。当然,第一电子设备10除了可以显示第二电子设备30的操作界面外,还可以基于用户针对该操作界面的操作,向第二电子设备30发送控制指令。一方面,如果上述系统中包括服务器20,那么第一电子设备10可以通过服务器20向第二电子设备30发送控制指令。另一方面,如果上述系统中不包括服务器20,那么第一电子设备10向第二电子设备30发送的控制指令可以无需通过该服务器20中转。The first electronic device 10 in the embodiment of the present application may display an operation interface of the second electronic device 30 . Of course, in addition to displaying the operation interface of the second electronic device 30, the first electronic device 10 may also send a control instruction to the second electronic device 30 based on the user's operation on the operation interface. On the one hand, if the above-mentioned system includes the server 20 , the first electronic device 10 can send a control instruction to the second electronic device 30 through the server 20 . On the other hand, if the server 20 is not included in the above system, the control instruction sent by the first electronic device 10 to the second electronic device 30 may not need to be relayed through the server 20 .
而且,服务器20中具有第二电子设备的注册信息,以及第二电子设备对应的应用服务。之后,第一电子设备10可以向服务器20请求该应用服务,并根据该应用服务在第一电子设备10上显示第二电子设备30的操作界面。Moreover, the server 20 has registration information of the second electronic device and application services corresponding to the second electronic device. Afterwards, the first electronic device 10 may request the application service from the server 20, and display the operation interface of the second electronic device 30 on the first electronic device 10 according to the application service.
结合图2,参见图3,以第一电子设备为手机、第二电子设备为智能音响为例,图3是本申请实施例提供的另一种跨设备的控制方法适用的系统架构示意图,该系统架构中可以包括:手机310、服务器320和智能音响330。2 , referring to FIG. 3 , taking the first electronic device as a mobile phone and the second electronic device as a smart speaker as an example, FIG. 3 is a schematic diagram of a system architecture to which another cross-device control method provided by an embodiment of the present application is applicable. The system architecture may include: a mobile phone 310 , a server 320 and a smart speaker 330 .
其中,手机310可以包括:显示模块、用户操作模块、业务执行模块和通信模块。显示模块用于显示手机310的界面以及用于控制智能音响330的操作界面,用户操作 模块用于检测用户操作界面触发的控制操作,业务执行模块用于控制手机310执行显示并更新操作界面的动作,通信模块用于与服务器320和智能音响330进行数据交互。The mobile phone 310 may include: a display module, a user operation module, a service execution module and a communication module. The display module is used to display the interface of the mobile phone 310 and the operation interface used to control the smart speaker 330, the user operation module is used to detect the control operation triggered by the user operation interface, and the service execution module is used to control the mobile phone 310 to perform the action of displaying and updating the operation interface , the communication module is used for data interaction with the server 320 and the smart speaker 330 .
而且,智能音响330可以包括:用户操作模块、业务执行模块和通信模块。用户操作模块用于检测用户在智能音响330上触发的操作,业务执行模块用于根据用户触发的操作或服务器320发送的指令,执行相对应的操作,通信模块用于与手机310或服务器320进行数据交互。Moreover, the smart speaker 330 may include: a user operation module, a service execution module and a communication module. The user operation module is used to detect the operation triggered by the user on the smart speaker 330 , the service execution module is used to execute the corresponding operation according to the operation triggered by the user or the instruction sent by the server 320 , and the communication module is used to carry out the operation with the mobile phone 310 or the server 320 . Data interaction.
需要说明的是,上述仅是以第一电子设备为手机310、第二电子设备为智能音响为例进行说明,而在实际应用中,第一电子设备还可以为平板电脑、PDA或其他便于手持的电子设备,第二电子设备还可以为电视、智能电灯、智能豆浆机、空调或其他电子设备,本申请实施例对第一电子设备和第二电子设备不做限定。It should be noted that the above description is only based on the case where the first electronic device is a mobile phone 310 and the second electronic device is a smart speaker. The second electronic device may also be a TV, a smart lamp, a smart soymilk maker, an air conditioner, or other electronic devices, and the embodiments of the present application do not limit the first electronic device and the second electronic device.
本申请实施例中第二电子设备可以具有显示屏也可以不具有显示屏,但是无论第二电子设备是否具有显示屏,用户可以借助第一电子设备的显示屏实现对第二电子设备的管理。In this embodiment of the present application, the second electronic device may or may not have a display screen, but regardless of whether the second electronic device has a display screen, the user can manage the second electronic device with the help of the display screen of the first electronic device.
图4是本申请实施例提供的一种电子设备的结构示意图。所述电子设备400可以为桌面型、膝上型、平板或手持计算机,还可对应于诸如蜂窝电话、PDA、专用媒体播放器、消费类电子设备等等的计算设备。该电子设备可以为上述第一电子设备,也可以为第二电子设备,本申请对此不做限定。所述电子设备400包括:FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The electronic device 400 may be a desktop, laptop, tablet, or handheld computer, and may also correspond to computing devices such as cellular telephones, PDAs, dedicated media players, consumer electronic devices, and the like. The electronic device may be the above-mentioned first electronic device, or may be the second electronic device, which is not limited in this application. The electronic device 400 includes:
处理器,可以控制电子设备的操作系统的各组件之间输入和输出数据的接收和操纵。本案中处理器用于确定第二电子设备对应的应用服务。A processor that controls the receipt and manipulation of input and output data between components of the electronic device's operating system. In this case, the processor is used to determine the application service corresponding to the second electronic device.
通信模块,用于将电子设备400连接到互联网并能与部署在互联网上的服务器进行数据通信,应用服务与服务器的数据交互都通过通信模块,例如,通信模块用于向服务器发送由输入设备获取到的用户输入的内容。本案中通信模块可用于向服务器请求第二电子设备对应的应用服务,并接收服务器发送的应用服务,也可以用于向服务器发送用户触发的操作指令,还可以用于接收服务器转发的第二电子设备针对操作指令反馈的反馈结果。The communication module is used to connect the electronic device 400 to the Internet and perform data communication with the server deployed on the Internet. The data interaction between the application service and the server is through the communication module. For example, the communication module is used to send data to the server obtained by the input device. to the user input. In this case, the communication module can be used to request the server for the application service corresponding to the second electronic device and receive the application service sent by the server. The feedback result of the device in response to the operation command.
存储器,所述存储器可以与处理器连接,用于存储供电子设备400使用的操作系统、应用程序信息等。存储器可包括只读存储器(ROM)、随机存取存储器(RAM)等,信息也可以驻留在可移动存储介质上并在需要时加载或安装到计算机系统上,可移动存储介质包括SD存储卡。本方案中,存储器用于存储第二电子设备的设备描述信息和应用服务。A memory, which may be connected to the processor, for storing operating system, application program information, etc. used by the electronic device 400 . Memory may include read only memory (ROM), random access memory (RAM), etc. Information may also reside on removable storage media, including SD memory cards, and be loaded or installed on a computer system when needed . In this solution, the memory is used to store device description information and application services of the second electronic device.
显示设备,与处理器连接,用于接收处理器返回的处理结果并进行显示。显示设备通常具有图形用户接口(graphical user interface,GUI),GUI在计算机系统的用户和在其上运行的操作系统或应用之间提供一个易于使用的用户接口。The display device is connected with the processor, and is used for receiving the processing result returned by the processor and displaying it. Display devices typically have a graphical user interface (GUI) that provides an easy-to-use user interface between a user of a computer system and an operating system or application running on it.
输入设备,与处理器连接,用于接收用户输入的操作。所述输入设备可以是放置在显示设备之上或之前的触摸板或触摸屏,可基于各种感应技术,包括但不限于电容感应、电阻感应、表面声波感应、压力感应、光感应等。所述触摸板或触摸屏可以与显示设备集成在一起或者可以是单独的部件。所述输入设备可以是单点或多点输入设备。本方案中,输入设备用于接收用户的控制操作。An input device, connected to the processor, is used to receive user input operations. The input device may be a touch pad or touch screen placed on or before the display device, and may be based on various sensing technologies, including but not limited to capacitive sensing, resistive sensing, surface acoustic wave sensing, pressure sensing, light sensing, and the like. The touchpad or touchscreen may be integrated with the display device or may be a separate component. The input device may be a single-point or multi-point input device. In this solution, the input device is used to receive the user's control operation.
近场感知设备,所述近场感知设备可以是NFC模组,BT模组或Wi-Fi模组,近 场感知设备用于第一电子设备与第二电子设备建立近距离通信连接。例如,用户在进行碰一碰操作时,近场感知设备会发出设备搜索信号,用于查找电子设备400附近的智能家居设备,并接收各个智能家居设备反馈的响应信号,则电子设备可以获取设备搜索信号和响应信号,并通过解析设备搜索信号和响应信号之间的时间查找,识别与电子设备400触发碰一碰的智能家居设备,从而建立第一电子设备与第二电子设备之间的近距离通信连接。A near-field sensing device, the near-field sensing device can be an NFC module, a BT module or a Wi-Fi module, and the near-field sensing device is used for the first electronic device to establish a short-range communication connection with the second electronic device. For example, when the user performs a touch operation, the near-field sensing device will send a device search signal to find smart home devices near the electronic device 400, and receive response signals fed back by each smart home device, then the electronic device can obtain the device Search for the signal and the response signal, and identify the smart home device that touches the electronic device 400 by analyzing the time between the device's search signal and the response signal, thereby establishing a close proximity between the first electronic device and the second electronic device. Distance communication connection.
图5是本申请实施例提供的一种跨设备的控制方法的示意性流程图,作为示例而非限定,该方法可以应用于上述第一电子设备中,参见图5,该方法包括:FIG. 5 is a schematic flowchart of a cross-device control method provided by an embodiment of the present application. As an example and not a limitation, the method can be applied to the above-mentioned first electronic device. Referring to FIG. 5 , the method includes:
步骤501、在第一电子设备和第二电子设备之间的距离满足预先设置的范围条件时,响应于用户针对第一电子设备或第二电子设备触发的碰一碰操作,在第一电子设备的显示界面的第一区域显示操作界面。Step 501: When the distance between the first electronic device and the second electronic device satisfies the preset range condition, in response to the touch operation triggered by the user for the first electronic device or the second electronic device, in the first electronic device The first area of the display interface displays the operation interface.
其中,预先设置的范围条件可以为第一电子设备和第二电子设备之间的距离小于或等于距离阈值,该距离阈值可以根据第一电子设备的近场感知设备对应的不同模组进行调整。例如,若近场感知设备为NFC模组,则该距离阈值可以为1厘米;若近场感知设备为BT模组,则该距离阈值可以为10米;若近场感知设备为Wi-Fi模组,则该距离阈值可以为局域网中路由器数量和排布的位置进行设置,本申请实施例对距离阈值不做限定。The preset range condition may be that the distance between the first electronic device and the second electronic device is less than or equal to a distance threshold, and the distance threshold may be adjusted according to different modules corresponding to the near-field sensing device of the first electronic device. For example, if the near-field sensing device is an NFC module, the distance threshold can be 1 cm; if the near-field sensing device is a BT module, the distance threshold can be 10 meters; if the near-field sensing device is a Wi-Fi module group, the distance threshold may be set for the number and arrangement of routers in the local area network, and the distance threshold is not limited in this embodiment of the present application.
而且,碰一碰操作可以为第一电子设备与第二电子设备之间发生的触碰操作,也可以为第一电子设备和第二电子设备之间的距离满足范围条件时,用户对第一电子设备触发的靠近第二电子设备的操作,或用户对第二电子设备触发的靠近第一电子设备的操作,还可以为第一电子设备和第二电子设备之间的距离满足范围条件时,用户对第一电子设备或第二电子设备触发的摇一摇操作,当然,碰一碰操作还可以为其他第一电子设备或第二电子设备能够感知的、用于建立第一电子设备和第二电子设备之间的近距离通信连接操作,本申请实施例对碰一碰操作不做限定。Moreover, the touch operation may be a touch operation that occurs between the first electronic device and the second electronic device, or it may be that when the distance between the first electronic device and the second electronic device satisfies the range condition, the user The operation triggered by the electronic device to approach the second electronic device, or the operation triggered by the user to the second electronic device to approach the first electronic device, can also be when the distance between the first electronic device and the second electronic device satisfies the range condition, The shaking operation triggered by the user on the first electronic device or the second electronic device, of course, the touching operation can also be sensed by other first electronic devices or second electronic devices and used to establish the relationship between the first electronic device and the second electronic device. The short-range communication connection operation between the two electronic devices does not limit the touch-to-touch operation in this embodiment of the present application.
另外,操作界面为第二电子设备对应的界面,操作界面中可以包括多个控件。第一电子设备可以检测用户在操作界面触发的控制操作,以便第一电子设备可以根据控制操作对第二电子设备进行控制。第二电子设备对应的操作界面是根据第二电子设备对应的应用服务生成的。In addition, the operation interface is an interface corresponding to the second electronic device, and the operation interface may include multiple controls. The first electronic device can detect the control operation triggered by the user on the operation interface, so that the first electronic device can control the second electronic device according to the control operation. The operation interface corresponding to the second electronic device is generated according to the application service corresponding to the second electronic device.
需要说明的是,第一电子设备的显示界面可以为第一电子设备向用户展示的界面,显示界面中的第一区域可以为预先设置的区域,第一区域的位置也可以根据用户触发的操作在显示界面中进行调整。It should be noted that the display interface of the first electronic device may be an interface displayed by the first electronic device to the user, the first area in the display interface may be a preset area, and the position of the first area may also be based on an operation triggered by the user Make adjustments in the display interface.
例如,参见图6,若第二电子设备为智能音响,第一电子设备的显示界面61的第一区域中,可以显示与智能音响对应的操作界面62。操作界面62可以根据用户触发的操作,在显示界面61中进行移动,则显示界面61的第一区域与相应发生改变。For example, referring to FIG. 6 , if the second electronic device is a smart speaker, an operation interface 62 corresponding to the smart speaker may be displayed in the first area of the display interface 61 of the first electronic device. The operation interface 62 can be moved in the display interface 61 according to the operation triggered by the user, and the first area of the display interface 61 changes accordingly.
需要说明的是,在实际应用中,第一电子设备的显示界面可以通过第一电子设备集成的显示屏显示,也可以通过与第一电子设备连接的外置显示屏显示。例如,若第一电子设备为手机,则可以通过手机的屏幕显示手机的显示界面;若第一电子设备为电脑,则可以通过与电脑主机连接的显示器显示电脑的界面。It should be noted that, in practical applications, the display interface of the first electronic device may be displayed through a display screen integrated with the first electronic device, or may be displayed through an external display screen connected to the first electronic device. For example, if the first electronic device is a mobile phone, the display interface of the mobile phone can be displayed on the screen of the mobile phone; if the first electronic device is a computer, the interface of the computer can be displayed on a display connected to the computer host.
另外,用户可以不在第一电子设备展示的操作界面上触发控制操作,则第一电子设备可以不再执行步骤502,仅向用户展示第二电子设备对应的操作界面,以使用户可以根据该操作界面获知第二电子设备对应的信息。In addition, the user may not trigger the control operation on the operation interface displayed by the first electronic device, then the first electronic device may not perform step 502, and only display the operation interface corresponding to the second electronic device to the user, so that the user can follow the operation according to the operation interface. The interface acquires information corresponding to the second electronic device.
进一步地,操作界面也可以仅包括第二电子设备的信息,而不包括控件,例如,操作界面可以仅包括智能音响的名称、型号和剩余电量等信息,本申请实施例对操作界面所包括的内容不做限定。Further, the operation interface may only include the information of the second electronic device, but not the controls. For example, the operation interface may only include information such as the name, model, and remaining power of the smart speaker. The content is not limited.
也即是,第一电子设备在执行完毕步骤501之后,不再执行步骤502,仅向用户展示第二电子设备对应的操作界面,用户不会在操作界面触发控制指令,第一电子设备也不会根据用户触发的操作指令控制第二电子设备。That is, after the first electronic device completes step 501, it does not perform step 502, and only displays the operation interface corresponding to the second electronic device to the user. The second electronic device is controlled according to the operation instruction triggered by the user.
步骤502、响应于用户在操作界面触发的操作指令,第一电子设备控制第二电子设备执行操作指令对应的操作。Step 502: In response to the operation instruction triggered by the user on the operation interface, the first electronic device controls the second electronic device to perform the operation corresponding to the operation instruction.
其中,操作指令可以是第一电子设备根据用户在操作界面触发的控制操作生成的,控制操作可以为用户在操作界面上触发的点击操作、滑动操作或拖拽操作,本申请实施例对控制操作不做限定。The operation instruction may be generated by the first electronic device according to a control operation triggered by the user on the operation interface, and the control operation may be a click operation, a sliding operation or a dragging operation triggered by the user on the operation interface. Not limited.
第一电子设备在显示操作界面后,当第一电子设备检测到用户在操作界面触发的控制操作时,第一电子设备可以根据该控制操作,生成与控制操作相对应的操作指令,通过操作指令对第二电子设备进行控制,使得第二电子设备可以执行相应的操作。第一电子设备无需开启与第二电子设备对应的应用程序即可实现对第二电子设备进行控制,提高了控制第二电子设备的效率和灵活性。After the first electronic device displays the operation interface, when the first electronic device detects a control operation triggered by the user on the operation interface, the first electronic device can generate an operation instruction corresponding to the control operation according to the control operation, and use the operation instruction to generate an operation instruction corresponding to the control operation. The second electronic device is controlled so that the second electronic device can perform corresponding operations. The first electronic device can control the second electronic device without opening an application program corresponding to the second electronic device, which improves the efficiency and flexibility of controlling the second electronic device.
在第一电子设备控制第二电子设备的过程中,第一电子设备可以响应于在操作界面触发的操作指令,生成并向服务器发送控制指令,服务器可以向第二电子设备转发该控制指令,第二电子设备则可以根据该控制指令,执行相对应的操作,实现第一电子设备对第二电子设备的控制。During the process of the first electronic device controlling the second electronic device, the first electronic device may generate and send the control command to the server in response to the operation command triggered on the operation interface, and the server may forward the control command to the second electronic device, and the first electronic device may The second electronic device can perform corresponding operations according to the control instruction, so as to realize the control of the second electronic device by the first electronic device.
例如,仍以第二电子设备是智能音响为例进行说明,第一电子设备可以通过触发的点击操作,控制智能音响对播放模式、播放的歌曲和歌曲的播放暂停进行控制;第一电子设备可以通过触发的滑动操作,控制智能音响对播放的歌曲的进度进行调整;第一电子设备可以通过触发的拖拽操作,对操作界面在第一电子设备中所显示的位置进行调整。For example, still taking the second electronic device as an example of a smart speaker for illustration, the first electronic device can control the smart speaker to control the playback mode, the song played and the playback pause of the song through a triggered click operation; the first electronic device can Through the triggered sliding operation, the smart speaker is controlled to adjust the progress of the song being played; the first electronic device can adjust the displayed position of the operation interface in the first electronic device through the triggered drag operation.
综上所述,本申请实施例提供的跨设备的控制方法,在第一电子设备和第二电子设备之间的距离满足预先设置的范围条件时,响应于用户针对第一电子设备或第二电子设备触发的碰一碰操作,在第一电子设备的显示界面的第一区域显示第二电子设备对应的操作界面,响应于用户在操作界面触发的操作指令,第一电子设备可以控制第二电子设备执行操作指令对应的操作,与第一电子设备通过运行第二电子设备对应的应用程序后实现对第二电子设备的控制相比,本申请无需通过第二电子设备对应的应用程序即可利用第一电子设备显示的控制界面,基于用户在控制界面触发的操作指令,实现对第二电子设备的控制,因此可以减少第一电子设备控制第二电子设备的流程,提高了第一电子设备控制第二电子设备的效率和灵活性。To sum up, in the cross-device control method provided by the embodiments of the present application, when the distance between the first electronic device and the second electronic device satisfies the preset range condition, in response to the user targeting the first electronic device or the second electronic device The touch operation triggered by the electronic device displays the operation interface corresponding to the second electronic device in the first area of the display interface of the first electronic device. In response to the operation instruction triggered by the user on the operation interface, the first electronic device can control the second electronic device. The electronic device executes the operation corresponding to the operation instruction. Compared with the control of the second electronic device by the first electronic device after running the application program corresponding to the second electronic device, the present application does not need to pass the application program corresponding to the second electronic device. Using the control interface displayed by the first electronic device, based on the operation instructions triggered by the user on the control interface, the control of the second electronic device is realized, so the process of controlling the second electronic device by the first electronic device can be reduced, and the first electronic device can be improved. Efficiency and flexibility in controlling the second electronic device.
而且,通过在第一电子设备上显示第二电子设备的操作界面,对于不具有显示屏的第二电子设备而言,便于用户根据第一电子设备上显示的第二电子设备的操作界面 明确第二电子设备对应的内容(如第二电子设备当前正在播放的内容或第二电子设备正在执行的调温操作),或者便于用户在第一电子设备上显示的第二电子设备的操作界面上执行相关操作,实现对第二电子设备的控制,提高了控制第二电子设备的便捷性。Moreover, by displaying the operation interface of the second electronic device on the first electronic device, for the second electronic device without a display screen, it is convenient for the user to identify the first electronic device according to the operation interface of the second electronic device displayed on the first electronic device. The content corresponding to the second electronic device (such as the content currently being played by the second electronic device or the temperature adjustment operation being performed by the second electronic device), or it is convenient for the user to execute on the operation interface of the second electronic device displayed on the first electronic device The related operation realizes the control of the second electronic device and improves the convenience of controlling the second electronic device.
参见图7,图7是第一电子设备执行步骤501的流程示意图,如图7所示,步骤501可以包括:步骤501a、步骤501b和步骤501c。Referring to FIG. 7, FIG. 7 is a schematic flowchart of the first electronic device performing step 501. As shown in FIG. 7, step 501 may include: step 501a, step 501b, and step 501c.
步骤501a、响应于用户针对第一电子设备或第二电子设备触发的碰一碰操作,第一电子设备建立与第二电子设备之间的近距离通信连接。 Step 501a, in response to a touch operation triggered by the user on the first electronic device or the second electronic device, the first electronic device establishes a short-range communication connection with the second electronic device.
第一电子设备可以检测用户对第一电子设备触发的碰一碰操作,若检测到对第一电子设备触发的碰一碰操作,则可以通过第一电子设备的近场感知设备与第二电子设备建立近距离通信连接,以便在后续步骤中,第一电子设备可以通过近距离通信连接获取第二电子设备的设备描述信息。The first electronic device can detect the touch operation triggered by the user on the first electronic device, and if the touch operation triggered by the first electronic device is detected, it can communicate with the second electronic device through the near-field sensing device of the first electronic device. The device establishes a short-range communication connection, so that in a subsequent step, the first electronic device can obtain the device description information of the second electronic device through the short-range communication connection.
其中,第一电子设备的近场感知设备可以采用Wi-Fi、蓝牙或NFC的方式与第二电子设备建立近距离通信连接。相对应的,第一电子设备与第二电子设备之间的近距离通信连接可以为近场通信NFC连接、蓝牙连接或无线保真Wi-Fi网络连接,本申请实施例对此不做限定。Wherein, the near-field sensing device of the first electronic device may establish a short-range communication connection with the second electronic device by means of Wi-Fi, Bluetooth or NFC. Correspondingly, the short-range communication connection between the first electronic device and the second electronic device may be a near-field communication NFC connection, a Bluetooth connection, or a Wi-Fi network connection, which is not limited in this embodiment of the present application.
例如,当近场感知设备为蓝牙模组时,用户可以对第一电子设备触发第一电子设备与第二电子设备之间的碰一碰操作,则第一电子设备可以发送设备搜索信号,并接收各个第二电子设备反馈的响应信号,而各个第二电子设备与第一电子设备之间的距离不同,接收设备搜索信号并向第一电子设备发送响应信号所需的时间也不同,则第一电子设备可以根据接收各个响应信号的时刻,确定距离最近的第二电子设备,而与第一电子设备距离最近的第二电子设备即为与第一电子设备发生碰一碰的第二电子设备,则第一电子设备可以与确定的第二电子设备建立近场通信连接。For example, when the near-field sensing device is a Bluetooth module, the user can trigger a touch operation between the first electronic device and the second electronic device on the first electronic device, then the first electronic device can send a device search signal, and Receive the response signal fed back by each second electronic device, and the distance between each second electronic device and the first electronic device is different, and the time required for the receiving device to search for the signal and send the response signal to the first electronic device is also different, then the first electronic device is different. An electronic device can determine the second electronic device that is closest to the first electronic device according to the moment of receiving each response signal, and the second electronic device that is closest to the first electronic device is the second electronic device that touches the first electronic device. , the first electronic device can establish a near field communication connection with the determined second electronic device.
当近场感知设备包括Wi-Fi模组、并且包括NFC模组或蓝牙模组时,用户可以对第一电子设备触发第一电子设备与第二电子设备之间的碰一碰操作,则第一电子设备可以先通过NFC模组或蓝牙模组获取第二电子设备的MAC地址,再向智能家居系统的局域网路由器发送第二电子设备的MAC地址,使得路由器可以将第二电子设备拉入局域网中,从而通过Wi-Fi实现近场通信连接。When the near-field sensing device includes a Wi-Fi module, and includes an NFC module or a Bluetooth module, the user can trigger the touch operation between the first electronic device and the second electronic device on the first electronic device, then the first electronic device An electronic device can first obtain the MAC address of the second electronic device through the NFC module or the Bluetooth module, and then send the MAC address of the second electronic device to the local area network router of the smart home system, so that the router can pull the second electronic device into the local area network. , so as to realize the near field communication connection through Wi-Fi.
需要说明的是,在通过蓝牙模组或Wi-Fi模组建立连接时,第一电子设备可以先根据用户触发的操作开启蓝牙功能或Wi-Fi功能,以便可以通过开启的功能与第二电子设备建立近场通信连接。若第一电子设备并未开启蓝牙功能或Wi-Fi功能,则无法通过蓝牙模组或Wi-Fi模组建立连接。It should be noted that when the connection is established through the Bluetooth module or the Wi-Fi module, the first electronic device can first enable the Bluetooth function or the Wi-Fi function according to the operation triggered by the user, so that the enabled function can communicate with the second electronic device. The device establishes a near field communication connection. If the first electronic device does not have the Bluetooth function or the Wi-Fi function turned on, the connection cannot be established through the Bluetooth module or the Wi-Fi module.
步骤501b、第一电子设备确定第二电子设备的设备描述信息。 Step 501b, the first electronic device determines the device description information of the second electronic device.
其中,设备描述信息用于描述第二电子设备,设备描述信息可以包括一个或多个描述第二电子设备的字段。The device description information is used to describe the second electronic device, and the device description information may include one or more fields describing the second electronic device.
例如,以第二电子设备的设备描述信息包括第一字段、第二字段和第三字段为例进行说明,其中第一字段可以表示第二电子设备的生产厂商的身份。第一电子设备可以根据生产厂商的身份确定第一电子设备内部能够处理该设备描述信息的数据处理模 块(如应用路由服务(APP Router Service))。第二字段可以为第二电子设备对应的操作界面的标识。第一电子设备可以根据第二字段确定第二电子设备对应的应用服务。第三字段用于识别第二电子设备的标识。例如,第三字段可以为第二电子设备的物理地址(如互联网协议(internet protocol,IP)地址和/或媒体接入控制(medium access control,MAC)地址),第一电子设备可以根据第三字段对应用服务进行初始化。当然,设备描述信息还可以包括其他描述第二电子设备的字段,本申请实施例对此不做限定。For example, the device description information of the second electronic device includes a first field, a second field and a third field for illustration, where the first field may represent the identity of the manufacturer of the second electronic device. The first electronic device may determine, according to the identity of the manufacturer, a data processing module (such as an APP Router Service) inside the first electronic device that can process the device description information. The second field may be the identifier of the operation interface corresponding to the second electronic device. The first electronic device may determine the application service corresponding to the second electronic device according to the second field. The third field is used to identify the identity of the second electronic device. For example, the third field may be a physical address (such as an internet protocol (IP) address and/or a medium access control (MAC) address) of the second electronic device, and the first electronic device may field to initialize the application service. Certainly, the device description information may also include other fields describing the second electronic device, which are not limited in this embodiment of the present application.
若第一电子设备与第二电子设备已经建立了近距离通信连接,说明第一电子设备可以与第二电子设备进行数据交互,则第一电子设备可以基于第一电子设备与第二电子设备之间的近距离通信连接,确定第二电子设备的设备描述信息。也即是,第一电子设备可以向第二电子设备发送请求消息,第二电子设备则可以根据该请求消息向第二电子设备反馈设备描述信息,第一电子设备则可以接收设备描述信息,从而获取第二电子设备的设备描述信息。If the first electronic device and the second electronic device have established a short-range communication connection, it means that the first electronic device can perform data interaction with the second electronic device. The short-range communication connection between the two electronic devices determines the device description information of the second electronic device. That is, the first electronic device can send a request message to the second electronic device, the second electronic device can feed back the device description information to the second electronic device according to the request message, and the first electronic device can receive the device description information, thereby Obtain device description information of the second electronic device.
具体地,第一电子设备可以向第二电子设备发送请求,用于向第二电子设备请求第二电子设备的设备描述信息,第二电子设备则可以根据该请求,向第一电子设备反馈预先存储的设备描述信息。Specifically, the first electronic device may send a request to the second electronic device for requesting the device description information of the second electronic device from the second electronic device, and the second electronic device may, according to the request, feed back advance information to the first electronic device Stored device description information.
相应的,第一电子设备在向第二电子设备发送的请求后,则可以等待并接收第二电子设备反馈的设备描述信息。但是,第一电子设备若在预设时长内并未接收到第二电子设备发送的设备描述信息,说明第一电子设备可能并未与第二电子设备建立近距离通信连接,也可能第二电子设备并未收到第一电子设备发送的请求,则第一电子设备可以提醒用户获取设备描述信息失败,无法控制第二电子设备。Correspondingly, after sending the request to the second electronic device, the first electronic device can wait for and receive the device description information fed back by the second electronic device. However, if the first electronic device does not receive the device description information sent by the second electronic device within the preset period of time, it means that the first electronic device may not have established a short-range communication connection with the second electronic device, or the second electronic device may not have established a short-range communication connection. If the device does not receive the request sent by the first electronic device, the first electronic device may remind the user that the acquisition of the device description information fails and cannot control the second electronic device.
需要说明的是,第一电子设备可以根据不同的近场感知设备,采用不同的方式获取第二电子设备的设备描述信息。例如,当第一电子设备的近场感知设备为NFC模组时,第一电子设备的NFC感应区靠近第二电子设备的NFC标签的过程中,若第一电子设备的NFC扫描到第二电子设备NFC标签,则可以获取该NFC标签的信息,也即是获取第二电子设备的设备描述信息。It should be noted that the first electronic device may acquire the device description information of the second electronic device in different ways according to different near-field sensing devices. For example, when the near-field sensing device of the first electronic device is an NFC module, when the NFC sensing area of the first electronic device is close to the NFC tag of the second electronic device, if the NFC of the first electronic device scans the second electronic device device NFC tag, the information of the NFC tag can be obtained, that is, the device description information of the second electronic device can be obtained.
但是,当第一电子设备的近场感知设备为蓝牙模组时,第一电子设备可以通过蓝牙通信的方式,向第二电子设备发送信息请求。第二电子设备则可以接收该信息请求,并根据该信息请求向第一电子设备反馈第二电子设备的设备描述信息。第一电子设备则可以接收第二电子设备发送的设备描述信息。However, when the near-field sensing device of the first electronic device is a Bluetooth module, the first electronic device can send an information request to the second electronic device by means of Bluetooth communication. The second electronic device may receive the information request, and feed back the device description information of the second electronic device to the first electronic device according to the information request. The first electronic device may receive the device description information sent by the second electronic device.
而在第一电子设备的近场感知设备为Wi-Fi模组时,第一电子设备可以通过Wi-Fi无线网络向局域网中的路由器发送信息请求,通过路由器向第二电子设备转发该信息请求。第二电子设备则可以接收路由器转发的信息请求,并根据该信息请求向路由反馈第二电子设备的设备描述信息,也通过路由器向第一电子设备转发该信息请求。第一电子设备则可以接收路由器转发的第二电子设备的设备描述信息。When the near-field sensing device of the first electronic device is a Wi-Fi module, the first electronic device can send an information request to the router in the local area network through the Wi-Fi wireless network, and forward the information request to the second electronic device through the router . The second electronic device may receive the information request forwarded by the router, feed back the device description information of the second electronic device to the router according to the information request, and also forward the information request to the first electronic device through the router. The first electronic device may receive the device description information of the second electronic device forwarded by the router.
步骤501c、第一电子设备根据设备描述信息,确定并在第一电子设备的显示界面的第一区域显示操作界面。 Step 501c, the first electronic device determines and displays the operation interface in the first area of the display interface of the first electronic device according to the device description information.
第一电子设备可以根据描述信息,确定第一电子设备是否具有第二电子设备对应的应用服务,以便根据确认结果从第一电子设备的本地存储空间或服务器获取第二电 子设备对应的应用服务,并通过运行第二电子设备对应的应用服务确定并向用户展示第二电子设备的操作界面。The first electronic device can determine whether the first electronic device has an application service corresponding to the second electronic device according to the description information, so as to obtain the application service corresponding to the second electronic device from the local storage space or server of the first electronic device according to the confirmation result, The operation interface of the second electronic device is determined and displayed to the user by running the application service corresponding to the second electronic device.
其中,应用服务用于确定操作界面,也即是,用于显示第二电子设备对应的操作界面。应用服务可以预先存储在第一电子设备中,也可以是第一电子设备向服务器请求得到的,本申请实施例对第一电子设备获取应用服务的方式也不做限定。The application service is used to determine the operation interface, that is, used to display the operation interface corresponding to the second electronic device. The application service may be pre-stored in the first electronic device, or may be obtained by the first electronic device requesting the server, and the embodiment of the present application does not limit the manner in which the first electronic device obtains the application service.
而且,应用服务可以包括用于显示操作界面的界面信息。在显示操作界面的过程中,应用服务可以根据界面信息,确定操作界面包括的各个控件、各个控件的位置、以及第二电子设备对应的信息,之后可以生成第二电子设备。Also, the application service may include interface information for displaying the operation interface. In the process of displaying the operation interface, the application service can determine each control included in the operation interface, the position of each control, and the information corresponding to the second electronic device according to the interface information, and then the second electronic device can be generated.
例如,界面信息可以包括一个或多个界面元素。以第二电子设备为智能音响为例,上述一个或多个元素可以包括播放模式、上一曲、播放/暂停、下一曲、是否显示歌词、以及进度条等多个控件。第一电子设备可以根据界面信息得到第二电子设备对应的操作界面。关于如何根据界面信息得到第二电子设备对应的操作界面的过程可以参考现有技术中的描述,本申请实施例对此不做限定。For example, interface information may include one or more interface elements. Taking the second electronic device as an intelligent speaker as an example, the above-mentioned one or more elements may include multiple controls such as play mode, previous song, play/pause, next song, whether to display lyrics, and a progress bar. The first electronic device may obtain an operation interface corresponding to the second electronic device according to the interface information. For the process of how to obtain the operation interface corresponding to the second electronic device according to the interface information, reference may be made to the description in the prior art, which is not limited in this embodiment of the present application.
另外,第一电子设备可以检测用户在操作界面触发的控制操作,并根据检测到的控制操作对第二电子设备进行控制。例如,仍以第二电子设备是智能音响为例进行说明,智能音响的操作界面可以包括:播放模式、上一曲、播放/暂停、下一曲、是否显示歌词、以及进度条等多个控件,用户可以通过点击操作界面中各个控件即可实现对智能音响的控制。In addition, the first electronic device may detect a control operation triggered by the user on the operation interface, and control the second electronic device according to the detected control operation. For example, still taking the second electronic device as an example of a smart speaker for illustration, the operation interface of the smart speaker may include multiple controls such as play mode, previous song, play/pause, next song, whether to display lyrics, and a progress bar. , the user can control the smart speaker by clicking on each control in the operation interface.
可选的,第一电子设备可以根据设备描述信息,确定第二电子设备的应用服务,再根据应用服务,确定操作界面后,在第一电子设备的显示界面的第一区域显示操作界面。Optionally, the first electronic device may determine the application service of the second electronic device according to the device description information, and then determine the operation interface according to the application service, and display the operation interface in the first area of the display interface of the first electronic device.
第一电子设备可以包括处理器和存储器等多个硬件,而在处理器运行的过程中,可以运行存储器中存储的多个功能模块,以确定第一电子设备的存储器中是否具有第二电子设备对应的应用服务。The first electronic device may include a plurality of hardware such as a processor and a memory, and during the operation of the processor, a plurality of functional modules stored in the memory may be executed to determine whether the memory of the first electronic device has a second electronic device corresponding application service.
其中,第一电子设备中可以具有操作系统、数据处理模块和消息分发模块,消息分发模块可以包括至少一个分发模块。该数据处理模块用于读取设备描述信息,分发模块用于开启第二电子设备对应的应用服务,并向应用服务发送用于配置初始化应用服务的信息。Wherein, the first electronic device may have an operating system, a data processing module and a message distribution module, and the message distribution module may include at least one distribution module. The data processing module is used to read the device description information, and the distribution module is used to start the application service corresponding to the second electronic device, and send the information for configuring and initializing the application service to the application service.
另外,每个分发模块可以对应至少一个服务应用。例如,参见图8,第一电子设备设置有3个分发模块,分发模块1可以对应应用服务A和应用服务B,分发模块2可以对应应用服务C,分发模块3可以对应应用服务D。若第二电子设备对应的应用服务为应用服务C,则第一电子设备可以通过分发模块2开启并初始化应用服务C,之后则可以通过运行的应用服务C展示第二电子设备对应的操作界面。In addition, each distribution module may correspond to at least one service application. For example, referring to FIG. 8 , the first electronic device is provided with three distribution modules, distribution module 1 may correspond to application service A and application service B, distribution module 2 may correspond to application service C, and distribution module 3 may correspond to application service D. If the application service corresponding to the second electronic device is the application service C, the first electronic device can open and initialize the application service C through the distribution module 2, and then display the operation interface corresponding to the second electronic device through the running application service C.
需要说明的是,在实际应用中,第一电子设备的数据处理模块和分发模块均可以属于相同的软件功能模块,也可以属于不同的软件功能模块,本申请实施例对此不做限定。例如,第一电子设备的数据处理模块和分发模块均可以属于第一电子设备的APP Router Service。It should be noted that, in practical applications, the data processing module and the distribution module of the first electronic device may belong to the same software function module, or may belong to different software function modules, which are not limited in this embodiment of the present application. For example, both the data processing module and the distribution module of the first electronic device may belong to the APP Router Service of the first electronic device.
在一种可能的实现方式中,第一电子设备的操作系统可以读取设备描述信息的预设字段,获取第二电子设备的生产厂商的标识,以确定第二电子设备的生产厂商,并 将生产厂商的标识与第一电子设备的生产厂商的标识进行比较,判断第一电子设备是否与第二电子设备属于同一生产厂商。In a possible implementation manner, the operating system of the first electronic device may read a preset field of the device description information, obtain the identifier of the manufacturer of the second electronic device, so as to determine the manufacturer of the second electronic device, and use the The identification of the manufacturer is compared with the identification of the manufacturer of the first electronic device to determine whether the first electronic device and the second electronic device belong to the same manufacturer.
若第二电子设备与第一电子设备属于同一生产厂商,则可以向预先设置的数据处理模块发送设备描述信息,若第二电子设备与第一电子设备属于不同的生产厂商,则可以向与第二电子设备的生产厂商对应的数据处理模块发送设备描述信息。If the second electronic device and the first electronic device belong to the same manufacturer, the device description information can be sent to the preset data processing module; if the second electronic device and the first electronic device belong to different manufacturers, the device description information can be sent to the The data processing module corresponding to the manufacturer of the second electronic device sends the device description information.
例如,第一电子设备的生产厂商为A,若第二电子设备的生产厂商也为A,则第一电子设备可以向预先存储的数据处理模块发送设备描述信息;若第二电子设备的生产厂商为B,则第一电子设备可以向与B对应的数据处理模块发送设备描述信息;若第二电子设备的生产厂商为C,则第一电子设备可以向与C对应的数据处理模块发送设备描述信息。For example, the manufacturer of the first electronic device is A, and if the manufacturer of the second electronic device is also A, the first electronic device can send device description information to the pre-stored data processing module; if the manufacturer of the second electronic device is A is B, then the first electronic device can send device description information to the data processing module corresponding to B; if the manufacturer of the second electronic device is C, then the first electronic device can send device description information to the data processing module corresponding to C information.
之后,第一电子设备的数据处理模块可以对设备描述信息中的除去标识生产厂商的身份之外的其他字段进行逐个读取,确定第二电子设备对应的应用服务,并获取用于初始化应用服务的配置信息,以便开启应用服务并通过应用服务显示操作界面。Afterwards, the data processing module of the first electronic device can read the other fields in the device description information except for the identity of the identification manufacturer one by one, determine the application service corresponding to the second electronic device, and obtain the application service for initialization. configuration information in order to start the application service and display the operation interface through the application service.
进一步地,在第一电子设备获取应用服务的过程中,第一电子设备可以先查找是否存储有应用服务,若存储有应用服务,则第一电子设备可以通过分发模块开启应用服务,并通过第二电子设备的设备描述信息初始化该应用服务。Further, in the process of acquiring the application service by the first electronic device, the first electronic device may first find out whether the application service is stored, and if the application service is stored, the first electronic device may enable the application service through the distribution module, and use the The device description information of the second electronic device initializes the application service.
下述将分别介绍第一电子设备获取第二电子设备a的应用服务的方式:The following will respectively introduce the manner in which the first electronic device obtains the application service of the second electronic device a:
方式a,第一电子设备中具有各个第二电子设备的应用服务。例如,第一电子设备中具有各个第二电子设备的设备描述信息,和每个设备描述信息关联的应用服务。第一电子设备在获取第二电子设备a的设备描述信息后,第一电子设备可以从上述各个第二电子设备的应用服务中确定第二电子设备a的应用服务。然后第一电子设备根据第二电子设备a的应用服务显示第二电子设备a的操作界面。Manner a, the first electronic device has application services of each second electronic device. For example, the first electronic device has device description information of each second electronic device, and application services associated with each device description information. After the first electronic device acquires the device description information of the second electronic device a, the first electronic device may determine the application service of the second electronic device a from the application services of each second electronic device described above. Then, the first electronic device displays the operation interface of the second electronic device a according to the application service of the second electronic device a.
方式b,当前智能家居场景中还包括其他可以存储有应用服务的第一电子设备(如电脑、笔记本电脑或平板电脑等),则第一电子设备在获取第二电子设备a的设备描述信息后,可以向其他第一电子设备请求第二电子设备a的应用服务,并根据请求得到的应用服务。Mode b, the current smart home scene also includes other first electronic devices (such as computers, laptops or tablet computers) that can store application services, then the first electronic device obtains the device description information of the second electronic device a after obtaining the device description information of the second electronic device a. , the application service of the second electronic device a can be requested from other first electronic devices, and the application service can be obtained according to the request.
值得说明的是,如果第一电子设备通过上述方式a获取第二电子设备a的应用服务,那么如图1所示的系统架构中可以不包括服务器。It should be noted that, if the first electronic device obtains the application service of the second electronic device a through the above method a, the system architecture shown in FIG. 1 may not include a server.
但是,若第一电子设备并不具有第二电子设备的应用服务,则第一电子设备可以根据设备描述信息向服务器请求第二电子设备对应的应用服务。可选的,第一电子设备可以向服务器发送请求消息,第一电子设备还可以接收来自服务器的应用服务,其中,请求消息用于请求第二电子设备对应的应用服务,请求消息可以携带第二电子设备的设备描述信息。However, if the first electronic device does not have the application service of the second electronic device, the first electronic device may request the server for the application service corresponding to the second electronic device according to the device description information. Optionally, the first electronic device may send a request message to the server, and the first electronic device may also receive an application service from the server, where the request message is used to request an application service corresponding to the second electronic device, and the request message may carry the second Device description information for electronic devices.
例如,若第一电子设备并不具有第二电子设备的应用服务,则第一电子设备可以根据设备描述信息生成请求消息,并向服务器发送该请求消息。服务器则可以接收该请求消息,并根据请求消息中的设备描述信息,确定与第二电子设备对应的应用服务,再向第一电子设备发送第二电子设备对应的应用服务。相对应的,第一电子设备则可以接收服务器发送的第二电子设备对应的应用服务,实现应用服务的获取。For example, if the first electronic device does not have the application service of the second electronic device, the first electronic device may generate a request message according to the device description information, and send the request message to the server. The server may receive the request message, determine the application service corresponding to the second electronic device according to the device description information in the request message, and send the application service corresponding to the second electronic device to the first electronic device. Correspondingly, the first electronic device may receive the application service corresponding to the second electronic device sent by the server, so as to obtain the application service.
需要说明的是,第一电子设备获取的第二电子设备的设备描述信息中,可以包括 服务器的地址,则第一电子设备可以根据该设备描述信息向服务器请求第二电子设备对应的应用服务。而且,第二电子设备对应的应用服务中也可以包括服务器的地址,则在后续第一电子设备控制第二电子设备的过程中,第一电子设备可以根据应用服务中的地址对第二电子设备进行控制。It should be noted that the device description information of the second electronic device obtained by the first electronic device may include the address of the server, and the first electronic device may request the server for an application service corresponding to the second electronic device according to the device description information. Moreover, the application service corresponding to the second electronic device may also include the address of the server, then in the subsequent process of the first electronic device controlling the second electronic device, the first electronic device Take control.
之后,第一电子设备可以运行应用服务,并通过应用服务结合应用服务所包括的界面信息生成第二电子设备的操作界面,并且在第一电子设备的显示界面的第一区域内显示该操作界面,以便第一电子设备可以通过操作界面对第二电子设备进行控制。After that, the first electronic device can run the application service, generate an operation interface of the second electronic device through the application service in combination with the interface information included in the application service, and display the operation interface in the first area of the display interface of the first electronic device , so that the first electronic device can control the second electronic device through the operation interface.
需要说明的是,在实际应用中,第一电子设备的操作界面中不但可以显示各个控件,还可以显示第二电子设备与第一电子设备进行联动相关的信息,例如,若第二电子设备为智能音响,则操作界面还可以显示智能音响当前正在播放的歌曲的名称、歌词和演唱者。It should be noted that, in practical applications, the operation interface of the first electronic device can display not only various controls, but also information related to the linkage between the second electronic device and the first electronic device. For example, if the second electronic device is For smart speakers, the operation interface can also display the name, lyrics and artist of the song currently being played by the smart speaker.
参见图9,图9中示出了智能音响91和第一电子设备所显示的显示界面92,其中,显示界面92中可以包括操作界面921,该操作界面921中可以包括:播放模式921a、上一曲921b、播放/暂停921c、下一曲921d、是否显示歌词921e、以及进度条921f等多个控件;而且,操作界面921中还可以显示智能音响的型号921g、当前正在播放歌曲的名称921h、以及歌曲的演唱者921i;最后,操作界面921中还可以显示歌曲演唱者的图像或歌曲所属专辑的封面921j和歌词921k。Referring to FIG. 9, FIG. 9 shows the display interface 92 displayed by the smart speaker 91 and the first electronic device, wherein the display interface 92 may include an operation interface 921, and the operation interface 921 may include: play mode 921a, upper One song 921b, play/pause 921c, next song 921d, whether to display lyrics 921e, and a progress bar 921f and other controls; moreover, the operation interface 921 can also display the model 921g of the smart speaker, and the name of the currently playing song 921h , and the singer 921i of the song; finally, the operation interface 921 can also display the image of the singer of the song or the cover 921j and lyrics 921k of the album to which the song belongs.
另外,操作界面921中还可以包括投音控件921m,投音控件921m用于对智能音响91播放的音频数据源进行调整。例如,第一电子设备控制智能音响91的过程中,智能音响91默认以服务器提供的音频数据进行播放,若检测到用户对投音控件921m触发操作,则可以通过第一电子设备向智能音响91发送音频数据,智能音响91可以播放第一电子设备提供的音频数据,同时,第一电子设备也可以通过操作界面921向智能音响91发送控制指令,不再通过服务器转发控制指令。In addition, the operation interface 921 may further include a sound projection control 921m, and the sound projection control 921m is used to adjust the audio data source played by the smart speaker 91 . For example, in the process of controlling the smart speaker 91 by the first electronic device, the smart speaker 91 plays the audio data provided by the server by default. When sending audio data, the smart speaker 91 can play the audio data provided by the first electronic device. At the same time, the first electronic device can also send a control command to the smart speaker 91 through the operation interface 921 instead of forwarding the control command through the server.
需要说明的是,上述智能音响播放第一电子设备提供的音频数据的过程中,第一电子设备可以采用近场通信的方式与第二电子设备建立连接并交互数据,在此不再赘述。It should be noted that, during the above-mentioned smart speaker playing audio data provided by the first electronic device, the first electronic device may establish a connection with the second electronic device and exchange data by means of near field communication, which will not be repeated here.
第一电子设备通过查找是否预先存储有第二电子设备对应的应用服务,并根据查找结果确定是否需要向服务器请求应用服务,若预先存储有应用服务,则可以不再向服务器请求应用服务,提高了第一电子设备控制第二电子设备的效率和灵活性。The first electronic device searches whether the application service corresponding to the second electronic device is pre-stored, and determines whether it needs to request the application service from the server according to the search result. If the application service is pre-stored, it can no longer request the application service from the server. The efficiency and flexibility of the first electronic device to control the second electronic device are improved.
而且,第一电子设备可以根据用户触发操作,调整第二电子设备的数据源,使得第二电子设备可以根据服务器或第一电子设备提供的数据源进行联动,提高了第一电子设备控制第二电子设备的灵活性。Moreover, the first electronic device can adjust the data source of the second electronic device according to the user's trigger operation, so that the second electronic device can be linked according to the data source provided by the server or the first electronic device, which improves the control of the second electronic device by the first electronic device. Flexibility of electronic devices.
例如,若第二电子设备为空调,则操作界面还可以显示空调当前的状态,如当前是否工作、调节温度、工作模式和吹风方向等。参见图10,图10中示出了第一电子设备所显示的显示界面102,其中,显示界面102中可以包括空调的操作界面1021,该操作界面1021中可以包括:电源1021a、升温1021b、降温1021c、工作模式1021d和吹风方向1021e等多个控件,而且,操作界面1021中还可以显示空调的型号1021f、目标温度1021g以及当前室内温度1021h。For example, if the second electronic device is an air conditioner, the operation interface can also display the current status of the air conditioner, such as whether it is currently working, adjusting temperature, working mode, and blowing direction. Referring to Fig. 10, Fig. 10 shows a display interface 102 displayed by the first electronic device, wherein the display interface 102 may include an operation interface 1021 of the air conditioner, and the operation interface 1021 may include: a power supply 1021a, a temperature increase 1021b, a temperature decrease 1021c, working mode 1021d and blowing direction 1021e and other controls, and the operation interface 1021 can also display the model 1021f of the air conditioner, the target temperature 1021g and the current indoor temperature 1021h.
另外,第一电子设备在与第二电子设备建立连接的过程中,可以不依赖NFC模组 与第二电子设备建立连接,而是可以通过蓝牙模组或Wi-Fi模组与第二电子设备建立连接,提高了第一电子设备与第二电子设备建立连接的灵活性。In addition, in the process of establishing a connection with the second electronic device, the first electronic device may establish a connection with the second electronic device without relying on the NFC module, but may establish a connection with the second electronic device through a Bluetooth module or a Wi-Fi module Establishing a connection improves the flexibility of establishing a connection between the first electronic device and the second electronic device.
需要说明的是,第一电子设备在执行步骤502的过程中,第一电子设备通过与第二电子设备通信的服务器向第二电子设备发送控制指令,该控制指令用于指示第二电子设备执行操作指令对应的操作。It should be noted that when the first electronic device performs step 502, the first electronic device sends a control instruction to the second electronic device through a server that communicates with the second electronic device, where the control instruction is used to instruct the second electronic device to execute The operation corresponding to the operation command.
进一步地,第二电子设备在执行相对应的操作后,可以向服务器反馈表示执行完毕的执行结果,服务器可以向第一电子设备转发该执行结果,则第一电子设备可以接收来自服务器的第二电子设备对控制指令的反馈结果,并可以根据该反馈结果更新操作界面。Further, after the second electronic device performs the corresponding operation, it can feed back the execution result indicating that the execution is completed to the server, the server can forward the execution result to the first electronic device, and the first electronic device can receive the second electronic device from the server. The feedback result of the electronic device to the control instruction, and the operation interface can be updated according to the feedback result.
例如,参见图11a和图11b,图11a和图11b示出了第一电子设备根据用户触发的切歌操作,第一电子设备所展示的操作界面的变化情况,如图11a所示,第一电子设备与智能音响建立连接后,第一电子设备显示的第二电子设备的操作界面中可以显示如图11a所示的界面,当前正在播放歌曲“P”,并显示歌曲“O”的歌词“ABCDEFG”和演唱者“Q”,若检测到用户对下一曲控件触发的点击形式的控制操作,则第一电子设备可以根据该控制操作生成播放下一曲的控制指令,服务器则可以向智能音响转发该控制指令,智能音响则可以根据该控制指令切换播放下一首歌曲。For example, referring to Fig. 11a and Fig. 11b, Fig. 11a and Fig. 11b show the change of the operation interface displayed by the first electronic device according to the song-cutting operation triggered by the user. As shown in Fig. 11a, the first electronic device After the connection between the electronic device and the smart speaker is established, the interface shown in Figure 11a can be displayed on the operation interface of the second electronic device displayed by the first electronic device. The song "P" is currently playing, and the lyrics of the song "O" are displayed. ABCDEFG" and singer "Q", if the user's control operation in the form of click triggered by the control of the next song is detected, the first electronic device can generate a control instruction to play the next song according to the control operation, and the server can send it to the intelligent The speaker forwards the control command, and the smart speaker can switch to play the next song according to the control command.
相对应的,智能音响在切换播放下一首歌曲后,可以向服务器转发执行结果,服务器则可以向第一电子设备转发该执行结果,参见图11b,第一电子设备可以根据该执行结果,将操作界面更新为播放歌曲“R”、并更新歌曲“R”的歌词“HIJKLMN”和演唱者“T”,同时还可以对进度条进行更新。Correspondingly, after switching to play the next song, the smart speaker can forward the execution result to the server, and the server can forward the execution result to the first electronic device. Referring to FIG. 11b, the first electronic device can The operation interface is updated to play the song "R", and update the lyrics "HIJKLMN" and the singer "T" of the song "R", and can also update the progress bar.
进一步地,第一电子设备还可以根据用户对播放/暂停控件触发的点击操作,控制第二电子设备开始播放或停止播放,类似的,第一电子设备可以根据用户对是否显示歌词控件触发的点击操作,控制第一电子设备是否在操作界面中显示歌词;第一电子设备可以根据用户对进度条控件触发的滑动操作,控制第二电子设备的播放进度;第一电子设备可以根据用户对播放模式控件触发的至少一次点击操作,调整第二电子设备的播放模式。Further, the first electronic device can also control the second electronic device to start playing or stop playing according to the click operation triggered by the user on the play/pause control. Similarly, the first electronic device can click on whether to display the lyrics control triggered by the user. operation to control whether the first electronic device displays the lyrics in the operation interface; the first electronic device can control the playback progress of the second electronic device according to the sliding operation triggered by the user on the progress bar control; the first electronic device can At least one click operation triggered by the control adjusts the play mode of the second electronic device.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence numbers of the steps in the above embodiments does not mean the sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
对应于上文实施例所述的跨设备的控制方法,图12是本申请实施例提供的一种跨设备的控制装置的结构框图,为了便于说明,仅示出了与本申请实施例相关的部分。Corresponding to the cross-device control method described in the above embodiment, FIG. 12 is a structural block diagram of a cross-device control apparatus provided by an embodiment of the present application. For the convenience of description, only the control device related to the embodiment of the present application is shown. part.
参见图12,该装置包括:Referring to Figure 12, the device includes:
显示模块1201,用于在第一电子设备和第二电子设备之间的距离满足预先设置的范围条件时,响应于用户针对第一电子设备或第二电子设备触发的碰一碰操作,在第一电子设备的显示界面的第一区域显示操作界面,操作界面为第二电子设备对应的界面;The display module 1201 is configured to, when the distance between the first electronic device and the second electronic device satisfies the preset range condition, in response to the touch operation triggered by the user on the first electronic device or the second electronic device, in the first electronic device or the second electronic device. A first area of a display interface of an electronic device displays an operation interface, and the operation interface is an interface corresponding to the second electronic device;
通信模块1202,用于响应于用户在操作界面触发的操作指令,控制第二电子设备 执行操作指令对应的操作。The communication module 1202 is configured to control the second electronic device to perform the operation corresponding to the operation instruction in response to the operation instruction triggered by the user on the operation interface.
可选的,通信模块1202,还用于通过与第二电子设备通信的服务器向第二电子设备发送控制指令,控制指令用于指示第二电子设备执行操作指令对应的操作。Optionally, the communication module 1202 is further configured to send a control instruction to the second electronic device through a server communicating with the second electronic device, where the control instruction is used to instruct the second electronic device to perform an operation corresponding to the operation instruction.
可选的,参见图13,该装置还包括:Optionally, referring to Figure 13, the device further includes:
业务执行模块1203,用于确定第二电子设备的设备描述信息;a service execution module 1203, configured to determine the device description information of the second electronic device;
业务执行模块1203,还用于根据所述设备描述信息,确定所述操作界面。The service execution module 1203 is further configured to determine the operation interface according to the device description information.
可选的,业务执行模块1203,还用于根据设备描述信息,确定第二电子设备的应用服务,应用服务用于确定操作界面;Optionally, the service execution module 1203 is further configured to determine the application service of the second electronic device according to the device description information, and the application service is used to determine the operation interface;
显示模块1201,还用于根据应用服务,确定操作界面后,在第一电子设备的显示界面的第一区域显示操作界面。The display module 1201 is further configured to display the operation interface in the first area of the display interface of the first electronic device after determining the operation interface according to the application service.
可选的,通信模块1202,还用于向服务器发送请求消息,请求消息用于请求第二电子设备对应的应用服务;Optionally, the communication module 1202 is further configured to send a request message to the server, where the request message is used to request an application service corresponding to the second electronic device;
通信模块1202,还用于接收来自服务器的应用服务。The communication module 1202 is further configured to receive application services from the server.
可选的,通信模块1202,还用于响应于用户针对第一电子设备或第二电子设备触发的碰一碰操作,建立与第二电子设备之间的近距离通信连接。Optionally, the communication module 1202 is further configured to establish a short-range communication connection with the second electronic device in response to a touch operation triggered by the user on the first electronic device or the second electronic device.
可选的,第一电子设备与第二电子设备之间的近距离通信连接包括:近场通信NFC连接、蓝牙连接或无线保真Wi-Fi网络连接中的一个或多个。Optionally, the short-range communication connection between the first electronic device and the second electronic device includes: one or more of a near-field communication NFC connection, a Bluetooth connection or a Wi-Fi network connection.
可选的,通信模块1202,还用于接收来自第二电子设备针对操作指令的反馈结果;Optionally, the communication module 1202 is further configured to receive a feedback result for the operation instruction from the second electronic device;
显示模块1201,还用于根据反馈结果,对操作界面显示的内容进行更新。The display module 1201 is further configured to update the content displayed on the operation interface according to the feedback result.
可选的,参见图14,装置还包括:Optionally, referring to FIG. 14 , the device further includes:
用户操作模块1204,用于检测在该操作界面触发的该控制操作。The user operation module 1204 is configured to detect the control operation triggered on the operation interface.
综上所述,本申请实施例提供的跨设备的控制装置,在第一电子设备和第二电子设备之间的距离满足预先设置的范围条件时,响应于用户针对第一电子设备或第二电子设备触发的碰一碰操作,在第一电子设备的显示界面的第一区域显示第二电子设备对应的操作界面,响应于用户在操作界面触发的操作指令,第一电子设备可以控制第二电子设备执行操作指令对应的操作,与第一电子设备通过运行第二电子设备对应的应用程序后实现对第二电子设备的控制相比,本申请无需通过第二电子设备对应的应用程序即可利用第一电子设备显示的控制界面,基于用户在控制界面触发的操作指令,实现对第二电子设备的控制,因此可以减少第一电子设备控制第二电子设备的流程,提高了第一电子设备控制第二电子设备的效率和灵活性。To sum up, the cross-device control device provided by the embodiment of the present application, when the distance between the first electronic device and the second electronic device satisfies the preset range condition, in response to the user targeting the first electronic device or the second electronic device The touch operation triggered by the electronic device displays the operation interface corresponding to the second electronic device in the first area of the display interface of the first electronic device. In response to the operation instruction triggered by the user on the operation interface, the first electronic device can control the second electronic device. The electronic device executes the operation corresponding to the operation instruction. Compared with the control of the second electronic device by the first electronic device after running the application program corresponding to the second electronic device, the present application does not need to pass the application program corresponding to the second electronic device. Using the control interface displayed by the first electronic device, based on the operation instructions triggered by the user on the control interface, the control of the second electronic device is realized, so the process of controlling the second electronic device by the first electronic device can be reduced, and the first electronic device can be improved. Efficiency and flexibility in controlling the second electronic device.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. Module completion, that is, dividing the internal structure of the device into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated in one processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit, and the above-mentioned integrated units may adopt hardware. It can also be realized in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing from each other, and are not used to limit the protection scope of the present application. For the specific working processes of the units and modules in the above-mentioned system, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the foregoing embodiments, the description of each embodiment has its own emphasis. For parts that are not described or described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的系统实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the system embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be Incorporation may either be integrated into another system, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and 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 in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质至少可以包括:能够将计算机程序代码携带到终端设备的任何实体或装置、记录介质、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质。例如U盘、移动硬盘、磁碟或者光盘等。在某些司法管辖区,根据立法和专利实践,计算机可读介质不可以是电载波信号和电信信号。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the present application realizes all or part of the processes in the methods of the above embodiments, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When executed by a processor, the steps of each of the above method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form, and the like. The computer-readable medium may include at least: any entity or device capable of carrying the computer program code to the terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunication signals, and software distribution media. For example, U disk, mobile hard disk, disk or CD, etc. In some jurisdictions, under legislation and patent practice, computer readable media may not be electrical carrier signals and telecommunications signals.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the above-mentioned embodiments, those of ordinary skill in the art should understand that: it can still be used for the above-mentioned implementations. The technical solutions described in the examples are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the application, and should be included in the within the scope of protection of this application.

Claims (12)

  1. 一种跨设备的控制方法,其特征在于,包括:A cross-device control method, comprising:
    在第一电子设备和第二电子设备之间的距离满足预先设置的范围条件时,响应于用户针对所述第一电子设备或所述第二电子设备触发的碰一碰操作,在所述第一电子设备的显示界面的第一区域显示操作界面,所述操作界面为所述第二电子设备对应的界面;When the distance between the first electronic device and the second electronic device satisfies the preset range condition, in response to a touch operation triggered by the user on the first electronic device or the second electronic device, at the first electronic device A first area of a display interface of an electronic device displays an operation interface, and the operation interface is an interface corresponding to the second electronic device;
    响应于用户在所述操作界面触发的操作指令,所述第一电子设备控制所述第二电子设备执行所述操作指令对应的操作。In response to an operation instruction triggered by the user on the operation interface, the first electronic device controls the second electronic device to perform an operation corresponding to the operation instruction.
  2. 根据权利要求1所述的方法,其特征在于,所述第一电子设备控制所述第二电子设备执行所述操作指令对应的操作,包括:The method according to claim 1, wherein the first electronic device controls the second electronic device to perform the operation corresponding to the operation instruction, comprising:
    所述第一电子设备通过与所述第二电子设备通信的服务器向所述第二电子设备发送控制指令,所述控制指令用于指示所述第二电子设备执行所述操作指令对应的操作。The first electronic device sends a control instruction to the second electronic device through a server in communication with the second electronic device, where the control instruction is used to instruct the second electronic device to perform an operation corresponding to the operation instruction.
  3. 根据权利要求1~2任一项所述的方法,其特征在于,所述在所述第一电子设备的显示界面的第一区域显示操作界面之前,所述方法还包括:The method according to any one of claims 1 to 2, wherein before the operation interface is displayed in the first area of the display interface of the first electronic device, the method further comprises:
    所述第一电子设备确定第二电子设备的设备描述信息;The first electronic device determines device description information of the second electronic device;
    所述第一电子设备根据所述设备描述信息,确定所述操作界面。The first electronic device determines the operation interface according to the device description information.
  4. 根据权利要求3所述的方法,其特征在于,所述在所述第一电子设备的显示界面的第一区域显示操作界面,包括:The method according to claim 3, wherein the displaying the operation interface in the first area of the display interface of the first electronic device comprises:
    所述第一电子设备根据所述设备描述信息,确定所述第二电子设备的应用服务,所述应用服务用于确定所述操作界面;The first electronic device determines an application service of the second electronic device according to the device description information, where the application service is used to determine the operation interface;
    所述第一电子设备根据所述应用服务,确定所述操作界面后,在所述第一电子设备的显示界面的第一区域显示所述操作界面。After the first electronic device determines the operation interface according to the application service, the operation interface is displayed in the first area of the display interface of the first electronic device.
  5. 如权利要求4所述的方法,其特征在于,所述第一电子设备根据所述设备描述信息,确定所述第二电子设备的应用服务,包括:The method of claim 4, wherein the first electronic device determines the application service of the second electronic device according to the device description information, comprising:
    所述第一电子设备向服务器发送请求消息,所述请求消息用于请求所述第二电子设备对应的应用服务;The first electronic device sends a request message to the server, where the request message is used to request an application service corresponding to the second electronic device;
    所述第一电子设备接收来自所述服务器的所述应用服务。The first electronic device receives the application service from the server.
  6. 如权利要求3所述的方法,其特征在于,所述第一电子设备确定第二电子设备的设备描述信息之前,所述方法还包括:The method according to claim 3, wherein before the first electronic device determines the device description information of the second electronic device, the method further comprises:
    响应于用户针对所述第一电子设备或所述第二电子设备触发的碰一碰操作,所述第一电子设备建立与所述第二电子设备之间的近距离通信连接。In response to a user-triggered tap operation on the first electronic device or the second electronic device, the first electronic device establishes a proximity communication connection with the second electronic device.
  7. 根据权利要求6所述的方法,其特征在于,所述第一电子设备与所述第二电子设备之间的近距离通信连接包括:近场通信NFC连接、蓝牙连接或无线保真Wi-Fi网络连接中的一个或多个。The method according to claim 6, wherein the short-range communication connection between the first electronic device and the second electronic device comprises: a near-field communication (NFC) connection, a Bluetooth connection, or a Wi-Fi connection One or more of the network connections.
  8. 根据权利要求1~7任一项所述的方法,其特征在于,所述响应于用户在所述操作界面触发的操作指令,所述第一电子设备控制所述第二电子设备执行所述操作指令对应的操作之后,所述方法还包括:The method according to any one of claims 1 to 7, wherein, in response to an operation instruction triggered by a user on the operation interface, the first electronic device controls the second electronic device to perform the operation After the operation corresponding to the instruction, the method further includes:
    所述第一电子设备接收来自所述第二电子设备针对所述操作指令的反馈结果;receiving, by the first electronic device, a feedback result for the operation instruction from the second electronic device;
    所述第一电子设备根据所述反馈结果,对所述操作界面显示的内容进行更新。The first electronic device updates the content displayed on the operation interface according to the feedback result.
  9. 一种跨设备的控制装置,其特征在于,包括:A cross-device control device, comprising:
    显示模块,用于在第一电子设备和第二电子设备之间的距离满足预先设置的范围条件时,响应于用户针对所述第一电子设备或所述第二电子设备触发的碰一碰操作,在所述第一电子设备的显示界面的第一区域显示操作界面,所述操作界面为所述第二电子设备对应的界面;A display module, used for responding to a touch operation triggered by a user on the first electronic device or the second electronic device when the distance between the first electronic device and the second electronic device satisfies a preset range condition , displaying an operation interface in the first area of the display interface of the first electronic device, where the operation interface is an interface corresponding to the second electronic device;
    通信模块,用于响应于用户在所述操作界面触发的操作指令,控制所述第二电子设备执行所述操作指令对应的操作。The communication module is configured to control the second electronic device to perform the operation corresponding to the operation instruction in response to the operation instruction triggered by the user on the operation interface.
  10. 一种跨设备的控制系统,其特征在于,包括:第一电子设备、服务器和第二电子设备;A cross-device control system, comprising: a first electronic device, a server, and a second electronic device;
    在第一电子设备和第二电子设备之间的距离满足预先设置的范围条件时,所述第一电子设备响应于用户针对所述第一电子设备或所述第二电子设备触发的碰一碰操作,在所述第一电子设备的显示界面的第一区域显示操作界面,所述操作界面为所述第二电子设备对应的界面;When the distance between the first electronic device and the second electronic device satisfies the preset range condition, the first electronic device responds to a touch triggered by the user on the first electronic device or the second electronic device operation, displaying an operation interface in the first area of the display interface of the first electronic device, and the operation interface is an interface corresponding to the second electronic device;
    所述第一电子设备响应于在所述操作界面触发的操作指令,向所述服务器发送控制指令,所述控制指令用于指示所述第二电子设备执行所述操作指令对应的操作;The first electronic device sends a control instruction to the server in response to an operation instruction triggered on the operation interface, where the control instruction is used to instruct the second electronic device to perform an operation corresponding to the operation instruction;
    所述服务器向所述第二电子设备转发所述控制指令;the server forwards the control instruction to the second electronic device;
    所述第二电子设备根据所述控制指令,执行所述操作指令对应的操作。The second electronic device executes the operation corresponding to the operation instruction according to the control instruction.
  11. 一种电子设备,其特征在于,包括:处理器,所述处理器用于运行存储器中存储的计算机程序,以实现如权利要求1~9任一项所述的方法。An electronic device, characterized by comprising: a processor, where the processor is configured to run a computer program stored in a memory, so as to implement the method according to any one of claims 1 to 9.
  12. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1~9任一项所述的方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, and the computer program implements the method according to any one of claims 1 to 9 when the computer program is executed by a processor.
PCT/CN2021/104067 2020-07-01 2021-07-01 Cross-device control method, apparatus, and system WO2022002211A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010621325.7 2020-07-01
CN202010621325.7A CN113890773A (en) 2020-07-01 2020-07-01 Cross-device control method, device and system

Publications (1)

Publication Number Publication Date
WO2022002211A1 true WO2022002211A1 (en) 2022-01-06

Family

ID=74232696

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/104067 WO2022002211A1 (en) 2020-07-01 2021-07-01 Cross-device control method, apparatus, and system

Country Status (2)

Country Link
CN (2) CN112260907A (en)
WO (1) WO2022002211A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114727142A (en) * 2022-03-30 2022-07-08 海信视像科技股份有限公司 Display device and collaborative drawing method

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112260907A (en) * 2020-07-01 2021-01-22 华为技术有限公司 Cross-device control method, device and system
CN113220365A (en) * 2021-05-07 2021-08-06 维沃移动通信有限公司 Control method and control device
CN113838463A (en) * 2021-09-16 2021-12-24 Oppo广东移动通信有限公司 Information transmission method and device, electronic equipment and storage medium
CN114286167A (en) * 2021-12-03 2022-04-05 杭州逗酷软件科技有限公司 Cross-device interaction method and device, electronic device and storage medium
CN115580676A (en) * 2022-08-26 2023-01-06 珠海格力电器股份有限公司 Equipment control method and device, storage medium and intelligent terminal
CN117850252A (en) * 2022-09-30 2024-04-09 华为终端有限公司 Intelligent device control method, electronic device and system
CN115657508A (en) * 2022-10-08 2023-01-31 浙江猫精人工智能科技有限公司 Intelligent device management method, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170102837A1 (en) * 2015-10-07 2017-04-13 Spotify Ab Dynamic control of playlists using wearable devices
CN110430558A (en) * 2019-06-26 2019-11-08 深圳绿米联创科技有限公司 Apparatus control method, device, electronic equipment and storage medium
CN111308900A (en) * 2020-02-28 2020-06-19 Oppo(重庆)智能科技有限公司 Intelligent electric appliance, control method and storage medium
CN112260907A (en) * 2020-07-01 2021-01-22 华为技术有限公司 Cross-device control method, device and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714414B (en) * 2015-03-25 2018-11-02 小米科技有限责任公司 The control method and device of smart home device, electronic equipment
CN104980882B (en) * 2015-05-12 2018-09-14 德佟电子科技(上海)有限公司 A method of calling NFC during printing device Auto Power On and bluetooth automatic matching
CN106219334B (en) * 2016-07-19 2019-05-28 深圳博科智能科技有限公司 Mobile phone shakes method, mobile phone and the system of control elevator
CN110381195A (en) * 2019-06-05 2019-10-25 华为技术有限公司 A kind of throwing screen display methods and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170102837A1 (en) * 2015-10-07 2017-04-13 Spotify Ab Dynamic control of playlists using wearable devices
CN110430558A (en) * 2019-06-26 2019-11-08 深圳绿米联创科技有限公司 Apparatus control method, device, electronic equipment and storage medium
CN111308900A (en) * 2020-02-28 2020-06-19 Oppo(重庆)智能科技有限公司 Intelligent electric appliance, control method and storage medium
CN112260907A (en) * 2020-07-01 2021-01-22 华为技术有限公司 Cross-device control method, device and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114727142A (en) * 2022-03-30 2022-07-08 海信视像科技股份有限公司 Display device and collaborative drawing method

Also Published As

Publication number Publication date
CN113890773A (en) 2022-01-04
CN112260907A (en) 2021-01-22

Similar Documents

Publication Publication Date Title
WO2022002211A1 (en) Cross-device control method, apparatus, and system
WO2021036594A1 (en) Control method applied to screen projection scenario and related device
US9154218B2 (en) Method and apparatus for BLUETOOTH connection in mobile terminal and computer-readable medium thereof
US9258402B2 (en) System and method for controlling mobile devices
US10817255B2 (en) Scene sound effect control method, and electronic device
WO2017121353A1 (en) Method and device for displaying control
CN109683847A (en) A kind of volume adjusting method and terminal
US9736422B2 (en) Method and terminal for reproducing content
KR20180020887A (en) System and method for data communication based on image processing
CN101753878A (en) Remote control method for touch screen remote controller
CN103677711A (en) Method for connecting mobile terminal and external display and apparatus implementing the same
US10675541B2 (en) Control method of scene sound effect and related products
US10275056B2 (en) Method and apparatus for processing input using display
WO2021129529A1 (en) Device switching method and related device
WO2020156123A1 (en) Information processing method and terminal device
EP3554186A1 (en) Apparatus and method for setting network of another device
WO2023273639A1 (en) Device connection method and apparatus, and computer-readable medium and electronic device
WO2020215969A1 (en) Content input method and terminal device
CN108038034A (en) Electronic equipment adjustment method, adapter, device and storage medium
WO2022042767A1 (en) Information sharing method and apparatus, terminal device, and storage medium
JP2002290606A (en) Radio communication terminal and selection method of connection device in radio network system
JP2002290416A (en) Radio communication terminal, and selection method for connection devices in radio network system
JP2002291039A (en) Wireless communication terminal and method for selecting device to be connected in network system
WO2020238496A1 (en) Icon management method and terminal device
US20140307896A1 (en) Method for controlling audio output and 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: 21832667

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21832667

Country of ref document: EP

Kind code of ref document: A1