Connection establishment method and apparatus

By using public network address information to realize direct connection between client devices and server devices, the problem of high connection complexity in IoT communication is solved, the communication process between devices is simplified, and interoperability is improved.

WO2024183048A1PCT designated stage expired Publication Date: 2024-09-12GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 3 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the field of Internet of Things communications, the connection between client devices and server devices is highly complex and needs to go through the cloud platform, resulting in increased connection complexity. Especially when accessing devices from different manufacturers, a cloud-cloud interconnection solution is required. , increasing the complexity of the connection.

Method used

Through the public network address information, the direct connection between the client device and the server device is realized. The client device and/or the server device can establish a connection based on the public network address information, so that the devices can communicate directly and reduce the complexity of the connection. .

Benefits of technology

Through direct connection, the access process between the client device and the server device is simplified, the connection complexity is reduced, communication becomes simple and convenient, and the interoperability between devices is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023080444_12092024_PF_FP_ABST
    Figure CN2023080444_12092024_PF_FP_ABST
Patent Text Reader

Abstract

Provided are a connection establishment method and apparatus. The method comprises: a client device establishing a connection with a server device on the basis of public network address information, the public network address information comprising public network address information of the client device and / or public network address information of the server device.
Need to check novelty before this filing date? Find Prior Art

Description

Connection establishment method and device Technical Field

[0001] The present application relates to the field of communication technology, and more specifically, to a method and device for establishing a connection. Background Art

[0002] In the field of IoT communications, client devices and server devices can communicate based on established connections. However, currently, the connection between client devices and server devices needs to go through the cloud platform, resulting in high connection complexity.

[0003] Summary of the Invention

[0004] The present application provides a method and apparatus for establishing a connection. The following describes various aspects of the present application.

[0005] In a first aspect, a method for establishing a connection is provided, comprising: a client device establishing a connection with a server device based on public network address information, wherein the public network address information includes the public network address information of the client device and / or the public network address information of the server device.

[0006] In a second aspect, a method for establishing a connection is provided, comprising: configuring a device to send public network address information of a server device to a client device, wherein the public network address information of the server device is used to establish a connection between the client device and the server device.

[0007] In a third aspect, a method for establishing a connection is provided, comprising: a public network server device sends public network address information of a server device, and the public network address information of the server device is used to establish a connection between the client device and the server device.

[0008] In a fourth aspect, a method for establishing a connection is provided, comprising: a server device establishing a connection with a client device based on public network address information, wherein the public network address information includes the public network address information of the client device and / or the public network address information of the server device.

[0009] In a fifth aspect, a client device is provided, comprising a memory and a processor, wherein the memory is used to store a program, and the processor is used to call the program in the memory to execute the method described in the first aspect.

[0010] In a sixth aspect, a configuration device is provided, comprising a memory and a processor, wherein the memory is used to store a program, and the processor is used to call the program in the memory to execute the method described in the second aspect.

[0011] In a seventh aspect, a public network server device is provided, comprising a memory and a processor, wherein the memory is used to store programs, and the processor is used to call the programs in the memory to execute the method described in the third aspect.

[0012] In an eighth aspect, a server device is provided, comprising a memory and a processor, wherein the memory is used to store programs, and the processor is used to call the programs in the memory to execute the method described in the fourth aspect.

[0013] In a ninth aspect, a device is provided, comprising a processor for calling a program from a memory to execute the method described in any one of the first to fourth aspects.

[0014] In a tenth aspect, a chip is provided, comprising a processor for calling a program from a memory so that a device equipped with the chip executes the method described in any one of the first to fourth aspects.

[0015] In an eleventh aspect, a computer-readable storage medium is provided, on which a program is stored, wherein the program enables a computer to execute the method described in any one of the first to fourth aspects.

[0016] In a twelfth aspect, a computer program product is provided, comprising a program, wherein the program enables a computer to execute the method described in any one of the first to fourth aspects.

[0017] In a thirteenth aspect, a computer program is provided, wherein the computer program enables a computer to execute the method described in any one of the first to fourth aspects.

[0018] The present application establishes a connection between a client device and a server device through the public network address information of the client device and / or the public network address information of the server device, so that the client device and the server device can be directly connected, thereby reducing the complexity of the connection. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] FIG1 is a wireless communication system 100 used in an embodiment of the present application.

[0020] FIG2 is a schematic diagram of a process for configuring a network for a server device.

[0021] FIG3 is a model structure of an Internet of Things device to which embodiments of the present application can be applied.

[0022] FIG4 is a schematic diagram of a process for performing key exchange based on the sigma protocol according to an embodiment of the present application.

[0023] FIG5 is a schematic flowchart of a method for establishing a connection provided in an embodiment of the present application.

[0024] FIG6 is a schematic flowchart of another connection establishment method provided in an embodiment of the present application.

[0025] FIG7 is a schematic flowchart of another connection establishment method provided in an embodiment of the present application.

[0026] FIG8 is a flow chart of a configuration device obtaining a public network IP address of a public network server device according to an embodiment of the present application.

[0027] FIG9 is a flow chart showing a process in which a client device obtains a public network IP address of a public network server device from a configuration device according to an embodiment of the present application.

[0028] FIG10 is a process of allocating a public network IP address to a server device by a public network server device according to an embodiment of the present application.

[0029] FIG11 is a schematic diagram of a process for establishing a connection between a client device and a server device provided in an embodiment of the present application.

[0030] FIG12 is a flow chart showing another configuration device according to an embodiment of the present application, which obtains the public IP address of a server device from a public network server device.

[0031] FIG13 is a schematic diagram of a process for establishing a connection between another client device and a server device provided in an embodiment of the present application.

[0032] FIG14 is a schematic block diagram of a client device provided in an embodiment of the present application.

[0033] FIG15 is a schematic block diagram of a configuration device provided in an embodiment of the present application.

[0034] Figure 16 is a schematic block diagram of a public network server device provided in an embodiment of the present application.

[0035] Figure 17 is a schematic block diagram of a server device provided in an embodiment of the present application.

[0036] FIG18 is a schematic diagram of the structure of the device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0037] The technical solution of the present application will be described below with reference to the accompanying drawings. For ease of understanding, the following first introduces the system architecture applicable to the embodiment of the present application with reference to FIG1 .

[0038] FIG1 is a schematic diagram of a system architecture applicable to an embodiment of the present application. The system 100 shown in FIG1 may include a client device 110 , a configuration device (mediator) 120 , a cloud platform 130 , and a server device 140 .

[0039] The client device 110 may be a device capable of communicating with the cloud platform 130. In some implementations, the client device 110 may be provided with a client, which may be used to communicate with the cloud platform 130 and, through the cloud platform 130, communicate with the server device 140. For example, a user may access the cloud platform 130 through the client, and access the server device 140 through the cloud platform 130. For another example, a user may access the cloud platform 130 through the client, and control the server device 140 through the cloud platform 130. In some embodiments, the client device 110 may also be referred to as a client.

[0040] In some embodiments, the client may be an application (APP) or a mini-program.

[0041] The server device 140 may be a device capable of communicating with the cloud platform 130. In some implementations, the server device 140 may provide service functions for users, and therefore, the server device 140 may also be referred to as a server or a service device.

[0042] Configuration device 120 is used to configure client device 110 and / or server device 140. For example, configuration device 120 can configure client device 110 and / or server device 140 to communicate with cloud platform 130. For another example, configuration device 120 can configure a client in client device 110 so that the client can communicate with cloud platform 130.

[0043] In some implementations, the configuration device 120 may be an application (APP) or a mini-program, etc. In other implementations, the configuration device 120 may be installed on a terminal device, wherein the terminal device may be a mobile phone, a tablet computer (Pad), a laptop computer, a PDA, a mobile internet device (MID), a wearable device, a virtual reality (VR) device, an augmented reality (AR) device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, etc. The embodiments of the present application are not limited to this.

[0044] Cloud platform 130, also known as a cloud computing platform or "cloud," can be understood as a service that provides network communication capabilities based on hardware and software resources. Therefore, in the embodiment of the present application, the client device 110 can access or control the server device 140 through cloud platform 130.

[0045] In some implementations, the cloud platform 130 may be built based on one or more cloud servers to provide network functions.

[0046] It should be noted that the cloud platform 130 may also be other systems or devices that can provide network functions, such as a cluster system that can provide network functions, etc. This embodiment of the present application does not limit this.

[0047] In addition, the configuration device 120 may be an APP or mini-program that matches the client. Of course, the configuration device 230 may be an APP or mini-program that is different from the client. This embodiment of the present application does not limit this.

