Communication method, apparatus, system, medium, product and chip system

By using behavior identifiers in power line carrier communication to control the interaction between the controlled device and the controlled device, the problem of communication resource waste caused by the controlled device returning response messages is solved, achieving efficient device control and resource saving.

CN122073480APending Publication Date: 2026-05-22BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
Filing Date
2024-11-21
Publication Date
2026-05-22

AI Technical Summary

Technical Problem

In power line carrier communication, during the interaction between the control device and the controlled device, existing technologies require the controlled device to return a response message, resulting in a waste of communication resources.

Method used

By transmitting behavior identifiers between the controlling device and the controlled device, the controlled device is instructed to perform corresponding behaviors without requiring the controlled device to return response messages.

Benefits of technology

It enables control of the controlled device while saving communication resources occupied by response messages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122073480A_ABST
    Figure CN122073480A_ABST
Patent Text Reader

Abstract

The present disclosure relates to a communication method, device, system, medium, product and chip system, the method comprising: sending first data to a controlled device, wherein the first data contains a behavior identifier, the first data is used to instruct the controlled device to perform the behavior indicated by the behavior identifier, and the controlled device is a power line carrier communication (PLC) device; wherein the behavior indicated by the behavior identifier does not require the controlled device to return a response message. Thus, in the interaction process between the control device and the controlled device, the control of the controlled device can be realized through the behavior identifier, so that the control device does not need to return a response message after performing the behavior, which can realize the control of the controlled device and save the communication resources occupied by the response message.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of communications, and in particular to communication methods, apparatus, systems, media, products and chip systems. Background Technology

[0002] Power line communication (PLC) is a communication technology that transmits data and voice signals over power lines. Data transmission can occur between different appliances connected to the same electricity meter, or it can be transmitted remotely over the power grid. PLCs can be used to connect various smart devices in the home, such as smart sockets, smart light bulbs, and temperature controllers. When controlling a PLC device, the controlling device typically sends operation data to the controlled device, which then performs the operation based on that data and sends a response message back to the controlling device to inform it of the result. Summary of the Invention

[0003] To overcome the problems existing in related technologies, this disclosure provides a communication method, apparatus, system, medium, product, and chip system.

[0004] According to a first aspect of the present disclosure, a communication method is provided, executed by a control device, comprising: Send first data to the controlled device, wherein the first data includes a behavior identifier, and the first data is used to instruct the controlled device to perform the behavior indicated by the behavior identifier, wherein the controlled device is a power line carrier communication PLC device; In this case, the behavior indicated by the behavior identifier does not require the controlled device to return a response message.

[0005] In some embodiments, the control device stores device information of the controlled device, the device information including at least one service identifier of the controlled device, and each service identifier includes at least one behavior identifier.

[0006] In some embodiments, the method further includes: Based on the event identifier, event information occurring in the controlled device is obtained, wherein the service identifier also includes at least one event identifier, and different event identifiers indicate different event types.

[0007] In some embodiments, obtaining event information occurring in the controlled device based on event identifiers includes: The controlled device receives second data sent by the controlled device, wherein the second data contains the event identifier and the event information corresponding to the event identifier, and the second data is sent by the controlled device when the event indicated by the event identifier occurs.

[0008] In some embodiments, obtaining event information occurring in the controlled device based on event identifiers includes: Send third data to the controlled device, wherein the third data includes the event identifier; The controlled device sends fourth data, which includes the event identifier and the event information corresponding to the event identifier.

[0009] In some embodiments, the method further includes: Based on the resource service identifier, obtain the device information of the controlled device; The resource service identifier indicates a service used to record device information, which includes at least one of device type, device name, and a list of device service identifiers, and the list of service identifiers includes various service identifiers in the device.

[0010] In some embodiments, obtaining the device information of the controlled device based on the resource service identifier includes: Send fifth data to the controlled device, the fifth data including the resource service identifier; Receive device information of the controlled device sent by the controlled device.

[0011] In some embodiments, the controlled device includes multiple sub-devices and a virtual master device. The step of obtaining the device information of the controlled device based on the resource service identifier includes: Send sixth data to the controlled device, the sixth data including the resource service identifier and the identifier of the virtual host device; The device receives device information of the virtual master device sent by the controlled device, the device information further including the sub-device identifiers of the plurality of sub-devices; Send seventh data to the controlled device, the seventh data including a first sub-device identifier and the resource service identifier, wherein the first sub-device identifier is any one of a plurality of sub-device identifiers; The controlled device receives device information of a sub-device indicated by the first sub-device identifier sent by the controlled device. The device information of the controlled device includes the device information of the multiple sub-devices. The same service in different sub-devices is indicated by the same service identifier.

[0012] According to a second aspect of the present disclosure, a communication method is provided, applied to a controlled device, comprising: The controlled device receives first data sent by the control device, wherein the first data includes a behavior identifier, and the first data is used to instruct the controlled device to perform the behavior indicated by the behavior identifier; The behavior indicated by the behavior identifier is executed, wherein the controlled device is a power line carrier communication PLC device, and the behavior indicated by the behavior identifier does not require the controlled device to return a response message.

[0013] In some embodiments, the controlled device stores device information, which includes at least one service identifier of the controlled device, and each service identifier includes at least one behavior identifier.

[0014] In some embodiments, the method further includes: Based on the event identifier, the event information that occurred in the controlled device is sent to the control device. The service identifier also includes at least one event identifier, and different event identifiers indicate different event types.

[0015] In some embodiments, sending event information occurring in the controlled device to the control device based on an event identifier includes: In response to determining that an event indicated by the event identifier has occurred in the controlled device, event information corresponding to the event identifier is generated, and second data is sent to the control device, wherein the second data includes the event identifier and the event information corresponding to the event identifier.

[0016] In some embodiments, sending event information occurring in the controlled device to the control device based on an event identifier includes: Receive third data sent by the control device, wherein the third data includes the event identifier; Send fourth data to the control device, the fourth data including the event identifier and the event information indicated by the event identifier.

