WO2023142577A1 - Method and apparatus for switching from near field communication to network communication, and device and storage medium - Google Patents

Method and apparatus for switching from near field communication to network communication, and device and storage medium Download PDF

Info

Publication number
WO2023142577A1
WO2023142577A1 PCT/CN2022/129421 CN2022129421W WO2023142577A1 WO 2023142577 A1 WO2023142577 A1 WO 2023142577A1 CN 2022129421 W CN2022129421 W CN 2022129421W WO 2023142577 A1 WO2023142577 A1 WO 2023142577A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
session
function node
session information
communication
Prior art date
Application number
PCT/CN2022/129421
Other languages
French (fr)
Chinese (zh)
Inventor
贾靖
聂衡
邢燕霞
Original Assignee
中国电信股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国电信股份有限公司 filed Critical 中国电信股份有限公司
Publication of WO2023142577A1 publication Critical patent/WO2023142577A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/34Modification of an existing route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/23Manipulation of direct-mode connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • H04W8/14Mobility data transfer between corresponding nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data

Definitions

  • the present disclosure relates to the technical field of communication, and in particular, to a method, device, device and storage medium for switching from near-area communication to network communication.
  • the current mobile network needs to support a path conversion method for switching from near-area communication to network communication between terminals.
  • the terminal is in the near-field communication (for example, using D2D communication).
  • the communication quality is poor (eg: the communication range exceeds the reachable range), it cannot communicate directly through the short-distance service. Therefore, the terminal needs to establish a communication session through the network to ensure the service. continuity.
  • a method for converting near-area communication to network communication is provided.
  • a communication interface is set between a proximity service function node and a session management function node.
  • the method is applied to a first proximity service function node, and the method includes:
  • the method when both the first terminal and the second terminal are connected to the first ProSe function node, before associating the session information of the second terminal with the session information of the first terminal, the method further includes:
  • the session information of the first terminal is the session information of the newly established session when the first terminal needs to switch from near field communication to network communication
  • the session information of the second terminal is The second terminal needs session information of a newly established session when switching from near area communication to network communication.
  • Methods when the first terminal is connected to the first proximity service function node and the second terminal is connected to the second proximity service function node, the session information of the second terminal is associated with the session information of the first terminal, Methods also include:
  • session information of the first terminal is session information of a newly established session when the first terminal needs to switch from near area communication to network communication;
  • the session information of the second terminal is acquired from the second ProSe function node, where the session information of the second terminal is session information of a newly established session when the second terminal needs to switch from near area communication to network communication.
  • the first terminal and the second terminal respectively switch the newly established session to the session connected to the user forwarding function node.
  • the session information includes protocol data unit PDU session identification information.
  • the first terminal and the second terminal need to switch from near area communication to network communication.
  • a method for converting near area communication to network communication is provided.
  • a communication interface is set between a proximity service function node and a session management function node.
  • the method is applied to a first session management function node.
  • the method includes:
  • the session information is that the first ProSe function node associates the session information of the second terminal when the first terminal and the second terminal need to switch from near area communication to network communication obtained from the session information of the first terminal;
  • the first terminal and the second terminal are notified to switch to network communication.
  • the session management function node includes a first session management function node and a second session management function node, the first terminal is connected to the first session management function node, and the second terminal is connected to the second session management function node ;
  • the method Before connecting the session of the first terminal and the session of the second terminal based on the session information through the user forwarding function node, the method also includes:
  • the session of the first terminal and the session of the second terminal are connected based on the session information, including:
  • the first session management function node and the second session management function node connect the session of the first terminal and the session of the second terminal based on the session information through the user forwarding function node.
  • the method also includes:
  • the first terminal After establishing a new session, the first terminal registers session information corresponding to the session with the data management node.
  • the method also includes:
  • the second terminal After the second terminal establishes a new session, register the session information corresponding to the session with the data management node.
  • notifying the first terminal and the second terminal to switch to network communication includes:
  • the first session management function node and the second session management function node notify the first terminal and the second terminal to switch to network communication.
  • the session management function node includes a first session management function node, the first terminal is connected to the first session management function node, and the second terminal is connected to the first session management function node .
  • a device for converting near-area communication to network communication A communication interface is set between a proximity service function node and a session management function node. The device is applied to a first proximity service function node, and the device includes:
  • a session information associating module configured to associate the session information of the second terminal with the session information of the first terminal when the first terminal and the second terminal need to switch from near area communication to network communication;
  • the information sending module is configured to send the associated session information of the first terminal to the session management function node, so that the session management function node forwards the session information of the first terminal and the session of the second terminal based on the session information through the user forwarding function node. After the session is connected, the first terminal and the second terminal are notified to switch to network communication.
  • a device for converting near-area communication to network communication A communication interface is set between a proximity service function node and a session management function node.
  • the device is applied to a session management function node, and the device includes:
  • the information receiving module is configured to receive the session information sent from the first ProSe functional node.
  • the session information is that the first ProSe functional node transfers the second
  • the session information of the terminal is associated with the session information of the first terminal;
  • a session connection module configured to connect the session of the first terminal and the session of the second terminal based on the session information through the user forwarding function node;
  • the notification module is configured to notify the first terminal and the second terminal to switch to network communication.
  • an electronic device including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the executable instructions to The above-mentioned method for switching from near-area communication to network communication is performed.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the above method for converting near-area communication to network communication is implemented.
  • a computer program including: instructions, which, when executed by a processor, cause the processor to perform the conversion from near field communication to a network according to any one of the above embodiments. method of communication.
  • FIG. 1 is a schematic diagram of a network structure in an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of a method for switching from near-area communication to network communication in an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart of a method for switching from near-area communication to network communication in an embodiment of the present disclosure
  • FIG. 4 is a schematic flowchart of a method for switching from near-area communication to network communication in an embodiment of the present disclosure
  • FIG. 5 is a schematic flowchart of a method for switching from near-area communication to network communication in an embodiment of the present disclosure
  • FIG. 6 is a schematic diagram of an apparatus for switching from near-area communication to network communication in an embodiment of the present disclosure
  • FIG. 7 is a schematic diagram of an apparatus for switching from near-area communication to network communication in an embodiment of the present disclosure.
  • Fig. 8 is a structural block diagram of a computer device in an embodiment of the present disclosure.
  • Example embodiments will now be described more fully with reference to the accompanying drawings.
  • Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concept of example embodiments to those skilled in the art.
  • the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
  • the current mobile network needs to support a method for switching paths between terminals from near-area communication to network communication.
  • the near area communication is switched to the network communication between the terminals, service continuity cannot be guaranteed.
  • an embodiment of the present disclosure provides a method for converting near area communication to network communication, adding an interface between the proximity service function and the session management function, transmitting terminal session information and session management function information through the network, and controlling user
  • the forwarding function connects the two sessions of the terminal, so as to realize the goal of ensuring business continuity after switching from short-distance business communication to wireless access network communication between terminals.
  • the present disclosure provides a method, device, device, and storage medium for switching from near-area communication to network communication, at least to a certain extent, solving the problem that business continuity cannot be guaranteed when terminals are switched from near-area communication to network communication in the related art question.
  • the near-field communication in the embodiments of the present disclosure may also be called a short-distance communication service, and may include D2D (Device To Device, device-to-device) communication.
  • D2D communication is used as an example for near-field communication in the following description.
  • the method for converting near area communication to network communication may be applied to the network architecture shown in FIG. 1 , where the network architecture includes a first terminal 102 , a network device 104 and a second terminal 106 .
  • the first terminal 102 and the second terminal 106 may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices, Internet of Things devices or other processing devices connected to wireless modems, as well as various forms of user Equipment, mobile station (Mobile Station, MS), terminal (terminal device) and so on.
  • terminals For convenience of description, the devices mentioned above are collectively referred to as terminals.
  • the network device 104 may be a base station, and the base station may be a device deployed in an access network to provide a wireless communication function for a terminal.
  • the base station may include various forms of macro base stations, micro base stations, relay stations, access points and so on.
  • the names of devices with base station functions may be different.
  • eNodeB eNodeB
  • gNodeB gNodeB
  • a “base station” may also be called a "cell”.
  • base station may change.
  • network devices that provide wireless communication functions for terminals.
  • the first terminal 102 and the network device 104, and the second terminal 106 and the network device 104 communicate with each other through a certain air interface technology, such as a Uu interface.
  • the first terminal 102 and the second terminal 106 communicate with each other through some communication technology.
  • the first terminal 102 and the second terminal 106 may communicate through Bluetooth or WiFi technology.
  • the first terminal 102 and the second terminal 106 support device-to-device (Device to Device, D2D) communication, and sidelink (sidelink) communication can be performed between the first terminal 102 and the second terminal 106 through the PC-5 interface .
  • D2D Device to Device
  • sidelink sidelink
  • the sidelink communication implements addressing through the source identifier and destination identifier of the MAC layer, that is, no connection needs to be established before the communication.
  • the service data from the first terminal 102 to the second terminal 106 will first be transmitted to the base station (Base Station) of the cell where the first terminal 102 is located through the air interface.
  • Base Station or eNB, or evolution
  • the base station transmits the user data to the base station of the cell where the second terminal 106 is located through the core network, and the base station transmits the above service data to the second terminal 106 through the air interface.
  • the service data transmission from the second terminal 106 to the first terminal 102 adopts a similar processing flow.
  • the above cellular communication method is obviously not an optimal communication method.
  • the D2D communication mode is becoming more and more common in the service transmission scenario between users in a short distance.
  • the above-mentioned D2D communication solution may be adopted between the first terminal 102 and the second terminal 106 .
  • service data is directly transmitted from the source user equipment to the target user equipment through the air interface without being forwarded by the base station, which can also be called Proximity Service (ProSe for short).
  • Proximity Service ProSe for short.
  • This communication mode is different from that of traditional cellular systems.
  • D2D For short-distance communication users, D2D not only saves wireless spectrum resources, but also reduces the data transmission pressure of the core network.
  • D2D communication based on cellular network is a technology that directly communicates between multiple terminal devices that support D2D functions under the control of the system. It can reduce system resource occupation, increase the spectrum efficiency of cellular communication systems, and reduce terminal transmission power Consumption, and to a large extent save network operating costs.
  • the position of the first terminal 102 or the second terminal 106 changes, for example, the distance between the first terminal 102 and the second terminal 106 becomes larger, the effect of D2D communication will become worse.
  • the first The terminal 102 and the second terminal 106 may not be able to communicate directly through the short distance service, so the two need to switch to network communication.
  • the method for switching from near field communication to network communication provided by the embodiments of the present disclosure can be applied in this conversion process.
  • FIG. 2 shows a flow chart of a method for converting near-area communication to network communication in an embodiment of the present disclosure.
  • the method for converting near-area communication to network communication provided in an embodiment of the present disclosure includes the following steps:
  • step S202 the first proximity based service function node associates the session information of the second terminal with the session information of the first terminal when the first terminal and the second terminal need to switch from near area communication to network communication;
  • Step S204 the first proximity service function node sends the associated session information of the first terminal to the first session management function node;
  • Step S206 the session management function node controls the user forwarding function node, so that the user forwarding function node connects the session of the first terminal and the session of the second terminal based on the session information;
  • Step S208 the session management function node notifies the first terminal to switch to network communication
  • Step S210 the session management function node notifies the second terminal to switch to network communication.
  • a communication interface needs to be set between the proximity service function node and the session management function node.
  • the terminals When the terminals switch from near-distance service communication to each terminal establishes a wireless access communication session, the terminal needs to send the session information to the proximity service function, and the proximity service function nodes exchange session information, and then the proximity service function node searches through the network.
  • the session management function node corresponding to the session associates the session information of the second terminal with the session information of the first terminal and sends it to the first session management function node through a new interface, and then the first session management function node can search through the obtained information
  • the session management function node connects the two sessions of the terminal based on the session information by controlling the user forwarding function, and finally notifies the terminal of the successful connection of the session, so as to realize the short-distance communication between terminals.
  • the goal of ensuring business continuity after business communication is converted to wireless access network communication.
  • the terminals switch from short-distance business communication to establishing a communication session through the wireless access network, since the terminals do not exchange their own session information after establishing the session, it is necessary to connect the session through the network (eg: session management function) to ensure service continuity.
  • the network eg: session management function
  • the terminal After establishing a new session, the terminal needs to send the session information to the ProSe function.
  • the ProSe function After receiving the session information, the ProSe function needs to exchange its own session information (eg: PDU session ID, DNN). If the terminal is connected to the same ProSe function at this time, there is no need to exchange session information.
  • session information eg: PDU session ID, DNN
  • the ProSe function searches the network for the session management function corresponding to the session.
  • the first ProSe function needs to associate the session information of the second terminal with the session information of the first terminal, and send it to the first session management function through the new interface.
  • the first session management function finds the second session management function corresponding to the session of the second terminal through the network, and if the terminal is connected to the same session management function at this time, no search is required.
  • the session management function connects two sessions of the terminal based on the session information by controlling the user forwarding function.
  • the session management function notifies the terminal that session data can be transmitted.
  • terminal A corresponds to the proximity service function node A
  • terminal B corresponds to the proximity service function node B
  • terminal A corresponds to the session management function node A
  • terminal B corresponds to the session management function node B
  • terminal A corresponds to the user forwarding function node A
  • the terminal B corresponds to the user forwarding function node B, to describe the specific process of the embodiment of the present disclosure.
  • Terminals A and B complete their respective proximity service authorizations; and terminals A and B complete proximity service discovery and establish Prose direct communication; the terminal Identity obtained by mutual authorization between proximity service functions
  • the terminals can no longer communicate through the short-distance service
  • Each terminal establishes a new session, and the session management function registers the session information to the data management
  • 3a, 3b The terminal sends the session information to the proximity service function
  • the proximity service function After the proximity service function receives the session information, it exchanges its own session information (eg: PDU session ID, DNN). If the terminal is connected to the same proximity service function at this time, there is no need to exchange session information, which has been implemented in step 3.
  • session information eg: PDU session ID, DNN
  • the proximity service function searches the session management function corresponding to the session through the network, associates the session information of terminal B with the session information of terminal A, and sends it to the session management function_A through the new interface
  • the session management function _A searches for the session management function _B corresponding to the session of the terminal B. If the terminal is connected to the same session management function at this time, there is no need to search.
  • Session management function _A and session management function _B connect the sessions established in steps 2a and 2b based on the session information by controlling the user forwarding function
  • the session management function notifies the terminal that session data can be transmitted (eg: through a new interface or through AMF, AN)
  • the terminal switches the session to the session connected in step 8
  • the embodiment of the present disclosure also provides a method for switching from near area communication to network communication, in which a communication interface is set between the proximity service function node and the session management function node, and the method is applied to the first proximity service function node , as shown in Figure 4, the method includes the following steps:
  • Step S402 when the first terminal and the second terminal need to switch from near area communication to network communication, associating the session information of the second terminal with the session information of the first terminal;
  • Step S404 sending the associated session information of the first terminal to the session management function node, so that the session management function node connects the session of the first terminal and the session of the second terminal based on the session information through the user forwarding function node After that, notify the first terminal and the second terminal to switch to network communication.
  • the method when both the first terminal and the second terminal are connected to the first proximity service function node, before associating the session information of the second terminal with the session information of the first terminal, the method further includes:
  • the session information of the first terminal is the session information of the newly established session when the first terminal needs to switch from near field communication to network communication
  • the session information of the second terminal is The second terminal needs session information of a newly established session when switching from near area communication to network communication.
  • the method when the first terminal connects to the first ProSe function node and the second terminal connects to the second ProSe function node, before associating the session information of the second terminal with the session information of the first terminal, the method further include:
  • session information of the first terminal is session information of a newly established session when the first terminal needs to switch from near area communication to network communication;
  • the session information of the second terminal is acquired from the second ProSe function node, where the session information of the second terminal is session information of a newly established session when the second terminal needs to switch from near area communication to network communication.
  • the first terminal and the second terminal after notifying the first terminal and the second terminal to switch to network communication, the first terminal and the second terminal respectively switch the newly established session to the session connected to the user forwarding function node.
  • the session information includes protocol data unit PDU session identification information.
  • the first terminal and the second terminal need to switch from near area communication to network communication.
  • a communication interface is set between the proximity service function node and the session management function node; the first proximity service function node needs to be connected between the first terminal and the second terminal
  • the session information of the second terminal can be associated with the session information of the first terminal, and sent to the session management function node through the communication interface set above; the session management function node passes the user forwarding function
  • the node connects the session of the first terminal and the session of the second terminal based on the session information, and then notifies the first terminal and the second terminal to switch to network communication, so as to ensure the continuity of business when switching from near field communication to network communication sex.
  • the embodiments of the present disclosure also provide a method for switching from near-area communication to network communication, in which a communication interface is set between the proximity service function node and the session management function node, and the method is applied to the session management function node, As shown in Figure 5, the method includes the following steps:
  • Step S502 receiving session information sent from the first ProSe functional node, the session information is that the first ProSe functional node transfers the second terminal's
  • the session information is obtained by associating the session information of the first terminal;
  • Step S504 connecting the session of the first terminal and the session of the second terminal based on the session information through the user forwarding function node;
  • Step S506 notifying the first terminal and the second terminal to switch to network communication.
  • the session management function node may include a first session management function node and a second session management function node, the first terminal is connected to the first session management function node, and the second terminal is connected to the second session management function node.
  • the method further includes:
  • the session of the first terminal and the session of the second terminal are connected based on the session information, including:
  • the first session management function node and the second session management function node connect the session of the first terminal and the session of the second terminal based on the session information through the user forwarding function node.
  • the method may also include:
  • the first terminal After establishing a new session, the first terminal registers session information corresponding to the session with the data management node.
  • embodiments of the present disclosure also provide an apparatus for switching from near-area communication to network communication, such as the following embodiments. Since the problem-solving principle of the device embodiment for switching from near-area communication to network communication is similar to that of the above-mentioned method embodiment, the implementation of the device embodiment for switching from near-area communication to network communication can refer to the implementation of the above-mentioned method embodiment, and repeat I won't repeat them here.
  • Fig. 6 shows a device for converting near-area communication to network communication in an embodiment of the present disclosure.
  • a communication interface is set between the proximity service function node and the session management function node, and the device is applied to the first proximity service function node, as shown in Fig. 6
  • the device 600 for converting near-area communication to network communication includes:
  • the information sending module 604 is configured to send the associated session information of the first terminal to the session management function node, so that the session management function node forwards the session of the first terminal to the second terminal based on the session information through the user forwarding function node. After the session is connected, the first terminal and the second terminal are notified to switch to network communication.
  • the near area communication is converted to network communication
  • the device 600 may also include:
  • the session receiving module is configured to receive the session information of the first terminal and the session information of the second terminal.
  • the session information of the first terminal is the session information of a newly established session when the first terminal needs to switch from near area communication to network communication.
  • the session information of the second terminal is session information of a newly established session when the second terminal needs to switch from the near area communication to the network communication.
  • the proximity The device 600 for converting domain communication to network communication may also include:
  • the session receiving module is configured to receive session information of the first terminal, where the session information of the first terminal is session information of a newly established session when the first terminal needs to switch from near field communication to network communication;
  • the session acquiring module is configured to acquire session information of the second terminal from the second ProSe function node, where the session information of the second terminal is the session information of a newly established session when the second terminal needs to switch from near area communication to network communication.
  • the first terminal and the second terminal after notifying the first terminal and the second terminal to switch to network communication, the first terminal and the second terminal respectively switch the newly established session to the session connected to the user forwarding function node.
  • the session information includes protocol data unit PDU session identification information.
  • the first terminal and the second terminal need to switch from near area communication to network communication.
  • the device for converting near-area communication to network communication provided by the embodiments of the present application can be used to implement the methods for converting near-area communication to network communication provided by the above method embodiments.
  • the implementation principle and technical effect are similar. For the sake of brief introduction, in This will not be repeated here.
  • embodiments of the present disclosure also provide an apparatus for switching from near-area communication to network communication, such as the following embodiments. Since the problem-solving principle of the device embodiment for switching from near-area communication to network communication is similar to that of the above-mentioned method embodiment, the implementation of the device embodiment for switching from near-area communication to network communication can refer to the implementation of the above-mentioned method embodiment, and repeat I won't repeat them here.
  • FIG. 7 shows a device for converting near-area communication to network communication in an embodiment of the present disclosure.
  • a communication interface is set between the proximity service function node and the session management function node.
  • the device is applied to the session management function node, as shown in FIG. 7 , the device 700 for converting near-area communication to network communication includes:
  • the information receiving module 702 is configured to receive session information sent from the first proximity-based service function node, where the session information is sent by the first proximity-based service function node when the first terminal and the second terminal need to switch from near-area communication to network communication
  • the session information of the second terminal is associated with the session information of the first terminal
  • a session connection module 704 configured to connect the session of the first terminal and the session of the second terminal based on the session information through the user forwarding function node;
  • a notification module 706, configured to notify the first terminal and the second terminal to switch to network communication.
  • the session management function node may include a first session management function node and a second session management function node, the first terminal is connected to the first session management function node, and the second terminal is connected to the second session management function node; through the user
  • the forwarding function node, before connecting the session of the first terminal and the session of the second terminal based on the session information, the apparatus 700 for converting the near area communication to network communication may further include:
  • a search module configured to search for a second session management function node corresponding to the session of the second terminal through the network
  • the session connection module 704 can be specifically used for:
  • the first session management function node and the second session management function node connect the session of the first terminal and the session of the second terminal based on the session information through the user forwarding function node.
  • the apparatus 700 for converting near-area communication to network communication may further include:
  • the information registration module is configured to register the session information corresponding to the session to the data management node after the first terminal establishes a new session.
  • the device for converting near-area communication to network communication provided by the embodiments of the present application can be used to implement the methods for converting near-area communication to network communication provided by the above method embodiments.
  • the implementation principle and technical effect are similar. For the sake of brief introduction, in This will not be repeated here.
  • FIG. 8 An electronic device 800 according to this embodiment of the present disclosure is described below with reference to FIG. 8 .
  • the electronic device 800 shown in FIG. 8 is only an example, and should not limit the functions and application scope of the embodiments of the present disclosure.
  • electronic device 800 takes the form of a general-purpose computing device.
  • Components of the electronic device 800 may include but not limited to: at least one processing unit 810 , at least one storage unit 820 , and a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810 ).
  • the storage unit stores program codes, and the program codes can be executed by the processing unit 810, so that the processing unit 810 executes various exemplary methods according to the present disclosure described in the "Exemplary Methods" section above in this specification. Implementation steps.
  • the processing unit 810 may perform the following steps:
  • the session management function node sends the session information to the session management function node, so that the session management function node connects the session of the first terminal and the session of the second terminal based on the session information through the user forwarding function node, and then notifies the first terminal and the second terminal Switch to network communication.
  • processing unit 810 may perform the following steps:
  • the session information is actually the session information of the second terminal that the first ProSe function node associates with the session information of the second terminal when the first terminal and the second terminal need to switch from near area communication to network communication obtained from session information to the first terminal;
  • the first terminal and the second terminal are notified to switch to network communication.
  • the storage unit 820 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 8201 and/or a cache storage unit 8202 , and may further include a read-only storage unit (ROM) 8203 .
  • RAM random access storage unit
  • ROM read-only storage unit
  • Storage unit 820 may also include programs/utilities 8204 having a set (at least one) of program modules 8205, such program modules 8205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, Implementations of networked environments may be included in each or some combination of these examples.
  • Bus 830 may represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local area using any of a variety of bus structures. bus.
  • the electronic device 800 can also communicate with one or more external devices 840 (such as keyboards, pointing devices, Bluetooth devices, etc.), and can also communicate with one or more devices that enable the user to interact with the electronic device 800, and/or communicate with Any device (eg, router, modem, etc.) that enables the electronic device 800 to communicate with one or more other computing devices. Such communication may occur through input/output (I/O) interface 850 .
  • the electronic device 800 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and/or a public network such as the Internet) through the network adapter 860 . As shown, the network adapter 860 communicates with other modules of the electronic device 800 through the bus 830 .
  • other hardware and/or software modules may be used in conjunction with electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.
  • the example implementations described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of software products, and the software products can be stored in a non-volatile storage medium (which can be CD-ROM, U disk, mobile hard disk, etc.) or on the network , including several instructions to make a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) execute the method according to the embodiments of the present disclosure.
  • a computing device which may be a personal computer, a server, a terminal device, or a network device, etc.
  • a computer-readable storage medium is also provided, and the computer-readable storage medium may be a readable signal medium or a readable storage medium.
  • a program product capable of realizing the above-mentioned methods of the present disclosure is stored thereon.
  • various aspects of the present disclosure may also be implemented in the form of a program product, which includes program code, and when the program product is run on a terminal device, the program code is used to make the The terminal device executes the steps according to various exemplary embodiments of the present disclosure described in the "Exemplary Method" section above in this specification.
  • Computer-readable storage media in this disclosure may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory Erasable programmable read-only memory
  • CD-ROM portable compact disk read-only memory
  • magnetic storage device or any suitable combination of the above.
  • a computer-readable storage medium may include a data signal carrying readable program code in baseband or as part of a carrier wave traveling as a data signal. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • program code contained on a computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, cable, optical cable, RF, etc., or any suitable combination of the above.
  • the program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, and the programming language includes an object-oriented programming language—such as Java, C++, etc., or Includes conventional procedural programming languages - such as the "C" language or similar programming languages.
  • the program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server to execute.
  • the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (for example, using an Internet service provider). business to connect via the Internet).
  • LAN local area network
  • WAN wide area network
  • Internet service provider for example, using an Internet service provider
  • steps of the methods of the present disclosure are depicted in the drawings in a particular order, there is no requirement or implication that the steps must be performed in that particular order, or that all illustrated steps must be performed to achieve the desired result. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step for execution, and/or one step may be decomposed into multiple steps for execution, etc.
  • the example embodiments described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of software products, and the software products can be stored in a non-volatile storage medium (which can be CD-ROM, U disk, mobile hard disk, etc.) or on the network , including several instructions to make a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) execute the method according to the embodiments of the present disclosure.
  • a non-volatile storage medium which can be CD-ROM, U disk, mobile hard disk, etc.
  • a computing device which may be a personal computer, a server, a mobile terminal, or a network device, etc.

