A master-slave mode switching method, device and computer storage medium

By sending switching notifications and creating wireless LANs in the multimedia synchronous playback system, the problem of cumbersome device switching operations is solved, the convenience of device mode switching is realized, and the user experience is improved.

CN111464850BActive Publication Date: 2024-09-24SHENZHEN TRANSSION HLDG CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202010177985.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-13
Publication Date
2024-09-24
Estimated Expiration
2040-03-13

AI Technical Summary

Technical Problem

In a multimedia synchronous playback system, the switching operation from device slave mode to master mode is cumbersome and reduces the user experience.

Method used

By sending a switching notification, including information about the wireless LAN to be created, other devices in the multimedia playback group are allowed to access the wireless LAN created by the first device, thereby realizing switching of the master control mode. The specific method includes the first device broadcasting a switching notification through Bluetooth or a wireless LAN based on the device in the master mode, and creating a wireless LAN based on the received information to achieve rapid switching of the device mode.

Benefits of technology

It simplifies the mode switching operation between devices, improves the user experience, and makes it more convenient for devices to switch between master mode and slave mode.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111464850B
    Figure CN111464850B
Patent Text Reader

Abstract

The present invention discloses a master-slave mode switching method, device and computer storage medium, the master-slave mode switching method comprising: when a first device determines that it needs to switch from a slave mode to a master mode, a switching notification is sent, the switching notification includes wireless local area network information to be created by the first device; the first device creates a corresponding wireless local area network for other devices in a multimedia playback group to access the wireless local area network according to the switching notification, and then switch to the master mode. The master-slave mode switching method, device and computer storage medium provided by the present invention can quickly switch a device between a master mode and a slave mode, the operation is convenient, and the user experience is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of multimedia, and in particular to a master-slave mode switching method, device and computer storage medium. Background Art

[0002] With the rapid development of communication technology and multimedia technology, the use of multiple devices to form a synchronous playback system, thereby forming a multimedia playback group for synchronous playback of multimedia content such as audio or video, so as to achieve synchronous playback of multiple devices, has been widely used. When using multiple devices to synchronously play multimedia, one of the devices needs to create a wireless local area network, and the other devices join the multimedia playback group by connecting to the wireless local area network. At this time, the device that creates the wireless local area network is called in the master mode, and the other devices are called in the slave mode. The device in the slave mode can only play the multimedia files in the device in the master mode. If you need to play a multimedia file in a device in the slave mode, you need to join the wireless local area network created by the device originally in the slave mode after all devices have exited the wireless local area network. The switching operation is cumbersome, which reduces the user experience. Summary of the invention

[0003] The object of the present invention is to provide a master-slave mode switching method, device and computer storage medium, which can quickly switch a device between a master mode and a slave mode, and the switching operation is convenient, effectively improving the user experience.

[0004] To achieve the above object, the technical solution of the present invention is achieved as follows:

[0005] In a first aspect, an embodiment of the present invention provides a master-slave mode switching method, the method comprising:

[0006] When the first device determines that it needs to switch from the slave mode to the master mode, the first device sends a switching notification, where the switching notification includes information about the wireless local area network to be created by the first device;

[0007] The first device creates a corresponding wireless local area network, so that other devices in the multimedia playback group can access the wireless local area network according to the switching notification, and then switch to the master control mode.

[0008] As one implementation manner, the first device sending the switching notification includes:

[0009] The first device broadcasts a switching notification via Bluetooth; or,

[0010] The first device broadcasts a switching notification of the wireless local area network based on the notification provided by the second device in the master control mode in the multimedia playback group.

[0011] As one implementation manner, the first device broadcasts a switching notification of a wireless local area network based on the second device in the master control mode in the multimedia playback group, including:

[0012] The first device sends a request message carrying a switching notification based on the wireless local area network provided by the second device in the master mode in the multimedia playback group, so that the second device broadcasts the switching notification to the devices in the slave mode in the multimedia playback group except the first device.

