CN116069277A - Control device switching system, control device switching method and control device switching device - Google Patents

Control device switching system, control device switching method and control device switching device Download PDF

Info

Publication number
CN116069277A
CN116069277A CN202111297233.9A CN202111297233A CN116069277A CN 116069277 A CN116069277 A CN 116069277A CN 202111297233 A CN202111297233 A CN 202111297233A CN 116069277 A CN116069277 A CN 116069277A
Authority
CN
China
Prior art keywords
control device
address
screen
switching request
controlling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111297233.9A
Other languages
Chinese (zh)
Inventor
谈凯
胡诗尧
刘峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Device Co Ltd
Original Assignee
Huawei Device Co Ltd
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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN202111297233.9A priority Critical patent/CN116069277A/en
Priority to PCT/CN2022/128076 priority patent/WO2023078162A1/en
Publication of CN116069277A publication Critical patent/CN116069277A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1438Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display using more than one graphics controller
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Graphics (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The application discloses a control device switching system, a control device switching method and a device thereof, wherein mapping and forwarding of a message are not needed, so that a third device can conveniently, simply and safely control a second device. A method for switching control devices, applied to a system including a first device, a second device and a third device, wherein the third device is used for controlling the first device and/or the second device, the method comprises: the method comprises the steps that under the condition that the third device is used for controlling the first device, the first device receives a first control device switching request; after the first device receives the first control device switching request, the first device configures a destination address of the third device when the third device issues a message as an address of the second device, so that the third device is switched from being used for controlling the first device to being used for controlling the second device, and the first device can be quickly switched from being controlled to being controlled by the second device.

Description

Control device switching system, control device switching method and control device switching device
Technical Field
The present disclosure relates to the field of control technologies, and in particular, to a control device switching system, a control device switching method, and a device thereof.
Background
In the multi-screen interaction process, it is sometimes required to screen video, audio, documents and the like on a screen-throwing device (such as a mobile phone and the like) onto a display device (such as a television and the like) for display, and control the display device through a remote control device (such as a remote controller and the like). In order to facilitate the remote control device to control the playing of video, audio, documents and the like on the screen throwing device, key information of the remote control device can be mapped and then sent to the screen throwing device from the display device. However, mapping key information of the remote control device requires the display device to transfer a message in the application layer, and requires an additional application layer channel to send the mapped key information from the display device to the screen throwing device, which may result in a larger time delay.
Disclosure of Invention
In view of the above, it is necessary to provide a control device switching system, a control device switching method, and devices thereof, which do not require mapping and forwarding of messages so that a third device can control a second device conveniently, simply, and safely.
In a first aspect, an embodiment of the present application provides a method for switching a control device, which is applied to a system including a first device, a second device, and a third device, where the third device is configured to control the first device and/or the second device, and the method includes: the first device receives a first control device switching request under the condition that the third device is used for controlling the first device; after the first device receives the first control device switching request, the first device configures a destination address of the third device when issuing a message as an address of the second device, so that the third device is switched from being used for controlling the first device to being used for controlling the second device.
According to the first aspect of the application, when the third device is used for controlling the first device, the first device receives a first control device switching request, and after the first device receives the first control device switching request, the first device configures the destination address of the third device when issuing a message as the address of the second device, so that the third device can be conveniently and quickly switched from being used for controlling the first device to being used for controlling the second device, and the third device can conveniently, simply and safely control the second device without switching and transferring instructions by the first device.
According to some embodiments of the present application, the method further comprises: the second device receives a second control device switching request under the condition that the third device is used for controlling the second device; after the second device receives the second control device switching request, the second device reissues the second control device switching request to the first device; after the first device receives the reissued second control device switching request, the first device configures the destination address of the third device when the third device issues a message as the address of the first device, so that the third device is switched from being used for controlling the second device to being used for controlling the first device. According to the method and the device, under the condition that the third device is used for controlling the second device, the second control device switching request is transferred to the first device by the second device, so that the first device can configure the address of the first device according to the second control device switching request, and the third device can be conveniently switched from being used for controlling the second device to being used for controlling the first device.
According to some embodiments of the present application, the first device is a display device, the second device is a screen-throwing device, and the second device is configured to send screen-throwing content to the first device through a transmission channel between the first device and the second device, so that the first device is configured to display the screen-throwing content. According to the method, the first equipment is display equipment, the second equipment is screen-throwing equipment, the screen-throwing equipment is used for sending screen-throwing content to the display equipment through a transmission channel between the display equipment and the screen-throwing equipment, the display equipment can display the screen-throwing content, and the method is used in a screen-throwing scene.
According to some embodiments of the present application, the third device is configured to control a case of the first device, and specifically includes: the destination address when the third device issues a message is the address of the first device; the third device is configured to control the situation of the second device, and specifically includes: and when the third device issues a message, the destination address is the address of the second device. According to the method and the device, the situation that the third device controls the first device and the situation that the third device controls the second device are achieved through the fact that the destination address when the third device issues the message is the address of the first device and the destination address when the third device issues the message is the address of the second device.
According to some embodiments of the present application, the address of the first device and the address of the second device are addresses respectively allocated to the first device and the second device by the first device. The address of the first device and the address of the second device are distributed to the first device and the second device through the first device, so that the first device serves as a distribution network device.
According to some embodiments of the present application, the first device, the second device, and the third device form a Mesh network. The Mesh network is formed by the first device, the second device and the third device, so that the networking mode of the first device, the second device and the third device is Mesh networking.
According to some embodiments of the present application, the method further comprises: after the first device receives the first control device switching request, the first device displays a control device selection interface, wherein the control device selection interface comprises information of the first device and/or information of the second device, and the information comprises an icon, a name and/or an identifier. According to the method and the device, the control device selection interface is displayed, so that after a user sees the control device selection interface, the first device or the second device can be selected as the target control device, and then the first device controls the first device or the second device.
According to some embodiments of the present application, the first device receives a first control device switching request, specifically including: the first device receives the first control device switching request by receiving operation of a user acting on the first device; or, the third device sends the first control device switching request to the first device in response to an operation of a user acting on the third device, so that the first device receives the first control device switching request. The first control device switching request can be generated by a user acting on the first device or a user acting on the third device, the first control device switching request can be provided, and a diversified first control device switching request generation mode can be provided.
According to some embodiments of the present application, if the number of the second devices is one, the address of the second device is a unicast address of the second device. The address of the second device is the unicast address of the second device, so that the third device can control a single device.
According to some embodiments of the present application, if the number of the second devices is plural, the address of the second device is a multicast address, where the multicast address is a multicast address specifically allocated to the second device by the first device; the method further comprises the steps of: after the first device receives the first control device switching request, the first device further configures addresses subscribed by all devices in the second device to be the multicast address. According to the method and the device, the address of the second device is the multicast address, and the first device also configures the addresses subscribed by all devices in the second device to be the multicast address, so that the third device can control a plurality of devices at the same time.
In a second aspect, an embodiment of the present application further provides a method for controlling device switching, applied to a first device, where the method includes: receiving a first control device switching request by the first device under the condition that the first device is controllable by a third device; after the first device receives the first control device switching request, the first device configures a destination address of the third device when the third device issues a message as an address of a second device, so that the third device is switched from being used for controlling the first device to being used for controlling the second device.
According to some embodiments of the present application, after the first device configures the destination address of the third device when the third device issues a message as the address of the second device, the method further includes: the first device receives a second control device switching request; after the first device receives the second control device switching request, the first device configures a destination address of the third device when the third device issues a message as an address of the first device, so that the third device is switched from being used for controlling the second device to being used for controlling the first device.
According to some embodiments of the present application, the first device is a display device, and the first device is configured to receive the screen content sent by the second device and display the screen content.
According to some embodiments of the present application, the method further comprises: the first device assigns itself an address of the first device and the second device.
According to some embodiments of the present application, the method further comprises: after the first device receives the first control device switching request, the first device displays a control device selection interface, wherein the control device selection interface comprises information of the first device and/or information of the second device, and the information comprises an icon, a name and/or an identifier.
According to some embodiments of the present application, if the number of the second devices is one, the address of the second device is a unicast address of the second device.
According to some embodiments of the present application, if the number of the second devices is plural, the address of the second device is a multicast address, where the multicast address is a multicast address specifically allocated to the second device by the first device; the method further comprises the steps of: after the first device receives the first control device switching request, the first device further configures addresses subscribed by all devices in the second device to be the multicast address.
In a third aspect, an embodiment of the present application further provides a method for controlling device switching, applied to a second device, where the method includes: receiving a second control device switching request by the second device under the condition that the second device is controllable by a third device; and after the second device receives the second control device switching request, the second device reissues the second control device switching request to the first device.
According to some embodiments of the present application, the second device is a screen-casting device, and the second device is configured to send screen-casting content to the first device.
In a fourth aspect, an embodiment of the present application further provides a method for switching a control device, applied to a third device, where the method includes: in the case that the third device is used for controlling the first device, the third device sends a first control device switching request to the first device to switch from being used for controlling the first device to being used for controlling the second device.
According to some embodiments of the present application, the method comprises: and in the case that the third device is used for controlling the second device, the third device sends a second control device switching request to the second device so as to be switched from being used for controlling the second device to being used for controlling the first device.
According to some embodiments of the present application, the third device is configured to control a case of the first device, and specifically includes: the destination address when the third device issues a message is the address of the first device; the third device is configured to control the situation of the second device, and specifically includes: and when the third device issues a message, the destination address is the address of the second device.
In a fifth aspect, an embodiment of the present application further provides a control device switching system, where the system includes a first device, a second device, and a third device, where the third device is configured to control the first device and/or the second device; wherein, in case the third device is used to control the first device, the first device receives a first control device switching request; after the first device receives the first control device switching request, the first device configures a destination address of the third device when issuing a message as an address of the second device, so that the third device is switched from being used for controlling the first device to being used for controlling the second device.
According to some embodiments of the present application, in a case where the third device is used to control the second device, the second device receives a second control device switching request; after the second device receives the second control device switching request, the second device reissues the second control device switching request to the first device; after the first device receives the reissued second control device switching request, the first device configures the destination address of the third device when the third device issues a message as the address of the first device, so that the third device is switched from being used for controlling the second device to being used for controlling the first device.
According to some embodiments of the present application, the first device is a display device, the second device is a screen-throwing device, and the second device is configured to send screen-throwing content to the first device through a transmission channel between the first device and the second device, so that the first device is configured to display the screen-throwing content.
According to some embodiments of the present application, the third device is configured to control a case of the first device, and specifically includes: the destination address when the third device issues a message is the address of the first device; the third device is configured to control the situation of the second device, and specifically includes: and when the third device issues a message, the destination address is the address of the second device.
According to some embodiments of the present application, the address of the first device and the address of the second device are addresses respectively allocated to the first device and the second device by the first device.
According to some embodiments of the present application, the first device, the second device, and the third device form a Mesh network.
According to some embodiments of the present application, after the first device receives the first control device switching request, the first device displays a control device selection interface, where the control device selection interface includes information of the first device and/or information of the second device, where the information includes an icon, a name, and/or an identifier.
According to some embodiments of the present application, the first device receives the first control device switching request by receiving an operation of a user acting on the first device; or, the third device sends the first control device switching request to the first device in response to an operation of a user acting on the third device, so that the first device receives the first control device switching request.
According to some embodiments of the present application, if the number of the second devices is one, the address of the second device is a unicast address of the second device.
According to some embodiments of the present application, if the number of the second devices is plural, the address of the second device is a multicast address, where the multicast address is a multicast address specifically allocated to the second device by the first device; after the first device receives the first control device switching request, the first device further configures addresses subscribed by all devices in the second device to be the multicast address.
In a sixth aspect, an embodiment of the present application further provides a first device, including a receiving unit and a processing unit: the receiving unit is used for receiving a first control device switching request under the condition that the first device is controllable by a third device; the processing unit is configured to configure, after receiving the first control device switching request, a destination address of the third device when issuing a message as an address of a second device, so that the third device is switched from being used for controlling the first device to being used for controlling the second device.
In a seventh aspect, an embodiment of the present application further provides a second device, where the second device includes a receiving unit and a processing unit: the receiving unit is used for receiving a second control device switching request under the condition that the second device is controllable by a third device; the processing unit is used for reissuing the second control device switching request to the first device after the second device receives the second control device switching request.
In an eighth aspect, an embodiment of the present application further provides a third apparatus, including a receiving unit: the receiving unit is configured to send a first control device switching request to the first device to switch from controlling the first device to controlling the second device, in a case where the third device is used to control the first device.
In a ninth aspect, an embodiment of the present application further provides an electronic device including at least one processor, a memory, and a communication interface; the at least one processor is coupled with the memory and the communication interface; the memory is used for storing instructions, the processor is used for executing the instructions, and the communication interface is used for communicating with other devices under the control of the at least one processor; the instructions, when executed by the at least one processor, cause the at least one processor to perform the control device switching method as described above for any one of the possible embodiments of the first aspect, the second aspect, the third aspect, or the fourth aspect.
In a tenth aspect, an embodiment of the present application further provides a computer-readable storage medium storing a program that causes a computer device to execute the control device switching method according to the above first aspect, the above second aspect, the above third aspect, or any one of the possible embodiments of the above fourth aspect.
In an eleventh aspect, an embodiment of the present application further provides a computer program product comprising computer-executable instructions stored in a computer-readable storage medium; at least one processor of the electronic device may read the computer-executable instructions from the computer-readable storage medium, the at least one processor executing the computer-executable instructions causing the electronic device to perform the control device switching method of any one of the possible embodiments of the above first aspect, the above second aspect, the above third aspect, or the above fourth aspect. The benefits of the second aspect, the eleventh aspect and various implementations thereof in this application may refer to the first aspect, various implementations thereof, and the benefit analysis in the first aspect, which are not described herein.
Drawings
Fig. 1 is a schematic diagram of a prior art control device switching system.
Fig. 2 is a schematic diagram of a switching system of a control device according to an embodiment of the present application.
Fig. 3 is a schematic physical structure of a display device according to an embodiment of the present application.
Fig. 4 is a schematic entity structure diagram of a remote control device according to an embodiment of the present application.
Fig. 5 is a schematic entity structure diagram of a screen projection device according to an embodiment of the present application.
Fig. 6 is a flowchart of a method for switching control devices according to an embodiment of the present application.
Fig. 7 is a schematic diagram of a one-in-one scenario provided in an embodiment of the present application.
Fig. 8A is a schematic diagram of a control device selection interface provided in an embodiment of the present application; fig. 8B is a schematic diagram of another control device selection interface according to an embodiment of the present application.
Fig. 9 is a schematic diagram of a multi-throw scenario provided in an embodiment of the present application.
Fig. 10 is another flowchart of a method for switching control devices according to an embodiment of the present application.
Fig. 11 is a schematic diagram of a one-shot scenario provided in an embodiment of the present application.
Fig. 12 is another flowchart of a method for switching control devices according to an embodiment of the present application.
Fig. 13 is a schematic logic structure diagram of a first device according to an embodiment of the present application.
Fig. 14 is a schematic logic structure diagram of a second device according to an embodiment of the present application.
Fig. 15 is a schematic logic structure diagram of a third device according to an embodiment of the present application.
Detailed Description
In describing embodiments of the present application, words such as "for example" are used to mean serving as examples, illustrations, or descriptions. Any embodiment or design described herein as "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "for example" is intended to present related concepts in a concrete fashion.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. It should be understood that in this application, unless otherwise indicated, "a plurality" means two or more than two.
The prior art provides a screen projection control method based on remote control equipment, which can be applied to a screen projection control system based on the remote control equipment. The screen projection control system comprises a remote control device, a screen projection device (such as a mobile phone and the like) and a display device (such as a television and the like). The screen throwing device is used for providing screen throwing content for the display device. The display device is used for displaying the screen contents. The screen-throwing control method provided by the prior art needs the remote control equipment to send an instruction to the display equipment, the display equipment converts the instruction and the screen-throwing equipment receives the converted instruction. Specifically, in the existing screen-throwing control method, as shown in fig. 1, the remote control device 11 sends a control instruction to the display device 12 first, then the display device 12 converts the control instruction of the remote control device 11 into a reverse control instruction of the screen throwing device 13 at the application layer, and establishes an additional application layer channel at the application layer to transmit the converted reverse control instruction, and then the screen throwing device 13 receives the reverse control instruction transmitted by the display device 12 and controls the screen throwing file, such as page turning of a slide, playing and suspending of a video, switching of a display interface, opening and closing of an application program, and the like, according to the reverse control instruction. However, this requires the display device 12 to convert the instruction in the application layer and to establish an application layer channel in the application layer to convert the instruction, which may lead to complex information interaction between the remote control device 11 and the screen-throwing device 13, and may add additional time overhead to the transmission of the instruction, resulting in a large instruction delay, so that the interaction of information between the remote control device 11 and the screen-throwing device 13 is not timely. In view of this, the embodiment of the application proposes a method for switching control devices, when a remote control device wants to control a screen-throwing device, the remote control device can be conveniently switched from directly controlling the display device to directly controlling the screen-throwing device without the need of switching and transferring instructions by the display device, so that the remote control device can conveniently, simply and safely control the screen-throwing device.
Referring to fig. 2, a schematic diagram of a switching system of a control device according to an embodiment of the present application is provided. As shown in fig. 2, the control device switching system 20 includes a display device 21, a remote control device 22, and a screen projection device 23. The number of display devices 21 may be one or more. The display device 21 may be, for example, a cell phone, a tablet computer, a digital camera, a personal digital assistant (personal digital assistant, PDA), a wearable device, a laptop computer (laptop), a smart television, a large screen, a smart screen, a display, or the like having a display screen. The remote control device 22 may be, for example, a remote control, a cell phone, a tablet, a personal digital assistant (personal digital assistant, PDA), a wearable device, a laptop (laptop), or the like. The number of screening devices 23 may be one or more. The screen-projecting device 23 may be, for example, a cell phone, tablet computer, digital camera, personal digital assistant (personal digital assistant, PDA), wearable device, laptop computer (laptop), etc.
Only one display device 21 and one screen-projecting device 23 are shown in fig. 2, but it is understood that the number of display devices 21 may be plural or the number of screen-projecting devices 23 may be plural. The remote control device 22 may control the display device 21 by sending a signal to the display device 21 via a bluetooth GATT (Generic Attribute Profile, generic property profile) connection. It will be appreciated that the remote control device 22 may also control the display device 21 by sending signals to the display device 21 in other ways, such as infrared remote control, wifi, etc., which is not limiting in this application.
The screen projection device 23 can establish a screen projection connection with the display device 21 to project the video, audio, documents and other files on the screen projection device 23 to the display device 21 for display. The remote control device 22 may send control instructions to the display device 21, and the display device 21 may respond to the received control instructions. In one possible implementation, the display device 21, the remote control device 22, and the screen-casting device 23 may be networked to establish a Mesh network through which to communicate. In other possible implementations, the display device 21, the remote control device 22, and the screen-projecting device 23 may also communicate through a network formed by networking in other forms, which is not limited in this embodiment of the present application. In some embodiments, after the display device 21 establishes a communication connection with the remote control device 22, the display device 21 may configure the message issued by the remote control device 22 to be processed by the display device 21 such that the remote control device 22 is first to directly control the display device 21. After the display device 21, the remote control device 22, and the screen-throwing device 23 are networked, the remote control device 22 may receive the user's operation, generate a control device switching request, and transmit the control device switching request to the display device 21. The display device 21 may display a selection interface for the user to operate the remote control device 22 to select a target control device to which the user wants to transfer control according to the control device switching request. For example, the display device 21 determines that the target control device is the screen projection device 23 according to a selection operation of the remote control device 22, and the display device 21 can configure a message issued by the remote control device 22 to be processed by the screen projection device 23 accordingly. Thus, the remote control device 22 can switch from directly controlling the display device 21 to directly controlling the screen projection device 23 without the need for conversion and relay of control instructions by the display device 21. Wherein the solid line between the remote control device 22 and the display device 21 in fig. 2 indicates that the remote control device 22 can directly control the display device 21, and the broken line between the remote control device 22 and the screen throwing device 23 indicates that the remote control device 22 can be switched from directly controlling the display device 21 to directly controlling the screen throwing device 23, when the remote control device 22 will no longer control the display device 21. It will be appreciated that the remote control device 22 may also switch from directly controlling the screen projection device 23 to directly controlling the display device 21.
Fig. 3 is a schematic physical structure diagram of a display device according to an embodiment of the present application. The display device 30 may be, for example, a cell phone, tablet computer, digital camera, personal digital assistant (personal digital assistant, PDA), wearable device, laptop computer (laptop), smart television, large screen, smart screen, etc. with a display screen. The display device 30 may be the display device 21 in the embodiment illustrated in fig. 2.
The display device 30 may include a processor 301, an external memory interface 302, an internal memory 303, a USB (universal serial bus ) interface 304, a power management module 305, a wireless communication module 306, an audio module 307, a speaker 307A, a microphone 307B, a speaker interface 307C, a sensor module 308, keys 309, an indicator 310, a camera 311, and a display screen 312, among others.
It will be appreciated that the structure shown in fig. 3 is not limiting of the display device 30, and that the display device 30 may include more or fewer components than shown, or may combine certain components, or split certain components, or a different arrangement of components.
The processor 301 may include one or more processing units, such as: the processor 301 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
Processor 301 may be a neural and command center of display device 30. The processor 301 may complete instruction fetching according to the instruction, generate an operation control signal, and further execute control of the instruction. In the embodiment of the present application, the processor 301 may perform a corresponding operation according to the signal received by the wireless communication module 306, for example, starting to allocate a network according to the mesh broadcast received by the wireless communication module 306; the message issued by the remote control device according to the target control device instruction received by the wireless communication module 306 may be processed by the target control device, so that the remote control device may directly control the target control device.
A memory may also be provided in the processor 301 for storing instructions and data. In some embodiments, the memory in the processor 301 is a cache memory. The memory may hold instructions or data that the processor 301 has just used or recycled. If the processor 301 needs to reuse the instruction or data, it may be called directly from the memory. Repeated accesses are avoided and the latency of the processor 301 is reduced, thus improving the efficiency of the system. In some embodiments, processor 301 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, and/or a USB interface, among others.
It should be understood that the connection relationship between the modules illustrated in the present embodiment is only illustrative, and not limited to the structure of the display device 30, and the display device 30 may also adopt different connection manners or a combination of multiple connection manners in the foregoing embodiment.
USB interface 304 may enable display device 30 to communicate with other devices via a USB data line. In this embodiment, a high-definition multimedia interface (high definition multimedia interface, HDMI) may also be included. The display device 30 may communicate through HDMI and a Set Top Box (STB) or the like.
The power management module 305 is used to connect to a power source. The power management module 305 may also be coupled to the processor 301, the internal memory 303, the display 312, the camera 311, the wireless communication module 306, and the like. The power management module 305 receives input of power to power the processor 301, the internal memory 303, the display 312, the camera 311, the wireless communication module 306, and the like. In some embodiments, the power management module 305 may also be disposed in the processor 301.
The wireless communication module 306 may include a Bluetooth module, a Wi-Fi module, a zigbee module, and the like. The Bluetooth module, the Wi-Fi module and/or the zigbee module can perform data interaction with the remote control device and the screen throwing device. In particular implementations, the bluetooth module may be provided to include a classical bluetooth (e.g., bluetooth 2.1) module and/or a bluetooth low energy (bluetooth low energy, BLE) module. The Wi-Fi module may include one or more of a Wi-Fi direct module, a Wi-Fi LAN module, or a Wi-Fi softAP module. In some embodiments, the bluetooth module, wi-Fi module, and/or zigbee module may receive and transmit signals, etc., and perform a mesh network that may be established with the remote control device and the screen-throwing device; and sending a signal to the remote control device and/or the screen throwing device. In some embodiments, the display device 30 may access the internet through a Wi-Fi module to establish a communication connection with a server on the internet (e.g., a video playback website server). In some embodiments, the bluetooth module may receive control of a remote control device or the like based on the GATT protocol, such as receiving control of powering on of the display device, receiving control of playing video of the display device, receiving control of powering off of the display device, and the like. In some embodiments, the wireless communication module 306 may also include an infrared communication module. The infrared communication module can also receive control of remote control equipment and the like through infrared remote control technology, such as receiving control of starting up of the display equipment, receiving control of playing video of the display equipment, receiving control of shutting down of the display equipment and the like.
The display device 30 implements display functions through a GPU, a display screen 312, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 312 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor may include one or more GPUs that execute program instructions to generate or change display information. The display screen 312 is used to display images, videos, and the like. The display screen 312 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (flex), a mini, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like.
The display device 30 may implement a photographing function through an ISP, a camera 311, a video codec, a GPU, a display screen 312, an application processor, and the like. The ISP is used to process the data fed back by the camera 311. In some embodiments, the ISP may be provided in the camera 311.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the display device 30 is selected at a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like. Video codecs are used to compress or decompress digital video. The display device 30 may support one or more video codecs. In this way, display device 30 may play or record video in a variety of encoding formats, such as: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The external memory interface 302 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the display device 30. The external memory card communicates with the processor 301 through an external memory interface 302 to implement a data storage function. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 303 may be used to store computer executable program code comprising instructions. The processor 301 executes various functional applications of the display device 30 and data processing by executing instructions stored in the internal memory 303. For example, in the present embodiment, the processor 301 may execute instructions stored in the internal memory 303, and the internal memory 303 may include a stored program area and a stored data area.
The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the display device 30 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 303 may include a high-speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The display device 30 may implement audio functions through an audio module 307, a speaker 307A, a microphone 307B, a speaker interface 307C, an application processor, and the like. Such as music playing, recording, etc.
Keys 309 include a power on key, a volume key, etc. The keys 309 may be mechanical keys. Or may be a touch key. The display device 30 may receive key 309 inputs, generating key signal inputs related to user settings and function control of the display device 30.
The indicator 310 may be an indicator light that may be used to indicate that the display device 30 is in an on state, standby state, off state, or the like. For example, an indicator light may be off, which may indicate that the display device 30 is in an off state; the indicator light is green or blue, and can indicate that the display device 30 is in a standby state; the indicator light is red to indicate that the display device 30 is in a standby state.
Fig. 4 is a schematic physical structure diagram of a remote control device according to an embodiment of the present application. The remote control device 40 may be, for example, a remote control, a cell phone, a tablet computer, a personal digital assistant (personal digital assistant, PDA), a wearable device, a laptop computer (laptop), etc. The remote control device 40 may be the remote control device 22 of the embodiment depicted in fig. 2.
Remote control device 40 may include a memory 401, a processor 402, a communication module 403, keys 404, and an indicator 405. It will be appreciated that the configuration shown in fig. 4 is not limiting of the remote control device 40, and the remote control device 40 may include more or fewer components than shown, or may combine certain components, or split certain components, or a different arrangement of components.
The memory 401 may be used to store software programs and/or modules/units. The processor 402 implements the various functions of the remote control device 40 by running or executing software programs and/or modules/units stored in the memory 401 and invoking data stored in the memory 401. The memory 401 may be a read-only memory (ROM), other type of static storage device or other type of dynamic storage device that can store static information and instructions, or may be an electrically erasable programmable read-only memory (EEPROM), a compact disk read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media, or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, etc.
The processor 402 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The processor 402 may be a microprocessor or the processor 402 may be any conventional processor or the like, the processor 402 being the control center of the remote control device 40, the various interfaces and lines being utilized to connect the various parts of the overall remote control device 40.
The communication module 403 may include a Bluetooth module, a Wi-Fi module, a zigbee module, and the like. The Bluetooth module, the Wi-Fi module and/or the zigbee module can perform data interaction with the display device and the screen-throwing device. In particular implementations, the bluetooth module may be provided to include a classical bluetooth (e.g., bluetooth 2.1) module and/or a bluetooth low energy (bluetooth low energy, BLE) module. The Wi-Fi module may include one or more of a Wi-Fi direct module, a Wi-Fi LAN module, or a Wi-Fi softAP module. In some embodiments, the bluetooth module, wi-Fi module, and/or zigbee module may receive and transmit signals, etc., such as broadcast signals, so that other devices (e.g., display devices) may discover the remote control device 40, and the remote control device 40 may establish a mesh network with the display device; and sending signals to the display device or the screen throwing device, for example, controlling the starting up of the display device, playing video of the display device, shutting down of the display device, controlling the page turning up and down of the screen throwing device, and the like. In some embodiments, the bluetooth module may control the display device, etc., based on the GATT protocol, for example, controlling the display device to be turned on, the display device to play video, the display device to be turned off, etc. In some embodiments, the wireless communication module may also include an infrared communication module. The infrared communication module can also control the display device and the like through an infrared remote control technology, for example, control the starting up of the display device, play video of the display device, shutdown of the display device and the like.
The keys 404 may include power keys, control keys, etc. The keys 404 may be mechanical keys. Or may be a touch key. Remote control device 40 may receive key 404 inputs, generating key signal inputs related to user settings and function control of remote control device 40.
The indicator 405 may be an indicator light for illuminating a light of a specified color according to a received command.
Fig. 5 is a schematic physical structure diagram of a screen projection device according to an embodiment of the present application. The screen-casting device 50 may be, for example, a cell phone, tablet computer, digital camera, personal digital assistant (personal digital assistant, PDA), wearable device, laptop computer (laptop), etc. The screen projection device 50 may be the screen projection device 23 of the embodiment shown in fig. 2.
The screen-casting device 50 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera module 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc.
It will be appreciated that the configuration illustrated in the embodiments of the present application does not constitute a particular limitation of the projection device 50. In other embodiments of the present application, the screening apparatus 50 may include more or fewer components than shown, or certain components may be combined, certain components may be split, or different arrangements of components may be provided. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors 110.
The processor 110 may generate operation control signals according to the instruction operation code and the timing signals to complete instruction fetching and instruction execution control.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 may be a cache memory. The memory may hold instructions or data that are used or used more frequently by the processor 110. If the processor 110 needs to use the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others. The processor 110 may be connected to the touch sensor, the audio module, the wireless communication module, the display, the camera, etc. module through at least one of the above interfaces.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and does not limit the structure of the screen projection device 50. In other embodiments of the present application, the screen device 50 may also use different interfacing manners, or a combination of multiple interfacing manners, as in the above embodiments.
The USB interface 130 is an interface conforming to the USB standard, and may be used to connect a display device and a peripheral device, specifically, a Mini USB interface, a Micro USB interface, a USB Type C interface, etc.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the screen-casting device 50. The charging management module 140 may also supply power to the screen projection device 50 through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the screen-throwing device 50 can be realized by an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, a modem processor, a baseband processor and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the screening apparatus 50 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communications including 2G/3G/4G/5G for use on the screen-casting device 50. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), bluetooth low energy (bluetooth low energy, BLE), ultra Wide Band (UWB), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., for use on the screen-casting device 50. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 of the screen projection device 50 is coupled to the mobile communication module 150 and antenna 2 is coupled to the wireless communication module 160 such that the screen projection device 50 can communicate with networks and other electronic devices via wireless communication technology. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The projection device 50 may implement display functions via a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the screen casting device 50 may include 1 or more display screens 194.
The projection device 50 may perform the camera functions via a camera module 193, isp, video codec, GPU, display 194, and application processor AP, neural network processor NPU, etc.
The camera module 193 may be used to acquire color image data as well as depth data of a subject. The ISP may be used to process color image data acquired by the camera module 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, so that the electrical signal is converted into an image visible to the naked eye. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be disposed in the camera module 193.
The external memory interface 120 may be used to interface with an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the projection device 50. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions.
The internal memory 121 may be used to store computer executable program code that includes instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the projection device 50 (e.g., audio data, phonebook, etc.), and so forth. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 110 performs various functional methods or data processing of the screen projection device 50 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The screen capture device 50 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The screen speaker apparatus 50 can listen to music through the speaker 170A or output an audio signal of the handsfree call.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When the screen-casting device 50 receives a telephone call or voice message, the voice can be received by placing the receiver 170B close to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be a USB interface 130 or a 3.5mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
The keys 190 may include a power on key, a volume key, etc.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card.
In one implementation manner of the control device switching method provided by the embodiment of the application, the display device, the screen throwing device and the remote control device can realize the control device switching method through a Mesh network. For a better understanding of the present application, some terms and concepts related to Mesh networks are described below. However, it should be understood that the method for switching the control device provided in the embodiments of the present application is not limited to implementation through a Mesh network, and other implementation manners (for example, through a WiFi network) do not exceed the scope covered by the embodiments of the present application or the claims of the present application.
Mesh network: is a type of wireless local area network, i.e., mesh network. Every two devices in the Mesh network can communicate with each other.
Distribution network equipment: is a node of the Mesh network, and can convert the non-network-allocated equipment into a node. Specifically, the distribution network device may start the distribution network for the non-distribution network device to add the non-distribution network device to the Mesh network to form a node of the Mesh network. When the non-Mesh devices are added into the Mesh network, the Mesh network device also distributes unicast addresses for each Mesh network-added device, so that after the Mesh network distribution process, nodes of each Mesh network are distributed with unicast addresses.
Configuration device: is a node of the Mesh network and can be responsible for configuring the node in the Mesh network. Specifically, the configuration device may further configure a destination address of the node and/or an address subscribed by the node, so that the nodes may also communicate with each other. The configuration device may also delete addresses from the subscription list of nodes so that the nodes may not communicate with each other. The configuration device may be the same device as the distribution network device. The configuration device may also be different from the network device.
Address: may include unicast addresses and/or multicast addresses. Each device is assigned a unique unicast address during the network provisioning process, which is used to uniquely identify the address of the device in the Mesh network. Each multicast address represents a logically group. If the destination address of one node in the Mesh network is the unicast address of another node, the message issued by the one node can only be processed by the other node with the unicast address as the destination address. For example, if the destination address of node a is the unicast address of node B, then the message issued by node a can only be processed by node B and cannot be processed by other nodes, since the unicast address of other nodes is not the destination address of node a (i.e., the unicast address of node B). If the destination address of a node in the Mesh network is a multicast address, messages issued by the node can be processed by other nodes subscribed to the multicast address, but not by other nodes not subscribed to the multicast address.
Publish/subscribe: mesh networks may use a publish/subscribe model for the transmission of messages. The node that generated the message will publish the message. Nodes that need to receive messages can subscribe to the required multicast address. The message may be published to a unicast address or a multicast address. The destination address of the node generating the message is configured as a unicast address, so that the message issued by the node generating the message can be received by the node corresponding to the unicast address. The destination address of the node generating the message is configured as a multicast address, and the multicast address is added to a subscription list of a plurality of nodes which need to receive the message, so that the plurality of nodes which need to receive the multicast message subscribe to the multicast address, and the message issued by the node generating the message can be received by the plurality of nodes which subscribe to the multicast address.
For convenience of understanding, the following embodiments of the present application will take a display device having a structure shown in fig. 3, a remote control device having a structure shown in fig. 4, and a screen projection device having a structure shown in fig. 5 as examples, and specifically describe a switching method of a control device provided in the embodiments of the present application in combination with the drawings and application scenarios.
For convenience of description, the following will take a bluetooth Mesh network as an example. However, it should be understood that embodiments of the present application are not limited to a specific networking manner.
Referring to fig. 6, a flowchart of a method for switching control devices according to an embodiment of the present application is provided. The control device switching method is applied to a scene of one casting. In a one-touch scenario, as shown in fig. 7, a screen-touch device 701 displays audio, video, documents, etc. on a display device 702, and the display device 702 is equipped with a remote control device 703.
In a one-casting scenario, the display device 702 may act as a distribution network device and a configuration device. The display device 702 can be used as a distribution network device to add the remote control device 703 and the screen-throwing device 701 into the Mesh network. Step S601-S605 is to add the remote control device 703 to the Mesh network as the display device 702 serving as the network distribution device; steps S607-S611 are to add the screen projection device 701 to the Mesh network for the display device 702 as the distribution network device. The display device 702 may also be used as a configuration device to configure the destination address of the screen casting device 701 and the destination address of the remote control device 703. Wherein, step S606 configures the destination address of the remote control device 703 as a unicast address of the display device 702 for the display device 702 as a configuration device, so that the remote control device 703 can control the display device 702; step S612 configures the destination address of the screen throwing device 701 as a unicast address of the display device 702 for the display device 702 as a configuration device, so that the display device 702 can process a message issued by the screen throwing device 701; step S622 configures the destination address of the remote control device 703 as a unicast address of the screen-casting device 701 for the display device 702 as a configuration device, so that the remote control device 703 can control the screen-casting device 701. Steps S613 to S621 are steps for the display device 702 determining that the target control device is the screen casting device 701 according to the operation to the remote control device 703, so that the display device 702 can configure the destination address of the remote control device 703 according to the target control device so that the remote control device 703 controls the screen casting device 701. The control device switching method comprises the following steps:
S601: the display device sends a first distribution network notification to the remote control device through the Bluetooth GATT connection.
In some embodiments, the display device may send a first distribution network notification to the remote control device via the GATT protocol when the first preset condition is met. The first preset condition may be, for example, after the display device and the remote control device establish a bluetooth GATT connection according to a GATT protocol, or after the display device and the screen throwing device establish a screen throwing connection. It is understood that the first preset condition may be other conditions, which is not limited in this application.
S602: the remote control device sends a first network access application in a broadcast mode according to the first network allocation notification.
In this embodiment, the remote control device broadcasts a first network access application, which is a Mesh Beacon message, according to the first network allocation notification. The Mesh Beacon message is used for declaring that the Mesh Beacon message is an uninterruptable device. The Mesh Beacon message may be a Unprovisioned Device Beacon message.
S603: the display device discovers the first network entry application by scanning.
The display device may begin scanning after sending the first distribution network notification, as this application is not limited in this regard.
In some embodiments, the display device listens for scanning events. If the display equipment monitors the Mesh Beacon message sent by the remote control equipment, the display equipment discovers a first network access application through scanning.
S604: and the display equipment carries out network distribution on the remote control equipment according to the discovered first network access application.
In some embodiments, the display device networking the remote control device includes one or more of the steps of the display device initiating a networking invitation to the remote control device, the remote control device sending networking capability to the display device, the display device exchanging public keys with the remote control device, the display device authenticating identity with the remote control device, the display device distributing networking data to the remote control device, and the like. The distribution network data may include a key and a unicast address of the remote control device. The unicast address of the remote control device can be specially allocated to the remote control device by the display device serving as the network allocation device in the Mesh network allocation stage. In the Mesh distribution stage, the display device distributes the unicast address of the display device to the remote control device when distributing the distribution network data to the remote control device.
S605: the remote control device stores the unicast address of the remote control device distributed by the display device.
In some embodiments, the unicast address of the remote control device may uniquely identify the remote control device in the Mesh network. Thus, the unicast address of the remote control device can enable other nodes in the Mesh network to recognize that the remote control device is issuing the message.
S606: the destination address of the display device when the remote control device is configured to issue a message is a unicast address of the display device.
In some embodiments, the display device may configure the destination address at which the remote control device issues the message to be the unicast address of the display device through Config Model Publication Set. Specifically, the display device may send the unicast address of the display device to the remote control device through Config Model Publication Set, and the remote control device may set the destination address when the remote control device issues the message to be the unicast address of the display device. Thus, messages issued by the remote control device can only be processed by the display device, and even if other devices receive the messages issued by the remote control device, the messages issued by the remote control device cannot be processed correctly or cannot be processed. That is, the remote control device may directly control the display device. At this time, the display device may disconnect the GATT connection with the remote control device.
S607: the display device sends a second distribution network notification to the screen throwing device through a transmission channel, wherein the transmission channel is a channel formed after the screen throwing connection between the display device and the screen throwing device is established.
In some embodiments, the transmission channel may be a channel for transmitting the files such as video, audio and documents when the above-mentioned screen-projection device projects the files such as video, audio and documents onto the display device for display.
In some embodiments, the display device may send a second distribution network notification to the screen-throwing device through the transmission channel when the second preset condition is met. The second preset condition may be, for example, after the display device establishes a screen connection with the screen-throwing device, or after the display device establishes a bluetooth connection with the remote control device according to the GATT protocol. It is understood that the second preset condition may be other conditions, which is not limited in this application.
S608: and the screen throwing equipment sends a second network access application in a broadcasting mode according to the second network allocation notification.
In some embodiments, the screen-throwing device broadcasts a second network-access application, which is a Mesh Beacon message, according to the second network-distribution notification. The Mesh Beacon message is used for declaring that the Mesh Beacon message is an uninterruptable device. The Mesh Beacon message may be a Unprovisioned Device Beacon message.
S609: the display device discovers the second network entry application by scanning.
The display device may begin scanning after sending the second distribution network notification, as this application is not limited in this regard.
In some embodiments, the display device listens for scanning events. If the display equipment monitors the Mesh Beacon message sent by the screen throwing equipment, the display equipment discovers a second network access application through scanning.
S610: and the display equipment carries out network distribution on the screen throwing equipment according to the discovered second network access application.
In some embodiments, the display device distributing the network to the screen throwing device includes one or more of the steps of the display device initiating a network distribution invitation to the screen throwing device, the screen throwing device sending a network distribution capability to the display device, the display device exchanging a public key with the screen throwing device, the display device and the screen throwing device performing identity authentication, the display device distributing network distribution data to the screen throwing device, and the like. The distribution network data may include a key and a unicast address of the screening device. The unicast address of the screen throwing device can be specially distributed for the screen throwing device by the display device serving as the network distribution device in the Mesh network distribution stage.
S611: the screen throwing device stores unicast addresses of the screen throwing devices distributed by the display device.
In some embodiments, the unicast address of the screening device may uniquely identify the screening device in the Mesh network. Therefore, the unicast address of the screen throwing device can enable other nodes in the Mesh network to recognize that the screen throwing device is publishing the message.
S612: the destination address when the display device configures the screen throwing device to issue the message is the unicast address of the display device.
In some embodiments, the destination address at which the display device may issue the message may be configured by Config Model Publication Set as a unicast address for the display device. Specifically, the display device may send the unicast address of the display device to the screen-throwing device through Config Model Publication Set, and the screen-throwing device may set the destination address of the screen-throwing device when the screen-throwing device issues the message as the unicast address of the display device. Thus, in a Mesh network, the display device may process messages posted by the screen casting device.
Through the networking of the display equipment and the remote control equipment and the networking of the display equipment and the screen throwing equipment, the display equipment, the remote control equipment and the screen throwing equipment are all in the same Mesh network. After the display device, the remote control device, and the screen-throwing device are networked, the following switching control device operations may be performed:
s613: the remote control device generates a control device switching request in response to a first operation of a key acting on the remote control device.
In some embodiments, the remote control device may include a toggle button. The switching key is used for triggering and generating a switching request of the control equipment. For example, the user may press the switch button for a long time, and the remote control device may receive the long-press operation of the user and generate the control device switch request according to the long-press operation of the user. It is understood that the switch key may also implement other functions, and the user may set the switch key to have different functions by setting different operation times, and the like, for example, the user may set the operation of pressing the "switch key" for a short time to return to the operation of the previous menu.
In some embodiments, the remote control device may also be provided with a combination key. The combination key is used for triggering and generating a switching request of the control equipment. For example, the user presses both an a key and a B key on the remote control device, and the remote control device may receive the user's operation of pressing the combination key and generate a control device switching request according to the user's operation of pressing the combination key.
In some embodiments, the display device may display a control, icon, or button for triggering the control device to switch functions, and when the remote focus is located on the control, icon, or button, the user may press a "ok" key on the remote device to generate the control device switch request. That is, the key may be a "confirm" key on the remote control device, and a confirmation instruction generated by pressing the "confirm" key may be understood as a control device switching request at this time, and the display device may display the control device selection interface after receiving the confirmation instruction, that is, the control device switching request (step S614) (step S615).
S614: the remote control device sends a control device switching request to the display device, and accordingly, the display device receives the control device switching request sent by the remote control device.
Since the destination address at the time when the display device has configured the remote control device to issue a message is the unicast address of the display device in step S606, the control device switching request issued by the remote control device can only be processed by the display device.
For example, the remote control device sends a message containing the switching request of the control device and the destination address of the remote control device, and since the destination address of the remote control device carried in the message is the unicast address of the display device, when the display device receives the message, it can determine that the message is to be processed according to the destination address in the message being the unicast address of the display device. Other devices (e.g., a screen-casting device) may not process the message properly or may not process the message even if it is received.
S615: the display device displays a control device selection interface according to the control device switching request.
In some embodiments, the display device may display a control device selection interface for a user to select a target control device in the control device selection interface via the remote control device. The control device selection interface can display information of the display device and information of the screen throwing device. The information of the display device and the information of the screen-casting device may be operated by a user. For example, as shown in fig. 8A, the control device selection interface 800 includes a prompt 801, an icon 802 of a display device, and an icon 803 of a screen-throwing device. The prompt 801 is used to prompt the user to perform an operation, for example, "please select a remote control device". The icon 802 of the display device and the icon 803 of the screen saver may be selected by the user. It will be appreciated that fig. 8A is an example of a control device selection interface, where the control device selection interface may not include prompt information 801, where the control device selection interface may display a name 802 of the display device (e.g., a parlor millet tv, etc.) and a name of the screen-throwing device 803 (e.g., my morale smart screen, etc.) at the same time as the icon 802 of the display device and the icon 803 of the screen-throwing device are displayed, or where only unique identification information of the display device (e.g., SN (Serial Number) of the display device, etc.) and unique identification information of the screen-throwing device (e.g., SN (Serial Number) of the screen-throwing device, etc.) are displayed, and the content and form of the control device selection interface are not limited in this application.
S616: the remote control device generates a focus shift instruction in response to a second operation of a key acting on the remote control device.
In some embodiments, the focus shift instruction is carried in key information of the remote control device corresponding to the second operation.
In some embodiments, the user may transfer focus to the target control device that wants to control by the remote control device after seeing the control device selection interface displayed on the display device. For example, after the user sees the control device selection interface 800 as shown in FIG. 8A, the user can press the left key of the directional key on the remote control device to move focus from the icon 802 of the currently controlled display device to the icon 803 of the projection device. The remote control device receives an operation of pressing the left key of the direction key by the user, and generates a focus shift instruction in response to the operation of pressing the left key of the direction key, the focus shift instruction being carried in left key information of the remote control device.
S617: the remote control device sends a focus transfer instruction to the display device, and accordingly, the display device receives the focus transfer instruction sent by the remote control device.
Since the destination address at the time when the display device has configured the remote control device to issue a message is the unicast address of the display device in step S606, the focus shift instruction issued by the remote control device can only be processed by the display device.
S618: and the display device transfers the focus position to the screen throwing device according to the focus transfer instruction.
In some embodiments, the display device may know from the focus shift instruction that the remote control device issues: the device is required to move the current focus to the left, the display device will acquire the position of the current focus and shift the position of the focus according to the position of the current focus and the instruction to move the current focus to the left. For example, in fig. 8A, the current focus is on the icon 802 of the display device, and the display device may shift the focus to the icon of the screen capturing device according to the instruction that the current focus is on the icon 802 of the display device and the current focus is shifted to the left, so that the shifted current focus is on the icon 803 of the screen capturing device, as shown in fig. 8B.
S619: the remote control device generates a selected target control device instruction in response to a third operation of a key acting on the remote control device.
In some embodiments, the selected target control device instruction is carried in key information of the remote control device corresponding to the third operation.
In some embodiments, the user may select the screen casting device as the target control device via the remote control device after seeing an icon on the display device with the current focus shifted to the screen casting device. For example, after the user sees the icon 803 of the current focus shifted to the screen apparatus as shown in fig. 8B, the user can press the confirm key on the remote control apparatus to select the screen apparatus as the target control apparatus. The remote control device receives an operation of the user pressing the confirm key and generates a selected target control device instruction in response to the operation of pressing the confirm key, the selected target control device instruction being carried in the confirm key information (or confirm instruction) of the remote control device.
S620: the remote control device sends a selected target control device instruction to the display device, and accordingly, the display device receives the selected target control device instruction sent by the remote control device.
Since the destination address at which the display device has configured the remote control device to issue a message is the unicast address of the display device in step S606, the selected target control device instruction issued by the remote control device can only be processed by the display device.
S621: and the display equipment determines the target control equipment to be the screen throwing equipment according to the selected target control equipment instruction.
In some embodiments, the display device may know from the selected target control device instructions that the remote control device issues: the device is required to select the device of the current focus position, the display device acquires the current focus position, and the target control device is selected according to the current focus position and the instruction of the device for selecting the current focus position. For example, in fig. 8B, where the current focus is on the icon 803 of the screen-casting device, the electronic device may select the screen-casting device as the target control device according to the instruction of the device whose current focus is on the icon 803 of the screen-casting device and the current focus position is selected.
S622: and the display equipment configures the destination address of the remote control equipment when the remote control equipment issues the message according to the determined screen throwing equipment to be the unicast address of the screen throwing equipment.
In some embodiments, the display device sends the unicast address of the screen casting device to the remote control device via Config Model Publication Set, and the remote control device sets the destination address of the remote control device when the remote control device issues the message to the unicast address of the screen casting device. Thus, the message issued by the remote control device can only be processed by the screen throwing device, and even if other devices receive the message issued by the remote control device, the message issued by the remote control device cannot be processed correctly. That is, the remote control device may directly control the screen-casting device. Thus, the remote control device switches from controlling the display device to controlling the screen throwing device.
It will be appreciated that after switching from the control display device to the control projection device, the user may wish to switch the remote control device from the control projection device to the control display device, and the switching of the remote control device from the control projection device to the control display device is briefly described below:
the remote control device may receive the operation of switching the control device by the user to generate the control device switching request as in the above-described procedure of step S613. Because the remote control device controls the screen throwing device at the moment, the display device cannot process the control device switching request issued by the remote control device, and therefore the screen throwing device is required to relay the control device switching request. In some embodiments, the screen throwing device may be preset to reissue the control device switching request after receiving the control device switching request. Because the remote control device controls the screen throwing device at the moment, the screen throwing device can process the control device switching request issued by the remote control device. Since the screen throwing device is preset to reissue after receiving the control device switching request, the screen throwing device reissues the control device switching request after receiving the control device switching request issued by the remote control device. After receiving the control device switching request reissued by the screen throwing device, the display device may display the control device selection interface according to the control device switching request through the process of step S615 as described above. After the user sees the control device selection interface, the user can select the display device as the target control device. Specifically, in some embodiments, the remote control device may receive the user 'S operation through a process similar to the above-described steps S616 and S619 and generate a shift focus instruction in response to the user' S operation, and may also receive the user 'S operation through a process similar to the above-described step S619 and generate a selected target control device instruction in response to the user' S operation; the display device may receive the focus shift instruction by a procedure similar to the above-described steps S617-S618 and shift the position of the focus to the display device according to the focus shift instruction, and may also receive the selected target control device instruction by a procedure similar to the above-described steps S620-S621 and determine the target control device as the display device according to the position of the current focus and the selected target control device instruction. Further, after selecting the display device as the target control device, the display device may switch the remote control device from the direct control screen throwing device back to the direct control display device by configuring the destination address at the time of message issuance by the remote control device as the unicast address of the display device as in the procedure of step S606 described above.
It will be appreciated that when the remote control device is switched from the control screen throwing device to the control display device, the remote control device can be switched from the control display device to the control screen throwing device again according to the operation of the switching control device, which is not limited in this application. That is, the control device switching method provided by the embodiment of the application can realize the back and forth and multiple times of switching of the control device (namely, the device directly controlled by the remote control device).
It is understood that the above-mentioned sequence of step S612 may follow step S622, which is not limited in this application.
It may be appreciated that in some embodiments, when the remote control device controls the screen throwing device, after the display device receives a control device switching request that is reissued by the screen throwing device, an operation that a destination address when the remote control device is configured to issue a message is a unicast address of the display device may be omitted, and the message issued by the remote control device is continuously transferred (reissued) by the screen throwing device until the display device completes configuring the destination address of the remote control device to enable the remote control device to directly control the display device or the screen throwing device, or the display device receives an operation that is configured to exit, or the like.
It will be appreciated that steps S601-S606 and steps S607-S612 may be interchanged in order, or steps S601-S606 and steps S607-S612 may be performed simultaneously, which is not limited in this application.
It should be understood that steps S613 to S614 in fig. 6 may be omitted, and the user may generate the control device switching request by operating the display device, for example, the display device includes a switching key or a combination key for triggering the generation of the control device switching request, or a virtual key for triggering the generation of the control device switching request is displayed on the display device, or an item for triggering the generation of the control device switching request is displayed in a menu of the display device, which is not limited in this application.
It will be appreciated that steps S615-S620 in fig. 6 may be omitted, and in some embodiments, the remote control device may be an electronic device such as a mobile phone, and an application program (APP) may be installed on the remote control device to simulate the functions of the remote control. The display device may also generate control device selection interface information according to the control device switching request and issue the control device selection interface information. The remote control device can receive the control device selection interface information, and if the remote control device is an electronic device with a display screen, such as a mobile phone, the remote control device can display a control device selection interface according to the control device selection interface information. The remote control device may also receive an operation of selecting the screen-throwing device from the control device selection interface by the user, determine that the target control device is the screen-throwing device in response to the operation of selecting the screen-throwing device, and send a selected target control device instruction including that the target control device is the screen-throwing device to the display device. The display device can further configure the destination address of the remote control device when the remote control device issues the message as a unicast address of the screen throwing device, so that a control instruction issued by the remote control device can be directly sent to the screen throwing device, and the remote control device is switched to directly control the screen throwing device.
It will be appreciated that the display device may also display a list of devices found by the display device scanning, so that the user may select a device from the list to join the Mesh network, for example, selecting a remote control device and a screen-casting device to join the Mesh network, which is not limited in this application.
It can be understood that step S601 in fig. 6 may be omitted, and the remote control device sends the first network access application in a broadcast manner when powered on; step S607 in fig. 6 may be omitted, and the screen device sends the second network access application in a broadcast manner when powered on, which is not limited in this application.
It is understood that steps S615 to S621 in fig. 6 may be omitted, and the display device may determine that the target control device is a screen-casting device according to the current control display device and the control device switching request, which is not limited in this application. That is, the display device may not display an interface for the user to select the target control device, and after receiving the control device switching request sent by the remote control device in step S614, the display device directly responds to the control device switching request, and configures the destination address when the remote control device issues a message to be the unicast address of the screen throwing device. Similarly, if the user wants to switch the remote control device from directly controlling the screen switching device back to directly controlling the display device, the user may perform a first operation on a key of the remote control device, where the first operation triggers the remote control device to issue a control device switching request to the screen switching device, and the screen switching device reissues the received control device switching request to the display device, so that the display device directly responds to the control device switching request, and configures a destination address when the remote control device issues a message to be a unicast address of the display device.
It will be appreciated that steps S616-S618 in fig. 6 may be omitted, and the user may directly select the device with the current focus position without performing focus transfer, which is not limited in this application.
The control device switching method shown in fig. 6 can be applied not only to one-in-one scenes but also to multi-in-one scenes. In the case of a multi-throw scene, as shown in fig. 9, a plurality of throw devices 901 (including, for example, a throw device 904, a throw device 905, a throw device 906) throw audio, video, a document, and the like onto one display device 902 for split-screen display, and one display device 902 is provided with one remote control device 903. In a multi-cast scenario, the display device 902 may act as a distribution network device and a configuration device. The display device 902 may be used as a distribution network device to add the remote control device 903 and the plurality of screen throwing devices 901 to the Mesh network. The display device 902 may also be used as a configuration device to configure the destination address of the message issued by the screen throwing device 901, and to configure the destination address of the message issued by the remote control device 903 and the address subscribed to by the screen throwing device 901.
In a one-to-many scenario, the process of adding the remote control device 903 and the plurality of screen throwing devices 901 to the Mesh network by using the display device 902 as a distribution network device is similar to the process of adding the remote control device and the screen throwing devices to the Mesh network by using the display device as a distribution network device in the one-to-one scenario in fig. 6; the process of the display device 902 as the configuration device to configure the destination address of the message issued by the plurality of screen throwing devices 901 is similar to the process of the display device as the configuration device to configure the destination address of the message issued by the screen throwing device in the scene of one throwing in fig. 6; the process of the display device 902 as the configuration device configuring the remote control device 903 to issue the destination address of the message as the unicast address of the display device is similar to the process of the display device as the configuration device configuring the remote control device to issue the destination address of the message as the unicast address of the display device in the one-to-one scenario in fig. 6, and will not be described herein.
In the case of the multi-throw scenario, the process of switching the remote control device 903 from controlling one device of the plurality of throw screen devices 901 and the display device 902 to controlling the other device is similar to the process of switching the remote control device 903 between controlling the throw screen device 901 and controlling the display device 902 in the one-throw scenario in fig. 6, and will not be described again.
The method for switching control devices in the multi-throw scene is different from the method for switching control devices in the one-throw scene in that:
the display device may be configured to determine that the target control device is a plurality of screen-throwing devices if the remote control device switches from controlling the plurality of screen-throwing devices and one of the display devices to controlling the plurality of screen-throwing devices. The display device also allocates a destination multicast address specifically, configures the destination address when the remote control device issues a message as the destination multicast address, and configures addresses subscribed by a plurality of screen throwing devices which are directly controlled as the destination multicast address.
In some embodiments, the plurality of directly controlled screen-casting devices are logically one group. The display device may allocate a destination multicast address specifically for the group from among the multicast addresses OxC000, oxFEEE. The display device may configure, via Config Model Publication Set, a destination address of the remote control device when issuing a message as the destination multicast address, and configure, via Config Model Subscription Add, addresses subscribed to by a plurality of screen-casting devices to be directly controlled in the group as the destination multicast address. Specifically, the display device may send the destination multicast address to the remote control device through Config Model Publication Set, where the remote control device sets the destination address when the remote control device issues the message as the destination multicast address; the display device may also send the destination multicast address to a plurality of screen casting devices selected by the user to be controlled through Config Model Subscription Add, where each selected screen casting device adds the destination multicast address to its own subscription list. Thus, the remote control device may be switched to control multiple screen-casting devices.
For example, as shown in fig. 9, the plurality of screen apparatuses 901 are a first screen apparatus 904, a second screen apparatus 905, and a third screen apparatus 906, respectively. If the remote control device 903 is switched from controlling the display device 902 to controlling the second screen capturing device 905 and the third screen capturing device 906, the remote control device 903 and the display device 902 may perform signal generation and information interaction as in the process of step S613-step S620 in fig. 6, and then the display device 902 determines that the target control device is the second screen capturing device 905 and the third screen capturing device 906 according to the selected target control device instruction. The second screen device 905 and the third screen device 906 are logically one group. Next, the display device 902 specifically allocates a destination multicast address OxC003 for the group, configures the destination address when the remote control device 903 issues a message as the destination multicast address OxC003 of the group, and configures the addresses subscribed by the second screen-throwing device 905 and the third screen-throwing device 906 in the group to be the destination multicast address OxC003 of the group. Thus, the second screen casting device 905 and the third screen casting device 906 which have subscribed to the destination multicast address can process the message issued by the remote control device 903, and the device which has not subscribed to the destination multicast address can not process the message issued by the remote control device 903, i.e., the group consisting of the second screen casting device 905 and the third screen casting device 906 can process the message issued by the remote control device 903. The remote control device 903 may switch from controlling the display device 902 to controlling the second screen device 905 and the third screen device 906.
The display device serves as a configuration device, and if the remote control device switches from controlling multiple devices in multiple screen-throwing devices to controlling another multiple devices, that is, if a logical group changes, the display device can reassign a destination multicast address, and reconfigure a destination address when the remote control device issues a message and an address subscribed by the screen-throwing device. In some embodiments, the display device may further configure a screen-casting device that is not selected for control from among the currently controlled screen-casting devices to delete the originally subscribed destination multicast address from the subscription list.
In some embodiments, the display device may reassign the destination multicast address from the multicast address [ OxC000, oxFEEE ]. The display device may configure, through Config Model Subscription Delete, a screen-casting device that is not selected for control from among the current screen-casting devices to delete the original destination multicast address from the subscription list. Specifically, the display device may send a message of deleting the subscribed original destination multicast address to the screen-throwing device which is not selected to be controlled in the current screen-throwing device through Config Model Subscription Delete, where the screen-throwing device which is not selected to be controlled in the current screen-throwing device may delete the original destination multicast address from the subscription list, and then the subsequent screen-throwing device which is not selected to be controlled may not receive the message issued by the remote control device, that is, the remote control device does not control the screen-throwing device which is not selected to be controlled any more.
For example, as shown in fig. 9, if the remote control device 903 is switched from controlling the first screen-throwing device 904 and the second screen-throwing device 905 to controlling the second screen-throwing device 905 and the third screen-throwing device 906, the screen-throwing device (for example, the first screen-throwing device 904 and/or the second screen-throwing device 905) in the above-described one-throwing scene needs to be executed to relay the control device switching request generated by the remote control device, then the display device 902 displays a control device selection interface, and then, according to the operation of the user selecting the second screen-throwing device 905 and the third screen-throwing device 906, the remote control device 901 generates a selected target control device instruction, and the display device 902 determines that the target control device is the second screen-throwing device 905 and the third screen-throwing device 906 according to the selected target control device instruction. At this time, the logical group is changed from a group including the first screen-projecting device 904 and the second screen-projecting device 905 to a new group including the second screen-projecting device 905 and the third screen-projecting device 906 due to a selection operation by the user. Next, the display device 902 exclusively allocates a destination multicast address OxC005 for the new group, configures the destination address when the remote control device 903 issues a message as the destination multicast address OxC005 of the new group, and configures the addresses subscribed to by the second screen capturing device 905 and the third screen capturing device 906 in the new group as the destination multicast address OxC005 of the new group. The display device 902 also configures the first screen-casting device 904 to delete the destination multicast address OxC003 of the original group from the subscription list. Thus, the second screen casting device 905 and the third screen casting device 906 which have subscribed to the new destination multicast address can process the message issued by the remote control device 903, and the device which has not subscribed to the new destination multicast address can not process the message issued by the remote control device 903, i.e., the new group formed by the second screen casting device 905 and the third screen casting device 906 can process the message issued by the remote control device 903. The remote control device 903 may then switch from controlling the first screen projecting device 904 and the second screen projecting device 905 to controlling the second screen projecting device 905 and the third screen projecting device 906.
The display device is used as a configuration device, if the remote control device is switched from controlling a plurality of devices in a plurality of screen throwing devices to controlling one device in the plurality of screen throwing devices and the display device, the display device configures a destination address when the remote control device issues a message according to the device for selecting control as a unicast address of the device for selecting control, and configures the device which is not selected to be controlled in the current control device to delete the destination multicast address from the subscription list. The process that the destination address of the remote control device is the unicast address of the device for selecting control when the display device configures the remote control device to issue a message is similar to the process that the destination address of the display device is the unicast address of the screen throwing device when the display device configures the remote control device to issue a message in the one-to-one scenario, and will not be described herein. The process of the display device configuring the device which is not selected to be controlled in the current control device to delete the destination multicast address from the subscription list is similar to the process of the display device configuring the device which is not selected to be controlled in the current control device to delete the destination multicast address which is originally subscribed in the subscription list, and is not described herein.
For example, as shown in fig. 9, if the remote control device 903 is switched from controlling the first screen projecting device 904 and the second screen projecting device 905 to controlling the third screen projecting device 906, the above-described screen projecting device (for example, the first screen projecting device 904 and/or the second screen projecting device 905) needs to be executed to relay the control device switching request generated by the remote control device 903, and then the display device 902 determines that the target control device is the third screen projecting device 906 according to the selected target control device instruction. Next, the display device 902 configures the destination address at the time when the remote control device 903 issues a message as the unicast address of the third screen casting device 906, and configures the first screen casting device 904 and the second screen casting device 905 to delete the original destination multicast address OxC003 from the subscription list. Thus, the remote control device 903 can switch from controlling the first screen projection device 904 and the second screen projection device 905 to controlling the third screen projection device 906.
Referring to fig. 10, another flowchart of a method for switching control devices according to an embodiment of the present application is provided. The control device switching method is applied to one-casting scenes. In a one-shot scenario, as shown in fig. 11, one projection device 1101 projects audio, video, a document, and the like onto a plurality of display devices 1102 for split-screen display, the plurality of display devices 1102 including a first display device 1103 and a second display device 1104, the first display device 1103 being provided with one remote control device 1105. The number of second display devices 1104 may be one or more. The number of the second display devices 1104 is described as one for convenience of description, but it is understood that the number of the second display devices 1104 may be plural, which is not limited in this application.
In a multiple-throw scenario, the first display device 1103 may be used as a distribution network device and a configuration device, and the screen-throwing device 1101 may also be used as a distribution network device and a configuration device. First display device 1103 may act as a distribution network device to add remote control device 1105 and screening device 1101 to the Mesh network. Step S1001 is to add the remote control device 1105 to the Mesh network as the distribution network device for the first display device 1103; step S1003 is to add the screen throwing device 1101 to the Mesh network by using the first display device 1103 as a distribution network device. First display device 1103 may also be configured as a configuration device to configure the address of projection device 1101 and the address of remote control device 1105. Wherein step S1002 configures, for first display device 1103 as a configuration device, a destination address of remote control device 1105 as a unicast address of first display device 1103, so that remote control device 1105 can control first display device 1103; step S1004 configures, as a configuration device, the destination address of the screen-casting device 1101 for the first display device 1103 as a unicast address of the first display device 1103, so that the first display device can process a message issued by the screen-casting device 1101.
The screen-casting device 1101 may be used as a distribution network device to add the second display device 1104 to the Mesh network. In step S1005-step S1010, the screen projection device 1101 is used as a network distribution device to add the second display device 1104 to the Mesh network. The screen projection device 1101 may also configure the destination address of the second display device 1104 as a configuration device. Wherein step S1011 configures the destination address of the second display device 1104 as a unicast address of the screen-casting device 1101 for the screen-casting device 1101 as a configuration device, so that the screen-casting device 1101 can process the message issued by the second display device 1104.
The screen-casting device 1101 also forwards the distribution network data distributed when the second display device 1104 joins the Mesh network to the first display device 1103, so that the first display device 1103 can also be used as a configuration device, as described in step S1019, where the destination address when the remote control device is configured to issue a message is a unicast address of the second display device. The distribution network data may include a key and a unicast address of the second display device.
Steps S1013 to S1021 are steps that the first display device 1013 determines that the target control device is the second display device 701 according to the operation of the remote control device 1105, so that the first display device 1013 can configure the destination address of the remote control device 1105 according to the target control device so that the remote control device 1105 controls the second display device 1104.
In a one-touch scenario, the process of switching between controlling the first display device 1103 and controlling the screen-projection device 1101 by the remote control device 1105 is the same as the process of switching between controlling the display device and controlling the screen-projection device by the remote control device in the one-touch scenario in fig. 6, and will not be described again here. The control device switching method in the case where the remote control device switches from controlling the first display device to controlling the second display device in the one-touch-multiple scenario is described below. The control device switching method comprises the following steps:
s1001: the first display device adds the remote control device to the Mesh network.
The process of adding the remote control device to the Mesh network by the first display device is the same as the process of adding the remote control device to the Mesh network by the display device in the one-touch scene (steps S601-S605), and will not be described again here.
S1002: the first display device configures a destination address of the remote control device when the remote control device issues a message to be a unicast address of the first display device.
Step S1002 in this embodiment is similar to step S606 in a casting scene, and please refer to the detailed description of step S606 in a casting scene, which is not described herein.
S1003: the first display device adds the screen throwing device into the Mesh network.
The process of adding the screen throwing device to the Mesh network by the first display device is the same as the process of adding the screen throwing device to the Mesh network by the display device in a scene of throwing (steps S607-S611), and will not be described again here.
S1004: the destination address of the first display device when the first display device configures the screen throwing device to issue the message is a unicast address of the first display device. Step S1004 in the present embodiment is similar to step S612 in a one-in-one scenario, and detailed description of step S612 in a one-in-one scenario is omitted here.
S1005: the first display device sends prompt information to the screen throwing device through a first transmission channel, wherein the first transmission channel is a channel formed after the screen throwing device is connected with the screen throwing device.
In some embodiments, the first display device may send the prompt information to the screen projection device through the first transmission channel when the third preset condition is satisfied. The third preset condition may be, for example, after the first display device and the second display device establish a screen-throwing connection with the screen-throwing device, or after the first display device establishes a bluetooth connection with the remote control device according to the GATT protocol. It is understood that the third preset condition may be other conditions, which is not limited in this application.
S1006: the screen throwing device sends a third distribution network notification to the second display device through a second transmission channel according to the prompt information, wherein the second transmission channel is a channel formed after the screen throwing device and the second display device are connected.
S1007: and the second display equipment sends a third network access application in a broadcasting mode according to the third network allocation notification.
In some embodiments, the second display device broadcasts a third network access application as a Mesh Beacon message according to the third network allocation notification. The Mesh Beacon message is used for declaring that the Mesh Beacon message is an uninterruptable device. The Mesh Beacon message may be a Unprovisioned Device Beacon message.
S1008: the screen throwing device discovers a third network access application through scanning.
The screen-throwing device may start scanning after sending the third distribution network notification, which is not limited in this application.
In some embodiments, the screen casting device listens for scanning events. If the screen throwing equipment monitors the Mesh Beacon message sent by the second display equipment, the screen throwing equipment discovers a third network access application through scanning.
S1009: and the screen throwing equipment carries out network distribution on the second display equipment according to the found third network access application.
In some embodiments, the screen-casting device performing the network allocation to the second display device includes one or more of the steps of the screen-casting device initiating a network allocation invitation to the second display device, the second display device sending a network allocation capability to the screen-casting device, the screen-casting device exchanging public keys with the second display device, the screen-casting device performing identity authentication with the second display device, the screen-casting device distributing network allocation data to the second display device, and the like. The distribution network data may include a key and a unicast address of the second display device.
S1010: the second display device stores unicast addresses of the second display devices distributed by the screen throwing device.
In some embodiments, the unicast address of the second display device may uniquely identify the second display device in the Mesh network. Thus, the unicast address of the second display device may cause other nodes in the Mesh network to identify that the second display device is publishing a message.
S1011: the screen throwing device configures a destination address when the second display device issues the message as a unicast address of the screen throwing device.
In some embodiments, the screen casting device may configure the destination address of the second display device when the message is published as the unicast address of the screen casting device through Config Model Publication Set. Specifically, the screen throwing device may send the unicast address of the screen throwing device to the second display device through Config Model Publication Set, and the second display device may set the destination address of the second display device when the second display device issues the message as the unicast address of the screen throwing device. Thus, in the Mesh network, the screen throwing device can process the message issued by the second display device.
S1012: and the screen throwing equipment sends the distribution network data distributed when the screen throwing equipment and the second display equipment are networked to the first display equipment.
The screen throwing device also sends the distribution network data distributed when the screen throwing device and the second display device are networked to the first display device, so that the first display device can be used as a configurator to configure the address of the second display device. The distribution network data may include a key and a unicast address of the second display device.
Through the networking of the first display device and the remote control device, the networking of the first display device and the screen throwing device and the networking of the screen throwing device and the second display device, the first display device, the second display device, the remote control device and the screen throwing device are all in the same Mesh network. After the first display device, the second display device, the remote control device, and the screen-casting device are networked, the following switching control device operations may be performed:
s1013: the remote control device generates a control device switching request in response to a first operation of a key acting on the remote control device.
Step S1013 in the present embodiment is similar to step S613 in a casting scene, and detailed description of step S613 in a casting scene is specifically referred to herein and is not repeated.
S1014: the remote control device sends a control device switching request to the first display device, and accordingly, the first display device receives the control device switching request sent by the remote control device.
Step S1014 in the present embodiment is similar to step S614 in a casting scene, and please refer to the detailed description of step S614 in a casting scene, which is not described herein.
S1015: the first display device displays a control device selection interface according to the control device switching request.
Step S1015 in the present embodiment is similar to step S615 in a casting scene, and please refer to the detailed description of step S615 in a casting scene, which is not described herein.
At this time, the target control device available for the user to select may include a first display device, a second display device, and a screen-casting device, and thus the control device selection interface may include an icon/name/identifier of the first display device, an icon/name/identifier of the second display device, and an icon/name/identifier of the screen-casting device.
S1016: the remote control device generates a focus shift instruction in response to a fourth operation of a key acting on the remote control device.
Step S1016 in this embodiment is similar to step S616 in a casting scene, and detailed description of step S616 in a casting scene is specifically referred to herein and will not be repeated.
S1017: the remote control device sends a focus transfer instruction to the first display device, and accordingly, the first display device receives the focus transfer instruction sent by the remote control device.
Step S1017 in the present embodiment is similar to step S617 in a casting scene, and please refer to the detailed description of step S617 in a casting scene, which is not described herein.
S1018: the first display device shifts the position of the focus to the second display device according to the focus shift instruction.
Step S1018 in the present embodiment is similar to step S618 in a casting scene, and please refer to the detailed description of step S618 in a casting scene, which is not described herein.
S1019: the remote control device generates a selected target control device instruction in response to a fifth operation of a key acting on the remote control device.
Step S1019 in the present embodiment is similar to step S619 in a casting scene, and please refer to the detailed description of step S619 in a casting scene, which is not described herein.
S1020: the remote control device sends a selected target control device instruction to the first display device, and accordingly, the first display device receives the selected target control device instruction sent by the remote control device.
Step S1020 in the present embodiment is similar to step S620 in a one-to-one scenario, and please refer to the detailed description of step S620 in a one-to-one scenario, which is not described herein.
S1021: the first display device determines the target control device as a second display device according to the selected target control device instruction.
Step S1021 in this embodiment is similar to step S621 in a casting scene, and please refer to the detailed description of step S621 in a casting scene, which is not described herein.
S1022: the first display device configures the destination address of the remote control device when the remote control device issues the message as the unicast address of the second display device according to the determined second display device.
Since in step S1012, the screen throwing device further sends the distribution network data distributed by the screen throwing device for the second display device when the screen throwing device and the second display device are networked to each other to the first display device, that is, the first display device acquires the distribution network data of the second display device, where the distribution network data of the second display device includes the unicast address of the second display device. Thus, in step S1022, the first display device may configure, according to the determined second display device, the destination address at the time when the remote control device issues the message as the unicast address of the second display device.
The process that the destination address of the first display device when the first display device configures the remote control device to issue a message according to the determined second display device is the unicast address of the second display device is the same as the process that the destination address of the display device when the display device configures the remote control device to issue a message according to the determined screen throwing device is the unicast address of the screen throwing device, which is not described herein again.
It will be appreciated that the user may wish the remote control device to switch from controlling the second display device to controlling the screen-casting device or the first display device after switching from controlling the first display device to controlling the second display device. The following briefly describes the switching of the remote control device from controlling the second display device to controlling the screen-casting device:
the remote control device may perform the process of step S1013 described above, and since the remote control device controls the second display device at this time, the first display device cannot process the control device switching request issued by the remote control device, and therefore the second display device and the screen throwing device are required to relay the control device switching request. Specifically, in some embodiments, the second display device and the screen-throwing device may be preset to reissue the control device switching request after receiving the control device switching request. Since the remote control device controls the second display device at this time, the second display device can process the control device switching request issued by the remote control device. The second display device reissues the control device switching request to the screen throwing device after receiving the control device switching request issued by the remote control device; since the destination address when the screen throwing device has configured the second display device to issue a message is the unicast address of the screen throwing device in step S1011, the screen throwing device can process the control device switching request issued by the second display device. After receiving the control device switching request issued by the second display device, the screen throwing device can reissue the control device switching request to the first display device. After the first display device receives the control device switching request reissued by the screen throwing device, the first display device may display the control device selection interface according to the control device switching request through the process in step S1015 as described above. After the user sees the control device selection interface, the user can select the screen throwing device as the target control device. Specifically, in some embodiments, the remote control device may also generate an instruction and send the instruction to the first display device similar to the processes of steps S1016 and S1019 described above, and the first display device may also determine that the target control device is a projection device similar to the processes of steps S1017-S1018 described above and the processes of steps S1020-S1021 described above. Further, after selecting the screen throwing device as the target control device, the first display device may further configure a procedure in which the destination address when the remote control device issues a message is a unicast address of the first display device, thereby switching the remote control device from directly controlling the second display device to directly controlling the screen throwing device.
It can be understood that the process of switching the remote control device from controlling the second display device to controlling the first display device is similar to the process of switching the remote control device from controlling the second display device to controlling the screen throwing device, and will not be described herein.
It can be understood that the process of switching the remote control device from controlling the screen-throwing device to controlling the second display device is similar to the process of switching the remote control device from controlling the screen-throwing device to controlling the display device in fig. 6, and will not be described herein.
It can be understood that, in the control device switching method provided in the embodiment of the present application, the screen throwing device may be omitted, and the remote control device may switch between directly controlling the first display device and directly controlling the second display device. For example, the control device switching system includes a remote control device, a first display device and a second display device, where the remote control device initially controls the first display device, and the first display device may configure a destination address of the remote control device when issuing a message to be an address of the second display device, so that the remote control device is switched from controlling the first display device to controlling the second display device.
It will be appreciated that if the number of second display devices is plural, the remote control device may also switch from controlling one of the plurality of second display devices to controlling another of the plurality of second display devices. The process of switching the remote control device from controlling one of the plurality of second display devices to controlling another of the plurality of second display devices is similar to the process of switching the remote control device from controlling one of the second display devices to controlling the first display device described above, and will not be described again.
Referring to fig. 12, another flowchart of a method for switching control devices according to an embodiment of the present application is provided. The control device switching method is applied to a system comprising a first device, a second device and a third device. The third device is configured to control the first device and/or the second device. The control device switching method comprises the following steps:
s1201: the first device receives a first control device switch request in the case where the third device is used to control the first device.
In some embodiments, the first device is a display device, the second device is a screen-casting device, and the second device is configured to send the screen-casting content to the first device through a transmission channel between the first device and the second device, so that the first device is configured to display the screen-casting content.
In some embodiments, the third device is configured to control a case of the first device, and specifically includes: and when the third device issues a message, the destination address is the address of the first device. In some embodiments, the address of the first device is an address assigned by the first device to the first device.
In some embodiments, the first device, the second device, and the third device form a Mesh network.
In some embodiments, the first device receives the first control device switch request by receiving a user operation on the first device.
In some embodiments, the third device sends the first control device switching request to the first device in response to an operation of the third device by a user, such that the first device receives the first control device switching request.
S1202: after the first device receives the first control device switching request, the first device configures a destination address of the third device when issuing a message as an address of the second device, so that the third device is switched from being used for controlling the first device to being used for controlling the second device.
In some embodiments, the third device is configured to control a case of the second device, and specifically includes: and when the third device issues a message, the destination address is the address of the second device. In some embodiments, the address of the second device is an address assigned by the first device to the second device.
In some embodiments, after the first device receives the first control device switching request, the first device displays a control device selection interface, where the control device selection interface includes information of the first device and/or information of the second device, where the information includes an icon, a name, and/or an identification. Therefore, after the user sees the control device selection interface, the second device can be selected as the target control device, and the first device can configure the destination address of the third device when the third device issues the message as the address of the second device.
In some embodiments, if the number of the second devices is one, the address of the second device is a unicast address of the second device. Thus, the third device can control the individual devices.
In some embodiments, if the number of the second devices is plural, the address of the second device is a multicast address, and the multicast address is a multicast address specifically allocated to the second device by the first device. In some embodiments, after the first device receives the first control device switch request, the first device further configures an address subscribed to by all devices in the second device as the multicast address. Thus, the third device can control a plurality of devices.
In some embodiments, in the case where the third device is used to control the second device, the second device receives a second control device switch request; after the second device receives the second control device switching request, the second device reissues the second control device switching request to the first device; after the first device receives the reissued second control device switching request, the first device configures the destination address of the third device when the third device issues a message as the address of the first device, so that the third device is switched from being used for controlling the second device to being used for controlling the first device. Thus, the third device may be switched from controlling the first device to controlling the second device, and may also be switched from controlling the second device to controlling the first device.
Fig. 13 is a schematic logic structure diagram of a first device according to an embodiment of the present application. The first device 13 comprises a receiving unit 1301 and a processing unit 1302. The receiving unit 1301 is configured to receive a first control apparatus switching request in a case where the first apparatus is controllable by a third apparatus. The processing unit 1302 is configured to configure, after receiving the first control device switching request, a destination address of the third device when issuing a message as an address of a second device, so that the third device is switched from being used for controlling the first device to being used for controlling the second device.
In some embodiments, the receiving unit 1301 is further configured to receive a second control apparatus switching request. The processing unit 1302 is further configured to configure, after receiving the second control device switching request, a destination address when the third device issues a message as an address of the first device, so that the third device is switched from being used for controlling the second device to being used for controlling the first device.
In some embodiments, the first device is a display device. The receiving unit 1301 is further configured to receive the screen content sent by the second device. The processing unit 1302 is further configured to display the screen content.
In some embodiments, the processing unit 1302 is further configured to assign itself an address of the first device and assign the second device an address of the second device.
In some embodiments, the processing unit 1302 is further configured to display, after receiving the first control device switching request, a control device selection interface, where the control device selection interface includes information of the first device and/or information of the second device, and the information includes an icon, a name, and/or an identifier.
In some embodiments, if the number of the second devices is one, the address of the second device is a unicast address of the second device.
In some embodiments, if the number of the second devices is plural, the address of the second device is a multicast address, where the multicast address is a multicast address specifically allocated by the first device for the second device; the processing unit 1302 is further configured to configure, after receiving the first control device switch request, addresses subscribed to by all devices in the second device to be the multicast addresses.
Fig. 14 is a schematic logic structure diagram of a second device according to an embodiment of the present application. The second device 14 comprises a receiving unit 1401 and a processing unit 1402. The receiving unit 1401 is configured to receive a second control device switching request in a case where the second device is controllable by a third device. The processing unit 1402 is configured to reissue the second control device switching request to the first device after the second device receives the second control device switching request.
In some embodiments, the second device is a projection device. In some embodiments, the second device 14 further comprises a sending unit 1403. The sending unit 1403 is configured to send the screen content to the first device.
Please refer to fig. 15, which is a schematic diagram of a logic structure of a third device according to an embodiment of the present application. The third device 15 comprises a receiving unit 1501. The receiving unit 1501 is configured to send a first control device switching request to the first device to switch from controlling the first device to controlling the second device in a case where the third device is used to control the first device.
In some embodiments, the receiving unit 1501 is further configured to send a second control device switching request to the second device to switch from controlling the second device to controlling the first device, in a case where the third device is used to control the second device.
In some embodiments, the third device is configured to control a case of the first device, and specifically includes: and when the third device issues a message, the destination address is the address of the first device. In some embodiments, the third device is configured to control a case of the second device, and specifically includes: and when the third device issues a message, the destination address is the address of the second device.
In addition to the above methods and apparatuses, the present embodiments also provide a computer-readable storage medium storing a program that causes a computer apparatus to execute the method of controlling apparatus switching shown in fig. 12.
A computer program product comprising computer-executable instructions stored in a computer-readable storage medium; at least one processor of the device may read the computer-executable instructions from the computer-readable storage medium, the at least one processor executing the computer-executable instructions causing the device to implement the method of controlling device switching shown in fig. 12.
Under the condition that the third device is used for controlling the first device, the first device receives a first control device switching request; after the first device receives the first control device switching request, the first device configures the destination address of the third device when the third device issues the message as the address of the second device, so that the third device can be switched from being used for controlling the first device to being used for controlling the second device, the third device can be quickly switched from being used for controlling the first device to being used for controlling the second device, and the third device can conveniently, simply and safely control the second device without mapping and forwarding the message.
From the above description of the embodiments, it will be apparent to those skilled in the art that the present application may be implemented by means of software plus necessary general purpose hardware, or of course may be implemented by dedicated hardware including application specific integrated circuits, dedicated CPUs, dedicated memories, dedicated components and the like. Generally, functions performed by computer programs can be easily implemented by corresponding hardware, and specific hardware structures for implementing the same functions can be varied, such as analog circuits, digital circuits, or dedicated circuits. However, a software program implementation is a preferred embodiment in many cases for the present application. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a readable storage medium, such as a floppy disk, a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk or an optical disk of a computer, etc., including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the method described in the embodiments of the present application.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy Disk, a hard Disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
Finally, it should be noted that the above embodiments are merely for illustrating the technical solution of the present application and not for limiting, and although the present application has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that the technical solution of the present application may be modified or substituted without departing from the spirit and scope of the technical solution of the present application.

