A control method and apparatus
By using synchronization information in the StarFlash wireless communication system to determine the effective time of control commands, the problem of volume control time deviation among multiple servers was solved, enabling synchronized operation of multiple servers and improving the user experience.
Patent Information
- Application Number
- CN202510666614.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-21
- Publication Date
- 2026-11-27
AI Technical Summary
In the StarFlash wireless communication system, when a client controls the volume of multiple servers, the timing of receiving the control request cannot be precisely controlled, resulting in discrepancies in the effective times of the multiple servers and affecting the user experience.
By carrying synchronization information in the control commands, it is ensured that multiple servers perform operations at the same time. The synchronization information is used to determine the effective time of the control commands, thereby achieving synchronized operation of multiple servers.
This solves the problem of asynchronous operations caused by differences in activation time, ensuring that multiple servers execute volume control commands at the same time, thus improving the user experience.
Smart Images

Figure CN123185484A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless communication technology, and in particular to a control method and apparatus. Background Technology
[0002] The StarFlash wireless communication system defines a volume control service that provides a method for controlling the volume of remote StarFlash audio devices (such as multimedia playback devices) to mute or adjust the volume.
[0003] Currently, when a client controls the volume of multiple servers, such as a StarSpark audio device, it sends control requests to each server individually via the StarSpark asynchronous link. There is a time difference in the reception time of these control requests by the multiple servers. Furthermore, because the control requests are transmitted via asynchronous links, the reception time of the server's control requests cannot be precisely controlled or predicted. Summary of the Invention
[0004] This application provides a control method to align the effective times of control commands across multiple servers.
[0005] Firstly, a control method is provided. This method can be executed by a first device. Unless otherwise specified, the "first device" in this application can refer to a client device (such as a mobile phone), a component in a communication device (e.g., a processor, chip, or chip system), or a logic module or software capable of implementing all or part of the client device's functions. In this method, the first device sends a first control command to a second device on a first link. The first control command carries first indication information and synchronization information, and the first indication information indicates a first operation to be performed by the second device. The first device sends a second control command to a third device on a second link. The second control command carries second indication information and synchronization information, and the second indication information indicates a second operation to be performed by the third device. The synchronization information is used to determine the effective time of the first and second control commands.
[0006] Based on the above scheme, when the first device controls the second and third devices, it can carry synchronization information in the control command to determine the effective time of the control command, so that the second and third devices can execute the relevant operations indicated by the control command at the effective time. This allows the second and third devices to execute the operations indicated by the control command at the same time, avoiding asynchrony in the execution of operations due to the difference in understanding of the effective time between the second and third devices.
[0007] In one possible implementation of the first aspect, the first device sends a third control command to at least one fourth device on at least one fourth link. The third control command carries third indication information and synchronization information. The third indication information is a third operation performed by the third control command to control at least one fourth device.
[0008] Based on the above scheme, the first device can control two or more devices simultaneously. By carrying synchronization information in the control command, multiple devices can perform related operations at the same time.
[0009] In one possible implementation of the first aspect, the first device receives first request information from the second or third device, the first request information being used to request adjustment of the state of the second or third device. Based on the above scheme, the control of the second or third device by the first device can be passive, such as being requested by the second or third device.
[0010] In one possible implementation of the first aspect, the first device converts the effective time into synchronization information corresponding to the third link.
[0011] In one possible implementation of the first aspect, the first device sends a first message to the second device (and / or the third device). Exemplarily, this first message requests the establishment of a third link. The first message carries a signaling effective time slot number, a third link scheduling event period, an event synchronization anchor point, and a reference time interval. In the time slot indicated by the signaling effective time slot number, the first device and the second device (and / or the third device) can establish a third link. On the third link, the clocks of the first device and the second device (and / or the third device) are aligned with the time indicated by the event group time synchronization anchor point delay. On the third link, the first device and the second device (and / or the third device) move in units of system scheduling time slots according to the frequency indicated by the third link scheduling event period.
[0012] Based on the above scheme, the first device can establish a synchronous transmission link with the second device (and / or the third device) and determine the effective time of the control command through the synchronization information on the synchronous transmission link.
[0013] Secondly, a control method is provided. This method can be executed by a second device. Unless otherwise specified, the "second device" in this application can refer to a server-side device (such as a wireless headset), a component of the server-side device (e.g., a processor, chip, or chip system), or a logic module or software capable of implementing all or part of the functions of the server-side device. In this method, the second device receives a first control instruction from a first device on a first link. The first control instruction carries first indication information and synchronization information. The first indication information indicates a first operation to be performed by the second device, and the synchronization information is used to determine the effective time of the first control instruction. The second device executes the first indication information at the effective time.
[0014] In one possible implementation of the second aspect, the second device sends a first request message to the first device, the first request message being used to request adjustment of the state of the second device.
[0015] In one possible implementation of the second aspect, the second device converts the synchronization information corresponding to the third link into an effective time.
[0016] In one possible implementation of the second aspect, the second device receives a first message from the first device. Exemplarily, this first message requests the establishment of a third link. The first message carries a signaling effective time slot number, a third link scheduling event period, an event synchronization anchor point, and a reference time interval. In the time slot indicated by the signaling effective time slot number, the first device and the second device can establish a third link. On the third link, the clocks of the first device and the second device are aligned with the time indicated by the event group time synchronization anchor point delay. On the third link, the first device and the second device move in units of system scheduling time slots, according to the frequency indicated by the third link scheduling event period.
[0017] Thirdly, a communication device is provided, including a processing unit and a transceiver unit.
[0018] A processing unit is configured to generate a first control command and a second control command. The first control command carries first indication information and synchronization information; the first indication information instructs a second device to perform a first operation. The second control command carries second indication information and synchronization information; the second indication information instructs a third device to perform a second operation. The synchronization information is used to determine the effective time of the first and second control commands. A transceiver unit is configured to send the first control command to the second device on a first link and send the second control command to the third device on the second link.
[0019] In one possible implementation of the third aspect, the transceiver unit is further configured to send a third control command to at least one fourth device on at least one fourth link. The third control command carries third indication information and synchronization information. The third indication information is a third operation performed by the third control command on the at least one fourth device.
[0020] In one possible implementation of the third aspect, the transceiver unit is further configured to receive first request information from the second or third device, the first request information being used to request adjustment of the state of the second or third device.
[0021] Fourthly, a communication device is provided, including a processing unit and a transceiver unit.
[0022] A transceiver unit is configured to receive a first control command from a first device on a first link. The first control command carries first indication information and synchronization information. The first indication information instructs a second device to perform a first operation, and the synchronization information is used to determine the effective time of the first control command. A processing unit is configured to execute the first indication information at the effective time.
[0023] In one possible implementation of the fourth aspect, the transceiver unit is further configured to send a first request message to the first device, the first request message being used to request adjustment of the state of the second device.
[0024] In one possible implementation of the first to fourth aspects, the synchronization information is synchronization information on a third link, which is a synchronization transmission link between the first device and the second device, or the third link is a synchronization transmission link between the first device and the third device.
[0025] In one possible implementation of the first to fourth aspects, the first link and the second link are asynchronous transmission links of the Star Flash communication system.
[0026] Fifthly, a communication device is provided for implementing the various methods described above. This communication device may be the first device described in the first aspect, or a device comprising the first device, or a device included in the first device, such as a chip; or, the communication device may be the second device described in the second aspect, or a device comprising the second device, or a device included in the second device. The communication device includes modules, units, or means corresponding to the methods described above, which may be implemented in hardware, software, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the functions described above.
[0027] A sixth aspect provides a communication device, comprising: a processor and a communication interface; the communication interface being used to communicate with a module outside the communication device; the processor being used to execute a computer program or instructions to cause the method described in any of the preceding aspects to be executed. The communication device may be the first device in the first aspect, or a device including the first device, or a device included in the first device, such as a chip; or, the communication device may be the second device in the second aspect, or a device including the second device, or a device included in the second device.
[0028] A seventh aspect provides a communication device, comprising: at least one processor; the processor being configured to execute a computer program or instructions stored in a memory to implement the method described in any of the preceding aspects. The memory may be coupled to the processor, or may be independent of the processor. The communication device may be the first device as described in the first aspect, or a device comprising the first device, or a device included in the first device, such as a chip; or, the communication device may be the second device as described in the second aspect, or a device comprising the second device, or a device included in the second device.
[0029] Eighthly, this application provides a communication system that may include a first means for performing the method described in the first aspect and a second means for performing the method described in the second aspect.
[0030] Ninthly, this application provides a computer-readable storage medium storing computer-readable instructions that, when read and executed by a computer, cause the computer to perform a method in any possible implementation of any of the first to second aspects described above.
[0031] In a tenth aspect, this application provides a computer program product that, when read and executed by a computer, causes the computer to perform a method in any possible implementation of any of the first to second aspects described above.
[0032] In one aspect, this application provides a chip for reading a computer program stored in a memory to execute the method in any possible implementation of any of the first to second aspects described above. Attached Figure Description
[0033] Figure 1 A schematic diagram of a communication system provided in an embodiment of this application;
[0034] Figure 2 A schematic diagram of a volume control process provided in an embodiment of this application;
[0035] Figure 3 A schematic diagram illustrating yet another volume control process provided in an embodiment of this application;
[0036] Figure 4 A scenario diagram provided for an embodiment of this application;
[0037] Figure 5 A schematic diagram illustrating a process for a StarScan asynchronous air interface transmission control request provided in an embodiment of this application;
[0038] Figure 6 A schematic diagram illustrating another type of star-flash air interface asynchronous link transmission control request provided in an embodiment of this application;
[0039] Figure 7 An exemplary flowchart of a control method provided in an embodiment of this application;
[0040] Figure 8 An exemplary flowchart of yet another control method provided in an embodiment of this application;
[0041] Figure 9 A schematic diagram illustrating a process for establishing a synchronous transmission link, provided as an embodiment of this application;
[0042] Figure 10 An exemplary flowchart of yet another control method provided in an embodiment of this application;
[0043] Figure 11 A schematic diagram of a communication device provided in an embodiment of this application;
[0044] Figure 12 A schematic diagram of yet another communication device provided in the embodiments of this application;
[0045] Figure 13 A schematic diagram of yet another communication device provided in the embodiments of this application;
[0046] Figure 14 This is a schematic diagram of another communication device provided in an embodiment of this application. Detailed Implementation
[0047] The technical solutions in this application embodiment can be applied to wireless local area network (WLAN) scenarios. For example, they can be applied to the Institute of Electrical and Electronics Engineers (IEEE) 802.11 system standards, such as 802.11a / b / g, 802.11n, 802.11ac, 802.11ax standards, or their next-generation standards, such as 802.11be, Wi-Fi 7, or extremely high throughput (EHT), 802.11ad, 802.11ay, 802.11bf, and even the next generation of 802.11be, such as Wi-Fi 8 or a later generation standard. Alternatively, the embodiments of this application can also be applied to wireless local area network systems such as Internet of Things (IoT) networks or Vehicle to X (V2X) networks. Of course, the embodiments of this application can also be applied to other possible communication systems, such as LTE systems, LTE frequency division duplex (FDD) systems, LTE time division duplex (TDD) systems, Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) communication systems, 5G communication systems, and future 6G communication systems. This application supports IEEE protocols, such as IEEE 802.11be / Wi-Fi 7 / EHT protocols, IEEE 802.11bn / UHR / Wi-Fi 8 protocols, IEEE Integrated mmWave / IMMW protocols, IEEE 802.15 / UWB protocols, or IEEE 802.11bf / sensing protocols; this application can also support Spark Link / NearLink standard protocols.
[0048] The media control standard of the basic application layer of the StarFlash wireless communication system defines a volume control service, providing a method for controlling the volume of remote StarFlash audio devices and multimedia playback devices, including muting and adjusting the volume. (See also...) Figure 1 The diagram illustrates an architecture of a communication system applicable to embodiments of this application. Figure 1The following explanation uses a communication system comprising a client and a server as an example. The client can control the server's state, such as volume, by sending control requests. For instance, the client can send a control request to the server to mute, unmute, increase, or decrease the volume. Upon receiving the control request, the server applies the corresponding control to the local volume and responds with a volume control response. It should be understood that... Figure 1 The number of clients and servers mentioned is just an example; there could be more or fewer.
[0049] It should be noted that the client can be understood as the control initiator, and the server can be understood as the control take-off point, such as a multimedia playback device with audio playback function.
[0050] See Figure 2 This illustrates a volume mute control process, including the following operations.
[0051] S201: The client sends a volume control request to the server.
[0052] Correspondingly, the server receives volume control requests from the client.
[0053] The volume control request mentioned above may include an operation code, which is an operation code for setting the volume to mute.
[0054] S202: The server executes the operation indicated by the control request.
[0055] For example, the server controls the player's volume to mute.
[0056] S203: The server sends a volume control response to the client.
[0057] Correspondingly, the client receives the volume control response from the server.
[0058] In S203, after the server controls the player's volume to mute, it sends a volume control response to the client. This volume control response carries a result code, which indicates that the operation was successful.
[0059] It should be noted that the control procedures for unmute, increase volume, decrease volume, and adjust volume can be found by referring to [reference needed]. Figure 2 The control flow shown distinguishes control requests using different opcodes. Optionally, control requests can carry change flags to prevent message duplication.
[0060] When a client needs to control the volume of multiple servers, it needs to send volume control requests to each server separately. (See also...) Figure 3 A control flow for a client to control the volume and mute of two servers can include the following operations.
[0061] S301: The client sends a volume control request to the server.
[0062] Correspondingly, the server receives volume control requests from the client.
[0063] In S301, the client sends volume control requests to two servers, and the two servers receive the volume control requests from the client. These volume control requests may include an opcode, which is used to mute the volume.
[0064] S302: The server executes the operation indicated by the control request.
[0065] For example, two servers can control the player's volume to mute.
[0066] S303: The server sends a volume control response to the client.
[0067] Correspondingly, the client receives the volume control response from the server.
[0068] In S303, after the server responds to the player's volume control to mute it, both servers send a volume control response to the client. This volume control response carries a result code, which indicates that the operation was successful.
[0069] Figure 3 In this scenario, the two servers may be two independent multimedia playback devices. The volume control actions performed by the two clients are completely independent and not interconnected, relying solely on the client's control request and the player's volume control mechanism. For an example, see [link to example]. Figure 4 The client can be a mobile phone, and the server can be a wireless headset. The mobile phone and the wireless headset can communicate via short-range communication technologies such as Wi-Fi, Bluetooth, or WiFi.
[0070] In the StarFlash wireless communication system, volume control service requires an asynchronous link communication mechanism between the server and the client. Volume control requests are sent and received on this asynchronous link. (See also...) Figure 5 This illustrates the flow of a star-flashing air interface asynchronous link transmission control request. For example... Figure 5 As shown, the client transmits control requests to the server via an asynchronous over-the-air link. These control requests can be used to request control of the server's volume. Upon receiving the control request, the server controls the player's volume and transmits the control response back to the client via the asynchronous over-the-air link.
[0071] Currently, when a client controls the volume of a control request from a server, it sends control requests to multiple servers one by one via a StarFlash asynchronous link. There is a time difference in the reception time of these control requests by the multiple servers. Furthermore, because the control request is transmitted via an asynchronous link, the reception time of the control request by the server cannot be precisely controlled or predicted.
[0072] Because multiple servers operate on multiple independent devices, they cannot obtain the effective time of volume control from other servers, resulting in discrepancies in the effective time of volume control across different servers. See also... Figure 6 This is impossible when multiple servers need to control volume simultaneously, as the discrepancies in volume control across different servers lead to varying user experiences. For example, if the timing of volume control activation differs between a pair of wireless headphones, the user will perceive that neither headphone is being adjusted at the same time.
[0073] In view of this, embodiments of this application provide a control method. In this method, a first device sends a first control command to a second device on a first link, and sends a second control command to the second device on the second link. The first control command carries first indication information and synchronization information; the first indication information indicates a first operation to be performed by the second device; the second control command carries second indication information and synchronization information; the second indication information indicates a second operation to be performed by a third device. The synchronization information is used to determine the effective time of the first and second control commands.
[0074] Based on the above scheme, when the first device controls the second and third devices, it can carry synchronization information in the control command to determine the effective time of the control command, so that the second and third devices can execute the relevant operations indicated by the control command at the effective time, and enable the second and third devices to execute the operations indicated by the control command at the same time.
[0075] Unless otherwise specified, the term "first device" in this application can refer to a client device (such as a mobile phone), a component in a communication device (e.g., a processor, chip, or chip system), or a logic module or software capable of implementing all or part of the functions of a client device. Similarly, unless otherwise specified, the terms "second device" and "third device" in this application can refer to a server device (such as a wireless headset), a component of a server device (e.g., a processor, chip, or chip system), or a logic module or software capable of implementing all or part of the functions of a server device. In the following description, the first device will be used as a client device, and the second and third devices will be used as server devices.
[0076] See Figure 7The following is an exemplary flowchart of a control method provided in an embodiment of this application, which may include the following operations.
[0077] S701: The client device sends a first control command to the first server device.
[0078] Correspondingly, the first server device receives the first control command from the client device.
[0079] For example, the first control command may be a volume control command. In S701, the client device may send the first control command to the first server device on the first link. In this embodiment, the control command is used to instruct, control, or request the server device to perform related operations, and the control command and control request can be interchanged.
[0080] The aforementioned first control command may carry first indication information and synchronization information. The first indication information instructs the first server device to perform a first operation. Examples include operations such as muting, unmute, increasing, decreasing, or setting the volume.
[0081] S702: The client device sends a second control command to the second server device.
[0082] Correspondingly, the second server device receives the second control command from the client device.
[0083] For example, the second control command can be a volume control command. In S702, the client device can send the second control command to the second server device on the second link. This second control command can carry second indication information and synchronization information. The second indication information indicates a second operation to be performed by the second server device. Examples include operations such as muting, unmute, increasing, decreasing, or setting the volume.
[0084] In one possible scenario, the first and second indications can be the same. For example, if the first indication indicates that the volume is muted, the second indication also indicates that the volume is muted. Or, if the first indication indicates that the volume should be increased, the second indication also indicates that the volume should be increased. In another possible scenario, the first and second indications can be different. For example, if the first indication indicates that the volume is muted, the second indication indicates that the volume should be increased. Or, if the first indication indicates that the volume should be unmuted, the second indication indicates that the volume should be decreased.
[0085] Optionally, the first indication information can be obtained through... Figure 2The operation codes shown are implemented as follows. For example, when the first operation indicated by the first instruction information is to mute the volume, the first instruction information can be the operation code corresponding to mute the volume. As another example, when the first operation indicated by the first instruction information is to increase the volume, the first instruction information can be the operation code corresponding to increase the volume. Similarly, the second instruction information can be implemented with reference to the first instruction information. In one possible scenario, the client device can store the correspondence between operation codes and operations. When the client device wants to control the server device to perform a certain operation, it can carry the operation code corresponding to that operation in the control command.
[0086] In one possible implementation, the first link and the second link are links using the same communication standard. For example, the first link and the second link are links using the StarScan communication standard. Another example is that the first link and the second link are links using the Bluetooth communication standard. The aforementioned first link and second link are asynchronous transmission links. For example, this document uses a link where the first link and the second link are using the StarScan communication standard as an example for illustration.
[0087] In some embodiments, the synchronization information carried in the first and second control instructions can be used to determine the effective time of the first and second control instructions. It should be noted that the effective time of the first and second control instructions is the same. For example, the synchronization information can be physical layer synchronization information in the StarSpark communication system. In the StarSpark wireless communication system, when the audio system is working, two physical layer links are provided: an asynchronous transmission link for transmitting control instructions, such as the first and second control instructions, and a synchronous transmission link for transmitting data, such as audio data. On the synchronous transmission link, the StarSpark physical layer of the server device (such as the first and second server devices) is aligned with the client device using synchronization information, including clock information, to achieve StarSpark physical layer synchronization. This synchronization information is aligned and calibrated in real time during physical layer data communication to ensure that the synchronization information does not deviate throughout the entire audio data communication process.
[0088] For example, synchronization information may include clock synchronization information. For instance, the client device can convert the expected effective time, such as the effective time of the first control command and the effective time of the second control command, into synchronization information. For example, if the client device expects the effective time to be local time point N, and the client device determines that local time point N corresponds to the Mth time slot, then the client device can carry the indication information of the Mth time slot as synchronization information in the first and second control commands.
[0089] For example, the client device can convert the expected effective time, such as the effective time of the first control command and the effective time of the second control command, into synchronization information. For instance, if the client device expects the effective time to be local time N, and the client device determines that X milliseconds (or microseconds) have elapsed on the synchronization transmission link, corresponding to local time N, then the client device can carry the X milliseconds (or microseconds) indication information as synchronization information in the first and second control commands.
[0090] It should be noted that in the embodiments of this application, S702 can be implemented before S701 or after S701, and this application does not make specific limitations in this regard.
[0091] In one possible implementation, prior to S701 and S702, the client device may receive a first request message. In one possibility, this first request message can be received from a first server device, and it requests adjustment of the first server device's state, such as volume. In another possibility, the first request message can be received from a second server device, and it requests adjustment of the second server device's state, such as volume. Based on this first request message, the client device can determine that simultaneous control of both the first and second server devices is required, and executes S701 and S702. Based on this scheme, the client device's control of the server devices can be passive, such as being requested by the server device.
[0092] S703: The first server device performs the first operation at the time of activation.
[0093] For example, when the first operation indicated by the first instruction information is to mute the volume, the first server device can control the player to mute at the effective time. The first server device can convert the synchronization information into local time and execute the first operation when the local time is reached.
[0094] For example, when the synchronization information is an indication of the Mth time slot, the first server device can determine that the Mth time slot corresponds to local time point N, and perform the first operation at local time point N. As another example, when the synchronization information is an indication of X milliseconds (or microseconds), the first server device can determine the local time point N corresponding to X milliseconds (or microseconds) elapsed on the synchronization transmission link, and perform the first operation at local time point N.
[0095] Similarly, the second server device performs the second operation at the time of activation, which can be referred to the implementation of the first server device performing the first operation at the time of activation, and will not be repeated here.
[0096] Based on the above scheme, when the client device controls the first server device and the second server device, it can carry synchronization information in the control command to determine the effective time of the control command. This enables the first server device and the second server device to execute the relevant operations indicated by the control command at the effective time, allowing the first server device and the second server device to execute the operations indicated by the control command at the same time, avoiding the asynchrony of the execution operations caused by the first server device and the second server device's misunderstanding of the effective time.
[0097] Optional, Figure 7 In the illustrated embodiment, after performing the first operation, the first server device can send a first control response to the client device, indicating that the operation was successful. For example, this first control response could be a volume control response. Similarly, after performing the second operation, the second server device can send a second control response to the client device, indicating that the operation was successful.
[0098] The above Figure 7 In the illustrated embodiment, the example of a client device controlling two server devices is used for explanation. In one possible implementation, the client device can control two or more server devices simultaneously. For example, the client device can also send a third control command to one or more third server devices. For instance, the client device can send a third control command to one or more third server devices through a fourth link established with them. This third control command carries third indication information and the aforementioned synchronization information. The third indication information instructs one or more third server devices to perform a third operation. For example, the third indication information may be the same as or different from the first indication information; this can be implemented with reference to the preceding descriptions of the first and second indication information, and will not be repeated here. In this possible implementation, the synchronization information is also used to determine the effective time of the third control command.
[0099] Based on the above scheme, the client device can control multiple server devices simultaneously. By carrying synchronization information in the control commands, multiple server devices can perform related operations at the same time.
[0100] See Figure 8 The client device can send control requests carrying synchronization information to both the first and second server devices. Upon receiving the control command, the first and second server devices will convert the synchronization information in the command into a local effective time and execute the relevant operations after that effective time arrives. Figure 8 It can be seen that by synchronizing information, the first server device and the second server device can be controlled to perform relevant operations at the same effective time.
[0101] To facilitate understanding of the technical solutions provided in the embodiments of this application, the process of clock synchronization between a client device and a server device is described below. The client device and server device can achieve clock synchronization by establishing a third link, such as a synchronization transmission link. When establishing a synchronization transmission link, either the client device or the server device can initiate the link establishment request. In this document, the end that initiates the link establishment request is referred to as node G, and the end that agrees to establish the link is referred to as node T. See also... Figure 9 The diagram illustrates a process for establishing a synchronous transmission link according to an embodiment of this application, which may include the following operations.
[0102] S901: Node G sends the first message to node T.
[0103] Accordingly, node T receives the first message from node G.
[0104] For example, the first message could be a synchronous link establishment indication. It should be noted that a synchronous link can also be called a synchronous transmission link or a synchronous isochronous link. The first message can indicate the effective time of the first message.
[0105] S902: At the moment when the signaling takes effect, node G and node T establish a synchronization link.
[0106] The synchronization link establishment indication can carry the signaling effective time slot number, the third link scheduling event period, the event synchronization anchor point, and the reference time interval. T-nodes and G-nodes can determine the effective time of the first message using the third link scheduling event period, the event synchronization anchor point, and the reference time interval. Within the time slot indicated by the signaling effective time slot number, T-nodes and G-nodes can establish a synchronization link. On the synchronization link, the scheduling of T-nodes and G-nodes is based on system scheduling time slots and moves according to the frequency indicated by the third link scheduling event period. In this way, the server device and the client device can establish a synchronization link, thereby achieving clock synchronization.
[0107] The following, combined with Figure 10 The control method provided in the embodiments of this application will be described in detail. See also... Figure 10 The following is an exemplary flowchart of a control method provided in an embodiment of this application, which may include the following operations.
[0108] S1001: The physical layer of the client device establishes a synchronization link with the physical layer of the server device and aligns the synchronization information.
[0109] S1001 can be used as a reference. Figure 9 The illustrated embodiment is implemented.
[0110] S1002: The protocol layer of the client device sends the expected local activation time to the physical layer of the client device.
[0111] The physical layer of the client device can convert the local effective time into physical layer synchronization information. For example, the physical layer of the client device can determine that the local effective time will arrive in M microseconds, or the physical layer of the client device can determine that the local effective time corresponds to time slot N.
[0112] S1003: The physical layer of the client device sends physical layer synchronization information to the protocol layer of the client device.
[0113] S1004: The protocol layer of the client device sends control commands to the protocol layer of the server device.
[0114] Accordingly, the server device's protocol layer receives control commands from the client device's protocol layer. These control commands may carry indication information, such as an opcode, instructing the server device to mute its volume. The control commands also carry physical layer synchronization information.
[0115] S1005: The protocol layer of the server device sends physical layer synchronization information to the physical layer of the server device.
[0116] The physical layer of the server device can convert physical layer synchronization information into a local effective time. For example, the physical layer of the client device can reach the local effective time T1 after M microseconds, or the physical layer of the client device can determine that time slot N corresponds to the local effective time T1.
[0117] S1006: The physical layer of the server device sends the effective time to the protocol layer of the server device.
[0118] S1007: The protocol layer of the server device sends an instruction message and the effective time to the audio system of the server device.
[0119] For example, the protocol layer of the server device sends the instruction information in the control command and the effective time obtained in S1006 to the audio system of the server device.
[0120] S1008: The audio system of the server device executes the operation indicated by the instruction information at the effective time.
[0121] For example, the audio system of the server device performs a volume mute operation at the effective time.
[0122] It should be noted that, Figure 10 The server-side devices shown can be the first server-side device, the second server-side device, and the third server-side device mentioned above.
[0123] Furthermore, it should be noted that the synchronization information in this application embodiment is not limited to the synchronization information of the aforementioned StarSpark physical layer synchronization transmission link, but can also be other time synchronization information between the client and the server, such as Bluetooth time synchronization information. The above synchronization information is only provided as an example to facilitate understanding of the technical solution provided in this application embodiment.
[0124] The following embodiments illustrate the communication device provided in this application. Figure 11 This is a schematic block diagram of a communication device 1100 provided in an embodiment of this application. The communication device 1100 can correspondingly implement the functions or steps implemented by the client device and server device in the various method embodiments described above. The communication device may include a processing unit 1110 and a transceiver unit 1120. Optionally, it may also include a storage unit, which can be used to store instructions (code or program) and / or data. The processing unit 1110 and the transceiver unit 1120 can be coupled to the storage unit. For example, the processing unit 1110 can read instructions (code or program) and / or data from the storage unit to implement the corresponding method. The aforementioned units can be set independently, or partially or completely integrated.
[0125] Optionally, the transceiver unit 1120 may include a transmitting unit and a receiving unit. The transmitting unit can be used to perform all transmitting operations performed by the communication device 1100, and the receiving unit can be used to perform all receiving operations performed by the communication device 1100.
[0126] In some possible implementations, the communication device 1100 can correspondingly implement the behavior and functions of the client device in the above method embodiments. For example, the communication device 1100 can be a client device or a component (e.g., a chip or circuit) applied in the client device. The transceiver unit 1120 can be used to perform... Figure 7 The illustrated embodiment represents all receive or send operations performed by the client device. The processing unit 1110 is used to perform operations such as... Figure 7 The embodiments shown include all operations performed by the client device except for sending and receiving operations.
[0127] For example, processing unit 1110 is used to generate a first control command and a second control command. The first control command carries first indication information and synchronization information; the first indication information indicates a first operation to be performed by the second device. The second control command carries second indication information and synchronization information; the second indication information indicates a second operation to be performed by the third device. The synchronization information is used to determine the effective time of the first and second control commands. Transceiver unit 1120 is used to send the first control command to the second device on the first link and to send the second control command to the third device on the second link.
[0128] In some possible implementations, the communication device 1100 can correspondingly implement the behavior and functions of the server device in the above method embodiments. For example, the communication device 1100 can be a server device or a component (e.g., a chip or circuit) applied in the server device. The transceiver unit 1120 can be used to perform... Figure 7 The embodiments shown depict all receive or send operations performed by the server device. The processing unit 1110 is used to perform operations such as... Figure 7 The embodiments shown include all operations performed by the server device except for sending and receiving operations.
[0129] For example, transceiver unit 1120 is configured to receive a first control command from a first device on a first link. The first control command carries first indication information and synchronization information. The first indication information indicates a first operation to be performed by a second device, and the synchronization information is used to determine the effective time of the first control command. Processing unit 1110 is configured to execute the first indication information at the effective time.
[0130] For details regarding the operations performed by the processing unit 1110 and the transceiver unit 1120, please refer to the relevant descriptions in the foregoing method embodiments.
[0131] It should be understood that the processing unit 1110 in the embodiments of this application can be implemented by a processor or processor-related circuit components, and the transceiver unit 1120 can be implemented by a transceiver or transceiver-related circuit components or a communication interface.
[0132] Based on the same concept, such as Figure 12 As shown, this application embodiment provides a communication device 1200. The communication device 1200 includes a processor 1210. Optionally, the communication device 1200 may further include a memory 1220 for storing instructions executed by the processor 1210, or storing input data required by the processor 1210 to execute the instructions, or storing data generated after the processor 1210 executes the instructions. The processor 1210 can implement the method shown in the above method embodiment through the instructions stored in the memory 1220.
[0133] Based on the same concept, such as Figure 13 As shown, this application embodiment provides a communication device 1300, which may be a chip or a chip system. Optionally, in this application embodiment, the chip system may be composed of chips, or may include chips and other discrete devices.
[0134] The communication device 1300 may include at least one processor 1310 coupled to a memory, which may optionally be located within or outside the device. For example, the communication device 1300 may also include at least one memory 1320. The memory 1320 stores computer programs, configuration information, computer programs or instructions, and / or data necessary for implementing any of the above embodiments; the processor 1310 may execute the computer programs stored in the memory 1320 to perform the methods in any of the above embodiments.
[0135] The coupling in this embodiment is an indirect coupling or communication connection between devices, units, or modules, which can be electrical, mechanical, or other forms, used for information exchange between devices, units, or modules. The processor 1310 may operate in conjunction with the memory 1320. This embodiment does not limit the specific connection medium between the transceiver 1330, processor 1310, and memory 1320.
[0136] The communication device 1300 may also include a transceiver 1330, through which the communication device 1300 can exchange information with other devices. The transceiver 1330 can be a circuit, a bus, a transceiver unit, or any other device that can be used for information exchange, or a signal transceiver unit. Figure 13 As shown, the transceiver 1330 includes a transmitter 1331, a receiver 1332, and an antenna 1333. Furthermore, when the communication device 1300 is a chip-based device or circuit, the transceiver in the communication device 1300 can also be an input / output circuit and / or a communication interface, capable of inputting data (or receiving data) and outputting data (or transmitting data). The processor is an integrated processor, a microprocessor, or an integrated circuit, and the processor can determine the output data based on the input data.
[0137] In one possible implementation, the communication device 1300 can be applied to a client device. Specifically, the communication device 1300 can be a client device or a device capable of supporting the client device in implementing the functions of the client device in any of the above embodiments. The memory 1320 stores the necessary computer programs, computer programs or instructions and / or data for implementing the functions of the communication device in any of the above embodiments. The processor 1310 can execute the computer program stored in the memory 1320 to complete the method executed by the client device in any of the above embodiments.
[0138] In one possible implementation, the communication device 1300 can be applied to a server device. Specifically, the communication device 1300 can be a server device or a device capable of supporting the server device in implementing the functions of the server device in any of the above embodiments. The memory 1320 stores the necessary computer programs, computer programs or instructions and / or data for implementing the functions of the server device in any of the above embodiments. The processor 1310 can execute the computer program stored in the memory 1320 to complete the method executed by the server device in any of the above embodiments.
[0139] In the embodiments of this application, the processor may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly manifested as being executed by a hardware processor, or executed by a combination of hardware and software modules within the processor.
[0140] In the embodiments of this application, the memory can be non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), or it can be volatile memory, such as random-access memory (RAM). The memory can also be any other medium capable of carrying or storing desired program code in the form of instructions or data structures, and accessible by a computer, but is not limited thereto. The memory in the embodiments of this application can also be a circuit or any other device capable of implementing storage functions, used to store computer programs, computer program or instruction and / or data.
[0141] Based on the above embodiments, see Figure 14 This application embodiment also provides another communication device 1400, including: an input / output interface 1410 and a logic circuit 1420; the input / output interface 1410 is used to receive code instructions and transmit them to the logic circuit 1420; the logic circuit 1420 is used to run the code instructions to execute the methods executed by the client device and the server device in any of the above embodiments.
[0142] Optionally, the input / output interface 1410 can be an on-chip interface, and the logic circuit 1420 can be one or more processors. Optionally, the one or more processors can be located within the device or outside the device.
[0143] The following provides a detailed description of the operations performed by this communication device on client and server devices.
[0144] In one optional implementation, the communication device 1400 can be applied to a client device to execute the methods performed by the client device, specifically as described above. Figure 7 The method executed by the client device in the illustrated embodiment.
[0145] For example, logic circuit 1420 is used to generate a first control instruction and a second control instruction. The first control instruction carries first indication information and synchronization information; the first indication information indicates a first operation to be performed by a second device. The second control instruction carries second indication information and synchronization information; the second indication information indicates a second operation to be performed by a third device. The synchronization information is used to determine the effective time of the first and second control instructions. Input / output interface 1410 is used to send the first control instruction to the second device on a first link and to send the second control instruction to the third device on the second link.
[0146] Since the communication device 1400 provided in this embodiment can be applied to a client device to complete the method executed by the client device described above, the technical effects it can achieve can be referred to the above method embodiment, and will not be repeated here.
[0147] In one optional implementation, the communication device 1400 can be applied to a server device to execute the methods performed by the server device, specifically as described above. Figure 7 The method executed by the server device in the illustrated embodiment.
[0148] For example, input / output interface 1410 is used to receive a first control command from a first device on a first link. The first control command carries first indication information and synchronization information. The first indication information indicates a first operation to be performed by a second device, and the synchronization information is used to determine the effective time of the first control command. Logic circuit 1420 is used to execute the first indication information at the effective time.
[0149] Since the communication device 1400 provided in this embodiment can be applied to a server device to complete the method executed by the server device described above, the technical effects it can achieve can be referred to the above method embodiment, and will not be repeated here.
[0150] Based on the above embodiments, this application also provides a communication system. This communication system includes at least one communication device applied to a client device and at least one communication device applied to a server device. The technical effects obtained can be referred to the above method embodiments, and will not be repeated here.
[0151] Based on the above embodiments, this application also provides a computer-readable storage medium storing a computer program or instructions. When the instructions are executed, the methods executed by the client device or server device in any of the above embodiments are implemented. The computer-readable storage medium may include various media capable of storing program code, such as a USB flash drive, portable hard drive, read-only memory, random access memory, magnetic disk, or optical disk.
[0152] To achieve the above Figures 11-14 In addition to the functions of the communication device, this application also provides a chip, including a processor, for supporting the communication device in implementing the functions involved in the client device and server device in the above method embodiments. In one possible design, the chip is connected to a memory or the chip includes a memory for storing the computer programs or instructions and data necessary for the communication device.
[0153] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0154] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by a computer program or instructions. Such computer programs or instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0155] These computer programs or instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0156] These computer programs or instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0157] Obviously, those skilled in the art can make various modifications and variations to the embodiments of this application without departing from the scope of the embodiments of this application. Therefore, if these modifications and variations to the embodiments of this application fall within the scope of the claims of this application and their equivalents, this application also intends to include these modifications and variations.
Claims
1. A control method, characterized in that, Applied to the first device, comprising: A first control command is sent to a second device on a first link. The first control command carries first indication information and synchronization information. The first indication information indicates a first operation to be performed by the second device. A second control command is sent to a third device on the second link. The second control command carries second indication information and the synchronization information. The second indication information indicates a second operation to be performed by the third device. The synchronization information is used to determine the effective time of the first control command and the second control command.
2. The method according to claim 1, characterized in that, The synchronization information is synchronization information on a third link, which is either a synchronization transmission link between the first device and the second device, or a synchronization transmission link between the first device and the third device.
3. The method according to claim 1 or 2, characterized in that, The first link and the second link are asynchronous transmission links of the StarFlash communication standard.
4. The method according to any one of claims 1 to 3, characterized in that, Also includes: A third control command is sent to at least one fourth device on at least one fourth link. The third control command carries third indication information and the synchronization information. The third indication information is a third operation performed by the at least one fourth device under the control of the third control command.
5. The method according to any one of claims 1 to 4, characterized in that, Also includes: Receive a first request message from the second device or the third device, the first request message being used to request adjustment of the state of the second device or the third device.
6. A control method, characterized in that, Applied to a second device, comprising: A first control command is received from a first device on a first link. The first control command carries first indication information and synchronization information. The first indication information indicates a first operation to be performed by the second device, and the synchronization information is used to determine the effective time of the first control command. The first instruction information is executed at the effective time.
7. The method according to claim 6, characterized in that, The synchronization information is synchronization information on the third link, which is the synchronization transmission link between the first device and the second device.
8. The method according to claim 6 or 7, characterized in that, The first link is an asynchronous transmission link of the StarFlash communication standard.
9. The method according to any one of claims 6 to 8, characterized in that, Also includes: A first request message is sent to the first device, the first request message being used to request adjustment of the state of the second device.
10. A communication device, characterized in that, The device includes at least one processor coupled to a memory for storing programs or instructions that, when executed by the processor, cause the device to perform the method as claimed in any one of claims 1 to 5, or cause the device to perform the method as claimed in any one of claims 6 to 9.
11. A chip, characterized in that, The chip includes: Communication interface; At least one processor is configured to invoke and execute the instructions via the communication interface, causing a device equipped with the chip system to perform the method as described in any one of claims 1 to 5, or causing a device equipped with the chip system to perform the method as described in any one of claims 6 to 9.
12. A computer program product, characterized in that, It includes computer execution instructions that, when executed on a computer, cause the computer to perform the method as described in any one of claims 1 to 5, or cause the electronic device to perform the method as described in any one of claims 6 to 9.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions that, when invoked by an electronic device, cause the electronic device to perform the method as described in any one of claims 1 to 5, or cause the electronic device to perform the method as described in any one of claims 6 to 9.