[0017] In some embodiments, the method further includes: Based on the resource service identifier, send the device information of the controlled device to the control device; The resource service identifier indicates a service used to record device information, which includes at least one of device type, device name, and a list of service identifiers for the device. The list of service identifiers includes various service identifiers for the device.

[0018] In some embodiments, sending the device information of the controlled device to the control device based on the resource service identifier includes: In response to receiving the fifth data sent by the control device, the device information of the controlled device is sent to the control device, wherein the fifth data includes the resource service identifier.

[0019] In some embodiments, the controlled device includes multiple sub-devices and a virtual master device. The step of sending the device information of the controlled device to the control device based on the resource service identifier includes: In response to receiving the sixth data sent by the control device, device information of the virtual master device is sent to the control device, wherein the sixth data includes the resource service identifier and the identifier of the virtual master device, and the device information also includes the sub-device identifiers of the plurality of sub-devices; In response to receiving the seventh data sent by the control device, the device information of the sub-device indicated by the first sub-device identifier is sent to the control device. The seventh data includes the first sub-device identifier and the resource service identifier. The first sub-device identifier is any one of the multiple sub-device identifiers. The device information of the controlled device includes the device information of the multiple sub-devices. The same service in different sub-devices is indicated by the same service identifier.

[0020] According to a third aspect of the present disclosure, a communication device is provided for use in a control device, the device comprising: The transceiver module is configured to send first data to the controlled device, wherein the first data includes a behavior identifier, and the first data is used to instruct the controlled device to perform the behavior indicated by the behavior identifier, wherein the controlled device is a power line carrier communication PLC device; In this case, the behavior indicated by the behavior identifier does not require the controlled device to return a response message.

[0021] According to a fourth aspect of the present disclosure, a communication device is provided for use in a controlled device, the device comprising: The transceiver module is configured to receive first data sent by the control device, wherein the first data includes a behavior identifier, and the first data is used to instruct the controlled device to perform the behavior indicated by the behavior identifier; The processing module is configured to execute the behavior indicated by the behavior identifier, wherein the controlled device is a power line carrier communication PLC device, and the behavior indicated by the behavior identifier does not require the controlled device to return a response message.

[0022] According to a fifth aspect of the present disclosure, a communication device is provided, comprising: processor; Memory used to store processor-executable instructions; The processor is configured to execute the executable instructions to implement any of the methods described in the first aspect; or, the processor is configured to execute the executable instructions to implement any of the methods described in the second aspect.

[0023] According to a sixth aspect of the present disclosure, a communication system is provided, comprising: A control device that performs the method described in any of the first aspects; The controlled device performs any of the methods described in the second aspect.

[0024] According to a seventh aspect of the present disclosure, a computer-readable storage medium is provided that stores a computer program thereon, which, when executed by a processor, implements the steps of any of the methods described in the first aspect; or, when executed by a processor, implements the steps of any of the methods described in the second aspect.

[0025] According to an eighth aspect of the present disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps of any of the methods described in the first aspect; or, when executed by a processor, implements the steps of any of the methods described in the second aspect.

[0026] According to a ninth aspect of the present disclosure, a chip system is provided, the chip system including a processing unit and an interface circuit, the processing unit acquiring program instructions through the interface circuit, the program instructions being executed by the processing unit, the processing unit being used to perform the steps of any of the methods of the first aspect; or the processing unit being used to perform the steps of any of the methods of the second aspect.

[0027] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects: Through the above technical solution, during the interaction between the control device and the controlled device, the control of the controlled device can be achieved through behavior identifiers, so that the control device does not need to return a response message after executing the behavior. This can achieve control of the controlled device and save the communication resources occupied by the response message.

[0028] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0029] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0030] Figure 1 This is a schematic diagram of the architecture of a communication system according to an embodiment of the present disclosure.

[0031] Figure 2 This is an interactive schematic diagram of a communication method provided according to an embodiment of the present disclosure.

[0032] Figure 3This is another interactive schematic diagram of a communication method provided according to an embodiment of the present disclosure.

[0033] Figure 4 This is another interactive schematic diagram of a communication method provided according to an embodiment of the present disclosure.

[0034] Figure 5 This is another interactive schematic diagram of a communication method provided according to an embodiment of the present disclosure.

[0035] Figure 6 A schematic diagram of a data model of a device provided for an embodiment of this disclosure.

[0036] Figure 7 This is another interactive schematic diagram of a communication method provided according to an embodiment of the present disclosure.

[0037] Figure 8 This is a block diagram of a communication device provided according to embodiments of the present disclosure.

[0038] Figure 9 This is another block diagram of a communication device provided according to embodiments of the present disclosure.

[0039] Figure 10 This is another block diagram of a communication device provided according to embodiments of the present disclosure.

[0040] Figure 11 This is a block diagram of a chip system provided according to embodiments of the present disclosure. Detailed Implementation

[0041] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0042] It should be noted that all actions involving the acquisition of signals, information, or data in this disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the location is situated, and with authorization from the owner of the relevant device.

[0043] Figure 1 This is a schematic diagram of the architecture of a communication system according to embodiments of this disclosure. Figure 1 As shown, the communication system 100 includes a PLC gateway 110 and a sub-device 120. The PLC gateway 110 includes a first master control device 111 and a CCO 112, and the sub-device 120 includes a second master control device 121 and a STA 122.

[0044] The PLC gateway 110 can communicate with the terminal device 130 via the cloud or directly, for example, based on the 3GPP protocol.

[0045] It is worth noting that in some embodiments, the PLC gateway 110 can also communicate with sub-devices other than sub-device 120. These sub-devices and sub-device 120 can form a PLC network, and the terminal device 130 can schedule one or more devices in the PLC network.

