WO2024017191A1 - 交互方法、装置、设备及存储介质 - Google Patents
交互方法、装置、设备及存储介质 Download PDFInfo
- Publication number
- WO2024017191A1 WO2024017191A1 PCT/CN2023/107702 CN2023107702W WO2024017191A1 WO 2024017191 A1 WO2024017191 A1 WO 2024017191A1 CN 2023107702 W CN2023107702 W CN 2023107702W WO 2024017191 A1 WO2024017191 A1 WO 2024017191A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- communication device
- interaction
- information
- address
- gateway
- Prior art date
Links
- 230000003993 interaction Effects 0.000 title claims abstract description 642
- 238000000034 method Methods 0.000 title claims abstract description 180
- 238000004891 communication Methods 0.000 claims abstract description 1026
- 230000002452 interceptive effect Effects 0.000 claims description 98
- 235000008331 Pinus X rigitaeda Nutrition 0.000 description 45
- 235000011613 Pinus brutia Nutrition 0.000 description 45
- 241000018646 Pinus brutia Species 0.000 description 45
- 230000006870 function Effects 0.000 description 37
- 238000010586 diagram Methods 0.000 description 23
- 230000008569 process Effects 0.000 description 19
- 238000007726 management method Methods 0.000 description 17
- 230000000694 effects Effects 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 12
- 230000001360 synchronised effect Effects 0.000 description 10
- 230000011664 signaling Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 6
- 238000010295 mobile communication Methods 0.000 description 4
- 230000003068 static effect Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 3
- 241000699670 Mus sp. Species 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000007599 discharging Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000013519 translation Methods 0.000 description 2
- 238000005406 washing Methods 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000013523 data management Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/25—Mapping addresses of the same type
- H04L61/2503—Translation of Internet protocol [IP] addresses
- H04L61/256—NAT traversal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
Definitions
- This application belongs to the field of communication technology, and specifically relates to an interactive method, device, equipment and storage medium.
- control plane signaling or user plane signaling, between the PIN management function (PIN element with management capability, PEMC) of the Personal IoT network (PIN) and the PIN network element (PIN element, PINE), can be Several different ways to interact.
- Embodiments of the present application provide an interaction method, device, equipment and storage medium, which can solve the problem that some interaction methods cannot be supported by PEMC and PINE or the interaction efficiency is too low.
- the first aspect provides an interactive method, which includes:
- the first communication device acquires first information; the first information includes the address of the second communication device and/or interaction auxiliary information, and the interaction auxiliary information is used to indicate the relationship between the first communication device and the second communication device.
- the mode of interaction between the first information includes the address of the second communication device and/or interaction auxiliary information, and the interaction auxiliary information is used to indicate the relationship between the first communication device and the second communication device.
- the first communication device determines the interaction mode based on the first information.
- the second aspect provides an interactive method, which includes:
- the third communication device receives the first request
- the third communication device sends the second information to the first communication device based on the first request, where the second information is used to provide the first communication device with first information;
- the first information includes the address of the second communication device and/or interaction auxiliary information, and the interaction auxiliary information is used to indicate a manner in which the first communication device interacts with the second communication device.
- an interactive device which includes:
- a first acquisition module configured to acquire first information; the first information includes the address of the second communication device and/or interaction auxiliary information, and the interaction auxiliary information is used to indicate that the first communication device communicates with the second communication device. Interaction methods for interaction between communication devices;
- a first determination module configured to determine the interaction mode based on the first information.
- an interactive device which includes:
- the first receiving module is used to receive the first request
- a first sending module configured to send second information to the first communication device based on the first request, where the second information is used to provide the first information to the first communication device;
- the first information includes the address of the second communication device and/or interaction auxiliary information, and the interaction auxiliary information is used to indicate a manner in which the first communication device interacts with the second communication device.
- a first communication device in a fifth aspect, includes a processor and a memory.
- the memory stores a program or instructions executable on the processor.
- the program or instructions are processed by the processor.
- the processor When the processor is executed, the steps of the method described in the first aspect are implemented.
- a first communication device in a sixth aspect, includes a processor and a communication interface, wherein the processor is used for:
- the first information includes the address of the second communication device and/or interaction auxiliary information, the interaction auxiliary information is used to indicate the interaction between the first communication device and the second communication device Way;
- the interaction mode is determined.
- a third communication device in a seventh aspect, includes a processor and a memory.
- the memory stores programs or instructions executable on the processor. The programs or instructions are processed by the processor. When the processor is executed, the steps of the method described in the second aspect are implemented.
- a third communication device including a processor and a communication interface, wherein the communication interface is used for:
- the first information includes the address of the second communication device and/or interaction auxiliary information, and the interaction auxiliary information is used to indicate a manner in which the first communication device interacts with the second communication device.
- a ninth aspect provides an interactive system, including: a first communication device and a third communication device.
- the first communication device can be used to perform the steps of the interaction method as described in the first aspect.
- the third communication device May be used to perform the steps of the interactive method as described in the second aspect.
- a readable storage medium In a tenth aspect, a readable storage medium is provided. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method are implemented as described in the first aspect. The steps of the method described in the second aspect.
- a chip in an eleventh aspect, includes a processor and a communication interface.
- the communication interface is coupled to the processor.
- the processor is used to run programs or instructions to implement the method described in the first aspect. method, or implement a method as described in the second aspect.
- a computer program/program product is provided, the computer program/program product is stored in a storage medium, and the computer program/program product is executed by at least one processor to implement as described in the first aspect method, or implement the method described in the second aspect.
- the interaction mode between the second communication devices avoids the determined interaction mode being unsupportable or inefficient by the first communication device or the second communication device, ensuring interaction efficiency.
- Figure 1 shows a block diagram of a wireless communication system to which embodiments of the present application are applicable
- FIG. 2 is a schematic diagram of the PIN architecture provided by related technologies
- Figure 3 is one of the flow diagrams of the interactive method provided by the embodiment of the present application.
- Figure 4 is a schematic diagram of the interaction mode through gateway interaction provided by the embodiment of the present application.
- Figure 5 is a schematic diagram of the interaction method through 5GC provided by the embodiment of the present application.
- Figure 6 is a schematic diagram of an interaction mode through a third communication device provided by an embodiment of the present application.
- Figure 7 is the second schematic flowchart of the interaction method provided by the embodiment of the present application.
- Figure 8 is the third schematic flowchart of the interaction method provided by the embodiment of the present application.
- Figure 9 is one of the structural schematic diagrams of the interactive device provided by the embodiment of the present application.
- Figure 10 is the second structural schematic diagram of the interactive device provided by the embodiment of the present application.
- Figure 11 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
- Figure 12 is a schematic diagram of the hardware structure of a first communication device that implements an embodiment of the present application.
- Figure 13 is a schematic diagram of the hardware structure of a second communication device that implements an embodiment of the present application.
- first, second, etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and that "first" and “second” are distinguished objects Usually a category, the number of objects is not limited, for example, the first pair The image can be one or multiple.
- “and/or” in the description and claims indicates at least one of the connected objects, and the character “/” generally indicates that the related objects are in an "or” relationship.
- LTE Long Term Evolution
- LTE-Advanced, LTE-A Long Term Evolution
- LTE-A Long Term Evolution
- CDMA Code Division Multiple Access
- TDMA Time Division Multiple Access
- FDMA Frequency Division Multiple Access
- OFDMA Orthogonal Frequency Division Multiple Access
- SC-FDMA Single-carrier Frequency Division Multiple Access
- NR New Radio
- FIG. 1 shows a block diagram of a wireless communication system to which embodiments of the present application are applicable.
- the wireless communication system includes a terminal 11 and a network side device 12.
- the terminal 11 may be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a palmtop computer, a netbook, or a super mobile personal computer.
- Tablet Personal Computer Tablet Personal Computer
- laptop computer laptop computer
- PDA Personal Digital Assistant
- PDA Personal Digital Assistant
- UMPC ultra-mobile personal computer
- UMPC mobile Internet device
- Mobile Internet Device MID
- AR augmented reality
- VR virtual reality
- robots wearable devices
- VUE vehicle-mounted equipment
- PUE pedestrian terminal
- smart home home equipment with wireless communication functions, such as refrigerators, TVs, washing machines or furniture, etc.
- PC personal computers
- teller machines or self-service Terminal devices such as mobile phones
- wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart anklets, etc.), Smart wristbands, smart clothing, etc.
- the network side device 12 may include an access network device or a core network device, where the access network device 12 may also be called a radio access network device, a radio access network (Radio Access Network, RAN), a radio access network function or Wireless access network unit.
- the access network device 12 may include a base station, a WLAN access point or a WiFi node, etc.
- the base station may be called a Node B, an evolved Node B (eNB), an access point, a Base Transceiver Station (BTS), a radio Base station, radio transceiver, Basic Service Set (BSS), Extended Service Set (ESS), Home Node B, Home Evolved Node B, Transmitting Receiving Point (TRP) or all
- eNB evolved Node B
- BTS Base Transceiver Station
- BSS Basic Service Set
- ESS Extended Service Set
- Home Node B Home Evolved Node B
- TRP Transmitting Receiving Point
- the core network equipment may include but is not limited to at least one of the following: core network nodes, core network functions, mobility management entities (Mobility Management Entity, MME), access mobility management functions (Access and Mobility Management Function (AMF), Session Management Function (SMF), User Plane Function (UPF), Policy Control Function (PCF), Policy and Charging Rule Function Unit (Policy and Charging Rules Function (PCRF), Edge Application Server Discovery Function (EASDF), Unified Data Management (UDM), Unified Data Repository (UDR), Home Subscriber Server , HSS), Centralized network configuration (CNC), Network Repository Function (NRF), Network Exposure Function (NEF), Local NEF (Local NEF, or L-NEF), Binding Support Function (BSF), Application Function (AF), etc.
- MME mobility management entities
- AMF Access and Mobility Management Function
- SMF Session Management Function
- UPF User Plane Function
- PCF Policy Control Function
- Policy and Charging Rule Function Unit Policy and Charging Rules Function
- EASDF Edge Application Server
- PIN Personal IoT network
- Personal IoT network is a network based on and derived from a large number of consumer IoT devices. These devices can be either wearable devices (that is, devices on the human body, such as cameras, headphones, watches, headphones, health monitors, etc.) or IoT devices in the home (such as smart lights, cameras, thermostats, door sensors, etc.) , voice assistant, speaker, refrigerator, washing machine, etc.). Users mainly use all these personal IoT devices at home or around their bodies to create personal IoT networks.
- PINs are generally used in scenarios such as homes and offices. IoT devices deployed in these scenarios can be interconnected, communicate with each other, and obtain services, so they are called personal IoT. At the same time, there is another point to note.
- the IoT devices in PIN can access the fifth generation mobile communication technology (5th Generation Mobile Communication Technology, 5G) network through a certain mechanism and implementation through the device with gateway function in PIN. Access other servers on the network or complete business.
- 5G Fifth Generation Mobile Communication Technology
- FIG. 2 is a schematic diagram of the PIN architecture provided by related technologies. As shown in Figure 2, it is the structure of the PIN; among them, all enablers are called the enabling layer, which can be considered as an application layer design, located in the operating system (Operating System, OS), for example, a client or application (Application, APP), PIN client (such as PEMC client, PEGC (PINE with GatewayCapability, PIN gateway) client); or, it can also be an operating system ( Operating System (OS) is a capability that provides services as part of the operating system. It can also be considered as a chip capability, located on the modem chip module.
- OS Operating System
- a PIN system include:
- PIN management function manages the entire PIN, for example, adding a PIN network element (PIN element, PINE) to the PIN managed by PEMC.
- PIN element PIN element
- PINE PIN network element
- PIN client PIN client
- PEMC client PIN client
- PIN gateway PIN element with Gateway capability, PEGC: responsible for routing PINE traffic to the destination. It can also route server traffic downlink to PINE. For example, if a PINE wants to communicate with other PINEs in the PIN, it can be done through PEGC. routing. Alternatively, the PIN client on the terminal, PIN client (PEGC client), can also have gateway routing functionality.
- PEGC client PIN element with Gateway capability
- PIN server used to authorize the creation of a PIN, update a PIN, delete a PIN and other functions, corresponding to the PIN client or the server of the PIN network element.
- PEMC can trigger a PIN establishment request, and then the PIN server verifies the establishment request.
- the PIN server can also be used for PINE requests to find a PIN, or to find the PEMC corresponding to a PIN.
- PIN server can also be named PINMF, PIN management function.
- the PIN server also has the function of user plane routing, that is, the PEMC of a certain PIN can interact with a certain PINE on the control plane or the user plane through the PIN server.
- PINE PIN element: It is a member or network element in a PIN, mainly including 3GPP type terminals (for example, mobile phones with cellular capabilities), or non-3GPP terminals (such as pads or Bluetooth only with wifi capabilities) headphones, etc.).
- 3GPP type terminals for example, mobile phones with cellular capabilities
- non-3GPP terminals such as pads or Bluetooth only with wifi capabilities
- FIG 3 is one of the flow diagrams of the interaction method provided by the embodiment of the present application. As shown in Figure 3, the interaction method includes the following steps:
- Step 300 The first communication device obtains first information; the first information includes the address of the second communication device and/or interaction auxiliary information, and the interaction auxiliary information is used to indicate that the first communication device communicates with the second communication device. Interaction methods for interaction between communication devices;
- Step 310 The first communication device determines the interaction mode based on the first information.
- the first communication device may be a PEMC
- the second communication device may be a PINE
- the interaction between the first communication device and the second communication device may include control plane interaction
- the interaction between the first communication device and the second communication device may include user plane interaction
- the interaction between the first communication device and the second communication device may include control plane interaction and/or user plane interaction;
- the first communication device may predetermine a more appropriate communication method with the second communication device. Or the better or most efficient way of interaction; for example, if the IP address of the first communication device and the IP address of the second communication device are both IP addresses of the same intranet segment under the same gateway, then the first communication device and the second communication device
- the second communication device can directly interact with IP without the need to bypass signaling from the fifth generation mobile communication technology core network (5th Generation Mobile Communication Technology Core, 5GC) or bypass signaling through the PIN server; for another example, the first communication device and The second communication device can complete the interaction through 5GC; for another example, the first communication device and the second communication device can complete the interaction through the gateway; for another example, the first communication device and the second communication device can complete the interaction through the PIN server;
- 5GC Fifth Generation Mobile Communication Technology Core
- the first communication device may obtain the first information, and based on the second communication device included in the first information
- the device's address and/or interaction auxiliary information is used to determine a more appropriate interaction method or the fastest interaction method with the second communication device;
- the interaction assistance information may be associated with a specific second communication device or devices
- the interaction auxiliary information A is associated with the second communication device a; and the interaction auxiliary information B is associated with the second communication device b, then when the first communication device wants to interact with the second communication device a, the interaction can be determined based on the interaction auxiliary information A.
- the interaction mode when the first communication device wants to interact with the second communication device b, the interaction mode can be determined based on the interaction assistance information B.
- the interaction mode between the second communication devices avoids the determined interaction mode being unsupportable or inefficient by the first communication device or the second communication device, ensuring interaction efficiency.
- the address of the second communication device includes: an internal IP address of the personal Internet of Things PIN where the second communication device is located, and/or an external IP address.
- the address of the second communication device may be the internal IP address of the PIN
- the internal IP address can refer to a private address
- IP addresses that match the following address ranges are generally internal IPs or private IPs: Class A addresses: 10.0.0.0 ⁇ 10.255.255.255; Class B addresses: 172.16.0.0 ⁇ 172.31.255.255; Class C addresses: 192.168.0.0 ⁇ 192.168.255.255, all such IP addresses are usually internal IPs;
- the address of the second communication device may be the external IP address of the PIN, and the external IP address may be an IP address processed by Network Address Translation (NAT), or may be a public network IP address.
- NAT Network Address Translation
- the interactive assistance information includes at least one of the following:
- a first gateway identifier is used to indicate a gateway that the second communication device accesses, and there are one or more gateways that the second communication device accesses;
- the first IP type indication information is used to indicate that the address of the second communication device is a directly interactive internal IP address; if it is an interactive internal IP address, for example, PEMC and PINE belong to the same
- the internal IP addresses of the network segment for example, are all in the 192.168.X.X network segment, then PEMC and PINE can directly interact with each other over IP;
- the second IP type indication information is used to indicate that the address of the second communication device is an external IP address; if the address of the second communication device is not an internal IP address, but an external IP address , then, PEMC and PINE will not be able to directly interact with internal IP, and can only interact through 5GC, or through the PIN server;
- the first path indication information is used to indicate that the interaction mode includes interaction through 5GC and/or the first path indication information is used to indicate a 5GC path
- the 5GC path includes the first communication A path for interaction between the device and the second communication device through 5GC.
- the 5GC path interaction means that such interaction is possible only when the first communication device and the second communication device are both 5G terminals, or terminals that support 5G, or when both the first communication device and the second communication device are It is reachable through 5G network routing, so there is such an interaction method;
- Second path indication information the second path indication information is used to indicate that the interaction mode includes interaction through a gateway and/or the second path indication information is used to indicate first auxiliary information
- the first auxiliary information includes the following At least one item: a path for interaction between the first communication device and the second communication device through a gateway, a gateway ID that supports gateway interaction, and a gateway IP address.
- PEMC can compare the gateway ID and gateway IP address connected to the first communication device.
- the first communication device can determine that it can interact with the second communication device directly through the gateway; or, the PIN server directly provides the gateway ID, the gateway IP address, and also provides the first auxiliary information, and the first auxiliary information indicates A first communication device with which the second communication device can interact through the gateway.
- the method of interaction through the gateway is similar to 5G-LAN interaction (5G Local Area Network, 5G LAN). This interaction is based on layer 2 interaction and does not need to bypass 5GC, and the access is faster;
- Third path indication information is used to indicate that the interaction mode includes interaction through a third communication device and/or the third path indication information is used to indicate second auxiliary information, the second auxiliary information
- the information includes: a path for interaction between the first communication device and the second communication device through a third communication device, and/or the address of the third communication device.
- interaction through the third communication device is a default interaction method, or an interaction method that must be supported.
- the first communication device must be able to interact with the second communication device through the third communication device; that is, regardless of whether other interaction methods are supported by the first communication device and the second communication device, through the third communication device
- the method of device interaction must be supported by the first communication device and the second communication device;
- the third communication device may be a PIN server (PIN server);
- the first information may include the address of the second communication device and the first gateway identifier of the gateway to which the second communication device is connected.
- it may include the internal IP address of the second communication device and the first gateway identifier;
- the first communication device is also under the first gateway, and it is found through comparison that the first communication device and the second communication device are under the same gateway, then the first communication device and the second communication device can be under the same gateway. , interact directly using the internal IP address;
- the first information may include the address of the second communication device and first IP type indication information used to indicate the type of the address of the second communication device.
- the first information may include the internal IP address of the second communication device and First IP type indication information used to indicate that the type of the address of the second communication device is an internal IP address;
- the indication is the first IP type indication information
- the first communication device can use its own IP address to The address is compared with the IP address of the second communication device. If it belongs to the same internal IP network segment, it means that direct interaction is possible; or, the first IP type indication information directly indicates that the first communication device can directly interact with Second communication device interaction;
- the first information may include the address of the second communication device and second IP type indication information used to indicate the type of the address of the second communication device.
- the first information may include the external IP address of the second communication device and Second IP type indication information used to indicate that the address type of the second communication device is an external IP address;
- the first communication device when the IP address is an external IP address, the first communication device cannot directly interact with the second communication device. However, if the second IP type indication information includes the gateway ID, or the indication can be passed Gateway interaction, then the first communication device can interact with the second communication device in a 5G-LAN manner;
- the first information may include the address of the second communication device and the first path indication information.
- the first information may include the external IP address of the second communication device and the first path indication information;
- the first information may include the address of the second communication device and the second path indication information.
- the first information may include the internal IP address of the second communication device and the second path indication information;
- the first information may include the address of the second communication device and the third path indication information.
- the first information may include the external IP address of the second communication device and the third path indication information;
- the first information may include the external IP address of the second communication device, first path indication information, and third path indication information;
- the internal IP address and/or the external IP address of the second communication device can be combined with any one or more items that the interaction auxiliary information may include, which is not limited in this embodiment of the present application.
- the first communication device determines the interaction mode based on the first information, include:
- the first communication device determines that the second communication device and the first communication device are under the same gateway based on the first gateway identifier and/or the second path indication information, and determines that the interaction method includes Interaction through the gateway, which is the layer 2 interaction method of 5G-LAN.
- FIG 4 is a schematic diagram of the interaction mode through the gateway provided by the embodiment of the present application. As shown in Figure 4, taking the first communication device as PEMC and the second communication device as PINE as an example, PEMC and PINE can interact through the gateway.
- PEMC and PINE can interact through the gateway.
- the first gateway identification may indicate which gateway the second communication device is under
- the first communication device can obtain the address and interaction auxiliary information of the second communication device from the first information, and then determine that the interaction auxiliary information includes the first gateway identifier (indicating that the second communication device is After accessing the gateway), it can be determined whether the second communication device and the first communication device are connected to the same gateway, or whether they can interact through the gateway;
- the first communication device can, based on the address of the second communication device, use the gateway to which both the first communication device and the second communication device are accessed. , interact with the second communication device;
- the first communication device can obtain the address and interaction assistance information of the second communication device from the first information, and then after determining that the interaction assistance information includes the second path indication information, the first communication device can obtain the address and interaction assistance information based on the supporting gateway.
- the first communication device can, based on the address of the second communication device, use the gateway to which both the first communication device and the second communication device are accessed. Or the gateway indicated by the gateway ID that supports gateway interaction, or the gateway corresponding to the gateway IP address, interacts with the second communication device;
- the first communication device can obtain the address and interaction assistance information of the second communication device from the first information, and then after determining that the interaction assistance information includes the second path indication information, the first communication device can obtain the address and interaction assistance information based on the second The gateway path indicated by the path indication information interacts with the second communication device through the gateway;
- the first communication device can obtain the address and interaction auxiliary information of the second communication device from the first information, and after determining that the interaction auxiliary information includes the second path indication information, the first communication device can obtain the second communication device's address and interaction auxiliary information from the first information.
- a gateway interacts with the second communications device.
- the first communication device determines the interaction mode based on the first information, include:
- the first communication device determines that the second communication device and the first communication device are not under the same gateway based on the first gateway identifier and/or the second path indication information, and determines that the interaction method includes The default interaction method and/or other interaction methods; the default interaction method is interaction through the PIN server of the third communication device;
- the other interaction methods are predefined by the protocol or randomly determined or instructed by the communication peer.
- the first communication device can interact with the second communication device through a default interaction method or other interaction methods based on the address of the second communication device. interaction;
- interaction methods may be any interaction method except the interaction method of "interacting with the second communication device through the gateway";
- other interaction methods may be that the first communication device interacts with the second communication device through the third communication device;
- the default interaction method includes: the first communication device interacts with the second communication device through a third communication device, where the third communication device includes a device for providing PIN services;
- the PIN service includes at least one of the following: PIN creation, PIN update, PIN member addition, and PIN release.
- the default interaction mode may be predefined by the protocol, or set in advance, or instructed in advance by the third communication device;
- the default interaction mode may be that the first communication device communicates with the second communication device through the third communication device. mutual;
- the third communication device is a device that can provide PIN services, and the third communication device provides at least one of the following PIN services:
- the third communication device may be a PIN server or a PINMF;
- the first communication device determines the interaction mode based on the first information, including:
- the first communication device determines that the address of the second communication device is an internal IP address based on the first IP type indication information
- the first communication device determines that the interaction method includes direct interaction.
- the first communication device can obtain the address and interaction auxiliary information of the second communication device from the first information. If it is determined that the interaction auxiliary information includes the first IP type indication information, it can If it is determined that the obtained address of the second communication device is an internal IP address, it can directly interact with the internal IP address (second communication device).
- the interaction assistance information indicates that the address of the second communication device is an internal IP address
- it can indicate that the IP address of the second communication device and the IP address of the first communication device belong to the same internal network segment, for example, both It is a network segment of the 192.168.X.X series
- the second communication device and the first communication device can interact directly.
- the first communication device can also compare its own IP address with the IP address of the second communication device. If they belong to the same IP address segment or network segment, such as the network segment of 192.168.X.X, then yes Can interact directly;
- the first communication device determines the interaction mode based on the first information, including:
- the first communication device determines, based on the first path indication information, that the interaction mode includes interaction through 5GC.
- the first path indication information may indicate that the address of the second communication device can be accessed through 5GS (5G System);
- the interaction method between PEMC and PINE B through 5GS interaction can include: PEMC->PEGC1->RAN->UPF->PEGC 2->PINE B;
- FIG. 5 is a schematic diagram of the interaction method through 5GC provided by the embodiment of the present application. As shown in Figure 5, taking the first communication device as PEMC and the second communication device as PINE as an example, PEMC and PINE can interact through 5GC. .
- the third communication device may generate or send the first path indication information based on the following judgment: the first communication device or the second communication device supports 5GS access only when both are 5G terminals, or the third communication device supports 5GS access.
- the first path indication information is only available when the first communication device and the second communication device can communicate with each other through 5GS;
- the first communication device after the first communication device receives the first information, it can obtain the information of the second communication device from the first information. address and interaction assistance information, then when it is determined that the interaction assistance information includes the first path indication information, the first communication device can determine that it can interact with the second communication device through 5GC;
- the first communication device may interact with the second communication device through 5GC;
- the first communication device may interact with the second communication device based on the 5GC path through 5GC.
- the first communication device determines the interaction mode based on the first information, including:
- the first communication device determines that the address of the second communication device is an external IP address based on the second IP type indication information, and determines that the interaction mode includes interaction through 5GC and/or interaction through a third communication device. Interaction through the third communication device is definitely possible, but interaction through 5GC may or may not be possible. If 5GC interaction is supported, the indication of the 5GC interaction may be included in the second IP type indication information.
- the second IP type indication information may indicate that the IP address of the second communication device is not in the same address segment as the IP address of the first communication device, but is an external IP address. Then it may be determined that the first communication device and the second communication device are not in the same address segment.
- the interaction mode between communication devices is from interacting with the second communication device through 5GC (5GS bypass) or interacting with the second communication device through a third communication device (from PIN sever bypass); optionally,
- the second IP type indication information can also indicate that the second communication device can interact through the gateway.
- the second IP type indication information can also include: gateway ID or gateway IP address;
- the first communication device can obtain the address and interaction auxiliary information of the second communication device from the first information. If it is determined that the interaction auxiliary information includes the second IP type indication information, the first communication device A communication device may determine to interact with a second communication device through 5GC and/or through a third communication device;
- the first communication device may interact with the second communication device through 5GC, or, if a 5GC path is obtained, interact with the second communication device through 5GC based on the 5GC path;
- the first communication device may interact with the second communication device through the third communication device, or in the case of obtaining the address of the third communication device, based on the address of the third communication device, interact with the third communication device through the third communication device. Interaction with the second communication device.
- the address of the third communication device has been configured in the first communication device, or the first communication device can interact with the third communication device.
- the first communication device determines the interaction mode based on the first information, including:
- the first communication device determines, based on the third path indication information, that the interaction mode includes interaction through a third communication device.
- the third communication device may be a PIN server (PIN server);
- FIG. 6 is a schematic diagram of an interaction mode through a third communication device provided by an embodiment of the present application. As shown in Figure 6, taking the first communication device as PEMC and the second communication device as PINE as an example, PEMC and PINE can to interact via PIN sever.
- PEMC and PINE can to interact via PIN sever.
- the first communication device can obtain the address and interaction assistance information of the second communication device from the first information, and then when it is determined that the interaction assistance information includes the third path indication information, it can be determined The first communication device and the second communication device interact through the third communication device;
- the first communication device may interact with the second communication device through a third communication device, or in the case of obtaining the address of the third communication device, communicate with the third communication device through the third communication device based on the address of the third communication device.
- the second communication device interacts.
- the first communication obtains first information, including:
- the first communication device sends a first request to the third communication device
- the first communication device receives the second information sent by the third communication device based on the first request
- the first communication device obtains the first information based on the second information.
- the second information satisfies any of the following:
- the second information includes the first information; for example, the first communication device requests to obtain the second communication The IP address of the device, the third communication device sends a response, feeding back the IP address of the second communication device and the corresponding interactive auxiliary information;
- the second information includes multiple IP addresses, and interaction auxiliary information corresponding to the multiple IP addresses respectively, correspondingly , the first communication device obtains the first information based on the second information, including:
- the first communication device determines the IP address of the second communication device to be interacted with from the plurality of IP addresses;
- the first communication device determines the interaction auxiliary information of the second communication device to be interacted with based on the interaction auxiliary information respectively corresponding to the multiple IP addresses.
- the first communication device sends a first request to the third communication device, and the first request is used to request to find PINEs under a certain PIN;
- the third communication device sends the IP addresses of all PINEs under the PIN, and each Interaction auxiliary information corresponding to each PINE IP address;
- the first communication device may obtain the first information by obtaining it from the third communication device;
- the first communication device when it needs to interact with the second communication device, it can first send a first request to the third communication device to indicate that it needs to interact with the network element.
- the first request can carry the network element that needs to interact.
- the identification is the identification of the second communication device, and the third communication device can generate the interaction auxiliary information of the second communication device based on the first request, and send it to the first communication device based on the address of the second communication device and the interaction auxiliary information.
- the second information can be used to provide the first information to the first communication device.
- the first communication device After receiving the second information, the first communication device can further determine the address and interaction auxiliary information of the second communication device;
- the first communication device when it needs to interact with the second communication device, it may first send a first request to the third communication device to indicate that it needs to interact with the network element.
- the first request may not carry the network element that needs to be interacted with.
- the first communication device is not yet sure which network element to interact with, and then the third communication device can determine one or more IP addresses that can interact with the first communication device based on the first request, and generate every Interaction auxiliary information corresponding to each IP address respectively, and based on one or more IP addresses and interaction auxiliary information corresponding to each IP address, the second information is sent to the first communication device.
- the second information can be used to provide The first communication device provides the first information.
- the first communication device can obtain one or more IP addresses and interaction auxiliary information corresponding to each IP address, and then determine the second communication device that needs to interact. address and interaction auxiliary information; optionally, when the first communication device needs to interact with the second communication device, it can first send a first request to the third communication device to indicate the need to interact with the network element, and then the third communication device The communication device may generate the interaction assistance information based on the first request; and generate the second information based on the address and/or interaction assistance information of the second communication device, and then send the second communication assistance information to the first communication device. information;
- the first communication device when it needs to interact with the second communication device, it can first send a first request to the third communication device to indicate that it needs to interact with the network element, and then the third communication device can send a request based on the second communication Generate the interactive auxiliary information based on one or more of the address of the device, the address of the first communication device, and the terminal capability of the first communication device; and based on the address of the second communication device and/or the interactive auxiliary information, Generate the second information, and then send the second information to the first communication device;
- the first request may include an identification of the second communication device, that is, indicating that the first communication device needs to interact with the second communication device, and then the content fed back by the third communication device may include the information corresponding to the second communication device. the first information;
- the first request may include identifications of multiple second communication devices, that is, indicating that the first communication device needs to interact with the second communication device, and then the content fed back by the third communication device may include the multiple second communication devices.
- the first request may not include the identification of the second communication device, and only indicates that the first communication device needs to interact with the control plane and/or the user plane.
- the content fed back by the third communication device may include multiple communication devices.
- the first communication device can select one or more second communication devices from the plurality of communication devices for interaction.
- the first request is used to request to query the PINE in the PIN corresponding to a certain PIN ID.
- the third communication device can feed back all the PINEs included in the PIN, their PINE IDs and PINE IP addresses.
- the first communication device determines the interaction method based on the first information, including:
- the first communication device determines the relationship between the first communication device and the second communication device based on the priorities between the multiple interaction modes. Interactive ways of interacting.
- the interaction auxiliary information indicates multiple types of information, that is, if the first communication device can determine based on the interaction auxiliary information that the interaction mode includes multiple interaction modes, it may be based on one of the multiple interaction modes.
- the priority between the first communication device and the second communication device determines the interaction mode adopted by the first communication device and the second communication device; optionally, the priority between multiple interaction modes can be set to: the interaction mode with higher interaction efficiency, the priority is The higher; the lower the interaction efficiency, the lower the priority;
- the priority between multiple interaction modes can be set as follows: intranet IP interaction mode has a higher priority than the network IP interaction mode.
- the gateway interaction mode is higher than the 5GC interaction mode and the PIN server interaction mode.
- the PIN server interaction mode is the default interaction mode, and the embodiments of the present application do not limit this;
- the priorities between multiple interaction methods can be set as follows: the intranet IP interaction method has a higher priority than the gateway interaction method, the gateway interaction method has a higher priority than the 5GC interaction method, and the 5GC interaction method has a higher priority than the PIN server interaction method.
- the PIN server interaction mode is the default interaction mode, and the embodiments of the present application do not limit this.
- the priorities between multiple interaction modes can be set in any priority order according to the application scenario and interaction task requirements, which is not limited in the embodiments of the present application.
- the first communication device may randomly determine an interaction mode from the multiple interaction modes with equal priorities for interaction.
- the default interaction mode can be used for interaction.
- the first communication device may determine that the interaction mode includes: default interaction mode: interaction through the third communication device; this interaction mode is the most basic interaction mode, and the PIN must support this mode of interaction with the second communication device.
- the first communication device determines that the interaction method may include but is not limited to the following situations:
- the first IP type indication information only indicates that the IP address of the second communication device is an internal IP address. Then, the first communication device can compare its own IP address with the IP address of the second communication device to see whether they are in the same IP address. Network segment, for example, the IP network segment of 192.168.X.X. If so, the first communication device can directly interact with the second communication device;
- the first IP type indication information also indicates that the IP address of the second communication device is an internal IP address + an indication that direct interaction is possible.
- the first communication device does not need to compare IP network segments (because the third communication device can directly Seeing the IP address of the first communication device and the IP address of the second communication device), the first communication device can directly interact with the second communication device;
- the first IP type indication information also includes other indication information, such as: indicating that the interaction can be through the 5GC, or that the interaction can be through the gateway (when the indication is that the interaction can be through the gateway, it carries the gateway ID or gateway IP address ), at this time, the first communication device can choose 5GC interaction or gateway interaction.
- the first communication device can also compare itself.
- the first communication device when there is first IP type indication information, preferentially selects internal direct interaction or gateway interaction. This method of interaction is more convenient and faster.
- the first communication device determines the interaction mode may include but is not limited to the following situations: due to the second IP type indication information, it is used to indicate to the second communication device
- the IP address is an external IP address, which can only be interacted with through 5GC, or gateway. Direct interaction is not possible. Therefore, the second IP type indication information may also carry: 5GC interaction indication or gateway interaction indication information (the gateway interaction indication information may include gateway ID or gateway IP address).
- the interaction mode between the second communication devices avoids the determined interaction mode being unsupportable or inefficient by the first communication device or the second communication device, ensuring interaction efficiency.
- FIG 7 is the second flow diagram of the interaction method provided by the embodiment of the present application. As shown in Figure 7, the interaction method includes the following process:
- Step 700 the third communication device receives the first request
- Step 710 The third communication device sends the second information to the first communication device based on the first request, where the second information is used to provide the first communication device with first information;
- the first information includes the address of the second communication device and/or interaction auxiliary information, and the interaction auxiliary information is used to indicate a manner in which the first communication device interacts with the second communication device.
- the first communication device may first send a first request to the third communication device to indicate the need to interact with the network element;
- the third communication device may receive the first request and send the second information to the first communication device based on the first request; the first communication device may obtain the first information based on the second information;
- the first communication device may be a PEMC
- the second communication device may be a PINE
- the first communication device may predetermine the interaction mode with the second communication device;
- the first communication device may obtain the first information, and determine a more appropriate interaction method or the most appropriate interaction method with the second communication device based on the address and/or interaction auxiliary information of the second communication device included in the first information.
- Fast interaction method ;
- the first communication device requests to obtain the IP address of the second communication device, and the third communication device sends a response to feed back the IP address of the second communication device and the corresponding interactive assistance information;
- the first information is provided to the first communication device so that the first communication device obtains the address of the second communication device and/or is used to indicate the connection between the first communication device and the second communication device.
- Interaction auxiliary information of the interaction mode of the interaction and then determine the interaction mode of the interaction between the first communication device and the second communication device, to avoid that the determined interaction mode is unsupported by the first communication device or the second communication device or Inefficient interaction method to ensure interaction efficiency.
- the second information includes the first information
- the third communication device sends second information to the first communication device based on the first request, including:
- the third communication device generates the interactive assistance information
- the third communication device generates the third communication device based on the address and/or interaction assistance information of the second communication device. Second information, sending the second information to the first communication device.
- the first communication device when it needs to interact with the second communication device, it can first send a first request to the third communication device to indicate that it needs to interact with the network element, and then the third communication device can send a request based on the first request. , generate the interactive auxiliary information; and generate the second information based on the address and/or the interactive auxiliary information of the second communication device, and then send the second information to the first communication device; the first communication device can Based on the second information, the first information is obtained.
- the third communication device generates the interactive assistance information, including:
- the third communication device generates the interactive assistance information based on third information, where the third information includes at least one of the following:
- the address of the second communication device is the address of the second communication device
- the address of the first communication device is the address of the first communication device
- the gateway identifier or gateway address to which the first communication device belongs
- Terminal capabilities of the first communication device are Terminal capabilities of the first communication device.
- the first communication device when it needs to interact with the second communication device, it can first send a first request to the third communication device to indicate that it needs to interact with the network element, and then the third communication device can send a request based on the second communication Generate the interactive auxiliary information based on one or more of the address of the device, the address of the first communication device, and the terminal capability of the first communication device; and based on the address of the second communication device and/or the interactive auxiliary information, Generate the second information, and then send the second information to the first communication device; the first communication device can obtain the first information based on the second information.
- the terminal capability of the first communication device may mean that the first communication device is a 5G terminal or supports 5G.
- interaction assistance information may be generated, and the interaction assistance information may include first path indication information.
- the second information includes multiple IP addresses, and interactive assistance corresponding to the multiple IP addresses respectively.
- Information the third communication device sends second information to the first communication device based on the first request, including:
- the third communication device determines multiple IP addresses; the multiple IP addresses are the IP addresses of the second communication device that the potential first communication device wants to interact with;
- the third communication device generates interaction auxiliary information corresponding to the plurality of IP addresses respectively; interaction auxiliary information corresponding to the plurality of IP addresses respectively, and the IP address of the second communication device to be interacted with by the potential first communication device.
- interactive auxiliary information corresponding to the plurality of IP addresses respectively; interaction auxiliary information corresponding to the plurality of IP addresses respectively, and the IP address of the second communication device to be interacted with by the potential first communication device.
- the third communication device generates the second information based on the multiple IP addresses and the interactive auxiliary information corresponding to the multiple IP addresses, and sends the second information to the first communication device;
- the plurality of IP addresses are used to determine at least one second communication device; the interactive auxiliary information corresponding to the multiple IP addresses are used to determine the interactive auxiliary information of at least one second communication device.
- the third communication device generates interactive assistance information corresponding to the plurality of IP addresses, including:
- the third communication device generates interactive assistance information corresponding to the plurality of IP addresses based on fourth information, where the fourth information includes at least one of the following:
- the plurality of IP addresses, the plurality of IP addresses include the IP address of the second communication device
- the address of the first communication device is the address of the first communication device
- the gateway identifier or gateway address to which the first communication device belongs
- Terminal capabilities of the first communication device are Terminal capabilities of the first communication device.
- the third communication device can determine the network elements that can interact with the first communication device, determine the IP addresses of these network elements, generate interaction auxiliary information corresponding to each IP address, and then combine the IP addresses of these network elements with The interaction auxiliary information corresponding to each IP address is sent to the first communication device.
- the first communication device can determine an IP address from the IP addresses of these network elements as the IP address of the second communication device, and based on the IP
- the interaction auxiliary information corresponding to the address determines the interaction mode with the second communication device, and then completes the interaction with the second communication device.
- the first communication device sends a first request to the third communication device.
- the first request is used to request to find a PINE under a certain PIN. That is, the first request does not carry the identification of the network element, but does carry the PIN corresponding to it.
- the identification or default is the PIN where the first communication device is located; the third communication device can send the IP addresses of all PINEs under the PIN, and the interactive auxiliary information corresponding to each PINE IP address;
- the first information is provided to the first communication device so that the first communication device obtains the address of the second communication device and/or is used to indicate the connection between the first communication device and the second communication device.
- Interaction auxiliary information of the interaction mode of the interaction and then determine the interaction mode of the interaction between the first communication device and the second communication device, to avoid that the determined interaction mode is unsupported by the first communication device or the second communication device or Inefficient interaction method to ensure interaction efficiency.
- FIG. 8 is a third schematic flowchart of the interaction method provided by the embodiment of the present application. As shown in Figure 8, taking the first communication device as PEMC, the second communication device as PINE, and the third communication device as PIN server as an example, the interaction Methods include the following processes:
- Step 1 PEMC sends a first request, which is used to request to obtain PINE-related information from PINMF.
- PEMC can request the PINMF for the address information and/or interaction auxiliary information of PINE in a certain PIN through the first request;
- the interaction assistance information is used to indicate to the PEMC what interaction method the PEMC can use to interact with the PINE in control plane signaling and/or user plane signaling.
- the PINE address information includes:
- PINE IP address which can be an intranet IP address
- the PINE IP address can be the address after gateway NAT, that is, the external IP address.
- interactive auxiliary information includes at least one of the following:
- a first gateway identifier is used to indicate a gateway that the second communication device accesses, and there are one or more gateways that the second communication device accesses;
- the first IP type indication information is used to indicate that the address of the second communication device is an internal IP address for direct interaction
- the second IP type indication information is used to indicate that the address of the second communication device is an external IP address
- First path indication information the first path indication information is used to indicate that the interaction mode includes interaction through 5GC and/or the first path indication information is used to indicate a 5GC path, the 5GC path includes the first communication The path of interaction between the device and the second communication device through 5GC;
- Second path indication information the second path indication information is used to indicate that the interaction mode includes interaction through a gateway and/or the second path indication information is used to indicate first auxiliary information
- the first auxiliary information includes the following At least one item: a path for interaction between the first communication device and the second communication device through a gateway, a gateway ID that supports gateway interaction, and a gateway IP address;
- Third path indication information is used to indicate that the interaction mode includes interaction through a third communication device and/or the third path indication information is used to indicate second auxiliary information, the second auxiliary information
- the information includes: a path for interaction between the first communication device and the second communication device through a third communication device, and/or the address of the third communication device.
- the interactive auxiliary information can be associated with a specific PINE or PINEs
- the first request may include an identification of the second communication device, that is, indicating that the first communication device needs to interact with the second communication device, and then the content fed back by the third communication device may include the information corresponding to the second communication device. the first information;
- the first request may include identifications of multiple second communication devices, that is, indicating that the first communication device needs to interact with the second communication device, and then the content fed back by the third communication device may include the multiple second communication devices.
- the first request may not include the identification of the second communication device, and only indicates that the first communication device needs to interact with the control plane and/or the user plane.
- the content fed back by the third communication device may include multiple communication devices.
- the first communication device can select one or more second communication devices from the plurality of communication devices for interaction.
- Step 3 PEMC receives the PIN server's response to the first request, which includes first information.
- the first information includes the address of PINE and/or interaction auxiliary information, and PEMC can determine the interaction method based on the first information;
- the process of determining the interaction method includes one or more of the following:
- the interaction assistance information includes the first gateway identification and/or the second path indication information
- the first communication device based on the first gateway identification and/or the second Path indication information
- OK The second communication device and the first communication device are under the same gateway, and it is determined that the interaction mode includes interaction through a gateway.
- the interaction assistance information includes the first gateway identification and/or the second path indication information
- the first communication device based on the first gateway identification and/or the second Path indication information, determining that the second communication device and the first communication device are not under the same gateway, and determining that the interaction mode includes a default interaction mode and/or other interaction modes
- the other interaction methods are predefined by the protocol or randomly determined or instructed by the communication peer.
- the default interaction method includes: the first communication device interacts with the second communication device through a third communication device, and the third communication device includes a device for providing PIN services;
- the PIN service includes at least one of the following: PIN creation, PIN update, PIN member addition, and PIN release.
- the first communication device determines that the address of the second communication device is an internal IP based on the first IP type indication information. address;
- the first communication device determines that the interaction method includes direct interaction.
- the first communication device determines, based on the first path indication information, that the interaction mode includes interaction through 5GC.
- the first communication device determines that the address of the second communication device is an external IP based on the second IP type indication information. Address, it is determined that the interaction method includes interaction through 5GC and/or interaction through a third communication device.
- the first communication device determines, based on the third path indication information, that the interaction mode includes interaction through a third communication device.
- the execution subject may be an interaction device.
- the interactive device executing the interaction method is taken as an example to illustrate the interactive device provided by the embodiment of the present application.
- Figure 9 is one of the structural schematic diagrams of the interaction device provided by the embodiment of the present application.
- the interaction device 900 includes: a first acquisition module 910 and a first determination module 920; wherein:
- the first acquisition module 910 is used to acquire first information; the first information includes the address of the second communication device and/or interaction auxiliary information, and the interaction auxiliary information is used to indicate that the first communication device communicates with the second communication device. Interaction methods for interaction between communication devices;
- the first determining module 920 is configured to determine the interaction mode based on the first information.
- the interactive device provided by the embodiments of the present application can implement each process implemented by the above method embodiments and achieve the same technical effect. To avoid duplication, the details will not be described here.
- the interaction mode between the second communication devices avoids the determined interaction mode being unsupportable or inefficient by the first communication device or the second communication device, ensuring interaction efficiency.
- the address of the second communication device includes: an internal IP address of the personal Internet of Things PIN where the second communication device is located, and/or an external IP address.
- the interactive assistance information includes at least one of the following:
- a first gateway identifier is used to indicate a gateway that the second communication device accesses, and there are one or more gateways that the second communication device accesses;
- the first IP type indication information is used to indicate that the address of the second communication device is an internal IP address for direct interaction
- the second IP type indication information is used to indicate that the address of the second communication device is an external IP address
- First path indication information the first path indication information is used to indicate that the interaction mode includes interaction through 5GC and/or the first path indication information is used to indicate a 5GC path, the 5GC path includes the first communication The path of interaction between the device and the second communication device through 5GC;
- Second path indication information the second path indication information is used to indicate that the interaction mode includes interaction through a gateway and/or the second path indication information is used to indicate first auxiliary information
- the first auxiliary information includes the following At least one item: a path for interaction between the first communication device and the second communication device through a gateway, a gateway ID that supports gateway interaction, and a gateway IP address;
- Third path indication information is used to indicate that the interaction mode includes interaction through a third communication device and/or the third path indication information is used to indicate second auxiliary information, the second auxiliary information
- the information includes: a path for interaction between the first communication device and the second communication device through a third communication device, and/or the address of the third communication device.
- the first determination module is configured to:
- the second communication device and the first communication device are under the same gateway, and it is determined that the interaction mode includes interaction through a gateway.
- the first determination module is configured to:
- the interaction mode includes a default interaction mode and/or Other methods of interaction
- the other interaction methods are predefined by the protocol or randomly determined or instructed by the communication peer.
- the default interaction method includes: the first communication device interacts with the second communication device through a third communication device, where the third communication device includes a device for providing PIN services;
- the PIN service includes at least one of the following: PIN creation, PIN update, PIN member addition, and PIN release.
- the interaction method includes direct interaction.
- the first determination module is configured to:
- the interaction mode includes interaction through 5GC.
- the first determination module is configured to:
- the address of the second communication device is an external IP address, and it is determined that the interaction mode includes interaction through 5GC and/or interaction through a third communication device.
- the first determination module is configured to:
- the interaction mode includes interaction through a third communication device.
- the first acquisition module is used to:
- the first information is obtained.
- the second information satisfies any of the following:
- the second information includes the first information
- the first acquisition module is used for:
- Interaction auxiliary information of the second communication device to be interacted is determined according to the interaction auxiliary information respectively corresponding to the plurality of IP addresses.
- the first determination module is used to:
- an interaction mode for interaction between the first communication device and the second communication device is determined based on the priorities between the multiple interaction modes.
- the interaction mode between the second communication devices avoids the determined interaction mode being unsupportable or inefficient by the first communication device or the second communication device, ensuring interaction efficiency.
- the interactive device in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or may be a component in the electronic device, such as an integrated circuit or chip.
- the electronic device may be a terminal or a Devices other than terminals.
- terminals may include but are not limited to the types of terminals 11 listed above, and other devices may be servers, network attached storage (Network Attached Storage, NAS), etc., which are not specifically limited in the embodiment of this application.
- the interactive device provided by the embodiments of the present application can implement each process implemented by the method embodiments in Figures 3-6 and achieve the same technical effect. To avoid duplication, the details will not be described here.
- Figure 10 is the second structural schematic diagram of an interactive device provided by an embodiment of the present application.
- the device 1000 includes: a first receiving module 1010 and a first sending module 1020; wherein:
- the first receiving module 1010 is used to receive the first request
- the first sending module 1020 is configured to send second information to the first communication device based on the first request, where the second information is used to provide the first information to the first communication device;
- the first information includes the address of the second communication device and/or interaction auxiliary information, and the interaction auxiliary information is used to indicate a manner in which the first communication device interacts with the second communication device.
- the interactive device provided by the embodiments of the present application can implement each process implemented by the above method embodiments and achieve the same technical effect. To avoid duplication, the details will not be described here.
- the first information is provided to the first communication device so that the first communication device obtains the address of the second communication device and/or is used to indicate the connection between the first communication device and the second communication device.
- Interaction auxiliary information of the interaction mode of the interaction and then determine the interaction mode of the interaction between the first communication device and the second communication device, to avoid that the determined interaction mode is unsupported by the first communication device or the second communication device or Inefficient interaction method to ensure interaction efficiency.
- the second information includes the first information
- the first sending module is used for:
- the second information is generated based on the address and/or interaction assistance information of the second communication device, and the second information is sent to the first communication device.
- the first sending module is used for:
- the interaction auxiliary information is generated based on third information, where the third information includes at least one of the following:
- the address of the second communication device is the address of the second communication device
- the address of the first communication device is the address of the first communication device
- the gateway identifier or gateway address to which the first communication device belongs
- Terminal capabilities of the first communication device are Terminal capabilities of the first communication device.
- the second information includes multiple IP addresses, and interactive assistance corresponding to the multiple IP addresses respectively.
- the first sending module is used for:
- the plurality of IP addresses are used to determine at least one second communication device; the interactive auxiliary information corresponding to the multiple IP addresses are used to determine the interactive auxiliary information of at least one second communication device.
- the first sending module is used for:
- interaction auxiliary information corresponding to the plurality of IP addresses is generated, and the fourth information includes at least one of the following:
- the plurality of IP addresses, the plurality of IP addresses include the IP address of the second communication device
- the address of the first communication device is the address of the first communication device
- the gateway identifier or gateway address to which the first communication device belongs
- Terminal capabilities of the first communication device are Terminal capabilities of the first communication device.
- the first information is provided to the first communication device so that the first communication device obtains the address of the second communication device and/or is used to indicate the connection between the first communication device and the second communication device.
- Interaction auxiliary information of the interaction mode of the interaction and then determine the interaction mode of the interaction between the first communication device and the second communication device, to avoid that the determined interaction mode is unsupported by the first communication device or the second communication device or Inefficient interaction method to ensure interaction efficiency.
- the interactive device in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or may be a component in the electronic device, such as an integrated circuit or chip.
- the electronic device may be a terminal or other devices other than the terminal.
- terminals may include but are not limited to the types of terminals 11 listed above, and other devices may be servers, network attached storage (Network Attached Storage, NAS), etc., which are not specifically limited in the embodiment of this application.
- NAS Network Attached Storage
- the interactive device provided by the embodiment of the present application can implement each process implemented by the method embodiment in Figure 7 and achieve the same technical effect. To avoid duplication, details will not be described here.
- Figure 11 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
- an embodiment of the present application also provides a communication device 1100, which includes a processor 1101 and a memory 1102.
- the memory 1102 stores A program or instruction that can be run on the processor 1101.
- the communication device 1100 is a first communication device, when the program or instruction is executed by the processor 1101, it implements the steps of the above interactive method embodiment and can achieve Same technical effect.
- the communication device 1100 is a second communication device, when the program or instruction is executed by the processor 1101, each step of the above interactive method embodiment is implemented, and the same technical effect can be achieved. To avoid duplication, the details will not be described here.
- An embodiment of the present application also provides a first communication device.
- the first communication device includes a processor and a communication interface, wherein the processor is used to:
- the first information includes the address of the second communication device and/or interaction auxiliary information, the interaction auxiliary information is used to indicate the interaction between the first communication device and the second communication device Way;
- the interaction mode is determined.
- FIG. 12 is a schematic diagram of the hardware structure of a first communication device that implements an embodiment of the present application.
- the first communication device 1200 includes but is not limited to: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensor 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209 and processor 1210 At least some parts of etc.
- the first communication device 1200 may also include a power supply (such as a battery) that supplies power to various components.
- the power supply may be logically connected to the processor 1210 through a power management system, thereby managing charging, discharging, and And functions such as power consumption management.
- the structure of the first communication device shown in Figure 12 does not constitute a limitation on the first communication device.
- the first communication device may include more or less components than shown in the figure, or combine certain components, or arrange different components. , which will not be described in detail here.
- the input unit 1204 may include a graphics processing unit (Graphics Processing Unit, GPU) 12041 and a microphone 12042.
- the graphics processor 12041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras).
- the display unit 1206 may include a display panel 12061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
- the user input unit 1207 includes at least one of a touch panel 12071 and other input devices 12072 .
- Touch panel 12071 also known as touch screen.
- the touch panel 12071 may include two parts: a touch detection device and a touch controller.
- Other input devices 12072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
- the radio frequency unit 1201 after receiving downlink data from the network side device, the radio frequency unit 1201 can transmit it to the processor 1210 for processing; in addition, the radio frequency unit 1201 can send uplink data to the network side device.
- the radio frequency unit 1201 includes, but is not limited to, an antenna, amplifier, transceiver, coupler, low noise amplifier, duplexer, etc.
- Memory 1209 may be used to store software programs or instructions as well as various data.
- the memory 1209 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, Image playback function, etc.) etc.
- memory 1209 may include volatile memory or nonvolatile memory, or memory 1209 may include both volatile and nonvolatile memory.
- the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
- Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM, SLDRAM) ) and direct memory bus random access memory (Direct Rambus RAM, DRRAM).
- RAM Random Access Memory
- SRAM static random access memory
- DRAM dynamic random access memory
- DRAM synchronous dynamic random access memory
- SDRAM double data rate synchronous dynamic random access memory
- Double Data Rate SDRAM Double Data Rate SDRAM
- DDRSDRAM double data rate synchronous dynamic random access memory
- Enhanced SDRAM, ESDRAM enhanced synchronous dynamic random access memory
- Synch link DRAM, SLDRAM synchronous link dynamic random access memory
- the processor 1210 may include one or more processing units; optionally, the processor 1210 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 1210.
- processor 1210 is used for:
- the first information includes the address of the second communication device and/or interaction auxiliary information, the interaction auxiliary information is used to indicate the interaction between the first communication device and the second communication device Way;
- the interaction mode is determined.
- the interaction mode between the second communication devices avoids the determined interaction mode being unsupportable or inefficient by the first communication device or the second communication device, ensuring interaction efficiency.
- the address of the second communication device includes: an internal IP address of the personal Internet of Things PIN where the second communication device is located, and/or an external IP address.
- the interactive assistance information includes at least one of the following:
- a first gateway identifier is used to indicate a gateway that the second communication device accesses, and there are one or more gateways that the second communication device accesses;
- the first IP type indication information is used to indicate that the address of the second communication device is an internal IP address for direct interaction
- the second IP type indication information is used to indicate that the address of the second communication device is an external IP address
- First path indication information the first path indication information is used to indicate that the interaction mode includes interaction through 5GC and/or the first path indication information is used to indicate a 5GC path, the 5GC path includes the first communication The path of interaction between the device and the second communication device through 5GC;
- Second path indication information the second path indication information is used to indicate that the interaction mode includes interaction through a gateway and/or the second path indication information is used to indicate first auxiliary information
- the first auxiliary information includes the following At least one item: a path for interaction between the first communication device and the second communication device through a gateway, a gateway ID that supports gateway interaction, and a gateway IP address;
- Third path indication information is used to indicate that the interaction mode includes interaction through a third communication device and/or the third path indication information is used to indicate second auxiliary information, the second auxiliary information information
- the method includes: a path for interaction between the first communication device and the second communication device through a third communication device, and/or the address of the third communication device.
- the processor 1210 is configured to:
- the second communication device and the first communication device are under the same gateway, and it is determined that the interaction mode includes interaction through a gateway.
- the processor 1210 is configured to:
- the interaction mode includes a default interaction mode and/or Other methods of interaction
- the other interaction methods are predefined by the protocol or randomly determined or instructed by the communication peer.
- the default interaction method includes: the first communication device interacts with the second communication device through a third communication device, where the third communication device includes a device for providing PIN services;
- the PIN service includes at least one of the following: PIN creation, PIN update, PIN member addition, and PIN release.
- the processor 1210 is configured to:
- the interaction method includes direct interaction.
- the processor 1210 is configured to:
- the interaction mode includes interaction through 5GC.
- the processor 1210 is configured to:
- the address of the second communication device is an external IP address, and it is determined that the interaction mode includes interaction through 5GC and/or interaction through a third communication device.
- the processor 1210 is configured to:
- the interaction mode includes interaction through a third communication device.
- processor 1210 is used to:
- the first information is obtained.
- the second information satisfies any of the following:
- the second information includes the first information
- the second information includes multiple IP addresses, and interaction auxiliary information corresponding to the multiple IP addresses respectively, correspondingly , processor 1210 is used for:
- Interaction auxiliary information of the second communication device to be interacted is determined according to the interaction auxiliary information respectively corresponding to the plurality of IP addresses.
- processor 1210 is used to:
- an interaction mode for interaction between the first communication device and the second communication device is determined based on the priorities between the multiple interaction modes.
- the interaction mode between the second communication devices avoids the determined interaction mode being unsupportable or inefficient by the first communication device or the second communication device, ensuring interaction efficiency.
- An embodiment of the present application also provides a second communication device, including a processor and a communication interface, wherein the communication interface is used for:
- the first information includes the address of the second communication device and/or interaction auxiliary information, and the interaction auxiliary information is used to indicate a manner in which the first communication device interacts with the second communication device.
- FIG. 13 is a schematic diagram of the hardware structure of a second communication device that implements an embodiment of the present application.
- the second communication device 1300 includes but is not limited to: radio frequency unit 1301, network module 1302, audio output unit 1303, input unit 1304, sensor 1305, display unit 1306, user input unit 1307, interface unit 1308, memory 1309 and processor 1310 At least some parts of etc.
- the second communication device 1300 can also include a power supply (such as a battery) that supplies power to various components.
- the power supply can be logically connected to the processor 1310 through a power management system, thereby managing charging and discharging through the power management system. , and power consumption management and other functions.
- the structure of the second communication device shown in Figure 13 does not constitute a limitation on the second communication device.
- the second communication device may include more or less components than shown in the figure, or combine certain components, or arrange different components. , which will not be described in detail here.
- the input unit 1304 may include a graphics processing unit (GPU) 13041 and a microphone 13042.
- the graphics processor 13041 is suitable for video capture mode. Or process the image data of still pictures or videos obtained by an image capture device (such as a camera) in the image capture mode.
- the display unit 1306 may include a display panel 13061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
- the user input unit 1307 includes a touch panel 13071 and at least one of other input devices 13072 . Touch panel 13071, also called touch screen.
- the touch panel 13071 may include two parts: a touch detection device and a touch controller.
- Other input devices 13072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
- the radio frequency unit 1301 after receiving downlink data from the network side device, the radio frequency unit 1301 can transmit it to the processor 1310 for processing; in addition, the radio frequency unit 1301 can send uplink data to the network side device.
- the radio frequency unit 1301 includes, but is not limited to, an antenna, amplifier, transceiver, coupler, low noise amplifier, duplexer, etc.
- Memory 1309 may be used to store software programs or instructions as well as various data.
- the memory 1309 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, Image playback function, etc.) etc.
- memory 1309 may include volatile memory or nonvolatile memory, or memory 1309 may include both volatile and nonvolatile memory.
- non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory.
- Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM).
- RAM Random Access Memory
- SRAM static random access memory
- DRAM dynamic random access memory
- synchronous dynamic random access memory Synchronous DRAM, SDRAM
- Double data rate synchronous dynamic random access memory Double Data Rate SDRAM, DDRSDRAM
- Enhanced SDRAM, ESDRAM synchronous link dynamic random access memory
- Synch link DRAM synchronous link dynamic random access memory
- SLDRAM direct memory bus random access memory
- the processor 1310 may include one or more processing units; optionally, the processor 1310 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 1310.
- processor 1310 is used for:
- the first information includes the address of the second communication device and/or interaction auxiliary information, and the interaction auxiliary information is Instructing the first communication device to interact with the second communication device in a manner.
- the first information is provided to the first communication device so that the first communication device obtains the address of the second communication device and/or is used to indicate the connection between the first communication device and the second communication device.
- Interaction auxiliary information of the interaction mode of the interaction and then determine the interaction mode of the interaction between the first communication device and the second communication device, to avoid that the determined interaction mode is unsupported by the first communication device or the second communication device or Inefficient interaction method to ensure interaction efficiency.
- the second information includes the first information
- Processor 1310 is used for:
- the second information is generated based on the address and/or interaction assistance information of the second communication device, and the second information is sent to the first communication device.
- processor 1310 is used to:
- the interaction auxiliary information is generated based on third information, where the third information includes at least one of the following:
- the address of the second communication device is the address of the second communication device
- the address of the first communication device is the address of the first communication device
- the gateway identifier or gateway address to which the first communication device belongs
- Terminal capabilities of the first communication device are Terminal capabilities of the first communication device.
- the processor 1310 is configured to:
- the first sending module is used for:
- the plurality of IP addresses are used to determine at least one second communication device; the interactive auxiliary information corresponding to the multiple IP addresses are used to determine the interactive auxiliary information of at least one second communication device.
- processor 1310 is used to:
- interaction auxiliary information corresponding to the plurality of IP addresses is generated, and the fourth information includes at least one of the following:
- the plurality of IP addresses, the plurality of IP addresses include the IP address of the second communication device
- the address of the first communication device is the address of the first communication device
- the gateway identifier or gateway address to which the first communication device belongs
- Terminal capabilities of the first communication device are Terminal capabilities of the first communication device.
- the first communication device by providing the first information to the first communication device, the first communication device obtains The address of the second communication device and/or interaction auxiliary information used to indicate the interaction mode between the first communication device and the second communication device, thereby determining the interaction between the first communication device and the second communication device
- the interaction method avoids the determined interaction method being an interaction method that cannot be supported by the first communication device or the second communication device or is inefficient, and ensures interaction efficiency.
- Embodiments of the present application also provide a readable storage medium.
- Programs or instructions are stored on the readable storage medium.
- the program or instructions are executed by a processor, each process of the above interactive method embodiment is implemented and the same can be achieved. To avoid repetition, the technical effects will not be repeated here.
- the processor is the processor in the second communication device described in the above embodiment.
- the readable storage medium includes computer readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disk or optical disk, etc.
- An embodiment of the present application further provides a chip.
- the chip includes a processor and a communication interface.
- the communication interface is coupled to the processor.
- the processor is used to run programs or instructions to implement each of the above interactive method embodiments. The process can achieve the same technical effect. To avoid repetition, it will not be described again here.
- chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-chip or system-on-chip, etc.
- Embodiments of the present application further provide a computer program/program product.
- the computer program/program product is stored in a storage medium.
- the computer program/program product is executed by at least one processor to implement the above interactive method embodiment.
- Each process can achieve the same technical effect. To avoid duplication, it will not be described again here.
- Embodiments of the present application also provide an interactive system, including: a first communication device and a second communication device.
- the first communication device can be used to perform the steps of the interaction method as described above.
- the second communication device can be used to Perform the steps of the interactive method as described above.
- the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation.
- the technical solution of the present application essentially or the part that contributes to the existing technology can be embodied in the form of a computer software product.
- the computer software product exists Stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including a number of instructions to cause a terminal (which can be a mobile phone, computer, server, air conditioner, or network equipment, etc.) to execute various embodiments of the present application the method described.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本申请公开了一种交互方法、装置、设备及存储介质,属于通信领域,本申请实施例的交互方法包括:第一通信设备获取第一信息;所述第一信息包括第二通信设备的地址和/或交互辅助信息,所述交互辅助信息用于指示所述第一通信设备与所述第二通信设备之间交互的交互方式;所述第一通信设备基于所述第一信息,确定所述交互方式。
Description
相关申请的交叉引用
本申请要求于2022年07月21日提交的申请号为202210865129.3,发明名称为“交互方法、装置、设备及存储介质”的中国专利申请的优先权,其通过引用方式全部并入本申请。
本申请属于通信技术领域,具体涉及一种交互方法、装置、设备及存储介质。
个人物联网网络(Personal IoT network,PIN)的PIN管理功能(PIN element with management capability,PEMC)和PIN网元(PIN element,PINE)之间的控制面信令,或用户面信令,可以有几种不同的交互方式。
但是部分交互方式对于PIN管理功能(PIN element with management capability,PEMC)和PINE来说无法支持或交互效率过低,因此,如何提高PEMC和PINE之间的交互效率成为亟需解决的问题。
发明内容
本申请实施例提供一种交互方法、装置、设备及存储介质,能够解决部分交互方式对于PEMC和PINE来说无法支持或交互效率过低的问题。
第一方面,提供了一种交互方法,该方法包括:
第一通信设备获取第一信息;所述第一信息包括第二通信设备的地址和/或交互辅助信息,所述交互辅助信息用于指示所述第一通信设备与所述第二通信设备之间交互的交互方式;
所述第一通信设备基于所述第一信息,确定所述交互方式。
第二方面,提供了一种交互方法,该方法包括:
第三通信设备接收第一请求;
所述第三通信设备基于所述第一请求,向第一通信设备发送所述第二信息,所述第二信息用于为所述第一通信设备提供第一信息;
所述第一信息包括第二通信设备的地址和/或交互辅助信息,所述交互辅助信息用于指示第一通信设备与所述第二通信设备交互的方式。
第三方面,提供了一种交互装置,该装置包括:
第一获取模块,用于获取第一信息;所述第一信息包括第二通信设备的地址和/或交互辅助信息,所述交互辅助信息用于指示所述第一通信设备与所述第二通信设备之间交互的交互方式;
第一确定模块,用于基于所述第一信息,确定所述交互方式。
第四方面,提供了一种交互装置,该装置包括:
第一接收模块,用于接收第一请求;
第一发送模块,用于基于所述第一请求,向第一通信设备发送第二信息,所述第二信息用于为所述第一通信设备提供第一信息;
所述第一信息包括第二通信设备的地址和/或交互辅助信息,所述交互辅助信息用于指示第一通信设备与所述第二通信设备交互的方式。
第五方面,提供了一种第一通信设备,该第一通信设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第六方面,提供了一种第一通信设备,该第一通信设备包括处理器及通信接口,其中,所述处理器用于:
获取第一信息;所述第一信息包括第二通信设备的地址和/或交互辅助信息,所述交互辅助信息用于指示所述第一通信设备与所述第二通信设备之间交互的交互方式;
基于所述第一信息,确定所述交互方式。
第七方面,提供了一种第三通信设备,该第三通信设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第二方面所述的方法的步骤。
第八方面,提供了一种第三通信设备,包括处理器及通信接口,其中,所述通信接口用于:
接收第一请求;
基于所述第一请求,向第一通信设备发送所述第二信息,所述第二信息用于为所述第一通信设备提供第一信息;
所述第一信息包括第二通信设备的地址和/或交互辅助信息,所述交互辅助信息用于指示第一通信设备与所述第二通信设备交互的方式。
第九方面,提供了一种交互系统,包括:第一通信设备及第三通信设备,所述第一通信设备可用于执行如第一方面所述的交互方法的步骤,所述第三通信设备可用于执行如第二方面所述的交互方法的步骤。
第十方面,提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤,或者实现如第二方面所述的方法的步骤。
第十一方面,提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法,或实现如第二方面所述的方法。
第十二方面,提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现如第一方面所述的方法,或实现如第二方面所述的方法。
在本申请实施例中,通过获取第二通信设备的地址和/或用于指示第一通信设备与所述第二通信设备之间交互的交互方式的交互辅助信息,进而确定第一通信设备与所述第二通信设备之间交互的交互方式,避免确定的交互方式是第一通信设备或所述第二通信设备无法支持的或低效率的交互方式,保证交互效率。
图1示出本申请实施例可应用的一种无线通信系统的框图;
图2是相关技术提供的PIN的架构示意图;
图3是本申请实施例提供的交互方法的流程示意图之一;
图4是本申请实施例提供的通过网关交互的交互方式的示意图;
图5是本申请实施例提供的通过5GC交互的交互方式的示意图;
图6是本申请实施例提供的通过第三通信设备交互的交互方式的示意图;
图7是本申请实施例提供的交互方法的流程示意图之二;
图8是本申请实施例提供的交互方法的流程示意图之三;
图9是本申请实施例提供的交互装置的结构示意图之一;
图10是本申请实施例提供的交互装置的结构示意图之二;
图11是本申请实施例提供的通信设备的结构示意图;
图12为实现本申请实施例的一种第一通信设备的硬件结构示意图;
图13为实现本申请实施例的一种第二通信设备的硬件结构示意图。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”所区别的对象通常为一类,并不限定对象的个数,例如第一对
象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”一般表示前后关联对象是一种“或”的关系。
值得指出的是,本申请实施例所描述的技术不限于长期演进型(Long Term Evolution,LTE)/LTE的演进(LTE-Advanced,LTE-A)系统,还可用于其他无线通信系统,诸如码分多址(Code Division Multiple Access,CDMA)、时分多址(Time Division Multiple Access,TDMA)、频分多址(Frequency Division Multiple Access,FDMA)、正交频分多址(Orthogonal Frequency Division Multiple Access,OFDMA)、单载波频分多址(Single-carrier Frequency Division Multiple Access,SC-FDMA)和其他系统。本申请实施例中的术语“系统”和“网络”常被可互换地使用,所描述的技术既可用于以上提及的系统和无线电技术,也可用于其他系统和无线电技术。以下描述出于示例目的描述了新空口(New Radio,NR)系统,并且在以下大部分描述中使用NR术语,但是这些技术也可应用于NR系统应用以外的应用,如第6代(6th Generation,6G)通信系统。
图1示出本申请实施例可应用的一种无线通信系统的框图。无线通信系统包括终端11和网络侧设备12。其中,终端11可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)或称为笔记本电脑、个人数字助理(Personal Digital Assistant,PDA)、掌上电脑、上网本、超级移动个人计算机(ultra-mobile personal computer,UMPC)、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴式设备(Wearable Device)、车载设备(VUE)、行人终端(PUE)、智能家居(具有无线通信功能的家居设备,如冰箱、电视、洗衣机或者家具等)、游戏机、个人计算机(personal computer,PC)、柜员机或者自助机等终端侧设备,可穿戴式设备包括:智能手表、智能手环、智能耳机、智能眼镜、智能首饰(智能手镯、智能手链、智能戒指、智能项链、智能脚镯、智能脚链等)、智能腕带、智能服装等。需要说明的是,在本申请实施例并不限定终端11的具体类型。网络侧设备12可以包括接入网设备或核心网设备,其中,接入网设备12也可以称为无线接入网设备、无线接入网(Radio Access Network,RAN)、无线接入网功能或无线接入网单元。接入网设备12可以包括基站、WLAN接入点或WiFi节点等,基站可被称为节点B、演进节点B(eNB)、接入点、基收发机站(Base Transceiver Station,BTS)、无线电基站、无线电收发机、基本服务集(Basic Service Set,BSS)、扩展服务集(Extended Service Set,ESS)、家用B节点、家用演进型B节点、发送接收点(Transmitting Receiving Point,TRP)或所述领域中其他某个合适的术语,只要达到相同的技术效果,所述基站不限于特定技术词汇,需要说明的是,在本申请实施例中仅以NR系统中的基站为例进行介绍,并不限定基站的具体类型。核心网设备可以包含但不限于如下至少一项:核心网节点、核心网功能、移动管理实体(Mobility Management Entity,MME)、接入移动管理功能(Access and Mobility
Management Function,AMF)、会话管理功能(Session Management Function,SMF)、用户平面功能(User Plane Function,UPF)、策略控制功能(Policy Control Function,PCF)、策略与计费规则功能单元(Policy and Charging Rules Function,PCRF)、边缘应用服务发现功能(Edge Application Server Discovery Function,EASDF)、统一数据管理(Unified Data Management,UDM),统一数据仓储(Unified Data Repository,UDR)、归属用户服务器(Home Subscriber Server,HSS)、集中式网络配置(Centralized network configuration,CNC)、网络存储功能(Network Repository Function,NRF),网络开放功能(Network Exposure Function,NEF)、本地NEF(Local NEF,或L-NEF)、绑定支持功能(Binding Support Function,BSF)、应用功能(Application Function,AF)等。需要说明的是,在本申请实施例中仅以NR系统中的核心网设备为例进行介绍,并不限定核心网设备的具体类型。
下面结合附图,通过一些实施例及其应用场景对本申请实施例提供的交互方法、装置、设备及存储介质进行详细地说明。
首先对以下内容进行介绍:
个人物联网网络(Personal IoT network,PIN);
“个人物联网网络”是基于大量增加的消费者物联网设备,并由这些物联网设备,所组成和衍生的一种网络。这些设备既可以是可穿戴设备(即人身上的设备,如摄像头、耳机、手表、耳机、健康监测器等),也可以是家中的物联网设备(如智能灯、摄像头、恒温器、门传感器、语音助手、扬声器、冰箱、洗衣机等)。用户主要在家中或身体周围使用所有这些个人物联网设备创建个人物联网网络。通常来说,PIN一般用于家庭,办公室等场景,部署在这些场景内的物联网设备,可以实现互联,相互通信、获取服务,因而叫做个人物联网。同时,还有一点要说明,PIN中的物联网设备,可以通过某种机制和实现,经过PIN中具有网关功能的设备,访问第五代移动通信技术(5th Generation Mobile Communication Technology,5G)网络,访问网络的其他服务器或者完成业务。
图2是相关技术提供的PIN的架构示意图,如图2所示,为PIN的结构;其中,所有的enabler,都叫使能层,可以认为是一种应用层的设计,位于操作系统(Operating System,OS)之上,比如,一种客户端或者应用程序(Application,APP),PIN client(比如说PEMC client,PEGC(PINE with GatewayCapability,PIN网关)client);或者,也可以是操作系统(Operating System,OS)的一种能力,作为操作系统的一部分,提供服务。也可以认为是一种芯片能力,位于modem芯片模组上。
在一个PIN系统中,包括:
PIN管理功能(PIN element with management capability,PEMC):管理整个PIN,比如,将一个PIN网元(PIN element,PINE)加入到PEMC所管理的PIN。或者终端上的PIN客户端,PIN client(PEMC client),也可以具有管理员的功能。
PIN网关(PIN element with Gateway capability,PEGC):负责路由PINE的流量到目的地,也可以将服务器的流量下行路由给PINE,比如,一个PINE要跟PIN内的其他PINE通信,那么可以通过PEGC进行路由。或者,终端上的PIN客户端,PIN client(PEGC client),也可以具有网关路由功能。
PIN服务器(PIN server):用于授权建立一个PIN,更新一个PIN,删除一个PIN等功能,对应PIN客户端或PIN网元的服务器端。通常可以是PEMC触发PIN建立请求,然后由PIN server验证通过这个建立请求。同时,PIN server还可以用于PINE请求查找一个PIN,或者查找一个PIN对应的PEMC。PIN server还可以取名叫PINMF,PIN管理功能。PIN服务器,还具有用户面路由的功能,即,某个PIN的PEMC,是可以通过PIN服务器,与某个PINE进行控制面或者用户面交互。
PINE(PIN element):是一个PIN中的成员或者网元,主要包括3GPP类型的终端(比如,带有蜂窝能力的手机),或者是non-3GPP的终端(比如只具有wifi能力的pad或者蓝牙耳机等)。
图3是本申请实施例提供的交互方法的流程示意图之一,如图3所示,该交互方法包括如下步骤:
步骤300,第一通信设备获取第一信息;所述第一信息包括第二通信设备的地址和/或交互辅助信息,所述交互辅助信息用于指示所述第一通信设备与所述第二通信设备之间交互的交互方式;
步骤310,所述第一通信设备基于所述第一信息,确定所述交互方式。
可选地,第一通信设备可以是PEMC;
可选地,第二通信设备可以是PINE;
可选地,第一通信设备和第二通信设备之间的交互可以包括控制面交互;
可选地,第一通信设备和第二通信设备之间的交互可以包括用户面交互;
可选地,第一通信设备和第二通信设备之间的交互可以包括控制面交互和/或用户面交互;
可选地,第一通信设备和第二通信设备之间的信令,可以存在多种交互方式,为了提高交互的效率,第一通信设备可以预先确定与第二通信设备之间的较为合适的或较优的或效率最高的交互方式;比如,第一通信设备的IP地址和第二通信设备的IP地址都是一个网关下的相同内网网段的IP地址,那么第一通信设备和第二通信设备可以直接进行IP交互,无需从第五代移动通信技术核心网(5th Generation Mobile Communication Technology Core,5GC)绕行信令或者通过PIN服务器绕行信令;再比如,第一通信设备和第二通信设备可以通过5GC完成交互;再比如,第一通信设备和第二通信设备可以通过网关完成交互;再比如,第一通信设备和第二通信设备可以通过PIN服务器完成交互;
可选地,第一通信设备可以获取第一信息,并基于第一信息所包括的第二通信设
备的地址和/或交互辅助信息,确定与第二通信设备之间较为合适的交互方式或最快的交互方式;
可选地,交互辅助信息可以与具体的某一个或多个第二通信设备相关联;
比如,交互辅助信息A与第二通信设备a相关联;交互辅助信息B与第二通信设备b相关联,则第一通信设备要与第二通信设备a交互时可以基于交互辅助信息A确定交互方式,第一通信设备要与第二通信设备b交互时可以基于交互辅助信息B确定交互方式。
在本申请实施例中,通过获取第二通信设备的地址和/或用于指示第一通信设备与所述第二通信设备之间交互的交互方式的交互辅助信息,进而确定第一通信设备与所述第二通信设备之间交互的交互方式,避免确定的交互方式是第一通信设备或所述第二通信设备无法支持的或低效率的交互方式,保证交互效率。
可选地,所述第二通信设备的地址包括:所述第二通信设备所在的个人物联网PIN的内部IP地址,和/或,外部IP地址。
可选地,第二通信设备的地址可以为PIN的内部IP地址;
可选地,内部IP地址,可以是指一个私有地址;
比如,符合如下地址段的IP地址,一般都是内部IP或者私有IP:A类地址:10.0.0.0~10.255.255.255;B类地址:172.16.0.0~172.31.255.255;C类地址:192.168.0.0~192.168.255.255,凡是这类IP地址,通常都是内部IP;
可选地,可以实现在同一个网络下直接进行交互的、或实现在同一个局域网中使用的、或属于同一段保留的IP地址的、或不用经过地址转换即可进行交互的IP地址,均可以称为内部IP地址,本申请各实施例对此不作限定;
可选地,第二通信设备的地址可以为PIN的外部IP地址,所述外部IP地址,就是一个经过网络地址转换(Network Address Translation,NAT)处理的IP地址,也可以就是一个公网IP地址。
可选地,所述交互辅助信息包括以下至少一项:
第一网关标识,所述第一网关标识用于指示所述第二通信设备接入的网关,所述第二通信设备接入的网关有一个或多个;
第一IP类型指示信息,所述第一IP类型指示信息用于指示所述第二通信设备的地址是直接交互的内部IP地址;如果是可交互的内部IP地址,比如,PEMC和PINE属于同网段的内部IP地址,比如,都是192.168.X.X网段内,那么,PEMC和PINE可以直接进行IP交互;
第二IP类型指示信息,所述第二IP类型指示信息用于指示所述第二通信设备的地址是外部IP地址;如果第二通信设备的地址不是一个内部IP地址,而是一个外部IP地址,那么,PEMC和PINE将无法直接进行内部IP交互,只能通过5GC交互,或者经过PIN服务器交互;
第一路径指示信息,所述第一路径指示信息用于指示所述交互方式包括通过5GC交互和/或所述第一路径指示信息用于指示5GC路径,所述5GC路径包括所述第一通信设备与所述第二通信设备通过5GC交互的路径。所述5GC路径交互是指,只有当第一通信设备和第二通信设备都是5G终端,或者支持5G的终端,才可以有这样的交互方式,或者,第一通信设备和第二通信设备都是可以通过5G网络路由可达的,才有这样的交互方式;
第二路径指示信息,所述第二路径指示信息用于指示所述交互方式包括通过网关交互和/或所述第二路径指示信息用于指示第一辅助信息,所述第一辅助信息包括以下至少一项:所述第一通信设备与所述第二通信设备通过网关交互的路径、支持网关交互的网关ID、网关IP地址。当第一通信设备PEMC收到第二通信设备所接入的网关ID,网关IP地址以后,PEMC是可以把自己第一通信设备所接入的网关ID,网关IP地址进行比较,如果二者相同,则第一通信设备可判断,可以直接通过该网关,与第二通信设备交互;或者,PIN服务器直接提供网关ID,网关IP地址,同时还提供第一辅助信息,所述第一辅助信息指示第一通信设备,所述第二通信设备可以通过该网关进行交互。通过网关交互的方式类似5G-LAN交互(5G Local Area Network,5G局域网),这种交互是基于层2的交互,是不需要绕行5GC的,访问比较快;
第三路径指示信息,所述第三路径指示信息用于指示所述交互方式包括通过第三通信设备交互和/或所述第三路径指示信息用于指示第二辅助信息,所述第二辅助信息包括:所述第一通信设备与所述第二通信设备通过第三通信设备交互的路径,和/或,第三通信设备的地址。
可选地,通过所述第三通信设备进行交互,是默认的交互方式,或必须要支持的交互方式。
可选地,所述第一通信设备,一定可以通过第三通信设备,与第二通信设备进行交互;即不论其他交互方式是否被第一通信设备和第二通信设备所支持,通过第三通信设备交互这一方式一定被第一通信设备和第二通信设备所支持;
可选地,第三通信设备可以是PIN服务器(PIN sever);
可选地,第一信息可以包括第二通信设备的地址和第二通信设备所接入的网关的第一网关标识,比如可以包括第二通信设备的内部IP地址和第一网关标识;
比如,如果所述第一通信设备也在第一网关下,通过比较发现第一通信设备和第二通信设备在同一个网关下,则,第一通信设备可以跟第二通信设备在同网关下,直接使用内部IP地址交互;
可选地,第一信息可以包括第二通信设备的地址和用于指示第二通信设备的地址的类型的第一IP类型指示信息,比如第一信息可以包括第二通信设备的内部IP地址和用于指示第二通信设备的地址的类型为内部IP地址的第一IP类型指示信息;
比如,如果指示为第一IP类型指示信息,那么第一通信设备可以用自己的IP地
址与第二通信设备的IP地址进行比较,如果属于相同的内部IP网段,则说明,是可以进行直接交互的;或者,第一IP类型指示信息,直接指示了第一通信设备可直接与第二通信设备交互;
可选地,第一信息可以包括第二通信设备的地址和用于指示第二通信设备的地址的类型的第二IP类型指示信息,比如第一信息可以包括第二通信设备的外部IP地址和用于指示第二通信设备的地址的类型为外部IP地址的第二IP类型指示信息;
比如,当所述IP地址为一个外部IP地址的时候,则第一通信设备无法与第二通信设备进行直接交互,但是如果第二IP类型指示信息中,又包括了网关ID,或者指示可以通过网关交互,那么第一通信设备可以以5G-LAN的方式与第二通信设备交互;
可选地,第一信息可以包括第二通信设备的地址和第一路径指示信息,比如第一信息可以包括第二通信设备的外部IP地址和第一路径指示信息;
可选地,第一信息可以包括第二通信设备的地址和第二路径指示信息,比如第一信息可以包括第二通信设备的内部IP地址和第二路径指示信息;
可选地,第一信息可以包括第二通信设备的地址和第三路径指示信息,比如第一信息可以包括第二通信设备的外部IP地址和第三路径指示信息;
可选地,第一信息可以包括第二通信设备的外部IP地址、第一路径指示信息、和第三路径指示信息;
可选地,第二通信设备的内部IP地址和/或外部IP地址,可以与交互辅助信息可能包括的一项或多项任意排列组合,本申请实施例对此不作限定。
可选地,在所述交互辅助信息包括所述第一网关标识和/或所述第二路径指示信息的情况下,所述第一通信设备基于所述第一信息,确定所述交互方式,包括:
所述第一通信设备基于所述第一网关标识和/或所述第二路径指示信息,确定所述第二通信设备与所述第一通信设备在同一个网关下,确定所述交互方式包括通过网关交互,即5G-LAN的层二交互方式。
图4是本申请实施例提供的通过网关交互的交互方式的示意图,如图4所示,以第一通信设备是PEMC,第二通信设备是PINE为例,PEMC和PINE可以通过网关进行交互。
可选地,第一网关标识可以指示第二通信设备在哪个网关下;
可选地,第一通信设备接收到第一信息后,可以从第一信息获得第二通信设备的地址和交互辅助信息,则在确定交互辅助信息包括第一网关标识(指示第二通信设备所接入的网关)后,可以判断第二通信设备是否和第一通信设备接入在同样的网关下,或者是否可以通过网关交互;
可选地,若第一通信设备和第二通信设备有接入同样的网关,则第一通信设备可以基于第二通信设备的地址,通过第一通信设备和第二通信设备均接入的网关,与第二通信设备进行交互;
可选地,第一通信设备接收到第一信息后,可以从第一信息获得第二通信设备的地址和交互辅助信息,则在确定交互辅助信息包括第二路径指示信息后,可以基于支持网关交互的网关ID和/或网关IP地址,判断第二通信设备是否和第一通信设备接入在同样的网关下;
可选地,若第一通信设备和第二通信设备有接入同样的网关,则第一通信设备可以基于第二通信设备的地址,通过第一通信设备和第二通信设备均接入的网关或支持网关交互的网关ID所指示的网关、或网关IP地址所对应的网关,与第二通信设备进行交互;
可选地,第一通信设备接收到第一信息后,可以从第一信息获得第二通信设备的地址和交互辅助信息,则在确定交互辅助信息包括第二路径指示信息后,可以基于第二路径指示信息所指示的网关路径,通过所述网关与所述第二通信设备交互;
可选地,第一通信设备接收到第一信息后,可以从第一信息获得第二通信设备的地址和交互辅助信息,则在确定交互辅助信息包括第二路径指示信息后,可以通过所述网关与所述第二通信设备交互。
可选地,在所述交互辅助信息包括所述第一网关标识和/或所述第二路径指示信息的情况下,所述第一通信设备基于所述第一信息,确定所述交互方式,包括:
所述第一通信设备基于所述第一网关标识和/或所述第二路径指示信息,确定所述第二通信设备与所述第一通信设备不在同一个网关下,确定所述交互方式包括默认交互方式和/或其他交互方式;所述默认交互方式,为通过第三通信设备PIN服务器进行交互;
其中,所述其他交互方式是协议预定义的或随机确定的或通信对端指示的。
可选地,若第一通信设备和第二通信设备并未接入同样的网关,则第一通信设备可以基于第二通信设备的地址,通过默认交互方式或其他交互方式与第二通信设备进行交互;
可选地,其他交互方式可以是除了“通过网关与第二通信设备交互”的交互方式以外的任意交互方式;
可选地,其他交互方式可以是第一通信设备通过第三通信设备与第二通信设备交互;
可选地,所述默认交互方式包括:第一通信设备通过第三通信设备与第二通信设备交互,所述第三通信设备包括用于提供PIN的服务的设备;
其中,所述PIN的服务包括以下至少一项:PIN的创建、PIN的更新、PIN成员的添加、PIN的释放。
可选地,默认交互方式可以是协议预定义的,或预先设置的,或由第三通信设备预先指示的;
可选地,默认交互方式可以是第一通信设备通过第三通信设备与第二通信设备交
互;
可选地,第三通信设备是可以提供PIN的服务的设备,所述第三通信设备提供以下至少一项PIN的服务:
PIN的创建,PIN的更新,PIN成员的添加,PIN的删除。
可选地,第三通信设备可以是PIN服务器,也可以是PINMF;
可选地,在所述交互辅助信息包括所述第一IP类型指示信息的情况下,所述第一通信设备基于所述第一信息,确定所述交互方式,包括:
所述第一通信设备基于所述第一IP类型指示信息,确定所述第二通信设备的地址为内部IP地址;
所述第一通信设备确定所述交互方式包括直接交互。
可选地,第一通信设备接收到第一信息后,可以从第一信息获得第二通信设备的地址和交互辅助信息,则在确定交互辅助信息包括第一IP类型指示信息的情况下,可以确定获得的第二通信设备的地址是内部IP地址,则可以与该内部IP地址(第二通信设备)直接交互。
可选地,在交互辅助信息指示第二通信设备的地址为内部IP地址的情况下,即可以表征第二通信设备的IP地址和第一通信设备的IP地址属于同一个内部网段,比如都是192.168.X.X系列的网段,那么第二通信设备和第一通信设备可以直接交互。可选地,第一通信设备也可以把自己的IP地址跟第二通信设备的IP地址进行比较,如果是属于同一个IP地址段或者网段,比如都是192.168.X.X的网段,那么是可以直接交互的;
可选地,在所述交互辅助信息包括所述第一路径指示信息的情况下,所述第一通信设备基于所述第一信息,确定所述交互方式,包括:
所述第一通信设备基于所述第一路径指示信息,确定所述交互方式包括通过5GC交互。
可选地,第一路径指示信息可以指示第二通信设备的地址可以通过5GS(5G System)访问;
例如,PEMC和PINE B之间通过5GS交互的交互方式可以包括:PEMC->PEGC1->RAN->UPF->PEGC 2->PINE B;
图5是本申请实施例提供的通过5GC交互的交互方式的示意图,如图5所示,以第一通信设备是PEMC,第二通信设备是PINE为例,PEMC和PINE之间可以通过5GC交互。
可选地,第三通信设备,根据如下内容,判断,可以生成或者发送第一路径指示信息:当所述第一通信设备或第二通信设备都是5G终端的时候才支持5GS访问,或者第一通信设备和第二通信设备是可以5GS互通的时候,才有第一路径指示信息;
可选地,第一通信设备接收到第一信息后,可以从第一信息获得第二通信设备的
地址和交互辅助信息,则在确定交互辅助信息包括第一路径指示信息的情况下,第一通信设备可以确定可以与第二通信设备通过5GC交互;
可选地,在第一路径指示信息仅用于指示第一通信设备与所述第二通信设备通过5GC交互的情况下,第一通信设备可以通过5GC与第二通信设备交互;
可选地,在5GC指示信息指示第一通信设备与所述第二通信设备交互的5GC路径的情况下,第一通信设备可以通过5GC,基于该5GC路径与第二通信设备交互。
可选地,在所述交互辅助信息包括所述第二IP类型指示信息的情况下,所述第一通信设备基于所述第一信息,确定所述交互方式,包括:
所述第一通信设备基于所述第二IP类型指示信息,确定所述第二通信设备的地址为外部IP地址,确定所述交互方式包括通过5GC交互和/或通过第三通信设备交互。其中,通过第三通信设备交互是一定可以的,但是通过5GC交互是可能交互,也可能不能交互,如果支持5GC交互,则可以在第二IP类型指示信息中包括所述5GC交互的指示。
可选地,第二IP类型指示信息可以指示第二通信设备的IP地址与第一通信设备的IP地址不在同一个地址段,而是一个外部IP地址,则可以确定第一通信设备和第二通信设备之间的交互方式是从通过5GC与所述第二通信设备交互(5GS绕行)或通过第三通信设备与所述第二通信设备交互(从PIN sever绕行);可选地,当指示是一个外部IP地址的时候,所述第二IP类型指示信息也可以指示,第二通信设备可以通过网关交互,第二IP类型指示信息还可以包括:网关ID或网关IP地址;
可选地,第一通信设备接收到第一信息后,可以从第一信息获得第二通信设备的地址和交互辅助信息,则在确定交互辅助信息包括第二IP类型指示信息的情况下,第一通信设备可以确定通过5GC交互和/或通过第三通信设备,与第二通信设备交互;
可选地,第一通信设备可以通过5GC与第二通信设备交互,或在获得5GC路径的情况下,基于所述5GC路径,通过5GC与所述第二通信设备交互;
可选地,第一通信设备可以通过第三通信设备与第二通信设备交互,或在获得第三通信设备的地址的情况下,基于第三通信设备的地址,通过第三通信设备与所述第二通信设备交互。可选地,所述第三通信设备的地址,已经配置在第一通信设备中,或者所述第一通信设备能够与第三通信设备交互。
可选地,在所述交互辅助信息包括所述第三路径指示信息的情况下,所述第一通信设备基于所述第一信息,确定所述交互方式,包括:
所述第一通信设备基于所述第三路径指示信息,确定所述交互方式包括通过第三通信设备交互。
可选地,第三通信设备可以是PIN服务器(PIN sever);
图6是本申请实施例提供的通过第三通信设备交互的交互方式的示意图,如图6所示,以第一通信设备是PEMC,第二通信设备是PINE为例,PEMC和PINE之间可
以通过PIN sever交互。
可选地,第一通信设备接收到第一信息后,可以从第一信息获得第二通信设备的地址和交互辅助信息,则在确定交互辅助信息包括第三路径指示信息的情况下,可以确定第一通信设备与第二通信设备通过第三通信设备进行交互;
可选地,第一通信设备可以第三通信设备与所述第二通信设备交互,或在获得第三通信设备的地址的情况下,基于第三通信设备的地址,通过第三通信设备与所述第二通信设备交互。
可选地,所述第一通信获取第一信息,包括:
第一通信设备向第三通信设备发送第一请求;
所述第一通信设备接收所述第三通信设备基于所述第一请求发送的第二信息;
所述第一通信设备基于所述第二信息,获取所述第一信息。
可选地,所述第二信息满足以下任一项:
在所述第一请求信息中包括所述第二通信设备对应的标识的情况下,所述第二信息包括所述第一信息;比如,所述第一通信设备,请求获得所述第二通信设备的IP地址,第三通信设备发送响应,反馈第二通信设备的IP地址和对应的交互辅助信息;
在所述第一请求信息中不包括所述第二通信设备对应的标识的情况下,所述第二信息包括多个IP地址,和所述多个IP地址分别对应的交互辅助信息,相应地,所述第一通信设备基于所述第二信息,获取所述第一信息,包括:
所述第一通信设备从所述多个IP地址中确定待交互的第二通信设备的IP地址;
所述第一通信设备根据所述多个IP地址分别对应的交互辅助信息,确定待交互的第二通信设备的交互辅助信息。
比如说,第一通信设备发送第一请求至第三通信设备,所述第一请求用于请求查找某个PIN下的PINE;第三通信设备发送该PIN下的所有PINE的IP地址,以及每个PINE IP地址所对应的交互辅助信息;
可选地,第一通信设备获取第一信息的方式可以是从第三通信设备获取的;
可选地,第一通信设备在需要与第二通信设备交互时,可以首先向第三通信设备发送第一请求,用于表征需要与网元进行交互,第一请求可以携带需要交互的网元的标识即第二通信设备的标识,进而第三通信设备可以基于第一请求,生成第二通信设备的交互辅助信息,并基于第二通信设备的地址和交互辅助信息,向第一通信设备发送所述第二信息,第二信息可以用于为第一通信设备提供第一信息,第一通信设备接收到第二信息后,可以进而确定第二通信设备的地址和交互辅助信息;
可选地,第一通信设备在需要与第二通信设备交互时,可以首先向第三通信设备发送第一请求,用于表征需要与网元进行交互,第一请求可以不携带需要交互的网元的标识,比如第一通信设备暂不确定具体与哪一个网元进行交互,进而第三通信设备可以基于第一请求,确定一个或多个可以与第一通信设备交互的IP地址,并生成每一
个IP地址分别对应的交互辅助信息,并基于一个或多个IP地址,和每一个IP地址分别对应的交互辅助信息,向第一通信设备发送所述第二信息,第二信息可以用于为第一通信设备提供第一信息,第一通信设备接收到第二信息后,可以获得一个或多个IP地址,和每一个IP地址分别对应的交互辅助信息,进而确定需要交互的第二通信设备的地址和交互辅助信息;可选地,第一通信设备在需要与第二通信设备交互时,可以首先向第三通信设备发送第一请求,用于表征需要与网元进行交互,进而第三通信设备可以基于第一请求,生成所述交互辅助信息;并基于所述第二通信设备的地址和/或交互辅助信息,生成所述第二信息,进而向第一通信设备发送所述第二信息;
可选地,第一通信设备在需要与第二通信设备交互时,可以首先向第三通信设备发送第一请求,用于表征需要与网元进行交互,进而第三通信设备可以基于第二通信设备的地址、第一通信设备的地址、第一通信设备的终端能力中的一项或多项,生成所述交互辅助信息;并基于所述第二通信设备的地址和/或交互辅助信息,生成所述第二信息,进而向第一通信设备发送所述第二信息;
可选地,第一请求中可以包括一个第二通信设备的标识,即表征第一通信设备需要与该第二通信设备进行交互,则第三通信设备反馈的内容可以包括该第二通信设备对应的第一信息;
可选地,第一请求中可以包括多个第二通信设备的标识,即表征第一通信设备需要与该第二通信设备进行交互,则第三通信设备反馈的内容可以包括该多个第二通信设备分别对应的第一信息;
可选地,第一请求中可以不包括第二通信设备的标识,仅表示第一通信设备需要进行控制面和/或用户面的交互,则第三通信设备反馈的内容可以包括多个通信设备的IP地址,和所述多个通信设备分别对应的交互辅助信息,则第一通信设备可以从多个通信设备中选择一个或多个第二通信设备进行交互。比如说,所述第一请求,用于请求查询某个PIN ID对应的PIN中的PINE,则,第三通信设备可以反馈所述PIN中包括的所有PINE,其PINE ID和PINE IP地址。
可选地,所述第一通信设备基于所述第一信息,确定所述交互方式,包括:
在所述交互辅助信息指示多种交互方式的情况下,所述第一通信设备基于所述多种交互方式之间的优先级,确定所述第一通信设备与所述第二通信设备之间交互的交互方式。
可选地,在一个实施例中,若交互辅助信息指示了多类信息,即若第一通信设备可以基于交互辅助信息确定交互方式包括多种交互方式的情况下,可以基于多种交互方式之间的优先级,确定第一通信设备和第二通信设备交互采用的交互方式;可选地,多种交互方式之间的优先级可以设置为:交互效率越高的交互方式,优先级也就越高;交互效率越低的交互方式,优先级也就越低;
比如,多种交互方式之间的优先级可以设置为:内网IP交互方式,优先级高于网
关交互方式,网关交互方式高于5GC交互方式和PIN服务器交互方式,PIN服务器交互方式为默认交互方式,本申请各实施例对此不作限定;
比如,多种交互方式之间的优先级可以设置为:内网IP交互方式,优先级高于网关交互方式,网关交互方式高于5GC交互方式,5GC交互方式优先级高于PIN服务器交互方式,PIN服务器交互方式为默认交互方式,本申请各实施例对此不作限定。
可选地,多种交互方式之间的优先级可以根据应用场景和交互任务需求,进行任意优先级顺序的设置,本申请各实施例对此不作限定。
可选地,若基于交互辅助信息确定交互方式包括多个优先级相等的交互方式,则第一通信设备可以从多个优先级相等的交互方式中随机确定一个交互方式进行交互。
可选地,在基于交互辅助信息确定的交互方式交互失败时,可以采用默认交互方式进行交互。
在一个实施例中,第一通信设备可以确定交互方式包括:默认交互方式:通过第三通信设备交互;该交互方式为最基本的交互方式,PIN一定支持这种方式与第二通信设备交互。
在一个实施例中,交互辅助信息包括第一IP类型指示信息的情况下,第一通信设备确定交互方式可以包括但不限于如下情况:
比如,所述第一IP类型指示信息,仅指示第二通信设备的IP地址为一个内部IP地址,然后,第一通信设备可以比较自身IP地址与第二通信设备的IP地址,是否在同一个网段,比如,192.168.X.X的IP网段,如果是,则第一通信设备可以与第二通信设备直接交互;
比如,所述第一IP类型指示信息,同时指示第二通信设备的IP地址为内部IP地址+可以直接交互的指示,这样,第一通信设备无需比较IP网段(因为第三通信设备能够直接看到第一通信设备的IP地址和第二通信设备的IP地址),则第一通信设备可以直接与第二通信设备交互;
比如,所述第一IP类型指示信息中,还包括了其他的指示信息,比如:指示可以通过5GC交互,或者可以通过网关交互(当指示可以通过网关交互的时候,携带网关ID或者网关IP地址),这时候,第一通信设备可以选择5GC交互或者网关交互。当然,也可以第一通信设备自己比较。
在一个实施例中,当有第一IP类型指示信息的时候,第一通信设备优先选择内部直接交互或网关交互,这种方式交互比较方便和快捷。
在一个实施例中,交互辅助信息包括第二IP类型指示信息的情况下,第一通信设备确定交互方式可以包括但不限于如下情况:由于第二IP类型指示信息,用于指示第二通信设备的IP地址是一个外部IP地址,这种地址只能通过5GC交互,或网关交互。无法进行直接交互。因此,所述第二IP类型指示信息中,还可以携带:5GC交互指示或者网关交互指示信息(所述网关交互指示信息可以包括网关ID或者网关IP
地址)。
在本申请实施例中,通过获取第二通信设备的地址和/或用于指示第一通信设备与所述第二通信设备之间交互的交互方式的交互辅助信息,进而确定第一通信设备与所述第二通信设备之间交互的交互方式,避免确定的交互方式是第一通信设备或所述第二通信设备无法支持的或低效率的交互方式,保证交互效率。
图7是本申请实施例提供的交互方法的流程示意图之二,如图7所示,该交互方法包括如下流程:
步骤700,第三通信设备接收第一请求;
步骤710,所述第三通信设备基于所述第一请求,向第一通信设备发送所述第二信息,所述第二信息用于为所述第一通信设备提供第一信息;
所述第一信息包括第二通信设备的地址和/或交互辅助信息,所述交互辅助信息用于指示第一通信设备与所述第二通信设备交互的方式。
可选地,第一通信设备在需要与第二通信设备交互时,可以首先向第三通信设备发送第一请求,用于表征需要与网元进行交互;
可选地,第三通信设备可以接收第一请求,并基于第一请求,向第一通信设备发送第二信息;第一通信设备可以基于第二信息,获取第一信息;
可选地,第一通信设备可以是PEMC;
可选地,第二通信设备可以是PINE;
可选地,第一通信设备和第二通信设备之间的信令,可以存在多种交互方式,为了提高交互的效率,第一通信设备可以预先确定与第二通信设备之间的交互方式;
可选地,第一通信设备可以获取第一信息,并基于第一信息所包括的第二通信设备的地址和/或交互辅助信息,确定与第二通信设备之间较为合适的交互方式或最快的交互方式;
比如,所述第一通信设备,请求获得所述第二通信设备的IP地址,第三通信设备发送响应,反馈第二通信设备的IP地址和对应的交互辅助信息;
在本申请实施例中,通过向第一通信设备提供第一信息,以使第一通信设备获取第二通信设备的地址和/或用于指示第一通信设备与所述第二通信设备之间交互的交互方式的交互辅助信息,进而确定第一通信设备与所述第二通信设备之间交互的交互方式,避免确定的交互方式是第一通信设备或所述第二通信设备无法支持的或低效率的交互方式,保证交互效率。
可选地,在所述第一请求信息中包括所述第二通信设备对应的标识的情况下,所述第二信息包括所述第一信息;
所述第三通信设备基于所述第一请求,向第一通信设备发送第二信息,包括:
所述第三通信设备生成所述交互辅助信息;
所述第三通信设备基于所述第二通信设备的地址和/或交互辅助信息,生成所述第
二信息,向第一通信设备发送第二信息。
可选地,第一通信设备在需要与第二通信设备交互时,可以首先向第三通信设备发送第一请求,用于表征需要与网元进行交互,进而第三通信设备可以基于第一请求,生成所述交互辅助信息;并基于所述第二通信设备的地址和/或交互辅助信息,生成所述第二信息,进而向第一通信设备发送所述第二信息;第一通信设备可以基于第二信息,获取第一信息。
可选地,所述第三通信设备生成所述交互辅助信息,包括:
所述第三通信设备基于第三信息生成所述交互辅助信息,所述第三信息包括以下至少一项:
所述第二通信设备的地址;
所述第一通信设备的地址;
所述第一通信设备所属的网关标识符或网关地址;
所述第一通信设备的终端能力。
可选地,第一通信设备在需要与第二通信设备交互时,可以首先向第三通信设备发送第一请求,用于表征需要与网元进行交互,进而第三通信设备可以基于第二通信设备的地址、第一通信设备的地址、第一通信设备的终端能力中的一项或多项,生成所述交互辅助信息;并基于所述第二通信设备的地址和/或交互辅助信息,生成所述第二信息,进而向第一通信设备发送所述第二信息;第一通信设备可以基于第二信息,获取第一信息。
可选地,第一通信设备的终端能力可以是指第一通信设备为5G终端或支持5G。
可选地,在第一通信设备的终端能力表征第一通信设备支持5G或第一通信设备为5G终端的情况下,可以生成交互辅助信息,且该交互辅助信息可以包括第一路径指示信息。
可选地,在所述第一请求信息中不包括所述第二通信设备对应的标识的情况下,所述第二信息包括多个IP地址,和所述多个IP地址分别对应的交互辅助信息;所述第三通信设备基于所述第一请求,向第一通信设备发送第二信息,包括:
所述第三通信设备确定多个IP地址;所述多个IP地址,就是潜在的第一通信设备要交互的第二通信设备的IP地址;
所述第三通信设备生成所述多个IP地址分别对应的交互辅助信息;所述多个IP地址分别对应的交互辅助信息,潜在的第一通信设备要交互的第二通信设备的IP地址对应的交互辅助信息;
所述第三通信设备基于所述多个IP地址,和所述多个IP地址分别对应的交互辅助信息,生成所述第二信息,向第一通信设备发送第二信息;
所述多个IP地址,用于确定至少一个第二通信设备;所述多个IP地址分别对应的交互辅助信息用于确定至少一个第二通信设备的交互辅助信息。
可选地,所述第三通信设备生成所述多个IP地址分别对应的交互辅助信息,包括:
所述第三通信设备基于第四信息,生成所述多个IP地址分别对应的交互辅助信息,所述第四信息包括以下至少一项:
所述多个IP地址,所述多个IP地址中包括所述第二通信设备的IP地址;
所述第一通信设备的地址;
所述第一通信设备所属的网关标识符或网关地址;
所述第一通信设备的终端能力。
例如,在所述第一请求中不包括所述第二通信设备对应的标识的情况下,即第一请求仅表征第一通信设备需要与一个网元交互,但不确定与哪一个网元交互,则第三通信设备可以确定能与第一通信设备进行交互的网元,并确定这些网元的IP地址,生成每一个IP地址分别对应的交互辅助信息,进而将这些网元的IP地址和每一个IP地址分别对应的交互辅助信息发送给第一通信设备,第一通信设备接收后,可以从这些网元的IP地址中确定一个IP地址作为第二通信设备的IP地址,并基于该IP地址对应的交互辅助信息,确定与第二通信设备的交互方式,进而与第二通信设备完成交互。
比如说,第一通信设备发送第一请求至第三通信设备,所述第一请求用于请求查找某个PIN下的PINE,即第一请求中没有携带网元的标识,但携带了PIN对应的标识或默认是第一通信设备所在的PIN;第三通信设备可以发送该PIN下的所有PINE的IP地址,以及每个PINE IP地址所对应的交互辅助信息;
在本申请实施例中,通过向第一通信设备提供第一信息,以使第一通信设备获取第二通信设备的地址和/或用于指示第一通信设备与所述第二通信设备之间交互的交互方式的交互辅助信息,进而确定第一通信设备与所述第二通信设备之间交互的交互方式,避免确定的交互方式是第一通信设备或所述第二通信设备无法支持的或低效率的交互方式,保证交互效率。
图8是本申请实施例提供的交互方法的流程示意图之三,如图8所示,以第一通信设备为PEMC,第二通信设备为PINE,第三通信设备为PIN服务器为例,该交互方法包括如下流程:
步骤1:PEMC发送第一请求,所述第一请求用于请求从PINMF获得PINE的相关信息。
可选地,PEMC可以通过第一请求来向PINMF请求,在某个PIN里的PINE的地址信息和/或交互辅助信息;
可选地,所述交互辅助信息用于向PEMC指示,PEMC可以通过什么样的交互方式,与这个PINE进行控制面信令和/或用户面信令的交互。
可选地,所述PINE地址信息包括:
PINE IP地址,可以是内网IP地址;
PINE IP地址,可以是经过网关NAT以后的地址,即外部IP地址。
可选的,交互辅助信息包括以下至少一项:
第一网关标识,所述第一网关标识用于指示所述第二通信设备接入的网关,所述第二通信设备接入的网关有一个或多个;
第一IP类型指示信息,所述第一IP类型指示信息用于指示所述第二通信设备的地址是直接交互的内部IP地址;
第二IP类型指示信息,所述第二IP类型指示信息用于指示所述第二通信设备的地址是外部IP地址;
第一路径指示信息,所述第一路径指示信息用于指示所述交互方式包括通过5GC交互和/或所述第一路径指示信息用于指示5GC路径,所述5GC路径包括所述第一通信设备与所述第二通信设备通过5GC交互的路径;
第二路径指示信息,所述第二路径指示信息用于指示所述交互方式包括通过网关交互和/或所述第二路径指示信息用于指示第一辅助信息,所述第一辅助信息包括以下至少一项:所述第一通信设备与所述第二通信设备通过网关交互的路径、支持网关交互的网关ID、网关IP地址;
第三路径指示信息,所述第三路径指示信息用于指示所述交互方式包括通过第三通信设备交互和/或所述第三路径指示信息用于指示第二辅助信息,所述第二辅助信息包括:所述第一通信设备与所述第二通信设备通过第三通信设备交互的路径,和/或,第三通信设备的地址。
可选地,交互辅助信息可以与具体的某一个或多个PINE关联;
可选地,第一请求中可以包括一个第二通信设备的标识,即表征第一通信设备需要与该第二通信设备进行交互,则第三通信设备反馈的内容可以包括该第二通信设备对应的第一信息;
可选地,第一请求中可以包括多个第二通信设备的标识,即表征第一通信设备需要与该第二通信设备进行交互,则第三通信设备反馈的内容可以包括该多个第二通信设备分别对应的第一信息;
可选地,第一请求中可以不包括第二通信设备的标识,仅表示第一通信设备需要进行控制面和/或用户面的交互,则第三通信设备反馈的内容可以包括多个通信设备的IP地址,和所述多个通信设备分别对应的交互辅助信息,则第一通信设备可以从多个通信设备中选择一个或多个第二通信设备进行交互。
步骤3:PEMC收到PIN server针对第一请求的响应(response),其中包括第一信息,第一信息包括PINE的地址和/或交互辅助信息,进而PEMC可以基于第一信息确定交互方式;
其中,确定交互方式的流程包括以下一项或多项:
(a)在所述交互辅助信息包括所述第一网关标识和/或所述第二路径指示信息的情况下,所述第一通信设备基于所述第一网关标识和/或所述第二路径指示信息,确定
所述第二通信设备与所述第一通信设备在同一个网关下,确定所述交互方式包括通过网关交互。
(b)在所述交互辅助信息包括所述第一网关标识和/或所述第二路径指示信息的情况下,所述第一通信设备基于所述第一网关标识和/或所述第二路径指示信息,确定所述第二通信设备与所述第一通信设备不在同一个网关下,确定所述交互方式包括默认交互方式和/或其他交互方式;
其中,所述其他交互方式是协议预定义的或随机确定的或通信对端指示的。
所述默认交互方式包括:第一通信设备通过第三通信设备与第二通信设备交互,所述第三通信设备包括用于提供PIN的服务的设备;
其中,所述PIN的服务包括以下至少一项:PIN的创建、PIN的更新、PIN成员的添加、PIN的释放。
(c)在所述交互辅助信息包括所述第一IP类型指示信息的情况下,所述第一通信设备基于所述第一IP类型指示信息,确定所述第二通信设备的地址为内部IP地址;
所述第一通信设备确定所述交互方式包括直接交互。
(d)在所述交互辅助信息包括所述第一路径指示信息的情况下,所述第一通信设备基于所述第一路径指示信息,确定所述交互方式包括通过5GC交互。
(e)在所述交互辅助信息包括所述第二IP类型指示信息的情况下,所述第一通信设备基于所述第二IP类型指示信息,确定所述第二通信设备的地址为外部IP地址,确定所述交互方式包括通过5GC交互和/或通过第三通信设备交互。
(f)在所述交互辅助信息包括所述第三路径指示信息的情况下,所述第一通信设备基于所述第三路径指示信息,确定所述交互方式包括通过第三通信设备交互。
本申请实施例提供的交互方法,执行主体可以为交互装置。本申请实施例中以交互装置执行交互方法为例,说明本申请实施例提供的交互装置。
图9是本申请实施例提供的交互装置的结构示意图之一,如图9所示,该交互装置900包括:第一获取模块910和第一确定模块920;其中:
第一获取模块910用于获取第一信息;所述第一信息包括第二通信设备的地址和/或交互辅助信息,所述交互辅助信息用于指示所述第一通信设备与所述第二通信设备之间交互的交互方式;
第一确定模块920用于基于所述第一信息,确定所述交互方式。
本申请实施例提供的交互装置能够实现上述各方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。
在本申请实施例中,通过获取第二通信设备的地址和/或用于指示第一通信设备与所述第二通信设备之间交互的交互方式的交互辅助信息,进而确定第一通信设备与所述第二通信设备之间交互的交互方式,避免确定的交互方式是第一通信设备或所述第二通信设备无法支持的或低效率的交互方式,保证交互效率。
可选地,所述第二通信设备的地址包括:所述第二通信设备所在的个人物联网PIN的内部IP地址,和/或,外部IP地址。
可选地,所述交互辅助信息包括以下至少一项:
第一网关标识,所述第一网关标识用于指示所述第二通信设备接入的网关,所述第二通信设备接入的网关有一个或多个;
第一IP类型指示信息,所述第一IP类型指示信息用于指示所述第二通信设备的地址是直接交互的内部IP地址;
第二IP类型指示信息,所述第二IP类型指示信息用于指示所述第二通信设备的地址是外部IP地址;
第一路径指示信息,所述第一路径指示信息用于指示所述交互方式包括通过5GC交互和/或所述第一路径指示信息用于指示5GC路径,所述5GC路径包括所述第一通信设备与所述第二通信设备通过5GC交互的路径;
第二路径指示信息,所述第二路径指示信息用于指示所述交互方式包括通过网关交互和/或所述第二路径指示信息用于指示第一辅助信息,所述第一辅助信息包括以下至少一项:所述第一通信设备与所述第二通信设备通过网关交互的路径、支持网关交互的网关ID、网关IP地址;
第三路径指示信息,所述第三路径指示信息用于指示所述交互方式包括通过第三通信设备交互和/或所述第三路径指示信息用于指示第二辅助信息,所述第二辅助信息包括:所述第一通信设备与所述第二通信设备通过第三通信设备交互的路径,和/或,第三通信设备的地址。
可选地,在所述交互辅助信息包括所述第一网关标识和/或所述第二路径指示信息的情况下,所述第一确定模块用于:
基于所述第一网关标识和/或所述第二路径指示信息,确定所述第二通信设备与所述第一通信设备在同一个网关下,确定所述交互方式包括通过网关交互。
可选地,在所述交互辅助信息包括所述第一网关标识和/或所述第二路径指示信息的情况下,所述第一确定模块用于:
基于所述第一网关标识和/或所述第二路径指示信息,确定所述第二通信设备与所述第一通信设备不在同一个网关下,确定所述交互方式包括默认交互方式和/或其他交互方式;
其中,所述其他交互方式是协议预定义的或随机确定的或通信对端指示的。
可选地,所述默认交互方式包括:第一通信设备通过第三通信设备与第二通信设备交互,所述第三通信设备包括用于提供PIN的服务的设备;
其中,所述PIN的服务包括以下至少一项:PIN的创建、PIN的更新、PIN成员的添加、PIN的释放。
可选地,在所述交互辅助信息包括所述第一IP类型指示信息的情况下,所述第一
确定模块用于:
基于所述第一IP类型指示信息,确定所述第二通信设备的地址为内部IP地址;
确定所述交互方式包括直接交互。
可选地,在所述交互辅助信息包括所述第一路径指示信息的情况下,所述第一确定模块用于:
基于所述第一路径指示信息,确定所述交互方式包括通过5GC交互。
可选地,在所述交互辅助信息包括所述第二IP类型指示信息的情况下,所述第一确定模块用于:
基于所述第二IP类型指示信息,确定所述第二通信设备的地址为外部IP地址,确定所述交互方式包括通过5GC交互和/或通过第三通信设备交互。
可选地,在所述交互辅助信息包括所述第三路径指示信息的情况下,所述第一确定模块用于:
基于所述第三路径指示信息,确定所述交互方式包括通过第三通信设备交互。
可选地,第一获取模块用于:
向第三通信设备发送第一请求;
接收所述第三通信设备基于所述第一请求发送的第二信息;
基于所述第二信息,获取所述第一信息。
可选地,所述第二信息满足以下任一项:
在所述第一请求信息中包括所述第二通信设备对应的标识的情况下,所述第二信息包括所述第一信息;
在所述第一请求信息中不包括所述第二通信设备对应的标识的情况下,所述第二信息包括多个IP地址,和所述多个IP地址分别对应的交互辅助信息,相应地,所述第一获取模块用于:
从所述多个IP地址中确定待交互的第二通信设备的IP地址;
根据所述多个IP地址分别对应的交互辅助信息,确定待交互的第二通信设备的交互辅助信息。
可选地,所述第一确定模块用于:
在所述交互辅助信息指示多种交互方式的情况下,基于所述多种交互方式之间的优先级,确定所述第一通信设备与所述第二通信设备之间交互的交互方式。
在本申请实施例中,通过获取第二通信设备的地址和/或用于指示第一通信设备与所述第二通信设备之间交互的交互方式的交互辅助信息,进而确定第一通信设备与所述第二通信设备之间交互的交互方式,避免确定的交互方式是第一通信设备或所述第二通信设备无法支持的或低效率的交互方式,保证交互效率。
本申请实施例中的交互装置可以是电子设备,例如具有操作系统的电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为
除终端之外的其他设备。示例性的,终端可以包括但不限于上述所列举的终端11的类型,其他设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)等,本申请实施例不作具体限定。
本申请实施例提供的交互装置能够实现图3-图6的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。
图10是本申请实施例提供的交互装置的结构示意图之二,如图10所示,该装置1000包括:第一接收模块1010和第一发送模块1020;其中:
第一接收模块1010用于接收第一请求;
第一发送模块1020用于基于所述第一请求,向第一通信设备发送第二信息,所述第二信息用于为所述第一通信设备提供第一信息;
所述第一信息包括第二通信设备的地址和/或交互辅助信息,所述交互辅助信息用于指示第一通信设备与所述第二通信设备交互的方式。
本申请实施例提供的交互装置能够实现上述各方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。
在本申请实施例中,通过向第一通信设备提供第一信息,以使第一通信设备获取第二通信设备的地址和/或用于指示第一通信设备与所述第二通信设备之间交互的交互方式的交互辅助信息,进而确定第一通信设备与所述第二通信设备之间交互的交互方式,避免确定的交互方式是第一通信设备或所述第二通信设备无法支持的或低效率的交互方式,保证交互效率。
可选地,在所述第一请求信息中包括所述第二通信设备对应的标识的情况下,所述第二信息包括所述第一信息;
所述第一发送模块用于:
生成所述交互辅助信息;
基于所述第二通信设备的地址和/或交互辅助信息,生成所述第二信息,向第一通信设备发送第二信息。
可选地,所述第一发送模块用于:
基于第三信息生成所述交互辅助信息,所述第三信息包括以下至少一项:
所述第二通信设备的地址;
所述第一通信设备的地址;
所述第一通信设备所属的网关标识符或网关地址;
所述第一通信设备的终端能力。
可选地,在所述第一请求信息中不包括所述第二通信设备对应的标识的情况下,所述第二信息包括多个IP地址,和所述多个IP地址分别对应的交互辅助信息;
所述第一发送模块用于:
确定多个IP地址;
生成所述多个IP地址分别对应的交互辅助信息;
基于所述多个IP地址,和所述多个IP地址分别对应的交互辅助信息,生成所述第二信息,向第一通信设备发送第二信息;
所述多个IP地址,用于确定至少一个第二通信设备;所述多个IP地址分别对应的交互辅助信息用于确定至少一个第二通信设备的交互辅助信息。
可选地,所述第一发送模块用于:
基于第四信息,生成所述多个IP地址分别对应的交互辅助信息,所述第四信息包括以下至少一项:
所述多个IP地址,所述多个IP地址中包括所述第二通信设备的IP地址;
所述第一通信设备的地址;
所述第一通信设备所属的网关标识符或网关地址;
所述第一通信设备的终端能力。
在本申请实施例中,通过向第一通信设备提供第一信息,以使第一通信设备获取第二通信设备的地址和/或用于指示第一通信设备与所述第二通信设备之间交互的交互方式的交互辅助信息,进而确定第一通信设备与所述第二通信设备之间交互的交互方式,避免确定的交互方式是第一通信设备或所述第二通信设备无法支持的或低效率的交互方式,保证交互效率。
本申请实施例中的交互装置可以是电子设备,例如具有操作系统的电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,终端可以包括但不限于上述所列举的终端11的类型,其他设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)等,本申请实施例不作具体限定。
本申请实施例提供的交互装置能够实现图7的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。
可选的,图11是本申请实施例提供的通信设备的结构示意图,如图11所示,本申请实施例还提供一种通信设备1100,包括处理器1101和存储器1102,存储器1102上存储有可在所述处理器1101上运行的程序或指令,例如,该通信设备1100为第一通信设备时,该程序或指令被处理器1101执行时实现上述交互方法实施例的各个步骤,且能达到相同的技术效果。该通信设备1100为第二通信设备时,该程序或指令被处理器1101执行时实现上述交互方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。
本申请实施例还提供一种第一通信设备,该第一通信设备包括处理器及通信接口,其中,所述处理器用于:
获取第一信息;所述第一信息包括第二通信设备的地址和/或交互辅助信息,所述交互辅助信息用于指示所述第一通信设备与所述第二通信设备之间交互的交互方式;
基于所述第一信息,确定所述交互方式。
该第一通信设备实施例与上述第一通信设备方法实施例对应,上述方法实施例的各个实施过程和实现方式均可适用于该第一通信设备实施例中,且能达到相同的技术效果。具体地,图12为实现本申请实施例的一种第一通信设备的硬件结构示意图。
该第一通信设备1200包括但不限于:射频单元1201、网络模块1202、音频输出单元1203、输入单元1204、传感器1205、显示单元1206、用户输入单元1207、接口单元1208、存储器1209以及处理器1210等中的至少部分部件。
本领域技术人员可以理解,第一通信设备1200还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1210逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图12中示出的第一通信设备结构并不构成对第一通信设备的限定,第一通信设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
应理解的是,本申请实施例中,输入单元1204可以包括图形处理单元(Graphics Processing Unit,GPU)12041和麦克风12042,图形处理器12041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1206可包括显示面板12061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板12061。用户输入单元1207包括触控面板12071以及其他输入设备12072中的至少一种。触控面板12071,也称为触摸屏。触控面板12071可包括触摸检测装置和触摸控制器两个部分。其他输入设备12072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
本申请实施例中,射频单元1201接收来自网络侧设备的下行数据后,可以传输给处理器1210进行处理;另外,射频单元1201可以向网络侧设备发送上行数据。通常,射频单元1201包括但不限于天线、放大器、收发信机、耦合器、低噪声放大器、双工器等。
存储器1209可用于存储软件程序或指令以及各种数据。存储器1209可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器1209可以包括易失性存储器或非易失性存储器,或者,存储器1209可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,
SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器1209包括但不限于这些和任意其它适合类型的存储器。
处理器1210可包括一个或多个处理单元;可选的,处理器1210集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1210中。
其中,处理器1210用于:
获取第一信息;所述第一信息包括第二通信设备的地址和/或交互辅助信息,所述交互辅助信息用于指示所述第一通信设备与所述第二通信设备之间交互的交互方式;
基于所述第一信息,确定所述交互方式。
在本申请实施例中,通过获取第二通信设备的地址和/或用于指示第一通信设备与所述第二通信设备之间交互的交互方式的交互辅助信息,进而确定第一通信设备与所述第二通信设备之间交互的交互方式,避免确定的交互方式是第一通信设备或所述第二通信设备无法支持的或低效率的交互方式,保证交互效率。
可选地,所述第二通信设备的地址包括:所述第二通信设备所在的个人物联网PIN的内部IP地址,和/或,外部IP地址。
可选地,所述交互辅助信息包括以下至少一项:
第一网关标识,所述第一网关标识用于指示所述第二通信设备接入的网关,所述第二通信设备接入的网关有一个或多个;
第一IP类型指示信息,所述第一IP类型指示信息用于指示所述第二通信设备的地址是直接交互的内部IP地址;
第二IP类型指示信息,所述第二IP类型指示信息用于指示所述第二通信设备的地址是外部IP地址;
第一路径指示信息,所述第一路径指示信息用于指示所述交互方式包括通过5GC交互和/或所述第一路径指示信息用于指示5GC路径,所述5GC路径包括所述第一通信设备与所述第二通信设备通过5GC交互的路径;
第二路径指示信息,所述第二路径指示信息用于指示所述交互方式包括通过网关交互和/或所述第二路径指示信息用于指示第一辅助信息,所述第一辅助信息包括以下至少一项:所述第一通信设备与所述第二通信设备通过网关交互的路径、支持网关交互的网关ID、网关IP地址;
第三路径指示信息,所述第三路径指示信息用于指示所述交互方式包括通过第三通信设备交互和/或所述第三路径指示信息用于指示第二辅助信息,所述第二辅助信息
包括:所述第一通信设备与所述第二通信设备通过第三通信设备交互的路径,和/或,第三通信设备的地址。
可选地,在所述交互辅助信息包括所述第一网关标识和/或所述第二路径指示信息的情况下,处理器1210用于:
基于所述第一网关标识和/或所述第二路径指示信息,确定所述第二通信设备与所述第一通信设备在同一个网关下,确定所述交互方式包括通过网关交互。
可选地,在所述交互辅助信息包括所述第一网关标识和/或所述第二路径指示信息的情况下,处理器1210用于:
基于所述第一网关标识和/或所述第二路径指示信息,确定所述第二通信设备与所述第一通信设备不在同一个网关下,确定所述交互方式包括默认交互方式和/或其他交互方式;
其中,所述其他交互方式是协议预定义的或随机确定的或通信对端指示的。
可选地,所述默认交互方式包括:第一通信设备通过第三通信设备与第二通信设备交互,所述第三通信设备包括用于提供PIN的服务的设备;
其中,所述PIN的服务包括以下至少一项:PIN的创建、PIN的更新、PIN成员的添加、PIN的释放。
可选地,在所述交互辅助信息包括所述第一IP类型指示信息的情况下,处理器1210用于:
基于所述第一IP类型指示信息,确定所述第二通信设备的地址为内部IP地址;
确定所述交互方式包括直接交互。
可选地,在所述交互辅助信息包括所述第一路径指示信息的情况下,处理器1210用于:
基于所述第一路径指示信息,确定所述交互方式包括通过5GC交互。
可选地,在所述交互辅助信息包括所述第二IP类型指示信息的情况下,处理器1210用于:
基于所述第二IP类型指示信息,确定所述第二通信设备的地址为外部IP地址,确定所述交互方式包括通过5GC交互和/或通过第三通信设备交互。
可选地,在所述交互辅助信息包括所述第三路径指示信息的情况下,处理器1210用于:
基于所述第三路径指示信息,确定所述交互方式包括通过第三通信设备交互。
可选地,处理器1210用于:
向第三通信设备发送第一请求;
接收所述第三通信设备基于所述第一请求发送的第二信息;
基于所述第二信息,获取所述第一信息。
可选地,所述第二信息满足以下任一项:
在所述第一请求信息中包括所述第二通信设备对应的标识的情况下,所述第二信息包括所述第一信息;
在所述第一请求信息中不包括所述第二通信设备对应的标识的情况下,所述第二信息包括多个IP地址,和所述多个IP地址分别对应的交互辅助信息,相应地,处理器1210用于:
从所述多个IP地址中确定待交互的第二通信设备的IP地址;
根据所述多个IP地址分别对应的交互辅助信息,确定待交互的第二通信设备的交互辅助信息。
可选地,处理器1210用于:
在所述交互辅助信息指示多种交互方式的情况下,基于所述多种交互方式之间的优先级,确定所述第一通信设备与所述第二通信设备之间交互的交互方式。
在本申请实施例中,通过获取第二通信设备的地址和/或用于指示第一通信设备与所述第二通信设备之间交互的交互方式的交互辅助信息,进而确定第一通信设备与所述第二通信设备之间交互的交互方式,避免确定的交互方式是第一通信设备或所述第二通信设备无法支持的或低效率的交互方式,保证交互效率。
本申请实施例还提供一种第二通信设备,包括处理器及通信接口,其中,所述通信接口用于:
接收第一请求;
基于所述第一请求,向第一通信设备发送所述第二信息,所述第二信息用于为所述第一通信设备提供第一信息;
所述第一信息包括第二通信设备的地址和/或交互辅助信息,所述交互辅助信息用于指示第一通信设备与所述第二通信设备交互的方式。
该第二通信设备实施例与上述第二通信设备侧方法实施例对应,上述方法实施例的各个实施过程和实现方式均可适用于该第二通信设备实施例中,且能达到相同的技术效果。具体地,图13为实现本申请实施例的一种第二通信设备的硬件结构示意图。
该第二通信设备1300包括但不限于:射频单元1301、网络模块1302、音频输出单元1303、输入单元1304、传感器1305、显示单元1306、用户输入单元1307、接口单元1308、存储器1309以及处理器1310等中的至少部分部件。
本领域技术人员可以理解,第二通信设备1300还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器13 10逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图13中示出的第二通信设备结构并不构成对第二通信设备的限定,第二通信设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
应理解的是,本申请实施例中,输入单元1304可以包括图形处理单元(Graphics Processing Unit,GPU)13041和麦克风13042,图形处理器13041对在视频捕获模式
或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1306可包括显示面板13061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板13061。用户输入单元1307包括触控面板13071以及其他输入设备13072中的至少一种。触控面板13071,也称为触摸屏。触控面板13071可包括触摸检测装置和触摸控制器两个部分。其他输入设备13072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
本申请实施例中,射频单元1301接收来自网络侧设备的下行数据后,可以传输给处理器1310进行处理;另外,射频单元1301可以向网络侧设备发送上行数据。通常,射频单元1301包括但不限于天线、放大器、收发信机、耦合器、低噪声放大器、双工器等。
存储器1309可用于存储软件程序或指令以及各种数据。存储器1309可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器1309可以包括易失性存储器或非易失性存储器,或者,存储器1309可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器1309包括但不限于这些和任意其它适合类型的存储器。
处理器1310可包括一个或多个处理单元;可选的,处理器1310集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1310中。
其中,处理器1310用于:
接收第一请求;
基于所述第一请求,向第一通信设备发送所述第二信息,所述第二信息用于为所述第一通信设备提供第一信息;
所述第一信息包括第二通信设备的地址和/或交互辅助信息,所述交互辅助信息用
于指示第一通信设备与所述第二通信设备交互的方式。
在本申请实施例中,通过向第一通信设备提供第一信息,以使第一通信设备获取第二通信设备的地址和/或用于指示第一通信设备与所述第二通信设备之间交互的交互方式的交互辅助信息,进而确定第一通信设备与所述第二通信设备之间交互的交互方式,避免确定的交互方式是第一通信设备或所述第二通信设备无法支持的或低效率的交互方式,保证交互效率。
可选地,在所述第一请求信息中包括所述第二通信设备对应的标识的情况下,所述第二信息包括所述第一信息;
处理器1310用于:
生成所述交互辅助信息;
基于所述第二通信设备的地址和/或交互辅助信息,生成所述第二信息,向第一通信设备发送第二信息。
可选地,处理器1310用于:
基于第三信息生成所述交互辅助信息,所述第三信息包括以下至少一项:
所述第二通信设备的地址;
所述第一通信设备的地址;
所述第一通信设备所属的网关标识符或网关地址;
所述第一通信设备的终端能力。
可选地,在所述第一请求信息中不包括所述第二通信设备对应的标识的情况下,处理器1310用于:
所述第一发送模块用于:
确定多个IP地址;
生成所述多个IP地址分别对应的交互辅助信息;
基于所述多个IP地址,和所述多个IP地址分别对应的交互辅助信息,生成所述第二信息,向第一通信设备发送第二信息;
所述多个IP地址,用于确定至少一个第二通信设备;所述多个IP地址分别对应的交互辅助信息用于确定至少一个第二通信设备的交互辅助信息。
可选地,处理器1310用于:
基于第四信息,生成所述多个IP地址分别对应的交互辅助信息,所述第四信息包括以下至少一项:
所述多个IP地址,所述多个IP地址中包括所述第二通信设备的IP地址;
所述第一通信设备的地址;
所述第一通信设备所属的网关标识符或网关地址;
所述第一通信设备的终端能力。
在本申请实施例中,通过向第一通信设备提供第一信息,以使第一通信设备获取
第二通信设备的地址和/或用于指示第一通信设备与所述第二通信设备之间交互的交互方式的交互辅助信息,进而确定第一通信设备与所述第二通信设备之间交互的交互方式,避免确定的交互方式是第一通信设备或所述第二通信设备无法支持的或低效率的交互方式,保证交互效率。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述交互方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的第二通信设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述交互方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。
本申请实施例另提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现上述交互方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本申请实施例还提供了一种交互系统,包括:第一通信设备及第二通信设备,所述第一通信设备可用于执行如上所述的交互方法的步骤,所述第二通信设备可用于执行如上所述的交互方法的步骤。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存
储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。
Claims (39)
- 一种交互方法,包括:第一通信设备获取第一信息;所述第一信息包括第二通信设备的地址和/或交互辅助信息,所述交互辅助信息用于指示所述第一通信设备与所述第二通信设备之间交互的交互方式;所述第一通信设备基于所述第一信息,确定所述交互方式。
- 根据权利要求1所述的交互方法,其中,所述第二通信设备的地址包括:所述第二通信设备所在的个人物联网PIN的内部IP地址,和/或,外部IP地址。
- 根据权利要求1或2所述的交互方法,其中,所述交互辅助信息包括以下至少一项:第一网关标识,所述第一网关标识用于指示所述第二通信设备接入的网关,所述第二通信设备接入的网关有一个或多个;第一IP类型指示信息,所述第一IP类型指示信息用于指示所述第二通信设备的地址是直接交互的内部IP地址;第二IP类型指示信息,所述第二IP类型指示信息用于指示所述第二通信设备的地址是外部IP地址;第一路径指示信息,所述第一路径指示信息用于指示所述交互方式包括通过5GC交互和/或所述第一路径指示信息用于指示5GC路径,所述5GC路径包括所述第一通信设备与所述第二通信设备通过5GC交互的路径;第二路径指示信息,所述第二路径指示信息用于指示所述交互方式包括通过网关交互和/或所述第二路径指示信息用于指示第一辅助信息,所述第一辅助信息包括以下至少一项:所述第一通信设备与所述第二通信设备通过网关交互的路径、支持网关交互的网关ID、网关IP地址;第三路径指示信息,所述第三路径指示信息用于指示所述交互方式包括通过第三通信设备交互和/或所述第三路径指示信息用于指示第二辅助信息,所述第二辅助信息包括:所述第一通信设备与所述第二通信设备通过第三通信设备交互的路径,和/或,第三通信设备的地址。
- 根据权利要求3所述的交互方法,其中,在所述交互辅助信息包括所述第一网关标识和/或所述第二路径指示信息的情况下,所述第一通信设备基于所述第一信息,确定所述交互方式,包括:所述第一通信设备基于所述第一网关标识和/或所述第二路径指示信息,确定所述第二通信设备与所述第一通信设备在同一个网关下,确定所述交互方式包括通过网关交互。
- 根据权利要求3所述的交互方法,其中,在所述交互辅助信息包括所述第一网 关标识和/或所述第二路径指示信息的情况下,所述第一通信设备基于所述第一信息,确定所述交互方式,包括:所述第一通信设备基于所述第一网关标识和/或所述第二路径指示信息,确定所述第二通信设备与所述第一通信设备不在同一个网关下,确定所述交互方式包括默认交互方式和/或其他交互方式;其中,所述其他交互方式是协议预定义的或随机确定的或通信对端指示的。
- 根据权利要求5所述的交互方法,其中,所述默认交互方式包括:第一通信设备通过第三通信设备与第二通信设备交互,所述第三通信设备包括用于提供PIN的服务的设备;其中,所述PIN的服务包括以下至少一项:PIN的创建、PIN的更新、PIN成员的添加、PIN的释放。
- 根据权利要求3所述的交互方法,其中,在所述交互辅助信息包括所述第一IP类型指示信息的情况下,所述第一通信设备基于所述第一信息,确定所述交互方式,包括:所述第一通信设备基于所述第一IP类型指示信息,确定所述第二通信设备的地址为内部IP地址;所述第一通信设备确定所述交互方式包括直接交互。
- 根据权利要求3所述的交互方法,其中,在所述交互辅助信息包括所述第一路径指示信息的情况下,所述第一通信设备基于所述第一信息,确定所述交互方式,包括:所述第一通信设备基于所述第一路径指示信息,确定所述交互方式包括通过5GC交互。
- 根据权利要求3所述的交互方法,其中,在所述交互辅助信息包括所述第二IP类型指示信息的情况下,所述第一通信设备基于所述第一信息,确定所述交互方式,包括:所述第一通信设备基于所述第二IP类型指示信息,确定所述第二通信设备的地址为外部IP地址,确定所述交互方式包括通过5GC交互和/或通过第三通信设备交互。
- 根据权利要求3所述的交互方法,其中,在所述交互辅助信息包括所述第三路径指示信息的情况下,所述第一通信设备基于所述第一信息,确定所述交互方式,包括:所述第一通信设备基于所述第三路径指示信息,确定所述交互方式包括通过第三通信设备交互。
- 根据权利要求1-10任一项所述的交互方法,其中,所述第一通信获取第一信息,包括:第一通信设备向第三通信设备发送第一请求;所述第一通信设备接收所述第三通信设备基于所述第一请求发送的第二信息;所述第一通信设备基于所述第二信息,获取所述第一信息。
- 根据权利要求11所述的交互方法,其中,所述第二信息满足以下任一项:在所述第一请求信息中包括所述第二通信设备对应的标识的情况下,所述第二信息包括所述第一信息;在所述第一请求信息中不包括所述第二通信设备对应的标识的情况下,所述第二信息包括多个IP地址,和所述多个IP地址分别对应的交互辅助信息,相应地,所述第一通信设备基于所述第二信息,获取所述第一信息,包括:所述第一通信设备从所述多个IP地址中确定待交互的第二通信设备的IP地址;所述第一通信设备根据所述多个IP地址分别对应的交互辅助信息,确定待交互的第二通信设备的交互辅助信息。
- 根据权利要求1-12任一项所述的交互方法,其中,所述第一通信设备基于所述第一信息,确定所述交互方式,包括:在所述交互辅助信息指示多种交互方式的情况下,所述第一通信设备基于所述多种交互方式之间的优先级,确定所述第一通信设备与所述第二通信设备之间交互的交互方式。
- 一种交互方法,包括:第三通信设备接收第一请求;所述第三通信设备基于所述第一请求,向第一通信设备发送第二信息,所述第二信息用于为所述第一通信设备提供第一信息;所述第一信息包括第二通信设备的地址和/或交互辅助信息,所述交互辅助信息用于指示第一通信设备与所述第二通信设备交互的方式。
- 根据权利要求14所述的交互方法,其中,在所述第一请求信息中包括所述第二通信设备对应的标识的情况下,所述第二信息包括所述第一信息;所述第三通信设备基于所述第一请求,向第一通信设备发送第二信息,包括:所述第三通信设备生成所述交互辅助信息;所述第三通信设备基于所述第二通信设备的地址和/或交互辅助信息,生成所述第二信息,向第一通信设备发送所述第二信息。
- 根据权利要求15所述的交互方法,其中,所述第三通信设备生成所述交互辅助信息,包括:所述第三通信设备基于第三信息生成所述交互辅助信息,所述第三信息包括以下至少一项:所述第二通信设备的地址;所述第一通信设备的地址;所述第一通信设备所属的网关标识符或网关地址;所述第一通信设备的终端能力。
- 根据权利要求14所述的交互方法,其中,在所述第一请求信息中不包括所述第二通信设备对应的标识的情况下,所述第二信息包括多个IP地址,和所述多个IP地址分别对应的交互辅助信息;所述第三通信设备基于所述第一请求,向第一通信设备发送第二信息,包括:所述第三通信设备确定多个IP地址;所述第三通信设备生成所述多个IP地址分别对应的交互辅助信息;所述第三通信设备基于所述多个IP地址,和所述多个IP地址分别对应的交互辅助信息,生成所述第二信息,向第一通信设备发送第二信息;所述多个IP地址,用于确定至少一个第二通信设备;所述多个IP地址分别对应的交互辅助信息用于确定至少一个第二通信设备的交互辅助信息。
- 根据权利要求17所述的交互方法,其中,所述第三通信设备生成所述多个IP地址分别对应的交互辅助信息,包括:所述第三通信设备基于第四信息,生成所述多个IP地址分别对应的交互辅助信息,所述第四信息包括以下至少一项:所述多个IP地址,所述多个IP地址中包括所述第二通信设备的IP地址;所述第一通信设备的地址;所述第一通信设备所属的网关标识符或网关地址;所述第一通信设备的终端能力。
- 一种交互装置,包括:第一获取模块,用于获取第一信息;所述第一信息包括第二通信设备的地址和/或交互辅助信息,所述交互辅助信息用于指示第一通信设备与所述第二通信设备之间交互的交互方式;所述交互的类型包括控制面交互或用户面交互;第一确定模块,用于基于所述第一信息,确定所述交互方式。
- 根据权利要求19所述的交互装置,其中,所述第二通信设备的地址包括:所述第二通信设备所在的个人物联网PIN的内部IP地址,和/或,外部IP地址。
- 根据权利要求19或20所述的交互装置,其中,所述交互辅助信息包括以下至少一项:第一网关标识,所述第一网关标识用于指示所述第二通信设备接入的网关,所述第二通信设备接入的网关有一个或多个;第一IP类型指示信息,所述第一IP类型指示信息用于指示所述第二通信设备的地址是直接交互的内部IP地址;第二IP类型指示信息,所述第二IP类型指示信息用于指示所述第二通信设备的地址是外部IP地址;第一路径指示信息,所述第一路径指示信息用于指示所述交互方式包括通过5GC 交互和/或所述第一路径指示信息用于指示5GC路径,所述5GC路径包括所述第一通信设备与所述第二通信设备通过5GC交互的路径;第二路径指示信息,所述第二路径指示信息用于指示所述交互方式包括通过网关交互和/或所述第二路径指示信息用于指示第一辅助信息,所述第一辅助信息包括以下至少一项:所述第一通信设备与所述第二通信设备通过网关交互的路径、支持网关交互的网关ID、网关IP地址;第三路径指示信息,所述第三路径指示信息用于指示所述交互方式包括通过第三通信设备交互和/或所述第三路径指示信息用于指示第二辅助信息,所述第二辅助信息包括:所述第一通信设备与所述第二通信设备通过第三通信设备交互的路径,和/或,第三通信设备的地址。
- 根据权利要求21所述的交互装置,其中,在所述交互辅助信息包括所述第一网关标识和/或所述第二路径指示信息的情况下,所述第一确定模块用于:基于所述第一网关标识和/或所述第二路径指示信息,确定所述第二通信设备与所述第一通信设备在同一个网关下,确定所述交互方式包括通过网关交互。
- 根据权利要求21所述的交互装置,其中,在所述交互辅助信息包括所述第一网关标识和/或所述第二路径指示信息的情况下,所述第一确定模块用于:基于所述第一网关标识和/或所述第二路径指示信息,确定所述第二通信设备与所述第一通信设备不在同一个网关下,确定所述交互方式包括默认交互方式和/或其他交互方式;其中,所述其他交互方式是协议预定义的或随机确定的或通信对端指示的。
- 根据权利要求23所述的交互装置,其中,所述默认交互方式包括:第一通信设备通过第三通信设备与第二通信设备交互,所述第三通信设备包括用于提供PIN的服务的设备;其中,所述PIN的服务包括以下至少一项:PIN的创建、PIN的更新、PIN成员的添加、PIN的释放。
- 根据权利要求21所述的交互装置,其中,在所述交互辅助信息包括所述第一IP类型指示信息的情况下,所述第一确定模块用于:基于所述第一IP类型指示信息,确定所述第二通信设备的地址为内部IP地址;确定所述交互方式包括直接交互。
- 根据权利要求21所述的交互装置,其中,在所述交互辅助信息包括所述第一路径指示信息的情况下,所述第一确定模块用于:基于所述第一路径指示信息,确定所述交互方式包括通过5GC交互。
- 根据权利要求21所述的交互装置,其中,在所述交互辅助信息包括所述第二IP类型指示信息的情况下,所述第一确定模块用于:基于所述第二IP类型指示信息,确定所述第二通信设备的地址为外部IP地址, 确定所述交互方式包括通过5GC交互和/或通过第三通信设备交互。
- 根据权利要求21所述的交互装置,其中,在所述交互辅助信息包括所述第三路径指示信息的情况下,所述第一确定模块用于:基于所述第三路径指示信息,确定所述交互方式包括通过第三通信设备交互。
- 根据权利要求19-28任一项所述的交互装置,其中,第一获取模块用于:向第三通信设备发送第一请求;接收所述第三通信设备基于所述第一请求发送的第二信息;基于所述第二信息,获取所述第一信息。
- 根据权利要求29所述的交互装置,其中,所述第二信息满足以下任一项:在所述第一请求信息中包括所述第二通信设备对应的标识的情况下,所述第二信息包括所述第一信息;在所述第一请求信息中不包括所述第二通信设备对应的标识的情况下,所述第二信息包括多个IP地址,和所述多个IP地址分别对应的交互辅助信息,相应地,所述第一获取模块用于:从所述多个IP地址中确定待交互的第二通信设备的IP地址;根据所述多个IP地址分别对应的交互辅助信息,确定待交互的第二通信设备的交互辅助信息。
- 根据权利要求19-30任一项所述的交互装置,其中,所述第一确定模块用于:在所述交互辅助信息指示多种交互方式的情况下,基于所述多种交互方式之间的优先级,确定所述第一通信设备与所述第二通信设备之间交互的交互方式。
- 一种交互装置,包括:第一接收模块,用于接收第一请求;第一发送模块,用于基于所述第一请求,向第一通信设备发送第二信息,所述第二信息用于为所述第一通信设备提供第一信息;所述第一信息包括第二通信设备的地址和/或交互辅助信息,所述交互辅助信息用于指示第一通信设备与所述第二通信设备交互的方式。
- 根据权利要求32所述的交互装置,其中,在所述第一请求信息中包括所述第二通信设备对应的标识的情况下,所述第二信息包括所述第一信息;所述第一发送模块用于:生成所述交互辅助信息;基于所述第二通信设备的地址和/或交互辅助信息,生成所述第二信息,向第一通信设备发送第二信息。
- 根据权利要求33所述的交互装置,其中,所述第一发送模块用于:基于第三信息生成所述交互辅助信息,所述第三信息包括以下至少一项:所述第二通信设备的地址;所述第一通信设备的地址;所述第一通信设备所属的网关标识符或网关地址;所述第一通信设备的终端能力。
- 根据权利要求32所述的交互装置,其中,在所述第一请求信息中不包括所述第二通信设备对应的标识的情况下,所述第二信息包括多个IP地址,和所述多个IP地址分别对应的交互辅助信息;所述第一发送模块用于:确定多个IP地址;生成所述多个IP地址分别对应的交互辅助信息;基于所述多个IP地址,和所述多个IP地址分别对应的交互辅助信息,生成所述第二信息,向第一通信设备发送第二信息;所述多个IP地址,用于确定至少一个第二通信设备;所述多个IP地址分别对应的交互辅助信息用于确定至少一个第二通信设备的交互辅助信息。
- 根据权利要求35所述的交互装置,其中,所述第一发送模块用于:基于第四信息,生成所述多个IP地址分别对应的交互辅助信息,所述第四信息包括以下至少一项:所述多个IP地址,所述多个IP地址中包括所述第二通信设备的IP地址;所述第一通信设备的地址;所述第一通信设备所属的网关标识符或网关地址;所述第一通信设备的终端能力。
- 一种第一通信设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至13任一项所述的交互方法。
- 一种第二通信设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求14至18任一项所述的交互方法。
- 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至13任一项所述的交互方法,或者实现如权利要求14至18任一项所述的交互方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210865129.3 | 2022-07-21 | ||
CN202210865129.3A CN117479113A (zh) | 2022-07-21 | 2022-07-21 | 交互方法、装置、设备及存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2024017191A1 true WO2024017191A1 (zh) | 2024-01-25 |
Family
ID=89617133
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/107702 WO2024017191A1 (zh) | 2022-07-21 | 2023-07-17 | 交互方法、装置、设备及存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN117479113A (zh) |
WO (1) | WO2024017191A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118394219A (zh) * | 2024-05-27 | 2024-07-26 | 安徽圣紫技术有限公司 | 沉浸式虚拟空间交互系统 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101594521A (zh) * | 2009-06-26 | 2009-12-02 | 中兴通讯股份有限公司 | 一种手机电视数据卡实现交互业务的方法、终端及系统 |
CN103986746A (zh) * | 2014-04-14 | 2014-08-13 | 北京百度网讯科技有限公司 | 一种用户与第三方建立通信的方法与装置 |
CN113038592A (zh) * | 2019-12-24 | 2021-06-25 | 阿里巴巴集团控股有限公司 | 物联网设备之间的通信方法和装置 |
US20210368341A1 (en) * | 2020-08-10 | 2021-11-25 | Ching-Yu LIAO | Secure access for 5g iot devices and services |
-
2022
- 2022-07-21 CN CN202210865129.3A patent/CN117479113A/zh active Pending
-
2023
- 2023-07-17 WO PCT/CN2023/107702 patent/WO2024017191A1/zh unknown
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101594521A (zh) * | 2009-06-26 | 2009-12-02 | 中兴通讯股份有限公司 | 一种手机电视数据卡实现交互业务的方法、终端及系统 |
CN103986746A (zh) * | 2014-04-14 | 2014-08-13 | 北京百度网讯科技有限公司 | 一种用户与第三方建立通信的方法与装置 |
CN113038592A (zh) * | 2019-12-24 | 2021-06-25 | 阿里巴巴集团控股有限公司 | 物联网设备之间的通信方法和装置 |
US20210368341A1 (en) * | 2020-08-10 | 2021-11-25 | Ching-Yu LIAO | Secure access for 5g iot devices and services |
Non-Patent Citations (1)
Title |
---|
"3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; Study on architecture enhancements for Personal IoT Network (PIN) (Release 18)", 3GPP STANDARD; TECHNICAL REPORT; 3GPP TR 23.700-88, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, no. V0.2.0, 16 April 2022 (2022-04-16), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France, pages 1 - 60, XP052145987 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118394219A (zh) * | 2024-05-27 | 2024-07-26 | 安徽圣紫技术有限公司 | 沉浸式虚拟空间交互系统 |
Also Published As
Publication number | Publication date |
---|---|
CN117479113A (zh) | 2024-01-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2022503686A (ja) | 通信接続方法、装置、コンピュータ機器、及びコンピュータプログラム | |
JP2019537356A (ja) | ユーザ端末の位置エリアの更新方法、アクセスネットワークエンティティ、ユーザ端末およびコアネットワークエンティティ | |
WO2024017191A1 (zh) | 交互方法、装置、设备及存储介质 | |
WO2024088195A1 (zh) | 执行结果上报方法、接收方法、终端及网络侧设备 | |
WO2024001954A1 (zh) | 标识配置方法、装置、终端及存储介质 | |
WO2023005898A1 (zh) | 多终端联合会话管理方法、网络侧设备及终端 | |
WO2023001109A1 (zh) | 多路径数据发送方法、装置及设备 | |
WO2024032499A1 (zh) | Dns查询方法及通信设备 | |
WO2024022397A1 (zh) | 选网方法及终端 | |
WO2024061091A1 (zh) | 一种网络通信的方法、装置、网络侧设备、终端及介质 | |
WO2023179595A1 (zh) | 非3gpp设备的会话通道建立方法、装置及设备 | |
WO2023185810A1 (zh) | 终端路由选择策略ursp确定方法、终端及网络侧设备 | |
WO2024037515A1 (zh) | 消息发送方法、通信设备及存储介质 | |
WO2023185877A1 (zh) | 路由处理方法、终端及网络侧设备 | |
WO2023125856A1 (zh) | Ursp规则的监控和上报方法、装置、终端及网元 | |
WO2024051565A1 (zh) | 选网处理方法、装置、终端及可读存储介质 | |
WO2024022182A1 (zh) | 信息查询方法、装置、终端及网络侧设备 | |
WO2024022398A1 (zh) | 托管网络的选网信息的获取方法、终端及网络侧设备 | |
WO2024140570A1 (zh) | 策略配置方法、装置、终端、网络侧设备及可读存储介质 | |
WO2024022370A1 (zh) | 信息获取和发送方法、服务器访问和会话建立方法及设备 | |
WO2023213242A1 (zh) | Ue策略信息的配置方法、装置、第一网络功能及终端 | |
WO2023143416A1 (zh) | 信息处理方法、终端及网络功能 | |
WO2024017195A1 (zh) | Pin管理方法、装置、第一终端和第一设备 | |
WO2023143414A1 (zh) | 数据传输、配置方法、装置、终端及网络侧设备 | |
WO2024022210A1 (zh) | Pegc的注册方法、装置及通信设备 |
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: 23842254 Country of ref document: EP Kind code of ref document: A1 |