[0013] As one implementation manner, the wireless local area network information includes a network name and an access password; the first device creates a corresponding wireless local area network, including:

[0014] The first device turns on the hotspot and sets the network name and access password of the hotspot according to the wireless local area network information to create a wireless local area network with the first device as the wireless hotspot.

[0015] As one implementation manner, the first device determines that it needs to switch from a slave mode to a master mode, including:

[0016] When in the slave mode, the first device detects whether an operation instruction to switch to the master mode is received;

[0017] If so, the first device determines that it needs to switch from the slave mode to the master mode.

[0018] In a second aspect, an embodiment of the present invention provides a master-slave mode switching method, the method comprising:

[0019] The second device receives a switching notification, where the switching notification includes wireless local area network information to be created by the first device;

[0020] The second device accesses the wireless local area network created by the first device according to the wireless local area network information.

[0021] As one implementation manner, if the second device is in the master control mode, the second device receives the switching notification and further includes:

[0022] The second device broadcasts the switching notification through a wireless local area network created by itself.

[0023] As one implementation manner, after the second device receives the switching notification sent by the first device, the method further includes:

[0024] The second device switches from a master mode to a slave mode.

[0025] In a third aspect, an embodiment of the present invention provides a device, comprising: a processor and a memory for storing a computer program that can be run on the processor; wherein, when the processor runs the computer program, the master-slave mode switching method described in the first aspect and / or the second aspect is implemented.

[0026] In a fourth aspect, an embodiment of the present invention provides a computer storage medium storing a computer program, which, when executed by a processor, implements the master-slave mode switching method as described in the first aspect and / or the second aspect.

[0027] The master-slave mode switching method, device and computer storage medium provided by the embodiment of the present invention, the master-slave mode switching method includes: when the first device determines that it needs to switch from the slave mode to the master mode, it sends a switching notification, and the switching notification includes the wireless local area network information to be created by the first device; the first device creates a corresponding wireless local area network for other devices in the multimedia playback group to access the wireless local area network according to the switching notification, and then switch to the master mode. In this way, when the first device in the slave mode needs to switch to the master mode, it sends a switching notification of the wireless local area network information to be created, so that other devices in the multimedia playback group can access the wireless local area network created by themselves according to the switching notification, thereby switching to the master mode, realizing the rapid switching of the device between the master mode and the slave mode, and the switching operation is convenient, which effectively improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 A schematic diagram of an application environment of a master-slave mode switching method provided by an embodiment of the present invention;

[0029] Figure 2 A schematic diagram of a flow chart of a master-slave mode switching method provided by an embodiment of the present invention;

[0030] Figure 3 A schematic flow chart of another master-slave mode switching method provided by an embodiment of the present invention;

[0031] Figure 4 A schematic diagram of an interactive process of a master-slave mode switching method provided by an embodiment of the present invention;

[0032] Figure 5 A schematic diagram of the structure of a device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0033] The technical solution of the present invention is further elaborated in detail below in conjunction with the accompanying drawings and specific embodiments of the specification. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the technical field of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.

[0034] The master-slave mode switching method provided by the embodiment of the present invention can be applied to Figure 1 In the application environment shown. Specifically, the master-slave mode switching method is applied in a multimedia synchronous playback system, which may include a master control device and at least one slave device, that is, the multimedia synchronous playback system may include a device in master control mode and at least one device in slave mode, wherein a user may send control instructions to the device in slave mode in the multimedia playback group through the device in master control mode, including instructions such as play and pause, so as to realize multimedia synchronous playback. In this embodiment, the multimedia synchronous playback system includes Figure 1 The first device 10 and the second device 11 shown are used as examples for explanation. The first device 10 and the second device 11 establish a communication connection through a wireless network and belong to the same multimedia playback group, so as to enable the first device 10 and the second device 11 to play multimedia files synchronously. Taking the first device 10 currently being in the slave mode and the second device 11 currently being in the master mode as an example, when the first device 10 determines that it needs to switch from the slave mode to the master mode, it sends a switching notification to the second device 11 in the multimedia playback group, and the switching notification includes the wireless local area network information to be created by the first device 10. Then, the first device 10 creates a corresponding wireless local area network for the second device 11 in the multimedia playback group to access the wireless local area network according to the switching notification, and then switch to the master mode; at this time, after the second device 11 accesses the wireless local area network created by the first device 10 according to the switching notification sent by the first device 10, it switches from the master mode to the slave mode. The fast switching of the device between the master mode and the slave mode is realized, and the switching operation is convenient, which effectively improves the user experience. The first device 10 and the second device 11 may include but are not limited to various personal computers, laptops, smart phones, tablet computers, smart speakers, and portable wearable devices with playback functions.