[0046] The following describes the application scenarios of embodiments of this disclosure. For example, the sub-device can be a device in a user's home, such as a light or curtain. The user can then operate the sub-device through a terminal device and a PLC gateway. The user can connect the sub-device to the cloud for communication through the terminal device and the PLC gateway. The PLC gateway and the sub-device communicate using PLC communication. The main control device can be Linux, Android, MCU (Microcontroller Unit), etc., and the main control device communicates with the module using serial communication or other methods.

[0047] The data model used in the communication process of a PLC device in related technologies is as follows: The device is used to represent a specific physical device of a PLC, such as a switch or a light.

[0048] A profile is used to represent the data definition capabilities and formats for interaction between a device and other subsystems, and to describe the capabilities and status data of the device. A service is a collection of data and related behaviors used to achieve specific functions and features.

[0049] Characteristic is used to represent specific data or functional behavior.

[0050] The name is used to represent the characteristic.

[0051] The `type` property is used to represent the data type of a characteristic, such as integer, string, container, etc.

[0052] The method is used to represent the characteristics, such as read-only, write-only, readable or writable, and readable and writable.

[0053] The format is used to represent the format of a characteristic.

[0054] The above model allows for the definition of device information, or profile, for PLC devices. The applicant's research has found that in real-world scenarios, the operational data sent by the control device to the controlled device is used to instruct the controlled device to perform corresponding operations, the results of which are perceptible to the user. Based on this, the present disclosure provides the following embodiments.

[0055] Figure 2 The diagram shown is an interactive schematic of a communication method provided according to an embodiment of the present disclosure. Figure 2 As shown, this method is applied to a control device, and the method may include: S201: Send first data to the controlled device, wherein the first data includes a behavior identifier, and the first message is used to instruct the controlled device to perform the behavior indicated by the behavior identifier, wherein the controlled device is a power line carrier communication PLC device; In this case, the behavior indicated by the behavior identifier does not require the controlled device to return a response message.

[0056] For example, the control device can be Figure 1 The Central Coordinator (CCO) shown in the diagram allows user terminal devices to establish a communication connection with the PLC gateway via the cloud. Users can then send data to the STA (Station) through the CCO in the cloud and PLC gateway, enabling interaction with the STA. The control device can be... Figure 1 The terminal node STA shown can be a switch, and the controlled device is... Figure 1 The terminal node STA shown can be a lamp.

[0057] In some embodiments, the behavior of the controlled device can be pre-analyzed to identify behaviors that do not require a response message, and behavior identifiers can be pre-configured for these behaviors. For example, regarding the switching behavior of a light, when the light changes from on to off or from off to on, the user can perceive the result of the behavior through the light's feedback. Similarly, regarding the volume adjustment behavior of a playback device, the user can perceive the result of the behavior based on changes in the sound played by the playback device. For such behaviors, after the controlled device performs the behavior, the user can directly perceive the result of the behavior based on the performance of the controlled device; in this scenario, the controlled device does not need to return a response message indicating the result of the behavior to the control device.

[0058] In this embodiment, the control device can directly send first data to the controlled device, which includes a behavior identifier, so that the controlled device can perform the corresponding behavior when it receives the behavior identifier, without having to return a response message.

[0059] Among them, behavior identifiers can be used to indicate data operations transmitted between the control device and the controlled device, and to invoke behaviors on the controlled device. As an example, it can use an unsigned integer to identify its type, and can be used as a separate data interaction type.

[0060] Therefore, through the above technical solution, during the interaction between the control device and the controlled device, the control of the controlled device can be achieved through behavior identifiers, so that the control device does not need to return a response message after executing the behavior. This can achieve control of the controlled device while saving the communication resources occupied by the response message.

[0061] In some embodiments, the control device stores device information of the controlled device, the device information including at least one service identifier of the controlled device, and each service identifier includes at least one behavior identifier.

[0062] For example, when a control device sends a toggle command to a controlled device, the path for transmitting the behavior identifier can be represented as siid / aiid. siid represents the service ID in the controlled device, and aiid represents the action ID. When the control device sends siid / aiid data to the controlled device, it will invoke the action indicated by the aiid on the controlled device, i.e., the toggle action. If the controlled device receives this action identifier when it is in the on state, the device state changes to off; otherwise, the device state is on.

[0063] In some embodiments, the method may further include: Based on the event identifier, event information occurring in the controlled device is obtained, wherein the service identifier also includes at least one event identifier, and different event identifiers indicate different event types.

[0064] Event identifiers can be used to define records of past events, such as device logs, to provide the time and content of the event. Event information is read-only. Accordingly, the event information indicated by the event identifier can include a timestamp of the event and the specific content of the event (e.g., specific data). For example, event types can include device restart, device on, and device off, etc. These different types can be represented by different identifiers, allowing the type of event to be determined based on the event identifier. For instance, a device restart event has the event type "device restart," and the event information includes the restart timestamp and the reason for the restart, such as power failure restart, hardware reset restart, or software error restart. As another example, in a door lock scenario, an unlocking event triggered when a user unlocks the door can be represented by a device on event identifier, with the unlock timestamp recorded in the event information. A locking event triggered when a user locks the door can be represented by a device off event identifier, with the locking timestamp recorded in the event information.

[0065] Therefore, through the above technical solution, events occurring on the device can be recorded and represented by event identifiers, so that the control device can easily obtain event information occurring in the controlled device, thereby enabling rapid identification of data in the controlled device.

[0066] In some embodiments, obtaining event information occurring in the controlled device based on event identifiers may include: The controlled device receives second data sent by the controlled device, wherein the second data contains the event identifier and the event information corresponding to the event identifier, and the second data is sent by the controlled device when the event indicated by the event identifier occurs.

[0067] like Figure 3 The diagram shown is an interactive schematic of a communication method provided according to an embodiment of the present disclosure.

[0068] S301: Receive the second data sent by the controlled device.