[0048] In some scenarios, the system 100 may be, for example, an Internet of Things (IoT) system. The IoT, which stands for "the Internet of Everything," can be understood as a network that extends and expands upon the Internet. Various information sensing devices (such as radio frequency identification and global positioning systems) can be used to connect any object to the Internet, forming a massive network for information exchange and communication, thereby enabling interconnection and interoperability between all things.

[0049] In some embodiments, the client device 110 and / or the server device 140 may be an Internet of Things (IoT) device. The client device 110 and / or the server device 140 may refer to an IoT device that supports any IoT protocol, such as an IoT device that supports the Matter standard protocol. Exemplarily, IoT devices may include vehicle devices, vehicle-mounted terminals, smart home devices, smart monitoring devices, and the like. Smart home devices may include, for example, smart air conditioners, smart refrigerators, washing machines, rice cookers, sweeping robots, and the like. Smart monitoring devices may include, for example, surveillance cameras, temperature sensors, sound sensors, and the like.

[0050] In other embodiments, the cloud platform may be an IoT cloud platform, referred to as "IoT cloud", which is used to provide communication service functions for IoT devices in an IoT system.

[0051] For ease of understanding, the system 100 is introduced using IoT devices as an example. Assume that the client device 110 is a vehicle-mounted terminal, the server device 140 is a smart home device, and the configuration device 120 can be a terminal device. Continuing to refer to Figure 1, the terminal device 120 can configure the client in the vehicle-mounted terminal 110 so that the client can communicate with the cloud platform 130. After the client is successfully configured, the user can access and / or control the smart home devices on the cloud platform (or the smart home devices connected to the cloud platform) through the client. A client that can access and / or control smart home devices can also be called a "smart home client."

[0052] For example, assuming the server device is a smart air conditioner, and the smart air conditioner is located on a cloud platform, the client can use the cloud platform to control the smart air conditioner's power on and off, as well as set the temperature and wind speed. If the server device is a robot vacuum, the client can use the cloud platform to control the robot vacuum to start or stop, control its operating mode, and so on.

[0053] The following describes the process of configuring the network for the server device in conjunction with FIG2 .

[0054] The configuration device shown in Figure 2 can have its own ecological network (fabric). An ecological network can also be called an ecosystem. An ecological network can be a network domain in which all devices or nodes can communicate securely. For example, Company A develops an app and builds its ecosystem based on the app, allowing all devices connected to the ecosystem to communicate securely.

[0055] 2 , in step S210 , the configuration device may establish a connection with a public network server device. In some implementations, the public network server device may allocate an IP address to the configuration device.

[0056] In step S220, the configuration device may configure the server device into its own ecological network and configure the server device to access the network. In some implementations, the configuration device may send authentication information to the server device that allows it to connect to the public network server device.

[0057] In step S230, the server device establishes a connection with the public network server device. For example, the server device may establish a connection with the public network server device based on the authentication information sent by the configuration device. In some embodiments, the public network server device may assign an IP address to the server device.

[0058] In step S240, the configuration device establishes a connection with the server device based on the IP address. In some implementations, the configuration device may also establish a local secure session channel with the server device.

[0059] The public network server device may also be referred to as a public network server, an access point, or an access point device. The public network server device may be, for example, a gateway, a router, an access point, or the like.

[0060] At present, different manufacturers may use different communication protocols (also known as ecological chain protocols) to achieve interoperability between IoT devices that support the communication protocols. This may result in the inability of IoT devices produced by different manufacturers to communicate with each other, and the failure to achieve true interconnection of all things.

[0061] Based on this, the Connectivity Standards Alliance (CSA) has launched an IoT application layer technology standard - the Matter standard protocol, which can provide an interoperable application layer solution for smart home devices based on the Internet Protocol (IP). In some embodiments, the Matter standard can also be called the connected home over IP (CHIP) standard. In some embodiments, the Matter standard can support three underlying communication protocols: Ethernet, Wi-Fi, and Thread, and can enable IoT devices with different protocols to communicate with each other.

[0062] Accordingly, if the client described above supports the Matter protocol, it can be called a "Matter client." If the server device described above supports the Matter protocol, it can be called a "Matter server." Client devices and / or server devices that support the Matter protocol can also be called "Matter devices."

[0063] The following uses the Matter protocol as an example to introduce the terms involved in the embodiments of this application and the solutions of the embodiments of this application. Of course, the solutions of the embodiments of this application can also be applied to other Internet of Things protocols.

[0064] Model of the Matter device

[0065] 3 is a data model structure of a Matter device applicable to an embodiment of the present application. The data model structure 200 of the Matter device includes a node 310, an endpoint 320, and a function cluster 330.

[0066] A node 310 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, a node 310 can be the highest or outermost first-order element in a data model. In other words, a node 310 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.

[0067] It should be noted that a physical entity (e.g., a Matter device) can support multiple nodes 310. In addition, a node can have multiple node IDs, and the scope of each node ID is a specific network (fabric). For example, when the node ID is used as the target address of an interaction, the network that specifies the node ID scope is the access network for the interaction. A node can include one or more endpoints 320. An endpoint 320 is an instance, which can be a service instance or a virtual device, indicated by the device type. Each endpoint 320 conforms to one or more device type definitions, which define the clusters supported on the endpoint. A cluster is an object class instantiated on an endpoint.

[0068] It should be noted that in this architecture model, the device type can be the highest semantic element. The device type defines the consistency of a set of endpoints 320. The device type defines a set of requirements for a node 310 or an endpoint 320.

[0069] 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.

[0070] Each endpoint 320 may be a collection of a type of functionality, which may include one or more functional clusters 330 .

[0071] Function cluster 330 is a functional building block element of the data model, or in other words, function cluster 330 belongs to the element of building 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 330 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 330 can be regarded as an interface, service or object class, which is the lowest independent functional element in the data model.

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

[0073] 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.

[0074] 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.

[0075] 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.

[0076] Typically, each functional cluster 330 can be defined by a functional cluster specification, which defines the elements of the functional cluster 330, including 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 330, and corresponding functions can be provided through these three interface units.

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

[0078] The following is a brief introduction to the main elements of the function cluster, such as commands, properties, and events.

[0079] 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, constraint, other qualities, access, default (value) and consistency. 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.

[0080] 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, each data type is passed between the client and server functional cluster instances to invoke the behavior of the command receiver. 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 consistency (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.

[0081] 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 an event record stream. 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 passed to the observer), events allow each individual edge or change to be captured and reliably passed to the observer. This is critical for safety and security applications that rely on correct behavior guarantees. 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 consistency.

[0082] 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.

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

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

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

[0086] 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.

[0087] 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.

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

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

[0090] 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 consistency specified for a data field is optional and can change over time. Default values ​​can be defined to fulfill dependencies when the actual data field value does not exist.

[0091] 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.

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

[0093] 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.

[0094] 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.

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

[0096] The Matter protocol is introduced above. The Sigma protocol involved in this application is introduced below.

[0097] Sigma Protocol

[0098] On the one hand, the sigma protocol can be understood as an efficient interactive zero-knowledge proof protocol that allows the prover to prove to the verifier that he knows the secret without showing the secret to the verifier.

[0099] On the other hand, the sigma protocol can be understood as a key exchange protocol that can further ensure the security of key exchange by using digital signatures for authentication.

[0100] In some embodiments, the participants in the sigma protocol may include the configuration end (initiator) of the initiation process and the receiving end (responder) of the response process. The initiator and responder can exchange keys through one or more rounds of sigma messages. Figure 4 is a schematic diagram of a process for performing key exchange based on the sigma protocol provided in an embodiment of the present application. Below, in conjunction with Figure 4, an exemplary description of the key exchange between the initiator and responder based on the sigma protocol is provided.

[0101] As shown in FIG4 , in step S410 , the initiator constructs a sigma1 message and sends the sigma1 message to the responder.

[0102] The Sigma1 message can be used to request a responder to perform key exchange or key negotiation. In some embodiments, the Sigma1 message can be a plaintext message. In some embodiments, the Sigma1 message can be a ciphertext message.

[0103] In step S420, the responder generates a shared key based on the sigma1 message sent by the initiator, and sends the constructed sigma2 message to the initiator.

[0104] In some embodiments, before generating the shared key, the responder may verify the sigma1 message sent by the initiator, and execute step S420 after the verification is passed.

[0105] In step S430, the initiator generates a shared key based on the sigma2 message sent by the responder, and sends the constructed sigma3 message to the responder.

[0106] In some embodiments, before generating the shared key, the initiator may verify the sigma2 message sent by the responder, and execute step S430 after the verification is passed.

[0107] In step S440, the responder verifies the sigma3 message, and returns a sigma verification completion message to the initiator after the verification passes.

