Method and apparatus for information push, communication device, chip, and storage medium

Simplifying the subscription process of IoT devices through the information push method, the device can actively push resource changes, solving the problems of complexity of subscription relationships and power consumption, and achieving more efficient communication operations and energy saving effects.

WO2024187299A1PCT designated stage expired Publication Date: 2024-09-19GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/080703
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-10
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

In the field of IoT communications, when the subscription relationship between communication devices changes, the subscription process needs to be reinitiated, resulting in a complicated operation process, and the device needs to maintain a long connection to receive resource change notifications, which consumes power.

Method used

Through the information push method, the device receives configuration information to configure parameters and sends messages when the push information changes, simplifying the establishment and maintenance of subscription relationships. The device can actively push resource changes to avoid long connections.

Benefits of technology

It simplifies the subscription process between communication devices, reduces the complexity of re-initiating subscriptions, saves power, and implements resource change notifications through active push messages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023080703_19092024_PF_FP_ABST
    Figure CN2023080703_19092024_PF_FP_ABST
Patent Text Reader

Abstract

Provided are a method and apparatus for information push, a communication device, a chip, and a storage medium. The method comprises: a first device receiving first configuration information, wherein the first configuration information is used for configuring a first parameter, and the first parameter is used for indicating information pushed by a first device to a second device; and when the pushed information indicated by the first parameter changes, the first device sending a push message to the second device. In the embodiments of the present application, the first device can configure the first parameter according to the first configuration information, so as to modify or set the information pushed by the first device to the second device. As such, when the subscription relationship between the first device and the second device changes, the first device just needs to correspondingly configure the first parameter according to the first configuration information to establish the subscription relationship, rather than re-initiate a complex subscription process, thereby simplifying the subscription process between communication devices.
Need to check novelty before this filing date? Find Prior Art

Description

Information push method, device, communication equipment, chip and storage medium Technical Field

[0001] The present application relates to the field of Internet of Things technology, and more specifically, to an information push method, apparatus, communication equipment, chip and storage medium. Background Art

[0002] In the IoT communications field, communication devices can establish subscription relationships to access resources. If the subscription relationship between the devices changes, the devices may need to re-initiate the subscription process and re-establish the subscription relationship, complicating the entire process.

[0003] For example, if a new subscription for resource A is needed between communicating devices, the communicating devices can directly create a new subscription relationship to subscribe to resource A, or they can delete the existing subscription relationship and establish a new subscription relationship that includes the subscription for resource A. However, regardless of which method is used to implement the subscription for resource A, the communicating devices need to re-initiate the subscription process and establish a new subscription relationship, making the entire operation process more complicated.

[0004] Summary of the Invention

[0005] The present application provides an information push method, apparatus, communication device, chip, and storage medium. The following introduces various aspects of the present application.

[0006] In a first aspect, a method for pushing information is provided, including: a first device receives first configuration information, where the first configuration information is used to configure a first parameter, where the first parameter is used to indicate information pushed by the first device to a second device; when the push information indicated by the first parameter changes, the first device sends a push message to the second device.

[0007] In a second aspect, an information push method is provided, including: a first client device sends first configuration information to a first device, the first configuration information is used to configure a first parameter, and the first parameter is used to indicate information pushed by the first device to a second device.

[0008] In the third aspect, a method for pushing information is provided, including: a second device sends first configuration information to a first device, the first configuration information is used to configure a first parameter, and the first parameter is used to indicate the information pushed by the first device to the second device; when the push information indicated by the first parameter changes, the second device receives the push message sent by the first device.

[0009] In a fourth aspect, an information push method is provided, comprising: a second device receiving third configuration information sent by a first client device, wherein the third configuration information is used to configure a third parameter, and the third parameter is used to indicate information pushed by the first device to the second device.

[0010] In the fifth aspect, an information push device is provided, which is applied to a first device, and the device includes: a first receiving module, used to receive first configuration information, the first configuration information is used to configure a first parameter, and the first parameter is used to indicate the information pushed by the first device to the second device; a first sending module, used to send a push message to the second device when the push information indicated by the first parameter changes.

[0011] In the sixth aspect, an information push device is provided, which is applied to a first client device, and the device includes: a first sending module, used to send first configuration information to the first device, the first configuration information is used to configure a first parameter, and the first parameter is used to indicate the information pushed by the first device to the second device.

[0012] In the seventh aspect, an information push device is provided, which is applied to a second device, and the device includes: a first sending module, used to send first configuration information to the first device, the first configuration information is used to configure a first parameter, and the first parameter is used to indicate the information pushed by the first device to the second device; a receiving module, used to receive a push message sent by the first device when the push information indicated by the first parameter changes.

[0013] In the eighth aspect, an information push device is provided, which is applied to a second device, and the device includes: a receiving module for receiving third configuration information sent by a first client device, the third configuration information is used to configure a third parameter, and the third parameter is used to indicate the information pushed by the first device to the second device.

[0014] In the ninth aspect, a communication device is provided, which is a first device. The first device includes a processor, a memory, and a communication interface. The memory is used to store one or more computer programs, and the processor is used to call the computer program in the memory so that the first device performs some or all of the steps in the method of the first aspect.

[0015] In the tenth aspect, a communication device is provided, which is a first client device. The first client device includes a processor, a memory, and a communication interface. The memory is used to store one or more computer programs, and the processor is used to call the computer program in the memory so that the first client device executes part or all of the steps in the method of the second aspect.

[0016] In the eleventh aspect, a communication device is provided, which is a second device, and the second device includes a processor, a memory, and a communication interface, the memory is used to store one or more computer programs, and the processor is used to call the computer program in the memory so that the second device executes part or all of the steps in the methods of the third aspect to the fourth aspect.

[0017] In a twelfth aspect, an embodiment of the present application provides a communication system, which includes the above-mentioned communication device. In another possible design, the system may also include other devices that interact with the communication device in the solution provided in the embodiment of the present application.

[0018] In a thirteenth aspect, a device is provided, comprising a processor for calling a program from a memory so that the device executes part or all of the steps in the methods of the above aspects.

[0019] In the fourteenth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and the computer program enables a communication device to execute part or all of the steps in the methods of the above aspects.

[0020] In a fifteenth aspect, embodiments of the present application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, wherein the computer program is operable to cause a communication device to perform some or all of the steps of the methods described in each of the above aspects. In some implementations, the computer program product may be a software installation package.

[0021] In the sixteenth aspect, an embodiment of the present application provides a chip, which includes a memory and a processor. The processor can call and run a computer program from the memory to implement some or all of the steps described in the methods of the above aspects.

[0022] In an embodiment of the present application, the first device can configure the first parameter based on the first configuration information to modify or set the information pushed by the first device to the second device. In this way, when the subscription relationship between the first device and the second device changes, the first device only needs to configure the first parameter according to the first configuration information to establish the subscription relationship, without having to re-initiate a complex subscription process, thereby simplifying the subscription process between communication devices. In addition, when adopting the technical solution of the present application, the first device and the second device do not need to maintain a long connection to ensure that the second device can normally receive notification messages when the subscribed resources change, thereby saving energy. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] FIG1 is a schematic diagram of a data model structure of an Internet of Things device to which an embodiment of the present application can be applied.

[0024] FIG2 is a diagram illustrating an example of a system architecture of a communication system to which an embodiment of the present application may be applied.

[0025] FIG3 is a diagram showing an example of a system architecture of a communication system to which a proxy mechanism can be applied.

[0026] FIG4 is a flow chart of proxy subscription.

[0027] FIG5 is a flow chart of an information push method provided in an embodiment of the present application.

[0028] FIG6 is a flow chart of an information push method provided in another embodiment of the present application.

[0029] FIG7 is a flow chart of an information push method provided in another embodiment of the present application.

[0030] FIG8 is an implementation method for determining whether information push is supported provided in an embodiment of the present application.

[0031] FIG9 is a flow chart of an information push method provided in another embodiment of the present application.

[0032] FIG10 is a flow chart of an information push method provided in another embodiment of the present application.

[0033] FIG11 is a flow chart of an information push method provided in another embodiment of the present application.

[0034] FIG12 is a flow chart of an information push method provided in another embodiment of the present application.

[0035] FIG13 is a schematic diagram of the structure of an information push device provided in an embodiment of the present application.

[0036] FIG14 is a schematic structural diagram of an information push device provided in another embodiment of the present application.

[0037] FIG15 is a schematic structural diagram of an information push device provided in another embodiment of the present application.

[0038] FIG16 is a schematic structural diagram of an information push device provided in yet another embodiment of the present application.

[0039] FIG17 is a schematic structural diagram of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0040] The technical solutions in this application will be described below in conjunction with the accompanying drawings. For ease of understanding, the terms involved in the embodiments of this application are introduced below in conjunction with Figures 1 to 4. It should be noted that the solutions in the embodiments of this application can be applied to various IoT protocols, such as the Matter protocol or other IoT protocols.

[0041] It should be noted that the terms introduced below can be arbitrarily combined with the technical solutions described later, and they all belong to part of the embodiments of this application.

[0042] The Internet of Things (IoT), or "Internet of Everything," is an extension and expansion of the Internet. Through various information sensing devices (such as radio frequency identification and global positioning systems), any object can be connected to the Internet to form a vast network for information exchange and communication, enabling interconnection and interoperability between all things. In some embodiments, IoT devices can be smart home devices, such as smart air conditioners, smart refrigerators, washing machines, rice cookers, and robot vacuums. In some embodiments, IoT devices can be smart monitoring devices, such as surveillance cameras, temperature sensors, and sound sensors.

[0043] Data Model for IoT Devices

[0044] The data model of an IoT device can be used to record the resources of the IoT device. An example of a data model for an IoT device is provided below, in conjunction with Figure 1. The data model of an IoT device may vary across different IoT protocols, and this is not a limitation of the present embodiment. Figure 1 illustrates the data model structure of an IoT device applicable to the present embodiment. In the example shown in Figure 1, the resources of the IoT device can be recorded in a functional cluster.

[0045] 1 , a data model structure 100 of an IoT device includes a node 110 , an endpoint 120 , and a function cluster 130 .

[0046] Node 110 encapsulates a unique, addressable resource on the network, possessing a set of functions and capabilities that users can clearly perceive as a functional entity. Typically, node 110 can be the highest or outermost first-order element in a data model. In other words, node 110 is the only addressable element at the outermost level of a data model. Therefore, a node can represent a device node and belong to a logical device.

[0047] A physical entity (e.g., an IoT device) can be a node 110, or in other words, node 110 can refer to an IoT device node. It should be noted that a node can have multiple node identifiers (IDs), and the scope of each node ID is a specific network (fabric). For example, when a node ID is used as the target address for an interaction, the network that specifies the node ID scope is the access network for the interaction.

[0048] A node may include one or more endpoints 120. An endpoint 120 is an instance, which can be a service instance or a virtual device, indicated by a device type. Each endpoint 120 conforms to one or more device type definitions, which define the functional clusters supported by the endpoint. In some embodiments, an endpoint can be understood as a service instance / virtual device indicated by a device type. A functional cluster is an object class instantiated on an endpoint.

[0049] It should be noted that in this architecture model, the device type can be the highest semantic element. The device type defines a set of conformances of the endpoint 120. The device type defines a set of requirements for the node 110 or the endpoint 120.

[0050] In some embodiments, endpoints can be divided into two categories: endpoint 0 and service endpoints. Endpoint 0 can be understood as the first endpoint in a node, and the device type of endpoint 0 is the "root node" device type. In some embodiments, endpoint 0 can also be called the root node endpoint. Every node must contain endpoint 0. A service endpoint can be understood as any endpoint in a node other than endpoint 0. A service endpoint can support the primary operations of the node. For example, a service endpoint can include one or more application function clusters.

[0051] Each endpoint 120 may be a collection of a type of functionality, which may include one or more functional clusters 130 .