Abstract

The present invention relates to the technical field of communications, and provides a method and apparatus for switching from near field communication to network communication, and a device and a storage medium. The method comprises: setting a communication interface between a proximity-based service function node and a session management function node, and when a first terminal and a second terminal need to switch from the near field communication to the network communication, associating session information of the second terminal into session information of the first terminal; and sending associated session information of the first terminal to the session management function node, such that the session management function node connects a session of the first terminal and a session of the second terminal on the basis of the session information by means of a user forwarding function node, and then notifies the first terminal and the second terminal to switch to the network communication. According to the method for switching from the near field communication to the network communication provided by the embodiments of the present invention, the continuity of a service can be ensured after switching.

Description

近域通信转换到网络通信的方法、装置、设备及存储介质Method, device, equipment and storage medium for converting near-area communication to network communication
相关申请的交叉引用Cross References to Related Applications
本申请是以CN申请号为202210107809.9,申请日为2022年1月28日的申请为基础,并主张其优先权,该CN申请的公开内容在此作为整体引入本申请中。This application is based on the application with CN application number 202210107809.9 and the application date is January 28, 2022, and claims its priority. The disclosure content of this CN application is hereby incorporated into this application as a whole.
技术领域technical field
本公开涉及通信技术领域,尤其涉及一种近域通信转换到网络通信的方法、装置、设备及存储介质。The present disclosure relates to the technical field of communication, and in particular, to a method, device, device and storage medium for switching from near-area communication to network communication.
背景技术Background technique
当前移动网络需要支持终端之间从近域通信转换到网络通信的路径转换方法。起初终端处于近域通信(例如采用D2D通信),当通信质量不佳(eg:通信范围超出可达范围),无法通过近距离业务直接通信,所以终端之间需要通过网络建立通信会话来保证业务连续性。The current mobile network needs to support a path conversion method for switching from near-area communication to network communication between terminals. At first, the terminal is in the near-field communication (for example, using D2D communication). When the communication quality is poor (eg: the communication range exceeds the reachable range), it cannot communicate directly through the short-distance service. Therefore, the terminal needs to establish a communication session through the network to ensure the service. continuity.
需要说明的是,在上述背景技术部分公开的信息仅用于加强对本公开的背景的理解,因此可以包括不构成对本领域普通技术人员已知的现有技术的信息。It should be noted that the information disclosed in the above background section is only for enhancing the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to those of ordinary skill in the art.
发明内容Contents of the invention
根据本公开的一个方面,提供一种近域通信转换到网络通信的方法,在邻近服务功能节点与会话管理功能节点之间设置通信接口,方法应用于第一邻近服务功能节点,方法包括:According to one aspect of the present disclosure, a method for converting near-area communication to network communication is provided. A communication interface is set between a proximity service function node and a session management function node. The method is applied to a first proximity service function node, and the method includes:
在第一终端和第二终端需要从近域通信转换到网络通信时,将第二终端的会话信息关联到第一终端的会话信息中;When the first terminal and the second terminal need to switch from near area communication to network communication, associating the session information of the second terminal with the session information of the first terminal;
将关联后的第一终端的会话信息,发送至会话管理功能节点,以使会话管理功能节点通过用户转发功能节点,基于会话信息将第一终端的会话和第二终端的会话连接起来后,通知第一终端和第二终端转换至网络通信。Send the associated session information of the first terminal to the session management function node, so that the session management function node connects the session of the first terminal and the session of the second terminal based on the session information through the user forwarding function node, and then notifies The first terminal and the second terminal transition to network communication.
在本公开的一个实施例中,在第一终端和第二终端均连接第一邻近服务功能节点时,将第二终端的会话信息关联到第一终端的会话信息中之前,方法还包括:In an embodiment of the present disclosure, when both the first terminal and the second terminal are connected to the first ProSe function node, before associating the session information of the second terminal with the session information of the first terminal, the method further includes:
接收第一终端的会话信息和第二终端的会话信息,第一终端的会话信息是第一终端需 要从近域通信转换到网络通信时新建立的会话的会话信息,第二终端的会话信息是第二终端需要从近域通信转换到网络通信时新建立的会话的会话信息。Receive the session information of the first terminal and the session information of the second terminal, the session information of the first terminal is the session information of the newly established session when the first terminal needs to switch from near field communication to network communication, and the session information of the second terminal is The second terminal needs session information of a newly established session when switching from near area communication to network communication.
在本公开的一个实施例中,在第一终端连接第一邻近服务功能节点,第二终端连接第二邻近服务功能节点时,将第二终端的会话信息关联到第一终端的会话信息中,方法还包括:In an embodiment of the present disclosure, when the first terminal is connected to the first proximity service function node and the second terminal is connected to the second proximity service function node, the session information of the second terminal is associated with the session information of the first terminal, Methods also include:
接收第一终端的会话信息,第一终端的会话信息是第一终端需要从近域通信转换到网络通信时新建立的会话的会话信息;receiving session information of the first terminal, where the session information of the first terminal is session information of a newly established session when the first terminal needs to switch from near area communication to network communication;
从第二邻近服务功能节点获取第二终端的会话信息,第二终端的会话信息是第二终端需要从近域通信转换到网络通信时新建立的会话的会话信息。The session information of the second terminal is acquired from the second ProSe function node, where the session information of the second terminal is session information of a newly established session when the second terminal needs to switch from near area communication to network communication.
在本公开的一个实施例中,通知第一终端和第二终端转换至网络通信后,第一终端和第二终端分别将新建立的会话转换至用户转发功能节点连接好的会话上。In an embodiment of the present disclosure, after the first terminal and the second terminal are notified to switch to network communication, the first terminal and the second terminal respectively switch the newly established session to the session connected to the user forwarding function node.
在本公开的一个实施例中,会话信息包括协议数据单元PDU会话标识信息。In an embodiment of the present disclosure, the session information includes protocol data unit PDU session identification information.
在本公开的一个实施例中,在第一终端和第二终端之间的距离大于预设距离时,第一终端和第二终端需要从近域通信转换到网络通信。In an embodiment of the present disclosure, when the distance between the first terminal and the second terminal is greater than a preset distance, the first terminal and the second terminal need to switch from near area communication to network communication.
根据本公开的另一个方面,提供一种近域通信转换到网络通信的方法,在邻近服务功能节点与会话管理功能节点之间设置通信接口,方法应用于第一会话管理功能节点,方法包括:According to another aspect of the present disclosure, a method for converting near area communication to network communication is provided. A communication interface is set between a proximity service function node and a session management function node. The method is applied to a first session management function node. The method includes:
接收来自第一邻近服务功能节点发送的会话信息,会话信息是第一邻近服务功能节点在第一终端和第二终端需要从近域通信转换到网络通信时,将第二终端的会话信息关联到第一终端的会话信息中得到的;Receive the session information sent from the first ProSe function node, the session information is that the first ProSe function node associates the session information of the second terminal when the first terminal and the second terminal need to switch from near area communication to network communication obtained from the session information of the first terminal;
通过用户转发功能节点,基于会话信息将第一终端的会话和第二终端的会话连接起来;Connecting the session of the first terminal and the session of the second terminal based on the session information through the user forwarding function node;
通知第一终端和第二终端转换至网络通信。The first terminal and the second terminal are notified to switch to network communication.
在本公开的一个实施例中,会话管理功能节点,包括第一会话管理功能节点和第二会话管理功能节点,第一终端连接第一会话管理功能节点,第二终端连接第二会话管理功能节点;通过用户转发功能节点,基于会话信息将第一终端的会话和第二终端的会话连接起来之前,方法还包括:In an embodiment of the present disclosure, the session management function node includes a first session management function node and a second session management function node, the first terminal is connected to the first session management function node, and the second terminal is connected to the second session management function node ; Before connecting the session of the first terminal and the session of the second terminal based on the session information through the user forwarding function node, the method also includes:
通过网络查找第二终端的会话对应的第二会话管理功能节点;Searching for a second session management function node corresponding to the session of the second terminal through the network;
通过用户转发功能节点,基于会话信息将第一终端的会话和第二终端的会话连接起来,包括:Through the user forwarding function node, the session of the first terminal and the session of the second terminal are connected based on the session information, including:
第一会话管理功能节点和第二会话管理功能节点通过用户转发功能节点,基于会话信 息将第一终端的会话和第二终端的会话连接起来。The first session management function node and the second session management function node connect the session of the first terminal and the session of the second terminal based on the session information through the user forwarding function node.
在本公开的一个实施例中,方法还包括:In one embodiment of the present disclosure, the method also includes:
在第一终端建立新的会话后,将会话对应的会话信息注册到数据管理节点。After establishing a new session, the first terminal registers session information corresponding to the session with the data management node.
在本公开的一个实施例中,方法还包括:In one embodiment of the present disclosure, the method also includes:
在所述第二终端建立新的会话后,将所述会话对应的会话信息注册到数据管理节点。After the second terminal establishes a new session, register the session information corresponding to the session with the data management node.
在本公开的一个实施例中,通知所述第一终端和所述第二终端转换至网络通信包括:In an embodiment of the present disclosure, notifying the first terminal and the second terminal to switch to network communication includes:
所述第一会话管理功能节点和所述第二会话管理功能节点通知所述第一终端和所述第二终端转换至网络通信。The first session management function node and the second session management function node notify the first terminal and the second terminal to switch to network communication.
在本公开的一个实施例中,所述会话管理功能节点包括第一会话管理功能节点,所述第一终端连接所述第一会话管理功能节点,所述第二终端连接第一会话管理功能节点。In an embodiment of the present disclosure, the session management function node includes a first session management function node, the first terminal is connected to the first session management function node, and the second terminal is connected to the first session management function node .
根据本公开的另一个方面,提供一种近域通信转换到网络通信的装置,在邻近服务功能节点与会话管理功能节点之间设置通信接口,装置应用于第一邻近服务功能节点,装置包括:According to another aspect of the present disclosure, there is provided a device for converting near-area communication to network communication. A communication interface is set between a proximity service function node and a session management function node. The device is applied to a first proximity service function node, and the device includes:
会话信息关联模块,用于在第一终端和第二终端需要从近域通信转换到网络通信时,将第二终端的会话信息关联到第一终端的会话信息中;A session information associating module, configured to associate the session information of the second terminal with the session information of the first terminal when the first terminal and the second terminal need to switch from near area communication to network communication;
信息发送模块,用于将关联后的第一终端的会话信息,发送至会话管理功能节点,以使会话管理功能节点通过用户转发功能节点,基于会话信息将第一终端的会话和第二终端的会话连接起来后,通知第一终端和第二终端转换至网络通信。The information sending module is configured to send the associated session information of the first terminal to the session management function node, so that the session management function node forwards the session information of the first terminal and the session of the second terminal based on the session information through the user forwarding function node. After the session is connected, the first terminal and the second terminal are notified to switch to network communication.
根据本公开的另一个方面,提供一种近域通信转换到网络通信的装置,在邻近服务功能节点与会话管理功能节点之间设置通信接口,装置应用于会话管理功能节点,装置包括:According to another aspect of the present disclosure, there is provided a device for converting near-area communication to network communication. A communication interface is set between a proximity service function node and a session management function node. The device is applied to a session management function node, and the device includes:
信息接收模块,用于接收来自第一邻近服务功能节点发送的会话信息,会话信息是第一邻近服务功能节点在第一终端和第二终端需要从近域通信转换到网络通信时,将第二终端的会话信息关联到第一终端的会话信息中得到的;The information receiving module is configured to receive the session information sent from the first ProSe functional node. The session information is that the first ProSe functional node transfers the second The session information of the terminal is associated with the session information of the first terminal;
会话连接模块,用于通过用户转发功能节点,基于会话信息将第一终端的会话和第二终端的会话连接起来;A session connection module, configured to connect the session of the first terminal and the session of the second terminal based on the session information through the user forwarding function node;
通知模块,用于通知第一终端和第二终端转换至网络通信。The notification module is configured to notify the first terminal and the second terminal to switch to network communication.
根据本公开的再一个方面,提供一种电子设备,包括:处理器;以及存储器,用于存储所述处理器的可执行指令;其中,所述处理器配置为经由执行所述可执行指令来执行上述的近域通信转换到网络通信的方法。According to still another aspect of the present disclosure, there is provided an electronic device, including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the executable instructions to The above-mentioned method for switching from near-area communication to network communication is performed.
根据本公开的又一个方面,提供一种计算机可读存储介质,其上存储有计算机程序, 所述计算机程序被处理器执行时实现上述的近域通信转换到网络通信的方法。According to yet another aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the above method for converting near-area communication to network communication is implemented.
根据本公开的一些实施例,还提供了一种计算机程序,包括:指令,所述指令当由处理器执行时使所述处理器执行根据上述任一个实施例所述的近域通信转换到网络通信的方法。According to some embodiments of the present disclosure, there is also provided a computer program, including: instructions, which, when executed by a processor, cause the processor to perform the conversion from near field communication to a network according to any one of the above embodiments. method of communication.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure. Apparently, the drawings in the following description are only some embodiments of the present disclosure, and those skilled in the art can obtain other drawings according to these drawings without creative efforts.
图1本公开实施例中一种网络结构示意图;FIG. 1 is a schematic diagram of a network structure in an embodiment of the present disclosure;
图2本公开实施例中一种近域通信转换到网络通信的方法流程示意图;FIG. 2 is a schematic flowchart of a method for switching from near-area communication to network communication in an embodiment of the present disclosure;
图3本公开实施例中一种近域通信转换到网络通信的方法流程示意图;FIG. 3 is a schematic flowchart of a method for switching from near-area communication to network communication in an embodiment of the present disclosure;
图4本公开实施例中一种近域通信转换到网络通信的方法流程示意图;FIG. 4 is a schematic flowchart of a method for switching from near-area communication to network communication in an embodiment of the present disclosure;
图5本公开实施例中一种近域通信转换到网络通信的方法流程示意图;FIG. 5 is a schematic flowchart of a method for switching from near-area communication to network communication in an embodiment of the present disclosure;
图6本公开实施例中一种近域通信转换到网络通信的装置示意图;FIG. 6 is a schematic diagram of an apparatus for switching from near-area communication to network communication in an embodiment of the present disclosure;
图7本公开实施例中一种近域通信转换到网络通信的装置示意图;和FIG. 7 is a schematic diagram of an apparatus for switching from near-area communication to network communication in an embodiment of the present disclosure; and
图8本公开实施例中一种计算机设备的结构框图。Fig. 8 is a structural block diagram of a computer device in an embodiment of the present disclosure.
具体实施方式Detailed ways
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本公开将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
此外,附图仅为本公开的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理 器装置和/或微控制器装置中实现这些功能实体。Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus repeated descriptions thereof will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different network and/or processor devices and/or microcontroller devices.
如背景技术部分所述,当前移动网络需要支持终端之间从近域通信转换到网络通信的路径转换方法。相关技术中终端之间由近域通信转换至网络通信时,无法保证业务连续性。As mentioned in the background section, the current mobile network needs to support a method for switching paths between terminals from near-area communication to network communication. In the related art, when the near area communication is switched to the network communication between the terminals, service continuity cannot be guaranteed.
发明人发现,相关技术中针对邻近服务的路径转换,还未支持终端之间从近距离业务通信转换到无线接入网络通信的路径转换方法,并且邻近服务功能与会话管理功能之间没有接口。The inventors found that the path switching method for ProSe in the related art does not support the path switching method between terminals from proximity service communication to wireless access network communication, and there is no interface between the proximity service function and the session management function.
基于上述问题,本公开实施例提供了一种近域通信转换到网络通信的方法,添加邻近服务功能与会话管理功能之间的接口,通过网络传输终端会话信息以及会话管理功能信息,通过控制用户转发功能,将终端的两个会话连接起来,从而实现终端之间从近距离业务通信转换至无线接入网络通信后仍能保证业务连续性的目标。Based on the above problems, an embodiment of the present disclosure provides a method for converting near area communication to network communication, adding an interface between the proximity service function and the session management function, transmitting terminal session information and session management function information through the network, and controlling user The forwarding function connects the two sessions of the terminal, so as to realize the goal of ensuring business continuity after switching from short-distance business communication to wireless access network communication between terminals.
本公开提供一种近域通信转换到网络通信的方法、装置、设备及存储介质,至少在一定程度上解决相关技术中终端之间由近域通信转换至网络通信时,无法保证业务连续性的问题。The present disclosure provides a method, device, device, and storage medium for switching from near-area communication to network communication, at least to a certain extent, solving the problem that business continuity cannot be guaranteed when terminals are switched from near-area communication to network communication in the related art question.
本公开的其他特性和优点将通过下面的详细描述变得显然,或部分地通过本公开的实践而习得。Other features and advantages of the present disclosure will become apparent from the following detailed description, or in part, be learned by practice of the present disclosure.
本公开实施例中的近域通信也可以称为近距离通信业务,可以包括D2D(Device To Device,设备到设备)通信。为便于理解,下文中以近域通信采用D2D通信进行示例性说明。The near-field communication in the embodiments of the present disclosure may also be called a short-distance communication service, and may include D2D (Device To Device, device-to-device) communication. For ease of understanding, D2D communication is used as an example for near-field communication in the following description.
本公开提供的近域通信转换到网络通信的方法,可以应用于如图1所示的网络架构中,该网络架构包括第一终端102、网络设备104和第二终端106。The method for converting near area communication to network communication provided in this disclosure may be applied to the network architecture shown in FIG. 1 , where the network architecture includes a first terminal 102 , a network device 104 and a second terminal 106 .
第一终端102和第二终端106可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备、物联网设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备,移动台(Mobile Station,MS),终端(terminal device)等等。为方便描述,上面提到的设备统称为终端。The first terminal 102 and the second terminal 106 may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices, Internet of Things devices or other processing devices connected to wireless modems, as well as various forms of user Equipment, mobile station (Mobile Station, MS), terminal (terminal device) and so on. For convenience of description, the devices mentioned above are collectively referred to as terminals.
网络设备104可以是基站,该基站可以是一种部署在接入网中用以为终端提供无线通信功能的装置。基站可以包括各种形式的宏基站,微基站,中继站,接入点等等。The network device 104 may be a base station, and the base station may be a device deployed in an access network to provide a wireless communication function for a terminal. The base station may include various forms of macro base stations, micro base stations, relay stations, access points and so on.
在采用不同的无线接入技术的系统中,具备基站功能的设备的名称可能会有所不同,例如在LTE系统中,称为eNodeB或者eNB;在5G NR-U系统中,称为gNodeB或者gNB。In systems using different wireless access technologies, the names of devices with base station functions may be different. For example, in LTE systems, they are called eNodeB or eNB; in 5G NR-U systems, they are called gNodeB or gNB. .
在一些场景中,“基站”也可以称为“小区”。In some scenarios, a "base station" may also be called a "cell".
随着通信技术的演进,“基站”这一描述可能会变化。为方便本公开实施例中,上述为终端提供无线通信功能的装置统称为网络设备。As communications technology evolves, the description "base station" may change. For convenience, in the embodiments of the present disclosure, the foregoing devices that provide wireless communication functions for terminals are collectively referred to as network devices.
本公开实施例中,第一终端102与网络设备104之间,第二终端106与网络设备104之间通过某种空口技术互相通信,例如Uu接口。In the embodiment of the present disclosure, the first terminal 102 and the network device 104, and the second terminal 106 and the network device 104 communicate with each other through a certain air interface technology, such as a Uu interface.
在一些实施例中,第一终端102与第二终端106之间通过某种通信技术互相通信。In some embodiments, the first terminal 102 and the second terminal 106 communicate with each other through some communication technology.
可选的,第一终端102与第二终端106之间可以通过蓝牙或WiFi技术进行通信。Optionally, the first terminal 102 and the second terminal 106 may communicate through Bluetooth or WiFi technology.
或者,第一终端102和第二终端106支持设备到设备(Device to Device,D2D)通信,第一终端102与第二终端106之间可以通过PC-5接口进行侧行链路(sidelink)通信。Alternatively, the first terminal 102 and the second terminal 106 support device-to-device (Device to Device, D2D) communication, and sidelink (sidelink) communication can be performed between the first terminal 102 and the second terminal 106 through the PC-5 interface .
其中,侧行链路通信通过MAC层的源标识和目的标识来实现寻址,即在通信之前无需建立连接。Wherein, the sidelink communication implements addressing through the source identifier and destination identifier of the MAC layer, that is, no connection needs to be established before the communication.
蜂窝系统中当第一终端102与第二终端106之间有业务需要传输时,第一终端102到第二终端106的业务数据,会首先通过空口传输给第一终端102所在小区的基站(Base Station,或者称为eNB,或演进),该基站通过核心网将该用户数据传输给第二终端106所在小区的基站,该基站再将上述业务数据通过空口传输给第二终端106。第二终端106到第一终端102的业务数据传输采用类似的处理流程。In the cellular system, when there is a service to be transmitted between the first terminal 102 and the second terminal 106, the service data from the first terminal 102 to the second terminal 106 will first be transmitted to the base station (Base Station) of the cell where the first terminal 102 is located through the air interface. Station, or eNB, or evolution), the base station transmits the user data to the base station of the cell where the second terminal 106 is located through the core network, and the base station transmits the above service data to the second terminal 106 through the air interface. The service data transmission from the second terminal 106 to the first terminal 102 adopts a similar processing flow.
当第一终端102和第二终端106位于同一个蜂窝小区时,虽然两个终端由同一个基站的小区覆盖,但是一次数据传输仍然会消耗两份无线频谱资源。When the first terminal 102 and the second terminal 106 are located in the same cell, although the two terminals are covered by the cell of the same base station, one data transmission still consumes two wireless spectrum resources.
如果第一终端102和第二终端106位于同一小区并且相距较近,那么上述的蜂窝通信方法显然不是最优的通信方式。If the first terminal 102 and the second terminal 106 are located in the same cell and are relatively close to each other, then the above cellular communication method is obviously not an optimal communication method.
并且,随着移动通信业务的多样化,例如,社交网络、电子支付等在无线通信系统中的应用越来越广泛,使得近距离用户之间的业务传输需求日益增长。Moreover, with the diversification of mobile communication services, for example, social networking, electronic payment, etc. are more and more widely used in wireless communication systems, so that the demand for service transmission between users in close proximity is increasing.
基于上述需求,在近距离用户之间的业务传输场景中,D2D的通信模式越发普遍。例如,上文中的第一终端102和第二终端106之间便可以采用D2D通信方案。Based on the above requirements, the D2D communication mode is becoming more and more common in the service transmission scenario between users in a short distance. For example, the above-mentioned D2D communication solution may be adopted between the first terminal 102 and the second terminal 106 .
在D2D通信方案中,业务数据不经过基站进行转发,直接由源用户设备通过空口传输给目标用户设备,也可称之为邻近服务(Proximity Service,简称ProSe)。In the D2D communication solution, service data is directly transmitted from the source user equipment to the target user equipment through the air interface without being forwarded by the base station, which can also be called Proximity Service (ProSe for short).
这种通信模式区别于传统蜂窝系统的通信模式。对于近距离通信的用户来说,D2D不但节省了无线频谱资源,而且降低了核心网的数据传输压力。This communication mode is different from that of traditional cellular systems. For short-distance communication users, D2D not only saves wireless spectrum resources, but also reduces the data transmission pressure of the core network.
基于蜂窝网的D2D通信是一种在系统的控制下,在多个支持D2D功能的终端设备之间直接进行通信的技术,它能够减少系统资源占用,增加蜂窝通信系统频谱效率,降低终端发射功耗,并在很大程度上节省网络运营成本。D2D communication based on cellular network is a technology that directly communicates between multiple terminal devices that support D2D functions under the control of the system. It can reduce system resource occupation, increase the spectrum efficiency of cellular communication systems, and reduce terminal transmission power Consumption, and to a large extent save network operating costs.
请继续参考图1,在第一终端102或第二终端106的位置改变时,例如,第一终端102和第二终端106之间的距离变大,D2D通信的效果就会变差,第一终端102和第二终端106之间可能无法通过近距离业务直接通信,所以二者之间需要转换至网络通信。本公开实施例提供的近域通信转换到网络通信的方法便可以应用在这个转换的过程中。Please continue to refer to FIG. 1. When the position of the first terminal 102 or the second terminal 106 changes, for example, the distance between the first terminal 102 and the second terminal 106 becomes larger, the effect of D2D communication will become worse. The first The terminal 102 and the second terminal 106 may not be able to communicate directly through the short distance service, so the two need to switch to network communication. The method for switching from near field communication to network communication provided by the embodiments of the present disclosure can be applied in this conversion process.
图2示出本公开实施例中一种近域通信转换到网络通信的方法流程图,如图2所示,本公开实施例中提供的近域通信转换到网络通信的方法包括如下步骤:FIG. 2 shows a flow chart of a method for converting near-area communication to network communication in an embodiment of the present disclosure. As shown in FIG. 2 , the method for converting near-area communication to network communication provided in an embodiment of the present disclosure includes the following steps:
步骤S202,第一邻近服务功能节点在第一终端和第二终端需要从近域通信转换到网络通信时,将第二终端的会话信息关联到第一终端的会话信息中;In step S202, the first proximity based service function node associates the session information of the second terminal with the session information of the first terminal when the first terminal and the second terminal need to switch from near area communication to network communication;
步骤S204,第一邻近服务功能节点将关联后的第一终端的会话信息,发送至第一会话管理功能节点;Step S204, the first proximity service function node sends the associated session information of the first terminal to the first session management function node;
步骤S206,会话管理功能节点通过控制用户转发功能节点,使用户转发功能节点基于会话信息将第一终端的会话和第二终端的会话连接起来;Step S206, the session management function node controls the user forwarding function node, so that the user forwarding function node connects the session of the first terminal and the session of the second terminal based on the session information;
步骤S208,会话管理功能节点通知第一终端转换至网络通信;Step S208, the session management function node notifies the first terminal to switch to network communication;
步骤S210,会话管理功能节点通知第二终端转换至网络通信。Step S210, the session management function node notifies the second terminal to switch to network communication.
需要说明的是,本公开实施例需要在邻近服务功能节点与会话管理功能节点之间设置通信接口。It should be noted that, in the embodiment of the present disclosure, a communication interface needs to be set between the proximity service function node and the session management function node.
当终端之间从近距离业务通信转换至终端各自建立无线接入通信会话时,终端需要将会话信息发送给邻近服务功能,邻近服务功能节点之间交互会话信息,然后邻近服务功能节点通过网络查找该会话对应的会话管理功能节点,将第二终端的会话信息关联到第一终端的会话信息中通过新接口发给第一会话管理功能节点,进而第一会话管理功能节点可以通过得到的信息查找到第二终端的会话管理功能信息,会话管理功能节点通过控制用户转发功能,基于会话信息,将终端的两个会话连接起来,最后将会话连接成功消息告知终端,从而实现终端之间从近距离业务通信转换至无线接入网络通信后仍能保证业务连续性的目标。When the terminals switch from near-distance service communication to each terminal establishes a wireless access communication session, the terminal needs to send the session information to the proximity service function, and the proximity service function nodes exchange session information, and then the proximity service function node searches through the network. The session management function node corresponding to the session associates the session information of the second terminal with the session information of the first terminal and sends it to the first session management function node through a new interface, and then the first session management function node can search through the obtained information To the session management function information of the second terminal, the session management function node connects the two sessions of the terminal based on the session information by controlling the user forwarding function, and finally notifies the terminal of the successful connection of the session, so as to realize the short-distance communication between terminals. The goal of ensuring business continuity after business communication is converted to wireless access network communication.
对于终端之间从近距离业务通信转换到通过无线接入网络建立通信会话时,由于终端各自建立会话之后并未交互各自会话信息,故需要通过网络(eg:会话管理功能)连接会话来保证业务连续性。When the terminals switch from short-distance business communication to establishing a communication session through the wireless access network, since the terminals do not exchange their own session information after establishing the session, it is necessary to connect the session through the network (eg: session management function) to ensure service continuity.
终端在建立新的会话后需要将会话信息发送给邻近服务功能。After establishing a new session, the terminal needs to send the session information to the ProSe function.
邻近服务功能在收到会话信息后,需要交互各自会话信息(eg:PDU session ID,DNN),若此时终端连接相同的邻近服务功能则不需要交互会话信息。After receiving the session information, the ProSe function needs to exchange its own session information (eg: PDU session ID, DNN). If the terminal is connected to the same ProSe function at this time, there is no need to exchange session information.
邻近服务功能通过网络查找该会话对应的会话管理功能。The ProSe function searches the network for the session management function corresponding to the session.
邻近服务功能与会话管理功能之间需要添加接口。An interface needs to be added between the proximity service function and the session management function.
第一邻近服务功能需要将第二终端的会话信息关联到第一终端的会话信息上,并将其通过新接口发送给第一会话管理功能。The first ProSe function needs to associate the session information of the second terminal with the session information of the first terminal, and send it to the first session management function through the new interface.
第一会话管理功能通过网络查找到第二终端会话对应的第二会话管理功能,若此时终端连接相同的会话管理功能则不需要查找。The first session management function finds the second session management function corresponding to the session of the second terminal through the network, and if the terminal is connected to the same session management function at this time, no search is required.
会话管理功能通过控制用户转发功能,基于会话信息,将终端的两个会话连接起来。The session management function connects two sessions of the terminal based on the session information by controlling the user forwarding function.
会话管理功能通知终端可以传输会话数据。The session management function notifies the terminal that session data can be transmitted.
为便于理解,下文以终端A对应邻近服务功能节点A,终端B对应邻近服务功能节点B,终端A对应会话管理功能节点A,终端B对应会话管理功能节点B,终端A对应用户转发功能节点A,终端B对应用户转发功能节点B,来说明本公开实施例的具体过程。For ease of understanding, terminal A corresponds to the proximity service function node A, terminal B corresponds to the proximity service function node B, terminal A corresponds to the session management function node A, terminal B corresponds to the session management function node B, and terminal A corresponds to the user forwarding function node A , the terminal B corresponds to the user forwarding function node B, to describe the specific process of the embodiment of the present disclosure.
如图3所示,首先,添加邻近服务功能与会话管理功能之间的接口。As shown in Figure 3, first, an interface between the ProSe function and the session management function is added.
1、终端A,B分别完成各自的邻近服务授权;并且终端A B之间完成邻近服务发现并且建立Prose直接通信;邻近服务功能之间交互授权得到的终端Identity1. Terminals A and B complete their respective proximity service authorizations; and terminals A and B complete proximity service discovery and establish Prose direct communication; the terminal Identity obtained by mutual authorization between proximity service functions
此时终端之间由于通信质量不佳(比如:通信范围超出可达范围),终端之间无法再通过近距离业务进行通信At this time, due to the poor communication quality between the terminals (for example: the communication range exceeds the reachable range), the terminals can no longer communicate through the short-distance service
2a、2b:终端各自建立新的会话,其中会话管理功能将会话信息注册到数据管理2a, 2b: Each terminal establishes a new session, and the session management function registers the session information to the data management
3a、3b:终端将会话信息发送给邻近服务功能3a, 3b: The terminal sends the session information to the proximity service function
4、邻近服务功能收到会话信息后,交互各自的会话信息(eg:PDU session ID,DNN),若此时终端连接相同的邻近服务功能则不需要交互会话信息,已经在步骤3中实现。4. After the proximity service function receives the session information, it exchanges its own session information (eg: PDU session ID, DNN). If the terminal is connected to the same proximity service function at this time, there is no need to exchange session information, which has been implemented in step 3.
5、6:邻近服务功能通过网络查找该会话对应的会话管理功能,并将终端B的会话信息关联到终端A的会话信息,并通过新接口发送给会话管理功能_A5, 6: The proximity service function searches the session management function corresponding to the session through the network, associates the session information of terminal B with the session information of terminal A, and sends it to the session management function_A through the new interface
7、会话管理功能_A查找终端B会话对应的会话管理功能_B,若此时终端连接相同的会话管理功能则不需要查找。7. The session management function _A searches for the session management function _B corresponding to the session of the terminal B. If the terminal is connected to the same session management function at this time, there is no need to search.
8、会话管理功能_A和会话管理功能_B通过控制用户转发功能,基于会话信息,将步骤2a,2b所建会话连接起来8. Session management function _A and session management function _B connect the sessions established in steps 2a and 2b based on the session information by controlling the user forwarding function
9a、9b:会话管理功能通知终端可以传输会话数据(eg:通过新接口或者通过AMF、AN)9a, 9b: The session management function notifies the terminal that session data can be transmitted (eg: through a new interface or through AMF, AN)
10、终端将会话switching至步骤8连接好的会话上10. The terminal switches the session to the session connected in step 8
至此,终端之间通过无线接入网络进行数据传输。So far, data transmission is performed between the terminals through the wireless access network.
基于同一发明构思,本公开实施例中还提供了一种近域通信转换到网络通信的方法,在邻近服务功能节点与会话管理功能节点之间设置通信接口,方法应用于第一邻近服务功能节点,如图4所示,该方法包括如下步骤:Based on the same inventive concept, the embodiment of the present disclosure also provides a method for switching from near area communication to network communication, in which a communication interface is set between the proximity service function node and the session management function node, and the method is applied to the first proximity service function node , as shown in Figure 4, the method includes the following steps:
步骤S402,在第一终端和第二终端需要从近域通信转换到网络通信时,将第二终端的会话信息关联到第一终端的会话信息中,;Step S402, when the first terminal and the second terminal need to switch from near area communication to network communication, associating the session information of the second terminal with the session information of the first terminal;
步骤S404,将关联后的第一终端的会话信息,发送至会话管理功能节点,以使会话管理功能节点通过用户转发功能节点,基于会话信息将第一终端的会话和第二终端的会话连接起来后,通知第一终端和第二终端转换至网络通信。Step S404, sending the associated session information of the first terminal to the session management function node, so that the session management function node connects the session of the first terminal and the session of the second terminal based on the session information through the user forwarding function node After that, notify the first terminal and the second terminal to switch to network communication.
在一些实施例中,在第一终端和第二终端均连接第一邻近服务功能节点时,将第二终端的会话信息关联到第一终端的会话信息中之前,方法还包括:In some embodiments, when both the first terminal and the second terminal are connected to the first proximity service function node, before associating the session information of the second terminal with the session information of the first terminal, the method further includes:
接收第一终端的会话信息和第二终端的会话信息,第一终端的会话信息是第一终端需要从近域通信转换到网络通信时新建立的会话的会话信息,第二终端的会话信息是第二终端需要从近域通信转换到网络通信时新建立的会话的会话信息。Receive the session information of the first terminal and the session information of the second terminal, the session information of the first terminal is the session information of the newly established session when the first terminal needs to switch from near field communication to network communication, and the session information of the second terminal is The second terminal needs session information of a newly established session when switching from near area communication to network communication.
在一些实施例中,在第一终端连接第一邻近服务功能节点,第二终端连接第二邻近服务功能节点时,将第二终端的会话信息关联到第一终端的会话信息中之前,方法还包括:In some embodiments, when the first terminal connects to the first ProSe function node and the second terminal connects to the second ProSe function node, before associating the session information of the second terminal with the session information of the first terminal, the method further include:
接收第一终端的会话信息,第一终端的会话信息是第一终端需要从近域通信转换到网络通信时新建立的会话的会话信息;receiving session information of the first terminal, where the session information of the first terminal is session information of a newly established session when the first terminal needs to switch from near area communication to network communication;
从第二邻近服务功能节点获取第二终端的会话信息,第二终端的会话信息是第二终端需要从近域通信转换到网络通信时新建立的会话的会话信息。The session information of the second terminal is acquired from the second ProSe function node, where the session information of the second terminal is session information of a newly established session when the second terminal needs to switch from near area communication to network communication.
在一些实施例中,通知第一终端和第二终端转换至网络通信后,第一终端和第二终端分别将新建立的会话转换至用户转发功能节点连接好的会话上。In some embodiments, after notifying the first terminal and the second terminal to switch to network communication, the first terminal and the second terminal respectively switch the newly established session to the session connected to the user forwarding function node.
在一些实施例中,会话信息包括协议数据单元PDU会话标识信息。In some embodiments, the session information includes protocol data unit PDU session identification information.
在一些实施例中,在第一终端和第二终端之间的距离大于预设距离时,第一终端和第二终端需要从近域通信转换到网络通信。In some embodiments, when the distance between the first terminal and the second terminal is greater than a preset distance, the first terminal and the second terminal need to switch from near area communication to network communication.
本公开的实施例所提供的近域通信转换到网络通信的方法,在邻近服务功能节点与会话管理功能节点之间设置了通信接口;第一邻近服务功能节点在第一终端和第二终端需要从近域通信转换到网络通信时,可以将第二终端的会话信息关联到第一终端的会话信息中,并通过前文设置的通信接口发送至会话管理功能节点;会话管理功能节点通过用户转发功能节点,基于会话信息将第一终端的会话和第二终端的会话连接起来后,再通知第一终端和第二终端转换至网络通信,便可以确保由近域通信转换至网络通信时业务的连续性。In the method for converting near area communication to network communication provided by the embodiments of the present disclosure, a communication interface is set between the proximity service function node and the session management function node; the first proximity service function node needs to be connected between the first terminal and the second terminal When switching from near-area communication to network communication, the session information of the second terminal can be associated with the session information of the first terminal, and sent to the session management function node through the communication interface set above; the session management function node passes the user forwarding function The node connects the session of the first terminal and the session of the second terminal based on the session information, and then notifies the first terminal and the second terminal to switch to network communication, so as to ensure the continuity of business when switching from near field communication to network communication sex.
基于同一发明构思,本公开实施例中还提供了一种近域通信转换到网络通信的方法,在邻近服务功能节点与会话管理功能节点之间设置通信接口,该方法应用于会话管理功能节点,如图5所示,该方法包括如下步骤:Based on the same inventive concept, the embodiments of the present disclosure also provide a method for switching from near-area communication to network communication, in which a communication interface is set between the proximity service function node and the session management function node, and the method is applied to the session management function node, As shown in Figure 5, the method includes the following steps:
步骤S502,接收来自第一邻近服务功能节点发送的会话信息,该会话信息是第一邻近服务功能节点在第一终端和第二终端需要从近域通信转换到网络通信时,将第二终端的会话信息关联到第一终端的会话信息中得到的;Step S502, receiving session information sent from the first ProSe functional node, the session information is that the first ProSe functional node transfers the second terminal's The session information is obtained by associating the session information of the first terminal;
步骤S504,通过用户转发功能节点,基于会话信息将第一终端的会话和第二终端的会话连接起来;Step S504, connecting the session of the first terminal and the session of the second terminal based on the session information through the user forwarding function node;
步骤S506,通知第一终端和第二终端转换至网络通信。Step S506, notifying the first terminal and the second terminal to switch to network communication.
在一些实施例中,会话管理功能节点可以包括第一会话管理功能节点和第二会话管理功能节点,第一终端连接第一会话管理功能节点,第二终端连接第二会话管理功能节点。通过用户转发功能节点,基于会话信息将第一终端的会话和第二终端的会话连接起来之前,方法还包括:In some embodiments, the session management function node may include a first session management function node and a second session management function node, the first terminal is connected to the first session management function node, and the second terminal is connected to the second session management function node. Before connecting the session of the first terminal and the session of the second terminal based on the session information through the user forwarding function node, the method further includes:
通过网络查找第二终端的会话对应的第二会话管理功能节点;Searching for a second session management function node corresponding to the session of the second terminal through the network;
通过用户转发功能节点,基于会话信息将第一终端的会话和第二终端的会话连接起来,包括:Through the user forwarding function node, the session of the first terminal and the session of the second terminal are connected based on the session information, including:
第一会话管理功能节点和第二会话管理功能节点通过用户转发功能节点,基于会话信息将第一终端的会话和第二终端的会话连接起来。The first session management function node and the second session management function node connect the session of the first terminal and the session of the second terminal based on the session information through the user forwarding function node.
在一些实施例中,该方法还可以包括:In some embodiments, the method may also include:
在第一终端建立新的会话后,将会话对应的会话信息注册到数据管理节点。After establishing a new session, the first terminal registers session information corresponding to the session with the data management node.
基于同一发明构思,本公开实施例中还提供了一种近域通信转换到网络通信的装置,如下面的实施例。由于该近域通信转换到网络通信的装置实施例解决问题的原理与上述方法实施例相似,因此该近域通信转换到网络通信的装置实施例的实施可以参见上述方法实施例的实施,重复之处不再赘述。Based on the same inventive concept, embodiments of the present disclosure also provide an apparatus for switching from near-area communication to network communication, such as the following embodiments. Since the problem-solving principle of the device embodiment for switching from near-area communication to network communication is similar to that of the above-mentioned method embodiment, the implementation of the device embodiment for switching from near-area communication to network communication can refer to the implementation of the above-mentioned method embodiment, and repeat I won't repeat them here.
图6示出本公开实施例中一种近域通信转换到网络通信的装置,在邻近服务功能节点与会话管理功能节点之间设置通信接口,装置应用于第一邻近服务功能节点,如图6所示,该近域通信转换到网络通信的装置600包括:Fig. 6 shows a device for converting near-area communication to network communication in an embodiment of the present disclosure. A communication interface is set between the proximity service function node and the session management function node, and the device is applied to the first proximity service function node, as shown in Fig. 6 As shown, the device 600 for converting near-area communication to network communication includes:
会话信息关联模块602,用于在第一终端和第二终端需要从近域通信转换到网络通信时,将第二终端的会话信息关联到第一终端的会话信息中;A session information associating module 602, configured to associate the session information of the second terminal with the session information of the first terminal when the first terminal and the second terminal need to switch from near area communication to network communication;
信息发送模块604,用于将关联后的第一终端的会话信息,发送至会话管理功能节点, 以使会话管理功能节点通过用户转发功能节点,基于会话信息将第一终端的会话和第二终端的会话连接起来后,通知第一终端和第二终端转换至网络通信。The information sending module 604 is configured to send the associated session information of the first terminal to the session management function node, so that the session management function node forwards the session of the first terminal to the second terminal based on the session information through the user forwarding function node. After the session is connected, the first terminal and the second terminal are notified to switch to network communication.
在一些实施例中,在第一终端和第二终端均连接第一邻近服务功能节点时,将第二终端的会话信息关联到第一终端的会话信息中之前,该近域通信转换到网络通信的装置600,还可以包括:In some embodiments, when both the first terminal and the second terminal are connected to the first proximity service function node, before the session information of the second terminal is associated with the session information of the first terminal, the near area communication is converted to network communication The device 600 may also include:
会话接收模块,用于接收第一终端的会话信息和第二终端的会话信息,第一终端的会话信息是第一终端需要从近域通信转换到网络通信时新建立的会话的会话信息,第二终端的会话信息是第二终端需要从近域通信转换到网络通信时新建立的会话的会话信息。The session receiving module is configured to receive the session information of the first terminal and the session information of the second terminal. The session information of the first terminal is the session information of a newly established session when the first terminal needs to switch from near area communication to network communication. The session information of the second terminal is session information of a newly established session when the second terminal needs to switch from the near area communication to the network communication.
在一些实施例中,在第一终端连接第一邻近服务功能节点,第二终端连接第二邻近服务功能节点时,将第二终端的会话信息关联到第一终端的会话信息中之前,该近域通信转换到网络通信的装置600,还可以包括:In some embodiments, when the first terminal connects to the first proximity-based service function node and the second terminal connects to the second proximity-based service function node, before the session information of the second terminal is associated with the session information of the first terminal, the proximity The device 600 for converting domain communication to network communication may also include:
会话接收模块,用于接收第一终端的会话信息,第一终端的会话信息是第一终端需要从近域通信转换到网络通信时新建立的会话的会话信息;The session receiving module is configured to receive session information of the first terminal, where the session information of the first terminal is session information of a newly established session when the first terminal needs to switch from near field communication to network communication;
会话获取模块,用于从第二邻近服务功能节点获取第二终端的会话信息,第二终端的会话信息是第二终端需要从近域通信转换到网络通信时新建立的会话的会话信息。The session acquiring module is configured to acquire session information of the second terminal from the second ProSe function node, where the session information of the second terminal is the session information of a newly established session when the second terminal needs to switch from near area communication to network communication.
在一些实施例中,通知第一终端和第二终端转换至网络通信后,第一终端和第二终端分别将新建立的会话转换至用户转发功能节点连接好的会话上。In some embodiments, after notifying the first terminal and the second terminal to switch to network communication, the first terminal and the second terminal respectively switch the newly established session to the session connected to the user forwarding function node.
在一些实施例中,会话信息包括协议数据单元PDU会话标识信息。In some embodiments, the session information includes protocol data unit PDU session identification information.
在一些实施例中,在第一终端和第二终端之间的距离大于预设距离时,第一终端和第二终端需要从近域通信转换到网络通信。In some embodiments, when the distance between the first terminal and the second terminal is greater than a preset distance, the first terminal and the second terminal need to switch from near area communication to network communication.
本申请实施例提供的近域通信转换到网络通信的装置,可以用于执行上述各方法实施例提供的近域通信转换到网络通信的方法,其实现原理和技术效果类似,为简介起见,在此不再赘述。The device for converting near-area communication to network communication provided by the embodiments of the present application can be used to implement the methods for converting near-area communication to network communication provided by the above method embodiments. The implementation principle and technical effect are similar. For the sake of brief introduction, in This will not be repeated here.
基于同一发明构思,本公开实施例中还提供了一种近域通信转换到网络通信的装置,如下面的实施例。由于该近域通信转换到网络通信的装置实施例解决问题的原理与上述方法实施例相似,因此该近域通信转换到网络通信的装置实施例的实施可以参见上述方法实施例的实施,重复之处不再赘述。Based on the same inventive concept, embodiments of the present disclosure also provide an apparatus for switching from near-area communication to network communication, such as the following embodiments. Since the problem-solving principle of the device embodiment for switching from near-area communication to network communication is similar to that of the above-mentioned method embodiment, the implementation of the device embodiment for switching from near-area communication to network communication can refer to the implementation of the above-mentioned method embodiment, and repeat I won't repeat them here.
图7示出本公开实施例中一种近域通信转换到网络通信的装置,在邻近服务功能节点与会话管理功能节点之间设置通信接口,装置应用于会话管理功能节点,如图7所示,该近域通信转换到网络通信的装置700包括:FIG. 7 shows a device for converting near-area communication to network communication in an embodiment of the present disclosure. A communication interface is set between the proximity service function node and the session management function node. The device is applied to the session management function node, as shown in FIG. 7 , the device 700 for converting near-area communication to network communication includes:
信息接收模块702,用于接收来自第一邻近服务功能节点发送的会话信息,该会话信息是第一邻近服务功能节点在第一终端和第二终端需要从近域通信转换到网络通信时,将第二终端的会话信息关联到第一终端的会话信息中得到的;The information receiving module 702 is configured to receive session information sent from the first proximity-based service function node, where the session information is sent by the first proximity-based service function node when the first terminal and the second terminal need to switch from near-area communication to network communication The session information of the second terminal is associated with the session information of the first terminal;
会话连接模块704,用于通过用户转发功能节点,基于会话信息将第一终端的会话和第二终端的会话连接起来;A session connection module 704, configured to connect the session of the first terminal and the session of the second terminal based on the session information through the user forwarding function node;
通知模块706,用于通知第一终端和第二终端转换至网络通信。A notification module 706, configured to notify the first terminal and the second terminal to switch to network communication.
在一些实施例中,会话管理功能节点可以包括第一会话管理功能节点和第二会话管理功能节点,第一终端连接第一会话管理功能节点,第二终端连接第二会话管理功能节点;通过用户转发功能节点,基于会话信息将第一终端的会话和第二终端的会话连接起来之前,该近域通信转换到网络通信的装置700,还可以包括:In some embodiments, the session management function node may include a first session management function node and a second session management function node, the first terminal is connected to the first session management function node, and the second terminal is connected to the second session management function node; through the user The forwarding function node, before connecting the session of the first terminal and the session of the second terminal based on the session information, the apparatus 700 for converting the near area communication to network communication may further include:
查找模块,用于通过网络查找第二终端的会话对应的第二会话管理功能节点;A search module, configured to search for a second session management function node corresponding to the session of the second terminal through the network;
会话连接模块704,可以具体用于:The session connection module 704 can be specifically used for:
第一会话管理功能节点和第二会话管理功能节点通过用户转发功能节点,基于会话信息将第一终端的会话和第二终端的会话连接起来。The first session management function node and the second session management function node connect the session of the first terminal and the session of the second terminal based on the session information through the user forwarding function node.
在一些实施例中,该近域通信转换到网络通信的装置700,还可以包括:In some embodiments, the apparatus 700 for converting near-area communication to network communication may further include:
信息注册模块,用于在第一终端建立新的会话后,将会话对应的会话信息注册到数据管理节点。The information registration module is configured to register the session information corresponding to the session to the data management node after the first terminal establishes a new session.
本申请实施例提供的近域通信转换到网络通信的装置,可以用于执行上述各方法实施例提供的近域通信转换到网络通信的方法,其实现原理和技术效果类似,为简介起见,在此不再赘述。The device for converting near-area communication to network communication provided by the embodiments of the present application can be used to implement the methods for converting near-area communication to network communication provided by the above method embodiments. The implementation principle and technical effect are similar. For the sake of brief introduction, in This will not be repeated here.
所属技术领域的技术人员能够理解,本公开的各个方面可以实现为系统、方法或程序产品。因此,本公开的各个方面可以具体实现为以下形式,即:完全的硬件实施方式、完全的软件实施方式(包括固件、微代码等),或硬件和软件方面结合的实施方式,这里可以统称为“电路”、“模块”或“系统”。Those skilled in the art can understand that various aspects of the present disclosure can be implemented as a system, method or program product. Therefore, various aspects of the present disclosure can be embodied in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which can be collectively referred to herein as "circuit", "module" or "system".
下面参照图8来描述根据本公开的这种实施方式的电子设备800。图8显示的电子设备800仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。An electronic device 800 according to this embodiment of the present disclosure is described below with reference to FIG. 8 . The electronic device 800 shown in FIG. 8 is only an example, and should not limit the functions and application scope of the embodiments of the present disclosure.
如图8所示,电子设备800以通用计算设备的形式表现。电子设备800的组件可以包括但不限于:上述至少一个处理单元810、上述至少一个存储单元820、连接不同系统组件(包括存储单元820和处理单元810)的总线830。As shown in FIG. 8, electronic device 800 takes the form of a general-purpose computing device. Components of the electronic device 800 may include but not limited to: at least one processing unit 810 , at least one storage unit 820 , and a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810 ).
其中,所述存储单元存储有程序代码,所述程序代码可以被所述处理单元810执行, 使得所述处理单元810执行本说明书上述“示例性方法”部分中描述的根据本公开各种示例性实施方式的步骤。例如,所述处理单元810可以执行如下步骤:Wherein, the storage unit stores program codes, and the program codes can be executed by the processing unit 810, so that the processing unit 810 executes various exemplary methods according to the present disclosure described in the "Exemplary Methods" section above in this specification. Implementation steps. For example, the processing unit 810 may perform the following steps:
在第一终端和第二终端需要从近域通信转换到网络通信时,将第二终端的会话信息关联到第一终端的会话信息中;When the first terminal and the second terminal need to switch from near area communication to network communication, associating the session information of the second terminal with the session information of the first terminal;
将会话信息,发送至会话管理功能节点,以使会话管理功能节点通过用户转发功能节点,基于会话信息将第一终端的会话和第二终端的会话连接起来后,通知第一终端和第二终端转换至网络通信。Send the session information to the session management function node, so that the session management function node connects the session of the first terminal and the session of the second terminal based on the session information through the user forwarding function node, and then notifies the first terminal and the second terminal Switch to network communication.
或,所述处理单元810可以执行如下步骤:Or, the processing unit 810 may perform the following steps:
接收来自第一邻近服务功能节点发送的会话信息,会话信息实是第一邻近服务功能节点在第一终端和第二终端需要从近域通信转换到网络通信时,将第二终端的会话信息关联到第一终端的会话信息中得到的;Receive the session information sent from the first ProSe function node, the session information is actually the session information of the second terminal that the first ProSe function node associates with the session information of the second terminal when the first terminal and the second terminal need to switch from near area communication to network communication obtained from session information to the first terminal;
通过用户转发功能节点,基于会话信息将第一终端的会话和第二终端的会话连接起来;Connecting the session of the first terminal and the session of the second terminal based on the session information through the user forwarding function node;
通知第一终端和第二终端转换至网络通信。The first terminal and the second terminal are notified to switch to network communication.
存储单元820可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)8201和/或高速缓存存储单元8202,还可以进一步包括只读存储单元(ROM)8203。The storage unit 820 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 8201 and/or a cache storage unit 8202 , and may further include a read-only storage unit (ROM) 8203 .
存储单元820还可以包括具有一组(至少一个)程序模块8205的程序/实用工具8204,这样的程序模块8205包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。 Storage unit 820 may also include programs/utilities 8204 having a set (at least one) of program modules 8205, such program modules 8205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, Implementations of networked environments may be included in each or some combination of these examples.
总线830可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。 Bus 830 may represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local area using any of a variety of bus structures. bus.
电子设备800也可以与一个或多个外部设备840(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得用户能与该电子设备800交互的设备通信,和/或与使得该电子设备800能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口850进行。并且,电子设备800还可以通过网络适配器860与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器860通过总线830与电子设备800的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备800使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、 RAID系统、磁带驱动器以及数据备份存储系统等。The electronic device 800 can also communicate with one or more external devices 840 (such as keyboards, pointing devices, Bluetooth devices, etc.), and can also communicate with one or more devices that enable the user to interact with the electronic device 800, and/or communicate with Any device (eg, router, modem, etc.) that enables the electronic device 800 to communicate with one or more other computing devices. Such communication may occur through input/output (I/O) interface 850 . Moreover, the electronic device 800 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and/or a public network such as the Internet) through the network adapter 860 . As shown, the network adapter 860 communicates with other modules of the electronic device 800 through the bus 830 . It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本公开实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、终端装置、或者网络设备等)执行根据本公开实施方式的方法。Through the description of the above implementations, those skilled in the art can easily understand that the example implementations described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of software products, and the software products can be stored in a non-volatile storage medium (which can be CD-ROM, U disk, mobile hard disk, etc.) or on the network , including several instructions to make a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) execute the method according to the embodiments of the present disclosure.
在本公开的示例性实施例中,还提供了一种计算机可读存储介质,该计算机可读存储介质可以是可读信号介质或者可读存储介质。其上存储有能够实现本公开上述方法的程序产品。在一些可能的实施方式中,本公开的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当所述程序产品在终端设备上运行时,所述程序代码用于使所述终端设备执行本说明书上述“示例性方法”部分中描述的根据本公开各种示例性实施方式的步骤。In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, and the computer-readable storage medium may be a readable signal medium or a readable storage medium. A program product capable of realizing the above-mentioned methods of the present disclosure is stored thereon. In some possible implementation manners, various aspects of the present disclosure may also be implemented in the form of a program product, which includes program code, and when the program product is run on a terminal device, the program code is used to make the The terminal device executes the steps according to various exemplary embodiments of the present disclosure described in the "Exemplary Method" section above in this specification.
本公开中的计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。More specific examples of computer-readable storage media in this disclosure may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
在本公开中,计算机可读存储介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。In the present disclosure, a computer-readable storage medium may include a data signal carrying readable program code in baseband or as part of a carrier wave traveling as a data signal. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.
可选地,计算机可读存储介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。Alternatively, program code contained on a computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, cable, optical cable, RF, etc., or any suitable combination of the above.
在具体实施时,可以以一种或多种程序设计语言的任意组合来编写用于执行本公开操作的程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域 网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。During specific implementation, the program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, and the programming language includes an object-oriented programming language—such as Java, C++, etc., or Includes conventional procedural programming languages - such as the "C" language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server to execute. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (for example, using an Internet service provider). business to connect via the Internet).
应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本公开的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。It should be noted that although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. Actually, according to the embodiment of the present disclosure, the features and functions of two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided to be embodied by a plurality of modules or units.
此外,尽管在附图中以特定顺序描述了本公开中方法的各个步骤,但是,这并非要求或者暗示必须按照该特定顺序来执行这些步骤,或是必须执行全部所示的步骤才能实现期望的结果。附加的或备选的,可以省略某些步骤,将多个步骤合并为一个步骤执行,以及/或者将一个步骤分解为多个步骤执行等。In addition, although steps of the methods of the present disclosure are depicted in the drawings in a particular order, there is no requirement or implication that the steps must be performed in that particular order, or that all illustrated steps must be performed to achieve the desired result. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step for execution, and/or one step may be decomposed into multiple steps for execution, etc.
通过以上实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本公开实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、移动终端、或者网络设备等)执行根据本公开实施方式的方法。Through the description of the above embodiments, those skilled in the art can easily understand that the example embodiments described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of software products, and the software products can be stored in a non-volatile storage medium (which can be CD-ROM, U disk, mobile hard disk, etc.) or on the network , including several instructions to make a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) execute the method according to the embodiments of the present disclosure.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由所附的权利要求指出。Other embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. The present disclosure is intended to cover any modification, use or adaptation of the present disclosure. These modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure. . The specification and examples are to be considered exemplary only, with the true scope and spirit of the disclosure indicated by the appended claims.