[0069] As an example, when an event indicated by an event identifier occurs in the controlled device, the controlled device can generate event information for that event and proactively report the event information to the control device. For instance, when a restart event occurs on the controlled device, the controlled device can record the restart timestamp and the reason for the restart to generate event information, and then send the event information to the control device. As an example, the path of the event identifier in the second data can be represented as siid / eiid, where eiid represents the event identifier, so that when the control device receives the second data, it can determine which service and which event identifier the event information corresponds to based on siid / eiid.

[0070] Therefore, when a corresponding event occurs, the controlled device can actively send event information to the control device, so as to quickly detect the event occurring in the controlled device and provide data support for the safe and stable operation of the controlled device.

[0071] In some embodiments, the step of obtaining event information occurring in the controlled device based on event identifiers, such as... Figure 4 As shown, it may include: S401: Send third data to the controlled device, wherein the third data includes the event identifier. Specifically, when the control device needs to obtain an event occurring in the controlled device, for example, if the user determines the event identifier corresponding to the type of event they want to view based on their needs, such as wanting to view a door lock unlocking event, and the event identifier corresponding to the unlocking event is XXX1, then the control device can send third data, whose path can be represented as siid / eiid (e.g., siid / XXX1).

[0072] S402: Receive fourth data sent by the controlled device, wherein the fourth data includes the event identifier and the event information corresponding to the event identifier.

[0073] When the controlled device receives the third data, it can retrieve the event information corresponding to that event identifier based on the callback function. Specifically, it can retrieve the event information for event identifier XXX1 from the controlled device. In this scenario, the event information can include multiple events, such as the unlocking events of a door lock at different times. After obtaining the event information, it can send the event information and the event identifier together to the control device. Upon receiving the fourth data, the control device can then determine the received event information and which service and event identifier it belongs to.

[0074] Therefore, the above technical solution can also support the control device to query and obtain event information in the controlled device, and the event information can be represented based on the event identifier, which also facilitates the rapid identification and analysis of time information.

[0075] In some embodiments, within the data model structure used by the device, services may include behaviors and events. Different behavior identifiers identify individual behaviors, and different event identifiers identify various event types. Services may also include attributes; other information within the service can be identified through attribute (characteristic) identifiers or defined based on other defined identifiers. Different identifiers indicate different data or functions of the device.

[0076] As an example, when the control device is a Control Operator (CCO), the device information of the controlled device can be retrieved from the cloud via a communication connection between the CCO and the cloud. As another example, when the control device is a Switching Array (STA), this disclosure also provides the following embodiments for obtaining the device information of the controlled device.

[0077] In some embodiments, the method further includes: Based on the resource service identifier, obtain the device information of the controlled device; The resource service identifier indicates a service used to record device information, which includes at least one of device type, device name, and a list of device service identifiers, and the list of service identifiers includes various service identifiers in the device.

[0078] In this embodiment, a resource service can be predefined, associated with a resource service identifier. This resource service is used to record device information; that is, the device information can be stored under the service indicated by the resource service identifier. Thus, during device interaction, devices can obtain the resource information of the controlled device through this resource service identifier. Typically, the attribute identifier ciid, event identifier eiid, and behavior identifier aiid included under the service are fixed. Therefore, when obtaining the device's service identifier siid, the ciid, eiid, and aiid under the service indicated by the service identifier can be further clarified without needing to obtain this information separately.

[0079] In some embodiments, the step of obtaining the device information of the controlled device based on the resource service identifier, such as... Figure 5 As shown, it may include: S501: Send fifth data to the controlled device, wherein the fifth data includes the resource service identifier; S502: Receive device information sent by the controlled device.

[0080] As an example, a resource service identifier r_service id is defined as XXXX1, which includes a characteristic id of XX1. This characteristic id represents the specific data within the service indicated by the resource service identifier, i.e., the device information of the device. The controlling device can then send XXXX1 / XX1 to the controlled device to obtain the device information. This allows for the rapid acquisition of device information, enabling the display of corresponding plugins. Users can then use these plugins to understand the services offered by the device and to perform operations on the controlled device as needed.

[0081] In some embodiments, the controlled device includes multiple sub-devices and a virtual master device.

[0082] Taking a switch as an example, a switch can be a single-button switch or a multi-button switch. In a multi-button switch, each button can be considered a sub-device, and the virtual master device is used to represent the device in the multi-button switch used to configure each sub-device.

[0083] As an example, a schematic diagram of the data model of the device provided based on embodiments of this disclosure is shown below. Figure 6 As shown, `module` represents a sub-device, meaning a module added on top of the service. `Event` represents an event, which may contain fields describing the event, such as a timestamp and event data. These fields can be pre-configured based on actual usage requirements, and this disclosure does not impose any limitations on them. `Action` represents a behavior, which may contain fields describing the behavior, such as name and type. These fields can also be pre-configured based on actual usage requirements, and this disclosure does not impose any limitations on them.

[0084] Accordingly, obtaining the device information of the controlled device based on the resource service identifier may include, for example: Figure 7 As shown: S701: Send sixth data to the controlled device, the sixth data including the resource service identifier and the identifier of the virtual host device.

[0085] S702: Receive device information of the virtual master device sent by the controlled device, wherein the device information further includes the sub-device identifiers of the plurality of sub-devices.

[0086] For example, the identifier of the virtual master device can be module 0. The device information of the virtual master device can be stored in the service indicated by the resource service identifier in the virtual master device. The device information of the virtual master device can include device type, device name, service identifier list and various sub-device identifiers. As an example, multiple sub-device identifiers can be represented by a list.

[0087] When configuring the device information of the controlled device, since the controlled device contains multiple sub-devices, and specific services are executed through these sub-devices, the device type in the virtual master device can be the type of the sub-device that serves as the primary device among the multiple sub-devices. The service identifier list of the virtual master device can be empty. Upon receiving the sixth data, the controlled device can determine, based on the sixth data, the device information of the virtual master device to be obtained. It can then retrieve the device information recorded in the service indicated by the resource service identifier in the virtual master device and send it to the control device.