[0052] Function cluster 130 is a functional building block element of the data model, or in other words, function cluster 130 belongs to an element that builds a function set. In some embodiments, function cluster can also be referred to as function set, function set, cluster, cluster, etc., which is not limited by the embodiments of the present application. Function cluster specification defines a client (client) and a server (server) that correspond to each other through interaction. In other words, function cluster 130 can include two roles, namely client and server, where the client belongs to the control end and the server belongs to the controlled end. Function cluster 130 can be regarded as an interface, service or object class, which is the lowest independent functional element in the data model.

[0053] Generally, the above functional clusters can be divided into two categories: utility functional clusters and application functional clusters.

[0054] Utility function clusters are not part of the primary application operations of an endpoint. Utility function clusters can be used for configuration, discovery, addressing, diagnostics, monitoring device health, software updates, etc. A utility function cluster may have a temporary relationship with its function cluster counterpart. Utility function clusters may include, for example, descriptor function clusters, binding function clusters, etc.

[0055] An application function cluster supports the primary operations of an endpoint. In some embodiments, this cluster can also be referred to as a business function cluster. It can support the interaction of one or more persistent applications between a client and a server. For example, consider the on / off function cluster in a smart light. The client can send control commands to the server (i.e., the on / off function cluster) to turn the smart light on or off.

[0056] In some embodiments, the service function cluster may refer to a function cluster on an endpoint other than endpoint 0 in a node, that is, a function cluster on a service endpoint.

[0057] Typically, each functional cluster 130 can be defined by a functional cluster specification that defines the elements of the functional cluster 130. In some embodiments, a functional cluster 230 can include attributes, events, commands, and behaviors related to the interactions between these elements. In some embodiments, attributes, commands, and events can also be referred to as interface units of the functional cluster 130, and corresponding functions can be provided through these three interface units.

[0058] In some embodiments, the attributes, events, commands, and behaviors in a functional cluster 130 are mandatory or optional, depending on the definition of the functional cluster 130 .

[0059] The following briefly introduces the main elements of a function cluster, such as commands, properties, and events, by taking the function cluster including properties, events, and other elements as an example.

[0060] Attributes can be used to describe functional units in a functional cluster, and a functional cluster can contain 0 or more attributes. Attributes are functional cluster data. Currently, the protocol stipulates that each attribute can be listed in a table, and the data quality columns of the attribute defined in the table may include: ID, name, (data) type (type), constraint (constraint), other qualities, access, default (value) and compliance. In some implementations, attributes can also define their related semantics and behaviors. Attributes can reflect the queryable / settable status, configuration and capabilities of the device. In some cases, if no privileges are explicitly defined for an attribute, the default access privilege takes effect.

[0061] Functional cluster commands (also called "commands") can be used to describe the control of functional clusters. A functional cluster can contain 0 or more commands. A command is a set of data fields, and each data type is passed between the client and server functional cluster instances to invoke the behavior of the command recipient. Currently, the protocol stipulates that each command can be listed in a table, which can contain data quality columns for the command: identification (ID), name (name), direction (direction), response (response), access (access), and conformance (conformance). Accordingly, a command can indicate zero or more fields defined in a table. Each command field is defined as a row in the table.

[0062] An event can be used to describe a record of a specific past behavior of a functional cluster, or in other words, an event defines a record of something that happened in the past. In this regard, an event record can be thought of as a log entry that provides a chronological view of events on a node through a stream of event records. A functional cluster can contain zero or more events. Unlike attributes, which do not provide any edge-preserving functionality (that is, there is no guarantee that every attribute change will be transmitted to the observer), events allow each individual edge or change to be captured and reliably transmitted to the observer. This is critical for safety and security applications that rely on guaranteed correct behavior. Currently, the protocol stipulates that each functional cluster event can be listed in a table, and the data quality columns defined in this table for the event may include: ID, priority, access, and compliance.

[0063] For ease of understanding, the following describes the meanings of several common data qualities included in commands, attributes, and events. It should be noted that the commands, attributes, and events in the embodiments of this application may also include other data qualities, or include some of the above data qualities. This embodiment of the application is not limited to this.

[0064] Identifier, which indicates the unique field ID of a field, or the unique identifier of a command (or attribute, event).

[0065] Name: The unique name of the field, or the name of the command (or attribute).

[0066] Type indicates the data type of the field, or the data type of the command parameter (or attribute parameter).

[0067] Direction, usually present in the command list, is used to define the transmission direction of the command. For example, it can be defined as from the client to the server. Another example is from the server to the client.

[0068] Access rights define how an element can be accessed (e.g., read or write) and what permissions are required to access the data. In some implementations, access rights may include V, which indicates that read access or call access requires the view privilege. Access rights may also include O, which indicates that "read access," "write access," or "call access" requires the operation privilege. Access rights may also include R, which indicates read access. Access rights may also include W, which indicates write access.

[0069] Response, usually exists in the command list, is used to define the response message of the command.

[0070] Quality, used to define additional data qualities not covered in other columns.

[0071] Default is used to define a default value. It should be noted that the default value is not the value used when the server returns the factory refresh settings. Default values ​​can indicate that the compliance specified for a data field is optional or can change over time. Default values ​​can be defined to fulfill dependencies when the actual data field value does not exist.

[0072] Conformance defines the optionality and dependencies of any data model element or set of elements. Typically, this column is valid for attributes, commands, events, enumerations, and fields of commands, events, or structures. In some implementations, "M" indicates that the corresponding command is part of the basic mandatory feature set, and "O" indicates that the corresponding command is part of the optional feature set.

[0073] For commands, client-to-server command conformance means that the server should recognize and support the client-to-server command and generate responses as defined. Server-to-client command conformance means that the server should send commands as defined by the feature cluster behavior, i.e., respond to client-to-server commands. Command conformance depends on supported server features. Clients should not be required to support optional commands or commands that depend on optional features.

[0074] Constraints include "all" and "desc." "all" in a numeric data type indicates that all values ​​are allowed. "desc" indicates that the constraint is defined in the description section.

[0075] Range indicates the value range of the field. Range can support two forms: explicit constraint and width constraint. Among them, the explicit constraint can give the minimum and maximum values ​​corresponding to the value of the field, for example, the value range of a field is (0,128). The width constraint can limit the value of the field to a specific number of bytes, for example, the value of a field is limited to 8 bytes. In some embodiments, the value of the range may include "N / A" to indicate not applicable. Of course, "N / A" can also appear in other parts (other data quality), such as defaults, constraints, etc.

[0076] Priority: Each event record has an associated priority. This priority can be used to describe the usage semantics of the event.

[0077] To facilitate understanding, a specific example is given below to illustrate the data model structure of IoT devices. Assume that a node represents a light device, which contains one or more endpoints, for example, endpoint 0 and endpoint 1. The root node device type of the car is stored under endpoint 0, and the device type representing the light is stored under endpoint 1. Endpoint 1 can contain one or more functional clusters, for example, a switch, brightness functional cluster, etc. Each functional cluster can contain 0 or more attributes, commands, and events. Taking the switch and brightness functional cluster as an example, the attributes contained in this functional cluster may include on / off attribute values, brightness attribute values, etc.; the commands contained may include on and off commands; and the events contained may include software and hardware failure events, etc.

[0078] IoT Communication System Architecture

[0079] The following describes a communication system applicable to an embodiment of the present application in conjunction with Figure 2. The communication system shown in Figure 2 includes a client device 210, a server device 220, and a configuration device 230. It should be noted that the data model structure of the client device 210 and the server device 220 can be as shown in Figure 1.

[0080] The client device 210 is a client device on the user side, and the client device 210 can communicate with the server device 220. In some embodiments, the client device 210 and the server device 220 can be connected to each other via a wired or wireless connection for communication.

[0081] In some implementations, the client device 210 may send control information to the server device 220 to control the server device 220. For example, when the server device 220 is a smart air conditioner, the client device 210 may control the temperature of the server device 220 by sending control information to the server device 220.

[0082] In some embodiments, the client device 210 may refer to a terminal device on which a client is installed, wherein the terminal device may be a mobile phone, a computer, a tablet computer, a personal digital assistant (PDA), a smart bracelet, a smart watch, etc., which is not limited in the embodiments of the present application. It should be understood that the client may be an application (APP) or a mini-program, etc., which is not limited in the embodiments of the present application.

[0083] The server device 220 may be an IoT device that supports a standard protocol. The server device 220 may communicate directly with the client device 210 so that the client device 210 can control the server device 220 .

[0084] For example, when the server device 220 is a smart air conditioner that supports a standard protocol, the client device 210 can control the smart air conditioner's power on and off, and set the temperature, wind speed, etc. When the server device 220 is a robot vacuum cleaner that supports a standard protocol, the client device 210 can control the robot vacuum cleaner to start or stop working, control the robot vacuum cleaner's operating mode, etc.

[0085] The configuration (commissioner) device 230 can be used to configure the server device 220. In other words, the configuration device can be understood as a terminal device installed with a configuration terminal, through which the user can configure the server device 120. The terminal device can be a mobile phone, computer, tablet computer, PDA, smart bracelet, smart watch, etc., which is not limited in the embodiments of the present application. In some embodiments, the configuration terminal can be an application or mini-program, etc., which is not limited in the embodiments of the present application.

[0086] It should be noted that the configuration end and the client can be the same APP or applet. Of course, the configuration end and the client can be different APPs or applet. This embodiment of the application does not limit this.

[0087] Proxy mechanism provided for subscription operations

[0088] In some cases (e.g., insufficient server resources), the server cannot directly process the subscription request. A proxy mechanism (or proxy service) can be used to help the server process the subscription request. In other words, the proxy mechanism can implement proxy capabilities for subscribing to resources on the server.

[0089] As shown in Figure 3, a proxy mechanism typically involves a client device, a server device, and a proxy device. A server device can be a node that serves as the original source of authenticity for a set of data. A server device can act as a data publisher. A client device can be a node that wishes to subscribe to a server device. The proxy device can "mirror" the server device's data to the client device. For the client device, whether interacting with the proxy device or the server device, the client device does not need to change its interaction.

[0090] In some embodiments, a proxy device may only be able to directly subscribe to one node (server device).

[0091] In some embodiments, a client device can subscribe to server device resources via multiple proxy devices. Alternatively, a client device can subscribe to server device resources by using a proxy device within a system to subscribe to another proxy device. In this case, the subscription path from a client device to a server device resource can be represented as client device → proxy device 1 → proxy device 2 → … → server device.

[0092] In some embodiments, in the process of a client device subscribing to resources of a server device through a proxy device, the subscription from the proxy device to the server device can be called an upstream subscription or northbound subscription, and the subscription from the client device to the proxy device can be called a downstream subscription or southbound subscription.

[0093] Generally, from the perspective of a client device, the proxy process may include the following steps: discovering that the server device needs a proxy; finding a proxy device on the network that can handle its subscription request; and setting up the proxy device to subscribe to the server device.

[0094] During the proxy setup process, a proxy device can indicate its ability to act as an authenticated proxy by declaring support for subscribed proxy device types. When such a proxy device is configured, the configuring device should recognize this capability and write the node IDs of all server devices to be proxied to the proxy configuration cluster on the proxy device. Alternatively, the configuring device can configure the proxy device as a wildcard proxy for all server devices, eliminating the need to specify a specific set of node IDs.

[0095] Additionally, the configuration device can write the node ID of the newly added proxy device to the Valid Proxies cluster on the server device that requires the proxy. This cluster can store a static list of candidate proxies for a given device. Typically, this configuration is required for server devices that support this cluster.

[0096] The following introduces the proxy configuration function cluster on the proxy device and the effective proxy function cluster on the server device.

[0097] The proxy configuration function cluster on the proxy device can store a list of devices that the proxy device can proxy-subscribe to (which can be understood as a server device list or a data publisher list). Table 1 shows an example of a proxy configuration function cluster.