Claims (17)

  1. 一种近域通信转换到网络通信的方法,其中,在邻近服务功能节点与会话管理功能节点之间设置通信接口,所述方法应用于第一邻近服务功能节点,所述方法包括:A method for converting near area communication to network communication, wherein a communication interface is set between a proximity service function node and a session management function node, the method is applied to a first proximity service function node, and the method includes:
    在第一终端和第二终端需要从近域通信转换到网络通信时,将所述第二终端的会话信息关联到所述第一终端的会话信息中;When the first terminal and the second terminal need to switch from near area communication to network communication, associating the session information of the second terminal with the session information of the first terminal;
    将关联后的所述第一终端的会话信息,发送至会话管理功能节点,以使所述会话管理功能节点通过用户转发功能节点,基于会话信息将所述第一终端的会话和所述第二终端的会话连接起来后,通知所述第一终端和所述第二终端转换至网络通信。Sending the associated session information of the first terminal to the session management function node, so that the session management function node uses the user forwarding function node to link the session of the first terminal with the second terminal based on the session information After the sessions of the terminals are connected, the first terminal and the second terminal are notified to switch to network communication.
  2. 根据权利要求1所述的方法,其中,在所述第一终端和所述第二终端均连接所述第一邻近服务功能节点时,所述将所述第二终端的会话信息关联到所述第一终端的会话信息中之前,所述方法还包括:The method according to claim 1, wherein when both the first terminal and the second terminal are connected to the first ProSe function node, the associating the session information of the second terminal with the Before the session information of the first terminal is included, the method further includes:
    接收所述第一终端的会话信息和所述第二终端的会话信息,所述第一终端的会话信息是所述第一终端需要从近域通信转换到网络通信时新建立的会话的会话信息,所述第二终端的会话信息是所述第二终端需要从近域通信转换到网络通信时新建立的会话的会话信息。receiving session information of the first terminal and session information of the second terminal, where the session information of the first terminal is session information of a session newly established when the first terminal needs to switch from near-area communication to network communication , the session information of the second terminal is session information of a newly established session when the second terminal needs to switch from near area communication to network communication.
  3. 根据权利要求1所述的方法,其中,在所述第一终端连接所述第一邻近服务功能节点,所述第二终端连接第二邻近服务功能节点时,所述将所述第二终端的会话信息关联到所述第一终端的会话信息中之前,所述方法还包括:The method according to claim 1, wherein when the first terminal is connected to the first proximity service function node and the second terminal is connected to a second proximity service function node, the Before the session information is associated with the session information of the first terminal, the method further includes:
    接收所述第一终端的会话信息,所述第一终端的会话信息是所述第一终端需要从近域通信转换到网络通信时新建立的会话的会话信息;receiving session information of the first terminal, where the session information of the first terminal is session information of a session newly established when the first terminal needs to switch from near-area communication to network communication;
    从所述第二邻近服务功能节点获取第二终端的会话信息,所述第二终端的会话信息是所述第二终端需要从近域通信转换到网络通信时新建立的会话的会话信息。Obtaining session information of the second terminal from the second ProSe function node, where the session information of the second terminal is session information of a newly established session when the second terminal needs to switch from near area communication to network communication.
  4. 根据权利要求2或3所述的方法,其中,所述通知所述第一终端和所述第二终端转换至网络通信后,所述第一终端和所述第二终端分别将新建立的会话转换至所述用户转发功能节点连接好的会话上。The method according to claim 2 or 3, wherein after the first terminal and the second terminal are notified to switch to network communication, the first terminal and the second terminal respectively transfer the newly established session Switch to the session connected to the user forwarding function node.
  5. 根据权利要求1-3任一所述的方法,其中,所述会话信息包括协议数据单元PDU会话标识信息。The method according to any one of claims 1-3, wherein the session information includes protocol data unit (PDU) session identification information.
  6. 根据权利要求1-3任一所述的方法,其中,在第一终端和第二终端之间的距离大于预设距离时,所述第一终端和所述第二终端需要从近域通信转换到网络通信。The method according to any one of claims 1-3, wherein when the distance between the first terminal and the second terminal is greater than a preset distance, the first terminal and the second terminal need to switch from near area communication to network communication.
  7. 一种近域通信转换到网络通信的方法,其中,在邻近服务功能节点与会话管理功能节点之间设置通信接口,所述方法应用于会话管理功能节点,所述方法包括:A method for converting near-area communication to network communication, wherein a communication interface is set between a proximity service function node and a session management function node, the method is applied to a session management function node, and the method includes:
    接收来自第一邻近服务功能节点发送的会话信息,所述会话信息是所述第一邻近服务功能节点在第一终端和第二终端需要从近域通信转换到网络通信时,将所述第二终端的会话信息关联到所述第一终端的会话信息中得到的;receiving session information sent from the first proximity-based service function node, the session information is that the first proximity-based service function node transfers the second terminal to the network communication when the first terminal and the second terminal need to switch Obtained by associating the session information of the terminal with the session information of the first terminal;
    通过用户转发功能节点,基于所述会话信息将所述第一终端的会话和所述第二终端的会话连接起来;connecting the session of the first terminal and the session of the second terminal based on the session information through a user forwarding function node;
    通知所述第一终端和所述第二终端转换至网络通信。The first terminal and the second terminal are notified to switch to network communication.
  8. 根据权利要求7所述的方法,其中,所述会话管理功能节点,包括第一会话管理功能节点和第二会话管理功能节点,所述第一终端连接所述第一会话管理功能节点,所述第二终端连接第二会话管理功能节点;所述通过用户转发功能节点,基于所述会话信息将所述第一终端的会话和所述第二终端的会话连接起来之前,所述方法还包括:The method according to claim 7, wherein the session management function node includes a first session management function node and a second session management function node, the first terminal is connected to the first session management function node, the The second terminal is connected to the second session management function node; before the user forwarding function node connects the session of the first terminal and the session of the second terminal based on the session information, the method further includes:
    通过网络查找所述第二终端的会话对应的第二会话管理功能节点;Searching for a second session management function node corresponding to the session of the second terminal through the network;
    所述通过用户转发功能节点,基于所述会话信息将所述第一终端的会话和所述第二终端的会话连接起来,包括:The forwarding function node through the user connects the session of the first terminal and the session of the second terminal based on the session information, including:
    所述第一会话管理功能节点和所述第二会话管理功能节点通过用户转发功能节点,基于会话信息将所述第一终端的会话和所述第二终端的会话连接起来。The first session management function node and the second session management function node connect the session of the first terminal and the session of the second terminal based on the session information through the user forwarding function node.
  9. 根据权利要求7所述的方法,其中,所述方法还包括:The method according to claim 7, wherein the method further comprises:
    在所述第一终端建立新的会话后,将所述会话对应的会话信息注册到数据管理节点。After the first terminal establishes a new session, register the session information corresponding to the session with the data management node.
  10. 根据权利要求7所述的方法,其中,所述方法还包括:The method according to claim 7, wherein the method further comprises:
    在所述第二终端建立新的会话后,将所述会话对应的会话信息注册到数据管理节点。After the second terminal establishes a new session, register the session information corresponding to the session with the data management node.
  11. 根据权利要求8所述的方法,其中,所述通知所述第一终端和所述第二终端转换至网络通信包括:The method according to claim 8, wherein said notifying said first terminal and said second terminal to switch to network communication comprises:
    所述第一会话管理功能节点和所述第二会话管理功能节点通知所述第一终端和所述第二终端转换至网络通信。The first session management function node and the second session management function node notify the first terminal and the second terminal to switch to network communication.
  12. 根据权利要求7所述的方法,其中,所述会话管理功能节点包括第一会话管理功能节点,所述第一终端连接所述第一会话管理功能节点,所述第二终端连接第一会话管理功能节点。The method according to claim 7, wherein the session management function node comprises a first session management function node, the first terminal is connected to the first session management function node, and the second terminal is connected to the first session management function node function node.
  13. 一种近域通信转换到网络通信的装置,其中,在邻近服务功能节点与会话管理功能节点之间设置通信接口,所述装置应用于第一邻近服务功能节点,所述装置包括:A device for converting near area communication to network communication, wherein a communication interface is set between a proximity service function node and a session management function node, the device is applied to a first proximity service function node, and the device includes:
    会话信息关联模块,用于在第一终端和第二终端需要从近域通信转换到网络通信时,将所述第二终端的会话信息关联到所述第一终端的会话信息中;A session information associating module, configured to associate the session information of the second terminal with the session information of the first terminal when the first terminal and the second terminal need to switch from near area communication to network communication;
    信息发送模块,用于将关联后的所述第一终端的会话信息,发送至会话管理功能节点,以使所述会话管理功能节点通过用户转发功能节点,基于所述会话信息将所述第一终端的会话和所述第二终端的会话连接起来后,通知所述第一终端和所述第二终端转换至网络通信。An information sending module, configured to send the associated session information of the first terminal to the session management function node, so that the session management function node forwards the first terminal based on the session information through the user forwarding function node. After the session of the terminal and the session of the second terminal are connected, the first terminal and the second terminal are notified to switch to network communication.
  14. 一种近域通信转换到网络通信的装置,其中,在邻近服务功能节点与会话管理功能节点之间设置通信接口,所述装置应用于会话管理功能节点,所述装置包括:A device for converting near-area communication to network communication, wherein a communication interface is set between a proximity service function node and a session management function node, the device is applied to a session management function node, and the device includes:
    信息接收模块,用于接收来自第一邻近服务功能节点发送的会话信息,所述会话信息是所述第一邻近服务功能节点在第一终端和第二终端需要从近域通信转换到网络通信时,将所述第二终端的会话信息关联到所述第一终端的会话信息中得到的;An information receiving module, configured to receive session information sent from the first proximity-based service function node, the session information is when the first terminal and the second terminal need to switch from near-area communication to network communication by the first proximity-based service function node , obtained by associating the session information of the second terminal with the session information of the first terminal;
    会话连接模块,用于通过用户转发功能节点,基于所述会话信息将所述第一终端的会话和所述第二终端的会话连接起来;A session connection module, configured to connect the session of the first terminal and the session of the second terminal based on the session information through a user forwarding function node;
    通知模块,用于通知所述第一终端和所述第二终端转换至网络通信。A notification module, configured to notify the first terminal and the second terminal to switch to network communication.
  15. 一种电子设备,包括:An electronic device comprising:
    处理器;以及processor; and
    存储器,用于存储所述处理器的可执行指令;a memory for storing executable instructions of the processor;
    其中,所述处理器配置为经由执行所述可执行指令来执行权利要求1-12中任意一项所述的近域通信转换到网络通信的方法。Wherein, the processor is configured to execute the method for converting near-area communication to network communication according to any one of claims 1-12 by executing the executable instructions.
  16. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1-12中任意一项所述的近域通信转换到网络通信的方法。A computer-readable storage medium, on which a computer program is stored, wherein, when the computer program is executed by a processor, the method for converting near-area communication to network communication according to any one of claims 1-12 is implemented.
  17. 一种计算机程序,包括:A computer program comprising:
    指令,所述指令当由处理器执行时使所述处理器执行根据权利要求1-12中任一项所述的近域通信转换到网络通信的方法。Instructions, the instructions, when executed by the processor, cause the processor to execute the method for converting near-area communication to network communication according to any one of claims 1-12.