Claims (38)

1. A method for controlling device switching, applied to a system including a first device, a second device and a third device, wherein the third device is configured to control the first device and/or the second device, the method comprising:
the first device receives a first control device switching request under the condition that the third device is used for controlling the first device;
after the first device receives the first control device switching request, the first device configures a destination address of the third device when issuing a message as an address of the second device, so that the third device is switched from being used for controlling the first device to being used for controlling the second device.
2. The method according to claim 1, wherein the method further comprises:
The second device receives a second control device switching request under the condition that the third device is used for controlling the second device;
after the second device receives the second control device switching request, the second device reissues the second control device switching request to the first device;
after the first device receives the reissued second control device switching request, the first device configures the destination address of the third device when the third device issues a message as the address of the first device, so that the third device is switched from being used for controlling the second device to being used for controlling the first device.
3. The method according to claim 1 or 2, wherein the first device is a display device and the second device is a screen-casting device, and the second device is configured to send screen-casting content to the first device through a transmission channel between the first device and the second device, so that the first device is configured to display the screen-casting content.
4. A method according to any one of claims 1 to 3, wherein,
the third device is configured to control the situation of the first device, and specifically includes:
The destination address when the third device issues a message is the address of the first device;
the third device is configured to control the situation of the second device, and specifically includes:
and when the third device issues a message, the destination address is the address of the second device.
5. The method of claim 4, wherein the step of determining the position of the first electrode is performed,
the address of the first device and the address of the second device are addresses respectively allocated to the first device and the second device by the first device.
6. The method according to any one of claims 1 to 5, wherein,
the first device, the second device and the third device form a Mesh network.
7. The method according to any one of claims 1-6, further comprising:
after the first device receives the first control device switching request, the first device displays a control device selection interface, wherein the control device selection interface comprises information of the first device and/or information of the second device, and the information comprises an icon, a name and/or an identifier.
8. The method according to any of claims 1-7, wherein the first device receives a first control device handover request, in particular comprising:
The first device receives the first control device switching request by receiving operation of a user acting on the first device;
or alternatively, the process may be performed,
the third device transmits the first control device switching request to the first device in response to an operation of a user acting on the third device, so that the first device receives the first control device switching request.
9. The method according to any one of claims 1 to 8, wherein,
if the number of the second devices is one, the address of the second device is a unicast address of the second device.
10. The method according to any one of claims 1 to 8, wherein,
if the number of the second devices is multiple, the address of the second device is a multicast address, and the multicast address is a multicast address specially allocated to the second device by the first device;
the method further comprises the steps of:
after the first device receives the first control device switching request, the first device further configures addresses subscribed by all devices in the second device to be the multicast address.
11. A method for controlling device switching, applied to a first device, the method comprising:
Receiving a first control device switching request by the first device under the condition that the first device is controllable by a third device;
after the first device receives the first control device switching request, the first device configures a destination address of the third device when the third device issues a message as an address of a second device, so that the third device is switched from being used for controlling the first device to being used for controlling the second device.
12. The method of claim 11, wherein after the first device configures the destination address of the third device when the message is issued as the address of the second device, the method further comprises:
the first device receives a second control device switching request;
after the first device receives the second control device switching request, the first device configures a destination address of the third device when the third device issues a message as an address of the first device, so that the third device is switched from being used for controlling the second device to being used for controlling the first device.
13. The method of claim 11 or 12, wherein the first device is a display device, and wherein the first device is configured to receive the on-screen content sent by the second device and display the on-screen content.
14. The method according to any one of claims 11-13, further comprising:
the first device assigns itself an address of the first device and the second device.
15. The method according to any one of claims 11-14, further comprising:
after the first device receives the first control device switching request, the first device displays a control device selection interface, wherein the control device selection interface comprises information of the first device and/or information of the second device, and the information comprises an icon, a name and/or an identifier.
16. The method according to any one of claims 11-15, wherein,
if the number of the second devices is one, the address of the second device is a unicast address of the second device.
17. The method according to any one of claims 11-15, wherein,
if the number of the second devices is multiple, the address of the second device is a multicast address, and the multicast address is a multicast address specially allocated to the second device by the first device;
The method further comprises the steps of:
after the first device receives the first control device switching request, the first device further configures addresses subscribed by all devices in the second device to be the multicast address.
18. A method of controlling device switching applied to a second device, the method comprising:
receiving a second control device switching request by the second device under the condition that the second device is controllable by a third device;
and after the second device receives the second control device switching request, the second device reissues the second control device switching request to the first device.
19. The method of claim 18, wherein the second device is a screen-casting device, the second device configured to send screen-casting content to the first device.
20. A control device switching method applied to a third device, the method comprising:
in the case that the third device is used for controlling the first device, the third device sends a first control device switching request to the first device to switch from being used for controlling the first device to being used for controlling the second device.
21. The method according to claim 20, characterized in that the method comprises:
and in the case that the third device is used for controlling the second device, the third device sends a second control device switching request to the second device so as to be switched from being used for controlling the second device to being used for controlling the first device.
22. The method according to any one of claims 20-21, wherein,
the third device is configured to control the situation of the first device, and specifically includes:
the destination address when the third device issues the message is the address of the first device;
the third device is configured to control the situation of the second device, and specifically includes:
and when the third device issues a message, the destination address is the address of the second device.
23. A control device switching system, the system comprising a first device, a second device, and a third device, characterized in that:
the third device is used for controlling the first device and/or the second device;
wherein, in case the third device is used to control the first device, the first device receives a first control device switching request;
After the first device receives the first control device switching request, the first device configures a destination address of the third device when issuing a message as an address of the second device, so that the third device is switched from being used for controlling the first device to being used for controlling the second device.
24. The system according to claim 23, wherein:
the second device receives a second control device switching request under the condition that the third device is used for controlling the second device;
after the second device receives the second control device switching request, the second device reissues the second control device switching request to the first device;
after the first device receives the reissued second control device switching request, the first device configures the destination address of the third device when the third device issues a message as the address of the first device, so that the third device is switched from being used for controlling the second device to being used for controlling the first device.
25. The system of claim 23 or 24, wherein the first device is a display device and the second device is a screen-casting device, the second device being configured to send screen-casting content to the first device via a transmission channel between the first device and the second device, such that the first device is configured to display the screen-casting content.
26. The system of any one of claims 23-25, wherein,
the third device is configured to control the situation of the first device, and specifically includes:
the destination address when the third device issues a message is the address of the first device;
the third device is configured to control the situation of the second device, and specifically includes:
and when the third device issues a message, the destination address is the address of the second device.
27. The system of claim 26, wherein the system further comprises a controller configured to control the controller,
the address of the first device and the address of the second device are addresses respectively allocated to the first device and the second device by the first device.
28. The system of any one of claims 23-27, wherein,
the first device, the second device and the third device form a Mesh network.
29. The system according to any one of claims 23-28, wherein:
after the first device receives the first control device switching request, the first device displays a control device selection interface, wherein the control device selection interface comprises information of the first device and/or information of the second device, and the information comprises an icon, a name and/or an identifier.
30. The system according to any one of claims 23-29, wherein:
the first device receives the first control device switching request by receiving operation of a user acting on the first device;
or alternatively, the process may be performed,
the third device transmits the first control device switching request to the first device in response to an operation of a user acting on the third device, so that the first device receives the first control device switching request.
31. The system of any one of claims 23-30, wherein,
if the number of the second devices is one, the address of the second device is a unicast address of the second device.
32. The system of any one of claims 23-30, wherein,
if the number of the second devices is multiple, the address of the second device is a multicast address, and the multicast address is a multicast address specially allocated to the second device by the first device;
after the first device receives the first control device switching request, the first device further configures addresses subscribed by all devices in the second device to be the multicast address.
33. A first device, characterized in that the first device comprises a receiving unit and a processing unit:
the receiving unit is used for receiving a first control device switching request under the condition that the first device is controllable by a third device;
the processing unit is configured to configure, after receiving the first control device switching request, a destination address of the third device when issuing a message as an address of a second device, so that the third device is switched from being used for controlling the first device to being used for controlling the second device.
34. A second device, characterized in that the second device comprises a receiving unit and a processing unit:
the receiving unit is used for receiving a second control device switching request under the condition that the second device is controllable by a third device;
the processing unit is used for reissuing the second control device switching request to the first device after the second device receives the second control device switching request.
35. A third device, characterized in that the third device comprises a receiving unit:
the receiving unit is configured to send a first control device switching request to the first device to switch from controlling the first device to controlling the second device, in a case where the third device is used to control the first device.
36. An electronic device comprising at least one processor, memory, and a communication interface;
the at least one processor is coupled with the memory and the communication interface;
the memory is used for storing instructions, the processor is used for executing the instructions, and the communication interface is used for communicating with other devices under the control of the at least one processor;
the instructions, when executed by the at least one processor, cause the at least one processor to perform the control device switching method of any one of claims 1 to 10, claims 11 to 17, claims 18-19, or claims 20-22.
37. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a program that causes a computer device to execute the control device switching method according to any one of claims 1 to 10, claims 11 to 17, claims 18 to 19, or claims 20 to 22.
38. A computer program product, the computer program product comprising computer-executable instructions stored on a computer-readable storage medium; at least one processor of an electronic device, which may read the computer-executable instructions from the computer-readable storage medium, causes the electronic device to perform the control device switching method of any one of claims 1 to 10, claims 11 to 17, claims 18-19, or claims 20-22.
CN202111297233.9A 2021-11-02 2021-11-02 Control device switching system, control device switching method and control device switching device Pending CN116069277A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111297233.9A CN116069277A (en) 2021-11-02 2021-11-02 Control device switching system, control device switching method and control device switching device
PCT/CN2022/128076 WO2023078162A1 (en) 2021-11-02 2022-10-27 Control device switching system and control device switching method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111297233.9A CN116069277A (en) 2021-11-02 2021-11-02 Control device switching system, control device switching method and control device switching device