[0035] See also Figure 2 , a master-slave mode switching method provided by an embodiment of the present invention, the master-slave mode switching method is applied to Figure 1Taking the first device 10 in the example as an example, the method includes the following steps:

[0036] Step S101: When the first device determines that it needs to switch from the slave mode to the master mode, it sends a switching notification, where the switching notification includes the wireless local area network information to be created by the first device;

[0037] Here, the first device may be installed with an application APP for controlling the multimedia synchronous playback system, and the user may manage the devices in the master mode and the devices in the slave mode in the multimedia synchronous playback system through the application APP, including switching modes, etc. The device in the master mode can transmit multimedia data and issue control instructions to the device in the slave mode, so that the device in the slave mode performs corresponding processing according to the received multimedia data and control instructions. When the user switches the mode in the user interface of the application APP and the first device is currently in the slave mode, it is equivalent to the first device determining that it needs to switch from the slave mode to the master mode, indicating that the user hopes to manage the playback of other devices in the multimedia playback group through the first device at this time, then the first device sends a switching notification to the other devices in the multimedia playback group, and the switching notification includes the wireless local area network information to be created by the first device, so as to inform the other devices in the multimedia playback group that they can join the wireless local area network created by the first device, thereby realizing the switching of the first device from the slave mode to the master mode. In one embodiment, the first device determines that it needs to switch from the slave mode to the master mode, including: when in the slave mode, the first device detects whether an operation instruction to switch to the master mode is received; if so, the first device determines that it needs to switch from the slave mode to the master mode. It can be understood that the first device may be provided with a user interface for mode switching, and the user can switch the working mode in the user interface. If the first device is currently in the slave mode, the user clicks the mode switching button or the master mode button, and the first device will receive the operation instruction to switch to the master mode.

[0038] It should be noted that the first device can send a switching notification to other devices in the multimedia playback group in different ways. In one embodiment, the first device sends a switching notification to other devices in the multimedia playback group, including: the first device broadcasts a switching notification to other devices in the multimedia playback group via Bluetooth. It can be understood that when the Bluetooth function is turned on, the first device can broadcast a switching notification to the surroundings through its own Bluetooth broadcast channel. Since the distance between other devices in the multimedia playback group and the first device is usually close, it can be regarded as the first device broadcasting a switching notification to other devices in the multimedia playback group via Bluetooth. In this way, the first device broadcasts a switching notification via Bluetooth, which has low power consumption and fast speed. In one embodiment, the first device sends a switching notification to other devices in the multimedia playback group, including: the first device broadcasts a switching notification to other devices in the multimedia playback group based on a wireless local area network provided by a second device in the master mode in the multimedia playback group. It can be understood that in the multimedia synchronous playback system, the first device in the slave mode needs to first join the wireless local area network provided by the second device in the master mode to establish a communication connection between each other, form a private network environment, and then realize the synchronous playback of multimedia with the second device. Based on the communication connection between the first device and the second device, the first device may broadcast the switching notification to other devices in the multimedia playback group based on the wireless local area network provided by the second device. It should be noted that if the first device cannot directly broadcast the switching notification to all other devices in the multimedia playback group based on the wireless local area network provided by the second device in the master mode in the multimedia playback group, the first device broadcasts the switching notification to other devices in the multimedia playback group based on the wireless local area network provided by the second device in the master mode in the multimedia playback group, which may include: the first device sends a request message carrying the switching notification to the second device based on the wireless local area network provided by the second device in the master mode in the multimedia playback group, so that the second device broadcasts the switching notification to the devices in the slave mode in the multimedia playback group other than the first device. It can be understood that the first device sends a request message carrying the switching notification to the second device based on the wireless local area network provided by the second device in the master mode in the multimedia playback group, that is, based on the communication connection established between the first device and the second device, so that the second device sends the switching notification to other devices in the slave mode that have established a communication connection with the second device according to the request message, thereby making other devices aware of the switching notification. In this way, the first device broadcasts the switching notification to the devices in the multimedia playback group that are in slave mode and except the first device through the second device, ensuring that all devices in the multimedia playback group can be informed of the switching notification, thereby improving the switching accuracy.