[0088] S703: Send seventh data to the controlled device, the seventh data including a first sub-device identifier and the resource service identifier, wherein the first sub-device identifier is any one of the plurality of sub-device identifiers.

[0089] S704: Receive device information of a sub-device indicated by the first sub-device identifier sent by the controlled device. The device information of the controlled device includes the device information of the plurality of sub-devices and the virtual sub-device. The same service in different sub-devices is indicated by the same service identifier.

[0090] In this embodiment, the controlled device is distinguished by multiple sub-devices, so the same service under different sub-devices can be indicated by the same service identifier. For example, if the controlled device is a switch type containing four buttons, the device is physically a switch device. Regarding switch services, related technologies typically use different service identifiers to represent the switch services corresponding to different buttons. Based on the example of this disclosure, each button is a sub-device, represented by a sub-device identifier. Therefore, the same service identifier can be used to represent the switch service in each sub-device, eliminating the need to define multiple service identifiers for the same service, thereby improving the flexibility of device information configuration.

[0091] After receiving the virtual master device information from the controlled device, the control device can obtain the sub-device identifiers of each sub-device contained within the controlled device, and then acquire the device information of each sub-device. Within the controlled device, each sub-device stores the service indicated by the resource service identifier, including the device type, device name, and a list of service identifiers contained within that sub-device. The control device can then determine the functions and data available to the controlled device based on the acquired device information, thereby enabling control over the controlled device.

[0092] In some embodiments, when sending the first data to a controlled device that includes multiple sub-devices, the first data may also include the corresponding sub-device identifier, such as path, which may be represented as miid / siid / aiid, where miid is used to represent the sub-device identifier. By transmitting the above data, the sub-device of miid in the controlled device can be instructed to perform the behavior of aiid in the siid service.

[0093] In some embodiments, when transmitting data corresponding to an event identifier to a controlled device that includes multiple sub-devices, the path can be represented as miid / siid / eiid. In this case, by transmitting the above data, it can be indicated that the event information of the eiid in the siid service of the sub-device of the miid in the controlled device can be obtained.

[0094] This disclosure also provides a communication method applied to a controlled device, which may include: The controlled device receives first data sent by the control device, wherein the first data includes a behavior identifier, and the first data is used to instruct the controlled device to perform the behavior indicated by the behavior identifier; The behavior indicated by the behavior identifier is executed, wherein the controlled device is a power line carrier communication PLC device, and the behavior indicated by the behavior identifier does not require the controlled device to return a response message.

[0095] For example, a callback function corresponding to a behavior identifier can be pre-configured in the controlled device. This callback function is used to call the method of the behavior indicated by the behavior identifier, so that the controlled device executes the behavior. After the controlled device executes the behavior indicated by the behavior identifier, it does not need to return a response message to the control device. The implementation can be designed by different device manufacturers, and this disclosure does not limit it.

[0096] Therefore, through the above technical solution, during the interaction between the control device and the controlled device, the control of the controlled device can be achieved through behavior identifiers, so that the control device does not need to return a response message after executing the behavior. This can achieve control of the controlled device while saving the communication resources occupied by the response message.

[0097] In some embodiments, the controlled device stores device information, which includes at least one service identifier of the controlled device, and each service identifier includes at least one behavior identifier. The controlled device also includes implementations of the services indicated by each service identifier and implementations of the behaviors indicated by the behavior identifiers, so as to perform corresponding operations based on the identifiers contained in the received data.

[0098] In some embodiments, the method further includes: Based on the event identifier, event information occurring in the controlled device is sent to the control device. The service identifier further includes at least one event identifier, with different event identifiers indicating different event types. The specific implementation method has been detailed above and will not be repeated here.

[0099] In some embodiments, sending event information occurring in the controlled device to the control device based on an event identifier includes: In response to determining that an event indicated by the event identifier has occurred in the controlled device, event information corresponding to the event identifier is generated, and second data is sent to the control device, wherein the second data includes the event identifier and the event information corresponding to the event identifier.

[0100] Among them, when an event indicated by an event identifier occurs in the controlled device, the event information, such as timestamp and event data, can be recorded according to the fields in the event information, stored in association with the event identifier, and sent to the control device, so that the control device can understand the event that occurred on the controlled device based on the event identifier and event information in the second data.

[0101] In some embodiments, sending event information occurring in the controlled device to the control device based on an event identifier includes: receiving third data sent by the control device, wherein the third data includes the event identifier; and sending fourth data to the control device, wherein the fourth data includes the event identifier and event information indicated by the event identifier.

[0102] In some embodiments, the method further includes: Based on the resource service identifier, send the device information of the controlled device to the control device; The resource service identifier indicates a service used to record device information, which includes at least one of device type, device name, and a list of service identifiers for the device. The list of service identifiers includes various service identifiers for the device.

[0103] In some embodiments, sending the device information of the controlled device to the control device based on the resource service identifier includes: In response to receiving the fifth data sent by the control device, the device information of the controlled device is sent to the control device, wherein the fifth data includes the resource service identifier.

[0104] In some embodiments, the controlled device includes multiple sub-devices and a virtual master device. The step of sending the device information of the controlled device to the control device based on the resource service identifier includes: In response to receiving the sixth data sent by the control device, device information of the virtual master device is sent to the control device, wherein the sixth data includes the resource service identifier and the identifier of the virtual master device, and the device information also includes the sub-device identifiers of the plurality of sub-devices; In response to receiving the seventh data sent by the control device, the device information of the sub-device indicated by the first sub-device identifier is sent to the control device. The seventh data includes the first sub-device identifier and the resource service identifier. The first sub-device identifier is any one of the multiple sub-device identifiers. The device information of the controlled device includes the device information of the multiple sub-devices. The same service in different sub-devices is indicated by the same service identifier.

[0105] The specific implementation methods of the above steps have been detailed above and will not be repeated here.