[0108] In real life, the following scenarios may exist. Scenario 1: A user may own two houses, House A and House B, and wish to access devices in House A using devices in House B. Scenario 2: A user owns a car, and after leaving home, wishes to access devices at home from the car. In Scenario 1, the devices in House A can be considered client devices, and the devices in House B can be considered server devices. In Scenario 2, the car can be considered the client device, and the devices at home can be considered the server devices. Currently, client devices access server devices through a cloud platform. This is explained below with reference to Figure 1.

[0109] Continuing with Figure 1 , when client device 110 accesses server device 140, it must go through cloud platform 130 to achieve access to server device 140. For example, client device 110 must first send instructions to cloud platform 130, which then sends the instructions to server device 140. This approach presents the problem of high connection complexity. This is especially true when the client device and server device belong to different manufacturers, further increasing the complexity of the connection. For example, if the client device and server device belong to different manufacturers, a cloud-to-cloud interconnection solution is needed to enable client device access to the server device. For example, assuming the client device belongs to manufacturer A, the cloud platform corresponding to manufacturer A is called cloud platform A, and the server device belongs to manufacturer B, the cloud platform corresponding to manufacturer B is called cloud platform B. When the client device accesses the server device, it must go through both cloud platform A and cloud platform B to achieve access to the server device.

[0110] Based on this, the embodiment of the present application provides a method and device for establishing a connection, which can establish a connection between a client device and a server device through public network address information, so that the client device and the server device can be directly connected, thereby reducing the complexity of connection and access, making connection and access simple and convenient.

[0111] The solution of the embodiment of the present application is described in detail below with reference to FIG5 .

[0112] 5 , in step S510 , the client device establishes a connection with the server device based on public network address information.

[0113] In some embodiments, the client device and / or server device may be an IoT device. The client device and / or server device may refer to an IoT device that supports any IoT protocol, such as an IoT device that supports the Matter standard protocol. For example, IoT devices may include vehicle devices, vehicle-mounted terminals, smart home devices, smart monitoring devices, and the like. Smart home devices may include, for example, smart air conditioners, smart refrigerators, washing machines, rice cookers, and robot vacuums. Smart monitoring devices may include, for example, surveillance cameras, temperature sensors, and sound sensors.

[0114] The client device and the server device can be devices from the same manufacturer or devices from different manufacturers, and this embodiment of the present application does not specifically limit this.

[0115] In some embodiments, the client device may be referred to as an away-from-home device, and the server device may be referred to as a home device.

[0116] In some embodiments, the client device may be a vehicle device, or the client device may be a central control device located in a different area from the server device.

[0117] Public network address information is unique, allowing one device to uniquely address another device through the public network address information of the other device. Public network address information may include public network IP address information and / or port number. The public network IP address can be an IPv4 address (or public network IPv4 address) or an IPv6 address (or public network IPv6 address). Because the number of IP addresses in the IPv6 protocol is greater than the number of IP addresses in the IPv4 protocol, the use of IPv6 addresses can provide more possibilities for establishing connections between client devices and server devices.

[0118] In some embodiments, the public network address information may include the public network address information of the server device and / or the public network address information of the client device. For example, the client device may establish a connection with the server device based on the public network address information of the server device. For another example, the client device may establish a connection with the server device based on the public network address information of the client device and the public network address information of the server device. For another example, the client device may establish a connection with the server device based on the public network address information of the client device and the public network address information of the server device. For another example, the server device may establish a connection with the client device based on the public network address information of the client device. For another example, the server device may establish a connection with the client device based on the public network address information of the client device. For another example, the server device may establish a connection with the client device based on the public network address information of the client device and the public network address information of the server device.

[0119] The public network address information of the client device and the public network address information of the server device can be of the same or different types. For example, the public network address information of the client device can be an IPv4 address, and the public network address information of the server device can be an IPv6 address. In another example, the public network address information of the client device can be an IPv6 address, and the public network address information of the server device can be an IPv4 address. In another example, the public network address information of the client device and the public network address information of the server device can both be IPv4 addresses. In another example, the public network address information of the client device and the public network address information of the server device can both be IPv6 addresses.

[0120] In some embodiments, the public network address information of the client device may be configured by an operator, or may also be configured by a public network server device.

[0121] In some embodiments, the public network address information of the server device may be configured by an operator, or may also be configured by a public network server device.

[0122] The public network server device can be a device with the ability to allocate public network addresses. In some embodiments, the operator can configure an address range for the public network server device, and the public network server device can configure public network addresses for other devices within this address range. In some embodiments, the public network server can configure public network addresses for devices connected to it.

[0123] In some embodiments, the public network address configured by the public network server device for the device can be a static address or a dynamic address. Taking the dynamic address as an example, the public network server device can update the public network address configured for the device at regular intervals.

[0124] In some embodiments, the public network address information of the server device can be generated based on the public network address of the public network server device. For example, the public network address of the server can be generated based on the IP address of the public network server device. The public network server device can add port number information to its own IP address to generate the public network address of the server.

[0125] In some embodiments, the public network server device may include one or more of the following: a gateway, a router, an access point, etc. In some embodiments, the public network server device may also be referred to as an access point or an access point device.

[0126] In some embodiments, the public network server device may have a network address translation (NAT) function, thereby converting a private IP address into a public IP address. In some embodiments, the public network server device may have a network address port translation (NAPT) function, thereby converting an IP address and a port number into a public IP address. In some embodiments, the public network server device may have a network address translation protocol translation (NAT-PT) function, thereby converting an IPv4 address into an IPv6 address.

[0127] The connection established between the client device and the server device can be a remote connection. As described in Scenario 1 and Scenario 2 above, the server device and the client device can be located in different local area networks. Through the solution of the embodiment of the present application, remote control of the server device by the client device can be achieved.

[0128] The following describes the solution of the embodiment of the present application by taking the example of the public network address information of the server device being configured by the public network server device.

[0129] In some embodiments, the public network server device can configure a public network address for the server device. After configuring the public network address for the server device, the public network server device can send the public network address information of the server device. As shown in Figure 6, in step S610, the public network server device can send the public network address information of the server device. For example, the public network server device can send the public network address information of the server device to the client device. In another example, the public network server device can send the public network address information of the server device to the configuration device.

[0130] In some embodiments, before establishing a connection with a server device, the client device may first obtain the public network address information of the server device.

[0131] In some embodiments, a client device can obtain the public network address information of a server device in a variety of ways. For example, the client device can obtain the public network address information of the server device from a public network server device. Another example is that the client device can obtain the public network address information of the server device from a configuration device. If the client device obtains the public network address information of the server device from the configuration device, the configuration device can first obtain the public network address information of the server device from the public network server device. The following describes these two scenarios separately.

[0132] Next, we will introduce the relevant solutions for the client device to obtain the public network address information of the server device from the public network server device.

[0133] In some embodiments, before the client device obtains the public network address information of the server device from the public network server device, the client device may establish a connection with the public network server device. For example, the client device may establish a connection with the public network server device based on the public network address information of the public network server device.

[0134] There are various ways for a client device to obtain the public network address information of a public network server device. For example, the client device can obtain the public network address information of the public network server device from a configuration device. In another example, the client device can obtain the public network address information of the public network server device from a cloud platform.

[0135] In some embodiments, if the client device obtains the public network address information of the public network server device from the configuration device, the configuration device may first establish a connection with the client device and then send the public network address information of the public network server device to the client device.

[0136] In some embodiments, the configuration device may have its own ecological network. In order to improve the security of communication, the configuration device may configure the client device into its own ecological network, that is, the client device is in the ecological network of the configuration device. The configuration device can communicate securely with the client device through the ecological network. For example, the configuration device can send the public network address information of the public network server device to the client device through the ecological network.

[0137] In some embodiments, the public network address information of the server device obtained by the client device from the public network server device can be static address information or dynamic address information. When the public network server device allocates public network address information to the server device, it can allocate static address information or dynamic address information.

[0138] In some embodiments, the configuration device can configure the public network server device into its own ecological network. That is, the public network server device is located in the configuration device's ecological network, and the configuration device can securely communicate with the public network server device through the ecological network. For example, the configuration device can obtain the public network address information of the public network server device from the public network server device through the ecological network.

[0139] In some embodiments, the client device and the public network server device can both be located in the configuration device's ecosystem network, and the client device and the public network server device can communicate securely within the ecosystem network. For example, the public network server device can send the server device's public network address information to the client device via the ecosystem network. In some implementations, the configuration device can have multiple ecosystem networks, and the client device and the public network server device can be located in the same ecosystem network of the configuration device.