Publications (1)

Publication Number Publication Date
CN116069277A true CN116069277A (en) 2023-05-05

Family

ID=86170497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111297233.9A Pending CN116069277A (en) 2021-11-02 2021-11-02 Control device switching system, control device switching method and control device switching device

Country Status (2)

Country Link
CN (1) CN116069277A (en)
WO (1) WO2023078162A1 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112216094A (en) * 2020-10-26 2021-01-12 深圳乐播科技有限公司 Screen projection control system and screen projection control method based on remote controller
CN112367657B (en) * 2020-11-10 2023-02-24 宁波公牛数码科技有限公司 System and method for controlling a target device
CN112947880A (en) * 2021-03-12 2021-06-11 北京字节跳动网络技术有限公司 Screen projection method and device and electronic equipment

Also Published As

Publication number Publication date
WO2023078162A1 (en) 2023-05-11

Similar Documents

Publication Publication Date Title
CN111372325B (en) Method and device for establishing Wi-Fi point-to-point connection
CN114009055B (en) Screen-throwing display method and electronic equipment
WO2021103846A1 (en) Screen projection audio and video playback method and electronic device
CN113630297B (en) Method and terminal for controlling first equipment
CN113923230B (en) Data synchronization method, electronic device, and computer-readable storage medium
CN114554000B (en) Camera calling method, system, electronic equipment and storage medium
CN114125789B (en) Communication method, terminal device and storage medium
EP4344268A1 (en) Communication method and electronic device
CN114339709A (en) Wireless communication method and terminal device
CN113038627B (en) File sharing method, mobile device and computer storage medium
WO2024131110A1 (en) Short-range communication method and apparatus, and electronic device
CN112448964B (en) Device discovery method and P2P device
WO2023078162A1 (en) Control device switching system and control device switching method and device thereof
CN113950037B (en) Audio playing method and terminal equipment
CN115696280A (en) Network distribution method and device
CN116528209B (en) Bluetooth scanning method, device, chip system and storage medium
WO2023051204A1 (en) Cross-device connection method, electronic device and storage medium
CN114285737B (en) Method and device for configuring device
CN116981108B (en) Wireless screen-throwing connection method, mobile terminal and computer readable storage medium
CN114327317B (en) Mirror image screen projection method, device and system
CN114173317B (en) Method for transmitting data and electronic equipment
CN114980238B (en) Wi-Fi access method and related equipment
WO2023160214A1 (en) Bluetooth earphone, audio output method and audio output system
CN117098253A (en) Networking method and device
WO2023015423A1 (en) Cross-carrier scheduling method and apparatus, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination