Control method and apparatus
By using synchronization information control commands in the StarFlash wireless communication system, the problem of inconsistent volume control activation times across multiple servers was solved, enabling synchronized volume control across multiple server devices and improving the user experience.
Patent Information
- Application Number
- PCT/CN2026/098143
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-05-21
- Filing Date
- 2026-05-20
- Publication Date
- 2026-11-26
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 time of volume control across multiple servers and impacting user experience.
By carrying synchronization information in the control commands, it is ensured that multiple servers perform volume control operations at the same time. Clock synchronization is achieved by using a synchronous transmission link to ensure that the effective time of the control commands is consistent.
This enables multiple server devices to perform volume control operations simultaneously, avoiding asynchronous issues caused by misunderstandings in the timing of the operation and improving the consistency of the user experience.
Smart Images

Figure CN2026098143_26112026_PF_FP_ABST
Abstract
Description
A control method and apparatus
[0001] Cross-references to related applications
[0002] This application claims priority to Chinese Patent Application No. 202510666614.1, filed on May 21, 2025, entitled "A Control Method and Apparatus", the entire contents of which are incorporated herein by reference. Technical Field
[0003] This application relates to the field of wireless communication technology, and in particular to a control method and apparatus. Background Technology
[0004] 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.
[0005] 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
[0006] This application provides a control method and apparatus to align the effective times of control commands from multiple servers.
[0007] 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.
[0008] 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.
[0009] 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.
[0010] 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.
[0011] 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.
[0012] In one possible implementation of the first aspect, the first device converts the effective time into synchronization information corresponding to the third link.
[0013] 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.
[0014] 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.
[0015] 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.
[0016] 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.
[0017] In one possible implementation of the second aspect, the second device converts the synchronization information corresponding to the third link into an effective time.
[0018] 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.
[0019] Thirdly, a communication device is provided, including a processing unit and a transceiver unit.
[0020] 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.
[0021] 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.
[0022] 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.
[0023] Fourthly, a communication device is provided, including a processing unit and a transceiver unit.
[0024] 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.
[0025] 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.
[0026] 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.
[0027] 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.
[0028] 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.
[0029] 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.
[0030] 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.
[0031] 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.
[0032] 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.
[0033] 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.
[0034] 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
[0035] Figure 1 is a schematic diagram of a communication system provided in an embodiment of this application;
[0036] Figure 2 is a schematic diagram of a volume control process provided in an embodiment of this application;
[0037] Figure 3 is a schematic diagram of another volume control process provided in an embodiment of this application;
[0038] Figure 4 is a schematic diagram of a scenario provided by an embodiment of this application;
[0039] Figure 5 is a schematic diagram of a StarScan asynchronous link transmission control request provided in an embodiment of this application;
[0040] Figure 6 is a schematic diagram of another type of star-flash air interface asynchronous link transmission control request provided in an embodiment of this application;
[0041] Figure 7 is an exemplary flowchart of a control method provided in an embodiment of this application;
[0042] Figure 8 is an exemplary flowchart of another control method provided in an embodiment of this application;
[0043] Figure 9 is a schematic diagram of a process for establishing a synchronous transmission link according to an embodiment of this application;
[0044] Figure 10 is an exemplary flowchart of another control method provided in an embodiment of this application;
[0045] Figure 11 is a schematic diagram of a communication device provided in an embodiment of this application;
[0046] Figure 12 is a schematic diagram of another communication device provided in an embodiment of this application;
[0047] Figure 13 is a schematic diagram of another communication device provided in an embodiment of this application;
[0048] Figure 14 is a schematic diagram of another communication device provided in an embodiment of this application. Detailed Implementation
[0049] 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 protocol, IEEE 802.11bn / UHR / Wi-Fi 8 protocol, IEEE Integrated mmWave / IMMW protocol, IEEE 802.15 / UWB protocol, or IEEE 802.11bf / sensing protocol; this application can also support the Spark Link / NearLink standard protocols.
[0050] 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 to mute or adjust the volume. Referring to Figure 1, an architecture diagram of a communication system applicable to an embodiment of this application is shown. Figure 1 illustrates an example of a communication system including a client and a server. The client can control the state of the server, such as the volume, by sending control requests to the server. For example, the client can initiate control requests to the server to mute, unmute, increase, or decrease the volume. When the server receives the control request, it applies the corresponding control to the local volume and replies with the control result through a volume control response. It should be understood that the number of clients and servers in Figure 1 is only an example, and there may be more or fewer.
[0051] 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.
[0052] Referring to Figure 2, a volume mute control process is shown, which includes the following operations.
[0053] S201: The client sends a volume control request to the server.
[0054] Correspondingly, the server receives volume control requests from the client.
[0055] The volume control request mentioned above may include an operation code, which is an operation code for setting the volume to mute.
[0056] S202: The server executes the operation indicated by the control request.
[0057] For example, the server controls the player's volume to mute.
[0058] S203: The server sends a volume control response to the client.
[0059] Correspondingly, the client receives the volume control response from the server.
[0060] 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.
[0061] It should be noted that the control flow for unmute, volume up, volume down, and volume setting can be referenced in Figure 2, with different operation codes distinguishing control requests. Optionally, control requests can carry change flags to prevent message duplication.
[0062] When a client needs to control the volume of multiple servers, it needs to send volume control requests to each server separately. Referring to Figure 3, the control flow for a client to control the volume of two servers separately to mute can include the following operations.
[0063] S301: The client sends a volume control request to the server.
[0064] Correspondingly, the server receives volume control requests from the client.
[0065] 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.
[0066] S302: The server executes the operation indicated by the control request.
[0067] For example, two servers can control the player's volume to mute.
[0068] S303: The server sends a volume control response to the client.
[0069] Correspondingly, the client receives the volume control response from the server.
[0070] 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.
[0071] In Figure 3, the two servers may be two independent multimedia playback devices. The volume control actions of the two clients are not interconnected and are completely independent, relying solely on the received control requests from the clients and the player's volume control mechanism. For example, referring to 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.
[0072] In the StarSpark wireless communication system, volume control service requires an asynchronous link communication mechanism between the server and client. Volume control requests are sent and received on this asynchronous link. Referring to Figure 5, a flow chart of a StarSpark air interface asynchronous link transmission control request is shown. As shown in Figure 5, the client transmits control requests to the server via the asynchronous link air interface. This control request can be used to request control of the server's volume. After receiving the control request, the server controls the player's volume and transmits the control response back to the client via the asynchronous link air interface.
[0073] 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.
[0074] Because multiple servers operate on multiple independent devices, they are unable to obtain the effective time of volume control from other servers, resulting in discrepancies in the effective time of volume control across different servers. Referring to Figure 6, this becomes impossible when multiple servers need to control volume simultaneously, demonstrating the difference in volume control across servers and consequently, differences in user experience. For example, if the effective time of volume control differs between a pair of wireless headphones, the user will perceive that the two headphones are not being adjusted simultaneously.
[0075] 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.
[0076] 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.
[0077] 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.
[0078] Referring to Figure 7, which is an exemplary flowchart of a control method provided in an embodiment of this application, it may include the following operations.
[0079] S701: The client device sends a first control command to the first server device.
[0080] Correspondingly, the first server device receives the first control command from the client device.
[0081] 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.
[0082] 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.
[0083] S702: The client device sends a second control command to the second server device.
[0084] Correspondingly, the second server device receives the second control command from the client device.
[0085] 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.
[0086] 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.
[0087] Optionally, the first instruction information can be implemented using the operation code shown in Figure 2. For example, if 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. Similarly, if 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. Likewise, 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.
[0088] 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.
[0089] 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.
[0090] 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.
[0091] 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.
[0092] 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.
[0093] 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.
[0094] S703: The first server device performs the first operation at the effective time.
[0095] 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.
[0096] 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.
[0097] 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.
[0098] 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.
[0099] Optionally, in the embodiment shown in Figure 7, after performing the first operation, the first server device may send a first control response to the client device, indicating that the operation was successful. For example, this first control response may be a volume control response. Similarly, after performing the second operation, the second server device may send a second control response to the client device, indicating that the operation was successful.
[0100] In the embodiment shown in Figure 7 above, the example of a client device controlling two server devices is used for illustration. 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.
[0101] 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.
[0102] Referring to Figure 8, the client device can send control requests carrying synchronization information to the first server device and the second server device respectively. When the first server device and the second server device receive the control command, they convert the synchronization information in the control command into a local effective time, and execute the relevant operations after the effective time arrives. As can be seen from Figure 8, the synchronization information can control the first server device and the second server device to perform relevant operations at the same effective time.
[0103] 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. Referring to Figure 9, a flowchart illustrating the establishment of a synchronization transmission link provided in the embodiments of this application is shown, which may include the following operations.
[0104] S901: Node G sends the first message to node T.
[0105] Accordingly, node T receives the first message from node G.
[0106] 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.
[0107] S902: At the moment when the signaling takes effect, node G and node T establish a synchronization link.
[0108] 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.
[0109] The control method provided by the embodiments of this application will be described in detail below with reference to FIG10. Referring to FIG10, an exemplary flowchart of a control method provided by an embodiment of this application may include the following operations.
[0110] 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.
[0111] S1001 can be implemented with reference to the embodiment shown in Figure 9.
[0112] S1002: The protocol layer of the client device sends the expected local activation time to the physical layer of the client device.
[0113] 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.
[0114] S1003: The physical layer of the client device sends physical layer synchronization information to the protocol layer of the client device.
[0115] S1004: The protocol layer of the client device sends control commands to the protocol layer of the server device.
[0116] 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.
[0117] S1005: The protocol layer of the server device sends physical layer synchronization information to the physical layer of the server device.
[0118] 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.
[0119] S1006: The physical layer of the server device sends the effective time to the protocol layer of the server device.
[0120] S1007: The protocol layer of the server device sends an instruction message and the effective time to the audio system of the server device.
[0121] 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.
[0122] S1008: The audio system of the server device executes the operation indicated by the instruction information at the effective time.
[0123] For example, the audio system of the server device performs a volume mute operation at the effective time.
[0124] It should be noted that the server device shown in Figure 10 can be the first server device, the second server device, and the third server device mentioned above.
[0125] 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.
[0126] Based on the following embodiments, a communication device provided in this application is described. Figure 11 is a schematic block diagram of a communication device 1100 provided in an embodiment of this application. This 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 may 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 above-mentioned units can be set independently, or partially or completely integrated.
[0127] 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.
[0128] 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 all the receive or send operations performed by the client device in the embodiment shown in FIG. 7. The processing unit 1110 is used to perform all operations performed by the client device in the embodiment shown in FIG. 7, except for the receive and send operations.
[0129] 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.
[0130] 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 all the receive or send operations performed by the server device in the embodiment shown in FIG. 7. The processing unit 1110 is used to perform all operations performed by the server device in the embodiment shown in FIG. 7 except for the receive and send operations.
[0131] 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.
[0132] 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.
[0133] 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.
[0134] Based on the same concept, as shown in FIG12, 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 instructions, or storing data generated after the processor 1210 executes instructions. The processor 1210 can implement the method shown in the above method embodiment through the instructions stored in the memory 1220.
[0135] Based on the same concept, as shown in FIG13, 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.
[0136] 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.
[0137] 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.
[0138] The communication device 1300 may also include a transceiver 1330, through which the communication device 1300 can interact with other devices. The transceiver 1330 can be a circuit, a bus, a transceiver, or any other device that can be used for information interaction, or a signal transceiver unit. As shown in Figure 13, the transceiver 1330 includes a transmitter 1331, a receiver 1332, and an antenna 1333. Furthermore, when the communication device 1300 is a chip-type 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.
[0139] 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.
[0140] 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.
[0141] 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.
[0142] 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.
[0143] Based on the above embodiments, referring to FIG14, 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.
[0144] 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.
[0145] The following provides a detailed description of the operations performed by this communication device on client and server devices.
[0146] In one optional implementation, the communication device 1400 can be applied to a client device to execute the method performed by the client device, specifically, for example, the method performed by the client device in the embodiment shown in FIG7.
[0147] 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.
[0148] 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.
[0149] 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, for example, the methods performed by the server device in the embodiment shown in FIG7.
[0150] 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.
[0151] 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.
[0152] 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.
[0153] 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.
[0154] To achieve the functions of the communication devices shown in Figures 11-14, this application embodiment 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 necessary computer programs or instructions and data for the communication device.
[0155] 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.
[0156] 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 computer programs or instructions. These 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, create means for implementing the functions specified in one or more blocks of the flowchart illustrations and / or one or more blocks of the block diagrams.
[0157] 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 that implement the functions specified in one or more flowcharts and / or one or more block diagrams.
[0158] These computer programs or instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, such that the instructions, which execute on the computer or other programmable apparatus, provide steps for implementing the functions specified in one or more flowcharts and / or one or more block diagrams.
[0159] 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.