[0106] Based on the same inventive concept, this disclosure also provides a communication device for use in control equipment, such as... Figure 8 As shown, the device 80 includes: The transceiver module 81 is configured to send first data to the controlled device, wherein the first data includes a behavior identifier, and the first data is used to instruct the controlled device to perform the behavior indicated by the behavior identifier, wherein the controlled device is a power line carrier communication PLC device; In this case, the behavior indicated by the behavior identifier does not require the controlled device to return a response message.

[0107] In some embodiments, the control device stores device information of the controlled device, the device information including at least one service identifier of the controlled device, and each service identifier includes at least one behavior identifier.

[0108] In some embodiments, the transceiver module 81 is further configured to: Based on the event identifier, event information occurring in the controlled device is obtained, wherein the service identifier also includes at least one event identifier, and different event identifiers indicate different event types.

[0109] In some embodiments, the transceiver module 81 is further configured to receive second data sent by the controlled device, wherein the second data includes the event identifier and event information corresponding to the event identifier, and the second data is sent by the controlled device when the event indicated by the event identifier occurs.

[0110] In some embodiments, the transceiver module 81 is further configured to: Send third data to the controlled device, wherein the third data includes the event identifier; The controlled device sends fourth data, which includes the event identifier and the event information corresponding to the event identifier.

[0111] In some embodiments, the transceiver module 81 is further configured to: Based on the resource service identifier, obtain the device information of the controlled device; The resource service identifier indicates a service used to record device information, which includes at least one of device type, device name, and a list of device service identifiers, and the list of service identifiers includes various service identifiers in the device.

[0112] In some embodiments, the transceiver module 81 is further configured to: Send fifth data to the controlled device, the fifth data including the resource service identifier; Receive device information of the controlled device sent by the controlled device.

[0113] In some embodiments, the controlled device includes multiple sub-devices and a virtual master device. The transceiver module 81 is further configured to: Send sixth data to the controlled device, the sixth data including the resource service identifier and the identifier of the virtual host device; The device receives device information of the virtual master device sent by the controlled device, the device information further including the sub-device identifiers of the plurality of sub-devices; Send seventh data to the controlled device, the seventh data including a first sub-device identifier and the resource service identifier, wherein the first sub-device identifier is any one of a plurality of sub-device identifiers; The controlled device receives device information of a sub-device indicated by the first sub-device identifier sent by the controlled device. The device information of the controlled device includes the device information of the multiple sub-devices. The same service in different sub-devices is indicated by the same service identifier.

[0114] This disclosure also provides a communication device for use in a controlled device, such as... Figure 9As shown, the device 90 includes: The transceiver module 91 is configured to receive first data sent by the control device, wherein the first data includes a behavior identifier, and the first data is used to instruct the controlled device to perform the behavior indicated by the behavior identifier; Processing module 92 is configured to execute the behavior indicated by the behavior identifier, wherein the controlled device is a power line carrier communication PLC device, and the behavior indicated by the behavior identifier does not require the controlled device to return a response message.

[0115] In some embodiments, the controlled device stores device information, which includes at least one service identifier of the controlled device, and each service identifier includes at least one behavior identifier.

[0116] In some embodiments, the transceiver module 91 is further configured to: Based on the event identifier, the event information that occurred in the controlled device is sent to the control device. The service identifier also includes at least one event identifier, and different event identifiers indicate different event types.

[0117] In some embodiments, the transceiver module 91 is further configured to: In response to determining that an event indicated by the event identifier has occurred in the controlled device, event information corresponding to the event identifier is generated, and second data is sent to the control device, wherein the second data includes the event identifier and the event information corresponding to the event identifier.

[0118] In some embodiments, the transceiver module 91 is further configured to include: Receive third data sent by the control device, wherein the third data includes the event identifier; Send fourth data to the control device, the fourth data including the event identifier and the event information indicated by the event identifier.

[0119] In some embodiments, the transceiver module 91 is further configured to: Based on the resource service identifier, send the device information of the controlled device to the control device; The resource service identifier indicates a service used to record device information, which includes at least one of device type, device name, and a list of service identifiers for the device. The list of service identifiers includes various service identifiers for the device.

[0120] In some embodiments, the transceiver module 91 is further configured to: In response to receiving the fifth data sent by the control device, the device information of the controlled device is sent to the control device, wherein the fifth data includes the resource service identifier.

[0121] In some embodiments, the controlled device includes multiple sub-devices and a virtual master device, and the transceiver module 91 is further configured to: In response to receiving the sixth data sent by the control device, device information of the virtual master device is sent to the control device, wherein the sixth data includes the resource service identifier and the identifier of the virtual master device, and the device information also includes the sub-device identifiers of the plurality of sub-devices; In response to receiving the seventh data sent by the control device, the device information of the sub-device indicated by the first sub-device identifier is sent to the control device. The seventh data includes the first sub-device identifier and the resource service identifier. The first sub-device identifier is any one of the multiple sub-device identifiers. The device information of the controlled device includes the device information of the multiple sub-devices. The same service in different sub-devices is indicated by the same service identifier.

[0122] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0123] This disclosure also provides a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, implement the steps of the communication method provided in this disclosure.

[0124] This disclosure also provides a communication system comprising a control device and a controlled device, wherein the control device is used to perform the method described above applied to the control device, and the controlled device is used to perform the method described above applied to the controlled device.

[0125] Figure 10 This is a block diagram illustrating a communication device 1000 according to an exemplary embodiment. For example, device 1000 can be a control device in a communication system, or it can be a controlled device in a communication system.

[0126] Reference Figure 10 The device 1000 may include one or more of the following components: a processing component 1002, a memory 1004, and a communication component 1016.

[0127] Processing component 1002 typically controls the overall operation of device 1000, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 1002 may include one or more processors 1020 to execute instructions to complete all or part of the steps of the aforementioned communication methods. Furthermore, processing component 1002 may include one or more modules to facilitate interaction between processing component 1002 and other components.