[0098] Table 1

[0099] As shown in Table 1, the proxy configuration function cluster can include a ConfigurationList attribute, whose type is a list-type structure (e.g., ConfigurationStruct). The quality of this attribute is "N," indicating that the attribute data value is non-volatile and persists across reboots. The access data quality of this attribute is RW, indicating that the attribute can be read and written.

[0100] The configuration list attribute can store the nodes that the proxy device can subscribe to, for example, in a structure of the configuration list attribute type. The following describes the configuration list attribute type in conjunction with Table 2. Alternatively, the definition of the structure (ConfigurationStruct) of this attribute type can be found in Table 2.

[0101] Table 2

[0102] In Table 2, the SourceList field can be used to store or specify the nodes that the proxy device can proxy subscriptions for. For example, the SourceList field can store the identifiers of the nodes that the proxy device can proxy subscriptions for. The ProxyAllNodes field can be used to indicate whether the proxy device can proxy all nodes. For example, a value of true indicates that the proxy device can proxy all nodes, or a value of false indicates that the proxy device cannot proxy all nodes. The default value of the ProxyAllNodes field is false.

[0103] The valid proxy function cluster on the server device can store all proxy devices supported by the server device. The client device can access resources on the server device through one of the proxy devices supported by the server device. The following is an exemplary introduction to the valid proxy function cluster in conjunction with Tables 3 to 5.

[0104] Table 3

[0105] As shown in Table 3, the valid proxy function cluster can include a valid proxy list (ValidProxyList) attribute, whose type is a list-type structure (e.g., ValidProxyStruct). The corresponding qualities of this attribute include "N," indicating that the attribute data value is non-volatile and remains unchanged across reboots; and "F," indicating that the attribute data value is fixed. The corresponding access data quality of this attribute includes "RW," indicating that the attribute can be read and written.

[0106] The valid proxy list attribute can store the proxy devices supported by the server device, for example, in a structure of the valid proxy list attribute type. The following describes the valid proxy list attribute type in conjunction with Table 4. Alternatively, the definition of the structure (ValidProxyStruct) of this attribute type can be found in Table 4.

[0107] Table 4

[0108] In Table 4, the Node ID (NodeID) field may be used to store or specify the proxy device supported by the server device. For example, the Node ID may store the identifier of the proxy device supported by the server device.

[0109] Table 5

[0110] As shown in Table 5, the commands included in the Active Proxy function cluster may include Get Active Proxy Request and Get Active Proxy Response. The Get Active Proxy Request is typically used by a client device to obtain a proxy list from a server device. The Get Active Proxy Request is transmitted from the client to the server, and its corresponding response is Get Active Proxy Response. The Get Active Proxy Response is used by the server device to return a list of proxies supported by the server device to the client device. The Get Active Proxy Response is transmitted from the server to the client, and its corresponding response is None.

[0111] After receiving a valid proxy response from the server, the client device can broadcast a message to search for proxy devices, collect all responding proxy devices, and then determine the range of available proxies based on the proxy list received from the server. Finally, the client device can select a proxy device based on other factors to subscribe to the server device's resources.

[0112] After the client device finds a proxy device that can handle its subscription request and successfully sets it up, it can subscribe to the server device's resources through the proxy device. Figure 4 shows a schematic diagram of a proxy subscription process. The proxy subscription process shown in Figure 4 may include steps 1 to 10.

[0113] In step 1, the client device sends a request to the proxy device to subscribe to the C1 resource on the server device.

[0114] In step 2, the proxy device sends a report data (ReportData) message to the client device, notifying the client device that it is temporarily not subscribed to the resource of the server device (ie, the proxy device is temporarily not subscribed to the C1 resource).

[0115] In step 3, the client device responds to the ReportData message sent by the proxy device.

[0116] In step 4, the proxy device returns a subscription response to the client device.

[0117] In step 5-8, the proxy device initiates a subscription to the C1 resource on the server device and completes the subscription to the C1 resource.

[0118] In steps 9-10, after the proxy device successfully subscribes to the C1 resource, it continues to process the subscription process of the client device.

[0119] Before the proxy device sends ReportData to the client device, it needs to check whether the client device has the permission to subscribe to the C1 resource of the server device (view permission). If the client device has the permission to subscribe to the C1 resource, the proxy device can return the content of the subscribed C1 resource to the client device via ReportData. If the proxy device has not yet subscribed to the C1 resource, it can first return a message to the client device indicating that it has not subscribed to the C1 resource, and then subscribe to the C1 resource and return the content of the subscribed C1 resource to the client device.

[0120] To facilitate the proxy device's determination of whether the client device has permission to subscribe to a resource on the server device (e.g., a C1 resource), the proxy device has proxyview permission on the server device, enabling it to obtain all access control information on the server device. In other words, the proxy device has proxyview permission on the server device's access control list (ACL) function cluster resources, enabling it to subscribe to or read the ACL function cluster. Based on this, the proxy device can determine whether the client device can subscribe to a resource on the server device (e.g., a C1 resource) by obtaining the client device's permission to that resource.

[0121] It should be noted that no matter whether the client device subscribes to the target resource of the server device directly or through a proxy device, it must have the permission to subscribe to the target resource of the server device, that is, the ACL function cluster of the server device must have an access control entry (ACE) corresponding to the client device.

[0122] As can be seen from the description above, the current subscription process mainly involves a subscriber (e.g., a client device or proxy device) initiating a subscription request. The subscriber and the subscribed party (e.g., a server device) then maintain a long-term connection to subscribe to resources. When a resource subscribed to by a subscriber changes, the subscribed party can generate a notification message to inform the subscriber of the changed resource.

[0123] In the aforementioned subscription scenarios, if the subscription relationship between the communication devices changes, the communication devices may need to re-initiate the subscription process and establish the subscription relationship based on the change in the subscription relationship, making the entire operation process more complicated. Taking the proxy subscription scenario as an example, during the proxy subscription process, the subscription proxy relationship between the proxy device and the server device may change (for example, adding or canceling a subscription to a certain resource / resources). In this case, the proxy device may need to re-initiate the subscription process with the server device, that is, re-execute the subscription process shown in Figure 4 (for example, including steps 5-8 shown in Figure 4) to establish the subscription relationship, making the entire process more complicated.

[0124] For example, a new subscription for resource A may need to be added between communicating devices. Therefore, the communicating devices need to renegotiate their subscription to resource A. As an implementation, a communicating device (e.g., a proxy device) can directly create a new subscription relationship to subscribe to resource A. Alternatively, the communicating devices can delete the existing subscription relationship and then re-establish a new one that includes the subscription for resource A. However, regardless of the method used to subscribe to resource A, the communicating devices must re-initiate the subscription process, making the entire process relatively complex.

[0125] As another example, a communication device might need to cancel a subscription for resource B. If the subscription relationship corresponding to resource B also includes subscriptions for other resources, the communication device needs to delete the existing subscription relationship and then re-establish a new subscription relationship. This new subscription relationship does not include the subscription for resource B, but does include subscriptions for the other resources in the original subscription relationship. In this case, the communication device still needs to re-initiate the subscription process, making the entire operation process more complicated.

[0126] In summary, when the subscription relationship between communication devices changes, how to simplify the operation process between the communication devices is a problem that needs to be solved. In other words, how to simplify the process of establishing a subscription relationship between communication devices is a problem that needs to be solved.

[0127] In order to solve the above problems, the embodiments of the present application provide an information push method, apparatus, communication equipment, chip and storage medium. The technical solutions of the embodiments of the present application are introduced below with reference to the accompanying drawings.

[0128] Figure 5 is a flow chart of an information push method provided by an embodiment of the present application. The method shown in Figure 5 is introduced from the perspective of interaction between a first device and a second device, wherein the second device can subscribe to resources of the first device.

[0129] In some embodiments, the second device may be referred to as a subscriber, and the first device may be referred to as a subscribed device or a publisher, etc.

[0130] In some embodiments, the second device may be, for example, a client device, such as client device 210 shown in Figure 2. In some embodiments, the second device may be, for example, a proxy device, such as the proxy device shown in Figure 3. In some embodiments, the first device may be, for example, a server device, such as server device 220 shown in Figure 2.

[0131] The method shown in FIG5 includes step S510 and step S520 , which are described below.

[0132] In step S510 , a first device receives first configuration information.

[0133] The first configuration information is used to configure a first parameter, and the first parameter is used to indicate information pushed by the first device to the second device, or in other words, the first parameter is associated with the information (or content) pushed by the first device to the second device.

[0134] In some embodiments, the first parameter is used to indicate that the information pushed by the first device to the second device can be understood as the first device can push information to the second device based on the first parameter, or the sender of the first configuration information can set (or modify, determine, etc.) the information pushed by the first device to the second device by setting the first parameter.

[0135] In some embodiments, the first parameter can also be understood as the information of the information recipient, that is, the sender of the first configuration information can set the information of the information recipient (for example, the second device) for the first device through the first parameter, so that the first device knows which devices it can push information to and what information it can push.

[0136] In some embodiments, the information pushed by the first device to the second device may include resources pushed by the first device to the second device. For example, the information pushed by the first device to the second device includes resource A, resource B, and the like.

[0137] In some embodiments, the first parameter may be maintained in a certain functional cluster (eg, a first functional cluster) of the first device.

[0138] In some embodiments, the first functional cluster may be a new functional cluster (e.g., a PushConfig Cluster), and the new functional cluster includes the first parameter. For example, a field in the new functional cluster may be used to indicate the first parameter. It should be noted that the embodiment of the present application does not specifically limit the name of the first functional cluster of the first device, and it may be a name other than PushConfig Cluster.

[0139] In some embodiments, the first functional cluster may be an existing functional cluster, and the existing functional cluster may include a field for indicating the first parameter.

[0140] In some embodiments, the first parameter may be used to indicate one or more of the following information: identity information of the second device; and information that the first device can push to the second device. For example, the first parameter may include one or more of the following: identity information of the second device; and information that the first device can push to the second device.

[0141] In some embodiments, the identity information of the second device may be indicated by, for example, a device ID of the second device.

[0142] In some embodiments, the information that the first device can push to the second device can be indicated by an identifier of the pushed information. In some embodiments, the identifier of the pushed information can refer to a unique identifier of the pushed information. When the information (or content) identified by the unique identifier changes, the first device can send a push message to the information recipient (e.g., the second device).

[0143] The embodiment of the present application does not specifically limit the implementation of the identification of the information to be pushed. In some embodiments, the identification of the pushed information can be indicated by, for example, an endpoint identification and / or a function cluster identification.

[0144] As an example, the first parameter may include the identity information of the second device and the information that the first device can push to the second device. In this way, the first device can know that it has established a push mechanism with the second device and what information it can push to the second device, so that it can push information to the second device.

[0145] As another example, the first parameter may include the identity information of the second device. This way, the first device knows it has established a push mechanism with the second device and can push information to the second device. In some embodiments, if the first parameter does not include information that the first device can push to the second device, it can be understood that all resources of the first device can be pushed to the second device.

[0146] In some embodiments, the first parameter may indicate other information in addition to the identity information of the second device and / or the information that the first device can push to the second device. For example, the first parameter may be used to indicate one or more of the following: the address to which information is pushed, the identifier of the pushed information, the maximum push period, and the minimum push period.

[0147] The address of information push can be used to indicate the address of the information recipient. For example, the first parameter may include the address of information push (the address of the information recipient), so that the first device pushes information to the corresponding information recipient according to the address indicated by the first parameter.