[0140] In some embodiments, the public network server device may store public network address information of one or more server devices. When the public network server device sends the public network address information of the server device to the client device, it may send the public network address information of some of the server devices stored on the public network server device, or it may send the public network address information of all the server devices stored on the public network server device.

[0141] In some embodiments, the public network server device can proactively send the public network address information of the server device to the client device, or the client device can first send a request message to the public network server device. After receiving the request message, the public network server device sends the public network address information of the server device to the configuration device. When the client device sends a request message to the public network server device, it can also instruct the public network server device which server device's public network address information to request. For example, the client device can instruct the public network server device to request the public network address information of a first device. The public network server device can then send the public network address information of the first device to the client device based on the client device's request.

[0142] The following describes a method for a client device to obtain the public network address information of a server device from a configuration device.

[0143] 7 , in step S710 , the configuration device sends the public network address information of the server device to the client device.

[0144] In some embodiments, the configuration device may first obtain the public network address information of the server device from the public network server device, and then send the public network address information of the server device to the client device. In some embodiments, the configuration device may also obtain the public network address information of the server device from other devices (such as operators).

[0145] In some embodiments, the configuration device may first configure the public network server device to establish a connection with the public network server device. After establishing the connection with the public network server device, the configuration device may obtain the public network address information of the server device from the public network server device. In some embodiments, the public network server device may proactively send the public network address information of the server device to the configuration device, or the configuration device may first send a request message to the public network server device. Upon receiving the request message, the public network server device sends the public network address information of the server device to the configuration device.

[0146] To ensure communication security, the configuration device can configure the public network server device to its own ecological network and communicate with the public network server device through the ecological network. For example, the public network server device can send the public network address information of the server device to the configuration device through the ecological network.

[0147] Similarly, to ensure communication security, the configuration device can configure the client device to its own ecological network and communicate with the client device through the ecological network. For example, the configuration device can send the public network address information of the server device to the client device through the ecological network.

[0148] In some embodiments, the public network server device may store public network address information of one or more server devices. When the configuration device obtains the public network address information of the server device from the public network server device, it may obtain the public network address information of some of the server devices stored on the public network server device, or it may obtain the public network address information of all the server devices stored on the public network server device.

[0149] In some embodiments, the configuration device may send the public network address information of one or more server devices to the client device. For example, the configuration device may send the acquired public network address information of some server devices to the client device. For another example, the configuration device may send the acquired public network address information of all server devices to the client device.

[0150] In some embodiments, to ensure communication security, a secure connection may be established between two devices communicating with each other in the present application. The two devices communicating with each other may be a client device and a server device, or a client device and a public network server device, or a server device and a public network server device.

[0151] In some embodiments, the secure connection may include a secure connection established based on the sigma protocol. Two devices communicating with each other may perform key exchange and shared key negotiation based on the sigma protocol to establish a secure connection. For example, two devices communicating with each other may negotiate a shared key based on the sigma protocol and, based on the shared key, establish an operating channel (or interoperability channel) to conduct secure communication through the operating channel.

[0152] In some embodiments, as described above, the sigma protocol is a key exchange and shared key negotiation based on the operation certificate. The two devices in this application can perform key exchange and shared key negotiation based on the operation certificate.

[0153] The operation certificate can be sent by the configuration device to another device. For example, the configuration device can send the operation certificate corresponding to the client device to the client device. For another example, the configuration device can send the operation certificate corresponding to the server device to the server device. For another example, the configuration device can send the operation certificate corresponding to the public network server device to the public network server device.

[0154] To ensure communication security, the configuration device can configure other devices into its own ecological network and send operation certificates to other devices through the ecological network. The operation certificates corresponding to different devices can be different.

[0155] In some embodiments, two communicating devices can verify the identity of their operational certificates based on the eco-network identifier and / or node identifier. If the operational certificate verification is successful, a secure connection can be established between the two devices. The eco-network identifier is used to identify the eco-network to which the device is connected, and the node identifier is the unique identity information assigned by the configuration device to the device to uniquely identify the device's access to the network. The eco-network identifier and node identifier can be assigned to the device when the configuration device establishes a connection with the device.

[0156] In some embodiments, the client device is in an ecological network of a configuration device. The configuration device can send first information specific to the client device to the client device via the ecological network, thereby ensuring the security of the first information. The first information can be used by the client device to establish a secure connection with other devices. For example, the first information can be used to establish a secure connection between the client device and a public network server device, or the first information can be used to establish a secure connection between the client device and a server device.

[0157] The first information may include one or more of the following: an operation certificate, an ecological network identifier, and a node identifier.

[0158] The Eco-network ID can be used to identify the Eco-network a device is in. If two devices have the same Eco-network ID, the two devices can communicate securely in that Eco-network. If the two devices have different Eco-network IDs, the two devices may not be able to communicate securely in the Eco-network.

[0159] The node identifier can be used as the target address for interaction. Client devices can communicate securely with other devices through the node identifier.

[0160] The operation certificate stores the device's key information. The sender and receiver can exchange keys and negotiate a shared key based on the operation certificate. For example, a client device can use the sigma key negotiation algorithm to exchange keys and negotiate a shared key with other devices. In some embodiments, the client device can establish a secure connection with other devices based on the operation certificate.

[0161] In some embodiments, the ecological network identifier and / or the node identifier may be used to verify the operation certificate. If the operation certificate is verified successfully, the client device may use the operation certificate to establish a secure connection with other devices.

[0162] In some embodiments, the public network server device is located in the configuration device's ecosystem network. The configuration device can send second information specific to the public network server device to the public network server device via the ecosystem network, thereby ensuring the security of the second information. This second information can be used by the public network server device to establish a secure connection with other devices. For example, this second information can be used to establish a secure connection between the public network server device and a client device.

[0163] The second information may include one or more of the following: an operation certificate, an ecological network identifier, and a node identifier. The relevant contents of the operation certificate, ecological network identifier, and node identifier can be found in the above description and will not be repeated here for the sake of brevity.

[0164] In some embodiments, the ecological network identifier and / or the node identifier may be used to verify the operation certificate. If the operation certificate is verified successfully, the public network server device may use the operation certificate to establish a secure connection with other devices.

[0165] In some embodiments, the server device is located in the ecological network of the configuration device. The configuration device can send third information specific to the public network server device to the public network server device via the ecological network, thereby ensuring the security of the third information. This third information can be used by the public network server device to establish a secure connection with other devices. For example, this third information can be used to establish a secure connection between the public network server device and a client device, or this third information can be used to establish a secure connection between the public network server device and the server device.

[0166] The third information may include one or more of the following: an operation certificate, an ecological network identifier, and a node identifier. The relevant contents of the operation certificate, ecological network identifier, and node identifier can be found in the above description and will not be repeated here for the sake of brevity.

[0167] In some embodiments, the ecological network identifier and / or the node identifier may be used to verify the operation certificate. If the operation certificate is verified successfully, the public network server device may use the operation certificate to establish a secure connection with other devices.

[0168] In some embodiments, the public network server device may include a first functional cluster. The first functional cluster may be a new functional cluster. The first functional cluster may include the public network address information of the server device. In some embodiments, the first functional cluster may include one or more of the following: the public network address information of the server device, the ecological network identifier of the server device, and the node identifier of the server device. For example, the first functional cluster includes the public network address information of the server device. For another example, the first functional cluster includes the public network address information of the server device and the ecological network identifier of the server device. For another example, the first functional cluster includes the public network address information of the server device and the node identifier of the server device. For another example, the first functional cluster includes the public network address information of the server device, the ecological network identifier of the server device, and the node identifier of the server device.

[0169] In some embodiments, the first functional cluster may include device list information (or node list information). The device list information may include one or more of the following information: public network address information of one or more server-side devices, ecological network identifiers of one or more server-side devices, and node identifiers of one or more server-side devices.

[0170] In some embodiments, the first functional cluster may further include one or more of the following information: public network address information of the public network server device, an ecological network identifier of the public network server device, and a node identifier of the public network server device.

[0171] By setting up the first functional cluster, other devices can securely obtain information in the first functional cluster, ensuring the security of the information in the first functional cluster. For example, the configuration device can obtain one or more of the following information from the first functional cluster: the public network address information of the server device, the ecological network identifier of the server device, and the node identifier of the server device. For another example, the configuration device can obtain one or more of the following information from the first functional cluster: the public network address information of the public network server device, the ecological network identifier of the public network server device, and the node identifier of the public network server device.

[0172] In some embodiments, when the configuration device obtains information from the first functional cluster, it may obtain all information in the first functional cluster, or it may obtain only part of the information in the first functional cluster. For example, the configuration device may obtain only the public network address information of the device. For another example, the configuration device may obtain relevant information of some server-side devices in the first functional cluster.