[0128] Memory 1004 is configured to store various types of data to support the operation of device 1000. Examples of such data include instructions for any application or method operating on device 1000, contact data, phonebook data, messages, pictures, videos, etc. Memory 1004 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0129] Communication component 1016 is configured to facilitate wired or wireless communication between device 1000 and other devices. Device 1000 can access wireless networks based on communication standards, such as WiFi, 2G, 3G, 4G, 5G, 6G, NB-IoT, eMTC, etc., or combinations thereof. In one exemplary embodiment, communication component 1016 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 1016 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0130] In an exemplary embodiment, the device 1000 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the communication method described above.

[0131] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory including instructions that can be executed by a processor to perform the aforementioned communication method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0132] In another exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program executable by a programmable device, the computer program having a code portion for performing the above-described communication method when executed by the programmable device.

[0133] Some embodiments of this disclosure also provide a chip system, such as Figure 11 As shown, the chip system includes at least one processor 1101 and at least one interface circuit 1102. The processor 1101 and the interface circuit 1102 are interconnected via lines. For example, the interface circuit 1102 can be used to receive signals from other devices (e.g., the memory of an electronic device). As another example, the interface circuit 1102 can be used to send signals to other devices (e.g., the processor 1101). Exemplarily, the interface circuit 1102 can read instructions stored in memory and send those instructions to the processor 1101. When the instructions are executed by the processor 1101, the communication device can perform the steps in the above embodiments. Of course, the chip system may also include other discrete devices, and some embodiments of this disclosure do not specifically limit this.

[0134] In some embodiments of this disclosure, the interface circuit 1102 can acquire data, program instructions, and / or information from the internal storage area of ​​the chip system; it can also acquire data, program instructions, and / or information from outside the chip system.

[0135] Optionally, the chip system may also include memory for storing necessary computer programs and data.

[0136] Those skilled in the art will also understand that the various illustrative logical blocks and steps listed in the embodiments of this application can be implemented by electronic hardware, computer software, or a combination of both. Whether such functionality is implemented through hardware or software depends on the specific application and the overall system design requirements. Those skilled in the art can implement the described functionality using various methods for each specific application, but such implementation should not be construed as exceeding the scope of protection of the embodiments of this application.

[0137] It should be understood that, unless otherwise specifically indicated, features of various embodiments of this disclosure described herein can be combined with each other. As used herein, the term “and / or” includes any one of the relevant listed items and any combination of any two or more; similarly, “at least one of…” includes any one of the relevant listed items and any combination of any two or more.

[0138] Although terms such as “first,” “second,” and “third” may be used herein to describe various components, parts, regions, layers, or sections, these components, parts, regions, layers, or sections are not limited to these terms. Rather, these terms are used only to distinguish one component, part, region, layer, or section from another. Therefore, without departing from the teachings of the examples described herein, the first component, part, region, layer, or section mentioned in the examples may also be referred to as the second component, part, region, layer, or section. Furthermore, the terms “first” and “second” are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as “first” or “second” may explicitly or implicitly include at least one of that feature. In the description herein, “a plurality” means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0139] Furthermore, the term “exemplary” is used herein to mean serving as an example, instance, or illustration. Any aspect or design described herein as “exemplary” is not necessarily to be construed as advantageous compared to other aspects or designs. Rather, the use of the term “exemplary” is intended to present the concept in a concrete manner. As used herein, the term “or” is intended to mean an inclusive “or” rather than an exclusive “or.” That is, unless otherwise specified or clear from the context, “X applies A or B” is intended to mean any of the natural inclusive arrangements. That is, “X applies A or B” satisfies any of the foregoing instances if X applies A; X applies B; or both X applies A and B. Additionally, unless otherwise specified or clear from the context to refer to the singular form, the articles “a” and “an” as used in this application and the appended claims are generally understood to mean “one or more.”

[0140] Similarly, although this disclosure has been shown and described with respect to one or more implementations, equivalent variations and modifications will occur to those skilled in the art upon reading and understanding this specification and the accompanying drawings. This disclosure includes all such modifications and variations and is limited only by the scope of the claims. In particular, with respect to the various functions performed by the components described above (e.g., elements, resources, etc.), unless otherwise indicated, the terminology used to describe such components is intended to correspond to any component (functionally equivalent) that performs the specific function of the described component, even if structurally not equivalent to the disclosed structure. Furthermore, although specific features of this disclosure may have been disclosed with respect to only one of several implementations, such features may be combined with one or more other features of other implementations, as may be desired and advantageous to any given or particular application. Moreover, with regard to the terms “comprising,” “owning,” “having,” “having,” or variations thereof as used in the detailed description or claims, such terms are intended to be inclusive in a manner similar to the term “including.”

[0141] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the appended claims.

[0142] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A communication method, characterized in that, Performed by the control device, including: Send first data to the controlled device, wherein the first data includes a behavior identifier, and the first data is used to instruct the controlled device to perform the behavior indicated by the behavior identifier, wherein the controlled device is a power line carrier communication PLC device; In this case, the behavior indicated by the behavior identifier does not require the controlled device to return a response message.

2. The method according to claim 1, characterized in that, The control device stores device information of the controlled device, and the device information includes at least one service identifier of the controlled device, and each service identifier includes at least one behavior identifier.

3. The method according to claim 2, characterized in that, The method further includes: Based on the event identifier, event information occurring in the controlled device is obtained, wherein the service identifier also includes at least one event identifier, and different event identifiers indicate different event types.

4. The method according to claim 3, characterized in that, The process of obtaining event information occurring in the controlled device based on event identifiers includes: The controlled device receives second data sent by the controlled device, wherein the second data contains the event identifier and the event information corresponding to the event identifier, and the second data is sent by the controlled device when the event indicated by the event identifier occurs.