[0148] In some embodiments, in addition to being able to set the identifier (for example, resources) of the information pushed by the first device to the second device by configuring the first parameter, the first parameter can also be used to set other content (items) such as the period of pushing, the threshold of pushing, etc., of the first device to the second device. The embodiments of the present application do not limit this. Taking the example that the second device can set the period of pushing from the first device to the second device, the second device can set the maximum period of pushing, the minimum period of pushing, etc., and can also set the information pushed by the first device to be pushed when the content changes, and not to be pushed when it does not change. Taking the example that the second device can set the threshold of pushing, the second device can set the information pushed by the first device to be pushed after the content changes exceed a certain threshold (for example, reporting when the temperature of the first device exceeds 1°), pushing when the content of the pushed information reaches a certain threshold (for example, reporting when the temperature of the first device reaches 60°), etc.

[0149] In some embodiments, the first parameters (including the address of information push, the identifier of the pushed information, the push period, and the push threshold) can be referred to as parameters in a first list. The parameters in the first list can be set by the second device, for example, through the first configuration information. In some embodiments, the first list can also be understood as a notification list.

[0150] It should be noted that the sender of the first configuration information can set one or more of the first parameters, and this embodiment of the present application is not limited to this.

[0151] In some embodiments, the sender of the first configuration information may be a first client device, for example, an administrator device of the first device.

[0152] In some embodiments, the sender of the first configuration information may be a second device, such as a proxy device or a client device that subscribes to the first device.

[0153] In some embodiments, the first client device can configure the first device. In some embodiments, the first client device can configure the second device. In some embodiments, the first client device can configure the first device and the second device.

[0154] In some embodiments, the first client device may refer to a device having an APP installed thereon for configuring the first device and / or the second device.

[0155] In some embodiments, the first client device may be an administrator device of the first device and / or the second device. In other words, the first client device has higher management authority over the first device and / or the second device.

[0156] In step S520, when the push information indicated by the first parameter changes, the first device sends a push message to the second device.

[0157] In some embodiments, the push message may carry information such as the content and version number of the changed information.

[0158] In some embodiments, the push message is sent by the first device to the second device when the first device determines that the second device has access rights to the information associated with the first parameter.

[0159] The specific process of the first device sending a push message to the second device is similar to the relevant process of the subscribed device sending a notification message to the subscribing device in the subscription process. Therefore, for the specific process of the first device sending a push message to the second device, please refer to the relevant introduction of the subscribed device sending a notification message to the subscribing device in the prior art, which will not be repeated here.

[0160] In an embodiment of the present application, the first device can configure the first parameter according to the first configuration information so as to modify or set the information pushed by the first device to the second device. In this way, when the subscription relationship between the second device and the first device changes, the first device only needs to configure the first parameter according to the first configuration information to establish the subscription relationship, without having to re-initiate a complex subscription process, thereby simplifying the subscription process between communication devices. In other words, the embodiment of the present application can simplify the operation process when the subscription relationship between communication devices changes by pushing, making it easier to adjust the scope of the subscription content when the subscription relationship between communication devices changes.

[0161] In addition, in the existing subscription process, the subscription is initiated by the second device. In order to ensure that the second device can normally receive notification messages sent by the first device when the subscribed resources change, the second device needs to maintain a long connection with the first device, which consumes more power. However, when the technical solution of the present application is adopted, the first device can actively push the changed information to the second device when the subscribed resources change. Therefore, the second device and the first device do not need to maintain a long connection to ensure that the second device can normally receive notification messages when the subscribed resources change, thereby saving energy.

[0162] For ease of understanding, the following describes the configuration process of the first configuration information by taking the first client device and the second device as examples of senders of the first configuration information.

[0163] The first client device configures the first configuration information

[0164] FIG6 is a flow chart of another information push method provided by an embodiment of the present application. The method shown in FIG6 is described from the perspective of the interaction between the first client device, the first device, and the second device. The method shown in FIG6 may include steps S610 to S630.

[0165] In step S610 , the first client device sends first configuration information to the first device.

[0166] For a detailed description of the first configuration information, please refer to the relevant introduction of step S510 above, which will not be repeated here for the sake of brevity.

[0167] In step S620 , the first client device sends third configuration information to the second device.

[0168] The third configuration information may be used to configure a third parameter. The third parameter may be used to indicate information pushed by the first device to the second device, or in other words, the third parameter is associated with the information pushed by the first device to the second device.

[0169] In some embodiments, the third parameter may be used to indicate one or more of the following information: identity information of the first device; and information that the first device can push to the second device. For example, the third parameter may include one or more of the following: identity information of the first device; and information that the first device can push to the second device.

[0170] In some embodiments, the third parameter can also be understood as the information of the information pusher, that is, the first client device can set the information of the information pusher (for example, the first device) for the second device through the third parameter, so that the second device knows which devices can push information for it and what information can be pushed.

[0171] In some embodiments, the identity information of the first device may be indicated by, for example, a device ID of the first device.

[0172] In some embodiments, the information that the first device can push to the second device can be indicated by an identifier of the pushed information.

[0173] In some embodiments, the third parameter may be included (maintained) in the first functional cluster of the second device. For example, the second device may include a first functional cluster (e.g., PushTarget Cluster), and the first functional cluster of the second device may store information about the information pusher. It should be noted that the embodiment of the present application does not specifically limit the name of the first functional cluster of the second device, and it may be a name other than PushTarget Cluster.

[0174] In some embodiments, the first functional cluster of the second device may be a new functional cluster (e.g., a PushTarget Cluster), and the new functional cluster includes a third parameter. For example, a field in the new functional cluster may be used to indicate the third parameter. It should be noted that the embodiment of the present application does not specifically limit the name of the first functional cluster of the second device, and it may be a name other than PushTarget Cluster.

[0175] In some embodiments, the first functional cluster of the second device may be an existing functional cluster, and the existing functional cluster may include a field for indicating the third parameter.

[0176] In step S630, when the push information indicated by the first parameter changes, the first device sends a push message to the second device.

[0177] For a detailed description of step S630, please refer to the previous description of step S520. For the sake of brevity, it will not be repeated here.

[0178] It should be noted that the embodiment of the present application does not specifically limit the execution order of step S610 and step S620. For example, step S610 can be executed first, or step S620 can be executed first. Of course, step S610 and step S620 can also be executed at the same time.

[0179] 6 , in some embodiments, the method shown in FIG6 may further include step S615 . In step S615 , the first client device sends second configuration information to the first device, where the second configuration information is used to configure access rights of the second device to the first device.

[0180] In some embodiments, step S615 is performed before step S630 , for example, before step S610 and / or step S620 , or after step S610 and step S620 .

[0181] That is, in some embodiments, before pushing information to the second device, the first device needs to check whether the second device has access rights to the pushed information.

[0182] In some embodiments, the first device can push certain information to the second device only if the second device has access rights to the information. In other words, the second device can receive the corresponding pushed information only if the second device has access rights to the information on the first device.

[0183] In some embodiments, whether the second device has access rights to certain information of the first device may be set by the user on the first device through a first client device (eg, an APP).

[0184] In some embodiments, the method shown in Figure 6 may further include step S625. In step S625, the second device sends a first request to the first device, where the first request is used to set a second parameter.

[0185] The second parameter may be used to indicate information related to push parameters, such as parameters related to the push period, parameters related to the push threshold, etc. In some embodiments, the second parameter may be used to indicate one or more of the following: a maximum period for information push, a minimum period for information push, and a threshold associated with information push.

[0186] In some embodiments, the second parameter may be maintained in a second functional cluster of the first device. In some embodiments, the second functional cluster of the first device and the first functional cluster of the first device mentioned above may be the same functional cluster, but embodiments of the present application are not limited thereto. The second functional cluster of the first device and the first functional cluster of the first device may also be different functional clusters.

[0187] The second device configures the first configuration information

[0188] Figure 7 is a flow chart of an information push method provided by another embodiment of the present application. The method shown in Figure 7 is described from the perspective of interaction between a first device and a second device. The method shown in Figure 7 may include steps S710 to S720.

[0189] In step S710, the second device sends first configuration information to the first device.

[0190] In this embodiment, when the first configuration information is used to configure the first parameter, in addition to indicating the identity information of the second device and the information that the first device can push to the second device, the first parameter can also be used to indicate information related to push parameters, such as parameters related to the push period, parameters related to the push threshold, etc. In other words, the first parameter can also be used to indicate one or more of the following: the maximum period for information push, the minimum period for information push, and the threshold associated with information push.

[0191] For other related introductions about the first configuration information, please refer to the related introduction of step S510 above, which will not be repeated here for the sake of brevity.

[0192] In step S720, when the push information indicated by the first parameter changes, the first device sends a push message to the second device.

[0193] For a detailed description of step S720, please refer to the previous description of step S520. For the sake of brevity, it will not be repeated here.

[0194] In some embodiments, the second device can set the first parameter within a certain range. For example, the second device can set the first parameter within the range of information that the first device can push to the second device (or, within the range of reportable information, within the range of reportable list, within the range of reportable content, etc.). As a specific example, assuming that the information that the first device can push to the second device (i.e., the range of information that the first device can push to the second device) includes resources A, B, C, and D, if the second device sets the first parameter to expect the first device to push resource B to the second device, the second device can set the first parameter through the first request; if the second device sets the first parameter to expect the first device to push resource E to the second device, since resource E is not within the range that the second device can set, the second device cannot set the first parameter to request the first device to push resource E to the second device.

[0195] In some embodiments, before sending the first configuration information to the first device, the second device also needs to determine whether the first device supports information push, which will be described in detail below in conjunction with FIG. 7 .

[0196] 7 , in some embodiments, the method of FIG7 may further include step S705 . In step S705 , the second device determines whether the first device supports information push.

[0197] In some embodiments, the second device can set the first parameter to set the information pushed by the first device to the second device only if the second device determines that the first device supports information push. Correspondingly, if the second device determines that the first device does not support information push, the second device cannot set the first parameter.

[0198] The embodiment of the present application does not specifically limit the implementation method of the second device determining whether the first device supports information push. For example, the second device can determine whether the first device supports information push based on the capability information of the first device.

[0199] The following provides an exemplary implementation in which the second device determines whether the first device supports information push based on the capability information of the first device.

[0200] Implementation method 1: Based on the capability information of the first device

[0201] The capability information of the first device may be used to indicate whether the first device supports information push. The second device may obtain the capability information of the first device to determine whether the first device supports information push.

[0202] Referring to FIG. 8 , FIG. 8 is a possible implementation manner in which the second device determines whether the first device supports information push provided in an embodiment of the present application. The method shown in FIG. 8 may include step S810 and step S820.

[0203] In step S810, the second device obtains capability information of the first device. For example, the first device may send capability information to the second device so that the second device can determine whether the first device supports information push.

[0204] In some embodiments, the second device may obtain capability information of the first device through capability discovery to determine whether the first device supports information push. In some embodiments, the capability discovery method can be understood as the first device storing information on whether the first device supports a certain capability (e.g., the capability to push information), and other devices may access the information stored in the first device to determine (or obtain) whether the first device supports the certain capability.

[0205] In some embodiments, the capability information of the first device may be included in the third functional cluster of the first device, so that other devices can determine whether the first device supports information push by accessing the third functional cluster of the first device.

[0206] The embodiments of the present application do not specifically limit the third functional cluster of the first device. As an example, the third functional cluster can be a new functional cluster that stores capability information about whether the first device supports information push. As another example, the third functional cluster can be an existing functional cluster (e.g., a Valid Proxies Cluster or other existing functional cluster), and a field can be added to the existing functional cluster to indicate whether the first device supports information push.

[0207] Taking the third functional cluster of the first device as Valid Proxies Cluster as an example, the capability information of whether it supports information push can be carried in the command in Valid Proxies Cluster (for example, get Valid Proxy Request command or get Valid Proxy Response command).

[0208] In step S820, the second device determines whether the first device supports information push.

[0209] In some embodiments, if the capability information of the first device indicates that the first device supports information push, the second device determines that the first device supports information push.