[0173] In some embodiments, the client device can obtain the public network address information of the server device from the first functional cluster. The client device can obtain the public network address information of all server devices in the first functional cluster, or the public network address information of some server devices in the first functional cluster.

[0174] Table 1 shows an example of the first functional cluster.

[0175] Table 1

[0176] The node list can include information about one or more server devices. NodeStruct can include one or more of the following: node ID, fabric ID, and IP address string. The node ID is the node ID of the server device, the fabric ID is the fabric ID of the server device, and the IP address string can include the public address and / or port number assigned by the public network server device to the server device.

[0177] In some embodiments, the first functional cluster may further include first indication information, which is used to indicate the type of public network address information. The types of public network address information include static public network address information and dynamic public network address information. In other words, the first indication information may be used to indicate whether the public network address information in the first functional cluster is static public network address information or dynamic public network address information.

[0178] In some embodiments, the first indication information may be used to indicate the type of public network address information of the public network server device, or may also be used to indicate the type of public network address information of the server device.

[0179] Table 2 shows another example of the first functional cluster. The difference between Table 2 and Table 1 is that the first indication information, ie, Static IP, is added.

[0180] Table 2

[0181] If Static IP is true, it means that the public IP address (such as the public IP address of the server device) is a static address; if Static IP is false, it means that the public IP address (such as the public IP address of the server device) is a dynamic address.

[0182] In some embodiments, the manner in which a client device obtains the public network address information of a server device may be adjusted based on the type of public network server indicated by the first indication information. For example, if the first indication information indicates that the public network address information of the server device is static address information, the client device may obtain the public network address information of the server device from the configuration device or the public network server device. For another example, if the first indication information indicates that the public network address information of the server device is dynamic address information, the client device may obtain the public network address information of the server device from the public network server device.

[0183] As can be seen from the foregoing description, the solution of the embodiment of the present application can not only realize the direct connection between the client device and the server device, but also ensure the security of the communication process. In addition, in the process of realizing secure communication, the existing protocol specifications can be reused, which can reduce the complexity of implementation.

[0184] For ease of understanding, the following two examples are used to describe the embodiments of the present application in detail. It should be noted that the following two examples are only for ease of understanding and are not intended to limit the embodiments of the present application.

[0185] Example 1 describes a solution in which a client device obtains the public network address information of a server device from a public network server device. Example 2 describes a solution in which a client device obtains the public network address information of a server device from a configuration device.

[0186] Example 1

[0187] FIG8 shows a process of configuring a device to obtain a public network IP address of a public network server device.

[0188] 8, in step S810, the operator allocates a public IP address to the public network server device. After unpacking, the public network server device can connect to the operator network, and the operator network can allocate a public IP address to the public network server device.

[0189] In step S820, the configuration device configures the public network server device into its ecosystem, issues an operation certificate to the public network server device, and establishes a local secure connection with the public network server device.

[0190] In step S830, the public network server device may define a new functional cluster. This functional cluster may be used to store the public network server device's public IP address information. For example, the public network server device may define a cluster named PublicIP whose attribute is a public IPv6 address. This functional cluster may be the functional cluster shown in Table 1 or the functional cluster shown in Table 2.

[0191] In step S840, after the configuration device establishes a secure connection with the public network server device, it may send a request message to the public network server device, where the request message is used to request the public network IP address of the public network server device.

[0192] In step S850, after receiving the request message sent by the configuration device, the public network server device may send the public network IP address of the public network server device to the configuration device.

[0193] In step S860, the configuration device stores the correspondence between the public network IP address of the public network server device, the Fabric ID of the public network server device, and the Node ID of the public network server device.

[0194] FIG9 shows a process of a client device acquiring a public network IP address of a public network server device from a configuration device.

[0195] 9, in step S910, the configuration device configures the client device into its own ecosystem, issues an operation certificate to the client device, and establishes a local secure connection with the client device. When configuring the client, the configuration device can use a local connection method.

[0196] In step S920, the configuration device stores the correspondence between the public network IP address of the public network server device, the Fabric ID of the public network server device, and the Node ID of the public network server device.

[0197] In step S930, the client device sends a request message to the configuration device, requesting information about the public network server device. For example, the request message may be used to request one or more of the following information: the public network server device's public IP address, the public network server device's Fabric ID, and the public network server device's Node ID.

[0198] In step S940, the configuration device sends a response message to the client device. The response message may include one or more of the following information: the public network IP address of the public network server device, the Fabric ID of the public network server device, and the Node ID of the public network server device.

[0199] In step S950, the client device establishes a connection with the public network server device according to the response message.

[0200] Figure 10 shows the process of a public network server device allocating a public network IP address to a server device. The difference between Figure 10 and Figure 2 is that Figure 10 adds a step of the public network server device allocating a public network IP address to the server device. For details not described in detail in Figure 10, please refer to the description of Figure 2.

[0201] 10 , in step S1010 , the configuration device may establish a connection with a public network server device, and the public network server device may allocate an IP address to the configuration device.

[0202] In step S1020, the configuration device may configure the server device into its own ecological network, issue an operation certificate to the server device through the ecological network, and configure the server device to join the network.

[0203] In step S1030, the server device establishes a connection with the public network server device. In some embodiments, the public network server device can allocate an IP address to the server device.

[0204] In step S1040, the public network server device may allocate a public network IP address to the server device, and store the public network IP address of the server device, the Fabric ID of the server device, and the Node ID of the server device in a related functional cluster.

[0205] In step S1050, the configuration device establishes a connection with the server device based on the IP address. In some implementations, the configuration device may also establish a local secure session channel with the server device.

[0206] FIG11 shows a process of establishing a connection between a client device and a server device.

[0207] 11 , in step S1110 , the client device may establish a connection with the public network server device based on the public network IP address of the public network server device according to the user's intention.

[0208] In step S1120, the client device and the public network server device establish a secure connection based on the operation certificate. Since both the client device and the public network server device use the same ecosystem (the ecosystem of the configuration device) to issue the operation certificate and are assigned a Fabric ID and Node ID, the client device and the public network server device can verify the identity of the operation certificate using the Fabric ID and Node ID. In addition, the client device and the public network server device can perform key exchange and shared key negotiation based on the sigma protocol to establish a secure connection.

[0209] In step S1130, the client device can send a request message to the public network server device based on the secure connection. This request message is used to request the public network IP address information of the server device. For example, the client device can obtain the nodelist attribute information in the functional cluster corresponding to the public network server device, thereby obtaining the public network IP address information of the device connected to the public network server device.

[0210] In step S1140, the public network server device sends a response message to the client device based on the request message sent by the client device. The response message includes the public network IP address of the server device.

[0211] In step S1150 , the client device establishes a connection with the server device based on the public IP address of the server device.

[0212] Because both the client and server devices use the same operational certificates issued by the same ecosystem (the ecosystem that configured the device) and are assigned Fabric IDs and Node IDs, they can verify the identity of the operational certificates using the Fabric IDs and Node IDs. Furthermore, the client and server devices can establish a secure connection by performing key exchange and shared key negotiation based on the sigma protocol.

[0213] In step S1160, after the client device establishes a connection with the server device, the client device can access the server device. For example, the client device can control the server device.

[0214] Example 2

[0215] FIG12 shows a process of configuring a device to obtain a public IP address of a server device from a public network server device.

[0216] In step S1210, the operator allocates a public IP address to the public network server device. After unpacking, the public network server device can connect to the operator network, and the operator network can allocate a public IP address to the public network server device.

[0217] In step S1220, the configuration device configures the public network server device into its ecosystem, issues an operation certificate to the public network server device, and establishes a local secure connection with the public network server device.

[0218] In step S1230, the configuration device sends a request message to the public network server device, where the request message is used to request to obtain the public network IP address list information of the server-side devices in the functional cluster.

[0219] In step S1240, the public network server device sends a response message to the configuration device, where the response message includes public network IP address information of one or more server devices. The server device may be a device connected to the public network server device.

[0220] In step S1250, the device storage service stores a correspondence between the public IP address of the server device, the Fabric ID of the server device, and the Node ID of the server device.

[0221] After obtaining the public IP address of the server device, the configuration device can send the public IP address of the server device to the client device.

[0222] FIG13 shows a process of establishing a connection between a client device and a server device.

[0223] Referring to FIG. 13 , in step S1310 , the client device establishes a connection with the server device.

[0224] Because both the client and server devices use the same operational certificates issued by the same ecosystem (the ecosystem that configured the device) and are assigned Fabric IDs and Node IDs, they can verify the identity of the operational certificates using the Fabric IDs and Node IDs. Furthermore, the client and server devices can establish a secure connection by performing key exchange and shared key negotiation based on the sigma protocol.