5. The method according to claim 3, characterized in that, The process of obtaining event information occurring in the controlled device based on event identifiers includes: Send third data to the controlled device, wherein the third data includes the event identifier; The controlled device sends fourth data, which includes the event identifier and the event information corresponding to the event identifier.

6. The method according to claim 1, characterized in that, The method further includes: Based on the resource service identifier, obtain the device information of the controlled device; The resource service identifier indicates a service used to record device information, which includes at least one of device type, device name, and a list of device service identifiers, and the list of service identifiers includes various service identifiers in the device.

7. The method according to claim 6, characterized in that, The step of obtaining the device information of the controlled device based on the resource service identifier includes: Send fifth data to the controlled device, the fifth data including the resource service identifier; Receive device information of the controlled device sent by the controlled device.

8. The method according to claim 6, characterized in that, The controlled device includes multiple sub-devices and a virtual master device. The step of obtaining the device information of the controlled device based on the resource service identifier includes: Send sixth data to the controlled device, the sixth data including the resource service identifier and the identifier of the virtual host device; The device receives device information of the virtual master device sent by the controlled device, the device information further including the sub-device identifiers of the plurality of sub-devices; Send seventh data to the controlled device, the seventh data including a first sub-device identifier and the resource service identifier, wherein the first sub-device identifier is any one of a plurality of sub-device identifiers; The controlled device receives device information of a sub-device indicated by the first sub-device identifier sent by the controlled device. The device information of the controlled device includes the device information of the multiple sub-devices. The same service in different sub-devices is indicated by the same service identifier.

9. A communication method, characterized in that, Applied to controlled equipment, including: The controlled device receives first data sent by the control device, wherein the first data includes a behavior identifier, and the first data is used to instruct the controlled device to perform the behavior indicated by the behavior identifier; The behavior indicated by the behavior identifier is executed, wherein the controlled device is a power line carrier communication PLC device, and the behavior indicated by the behavior identifier does not require the controlled device to return a response message.

10. The method according to claim 9, characterized in that, The controlled device stores device information, which includes at least one service identifier of the controlled device, and each service identifier includes at least one behavior identifier.

11. The method according to claim 10, characterized in that, The method further includes: Based on the event identifier, the event information that occurred in the controlled device is sent to the control device. The service identifier also includes at least one event identifier, and different event identifiers indicate different event types.

12. The method according to claim 11, characterized in that, The step of sending event information occurring in the controlled device to the control device based on event identifiers includes: In response to determining that an event indicated by the event identifier has occurred in the controlled device, event information corresponding to the event identifier is generated, and second data is sent to the control device, wherein the second data includes the event identifier and the event information corresponding to the event identifier.

13. The method according to claim 11, characterized in that, The step of sending event information occurring in the controlled device to the control device based on event identifiers includes: Receive third data sent by the control device, wherein the third data includes the event identifier; Send fourth data to the control device, the fourth data including the event identifier and the event information indicated by the event identifier.

14. The method according to claim 9, characterized in that, The method further includes: Based on the resource service identifier, send the device information of the controlled device to the control device; The resource service identifier indicates a service used to record device information, which includes at least one of device type, device name, and a list of service identifiers for the device. The list of service identifiers includes various service identifiers for the device.

15. The method according to claim 14, characterized in that, The step of sending the device information of the controlled device to the control device based on the resource service identifier includes: In response to receiving the fifth data sent by the control device, the device information of the controlled device is sent to the control device, wherein the fifth data includes the resource service identifier.

16. The method according to claim 14, characterized in that, The controlled device includes multiple sub-devices and a virtual master device. The step of sending the device information of the controlled device to the control device based on the resource service identifier includes: In response to receiving the sixth data sent by the control device, device information of the virtual master device is sent to the control device, wherein the sixth data includes the resource service identifier and the identifier of the virtual master device, and the device information also includes the sub-device identifiers of the plurality of sub-devices; In response to receiving the seventh data sent by the control device, the device information of the sub-device indicated by the first sub-device identifier is sent to the control device. The seventh data includes the first sub-device identifier and the resource service identifier. The first sub-device identifier is any one of the multiple sub-device identifiers. The device information of the controlled device includes the device information of the multiple sub-devices. The same service in different sub-devices is indicated by the same service identifier.

17. A communication device, characterized in that, Applied to control equipment, the device includes: The transceiver module is configured to send first data to the controlled device, wherein the first data includes a behavior identifier, and the first data is used to instruct the controlled device to perform the behavior indicated by the behavior identifier, wherein the controlled device is a power line carrier communication PLC device; In this case, the behavior indicated by the behavior identifier does not require the controlled device to return a response message.

18. A communication device, characterized in that, The device is applied to the controlled equipment and includes: The transceiver module is configured to receive first data sent by the control device, wherein the first data includes a behavior identifier, and the first data is used to instruct the controlled device to perform the behavior indicated by the behavior identifier; The processing module is configured to execute the behavior indicated by the behavior identifier, wherein the controlled device is a power line carrier communication PLC device, and the behavior indicated by the behavior identifier does not require the controlled device to return a response message.

19. A communication device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to execute the executable instructions to implement the steps of the method according to any one of claims 1 to 8; or, the processor is configured to execute the executable instructions to implement the steps of the method according to any one of claims 9 to 16.

20. A communication system, characterized in that, include: A control device that performs the method as described in any one of claims 1 to 8; A controlled device that performs the method as described in any one of claims 9 to 16.

21. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 8; or when the computer program is executed by a processor, it implements the steps of the method according to any one of claims 9 to 16.

22. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the steps of the method according to any one of claims 1 to 8; or, when executed by a processor, implements the steps of the method according to any one of claims 9 to 16.

23. A chip system, characterized in that, The chip system includes a processing unit and an interface circuit. The processing unit obtains program instructions through the interface circuit, and the program instructions are executed by the processing unit. The processing unit is used to perform the steps of the method as described in any one of claims 1 to 8; or the processing unit is used to perform the steps of the method as described in any one of claims 9 to 16.