[0210] In some embodiments, if the capability information of the first device indicates that the first device does not support information push, the second device determines that the first device does not support information push.

[0211] However, the embodiments of the present application are not limited to this. In some embodiments, such as the aforementioned technical solution in which a first client device sets a first parameter to instruct the first device to push information to a second device, the first client device can set a third parameter for the second device, namely, information about the information pusher. In this way, the second device can also determine whether the first device supports information push based on the stored third parameter. This is described in detail below.

[0212] Implementation method 2: Pushing the party’s information based on the information stored on the second device

[0213] The information pusher may refer to a device that can push information to the second device. The second device may store information about the information pusher so that the second device can query which devices can push information to the second device.

[0214] The information about the information pusher stored on the second device may include various information, for example, information related to the identity of the information pusher (i.e., the source of the information push), information related to the information that the information pusher can push, etc. Exemplarily, the information about the information pusher stored on the second device may include one or more of the following information: an identifier of the information pusher, and information that the information pusher can push to the second device.

[0215] As an example, the information about the information pusher stored on the second device may include the identifier of the information pusher and the information that the information pusher can push to the second device. In this way, after the second device stores the information about the information pusher, it can determine the pushed information that the second device can obtain, or in other words, it can determine the range of information that the first device can push to the second device, so that the second device can subsequently set the first parameter within the range of the pushed information that it can obtain.

[0216] As another example, the information of the information pusher stored by the second device may include the identifier of the information pusher. In other words, the information of the information pusher stored by the second device may not include the information that the information pusher can push to the second device. In this way, after the second device stores the information of the information pusher, it can determine which devices can push information to the second device. In this case, after the second device establishes a connection with an information pusher (for example, the first device), it can send a request to the information pusher to determine whether it can obtain a certain pushed information, for example, a push message of a certain resource.

[0217] In some embodiments, the information of the information pusher stored on the second device may be set by the user through an APP on the second device. The APP may be, for example, an administrator APP of the second device, or in other words, the APP may be an APP with administrator privileges on the second device.

[0218] In some embodiments, if the information of the information pusher stored by the second device includes information of the first device, the second device determines that the first device supports information push.

[0219] In some embodiments, if the information of the information pusher stored by the second device does not include the information of the first device, the second device determines that the first device does not support information push.

[0220] In an implementation method for determining whether a first device supports information push using information about the information pusher stored on a second device, the second device can, on the one hand, obtain information that the first device can push to the second device, thereby facilitating the second device's ability to determine its subscription scope. Furthermore, the second device can set a first parameter to modify the information pushed by the first device to the second device, thereby facilitating the second device's ability to determine its currently subscribed content.

[0221] In some embodiments, in addition to the second device needing to determine whether the first device supports information push, the first device also needs to determine whether the second device supports information push before pushing information to the second device. For example, the first device can determine whether the second device supports information push based on information about the information recipient stored on the first device or capability information of the second device.

[0222] It should be noted that the specific implementation method of the first device determining whether the second device supports information push is similar to the specific implementation method of the second device determining whether the first device supports information push. Therefore, the description of the specific implementation method of the first device determining whether the second device supports information push can be found in the previous text. For the sake of brevity, it will not be repeated here.

[0223] In some embodiments, if the second device determines that the first device supports information push, the second device may send a second request to the first device to obtain information that the first device can push to the second device. For example, if the third parameter (information of the information pusher) stored in the second device does not include information that the information pusher (e.g., the first device) can push to the second device, the second device may obtain the information that the first device can push to the second device by sending the second request.

[0224] In some embodiments, in response to the second request, the first device may send information that it can push to the second device, and may also send one or more of the content (or value) of the pushed information and the corresponding version number and other information to the second device.

[0225] In some embodiments, the version number sent by the first device to the second device may be an initial version number negotiated or agreed upon by the two devices. Each subsequent time the first device pushes information to the second device, the version number should be incremented.

[0226] In some embodiments, before pushing information to the second device, the first device needs to check whether the second device has access rights to the pushed information.

[0227] In some embodiments, the first device can push certain information to the second device only if the second device has access rights to the information. In other words, the second device can receive the corresponding pushed information only if the second device has access rights to the information on the first device.

[0228] In some embodiments, whether the second device has access permission to certain information of the first device may be set by the user through an APP on the first device.

[0229] In some embodiments, when the second device and the first device determine that both parties are capable of pushing information or receiving pushed information, the first device may send a push message to the second device when the push information indicated by the first parameter (or the content or value of the information associated with the first parameter) changes.

[0230] As previously described, in some embodiments, the second device may be a proxy device or a client device (e.g., a second client device). In the case where the second device is a proxy device, the first configuration information may be sent by the sender of the first configuration information to the first device when the second device receives a subscription request. The case where the second device is a proxy device is described below with reference to FIG9 .

[0231] FIG9 is a flow chart of an information push method provided by another embodiment of the present application. In the method of FIG9 , the second device is a proxy device and the first device is a server device. The method shown in FIG9 may include steps S910 and S920.

[0232] In step S910, the third device sends a subscription request to the second device, where the subscription request is used to subscribe to a first resource or unsubscribe from a second resource.

[0233] The third device may be referred to as a subscriber or a subscription device. In some embodiments, the third device may be, for example, a client device.

[0234] For the relevant introduction of the third device sending a subscription request to the second device to subscribe to the first resource or unsubscribe from the second resource, please refer to the steps introduced in Figure 4 above or refer to the introduction in the relevant technology. This application is not limited to this.

[0235] In some embodiments, if the subscription request is used to subscribe to the first resource, after receiving the subscription request sent by the third device, the second device may need to determine whether the third device has permission to subscribe to the first resource.

[0236] The embodiments of the present application do not limit the implementation method by which the second device determines whether the third device has permission to subscribe to the first resource. For example, the second device can check the access control list of the first device to determine whether the third device has permission to access the first resource of the first device based on the query result. It should be understood that the access control list of the first device can record information about all devices that can access resources on the first device, as well as information related to the access method (e.g., read permission, write permission, etc.).

[0237] In step S920, the sender of the first configuration information sends the first configuration information to the first device based on the subscription request.

[0238] In some embodiments, the above-mentioned subscription request can be used to subscribe to the first resource. In this case, the sender of the first configuration information (for example, the first client device or the second device) can send the first configuration information to the first device based on the subscription request to request the first device to push the first resource to the second device.

[0239] In some embodiments, when the first parameter does not include the first resource, the sender of the first configuration information may send the first configuration information to the first device to request to push the first resource.

[0240] In this way, when the content of the first resource changes subsequently, the first device can send a push message to the second device to push the changed first resource.

[0241] In some embodiments, the above-mentioned subscription request can be used to unsubscribe from the second resource. In this case, the sender of the first configuration information can send the first configuration information to the first device based on the subscription request to request the first device to terminate (or stop, cancel, etc.) the push of the second resource, that is, request the first device to terminate the push of the second resource to the second device.

[0242] In some embodiments, when other subscribing devices of the second device agent except the third device have not subscribed to the second resource (all subscribing devices of the second device agent have not subscribed to the second resource), the sender of the first configuration information can send the first configuration information to the first device to request termination of the subscription to the second resource.

[0243] In this way, when the content of the second resource changes subsequently, the first device may not send a push message to the second device, and the first device will not receive the changed content of the second resource.

[0244] For ease of understanding, several specific embodiments are provided below in conjunction with Figures 10 to 12. It should be noted that the embodiments listed below are merely illustrative and illustrate the process of this application. The technical solution of this application is not limited to the specific implementation methods of these embodiments. For any content not described in detail in the embodiments, please refer to the previous introduction.

[0245] It should also be noted that the processes described in the embodiments listed below are only exemplary introductions and are not intended to limit the order in which the actual steps are executed. The order in which the steps are executed can be flexibly adjusted according to actual circumstances. Taking Example 1 as an example, the APP can first set the first parameter of the first device (first execute step S1001), or first set the third parameter of the second device (first execute step S1003), or simultaneously set the first parameter of the first device and the third parameter of the second device (simultaneously execute step S1001 and step S1003), etc.

[0246] Example 1

[0247] In the first embodiment, the second device may be a proxy device or a client device, and the first device may be a server device. In the first embodiment, a push mechanism may be established between the first device and the second device through an APP. In some embodiments, it may also be understood that in the first embodiment, the second device and the first device may determine whether the other party supports information push through APP settings.

[0248] Figure 10 is a flow chart of an information push method provided by another embodiment of the present application. As shown in Figure 10, the method may include steps S1001 to S1010.

[0249] In step S1001 , the APP sets a first parameter on the first device.

[0250] In some embodiments, the APP may set one or more of the following information on the first device: an identifier of the information recipient (eg, the second device), and information that the first device can push to the information recipient.

[0251] For example, the APP can simultaneously set the identifier of the information recipient and the information pushed by the first device to the information recipient. Alternatively, the APP can set the identifier of the information recipient without setting the information pushed by the first device to the information recipient. In this case, it can be understood that all information on the first device can be pushed, so the information pushed by the first device to the information recipient does not need to be set.

[0252] In some embodiments, the app can also set the information that the first device needs to push to the information recipient on the first device. In this way, the second device and the first device do not need to negotiate the information to be pushed, but can directly specify the information that the first device needs to push to the second device through the app.

[0253] As an implementation method, the first device may include a first function cluster (for example, PushConfig Cluster), which may include the identifier of the information recipient that the first device needs to push, and for different information recipients, may also include information that the first device can push to the information recipient.

[0254] In step S1002 , the APP sets the permission for the second device to access the first device.

[0255] In some embodiments, the second device may receive the push message sent by the first device only after the second device has permission to access information (resources) on the first device.

[0256] In step S1003 , the APP sets a third parameter on the second device.

[0257] In some embodiments, the APP may set one or more of the following information on the second device: an identifier of the information pusher (eg, the first device), and information that the information pusher can push to the second device.

[0258] For example, the app can simultaneously set the identifier of the information pusher and the information that the information pusher can push to the second device, so that the second device can subsequently determine the range of pushed information it can obtain. Alternatively, the app can set the identifier of the information pusher but not the information that the information pusher can push to the second device. In this case, the second device can subsequently determine whether it can obtain notification messages of a certain information by sending a request to the first device.

[0259] As an implementation method, the second device may include a first functional cluster (e.g., PushTarget Cluster), which may include an identifier of an information pusher that can push information to the second device, and / or information that the information pusher can push to the second device.

[0260] In step S1004, the second device establishes a connection with the first device.

[0261] After the APP sets the necessary information (for example, the first parameter and the third parameter mentioned above) for the second device and the first device, the second device can establish a secure connection with the first device.

[0262] In steps S1005 to S1006, the first device sends a push message to the second device, and the second device obtains information that the first device can push to the second device.

[0263] In some embodiments, if in step S1003, the APP does not set on the second device the information that the first device can push to the second device, then after the second device and the first device establish a connection, the first device can send a push message to the second device so that the second device obtains the information that the first device can push to the second device.

[0264] In some embodiments, the push message sent by the first device to the second device may include the pushed information and / or the content (value) of the pushed information.

[0265] In some embodiments, the push message sent by the first device to the second device may include a protocol version number. Each subsequent time the first device pushes a message to the second device, the version number may be incremented.

[0266] In step S1007 , the second device sends a first request to the first device.

[0267] The first request is used to set a second parameter. The second parameter is associated with the push parameter.

[0268] In some embodiments, the setting range of the second parameter is within the range of information that the first device can push to the second device.

[0269] In some embodiments, the first request may be used to set one or more contents of the second parameter, such as an identifier of the pushed information, a push period, a push threshold, etc. For example, the first request may be used to set a maximum push period, a minimum push period, a push threshold, etc.

[0270] In some embodiments, the first request may also be used to set the information to be pushed only when the content has changed, and not to be pushed when the content has not changed.

[0271] In step S1008 , the first device maintains the second parameter according to the first request.