[0039] Step S102: the first device creates a corresponding wireless local area network, so that other devices in the multimedia playback group can access the wireless local area network according to the switching notification, and then switch to the master control mode.

[0040] Specifically, the first device creates a corresponding wireless LAN according to the wireless LAN information to be created, so that other devices in the multimedia playback group can access the wireless LAN according to the wireless LAN information in the switching notification, thereby switching from slave mode to master mode.

[0041] Here, the wireless local area network information may also be different according to different settings of the wireless local area network. For example, when there is no need to set the access password of the network, the wireless local area network information may only include the network name; when the access password of the network needs to be set, the wireless local area network information may include the network name and the access password. In practical applications, the network name may be identification information of the first device, such as a model, etc. In one embodiment, the first device creates a corresponding wireless local area network, including: the first device turns on a hotspot, and sets the network name and access password of the hotspot according to the wireless local area network information to create a wireless local area network with the first device as a wireless hotspot. In this way, the first device turns on the hotspot so that the second device can establish a communication connection with the first device through the hotspot, thereby realizing the switching of the first device from the slave mode to the master mode. At the same time, data transmission through the hotspot has the advantage of fast speed. It should be noted that the first device creates the corresponding wireless local area network, or the first device creates the corresponding wireless local area network through a short-range wireless communication method such as Bluetooth.

[0042] In summary, in the master-slave mode switching method provided in the above embodiment, when the first device in the slave mode needs to switch to the master mode, it sends a switching notification of the wireless local area network information to be created, so that other devices in the multimedia playback group can access the wireless local area network created by themselves according to the switching notification, thereby switching to the master mode, thereby realizing rapid switching of the device between the master mode and the slave mode, which is convenient to operate and effectively improves the user experience.

[0043] Based on the same inventive concept as the above embodiments, see Figure 3 , another master-slave mode switching method provided by an embodiment of the present invention, the master-slave mode switching method is applied to Figure 1 Taking the second device 11 in the example as an example, the following steps are included:

[0044] Step S201: The second device receives a switching notification, where the switching notification includes information about a wireless local area network to be created by the first device;

[0045] Specifically, the second device receives a switching notification broadcast by the first device in the same multimedia playback group via Bluetooth, or the second device receives a switching notification broadcast by the first device in the same multimedia playback group via a wireless local area network provided by the second device in master control mode.

[0046] It should be noted that, before receiving the switching notification sent by the first device in the same multimedia playback group, the second device may be in a slave mode or in a master mode. When the second device is in the master mode, the second device receives the switching notification sent by the first device in the same multimedia playback group, which may be the second device receiving the request message carrying the switching notification sent by the first device. Accordingly, while the second device receives the switching notification sent by the first device, it may also include: the second device broadcasts the switching notification to other devices in the multimedia playback group through the wireless local area network created by itself. It can be understood that when the first device cannot directly send the switching notification to other devices in the multimedia playback group, it can indirectly request the second device in the master mode to send the switching notification to other devices in the multimedia playback group except the second device. The second device will broadcast the switching notification to the devices in the multimedia playback group that are in the slave mode and except the first device, so that the switching notification can be known by all devices in the multimedia playback group.