[0225] In step S1320, after the client device establishes a connection with the server device, the client device can access the server device. For example, the client device can control the server device.

[0226] The method embodiment of the present application is described in detail above in conjunction with Figures 1 to 13. The device embodiment of the present application is described in detail below in conjunction with Figures 14 to 18. 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.

[0227] FIG14 is a schematic block diagram of a client device provided in an embodiment of the present application. The client device 1400 shown in FIG14 can be any of the client devices described above. The client device 1400 can include an establishing unit 1410.

[0228] The establishing unit 1410 is configured to establish a connection with a server device based on public network address information, where the public network address information includes the public network address information of the client device and / or the public network address information of the server device.

[0229] In some embodiments, the public network address information of the server device is configured by a public network server device.

[0230] In some embodiments, the public network address information of the server device is generated based on the public network address of the public network server device.

[0231] In some embodiments, the client device further includes: an acquisition unit configured to acquire the public network address information of the server device from the public network server device.

[0232] In some embodiments, before the client device obtains the public network address information of the server device from the public network server device, the obtaining unit is further used to: obtain the public network address information of the public network server device from the configuration device; the establishing unit is further used to: establish a connection with the public network server device based on the public network address information of the public network server device.

[0233] In some embodiments, the client device further includes: an acquisition unit configured to acquire the public network address information of the server device from a configuration device.

[0234] In some embodiments, the public network address information of the server device is obtained by the configuration device from the public network server device.

[0235] In some embodiments, the client device is in the ecological network of the configuration device, and the client device also includes: a receiving unit, used to receive first information for the client device sent by the configuration device through the ecological network, the first information is used to establish a secure connection between the client device and the public network server device, or the first information is used to establish a secure connection between the client device and the server device; wherein the first information includes one or more of the following: an operation certificate, an ecological network identifier, and a node identifier.

[0236] In some embodiments, the public network address information of the server device is included in a first functional cluster of the public network server device.

[0237] In some embodiments, the first functional cluster further includes one or more of the following: an ecological network identifier of the server-side device, and a node identifier of the server-side device.

[0238] In some embodiments, the first functional cluster includes device list information, and the device list information includes one or more of the following information: public network address information of one or more server devices, ecological network identifiers of one or more server devices, and node identifiers of one or more server devices.

[0239] In some embodiments, the first functional cluster further includes first indication information, and the first indication information is used to indicate the type of public network address information of the server device, and the type of the public network address information includes static public network address information and dynamic public network address information.

[0240] In some embodiments, the first functional cluster further includes one or more of the following information: public network address information of the public network server device, an ecological network identifier of the public network server device, and a node identifier of the public network server device.

[0241] FIG15 is a schematic block diagram of a configuration device provided in an embodiment of the present application. The configuration device 1500 shown in FIG15 can be any of the configuration devices described above. The configuration device 1500 can include a sending unit 1510.

[0242] The sending unit 1510 is configured to send the public network address information of the server device to the client device, where the public network address information of the server device is used to establish a connection between the client device and the server device.

[0243] In some embodiments, the public network address information of the server device is configured by a public network server device.

[0244] In some embodiments, the configuration device further includes: an acquisition unit configured to acquire the public network address information of the server device from the public network server device.

[0245] In some embodiments, the public network address information of the server device is generated based on the public network address of the public network server device.

[0246] In some embodiments, the client device is in the ecological network of the configuration device, and the configuration device further includes: a sending unit, used to send first information for the client device to the client device through the ecological network, the first information is used to establish a secure connection between the client device and the server device, or the first information is used to establish a secure connection between the client device and a public network server device; wherein, the first information includes one or more of the following: an operation certificate, an ecological network identifier, and a node identifier.

[0247] In some embodiments, the public network server device is in the ecological network of the configuration device, and the configuration device further includes: a sending unit, used to send second information for the public network server device to the public network server device through the ecological network, and the second information is used to establish a secure connection between the public network server device and the client device; wherein the second information includes one or more of the following: an operation certificate, an ecological network identifier, and a node identifier.

[0248] In some embodiments, the server device is in the ecological network of the configuration device, and the configuration device further includes: a sending unit, used to send third information for the server device to the server device through the ecological network, and the third information is used to establish a secure connection between the server device and the client device; wherein, the third information includes one or more of the following: an operation certificate, an ecological network identifier, and a node identifier.

[0249] In some embodiments, the configuration device further includes: a sending unit, configured to send public network address information of a public network server device to the client device, wherein the public network address information of the public network server device is used to establish a connection between the public network server device and the client device.

[0250] In some embodiments, the public network address information of the server device is included in a first functional cluster of the public network server device.

[0251] In some embodiments, the first functional cluster further includes one or more of the following: an ecological network identifier of the server-side device, and a node identifier of the server-side device.

[0252] In some embodiments, the first functional cluster includes device list information, and the device list information includes one or more of the following information: public network address information of one or more server devices, ecological network identifiers of one or more server devices, and node identifiers of one or more server devices.

[0253] In some embodiments, the first functional cluster further includes first indication information, and the first indication information is used to indicate the type of public network address information in the server device, and the type of the public network address information includes static public network address information and dynamic public network address information.

[0254] In some embodiments, the first functional cluster further includes one or more of the following information: public network address information of the public network server device, an ecological network identifier of the public network server device, and a node identifier of the public network server device.

[0255] Figure 16 is a schematic block diagram of a public network server device provided in an embodiment of the present application. The public network server device 1600 shown in Figure 16 can be any of the public network server devices described above. The public network server device 1600 can include a sending unit 1610.

[0256] The sending unit 1610 is configured to send the public network address information of the server device, where the public network address information of the server device is used to establish a connection between the client device and the server device.

[0257] In some embodiments, the public network address information of the server device is configured by the public network server device.

[0258] In some embodiments, the public network address information of the server device is generated based on the public network address of the public network server device.

[0259] In some embodiments, the sending unit is used to send the public network address information of the server device to the client device.

[0260] In some embodiments, the sending unit is further used to: send public network address information of the public network server device to the configuration device, and the public network address information of the public network server device is used to establish a connection between the public network server device and the client device.

[0261] In some embodiments, the public network server device is in the ecological network of the configuration device, and the public network server device also includes: a receiving unit, used to receive second information for the public network server device sent by the configuration device through the ecological network, and the second information is used to establish a secure connection between the public network server device and the client device; wherein the second information includes one or more of the following: an operation certificate, an ecological network identifier, and a node identifier.

[0262] In some embodiments, the sending unit is used to send the public network address information of the server device to the configuration device.

[0263] In some embodiments, the public network address information of the server device is included in the first functional cluster of the public network server device.

[0264] In some embodiments, the first functional cluster further includes one or more of the following: an ecological network identifier of the server-side device, and a node identifier of the server-side device.

[0265] In some embodiments, the first functional cluster includes device list information, and the device list information includes one or more of the following information: public network address information of one or more server devices, ecological network identifiers of one or more server devices, and node identifiers of one or more server devices.

[0266] In some embodiments, the first functional cluster further includes first indication information, and the first indication information is used to indicate the type of public network address information in the server device, and the type of the public network address information includes static public network address information and dynamic public network address information.

[0267] In some embodiments, the first functional cluster further includes one or more of the following information: public network address information of the public network server device, an ecological network identifier of the public network server device, and a node identifier of the public network server device.

[0268] FIG17 is a schematic block diagram of a server device according to an embodiment of the present application. The server device 1700 shown in FIG17 can be any of the server devices described above. The server device 1700 can include an establishing unit 1710.

[0269] The establishing unit 1710 is configured to establish a connection with a client device based on public network address information, where the public network address information includes the public network address information of the client device and / or the public network address information of the server device.

[0270] In some embodiments, the public network address information of the server device is configured by a public network server device.

[0271] In some embodiments, the public network address information of the server device is generated based on the public network address of the public network server device.

[0272] In some embodiments, the server device is in the ecological network of the configuration device, and the server device also includes: a receiving unit, used to receive third information for the server device sent by the configuration device through the ecological network, and the third information is used to establish a secure connection between the server device and the client device; wherein the third information includes one or more of the following: an operation certificate, an ecological network identifier, and a node identifier.

[0273] In some embodiments, the public network address information of the server device is included in a first functional cluster of the public network server device.

[0274] In some embodiments, the first functional cluster further includes one or more of the following: an ecological network identifier of the server-side device, and a node identifier of the server-side device.

[0275] In some embodiments, the first functional cluster includes device list information, and the device list information includes one or more of the following information: public network address information of one or more server devices, ecological network identifiers of one or more server devices, and node identifiers of one or more server devices.