[0272] In some embodiments, the first device may maintain the second parameter in a second functional cluster of the first device. In some embodiments, the second functional cluster of the first device may be the same as the first functional cluster of the first device, for example, both are PushConfig Clusters. In some embodiments, the second functional cluster of the first device may be different from the first functional cluster of the first device, for example, the second parameter is maintained in a functional cluster other than the PushConfig Cluster.

[0273] In steps S1009 to S1010, when the content of the information associated with the first parameter changes, the first device generates a push message and sends the push message to the second device.

[0274] In some embodiments, the push message sent by the first device to the second device may carry one or more of the following information: the value of the changed content, the version number, etc.

[0275] Example 2

[0276] In the second embodiment, the second device may be a proxy device or a client device, and the first device may be a server device. In the second embodiment, the second device may determine whether the first device supports information push by means of capability discovery.

[0277] Figure 11 is a flow chart of an information push method provided by another embodiment of the present application. As shown in Figure 11, the method may include steps S1101 to S1109.

[0278] In step S1101, the second device determines whether the first device supports information push based on capability information of the first device.

[0279] In some embodiments, the second device may determine whether the first device supports information push through capability discovery.

[0280] As an implementation, the third functional cluster of the first device may include the capability information of the first device, so that the second device can query the third functional cluster of the first device to determine whether the first device supports information push. For example, the first device's Get Valid Proxy Request command may include its push capability information, and the device receiving this information (e.g., the second device) can know that the first device supports information push.

[0281] In step S1102, the second device obtains information that the first device can push to the second device.

[0282] In some embodiments, after obtaining information that the first device supports push, the second device may actively or passively obtain information that the first device can push to the second device.

[0283] In some embodiments, while obtaining information that the first device supports push information, the second device can actively or passively obtain information that the first device can push to the second device.

[0284] In step S1103 , the second device establishes a connection with the first device.

[0285] In steps S1104 to S1105, the first device sends a push message to the second device, and the second device obtains information that the first device can push to the second device.

[0286] In some embodiments, if step S1102 does not occur, after the second device and the first device establish a connection, the first device may send a push message to the second device so that the second device obtains information that the first device can push to the second device.

[0287] In some embodiments, the push message sent by the first device to the second device may include the pushed information and / or the content (value) of the pushed information.

[0288] In some embodiments, the push message sent by the first device to the second device may include a protocol version number. Each subsequent time the first device pushes a message to the second device, the version number may be incremented.

[0289] In step S1106, the second device sends first configuration information to the first device.

[0290] The first configuration information is used to set a first parameter. The first parameter is associated with information pushed by the first device to the second device.

[0291] In some embodiments, the setting range of the first parameter is within a range of information that the first device can push to the second device.

[0292] In some embodiments, the first configuration information can be used to set one or more items of the first parameters, such as the address for information push (e.g., the identity information of the second device), the information that the first device can push to the second device (e.g., the identifier of the pushed information), the push period, the push threshold, etc. For example, the first configuration information can be used to set the maximum push period, the minimum push period, the push threshold, etc.

[0293] In some embodiments, the first configuration information can also be used to set the information to be pushed only when the content has changed, and not to be pushed when the content has not changed.

[0294] In step S1107, the first device maintains the first parameter according to the first configuration information.

[0295] In some embodiments, the first device may maintain the first parameter in a first functional cluster of the first device, such as a PushConfig Cluster.

[0296] In steps S1108 to S1109, when the content of the information associated with the first parameter changes, the first device generates a push message and sends the push message to the second device.

[0297] In some embodiments, the push message sent by the first device to the second device may carry one or more of the following information: the value of the changed content, the version number, etc.

[0298] Example 3

[0299] In the third embodiment, the second device is a proxy device, the first device is a server device, and the third device is a subscription device (eg, a client device). In some embodiments, the third embodiment can be understood as introducing the solution of the second embodiment into the proxy subscription scenario.

[0300] Figure 12 is a flow chart of an information push method according to another embodiment of the present application. The method shown in Figure 12 may include steps S1201 to S1211.

[0301] In step S1201, the third device sends a subscription request to the second device. The subscription request is used to subscribe to a first resource on the first device or unsubscribe from a second resource on the first device.

[0302] The following describes the process of using the subscription request to subscribe to the first resource in conjunction with steps S1202 to S1208.

[0303] In step S1202 , the second device determines whether the third device has permission to subscribe to the first resource.

[0304] There are many ways to implement the second device determining whether the third device has permission to subscribe to the first resource. For example, the second device can query the access control list of the first device to determine whether the third device has permission to subscribe to the first resource based on the query result.

[0305] In step S1203 , the second device determines whether the first parameter includes a parameter of the first resource.

[0306] In other words, the second device needs to determine whether it has been able to receive the push message containing the first resource before.

[0307] In step S1204, if the first parameter does not include parameters of the first resource, the second device sends first configuration information to the first device. The first configuration information is used to request the first device to push the first resource to the second device, or in other words, the first request is used to request that the first device push a push message containing the first resource to the second device when the first resource changes.

[0308] In step S1205 , the second device sends a subscription success notification to the third device.

[0309] In some embodiments, step S1205 occurs when the request in step S1204 is successful.

[0310] In steps S1206 to S1207 , when the content of the first resource changes, the first device generates a push message and sends the push message to the second device.

[0311] In some embodiments, the push message may include the content (value) of the first resource, and may also include version information of the push message.

[0312] In some embodiments, if the first resource is an event, the content of the first resource included in the push message may be event content.

[0313] In step S1208, the second device sends a push message to the third device.

[0314] The second device may send a push message to the third device based on the push message sent by the first device to the second device.

[0315] In some embodiments, the version information of the push message sent by the second device to the third device may be different from the version information of the push message sent by the first device to the second device.

[0316] In some embodiments, the version information of the push message sent by the second device to the third device may be the same as the version information of the push message sent by the first device to the second device.

[0317] The following describes the process of using the subscription request to cancel subscription to the second resource in conjunction with steps S1209 to S1211.

[0318] In step S1209 , the second device determines whether another subscribing device has subscribed to the second resource.

[0319] In some embodiments, if no other subscribing device subscribes to the second resource, the second device may send the first configuration information to the first device to cancel the subscription to the second resource. In some embodiments, if other subscribing devices subscribe to the second resource, the second device may not cancel the subscription to the second resource on the first device.

[0320] In step S1210, if no other subscribing devices have subscribed to the second resource, the second device sends a first configuration message to the first device. The first configuration message is used to request the first device to terminate push notifications for the second resource. In other words, the first request is used to request that the first device no longer push push messages containing the second resource to the second device when the second resource changes.

[0321] In step S1211, when the content of the second resource changes, the first device no longer sends a push message to the second device.

[0322] The method embodiment of the present application is described in detail above in conjunction with Figures 1 to 12. The device embodiment of the present application is described in detail below in conjunction with Figures 13 to 15. It should be understood that the description of the method embodiment corresponds to the description of the device embodiment. Therefore, for parts not described in detail, reference can be made to the above method embodiment.

[0323] FIG13 is a schematic diagram of the structure of an information push device provided in an embodiment of the present application. The information push device 1300 shown in FIG13 can be applied to any of the first devices described above. The information push device 1300 can include a first receiving module 1310 and a first sending module 1320.

[0324] The first receiving module 1310 may be configured to receive first configuration information, where the first configuration information is used to configure a first parameter, and the first parameter is used to indicate information pushed by the first device to the second device.

[0325] The first sending module 1320 may be configured to send a push message to the second device when the push information indicated by the first parameter changes.

[0326] Optionally, the first parameter includes one or more of the following: identity information of the second device; and information that the first device can push to the second device.

[0327] Optionally, the first parameter is maintained in a first functional cluster of the first device.

[0328] Optionally, the first configuration information is sent by a first client device to the first device.

[0329] Optionally, the apparatus 1300 further includes: a second receiving module, configured to receive second configuration information sent by the first client device, where the second configuration information is used to configure access rights of the second device to the first device.

[0330] Optionally, the device 1300 also includes: a third receiving module, used to receive a first request sent by the second device, the first request is used to set a second parameter, and the second parameter is used to indicate one or more of the following: the maximum period of information push, the minimum period of information push, and the threshold value associated with the information push.

[0331] Optionally, the second parameter is maintained in a second functional cluster of the first device.

[0332] Optionally, the first client device is an administrator device of the first device.

[0333] Optionally, the first configuration information is sent by the second device to the first device.

[0334] Optionally, the first parameter further includes one or more of the following: a maximum period of information push, a minimum period of information push, and a threshold associated with information push.

[0335] Optionally, the apparatus 1300 further includes: a second sending module, configured to send capability information, where the capability information is used to indicate that the first device supports information push.

[0336] Optionally, the capability information is maintained in a third functional cluster of the first device.

[0337] Optionally, the apparatus 1300 further includes: a fourth receiving module, configured to receive a second request sent by the second device, where the second request is used to obtain information that the first device can push to the second device.

[0338] Optionally, the first device is a server device, and the second device is a proxy device or a second client device.

[0339] Optionally, the second device is a proxy device, and the first configuration information is received by the first device when the second device receives a subscription request, wherein the subscription request is used to subscribe to a first resource or unsubscribe from a second resource.

[0340] Optionally, the subscription request is used to subscribe to a first resource, and the first configuration information is used to configure the first device to push the first resource to the second device, wherein the first configuration information is sent when the first parameter does not include parameters of the first resource.

[0341] Optionally, the subscription request is used to unsubscribe from the second resource, and the first configuration information is used to configure the first device to stop pushing the second resource to the second device, wherein the first configuration information is sent when none of the subscribing devices represented by the second device has subscribed to the second resource.

[0342] FIG14 is a schematic diagram of the structure of an information push device provided by another embodiment of the present application. The information push device 1400 shown in FIG14 can be applied to any of the first client devices described above. The information push device 1400 can include a first sending module 1410.

[0343] The first sending module 1410 may be configured to send first configuration information to a first device, where the first configuration information is used to configure a first parameter, and the first parameter is used to indicate information pushed by the first device to a second device.

[0344] Optionally, the first parameter includes one or more of the following: identity information of the second device; and information that the first device can push to the second device.

[0345] Optionally, the first parameter is maintained in a first functional cluster of the first device.

[0346] Optionally, the apparatus 1400 further includes: a second sending module 1420, configured to send second configuration information to the first device, where the second configuration information is used to configure access rights of the second device to the first device.

[0347] Optionally, the apparatus 1400 further includes: a third sending module, configured to send third configuration information to the second device, where the third configuration information is used to configure a third parameter, and the third parameter is used to indicate information pushed by the first device to the second device.

[0348] Optionally, the third parameter includes one or more of the following: identity information of the first device; and information that the first device can push to the second device.

[0349] Optionally, the third parameter is maintained in the first functional cluster of the second device.

[0350] Optionally, the first client device is an administrator device of the first device.

[0351] Optionally, the first device is a server device, and the second device is a proxy device or a second client device.

[0352] Optionally, the second device is a proxy device, and the first configuration information is sent by the first client device to the first device when the second device receives a subscription request, wherein the subscription request is used to subscribe to a first resource or unsubscribe from a second resource.

[0353] Optionally, the subscription request is used to subscribe to a first resource, and the first configuration information is used to configure the first device to push the first resource to the second device, wherein the first configuration information is sent when the first parameter does not include parameters of the first resource.

[0354] Optionally, the subscription request is used to unsubscribe from the second resource, and the first configuration information is used to configure the first device to stop pushing the second resource to the second device, wherein the first configuration information is sent when none of the subscribing devices represented by the second device has subscribed to the second resource.

[0355] FIG15 is a schematic diagram of the structure of an information push device provided in another embodiment of the present application. The information push device 1500 shown in FIG15 can be applied to any of the second devices described above. The information push device 1500 can include a first sending module 1510 and a receiving module 1520.