[0047] Step S202: the second device accesses the wireless local area network created by the first device according to the wireless local area network information.

[0048] Specifically, after the second device searches for the wireless LAN created by the first device according to the wireless LAN information, it sends a connection request to the first device based on the wireless LAN information to access the wireless LAN created by the first device, thereby joining a multimedia playback group managed by the first device.

[0049] It should be noted that, when the second device is in the master mode before or when receiving the switching notification sent by the first device, after the second device receives the switching notification sent by the first device, the second device further includes: the second device switches from the master mode to the slave mode. At this time, if the multimedia playback group continues to play the multimedia data, the second device can first control the multimedia playback group to pause playing the multimedia data.

[0050] In summary, in the master-slave mode switching method provided in the above embodiment, after the second device receives the switching notification of the wireless local area network information to be created by the first device sent by the first device, the second device accesses the wireless local area network created by the first device according to the switching notification, thereby switching the first device from the slave mode to the master mode, thereby realizing rapid switching of the device between the master mode and the slave mode, which is convenient to operate and effectively improves the user experience.

[0051] Based on the same inventive concept as the above-mentioned embodiment, this embodiment describes the technical solution of the above-mentioned embodiment in detail through specific examples. In this embodiment, the device in the master mode is taken as the host and the device in the slave mode is taken as the slave. Figure 4 , the interaction process of the master-slave mode switching method is as follows:

[0052] 1) The host creates a hotspot;

[0053] Here, the host can open the hotspot, generate a QR code according to the hotspot information, and display the QR code so that slaves 1, 2, 3, etc. can establish a communication connection with the host by scanning the QR code. Slave 1, slave 2, etc. join the current hotspot to form a local area network after scanning the code. Here, the hotspot information may include information such as the hotspot name and password, so that the slave can directly connect to the hotspot by scanning the QR code.

[0054] 2) Apply for identity change from device 1;

[0055] Here, when slave 1 needs to be changed to a new master, it needs to apply for identity change.

[0056] 3) Slave 1 notifies the host and slave 2 of the hotspot information to be generated through Bluetooth broadcast or the currently established WiFi local area network;

[0057] Here, whether slave 1 adopts Bluetooth broadcasting or establishes a WiFi local area network, it is to transmit the hotspot information that it is preparing to generate to the host and other slaves.

[0058] 4) Create hotspot information from machine 1;

[0059] 5) The host and slave 2 automatically connect to the hotspot created by slave 1;

[0060] 6) Slave 1 completes identity switching.

[0061] Here, after the host automatically connects to the hotspot created by slave 1, its identity will become the slave, and the identity of slave 1 will become the new host.

[0062] In this way, the identities of the host and slave are dynamically adjusted based on WiFi hotspots or Bluetooth broadcasts, which is convenient to operate and improves the user experience.

[0063] Based on the same inventive concept as the above embodiments, the embodiments of the present invention provide a device such as Figure 5 As shown, the device includes: a processor 110 and a memory 111 for storing a computer program that can be run on the processor 110; wherein, Figure 5 The processor 110 shown in the figure is not used to indicate that the number of the processor 110 is one, but is only used to indicate the positional relationship of the processor 110 relative to other devices. In actual applications, the number of the processor 110 may be one or more; similarly, Figure 5 The memory 111 shown in the figure has the same meaning, that is, it is only used to refer to the position relationship of the memory 111 relative to other devices. In practical applications, the number of memories 111 can be one or more. The processor 110 is used to implement the master-slave mode switching method when running the computer program.

[0064] The device may also include: at least one network interface 112. The various components in the device are coupled together via a bus system 113. It is understood that the bus system 113 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 113 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 5 Various buses are labeled as bus system 113 .

[0065] The memory 111 may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. The nonvolatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a ferromagnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM); the magnetic surface memory may be a disk memory or a tape memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus random access memory (DRRAM).The memory 111 described in the embodiments of the present invention is intended to include but is not limited to these and any other suitable types of memories.