[0276] In some embodiments, the first functional cluster further includes first indication information, and the first indication information is used to indicate the type of public network address information in the server device, and the type of the public network address information includes static public network address information and dynamic public network address information.

[0277] In some embodiments, the first functional cluster further includes one or more of the following information: public network address information of the public network server device, an ecological network identifier of the public network server device, and a node identifier of the public network server device.

[0278] Figure 18 is a schematic block diagram of a communication device according to an embodiment of the present application. Dashed lines in Figure 18 indicate that the unit or module is optional. Device 1800 may be used to implement the method described in the above method embodiment. Device 1800 may be a chip, a client device, a server device, a configuration device, or a public network server device.

[0279] The device 1800 may include one or more processors 1810. The processor 1810 may support the device 1800 to implement the method described in the method embodiment above. The processor 1810 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.

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

[0281] The apparatus 1800 may further include a transceiver 1830. The processor 1810 may communicate with other devices or chips via the transceiver 1830. For example, the processor 1810 may transmit and receive data with other devices or chips via the transceiver 1830.

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

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

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

[0285] 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.

[0286] 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.

[0287] 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.

[0288] 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.

[0289] In the embodiments of the present application, "pre-definition" or "pre-configuration" can be implemented by pre-saving corresponding codes, tables, or other methods that can be used to indicate relevant information in devices (for example, including client devices, configuration devices, server devices, and public network server devices). This application does not limit the specific implementation method. For example, pre-definition can refer to what is defined in the protocol.

[0290] 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.

[0291] 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.

[0292] 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.

[0293] 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.

[0294] 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.

[0295] 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.

[0296] 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)).

[0297] 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. A method for establishing a connection, characterized in that: include: The client device establishes a connection with the server device based on the public network address information, where the public network address information includes the public network address information of the client device and / or the public network address information of the server device.

2. The method according to claim 1, characterized in that The public network address information of the server device is configured by the public network server device.

3. The method according to claim 1, characterized in that The public network address information of the server device is generated based on the public network address of the public network server device.

4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: The client device obtains the public network address information of the server device from the public network server device.

5. The method according to claim 4, characterized in that Before the client device obtains the public network address information of the server device from the public network server device, the method further includes: The client device obtains the public network address information of the public network server device from the configuration device; The client device establishes a connection with the public network server device based on the public network address information of the public network server device.

6. The method according to any one of claims 1 to 3, characterized in that The method further comprises: The client device obtains the public network address information of the server device from the configuration device.

7. The method according to claim 6, characterized in that The public network address information of the server device is obtained by the configuration device from the public network server device.

8. The method according to any one of claims 1 to 7, characterized in that The client device is in an ecological network of a configuration device, and the method further includes: The client device receives first information sent by the configuration device, where the first information is used to establish a secure connection between the client device and the public network server device, or the first information is used to establish a secure connection between the client device and the server device; The first information includes one or more of the following: an operation certificate, an ecological network identifier, and a node identifier.

9. The method according to any one of claims 1 to 8, characterized in that The public network address information of the server device is included in the first functional cluster of public network server devices.

10. The method according to claim 9, characterized in that The first functional cluster also includes one or more of the following: an ecological network identifier of the server-side device and a node identifier of the server-side device.

11. The method according to claim 9 or 10, characterized in that: The first functional cluster also includes first indication information, where the first indication information is used to indicate the type of public network address information of the server device, where the type of public network address information includes static public network address information and dynamic public network address information.

12. A method for establishing a connection, characterized in that: include: The configuration device sends the public network address information of the server device to the client device, and the public network address information of the server device is used to establish a connection between the client device and the server device.

13. The method according to claim 12, characterized in that The public network address information of the server device is configured by the public network server device.

14. The method according to claim 13, characterized in that The method further comprises: The configuration device obtains the public network address information of the server device from the public network server device.

15. The method according to claim 12, characterized in that The public network address information of the server device is generated based on the public network address of the public network server device.

16. The method according to any one of claims 12 to 15, characterized in that: The client device is in the ecological network of the configuration device, and the method further includes: The configuration device sends first information for the client device to the client device through the ecological network, where the first information is used to establish a secure connection between the client device and the server device, or the first information is used to establish a secure connection between the client device and a public network server device; The first information includes one or more of the following: an operation certificate, an ecological network identifier, and a node identifier.

17. The method according to any one of claims 12 to 16, characterized in that: The public network server device is in the ecological network of the configuration device, and the method further includes: The configuration device sends second information for the public network server device to the public network server device through the ecological network, where the second information is used to establish a secure connection between the public network server device and the client device; The second information includes one or more of the following: an operation certificate, an ecological network identifier, and a node identifier.

18. The method according to any one of claims 12 to 17, characterized in that: The server device is in the ecological network of the configuration device, and the method further includes: The configuration device sends third information for the server device to the server device through the ecological network, where the third information is used to establish a secure connection between the server device and the client device; The third information includes one or more of the following: an operation certificate, an ecological network identifier, and a node identifier.

19. The method according to any one of claims 12 to 18, characterized in that: The method further comprises: The configuration device sends public network address information of a public network server device to the client device, and the public network address information of the public network server device is used to establish a connection between the public network server device and the client device.

20. The method according to any one of claims 12 to 19, characterized in that The public network address information of the server device is included in the first functional cluster of public network server devices.

21. The method according to claim 20, characterized in that The first functional cluster also includes one or more of the following: an ecological network identifier of the server-side device and a node identifier of the server-side device.

22. The method according to claim 20 or 21, characterized in that The first functional cluster also includes first indication information, where the first indication information is used to indicate the type of public network address information in the server device, where the type of public network address information includes static public network address information and dynamic public network address information.

23. A method for establishing a connection, characterized in that: include: The public network server device sends the public network address information of the server device, and the public network address information of the server device is used to establish a connection between the client device and the server device.

24. The method according to claim 23, characterized in that The public network address information of the server device is configured by the public network server device.

25. The method according to claim 23, characterized in that The public network address information of the server device is generated based on the public network address of the public network server device.

26. The method according to any one of claims 23 to 25, characterized in that The public network server device sends the public network address information of the server device, including: The public network server device sends the public network address information of the server device to the client device.

27. The method according to claim 26, characterized in that The method further comprises: The public network server device sends the public network address information of the public network server device to the configuration device, and the public network address information of the public network server device is used to establish a connection between the public network server device and the client device.

28. The method according to claim 27, characterized in that The public network server device is in the ecological network of the configuration device, and the method further includes: The public network server device receives second information for the public network server device sent by the configuration device through the ecological network, where the second information is used to establish a secure connection between the public network server device and the client device; The second information includes one or more of the following: an operation certificate, an ecological network identifier, and a node identifier.

29. The method according to claim 23, characterized in that The public network server device sends the public network address information of the server device, including: The public network server device sends the public network address information of the server device to the configuration device.

30. The method according to any one of claims 23 to 29, characterized in that The public network address information of the server device is included in the first functional cluster of the public network server device.

31. The method according to claim 30, characterized in that The first functional cluster also includes one or more of the following: an ecological network identifier of the server-side device and a node identifier of the server-side device.

32. The method according to claim 30 or 31, characterized in that The first functional cluster also includes first indication information, where the first indication information is used to indicate the type of public network address information in the server device, where the type of public network address information includes static public network address information and dynamic public network address information.

33. A method for establishing a connection, characterized in that: include: The server device establishes a connection with the client device based on the public network address information, where the public network address information includes the public network address information of the client device and / or the public network address information of the server device.

34. The method according to claim 33, characterized in that The public network address information of the server device is configured by the public network server device.

35. The method according to claim 33, characterized in that The public network address information of the server device is generated based on the public network address of the public network server device.

36. The method according to any one of claims 33 to 35, characterized in that The server device is in an ecological network of a configuration device, and the method further includes: The server device receives third information for the server device sent by the configuration device through the ecological network, wherein the third information is used to establish a secure connection between the server device and the client device; The third information includes one or more of the following: an operation certificate, an ecological network identifier, and a node identifier.

37. The method according to any one of claims 33 to 36, characterized in that The public network address information of the server device is included in the first functional cluster of public network server devices.

38. The method according to claim 37, characterized in that The first functional cluster also includes one or more of the following: an ecological network identifier of the server-side device and a node identifier of the server-side device.

39. The method according to claim 37 or 38, characterized in that The first functional cluster also includes first indication information, where the first indication information is used to indicate the type of public network address information in the server device, where the type of public network address information includes static public network address information and dynamic public network address information.