[0356] The first sending module 1510 may be configured to send first configuration information to the first device, where the first configuration information is used to configure a first parameter, and the first parameter is used to indicate information pushed by the first device to the second device.

[0357] The receiving module 1520 may be configured to receive a push message sent by the first device when the push information indicated by the first parameter changes.

[0358] Optionally, the first parameter includes one or more of the following: identity information of the second device; and information that the first device can push to the second device.

[0359] Optionally, the first parameter is maintained in a first functional cluster of the first device.

[0360] Optionally, the first parameter further includes one or more of the following: a maximum period of information push, a minimum period of information push, and a threshold associated with information push.

[0361] Optionally, the apparatus 1500 further includes: an acquisition module, configured to acquire capability information of the first device, where the capability information is used to indicate that the first device supports information push.

[0362] Optionally, the capability information is maintained in a third functional cluster of the first device.

[0363] Optionally, the apparatus 1500 further includes: a second sending module, configured to send a second request to the first device, where the second request is used to obtain information that the first device can push to the second device.

[0364] Optionally, the first device is a server device, and the second device is a proxy device or a second client device.

[0365] Optionally, the second device is a proxy device, and the first configuration information is sent by the second device when receiving a subscription request, wherein the subscription request is used to subscribe to a first resource or unsubscribe from a second resource.

[0366] Optionally, the subscription request is used to subscribe to a first resource, and the first configuration information is used to configure the first device to push the first resource to the second device, wherein the first configuration information is sent when the first parameter does not include parameters of the first resource.

[0367] Optionally, the subscription request is used to unsubscribe from the second resource, and the first configuration information is used to configure the first device to stop pushing the second resource to the second device, wherein the first configuration information is sent when none of the subscribing devices represented by the second device has subscribed to the second resource.

[0368] FIG16 is a schematic diagram of the structure of an information push device provided by another embodiment of the present application. The information push device 1600 shown in FIG16 can be applied to any of the second devices described above. The information push device 1600 can include a receiving module 1610.

[0369] The receiving module 1610 may be configured to receive third configuration information sent by the first client device, where the third configuration information is used to configure a third parameter, and the third parameter is used to indicate information pushed by the first device to the second device.

[0370] Optionally, the third parameter includes one or more of the following: identity information of the first device; and information that the first device can push to the second device.

[0371] Optionally, the third parameter is maintained in the first functional cluster of the second device.

[0372] Optionally, the first client device is an administrator device of the first device.

[0373] Optionally, the apparatus 1600 further includes: a first sending module 1620, for sending a first request to the first device, the first request being used to set a second parameter, the second parameter being used to indicate one or more of the following: a maximum period for information push, a minimum period for information push, and a threshold value associated with information push.

[0374] Optionally, the second parameter is maintained in a second functional cluster of the first device.

[0375] Optionally, the first client device is an administrator device of the first device.

[0376] Optionally, the apparatus 1600 further includes: a second sending module, configured to send a second request to the first device, where the second request is used to obtain information that the first device can push to the second device.

[0377] Optionally, the first device is a server device, and the second device is a proxy device or a second client device.

[0378] Figure 17 is a schematic block diagram of a communication device according to an embodiment of the present application. The dashed lines in Figure 17 indicate that the unit or module is optional. Device 1700 may be used to implement the method described in the above method embodiment. Device 1700 may be a chip, a terminal device, or a network device.

[0379] The device 1700 may include one or more processors 1710. The processor 1710 may support the device 1700 to implement the method described in the method embodiment above. The processor 1710 may be a general-purpose processor or a special-purpose processor. For example, the processor may be a central processing unit (CPU). Alternatively, the processor may be another general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0380] The apparatus 1700 may further include one or more memories 1720. The memories 1720 store programs that can be executed by the processor 1710, causing the processor 1710 to perform the methods described in the above method embodiments. The memories 1720 may be independent of the processor 1710 or integrated into the processor 1710.

[0381] The apparatus 1700 may further include a transceiver 1730. The processor 1710 may communicate with other devices or chips via the transceiver 1730. For example, the processor 1710 may transmit and receive data with other devices or chips via the transceiver 1730.

[0382] The present application also provides a computer-readable storage medium for storing a program. The computer-readable storage medium can be applied to a terminal or network device provided in the present application, and the program enables a computer to execute the method performed by the terminal or network device in each embodiment of the present application.

[0383] The present application also provides a computer program product. The computer program product includes a program. The computer program product can be applied to a terminal or network device provided in the present application, and the program causes a computer to execute the method performed by the terminal or network device in each embodiment of the present application.

[0384] The embodiments of the present application also provide a computer program. The computer program can be applied to the terminal or network device provided in the embodiments of the present application, and the computer program enables a computer to execute the method performed by the terminal or network device in each embodiment of the present application.

[0385] It should be understood that the terms "system" and "network" in this application can be used interchangeably. In addition, the terms used in this application are only used to explain the specific embodiments of this application and are not intended to limit this application. The terms "first", "second", "third", and "fourth" in the specification and claims of this application and the accompanying drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0386] In the embodiments of this application, the term "indication" may refer to a direct indication, an indirect indication, or an indication of an association. For example, "A indicates B" may refer to a direct indication of B, e.g., B can obtain information through A; it may refer to an indirect indication of B, e.g., A indicates C, e.g., B can obtain information through C; or it may refer to an association between A and B.

[0387] In the embodiment of the present application, "B corresponding to A" means that B is associated with A and B can be determined based on A. However, it should be understood that determining B based on A does not mean determining B based solely on A, but B can also be determined based on A and / or other information.

[0388] In the embodiments of the present application, the term "corresponding" may indicate a direct or indirect correspondence between the two, or an association relationship between the two, or a relationship between indication and indication, configuration and configuration, etc.

[0389] In the embodiments of the present application, "pre-definition" or "pre-configuration" may be implemented by pre-storing corresponding codes, tables, or other methods that can be used to indicate relevant information in a device (e.g., a terminal device and a network device). The present application does not limit the specific implementation method. For example, pre-definition may refer to information defined in a protocol.

[0390] In the embodiments of the present application, the “protocol” may refer to a standard protocol in the communications field, for example, it may include an LTE protocol, an NR protocol, and related protocols used in future communication systems, and the present application does not limit this.

[0391] In the embodiments of this application, the term "and / or" is simply a description of the association relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this document generally indicates that the related objects are in an "or" relationship.

[0392] In various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0393] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0394] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0395] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0396] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be read by a computer or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital versatile disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0397] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. An information push method, characterized in that: include: The first device receives first configuration information, where the first configuration information is used to configure a first parameter, where the first parameter is used to indicate information pushed by the first device to the second device; When the push information indicated by the first parameter changes, the first device sends a push message to the second device.

2. The method according to claim 1, characterized in that The first parameter includes one or more of the following: identity information of the second device; and The first device can push information to the second device.

3. The method according to claim 1 or 2, characterized in that: The first parameter is maintained in a first functional cluster of the first device.

4. The method according to any one of claims 1 to 3, characterized in that The first configuration information is sent by a first client device to the first device.

5. The method according to claim 4, characterized in that The method further comprises: The first device receives second configuration information sent by the first client device, where the second configuration information is used to configure access rights of the second device to the first device.

6. The method according to claim 4 or 5, characterized in that: The method further comprises: The first device receives a first request sent by the second device, where the first request is used to set a second parameter, and the second parameter is used to indicate one or more of the following: a maximum period of information push, a minimum period of information push, and a threshold value associated with information push.

7. The method according to claim 6, characterized in that The second parameter is maintained in a second functional cluster of the first device.

8. The method according to any one of claims 4 to 7, characterized in that: The first client device is an administrator device of the first device.

9. The method according to any one of claims 1 to 3, characterized in that: The first configuration information is sent by the second device to the first device.

10. The method according to claim 9, characterized in that The first parameter also includes one or more of the following: a maximum period of information push, a minimum period of information push, and a threshold value associated with information push.

11. The method according to claim 9 or 10, characterized in that: The method further comprises: The first device sends capability information, where the capability information is used to indicate that the first device supports information push.

12. The method according to claim 11, characterized in that The capability information is maintained in a third functional cluster of the first device.

13. The method according to any one of claims 1 to 12, characterized in that The method further comprises: The first device receives a second request sent by the second device, where the second request is used to obtain information that the first device can push to the second device.

14. The method according to any one of claims 1 to 13, characterized in that The first device is a server device, and the second device is a proxy device or a second client device.

15. The method according to claim 14, characterized in that The second device is a proxy device, and the first configuration information is received by the first device when the second device receives a subscription request, wherein the subscription request is used to subscribe to a first resource or unsubscribe from a second resource.

16. The method according to claim 15, characterized in that The subscription request is used to subscribe to a first resource, and the first configuration information is used to configure the first device to push the first resource to the second device, wherein the first configuration information is sent when the first parameter does not include a parameter of the first resource.

17. The method according to claim 15, characterized in that The subscription request is used to unsubscribe from the second resource, and the first configuration information is used to configure the first device to stop pushing the second resource to the second device, wherein the first configuration information is sent when none of the subscribing devices represented by the second device has subscribed to the second resource.

18. An information push method, characterized in that: include: The first client device sends first configuration information to the first device, where the first configuration information is used to configure a first parameter, and the first parameter is used to indicate information pushed by the first device to the second device.

19. The method according to claim 18, characterized in that The first parameter includes one or more of the following: Identity information of the second device; and The first device can push information to the second device.

20. The method according to claim 18 or 19, characterized in that The first parameter is maintained in a first functional cluster of the first device.

21. The method according to any one of claims 18 to 20, characterized in that The method further comprises: The first client device sends second configuration information to the first device, where the second configuration information is used to configure access rights of the second device to the first device.

22. The method according to any one of claims 18 to 21, characterized in that The method further comprises: The first client device sends third configuration information to the second device, where the third configuration information is used to configure a third parameter, and the third parameter is used to indicate information pushed by the first device to the second device.

23. The method according to claim 22, characterized in that The third parameter includes one or more of the following: Identity information of the first device; and The first device can push information to the second device.

24. The method according to claim 22 or 23, characterized in that The third parameter is maintained in the first functional cluster of the second device.

25. The method according to any one of claims 18 to 24, characterized in that The first client device is an administrator device of the first device.

26. The method according to any one of claims 18 to 25, characterized in that The first device is a server device, and the second device is a proxy device or a second client device.

27. The method according to claim 26, characterized in that The second device is a proxy device, and the first configuration information is sent by the first client device to the first device when the second device receives a subscription request, wherein the subscription request is used to subscribe to a first resource or unsubscribe from a second resource.

28. The method according to claim 27, characterized in that The subscription request is used to subscribe to a first resource, and the first configuration information is used to configure the first device to push the first resource to the second device, wherein the first configuration information is sent when the first parameter does not include a parameter of the first resource.

29. The method according to claim 27, characterized in that The subscription request is used to unsubscribe from the second resource, and the first configuration information is used to configure the first device to stop pushing the second resource to the second device, wherein the first configuration information is sent when none of the subscribing devices represented by the second device has subscribed to the second resource.

30. An information push method, characterized in that: include: The second device sends first configuration information to the first device, where the first configuration information is used to configure a first parameter, and the first parameter is used to indicate information pushed by the first device to the second device; When the push information indicated by the first parameter changes, the second device receives the push message sent by the first device.

31. The method according to claim 30, characterized in that The first parameter includes one or more of the following: Identity information of the second device; and The first device can push information to the second device.

32. The method according to claim 30 or 31, characterized in that The first parameter is maintained in a first functional cluster of the first device.

33. The method according to any one of claims 30 to 32, characterized in that The first parameter also includes one or more of the following: a maximum period of information push, a minimum period of information push, and a threshold value associated with information push.

