WO2022222698A1 - 建立连接的方法、装置、存储介质及服务器 - Google Patents
建立连接的方法、装置、存储介质及服务器 Download PDFInfo
- Publication number
- WO2022222698A1 WO2022222698A1 PCT/CN2022/083402 CN2022083402W WO2022222698A1 WO 2022222698 A1 WO2022222698 A1 WO 2022222698A1 CN 2022083402 W CN2022083402 W CN 2022083402W WO 2022222698 A1 WO2022222698 A1 WO 2022222698A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- target
- information
- party
- connection
- content
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 86
- 238000013507 mapping Methods 0.000 claims abstract description 104
- 230000004044 response Effects 0.000 claims description 80
- 230000015654 memory Effects 0.000 claims description 22
- 230000008569 process Effects 0.000 claims description 20
- 238000012545 processing Methods 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 10
- 230000006855 networking Effects 0.000 claims description 6
- 241001465754 Metazoa Species 0.000 description 25
- 238000010586 diagram Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 241000501085 Rakaia media Species 0.000 description 3
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 2
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011022 operating instruction Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
- H04L12/2812—Exchanging configuration information on appliance services in a home automation network describing content present in a home automation network, e.g. audio video content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L2012/2847—Home automation networks characterised by the type of home appliance used
- H04L2012/2849—Audio/video appliances
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
Definitions
- the present disclosure relates to the technical field of the Internet of Things, and in particular, to a method, a device, a storage medium and a server for establishing a connection.
- the terminal APP of the requester and the terminal device of the target party are connected to the cloud, and the terminal APP establishes a connection with the terminal device of the target party through the cloud, thereby realizing the acquisition of content/information on the terminal device.
- the present disclosure provides a method, device, storage medium, and server for establishing a connection, so as to solve or alleviate the problem of quickly establishing a connection between a requester and one or more target parties to quickly obtain information required by a user.
- a method for establishing a connection which can be applied to a server, including:
- connection request includes target information specified by the requester, and the target information is used to characterize the capability of the target to which the requester wants to connect;
- the relationship mapping table includes the correspondence between at least one target party and at least one target information
- a connection is established between the requesting party and at least some of the determined target parties.
- the target information includes at least one of type information and content information
- the type information indicates the type of information that the target party can collect
- the content information indicates the content of the information that the target party can collect.
- the target information includes an information tag including at least one of a type tag established according to the type information and a content tag established according to the content information; and wherein the type information indicates that the target party can The type of information collected, and the content information indicates the content of the information that the target can collect.
- the relationship mapping table is established by the following steps, and the steps include:
- a relationship mapping table is established, so that the relationship mapping table includes the corresponding relationship between the at least one target party and the content information.
- the relationship mapping table is established by the following steps, the steps include:
- mapping table between at least one target party and at least one information tag as the relationship mapping table
- determining the target party from the relationship mapping table according to the target information specified by the requesting party includes;
- the target party is determined from a mapping table between the at least one target party and at least one information tag according to the target information specified by the requesting party.
- the establishing a mapping table between at least one target party and at least one information tag includes:
- a mapping table between the at least one target party and the determined information tag is established.
- the acquiring at least one of type information and content information of the at least one target party includes:
- the determined target party includes a terminal device, and wherein the establishing a connection between the requestor and at least some of the determined target parties includes:
- the determined target parties include a plurality of terminal devices, and wherein the establishing a connection between the requesting party and at least some of the determined target parties includes:
- the response information includes a result of each terminal device in the multiple terminal devices performing an operation according to the target information, and the The result indicates whether each terminal device performs the operation successfully;
- a connection is established between the requesting party and a terminal device whose result in the response information of the plurality of terminal devices is successful.
- the sending the reconstructed connection request to the plurality of terminal devices includes:
- the reconstructed connection requests are sent to the plurality of terminal devices simultaneously or sequentially.
- the number of the determined target parties is multiple and forms a device chain
- the device chain is a combination of target parties with a connection relationship constructed according to a network topology structure
- establishing the connection between the requesting party and at least some of the determined target parties includes:
- connection request includes the identification information of the target party at the chain head of the device chain
- the reconstructed connection request is sent to a target party at the head of the device chain to establish a connection between the requester and at least some of the determined target parties.
- the sending the reconstructed connection request to a target party at the head of the device chain to establish a relationship between the requester and at least some of the determined target parties also includes:
- first response information sent by the target party at the chain head for the reconstructed connection request where the first response message includes a result of the target party at the chain head performing an operation according to the target information, the The result indicates whether the target party at the chain head performs the operation successfully;
- the first response information is unsuccessful, obtain the second response information of the target party connected to the target party at the chain head in the device chain to the reconstructed connection request, the second response message Including the result of the target party of the connection performing the operation according to the target information, the result indicating whether the target party of the connection performs the operation successfully;
- the sending the reconstructed connection request to a target party at the head of the device chain to establish a relationship between the requester and at least some of the determined target parties also includes:
- the third response message includes the result of the target party at the chain tail performing the operation according to the target information, and the result represents the chain tail Whether the prescribed operation was successful for the target party;
- the number of the determined target parties is multiple and constitutes a plurality of device chains, and the device chain is a combination of target parties with a connection relationship constructed according to a network topology structure;
- establishing the connection between the requesting party and at least some of the determined target parties includes:
- connection request includes the identification information of the target party at the chain head of the selected device chain
- a connection is established between the requester and the target in the chain of selected devices from which the response message that resulted in success came.
- the preset rules include at least one of the following:
- a device chain with the best processing capability of the target at the chain head among the plurality of device chains is selected.
- the mapping from the at least one target party and the at least one information tag according to the target information specified by the requester include:
- establishing the connection between the requesting party and at least some of the determined target parties includes:
- Acquire response information sent by the first target party where the response information includes a result of the first target party performing an operation according to the first content tag, and the result indicates whether the first target party performs the operation successfully;
- response information sent by the second target party where the response information includes a result of the second target party performing an operation according to the second content tag, and the result indicates whether the second target party successfully performs the operation;
- a connection is established between the requesting party and the second target party that turned out to be successful.
- the target information does not include identification information of the target party.
- an apparatus for establishing a connection comprising:
- a receiver configured to receive a connection request from a requestor, wherein the connection request includes target information specified by the requestor, and the target information is used to characterize the capability of the target to which the requestor wants to connect;
- a determiner configured to determine a target party from a relationship mapping table according to the target information specified by the requesting party, the relationship mapping table including a correspondence between at least one target party and at least one target information;
- a connector configured to establish a connection between the requestor and at least some of the determined target parties.
- a computer-readable storage medium storing computer-executable instructions that, when executed by one or more processors, implement the establishment as described in the first aspect method of connection.
- a server comprising a memory and a processor, the memory having computer-executable instructions stored thereon, the computer-executable instructions being executed by the processor to achieve the implementation of the first aspect method for establishing a connection.
- the server when the target information includes one of type information and type label, includes one of a cloud server and an edge server.
- the server is included as an edge server.
- the server includes an edge server and a cloud server;
- the cloud server is configured to receive a connection request from a requester, and the connection request includes a content tag specified by the requester;
- the edge server is configured to receive connection requests received and sent by the cloud server.
- a computer program product comprising computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, perform the method for establishing a connection according to the first aspect.
- FIG. 1 is an application example of vehicle dispatching according to an embodiment of the present disclosure
- FIG. 3 is an application example of a smart community according to an embodiment of the present disclosure.
- FIG. 4 is a flowchart of a method for establishing a connection according to an embodiment of the present disclosure
- FIG. 5 is a flowchart of a method for establishing a connection in application example 1 according to an embodiment of the present disclosure
- FIG. 6 is a schematic diagram of a type label in application example 1 according to an embodiment of the present disclosure.
- FIG 7 is an application environment of application example 2 according to an embodiment of the present disclosure.
- FIG. 8 is a flowchart of a method for establishing a connection in application example 2 according to an embodiment of the present disclosure
- FIG. 9 is a schematic diagram of a type label in application example 2 according to an embodiment of the present disclosure.
- FIG. 11 is a flowchart of a method for establishing a connection in application example 3 according to an embodiment of the present disclosure
- FIG. 12 is a flowchart of a method for establishing a connection in application example 4 according to an embodiment of the present disclosure
- FIG. 13 is a schematic diagram of a content label in application example 4 according to an embodiment of the present disclosure.
- FIG. 14 is a flowchart of a method for establishing a connection in application example 5 according to an embodiment of the present disclosure
- 15 is a schematic diagram of a scenario of a smart community according to an embodiment of the present disclosure.
- 16 is a schematic diagram of a scenario of a smart industrial park according to an embodiment of the present disclosure.
- 17 is a block diagram of an apparatus for establishing a connection according to an embodiment of the present disclosure.
- Figure 18 shows a schematic structural diagram of a computer system suitable for implementing embodiments of the present disclosure.
- terminal equipment such as bayonet and electric police.
- vehicle identification information such as license plate, model, body color, etc.
- person information clothing color, pants color, etc.
- terminal equipment such as bayonet, electric police and other terminal devices obtain the data of the vehicle in real time and upload it to the cloud system (such as cloud server). After that, the identification of the terminal equipment such as the target bayonet and the target electric police is determined, and the connection with the terminal equipment such as the target bayonet and the target electric police is established.
- Figure 1 shows an application example of vehicle dispatching.
- the server compares the information of the dispatched vehicle with the vehicle reported by the camera in real time. If the comparison is successful, the camera corresponding to the successful comparison record can be obtained, and then a camera corresponding to the successful comparison record can be established. Live connection of the camera.
- the above scenario takes security protection as an example.
- the data collected by the terminal device is sent to the cloud server for storage, and the cloud server parses the data collected by the terminal device to determine the terminal device that can match the content requested by the user.
- the data collected by the terminal device is open to the cloud server, so the cloud server has the right to obtain the data collected by all security devices and conduct intelligent analysis.
- the data collected by the terminal device belongs to the user. Due to the user's privacy, the cloud platform/cloud server has no right to collect and analyze the user's data independently.
- FIG. 2 shows an application example of a smart home, where multiple cameras are installed in the home.
- the cameras belong to different companies, usually different companies provide different access interfaces such as APPs, and different APPs need to be opened to access the corresponding cameras. Then determine the target camera to be connected; (2) When the cameras belong to the same enterprise, you need to open an APP and select different cameras to view them separately.
- the above processes all require the user to perform multiple operations to realize the connection with the terminal device (ie, the camera) to view corresponding information (eg, children), resulting in poor user experience.
- FIG. 3 shows an application example of a smart community.
- IoT terminal devices such as cameras, and different cameras monitor different places.
- the burden on the user is heavy and the efficiency is very low.
- embodiments of the present disclosure provide a method, device, storage medium, and server for establishing a connection, so as to solve the problem of quickly establishing a connection between a requester and one or more target parties to quickly obtain information required by the requester .
- Figure 4 shows a flowchart of a method of establishing a connection. As shown in FIG. 4 , this embodiment provides a method for establishing a connection, which can be applied to a server, and includes steps S101 to S103 .
- Step S101 Receive a connection request from a requester, wherein the connection request includes target information specified by the requester.
- the target information is used to characterize the capability of the target party to which the requestor wants to connect.
- Step S102 Determine a target party from a relationship mapping table according to the target information specified by the requesting party, where the relationship mapping table includes a correspondence between at least one target party and at least one target information.
- the number of the determined target parties may be one or more.
- the target party may be a terminal device, an APP, or other software modules in an Internet of Things environment such as a smart home and a smart community, which is not limited in this embodiment.
- Step S103 Establish a connection between the requesting party and at least some of the determined target parties.
- the server receives the connection request including the target information from the requesting party, and determines the target party according to the target information and the relationship mapping table, and then establishes at least one of the requesting party and the determined target party.
- the connection between some target parties realizes the determination of one or more target devices through the target information carried in the connection request, and then quickly establishes the connection between the requester and one or more target parties, so as to quickly obtain the information of the requester.
- the server automatically determines the target party according to the target information carried in the request, which prevents the requester from sending requests to different target parties and makes judgments, simplifies the operation of the requester, and improves the user experience. On the other hand, this also avoids a situation where the server sends the requester's connection request to the target for processing, but some targets may not be able to respond to the requester's connection request, resulting in additional consumption by the target.
- the target information includes type information and/or content information, and the target information does not include identification information of the target party.
- Type information indicates the type of information that the target party can collect, that is, the type of information that can be sent to the server, such as pictures, videos, specific targets (such as people, vehicles, items, etc.); content information indicates the type of information that the target party can collect.
- Content such as User A, User B, Item C, etc.
- the relationship mapping table is established by the following steps, the steps include: acquiring at least one of type information and content information of the at least one target party; in response to acquiring the type information, establishing a relationship a mapping table, so that the relationship mapping table includes the corresponding relationship between the at least one target party and the type information; and in response to acquiring the content information, establishing a relationship mapping table, so that the relationship mapping table includes the at least one target The correspondence between the party and the content information.
- the relationship mapping table may be established before step S101, or may be established after step S101, which is not limitative.
- the target information includes an information label, wherein the information label includes a type label established from the type information and/or a content label established from the content information; and wherein the type information indicates the type of information that the target can collect; the content The information indicates the content of the information that the target can collect.
- the requester can select the type label or content label as the information label to determine the target party corresponding to the information label, and then establish a connection between the requester and the target party to perform operations corresponding to the information label and obtain the information collected by the target party. .
- the relationship mapping table is established by the following steps, and the step includes: establishing a mapping table between at least one target party and at least one information tag as the relationship mapping table .
- the determining the target party from the relationship mapping table according to the target information specified by the requester may include: determining the target party from the relationship between the at least one target party and the at least one information tag according to the target information specified by the requester. The target party is determined in the mapping table of .
- the establishing a mapping table between at least one target party and at least one information tag may further include:
- a mapping table between the at least one target party and the determined information tag is established.
- acquiring at least one of type information and content information of the at least one target party may include:
- the type information and/or content information can be actively acquired by the server according to the requirements, or can be directly acquired by reporting in the process of registering with the target direction server. In practical applications, during the registration process of the target direction server, its type information can be reported through the service template.
- the type information of the terminal device can be represented by the resources of the terminal device.
- the resources of a single terminal device can contain one or more module resources, and different module resources correspond to different functions, such as camera resources (r .camera) includes media resources (r.media) and object identification resources (r.object_identification).
- the structure of the camera resource (r.camera) is as follows:
- the structure of the media resource (r.media) is as follows:
- the structure of the object identification resource (r.object_identification) is as follows:
- the server can obtain the resource information of the terminal device by sending an information obtaining request, and then parse the type information of the terminal device, or obtain the resource information reported during the registration process of the terminal device, so as to obtain the type information of the terminal device.
- Application example 1 the target information includes a type label, and the application environment is the smart home environment shown in FIG. 2 .
- Fig. 5 shows a flow chart of a method for establishing a connection in this application instance, wherein the server can be a cloud server or an edge server, and the server can send an acquisition request to acquire the type information of the terminal device, or acquire the terminal device in the registration process
- the type information reported in Table 1 is as follows:
- Device Information Type information Remark camera A people, animals, objects, pictures, videos smart camera camera B people, animals, objects, pictures, videos smart camera camera C pictures, videos Ordinary camera camera D pictures, videos Ordinary camera camera E pictures, videos Ordinary camera
- cameras A and B are smart cameras, and the types of information that can be collected include people, animals, objects, pictures, and videos, while cameras C, D, and E are ordinary cameras, and the types of information that can be collected include pictures and videos. .
- the server establishes the corresponding relationship between the type information and the terminal device, that is, the first mapping table (type device mapping table), as shown in Table 2:
- terminal devices that can collect information on people, animals, and items include cameras A and B
- terminal devices that can collect pictures and video information include cameras A, B, C, D, and E.
- a type label can be established, and then a mapping table between the terminal device (ie, the target party) and the type label can be obtained.
- Figure 6 shows type tags, including tags such as Whole House Looking for People, Whole House Looking for Animals, Whole House Looking for Items, and the like.
- the server/platform receives the connection request sent by the requester, and determines the target party corresponding to the type label selected by the requester according to the first mapping table (type device mapping table).
- the determined target party in this application example may only include one terminal device, and the target information in the connection request does not include the identification information of the target party.
- the establishing the connection between the requesting party and at least some of the determined target parties may include:
- the reconstructed connection request is sent to the terminal device to establish a connection between the requester and the terminal device.
- the server/platform in this application example establishes a first mapping table (type device mapping table) according to the type information of the terminal device, and generates a type label according to the type information in the type device mapping table, and the user generates a connection request by selecting the type label according to requirements , quickly determine the target party that can be connected, quickly establish a connection and obtain the corresponding information. It can be understood that, in practical applications, it is also possible not to generate an information label, but only to establish the first mapping table.
- the user selects the type information according to the requirements, and then generates a connection request.
- the server determines the target according to the type information contained in the connection request. The connection between the requester and the target is established.
- the information label includes a type label
- the application environment is the application environment shown in FIG. 7 , wherein the target party includes various types of terminal devices (including cameras, infrared sensors, and edge gateways).
- 8 shows a flowchart of a method for establishing a connection.
- the server can send an acquisition request to acquire type information of the terminal device, or acquire the type information reported by the terminal device during the registration process, as shown in Table 3.
- cameras A, B, and C are smart cameras, and the types of information that can be collected include people, animals, objects, cars, pictures, and videos, while cameras D and E are ordinary cameras, and the types of information that can be collected include pictures And video, the type of information that infrared sensors can collect is people, and the types of information that edge gateways can collect include human trajectories, animal trajectories, and vehicle trajectories.
- the server establishes a first mapping table (equipment capability mapping table) between the type information and the terminal equipment according to the type information of the terminal equipment, as shown in Table 4:
- Type information Device Information Remark people Camera A, Camera B, Camera C, Infrared Sensor animal Camera A, Camera B, Camera C thing Camera A, Camera B, Camera C car Camera A, Camera B, Camera C picture Camera A, Camera B, Camera C, Camera D, Camera E video Camera A, Camera B, Camera C, Camera D, Camera E human trajectory edge gateway animal track edge gateway car track edge gateway
- the terminal devices that can collect animal, item, and vehicle information include cameras A, B, and C
- the terminal devices that can collect human information include cameras A, B, C, and infrared sensors.
- the terminal devices that can collect pictures and video information include Cameras A, B, C, D, E, and terminal devices that can collect information on human trajectories, animal trajectories, and vehicle trajectories include edge gateways.
- a type label can be established, and then a mapping table between the terminal device and the type label can be obtained, such as the type label shown in FIG. Labels such as animals, find items in the whole house, human tracks, animal tracks, vehicle tracks, pictures, etc.
- the construction of the type label may refer to the type information in the first mapping table.
- the type label may directly use the type information as the type label, or may combine other information to construct the type label, for example, construct the type label according to the information and type information of the knowledge graph.
- the knowledge graph can describe the relationship between type information, so the type label constructed by combining the knowledge graph and type information contains more information, and the user can select with higher accuracy, such as labels for finding people in the living room, and finding people in the kitchen.
- the server/platform receives the connection request sent by the requester, and determines the terminal device corresponding to the type label selected by the requester according to the first mapping table (type device mapping table).
- establishing a connection between the requesting party and at least some of the determined target parties includes:
- the response information includes a result of each terminal device in the multiple terminal devices performing an operation according to the target information, and the The result indicates whether each terminal device performs the operation successfully;
- sending the reconfigured connection requests to multiple terminal devices may include: sending the reconfigured connection requests to multiple terminal devices simultaneously or sequentially.
- the result of success means that the terminal device can perform the operation corresponding to the target information (including the type label in this example), so that the requester can obtain the corresponding information
- the result of failure means that the terminal device cannot execute the target.
- the server/platform in this example establishes a first mapping table (type device mapping table) according to the type information, and generates a type label.
- the requester generates a connection request by selecting the type label, and the server/platform determines the terminal device according to the type label carried in the connection request, and sends the connection request to the target party to establish a connection with the terminal device that responds successfully, thereby establishing an effective target party (
- the connection between the terminal device) and the requester avoids the establishment of a connection between the terminal device that cannot perform the operation normally and the requester, which not only effectively meets the requester's need for information acquisition, simplifies the requester's operation, but also avoids waste of the non-performing operation.
- the resources of the terminal equipment are improved, and the efficiency of the terminal equipment is improved.
- target parties eg terminal devices
- the target information includes a type label
- the application environment is the application environment shown in Figure 10, which includes a device chain (including a camera, an infrared sensor, and an edge gateway) composed of at least one terminal device, and the device chain is constructed according to the network topology structure.
- the combination of target parties with a connection relationship, the devices in the device chain can be connected through one or more network protocols, for example, the edge gateway is connected to the camera through the IP protocol, and the edge gateway and the infrared sensor are connected through the zigbee protocol.
- Figure 11 shows a flowchart of a method for establishing a connection.
- the server can send an acquisition request to acquire type information of the terminal device, or acquire the type information reported by the terminal device during the registration process.
- the type information is shown in Table 3.
- the server establishes the mapping relationship between the type information and the terminal device as shown in Table 4.
- step S103 establishing a connection between the requesting party and at least some of the determined target parties includes:
- connection request includes the identification information of the target party at the head of the device chain
- the reconstructed connection request is sent to the target party at the head of the device chain to establish a connection between the requester and at least some of the determined target parties.
- mapping relationship between type information and device chain is shown in Table 5:
- the method may further include: acquiring first response information sent by the target at the chain head for the reconstructed connection request .
- the first response message includes a result of the target party at the chain head performing the operation according to the target information, and the result indicates whether the target party at the chain head successfully performs the operation.
- the second response information of the target party connected to the target party at the chain head in the device chain to the reconstructed connection request is obtained.
- the second response message includes a result of the operation performed by the target party of the connection according to the target information, and the result indicates whether the target party of the connection performs the operation successfully.
- the second response information is successful, a connection is established between the requester and the target party in the device chain that is connected to the target party at the head of the chain.
- the method may further include: acquiring third response information sent by the target at the tail of the device chain.
- the third response message includes a result of the target at the end of the chain performing the operation according to the target information, and the result indicates whether the target at the end of the chain successfully performs the operation.
- the number of connections between the server and the target (terminal device) can be greatly reduced, because the server only needs to send the connection request to the chain head device of the device chain. If the chain head device fails to execute the connection request, the chain head device can automatically send the connection request to the next device corresponding to the chain head device. This process does not require the participation of the server, so the load of the server can be reduced. Specifically, the chain head device can send a connection request through its network protocol with the next device in the device chain, such as through IP protocol, Bluetooth protocol, and the like.
- a connection between the requester and at least some of the determined target parties is established (step S103) can include steps:
- connection request includes the identification information of the target party at the chain head of the selected device chain
- a connection is established between the requester and the target in the chain of selected devices from which the response message that resulted in success came.
- Preset rules include one or more of the following:
- Rule 1 Select the device chain with the longest length among multiple device chains; by preferentially selecting the device chain with the longest device chain length, the probability of determining the terminal device that establishes a connection with the requester can be improved.
- Rule 2 Select the device chain that adopts the preset networking mode among multiple device chains; the preset mode includes networking modes such as MESH networking and star networking.
- Rule 2 may be to select a device chain that uses the MESH network among multiple device chains. Since there is no single fault in the MESH network, on the contrary, the star network is prone to a single fault. Therefore, the MESH network can quickly and efficiently select the equipment chain that can perform the corresponding operation of the target information, and then determine Among them, the terminal device that can establish a connection with the requester can avoid additional consumption and reduce the connection efficiency.
- Rule 3 Select the device chain with the best processing capability of the target at the chain head among the multiple device chains. If the processing capability of the target party at the head of the chain is strong, the connection request can be processed faster, so that the device chain that can perform the corresponding operation of the target information can be quickly and efficiently selected, and then the terminal device that can establish a connection with the requester can be determined. Avoid generating additional consumption and reducing connection efficiency. It can be understood that, the processing capability of the terminal device may be determined according to indicators such as the model and performance parameters of the device.
- the target information includes a content tag
- the application environment is a smart home environment.
- Figure 12 shows a flowchart of a method of establishing a connection. Since the content information collected by the terminal device is involved, uploading the content information to the cloud server may lead to the leakage of private information. Therefore, when the connection between the requester and the target party is performed based on the content tag, the server includes the edge server and the cloud server. In one case: the cloud server is only responsible for receiving the connection request and forwarding it to the edge server, and the edge server determines one or more target parties according to the content tag in the connection request.
- the cloud server saves the content label, receives the connection request and selects an appropriate edge server according to the content label, the edge server establishes a mapping table and determines one or more target parties according to the target information included in the connection request.
- the edge server/platform can obtain the content information collected by the terminal device, as shown in Table 6:
- the content information that can be collected by cameras A and B includes family member A, family member B, and family member C.
- the content information that can be collected by camera C includes family member A, family member B, item A, and item B.
- Camera D The content information that can be collected includes family member A, family member B, family member C, item C, and item D.
- the content information that camera E can collect includes family member A, family member B, family member C, item E, and item F.
- the edge server/edge platform establishes the corresponding relationship between the content information and the terminal device according to the content information of the terminal device, that is, the second mapping table (content device mapping table), as shown in Table 7:
- the terminal devices that can collect information on family members A and B include cameras A, B, C, D, and E
- the terminal devices that can collect information on family members C include cameras A, B, D, and E
- the terminal devices for the information of the item D all include the camera D
- the terminal devices capable of collecting the information of the item E and the item F include the camera E.
- the edge server/edge platform can establish a content label based on the above-mentioned second mapping table (for example, content information), and then obtain a mapping table between the terminal device and the content label.
- the content label shown in FIG. 13 includes family member A, family member B. Family member C, item C, item D, item E, item F, etc., the content tag is sent to the cloud server.
- connection request can be reconstructed with the target party as the receiver by removing the content tag, so that the reconstructed connection request includes the identifier of the target party, thereby establishing a connection between the requester and the target party. Therefore, establishing a connection between the requesting party and at least some of the determined target parties in this application example (step S103 ) may include:
- connection request is reconstructed, and the reconstructed connection request includes the identification information of the terminal device.
- the reconstructed connection request is sent to the end device to establish a connection between the requester and the end device.
- the server/platform in this application example establishes a second mapping table (content device mapping table) according to the content information, and generates a content label according to the content information.
- the user generates a connection request by selecting the content tag according to the requirements, and quickly determines the target party that can be connected, so as to quickly establish a connection and obtain corresponding information.
- information labels may not be generated, but only a second mapping table may be established, and the user selects content information according to requirements to generate a connection request.
- the server determines the target party according to the content information contained in the connection request, and establishes the connection between the requester and the target party.
- the construction of the content tag may refer to the content information in the second mapping table.
- Content tags can directly use content information as content tags, or can combine other information to construct content tags, for example, construct content tags based on knowledge graph information and content information.
- the knowledge graph can describe the relationship between content information. Therefore, the content label constructed by combining the knowledge graph and content information contains more information, and the user can choose with higher accuracy. For example, family member A in the living room, family member B in the kitchen Wait.
- the target information is an information tag, and includes a first content tag.
- the application environment is the smart home environment shown in FIG. 7 .
- Figure 14 shows a flowchart of a method for establishing a connection, and the content information of the terminal device acquired by the server is shown in Figure 8:
- the edge server/edge platform establishes the second mapping table of the mapping relationship between the content information and the terminal device according to the content information of the terminal device, as shown in Table 9:
- the edge server/edge platform establishes content tags (as shown in Figure 13 ) according to the information in the second mapping table (ie, content information), such as family member A, family member B, family member C, animal A, animal B, item A and other tags, so as to obtain the mapping table between terminal devices and content tags.
- the edge server/edge platform sends the content tag to the cloud server.
- determining the target party from the mapping table between the at least one target party and the at least one information label according to the target information specified by the requesting party may include: :
- a first target is determined from a mapping table between the at least one target and at least one information label according to the first content label. It can be understood that the first target party may include one or more terminal devices.
- the connection between (step S103) may include S103-f1-S103-f9.
- Step S103-f1 reconstruct the connection request, where the reconstructed connection request includes the identification information of the first target party.
- Step S103-f2 Send the reconstructed connection request to the first target party, so that the first target party performs an operation according to the first content tag. For example, it is determined whether family member A is detected.
- Step S103-f3 Acquire response information sent by the first target party, where the response information includes a result of the operation performed by the first target party according to the first content tag. The result indicates whether the first target party successfully performs the operation.
- Step S103-f4 in response to the result being unsuccessful, determine a second content tag associated with the first content tag, wherein the range of content information of the second content tag is larger than the range of content information of the first content tag.
- the first content tag and the second content tag should be associated.
- the second content tag may be a superordinate concept of the first content tag, for example, family member A is used as the first content tag, and a person is used as the second content tag. It can be understood that, if the result is successful, a connection is established between the requester and the first target party in response to the result being successful.
- the first content label and the second content label are shown in Table 10:
- Step S103-f5 Determine the second target party from the mapping table between the at least one target party and the at least one information label according to the second content label.
- Step S103-f6 Reconfigure the connection request again, where the reconfigured connection request includes the identification information of the second target party.
- the edge server may send the obtained response information to the cloud server, and the cloud server determines the second content label, and performs the connection request again based on the second content label and the second target. Reconstruction; the edge server may also determine the second content tag, and perform re-reconstruction of the connection request based on the second content tag and the second target party.
- Step S103-f7 Send the reconfigured connection request to the second target party, so that the second target party performs operations according to the second content tag.
- Step S103-f8 Acquire response information sent by the second target party, where the response information includes a result of the operation performed by the second target party according to the second content tag. The result indicates whether the second target party successfully performs the operation.
- Step S103-f9 establishing a connection between the requesting party and the second target party whose result is successful. Understandably, if the result is unsuccessful, the connection is not established.
- the edge server establishes a content device mapping table according to the content information, and generates a content label according to the content information, and the requester selects the content label to generate a connection request.
- the edge server determines the first target party according to the content tag carried in the connection request, and sends the connection request to the first destination party.
- the edge server or the cloud server reconstructs the connection request (upgrades the content information in the connection request), determines the second content label after the content information is upgraded, and then determines the corresponding second target party, The reconstructed connection request is sent to the second target party, and after the second target party responds successfully, the connection between the requester and the second target party is established.
- the target information is an information label and includes a content label
- the application environment is the application environment shown in FIG. 10 including a device chain (including a camera, an infrared sensor, and an edge gateway) composed of at least one terminal device.
- a device chain is a combination of target parties with a connection relationship constructed according to the network topology.
- the content information of the terminal device acquired by the server is shown in Table 8.
- the edge server/edge platform establishes the mapping relationship between the content information and the terminal device (ie, the second mapping table) as shown in Table 11.
- the number of connections between the server and the target (terminal device) can be greatly reduced, because the server only needs to send the connection request to the chain head device of the device chain. If the chain head device fails to execute the connection request, the chain head device can automatically send the connection request to the next device corresponding to the chain head device. This process does not require the participation of the server, so the load of the server can be reduced. Specifically, the chain head device can send a connection request through its network protocol with the next device in the device chain, such as through IP protocol, Bluetooth protocol, and the like.
- connection is established based on the content tag, which is similar to the processing situation in which the target party includes one or more device chains in application example 3, and will not be repeated here.
- the above application example is described by taking a smart home environment as an example. In practical applications, it can also be applied to other IoT application scenarios, such as smart communities, smart factories/industrial parks.
- the above application example is described by taking the target as a terminal device as an example. In practical applications, the target can be not only a terminal device, but also an APP or other software modules, etc., which is not limited in this embodiment.
- connection establishment based on the content information or the content tag in this embodiment can simplify the connection establishment. The connection establishment process greatly improves the user experience.
- connection with the target can be established directly by entering the content information or content tags corresponding to the employees/visitors.
- Figure 17 shows a block diagram of an apparatus for establishing a connection. As shown in FIG. 17 , this embodiment provides an apparatus for establishing a connection, including:
- the receiver 201 is configured to receive a connection request from a requestor, wherein the connection request includes target information specified by the requestor, and the target information is used to characterize the capability of the target to which the requestor wants to connect.
- the determiner 202 is configured to determine a target party from a relationship mapping table according to the target information specified by the requester, where the relationship mapping table includes a correspondence between at least one target party and at least one target information.
- the connector 203 is configured to establish a connection between the requester and at least some of the determined target parties.
- the apparatus may further include: a configurator configured to establish a mapping table between the target party and the target information.
- the receiver 201 can be used to perform step S101 in the first embodiment
- the determiner 202 can be used to perform the step S102 in the first embodiment
- the connector 203 can be used to perform the step S103 in the first embodiment.
- Embodiment 1 For the specific content of each step, please refer to Embodiment 1, which will not be repeated here, and the application examples in each situation in Embodiment 1 are also applicable to this embodiment.
- modules or steps of the present disclosure can be implemented by a general-purpose computing device, and they can be centralized on a single computing device or distributed in a network composed of multiple computing devices superior. Alternatively, they can be implemented with program codes executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be separately made into individual integrated circuit modules, or a plurality of them can be
- the modules or steps are implemented as a single integrated circuit module.
- the receiver and connector may be, for example, a wireless module, a transceiver, or any device or integrated circuit that has a communication function.
- the determiner may be any device or integrated circuit with processing capabilities such as a processor, a microprocessor, a programmable logic device. As such, the present disclosure is not limited to any particular combination of hardware and software.
- This embodiment provides a computer-readable storage medium that stores computer-executable instructions, and when the computer-executable instructions are executed by one or more processors, implements the method for establishing a connection in any of the foregoing embodiments.
- the computer-readable storage medium may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, SRAM for short), electrically erasable In addition to Programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), Erasable Programmable Read-Only Memory (Erasable Programmable Read-Only Memory, referred to as EPROM), Programmable Read-Only Memory (Programmable Read-Only Memory) , referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, magnetic disk or optical disk.
- static random access memory Static Random Access Memory, SRAM for short
- EEPROM Electrically erasable In addition to Programmable Read-Only Memory
- EPROM Erasable Programmable Read-Only Memory
- PROM Programmable Read-Only Memory
- ROM Read-Only Memory
- magnetic memory flash memory
- This embodiment provides a server, including a memory and a processor, where computer-executable instructions are stored in the memory, and when the computer-executable instructions are executed by the processor, the connection establishment as in any of the foregoing embodiments is implemented. method.
- the server when the target information includes one of type information and type label, the server includes one of a cloud server and an edge server. That is to say, when the target information includes type information or type label, the method for establishing a connection of the present disclosure can be implemented in both the cloud server and the edge server.
- the server is included as an edge server. Since content information or content tags involve user privacy information, if the method for establishing a connection disclosed in the present disclosure is implemented in a cloud server, it may easily lead to leakage of user privacy information. Therefore, the method for establishing a connection can be implemented in an edge server.
- the server when the target information includes a content tag, the server includes an edge server and a cloud server. Since the content information related to the content tag involves the user's private information, if the method for establishing a connection of the present disclosure is completely implemented in the cloud server, it will easily lead to the leakage of user's private information. Therefore, the method for establishing the connection can be implemented in the cloud server and the edge server. realized in.
- the cloud server is configured to receive a connection request from the requester, the connection request includes a content tag specified by the requester; the edge server is configured to receive the connection request received and sent by the cloud server
- the edge server may establish a mapping table between the target party and the content tag, and send the content tag to the cloud server.
- the requester selects the content tag through the cloud server, and generates a connection request including the content tag.
- the requester sends the connection request to the cloud server, and the cloud server receives and sends the connection request to the edge server.
- the edge server determines that there are one or more target parties according to the target information and the mapping table between the target parties and the target information, and establishes a connection between the requester and the one or more target parties.
- the processor may be an Application Specific Integrated Circuit (ASIC for short), a Digital Signal Processor (DSP for short), a Digital Signal Processing Device (DSPD for short), or a digital signal processing device (DSPD for short).
- a Programmable Logic Device (PLD for short), a Field Programmable Gate Array (FPGA for short), a controller, a microcontroller, a microprocessor or other electronic components are used to execute the method.
- FIG. 18 shows a schematic structural diagram of a computer system suitable for implementing embodiments of the present disclosure.
- the computer system includes a central processing unit (CPU) 1801 that can be loaded into a computer in a random access memory (RAM) 1803 according to computer instructions stored in a read only memory (ROM) 1802 or from a storage section 1808 to perform various appropriate actions and processes.
- RAM random access memory
- ROM read only memory
- various computer instructions and data required for operating instructions of the system are also stored.
- the CPU 1801 , the ROM 1802 and the RAM 1803 are connected to each other through a bus 1804 .
- An input/output (I/O) interface 1805 is also connected to bus 1804 .
- the following components can be connected to the I/O interface 1805; input devices 1806 including keyboards, mice, etc.; output devices 1807 including cathode ray tubes (CRTs), liquid crystal displays (LCDs), etc. and speakers, etc.; storage devices including hard disks, etc. 1808; and a communication device 1809 including a network interface card such as a LAN card, modem, or the like.
- the communication device 1809 performs communication processing via a network such as the Internet.
- Drivers 1810 are also connected to I/O interface 1805 as needed.
- Removable media 1811 such as magnetic disks, optical disks, magneto-optical disks, semiconductor memories, etc., are mounted on drive 1810 as needed so that computer instructions read therefrom are mounted into storage device 1808 as needed.
- embodiments of the present disclosure include a computer program product comprising computer instructions carried on a computer-readable medium, the computer instructions containing program code for performing the methods illustrated in the flowcharts.
- the computer instructions contain program code for performing the method illustrated in the flowchart.
- the computer instructions may be downloaded and installed from a network via communication device 1809 and/or from removable media 1811.
- the central processing unit (CPU) 1801 the above-described functions defined in the system of the present disclosure are performed.
- the computer-readable medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
- the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
- a computer-readable storage medium can be any tangible medium that contains or stores computer instructions that can be used by or in connection with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- a computer-readable signal medium can also be any computer-readable medium, ie a computer-readable storage medium, that can send, propagate, or transport a computer-readable medium for use by or in connection with the instruction execution system, apparatus, or device. instruction.
- Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
- the application also provides a computer program product or computer program.
- the computer program product or computer program includes computer instructions.
- the computer program product or computer program may be stored in a computer-readable storage medium.
- the processor of the computing device reads the computer instructions from the computer-readable storage medium. Execution of the computer instructions by the processor causes the computing device to perform the methods provided in the various implementations described above.
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
模块名称 | 模块类名 | 是否必选 | 描述信息 |
媒体资源 | r.media | 1 | value=[1,2,3] |
目标识别资源 | r.object_identification | 1 | value=[1,2,3] |
值(Value) | 含义(Interpretation) | 描述信息(Description) |
1 | 音频(Audio) | AAC |
2 | 视频(video) | H.264 |
3 | 图片(Still image) | JPEG |
值(Value) | 含义(Interpretation) | 描述信息(Description) |
1 | 人(Person) | RTP |
2 | 动物(Animinal) | RTP |
3 | 物品(Goods) | JPEG |
设备信息 | 类型信息 | 备注 |
摄像头A | 人、动物、物品、图片、视频 | 智能摄像头 |
摄像头B | 人、动物、物品、图片、视频 | 智能摄像头 |
摄像头C | 图片、视频 | 普通摄像头 |
摄像头D | 图片、视频 | 普通摄像头 |
摄像头E | 图片、视频 | 普通摄像头 |
设备类型 | 类型信息 | 备注 |
摄像头A | 人、动物、物品、车、图片、视频 | 智能摄像头 |
摄像头B | 人、动物、物品、车、图片、视频 | 智能摄像头 |
摄像头C | 人、动物、物品、车、图片、视频 | 智能摄像头 |
摄像头D | 图片、视频 | 普通摄像头 |
摄像头E | 图片、视频 | 普通摄像头 |
红外传感器 | 人 | 人体感应 |
边缘网关 | 人轨迹、动物轨迹、车辆轨迹... | 智能网关 |
类型信息 | 设备信息 | 备注 |
人 | 摄像头A、摄像头B、摄像头C、红外传感器 | |
动物 | 摄像头A、摄像头B、摄像头C | |
物品 | 摄像头A、摄像头B、摄像头C | |
车 | 摄像头A、摄像头B、摄像头C | |
图片 | 摄像头A、摄像头B、摄像头C、摄像头D、摄像头E | |
视频 | 摄像头A、摄像头B、摄像头C、摄像头D、摄像头E | |
人轨迹 | 边缘网关 | |
动物轨迹 | 边缘网关 | |
车轨迹 | 边缘网关 |
内容信息 | 设备信息 | 备注 |
家庭成员A | 摄像头A、摄像头B、边缘网关 | |
家庭成员B | 摄像头A、摄像头B、边缘网关 |
家庭成员C | 摄像头A、摄像头B、边缘网关 | |
动物A | 摄像头A、摄像头B、边缘网关 | |
动物B | 摄像头A、摄像头B、边缘网关 | |
物品A | 摄像头A、摄像头B、边缘网关 | |
物品B | 摄像头A、摄像头B、边缘网关 | |
人 | 摄像头C、摄像头D、摄像头E、红外传感器 | |
动物 | 摄像头C、摄像头D、摄像头E、红外传感器 | |
物品 | 摄像头C、摄像头D、摄像头E、红外传感器 | |
车 | 摄像头C、摄像头D、摄像头E、红外传感器 | |
家庭成员A轨迹 | 边缘网关 | |
家庭成员B轨迹 | 边缘网关 | |
家庭成员C轨迹 | 边缘网关 | |
动物A轨迹 | 边缘网关 | |
动物A轨迹 | 边缘网关 |
Claims (24)
- 一种建立连接的方法,包括接收请求方的连接请求,其中,所述连接请求包括请求方指定的目标信息,以及所述目标信息用于表征所述请求方欲连接到的目标方的能力;根据所述请求方指定的目标信息从关系映射表确定目标方,所述关系映射表包括至少一个目标方与至少一个目标信息之间的对应关系;建立所述请求方与所述确定的目标方中的至少部分目标方之间的连接。
- 根据权利要求1所述的建立连接的方法,其中,所述目标信息包括类型信息和内容信息中的至少一个,所述类型信息指示目标方能够采集的信息的类型;所述内容信息指示目标方能够采集的信息的内容。
- 根据权利要求1所述的建立连接的方法,其中,所述目标信息包括信息标签,所述信息标签包括根据类型信息建立的类型标签和根据内容信息建立的内容标签中的至少一个;以及其中,所述类型信息指示目标方能够采集的信息的类型,以及所述内容信息指示目标方能够采集的信息的内容。
- 根据权利要求2所述的建立连接的方法,其中,所述关系映射表通过如下步骤被建立,所述步骤包括:获取所述至少一个目标方的类型信息和内容信息中的至少一种;响应于获取到类型信息,建立关系映射表,使得所述关系映射表包括所述至少一个目标方与类型信息之间的对应关系;以及响应于获取到内容信息,建立关系映射表,使得所述关系映射表包括所述至少一个目标方与内容信息之间的对应关系。
- 根据权利要求3所述的建立连接的方法,其中,所述关系映射表通过如下步骤被建立,所述步骤包括:建立至少一个目标方与至少一个信息标签之间的映射表作为所述关系映射表;以及其中,所述根据所述请求方指定的目标信息从关系映射表确定目 标方,包括;根据所述请求方指定的目标信息从所述至少一个目标方与至少一个信息标签之间的映射表中确定所述目标方。
- 根据权利要求5所述的建立连接的方法,其中,所述建立至少一个目标方与至少一个信息标签之间的映射表,包括:获取所述至少一个目标方的类型信息和内容信息中的至少一种;响应于获取到类型信息,根据所述类型信息确定信息标签;响应于获取到内容信息,根据所述内容信息确定信息标签;;基于所述确定的信息标签,建立所述至少一个目标方与确定的信息标签之间的映射表。
- 根据权利要求4或6所述的建立连接的方法,其中,所述获取所述至少一个目标方的类型信息和内容信息中的至少一种,包括:发送信息获取请求,以获取所述至少一个目标方的类型信息和内容信息中的至少一种;或者获取所述至少一个目标方在注册过程中上报的类型信息和内容信息中的至少一种。
- 根据权利要求1所述的建立连接的方法,其中,所述确定的目标方包括一个终端设备,以及其中所述建立所述请求方与所述确定的目标方中的至少部分目标方之间的连接包括:重构所述连接请求,使得所述重构的连接请求中包括终端设备的标识信息;将所述重构的连接请求发送至所述终端设备,以在所述请求方与所述终端设备之间建立连接。
- 根据权利要求1所述的建立连接的方法,其中,所述确定的目标方包括多个终端设备,以及其中所述建立所述请求方与所述确定的目标方中的至少部分目标方之间的连接包括:重构所述连接请求,使得所述重构的连接请求中包括所述多个终端设备的标识信息;将所述重构的连接请求发送至所述多个终端设备,以使所述多个终端设备根据所述目标信息执行操作;获取所述多个终端设备针对所述重构的连接请求发送的响应信息,其中所述响应信息中包括所述多个终端设备中的每个终端设备根 据所述目标信息执行操作的结果,所述结果表示所述每个终端设备执行所述操作是否成功;在所述请求方与所述多个终端设备中响应信息中的结果为成功的终端设备之间建立连接。
- 根据权利要求9所述的建立连接的方法,其中,所述将所述重构的连接请求发送至所述多个终端设备,包括:将所述重构的连接请求同时或按照顺序发送至所述多个终端设备。
- 根据权利要求1所述的建立连接的方法,其中,所述确定的目标方的数量为多个并且组成一个设备链,所述设备链是根据网络拓扑结构构建的具有连接关系的目标方的组合;以及其中,所述建立所述请求方与所述确定的目标方中的至少部分目标方之间的连接,包括:重构连接请求,所述重构的连接请求中包括所述设备链的链头处目标方的标识信息;将所述重构的连接请求发送至所述设备链的链头处目标方,以建立所述请求方与所述确定的目标方中的至少部分目标方之间的连接。
- 根据权利要求11所述的建立连接的方法,其中,所述将所述重构的连接请求发送至所述设备链的链头处目标方,以建立所述请求方与所述确定的目标方中的至少部分目标方之间的连接还包括:获取所述链头处目标方发送的针对所述重构的连接请求的第一响应信息,所述第一响应消息包括所述链头处目标方根据所述目标信息执行操作的结果,所述结果表示所述链头处目标方执行所述操作是否成功;当所述第一响应信息为成功时,在所述请求方与所述链头处目标方之间建立连接;当所述第一响应信息为不成功时,获取所述设备链中与所述链头处目标方连接的目标方针对所述重构的连接请求的第二响应信息,所述第二响应消息包括所述连接的目标方根据所述目标信息执行操作的结果,所述结果表示所述连接的目标方执行所述操作是否成功;当所述第二响应信息为成功时,在所述请求方与所述设备链中与所述链头处目标方连接的目标方之间建立连接。
- 根据权利要求11所述的建立连接的方法,其中,所述将所述重构的连接请求发送至所述设备链的链头处目标方,以建立所述请求方与所述确定的目标方中的至少部分目标方之间的连接还包括:获取所述设备链的链尾处目标方发送的第三响应信息,所述第三响应消息包括所述链尾处目标方根据所述目标信息执行操作的结果,所述结果表示所述链尾处目标方执行所述操作是否成功;当所述第三响应信息为成功时,在所述请求方与所述设备链的链尾处目标方之间建立连接。
- 根据权利要求1所述的建立连接的方法,其中,所述确定的目标方的数量为多个并且组成多个设备链,所述设备链是根据网络拓扑结构构建的具有连接关系的目标方的组合;以及其中,所述建立所述请求方与所述确定的目标方中的至少部分目标方之间的连接,包括:按照预设规则从所述多个设备链中选取设备链;重构连接请求,其中所述重构的连接请求中包括所选取设备链的链头处目标方的标识信息;将所述重构的连接请求发送至所选取设备链的链头处目标方,以使所选取设备链中的目标方根据所述目标信息执行操作;获取所选取设备链中的目标方发送的针对所述重构的连接请求的响应信息,所述响应消息包括所选取设备链中的目标方根据所述目标信息执行操作的结果,所述结果表示所选取设备链中的目标方执行所述操作是否成功;在所述请求方与所选取设备链中其中结果为成功的响应消息所来自的目标方之间建立连接。
- 根据权利要求14所述的建立连接的方法,其中,所述预设规则包括以下中的至少一个:选取所述多个设备链中长度最长的设备链;选取所述多个设备链中采用预设组网方式的设备链;选取所述多个设备链中链头处目标方的处理能力最佳的设备链。
- 根据权利要求5所述的建立连接的方法,其中,响应于所述请求方指定的目标信息包括第一内容标签时,所述根据所述请求方指定的目标信息从所述至少一个目标方与至少一个信息标签之间的映射 表中确定所述目标方,包括:根据所述第一内容标签从所述至少一个目标方与至少一个信息标签之间的映射表中确定第一目标方;以及其中,所述建立所述请求方与所述确定的目标方中的至少部分目标方之间的连接,包括:重构连接请求,所述重构的连接请求中包括第一目标方的标识信息;将所述重构的连接请求发送至所述第一目标方,以使所述第一目标方根据所述第一内容标签执行操作;获取所述第一目标方发送的响应信息,所述响应信息中包括第一目标方根据所述第一内容标签执行操作的结果,所述结果表示第一目标方执行所述操作是否成功;响应于所述结果为不成功,确定与所述第一内容标签关联的第二内容标签,其中,所述第二内容标签的内容信息的范围大于所述第一内容标签的内容信息的范围;根据所述第二内容标签从所述至少一个目标方与至少一个信息标签之间的映射表中确定第二目标方;再次重构连接请求,所述再次重构的连接请求中包括第二目标方的标识信息;将所述再次重构的连接请求发送至所述第二目标方,以使所述第二目标方根据所述第二内容标签执行操作;获取所述第二目标方发送的响应信息,所述响应信息中包括第二目标方根据所述第二内容标签执行操作的结果,所述结果表示第二目标方执行所述操作是否成功;在所述请求方与所述结果为成功的第二目标方之间建立连接。
- 根据权利要求1所述的建立连接的方法,其特征在于,所述目标信息不包括目标方的标识信息。
- 一种建立连接的装置,包括:接收器,被配置成接收请求方的连接请求,其中,所述连接请求包括请求方指定的目标信息,以及所述目标信息用于表征所述请求方欲连接到的目标方的能力;确定器,被配置成根据所述请求方指定的目标信息从关系映射表 确定目标方,所述关系映射表包括至少一个目标方与至少一个目标信息之间的对应关系;连接器,被配置成建立所述请求方与所述确定的目标方中的至少部分目标方之间的连接。
- 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被一个或多个处理器执行时,实现如权利要求1至17中任一项所述的建立连接的方法。
- 一种服务器,包括存储器和处理器,所述存储器上存储有计算机可执行指令,所述计算机可执行指令被所述处理器执行时实现如权利要求1至17中任一项所述的建立连接的方法。
- 根据权利要求20所述的服务器,其中,在所述目标信息包括类型信息和类型标签之一的情况下,所述服务器包括云端服务器和边缘服务器中的一种。
- 根据权利要求20所述的服务器,其中,在所述目标信息包括内容信息和内容标签之一的情况下,所述服务器包括为边缘服务器。
- 根据权利要求20所述的服务器,其中,在所述目标信息包括内容标签的情况下,所述服务器包括边缘服务器和云端服务器;以及其中,所述云端服务器被配置成接收请求方的连接请求,所述连接请求中包括请求方指定的内容标签;所述边缘服务器被配置成接收由云端服务器接收并发送的连接请求。
- 一种计算机程序产品,包括计算机可执行指令,其中所述计算机可执行指令被处理器执行时执行根据权利要求1-17中任一项所述的建立连接的方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US18/555,050 US20240205042A1 (en) | 2021-04-19 | 2022-03-28 | Method and apparatus for establishing connection, storage medium and server |
EP22790807.6A EP4329264A1 (en) | 2021-04-19 | 2022-03-28 | Connection establishment method and apparatus, storage medium, and server |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110419459.5A CN114900537A (zh) | 2021-04-19 | 2021-04-19 | 一种建立连接的方法、装置、存储介质及服务器 |
CN202110419459.5 | 2021-04-19 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022222698A1 true WO2022222698A1 (zh) | 2022-10-27 |
Family
ID=82714224
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/083402 WO2022222698A1 (zh) | 2021-04-19 | 2022-03-28 | 建立连接的方法、装置、存储介质及服务器 |
Country Status (4)
Country | Link |
---|---|
US (1) | US20240205042A1 (zh) |
EP (1) | EP4329264A1 (zh) |
CN (1) | CN114900537A (zh) |
WO (1) | WO2022222698A1 (zh) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107770843A (zh) * | 2017-10-17 | 2018-03-06 | 广东省南方数字电视无线传播有限公司 | 连接资源服务器的方法及装置 |
CN109327503A (zh) * | 2018-08-27 | 2019-02-12 | 珠海格力电器股份有限公司 | 信息管理系统和方法、服务路由器 |
CN111160895A (zh) * | 2019-12-27 | 2020-05-15 | 支付宝实验室(新加坡)有限公司 | 基于图形码的业务处理方法及装置、电子设备、存储介质 |
US20200293423A1 (en) * | 2019-03-14 | 2020-09-17 | International Business Machines Corporation | Assisted smart device context performance information retrieval |
-
2021
- 2021-04-19 CN CN202110419459.5A patent/CN114900537A/zh active Pending
-
2022
- 2022-03-28 EP EP22790807.6A patent/EP4329264A1/en active Pending
- 2022-03-28 US US18/555,050 patent/US20240205042A1/en active Pending
- 2022-03-28 WO PCT/CN2022/083402 patent/WO2022222698A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107770843A (zh) * | 2017-10-17 | 2018-03-06 | 广东省南方数字电视无线传播有限公司 | 连接资源服务器的方法及装置 |
CN109327503A (zh) * | 2018-08-27 | 2019-02-12 | 珠海格力电器股份有限公司 | 信息管理系统和方法、服务路由器 |
US20200293423A1 (en) * | 2019-03-14 | 2020-09-17 | International Business Machines Corporation | Assisted smart device context performance information retrieval |
CN111160895A (zh) * | 2019-12-27 | 2020-05-15 | 支付宝实验室(新加坡)有限公司 | 基于图形码的业务处理方法及装置、电子设备、存储介质 |
Also Published As
Publication number | Publication date |
---|---|
US20240205042A1 (en) | 2024-06-20 |
CN114900537A (zh) | 2022-08-12 |
EP4329264A1 (en) | 2024-02-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11290537B1 (en) | Discovery of device capabilities | |
JP2022084814A (ja) | 第1のノードがその他のノードに向けてコレクタとしてのそれ自体またはセンサデータをパブリッシュすることができる無線センサネットワークにおける分散データ収集法 | |
CN111026982A (zh) | 智能合约处理方法、计算机设备及存储介质 | |
CN111212264B (zh) | 基于边缘计算的图像处理方法、装置、及存储介质 | |
CN112805981A (zh) | 用于服务层的主题和数据的动态代理和管理的框架 | |
US10666712B1 (en) | Publish-subscribe messaging with distributed processing | |
WO2019192343A1 (zh) | 交通工具的诊断方法、相关设备和系统 | |
US20180020057A1 (en) | Method and System for Connecting Heterogeneous Internet of Things Devices for Workflow Automation | |
WO2015149531A1 (zh) | 物联网终端的固件管理方法、装置及通用服务实体 | |
CN107181825B (zh) | 终端设备数据的在线处理方法 | |
US20190370293A1 (en) | Method and apparatus for processing information | |
WO2022222698A1 (zh) | 建立连接的方法、装置、存储介质及服务器 | |
CN105516271A (zh) | 业务处理系统、业务处理方法及装置 | |
CN111781848A (zh) | 一种基于智能家居设备的服务器连接方法、装置及系统 | |
Dieber et al. | Ella: Middleware for multi-camera surveillance in heterogeneous visual sensor networks | |
CN112788054B (zh) | 一种物联网数据处理方法、系统及设备 | |
CN114125024B (zh) | 音频传输方法、电子设备及可读存储介质 | |
Agostinho et al. | Smart comm: A smart home middleware supporting information exchange | |
US20230208938A1 (en) | Orchestrating execution of a complex computational operation | |
WO2015149530A1 (zh) | M2m应用服务方法、装置及系统 | |
CN112328417A (zh) | 一种嵌入式多程序通讯方法和系统 | |
CN111901561A (zh) | 监控系统中的视频数据处理方法、装置、系统及存储介质 | |
CN114726569B (zh) | 跨网域环境的数据汇聚方法及相关设备 | |
US11736336B2 (en) | Real-time monitoring of machine learning models in service orchestration plane | |
US20230229452A1 (en) | System and Method for Automatic Installation and Configuration of Computing Resources |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22790807 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 18555050 Country of ref document: US |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2022790807 Country of ref document: EP |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2022790807 Country of ref document: EP Effective date: 20231120 |