40. A client device, characterized in that: include: An establishing unit is used to establish a connection with a server device based on public network address information, wherein the public network address information includes the public network address information of the client device and / or the public network address information of the server device.

41. The client device according to claim 40, characterized in that The public network address information of the server device is configured by the public network server device.

42. The client device according to claim 40, characterized in that The public network address information of the server device is generated based on the public network address of the public network server device.

43. The client device according to any one of claims 40-42, characterized in that The client device further comprises: The acquisition unit is used to acquire the public network address information of the server device from the public network server device.

44. The client device according to claim 43, characterized in that Before the client device obtains the public network address information of the server device from the public network server device, The acquisition unit is further used to: acquire the public network address information of the public network server device from the configuration device; The establishing unit is further used to establish a connection with the public network server device based on the public network address information of the public network server device.

45. The client device according to any one of claims 40-42, characterized in that The client device further comprises: The acquisition unit is used to acquire the public network address information of the server device from the configuration device.

46. ​​The client device according to claim 45, characterized in that The public network address information of the server device is obtained by the configuration device from the public network server device.

47. The client device according to any one of claims 40-46, characterized in that The client device is in an ecological network of a configuration device, and the client device further includes: A receiving unit, configured to receive first information for the client device sent by the configuration device through the ecological network, wherein the first information is used to establish a secure connection between the client device and the public network server device, or the first information is used to establish a secure connection between the client device and the server device; The first information includes one or more of the following: an operation certificate, an ecological network identifier, and a node identifier.

48. The client device according to any one of claims 40-47, characterized in that The public network address information of the server device is included in the first functional cluster of public network server devices.

49. The client device according to claim 48, characterized in that The first functional cluster also includes one or more of the following: an ecological network identifier of the server-side device and a node identifier of the server-side device.

50. The client device according to claim 48 or 49, characterized in that The first functional cluster also includes first indication information, where the first indication information is used to indicate the type of public network address information of the server device, where the type of public network address information includes static public network address information and dynamic public network address information.

51. A configuration device, characterized in that: include: The sending unit is used to send the public network address information of the server device to the client device, and the public network address information of the server device is used to establish a connection between the client device and the server device.

52. The configuration device according to claim 51, characterized in that The public network address information of the server device is configured by the public network server device.

53. The configuration device according to claim 52, characterized in that The configuration device also includes: The acquisition unit is used to acquire the public network address information of the server device from the public network server device.

54. The configuration device according to claim 51, characterized in that The public network address information of the server device is generated based on the public network address of the public network server device.

55. The configuration device according to any one of claims 51 to 54, characterized in that: The client device is in the ecological network of the configuration device, and the configuration device further includes: A sending unit, configured to send first information for the client device to the client device through the ecological network, wherein the first information is used to establish a secure connection between the client device and the server device, or the first information is used to establish a secure connection between the client device and a public network server device; The first information includes one or more of the following: an operation certificate, an ecological network identifier, and a node identifier.

56. The configuration device according to any one of claims 51 to 55, characterized in that: The public network server device is located in the ecological network of the configuration device, and the configuration device further includes: A sending unit, configured to send second information for the public network server device to the public network server device through the ecological network, wherein the second information is used to establish a secure connection between the public network server device and the client device; The second information includes one or more of the following: an operation certificate, an ecological network identifier, and a node identifier.

57. The configuration device according to any one of claims 51 to 56, characterized in that: The server device is located in the ecological network of the configuration device, and the configuration device further includes: A sending unit, configured to send third information for the server device to the server device through the ecological network, wherein the third information is used to establish a secure connection between the server device and the client device; The third information includes one or more of the following: an operation certificate, an ecological network identifier, and a node identifier.

58. The configuration device according to any one of claims 51 to 57, characterized in that: The configuration device also includes: The sending unit is used to send the public network address information of the public network server device to the client device, and the public network address information of the public network server device is used to establish a connection between the public network server device and the client device.

59. The configuration device according to any one of claims 51 to 58, characterized in that: The public network address information of the server device is included in the first functional cluster of public network server devices.

60. The configuration device according to claim 59, characterized in that The first functional cluster also includes one or more of the following: an ecological network identifier of the server-side device and a node identifier of the server-side device.

61. The configuration device according to claim 59 or 60, characterized in that The first functional cluster also includes first indication information, where the first indication information is used to indicate the type of public network address information in the server device, where the type of public network address information includes static public network address information and dynamic public network address information.

62. A public network server device, characterized in that: include: The sending unit is used to send the public network address information of the server device, and the public network address information of the server device is used to establish a connection between the client device and the server device.

63. The public network server device according to claim 62, characterized in that: The public network address information of the server device is configured by the public network server device.

64. The public network server device according to claim 62, characterized in that: The public network address information of the server device is generated based on the public network address of the public network server device.

65. The public network server device according to any one of claims 62-64, characterized in that: The sending unit is used for: Send the public network address information of the server device to the client device.

66. The public network server device according to claim 65, characterized in that: The sending unit is also used for: The public network address information of the public network server device is sent to the configuration device, where the public network address information of the public network server device is used to establish a connection between the public network server device and the client device.

67. The public network server device according to claim 66, characterized in that: The public network server device is located in the ecological network of the configuration device, and the public network server device further includes: A receiving unit, configured to receive second information for the public network server device sent by the configuration device through the ecological network, wherein the second information is used to establish a secure connection between the public network server device and the client device; The second information includes one or more of the following: an operation certificate, an ecological network identifier, and a node identifier.

68. The public network server device according to claim 62, characterized in that: The sending unit is used for: Send the public network address information of the server device to the configuration device.

69. The public network server device according to any one of claims 62-68, characterized in that: The public network address information of the server device is included in the first functional cluster of the public network server device.

70. The public network server device according to claim 69, characterized in that: The first functional cluster also includes one or more of the following: an ecological network identifier of the server-side device and a node identifier of the server-side device.

71. The public network server device according to claim 69 or 70, characterized in that: The first functional cluster also includes first indication information, where the first indication information is used to indicate the type of public network address information in the server device, where the type of public network address information includes static public network address information and dynamic public network address information.

72. A server device, characterized in that: include: The establishing unit is used to establish a connection with the client device based on the public network address information, wherein the public network address information includes the public network address information of the client device and / or the public network address information of the server device.

73. The server device according to claim 72, characterized in that: The public network address information of the server device is configured by the public network server device.

74. The server device according to claim 72, characterized in that: The public network address information of the server device is generated based on the public network address of the public network server device.

75. The server device according to any one of claims 72-74, characterized in that: The server device is in the ecological network of the configuration device, and the server device also includes: A receiving unit, configured to receive third information for the server device sent by the configuration device through the ecological network, wherein the third information is used to establish a secure connection between the server device and the client device; The third information includes one or more of the following: an operation certificate, an ecological network identifier, and a node identifier.

76. The server device according to any one of claims 72-75, characterized in that: The public network address information of the server device is included in the first functional cluster of public network server devices.

77. The server device according to claim 76, characterized in that: The first functional cluster also includes one or more of the following: an ecological network identifier of the server-side device and a node identifier of the server-side device.

78. The server device according to claim 76 or 77, characterized in that: The first functional cluster also includes first indication information, where the first indication information is used to indicate the type of public network address information in the server device, where the type of public network address information includes static public network address information and dynamic public network address information.

79. A client device, characterized in that The invention comprises a memory and a processor, wherein the memory is used to store a program, and the processor is used to call the program in the memory to execute the method according to any one of claims 1 to 11.

80. A configuration device, characterized in that The invention comprises a memory and a processor, wherein the memory is used to store a program, and the processor is used to call the program in the memory to execute the method according to any one of claims 12 to 22.

81. A public network server device, characterized in that: It comprises a memory and a processor, wherein the memory is used to store a program, and the processor is used to call the program in the memory to execute the method as claimed in any one of claims 23 to 32.

82. A server device, characterized in that: It comprises a memory and a processor, wherein the memory is used to store a program, and the processor is used to call the program in the memory to execute the method as described in any one of claims 33-39.

83. A device, characterized in that The invention comprises a processor for calling a program from a memory to execute a method as claimed in any one of claims 1 to 39.

84. 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 described in any one of claims 1 to 39.

85. 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 39.

86. A computer program product, characterized in that The method comprises a program which causes a computer to execute the method according to any one of claims 1 to 39.

87. A computer program, characterized in that The computer program enables a computer to execute the method according to any one of claims 1 to 39.

Citation Information

Patent Citations

  • Intelligent home control system and intelligent home control method

    CN110174848A

  • Data acquisition method and device, computer equipment and storage medium

    CN110708395A

  • Permission configuration method and apparatus in internet of things, device, and storage medium

    WO2022170583A1