34. The method according to any one of claims 30 to 33, characterized in that The method further comprises: The second device obtains capability information of the first device, where the capability information is used to indicate that the first device supports information push.

35. The method according to claim 34, characterized in that The capability information is maintained in a third functional cluster of the first device.

36. The method according to any one of claims 30 to 35, characterized in that The method further comprises: The second device sends a second request to the first device, where the second request is used to obtain information that the first device can push to the second device.

37. The method according to any one of claims 30 to 36, characterized in that The first device is a server device, and the second device is a proxy device or a second client device.

38. The method according to claim 37, characterized in that The second device is a proxy device, and the first configuration information is sent by the second device when receiving a subscription request, wherein the subscription request is used to subscribe to a first resource or unsubscribe from a second resource.

39. The method according to claim 38, characterized in that The subscription request is used to subscribe to a first resource, and the first configuration information is used to configure the first device to push the first resource to the second device, wherein the first configuration information is sent when the first parameter does not include a parameter of the first resource.

40. The method according to claim 38, characterized in that The subscription request is used to unsubscribe from the second resource, and the first configuration information is used to configure the first device to stop pushing the second resource to the second device, wherein the first configuration information is sent when none of the subscribing devices represented by the second device has subscribed to the second resource.

41. An information push method, characterized in that: include: The second device receives third configuration information sent by the first client device, where the third configuration information is used to configure a third parameter, and the third parameter is used to indicate information pushed by the first device to the second device.

42. The method according to claim 41, characterized in that The third parameter includes one or more of the following: Identity information of the first device; and The first device can push information to the second device.

43. The method according to claim 41 or 42, characterized in that The third parameter is maintained in the first functional cluster of the second device.

44. The method according to any one of claims 41 to 43, characterized in that The first client device is an administrator device of the first device.

45. The method according to any one of claims 41 to 44, characterized in that The method further comprises: The second device sends a first request to the first device, where the first request is used to set a second parameter, where the second parameter is used to indicate one or more of the following: a maximum period of information push, a minimum period of information push, and a threshold value associated with information push.

46. ​​The method according to claim 45, characterized in that The second parameter is maintained in a second functional cluster of the first device.

47. The method according to any one of claims 41 to 46, characterized in that The first client device is an administrator device of the first device.

48. The method according to any one of claims 41 to 47, characterized in that The method further comprises: The second device sends a second request to the first device, where the second request is used to obtain information that the first device can push to the second device.

49. The method according to any one of claims 41 to 48, characterized in that The first device is a server device, and the second device is a proxy device or a second client device.

50. An information push device, characterized in that: The device is applied to a first device, and includes: A first receiving module, configured to receive first configuration information, where the first configuration information is used to configure a first parameter, where the first parameter is used to indicate information pushed by the first device to the second device; The first sending module is used to send a push message to the second device when the push information indicated by the first parameter changes.

51. The device according to claim 50, characterized in that The first parameter includes one or more of the following: identity information of the second device; and The first device can push information to the second device.

52. The device according to claim 50 or 51, characterized in that The first parameter is maintained in a first functional cluster of the first device.

53. The device according to any one of claims 50 to 52, characterized in that The first configuration information is sent by a first client device to the first device.

54. The device according to claim 53, characterized in that The device also includes: The second receiving module is used to receive second configuration information sent by the first client device, where the second configuration information is used to configure access rights of the second device to the first device.

55. The device according to claim 53 or 54, characterized in that The device also includes: The third receiving module is used to receive a first request sent by the second device, where the first request is used to set a second parameter, and the second parameter is used to indicate one or more of the following: a maximum period of information push, a minimum period of information push, and a threshold value associated with information push.

56. The device according to claim 55, characterized in that The second parameter is maintained in a second functional cluster of the first device.

57. The device according to any one of claims 53 to 56, characterized in that The first client device is an administrator device of the first device.

58. The device according to any one of claims 50 to 52, characterized in that The first configuration information is sent by the second device to the first device.

59. The device according to claim 58, characterized in that The first parameter also includes one or more of the following: a maximum period of information push, a minimum period of information push, and a threshold value associated with information push.

60. The device according to claim 58 or 59, characterized in that The device also includes: The second sending module is used to send capability information, where the capability information is used to indicate that the first device supports information push.

61. The device according to claim 60, characterized in that The capability information is maintained in a third functional cluster of the first device.

62. The device according to any one of claims 50 to 61, characterized in that The device also includes: The fourth receiving module is used to receive a second request sent by the second device, where the second request is used to obtain information that the first device can push to the second device.

63. The device according to any one of claims 50 to 62, characterized in that The first device is a server device, and the second device is a proxy device or a second client device.

64. The device according to claim 63, characterized in that The second device is a proxy device, and the first configuration information is received by the first device when the second device receives a subscription request, wherein the subscription request is used to subscribe to a first resource or unsubscribe from a second resource.

65. The device according to claim 64, characterized in that The subscription request is used to subscribe to a first resource, and the first configuration information is used to configure the first device to push the first resource to the second device, wherein the first configuration information is sent when the first parameter does not include a parameter of the first resource.

66. The device according to claim 64, characterized in that The subscription request is used to unsubscribe from the second resource, and the first configuration information is used to configure the first device to stop pushing the second resource to the second device, wherein the first configuration information is sent when none of the subscribing devices represented by the second device has subscribed to the second resource.

67. An information push device, characterized in that: The device is applied to a first client device, and the device includes: The first sending module is used to send first configuration information to the first device, where the first configuration information is used to configure a first parameter, and the first parameter is used to indicate information pushed by the first device to the second device.

68. The device according to claim 67, characterized in that The first parameter includes one or more of the following: identity information of the second device; and The first device can push information to the second device.

69. The device according to claim 67 or 68, characterized in that The first parameter is maintained in a first functional cluster of the first device.

70. The device according to any one of claims 67 to 69, characterized in that The device also includes: The second sending module is used to send second configuration information to the first device, where the second configuration information is used to configure the access permission of the second device to the first device.

71. The device according to any one of claims 67 to 70, characterized in that The device also includes: The third sending module is used to send third configuration information to the second device, where the third configuration information is used to configure a third parameter, and the third parameter is used to indicate information pushed by the first device to the second device.

72. The device according to claim 71, characterized in that The third parameter includes one or more of the following: Identity information of the first device; and The first device can push information to the second device.

73. The device according to claim 71 or 72, characterized in that The third parameter is maintained in the first functional cluster of the second device.

74. The device according to any one of claims 67 to 73, characterized in that The first client device is an administrator device of the first device.

75. The device according to any one of claims 67 to 74, characterized in that The first device is a server device, and the second device is a proxy device or a second client device.

76. The device according to claim 75, characterized in that The second device is a proxy device, and the first configuration information is sent by the first client device to the first device when the second device receives a subscription request, wherein the subscription request is used to subscribe to a first resource or unsubscribe from a second resource.

77. The device according to claim 76, characterized in that The subscription request is used to subscribe to a first resource, and the first configuration information is used to configure the first device to push the first resource to the second device, wherein the first configuration information is sent when the first parameter does not include a parameter of the first resource.

78. The device according to claim 76, characterized in that The subscription request is used to unsubscribe from the second resource, and the first configuration information is used to configure the first device to stop pushing the second resource to the second device, wherein the first configuration information is sent when none of the subscribing devices represented by the second device has subscribed to the second resource.

79. An information push device, characterized in that: The device is applied to a second device, and includes: A first sending module, configured to send first configuration information to a first device, where the first configuration information is used to configure a first parameter, where the first parameter is used to indicate information pushed by the first device to the second device; The receiving module is used to receive the push message sent by the first device when the push information indicated by the first parameter changes.

80. The device according to claim 79, characterized in that The first parameter includes one or more of the following: Identity information of the second device; and The first device can push information to the second device.

81. The device according to claim 79 or 80, characterized in that The first parameter is maintained in a first functional cluster of the first device.

82. The device according to any one of claims 79 to 81, characterized in that The first parameter also includes one or more of the following: a maximum period of information push, a minimum period of information push, and a threshold value associated with information push.

83. The device according to any one of claims 79 to 82, characterized in that The device also includes: The acquisition module is used to acquire capability information of the first device, where the capability information is used to indicate that the first device supports information push.

84. The device according to claim 83, characterized in that The capability information is maintained in a third functional cluster of the first device.

85. The device according to any one of claims 79 to 84, characterized in that The device also includes: The second sending module is used to send a second request to the first device, where the second request is used to obtain information that the first device can push to the second device.

86. The device according to any one of claims 79 to 85, characterized in that The first device is a server device, and the second device is a proxy device or a second client device.

87. The device according to claim 86, characterized in that The second device is a proxy device, and the first configuration information is sent by the second device when receiving a subscription request, wherein the subscription request is used to subscribe to a first resource or unsubscribe from a second resource.

88. The device according to claim 87, characterized in that The subscription request is used to subscribe to a first resource, and the first configuration information is used to configure the first device to push the first resource to the second device, wherein the first configuration information is sent when the first parameter does not include a parameter of the first resource.

89. The device according to claim 87, characterized in that The subscription request is used to unsubscribe from the second resource, and the first configuration information is used to configure the first device to stop pushing the second resource to the second device, wherein the first configuration information is sent when none of the subscribing devices represented by the second device has subscribed to the second resource.

90. An information push device, characterized in that: The device is applied to a second device, and includes: The receiving module is used to receive third configuration information sent by the first client device, where the third configuration information is used to configure a third parameter, and the third parameter is used to indicate information pushed by the first device to the second device.

91. The device according to claim 90, characterized in that The third parameter includes one or more of the following: Identity information of the first device; and The first device can push information to the second device.

92. The device according to claim 90 or 91, characterized in that The third parameter is maintained in the first functional cluster of the second device.

93. The device according to any one of claims 90 to 92, characterized in that The first client device is an administrator device of the first device.

94. The device according to any one of claims 90 to 93, characterized in that The device also includes: The first sending module is used to send a first request to the first device, where the first request is used to set a second parameter, and the second parameter is used to indicate one or more of the following: a maximum period of information push, a minimum period of information push, and a threshold value associated with information push.

95. The device according to claim 94, characterized in that The second parameter is maintained in a second functional cluster of the first device.

96. The device according to any one of claims 90 to 95, characterized in that The first client device is an administrator device of the first device.

97. The device according to any one of claims 90 to 96, characterized in that The device also includes: The second sending module is used to send a second request to the first device, where the second request is used to obtain information that the first device can push to the second device.

98. The device according to any one of claims 90 to 97, characterized in that The first device is a server device, and the second device is a proxy device or a second client device.

99. A communication device, characterized in that: It comprises a memory and a processor, the memory is used to store a program, and the processor is used to call the program in the memory so that the communication device executes the method as described in any one of claims 1-49.

100. A device, characterized in that: It comprises a processor, which is used to call a program from a memory so that the device executes the method as described in any one of claims 1-49.

101. A chip, characterized in that: It comprises a processor, which is used to call a program from a memory so that a device equipped with the chip executes a method as claimed in any one of claims 1 to 49.

102. A computer-readable storage medium, characterized in that: A program is stored thereon, the program causing a computer to execute the method according to any one of claims 1 to 49.

103. A computer program product, characterized in that A program is included, which causes a computer to execute the method as claimed in any one of claims 1 to 49.

104. A computer program, characterized in that The computer program causes a computer to execute the method according to any one of claims 1 to 49.

Citation Information

Patent Citations

  • Augmented reality content acquisition method, mobile augmented reality server and mobile augmented reality client

    CN103516737A

  • Method for realizing message pushing according to dynamic configuration

    CN106383729A

  • Equipment management method and device

    CN112994918A

  • Communication apparatus, notification apparatus, relay apparatus, communication system, control method of each apparatus and program

    JP2019101976A

  • Zigbee device attribute subscription method and apparatus, and device

    WO2022087796A1