PCT/CN2022/129421 2022-01-28 2022-11-03 Method and apparatus for switching from near field communication to network communication, and device and storage medium WO2023142577A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210107809.9 2022-01-28
CN202210107809.9A CN116567589A (en) 2022-01-28 2022-01-28 Method, device, equipment and storage medium for converting near field communication into network communication

Publications (1)

Publication Number Publication Date
WO2023142577A1 true WO2023142577A1 (en) 2023-08-03

Family

ID=87470395

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/129421 WO2023142577A1 (en) 2022-01-28 2022-11-03 Method and apparatus for switching from near field communication to network communication, and device and storage medium

Country Status (2)

Country Link
CN (1) CN116567589A (en)
WO (1) WO2023142577A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103716850A (en) * 2012-09-29 2014-04-09 中兴通讯股份有限公司 Method, system and device for switching communication path
CN111278169A (en) * 2018-12-27 2020-06-12 维沃移动通信有限公司 Switching method, first terminal and second terminal
WO2021031022A1 (en) * 2019-08-16 2021-02-25 Oppo广东移动通信有限公司 Link switching method and communication device
CN112492631A (en) * 2019-09-11 2021-03-12 维沃移动通信有限公司 Switching method and device
CN112654070A (en) * 2019-10-12 2021-04-13 大唐移动通信设备有限公司 Communication method, device, equipment and storage medium between user terminals

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103716850A (en) * 2012-09-29 2014-04-09 中兴通讯股份有限公司 Method, system and device for switching communication path
CN111278169A (en) * 2018-12-27 2020-06-12 维沃移动通信有限公司 Switching method, first terminal and second terminal
WO2021031022A1 (en) * 2019-08-16 2021-02-25 Oppo广东移动通信有限公司 Link switching method and communication device
CN112492631A (en) * 2019-09-11 2021-03-12 维沃移动通信有限公司 Switching method and device
CN112654070A (en) * 2019-10-12 2021-04-13 大唐移动通信设备有限公司 Communication method, device, equipment and storage medium between user terminals