[0066] The memory 111 in the embodiment of the present invention is used to store various types of data to support the operation of the device. Examples of these data include: any computer program used to operate on the device, such as an operating system and an application; contact data; phone book data; messages; pictures; videos, etc. Among them, the operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application program may include various applications, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. Here, the program that implements the method of the embodiment of the present invention may be included in the application program.

[0067] Based on the same inventive concept as the above-mentioned embodiment, this embodiment further provides a computer storage medium, in which a computer program is stored. The computer storage medium may be a ferromagnetic random access memory (FRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); it may also be various devices including one or any combination of the above-mentioned memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc. When the computer program stored in the computer storage medium is executed by the processor, the above-mentioned master-slave mode switching method is implemented. For the specific steps implemented when the computer program is executed by the processor, please refer to Figure 2 The description of the illustrated embodiment will not be repeated here.

[0068] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0069] In this document, the terms "comprises," "comprising," or any other variations thereof, are intended to cover a non-exclusive inclusion of elements other than those listed and may also include additional elements not expressly listed.

[0070] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A master-slave mode switching method, It is characterized in that The method comprises: When the first device determines that it needs to switch from the slave mode to the master mode, the first device sends a switching notification, where the switching notification includes information about the wireless local area network to be created by the first device; The first device creates a corresponding wireless local area network, so that other devices in the multimedia playback group can access the wireless local area network according to the switching notification, and then switch to the master control mode; The first device includes a mobile terminal installed with an application APP for controlling a multimedia synchronous playback system, and the multimedia synchronous playback system includes the first device and a second device in a master control mode in the multimedia playback group; The first device sends a switching notification including: sending a request message carrying the switching notification to the second device through the first device based on the wireless local area network provided by the second device, so that the second device broadcasts the switching notification to other devices that have established a communication connection with the second device and are in a slave mode according to the request message, thereby allowing other devices to be informed of the switching notification.

2. The method according to claim 1, It is characterized in that The first device sending a switching notification includes: The first device broadcasts a switching notification via Bluetooth.

3. The method according to claim 1, It is characterized in that The wireless local area network information includes a network name and an access password; the first device creates a corresponding wireless local area network, including: The first device turns on the hotspot and sets the network name and access password of the hotspot according to the wireless local area network information to create a wireless local area network with the first device as the wireless hotspot.

4. The method according to claim 1, It is characterized in that The first device determines that it needs to switch from the slave mode to the master mode, including: When in the slave mode, the first device detects whether an operation instruction to switch to the master mode is received; If so, the first device determines that it needs to switch from the slave mode to the master mode.

5. A master-slave mode switching method, It is characterized in that The method comprises: The second device receives a switching notification, where the switching notification includes wireless local area network information to be created by the first device; The second device accesses the wireless local area network created by the first device according to the wireless local area network information; The first device includes a mobile terminal installed with an application APP for controlling a multimedia synchronous playback system, and the multimedia synchronous playback system includes the first device and the second device; The second device receives the switching notification including: sending a request message carrying the switching notification to the second device through the first device based on the wireless local area network provided by the second device, so that the second device broadcasts the switching notification to other devices that have established a communication connection with the second device and are in a slave mode according to the request message, thereby allowing other devices to be informed of the switching notification.

6. The method according to claim 5, It is characterized in that If the second device is in the master control mode, the second device receives the switching notification and further includes: The second device broadcasts the switching notification through a wireless local area network created by itself.

7. The method according to claim 6, It is characterized in that After the second device receives the switching notification, the method further includes: The second device switches from a master mode to a slave mode.

8. An electronic device, It is characterized in that include: A processor and a memory for storing a computer program that can be run on the processor, wherein when the processor runs the computer program, the master-slave mode switching method according to any one of claims 1 to 7 is implemented.

9. A computer storage medium, It is characterized in that A computer program is stored, and when the computer program is executed by a processor, the master-slave mode switching method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Master-slave switching method and device

    US20250088381A1