Also Published As

Publication number Publication date
CN116567589A (en) 2023-08-08

Similar Documents

Publication Publication Date Title
US20080171561A1 (en) Apparatus for and method of radio link establishment between two communication devices
US20240129994A1 (en) Communication method and apparatus
CA2802164C (en) Method and apparatus for handling peers with dynamic ip connectivity status in peer-to-peer networks
US8351896B2 (en) Method to support emergency call through mesh network
US20230422325A1 (en) Apparatuses and methods for sidelink (sl) communication in a user equipment (ue)-to-ue relaying architecture
WO2021042742A1 (en) Communication method, apparatus, and system
WO2021212939A1 (en) Communication method, apparatus and system
JP2023530186A (en) Relay decision method, arrangement method, device, terminal and network side equipment
WO2023090820A1 (en) Method and apparatus for ue authentication for remote provisioning
WO2018214762A1 (en) Method and apparatus for acquiring paging parameter
CN111386749A (en) Method for establishing point-to-point service sessions over infrastructure links
WO2023142577A1 (en) Method and apparatus for switching from near field communication to network communication, and device and storage medium
US10666492B1 (en) Method and apparatus of providing emergency communication services
WO2022155853A1 (en) Wireless communication method, communication apparatus and communication system
WO2023098704A1 (en) Device-to-device communication method and apparatus, device, medium, and program product
WO2022165752A1 (en) State switching method, apparatus, device, and storage medium
CN114731567A (en) Method, apparatus and computer readable medium for controlling D2D routing
WO2022067588A1 (en) Communication method and apparatus
WO2024032290A1 (en) Session establishment method and apparatus, and network device and storage medium
CN110248323A (en) Method, apparatus, equipment, system and the storage medium of access to wireless communication network
RU2782571C2 (en) Method, system and device for quality of service control
WO2021168813A1 (en) Communication method and communication apparatus
WO2023213132A1 (en) Network slicing-based communication method, communication apparatus, access network device, and terminal device
WO2023174154A1 (en) Communication method, apparatus and system
WO2023124494A1 (en) Network switching processing method and apparatus, computer readable medium and electronic device

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: 22923374

Country of ref document: EP

Kind code of ref document: A1