CN115460000B - Session processing method, network device, terminal device and medium - Google Patents

Session processing method, network device, terminal device and medium Download PDF

Info

Publication number
CN115460000B
CN115460000B CN202211105038.6A CN202211105038A CN115460000B CN 115460000 B CN115460000 B CN 115460000B CN 202211105038 A CN202211105038 A CN 202211105038A CN 115460000 B CN115460000 B CN 115460000B
Authority
CN
China
Prior art keywords
platform server
user account
user terminal
session
user
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202211105038.6A
Other languages
Chinese (zh)
Other versions
CN115460000A (en
Inventor
王磊
时晓厚
杜梅
曾然然
林悦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202211105038.6A priority Critical patent/CN115460000B/en
Publication of CN115460000A publication Critical patent/CN115460000A/en
Application granted granted Critical
Publication of CN115460000B publication Critical patent/CN115460000B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The disclosure provides a session processing method, network equipment, terminal equipment and a medium, and relates to the technical field of communication. The session processing method comprises the following steps: receiving a session message sent by a first user terminal associated with a first platform server; analyzing the session request to obtain message content, an identifier of a first platform server, a first user account, an identifier of a second platform server and a second user account, wherein the first user account is a user account associated with a first user terminal, the second user account is a user account associated with a second user terminal, and the second user terminal is a user terminal associated with the second platform server; and sending the session message to the second user terminal so that the second user terminal displays the message content, the identification of the first platform server and the first user account. The method reduces the session communication cost of the platform service side and realizes the display of the cross-platform user identity.

Description

Session processing method, network device, terminal device and medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a session processing method, a network device, a terminal device, and a computer readable storage medium.
Background
In the network platforms, each network platform may provide social services for users of the same platform, for example, a session may be performed between users of the social platform through a server of the social platform.
As users' communication needs continue to be rich, there is a need to communicate across platforms, e.g., users of a first social platform want to communicate with users of a second social platform.
In the related art, communication between users of different platforms can be realized through communication interfaces developed between different platforms, however, the mode is generally high in cost and high in difficulty.
Disclosure of Invention
The present disclosure provides a session processing method, a network device, a terminal device, and a computer readable storage medium, thereby reducing session communication costs of a platform service side, and realizing display of cross-platform user identities.
According to a first aspect of the present disclosure, there is provided a session processing method, the method being applied to a network device, including:
receiving a session message sent by a first user terminal associated with a first platform server;
analyzing the session request to obtain message content, an identification of the first platform server, a first user account, an identification of the second platform server and a second user account, wherein the first user account is a user account associated with the first user terminal, the second user account is a user account associated with the second user terminal, and the second user terminal is a user terminal associated with the second platform server;
And sending the session message to the second user terminal so that the second user terminal displays the message content, the identification of the first platform server and the first user account.
Optionally, before receiving the session message sent by the first user terminal associated with the first platform server, the method further includes:
responding to a registration request sent by a platform server, and distributing an identifier for the platform server;
analyzing the registration request to obtain at least one user account registered in the platform server;
and establishing an association relation between the identifier of the platform server and the at least one user account to obtain platform server registration information.
Optionally, after allocating an identifier to the platform server, the method further includes:
and sending the identification of the platform server to the platform server so that the platform server determines at least one user account registered in the platform server according to the user account registration information, and sending the identification of the platform server to a user terminal associated with each user account.
Optionally, before sending the session message to the second user terminal, the method further comprises:
Comparing the identification of the first platform server, the first user account, the identification of the second platform server and the second user account with the platform server registration information;
and if the platform server registration information comprises the identification of the first platform server, the first user account, the identification of the second platform server and the second user account, determining to send the session message to the second user terminal.
Optionally, after allocating an identifier to the platform server in response to the registration request sent by the platform server, the method further includes:
responding to a distribution strategy signing request sent by the platform server, and determining a distribution strategy selected by the platform server;
and establishing a corresponding relation between the identifier of the platform server and the distribution strategy selected by the platform server to obtain a session message distribution strategy information table.
Optionally, the sending the session message to the second user terminal includes:
and responding to the change of the position information of the first user terminal, determining a target distribution strategy corresponding to the identification of the first platform server according to the session message distribution strategy information table, and sending the session message to the second user terminal according to the target distribution strategy.
According to a second aspect of the present disclosure, there is provided a session processing method applied to a first user terminal associated with a first platform server, comprising:
responding to a session initiation operation, and acquiring message content to be sent from a session interface of a second user account, wherein the second user account is a user account registered in a second platform server;
responding to the sending operation of the message content, and generating a session message according to the identification of a first platform server, a first user account, the identification of a second platform server, the second user account and the message content, wherein the first user account is a user account associated with the first user terminal, the second user account is a user account associated with a second user terminal, and the second user terminal is a user terminal associated with the second platform server;
and sending the session message to network equipment so that the network equipment sends the session message to the second user terminal, wherein the second user terminal is used for displaying the message content, the identification of the first platform server and the first user account.
According to a third aspect of the present disclosure, there is provided a network device comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of the first aspect via execution of the executable instructions.
According to a fourth aspect of the present disclosure, there is provided a terminal device, the terminal device being a first user terminal associated with a first platform server, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of the second aspect via execution of the executable instructions.
According to a fifth aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of the first aspect, or the second aspect.
The technical scheme of the present disclosure has the following beneficial effects:
a session processing method, a network device, a terminal device and a medium are provided. Communication interfaces are not required to be developed among platform servers of different network platforms, session processing among user terminals can be realized based on network equipment, and session communication cost of a platform service side is saved; on the other hand, the user terminal receiving the session message can display the user account information for sending the session message and the information of the platform server where the user account is located, so that the identity information of the session message sender can be effectively determined by the session message receiver under the cross-platform session scene.
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 disclosure.
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. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely some embodiments of the present disclosure and that other drawings may be derived from these drawings without undue effort.
Fig. 1 shows a schematic architecture diagram of a session processing system in the present exemplary embodiment;
fig. 2 shows an exemplary flowchart of a session processing method in the present exemplary embodiment;
fig. 3 shows a schematic architecture diagram of a network system in the present exemplary embodiment;
fig. 4 is a flowchart showing another session processing method in the present exemplary embodiment;
fig. 5 shows a schematic configuration diagram of a session processing apparatus in the present exemplary embodiment;
fig. 6 is a schematic diagram showing the structure of another session processing apparatus in the present exemplary embodiment;
Fig. 7 shows a schematic structural diagram of an electronic device in the present exemplary embodiment.
Detailed Description
Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may 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 the exemplary 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. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the present disclosure. One skilled in the relevant art will recognize, however, that the aspects of the disclosure may be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
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 a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures 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 networks and/or processor devices and/or microcontroller devices.
The flow diagrams depicted in the figures are exemplary only and not necessarily all steps are included. For example, some steps may be decomposed, and some steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations.
In the related art, a scene where a session needs to be performed across platforms is faced. An attempt may be made to develop a communication interface between the different platform servers for constructing the communication interface such that different user terminals associated with the different platform servers communicate through the communication interface. Wherein, platform server in the embodiment of the present disclosure refers to metauniverse platform server.
For example, platform server a is used to construct meta universe A1, user terminal a registers user account A1 through platform server a, platform server B is used to construct meta universe B1, and user terminal B registers user account B1 through platform server B; a communication interface can be developed between the platform server A and the platform server B, when the user account a1 wants to communicate with the user account B1, session information can be sent to the platform server A through the user terminal a, the platform server A sends the session information to the platform server A through the communication interface between the platform server A and the platform server B, and the platform server A forwards the session information to the user terminal B of the user account B1 so as to realize cross-platform communication between users.
However, such a cross-platform session scheme generally requires a platform server to take time and labor to develop a communication interface between different platform servers, and requires a dedicated data transmission line to be installed between the platform servers, which is costly.
In view of the foregoing, exemplary embodiments of the present disclosure provide a session processing method for a user session scenario involving cross-platforms. This includes, but is not limited to: in the cross-platform user session process, the network equipment receives a session message sent by a first user terminal associated with a first platform server; analyzing the session message to obtain message content, an identification of a first platform server, a first user account, an identification of a second platform server and a second user account; and sending the session message to the second user terminal so that the second user terminal displays the message content, the identification of the first platform server and the first user account, wherein the first user account is a user account associated with the first user terminal, the second user account is a user account associated with the second user terminal, and the second user terminal is a user terminal associated with the second platform server.
In order to implement the above-described service processing method, an exemplary embodiment of the present disclosure provides a session processing system. Fig. 1 shows a schematic architecture diagram of the session handling system. As shown in fig. 1, the service processing system 100 may include a first user terminal 110, a network device 120, and a first user terminal 130. Wherein the first user terminal 110 is a terminal device that registers a first user account in the first platform server, and the second user terminal 130 is a terminal device that registers a second user account in the second platform server, where the terminal device may be a desktop computer, a tablet computer, a computer, or a Virtual Reality (VR) device, for example, VR glasses or VR head display; the network device 120 may be a network device in a network system of a mobile communication service server, where the first user terminal 110 and the second user terminal 130 may establish a connection with the network device to implement session processing.
The session processing method will be described from the viewpoint of the network device. Fig. 2 shows an exemplary flow of a session processing method performed by a network device, which may include steps S201 to S203:
step S201, receiving a session message sent by a first user terminal associated with a first platform server;
step S202, analyzing a session request to obtain message content, an identification of a first platform server, a first user account, an identification of a second platform server and a second user account;
in the embodiment of the disclosure, the first user account is a user account associated with a first user terminal, the second user account is a user account associated with a second user terminal, and the second user terminal is a user terminal associated with a second platform server.
Step S203, the session message is sent to the second user terminal, so that the second user terminal displays the message content, the identifier of the first platform server and the first user account.
In summary, the session processing method provided in the embodiments of the present disclosure is on the one hand. Communication interfaces are not required to be developed among platform servers of different network platforms, session processing among user terminals can be realized based on network equipment, and session communication cost of a platform service side is saved; on the other hand, the user terminal receiving the session message can display the user account information for sending the session message and the information of the platform server where the user account is located, so that the identity information of the session message sender can be effectively determined by the session message receiver under the cross-platform session scene.
Each step in fig. 2 is specifically described below.
In the above step S201, the network device may receive a session message sent by the first user terminal associated with the first platform server.
In an embodiment of the present disclosure, the first user terminal associated with the first platform server is a terminal device associated with a respective network service provided by the first platform server. For example, if the first platform server is a shopping platform server, the first user terminal is a terminal device that is shopping service by the shopping platform server via network; if the first server is a short video server, the first user terminal is a user terminal providing short video content by the short video server.
It can be understood that when the first user terminal needs to send a session message to the second user terminal associated with the second platform server, the first user terminal responds to a session initiation operation to acquire the content of the message to be sent from a session interface of the second user account, wherein the second user account is a user account registered in the second platform server; responding to the sending operation of the message content, and generating a session message according to the identification of the first platform server, the first user account, the identification of the second platform server, the second user account and the message content; the session message is sent to the network device.
Wherein, the process of the first user terminal obtaining the message content to be sent at the session interface of the second user account in response to the session initiation operation may include: the first user terminal responds to the session initiation operation, displays a user information list, determines to display a session interface of a second user account if the selected operation of the second user account corresponding to the identification of the second platform server is obtained, and obtains the message content edited on the session interface to obtain the message content to be sent. The user information list comprises identifiers of different platform servers and user accounts associated with the identifiers of the server platforms, and the user accounts associated with the identifiers of the server platforms are user accounts registered in the server platforms.
It may be appreciated that the user information list may include an identification of the first platform server, and a first user account corresponding to the identification of the first platform server, and/or an identification of the second platform server, and a second user account associated with the identification of the second platform server, wherein the first user account is a user account registered in the first platform server; the second user account is a user account registered in the second platform server.
Wherein the process of displaying the user information list by the first user terminal in response to the session initiation operation may include: the first user terminal responds to the session initiation operation, sends a user information acquisition request to the first platform server, the first platform server can return a user information list to the first user terminal, and the first user terminal can display the user information list.
It should be noted that, in the embodiment of the present disclosure, in order to implement a cross-platform session based on a network device, a platform server of a platform server may perform identity registration in the network device, so that a user terminal performs a cross-platform session through an identifier allocated by the network device to the platform server associated with the user terminal.
In an alternative embodiment, before receiving the session message sent by the first user terminal associated with the first platform server, the network device may further allow the platform server to perform an identification registration of the platform server in the network device, where the network device may: responding to a registration request sent by a platform server, and distributing an identifier for the platform server; analyzing the registration request to obtain at least one user account registered in the platform server; and establishing an association relation between the identification of the platform server and at least one user account to obtain the registration information of the platform server. Different identity marks can be established for different platform servers, so that when a user terminal associated with the platform server carries out cross-platform conversation, a conversation message sender and a receiver are conveniently identified, and information of the conversation message sender is conveniently displayed in the user terminal of the receiver.
It may be appreciated that any platform server may perform identification registration in the network device, for example, the network device may allocate an identification of the first platform server to the first platform server in response to a registration request sent by the first platform server; resolving the registration request to obtain at least one user account registered in the first platform server; and establishing an association relation between the identification of the first platform server and at least one user account to obtain platform server registration information.
The network equipment can also respond to the registration request sent by the second platform server and allocate the identification of the second platform server for the second platform server; resolving the registration request to obtain at least one user account registered in the second platform server; and establishing an association relation between the identification of the second platform server and at least one user account to obtain platform server registration information.
In an alternative embodiment, the network device, after assigning the identifier to the platform-based server, may further: and sending the identification of the platform server to the platform server so that the platform server determines at least one user account registered in the platform server according to the user account registration information, and sending the identification of the platform server to the user terminal associated with each user account. The user terminal associated with the platform server can obtain the identifier of the platform server, and in the cross-platform conversation process, the identifier of the platform server is carried in the conversation message, so that the network equipment for processing the conversation message can conveniently identify the sender of the conversation message, and the identity information of the sender of the conversation message is provided for the conversation message receiver.
It should be noted that, in the embodiment of the present disclosure, the Network system of the mobile communication service side is formed by Network devices implementing different functions, and as shown in fig. 3, the Network system 300 includes a base station 301, an uplink classifier (Uplink Classifier, UL CL) user plane function device (User Plane Function, UPF) 302, a primary anchor point UPF303, a primary Data Network device 304 (Data Network, DN), a secondary anchor point UPF305, a secondary DN306, an access and mobility management function device 307 (Access and Mobility Management Function, AMF), a session management function device 308 (Session Management Function, SMF), a policy control function device 309 (Policy control function, PFC), and a Network exposure function device 310 (Network Exposure Function, NEF). Wherein the terminal equipment UE accesses the network system through the base station, and the mobile edge calculation (Mobile Edge Computing, MEC) accesses the network system through the NEF.
It should be noted that, in the embodiment of the present disclosure, the network system may further include a cloud server, the platform server may register the identifier of the platform server based on the cloud server, and the cloud server may synchronize the platform server registration information to the network system. It is appreciated that in embodiments of the present disclosure, the process of the platform server registering the identity of the platform server may be implemented based on the cloud server.
In an alternative embodiment, the UPF in the network system is used to process the user session message, and the network device (UPF) may receive the session message sent by the first user terminal associated with the first platform server.
In step S202, the network device may parse the session request to obtain the message content, the identifier of the first platform server, the first user account, the identifier of the second platform server, and the second user account.
In the embodiment of the disclosure, the first user account is a user account associated with a first user terminal, the second user account is a user account associated with a second user terminal, and the second user terminal is a user terminal associated with a second platform server.
In an alternative embodiment, the network device (UPF) may parse the session request for message content, an identification of the first platform server, a first user account, an identification of the second platform server, and a second user account.
In an optional implementation manner, after the network device obtains the identifier of the first platform server, the identifier of the first user account, the identifier of the second platform server and the second user account, the identifier of the first platform server, the identifier of the first user account, the identifier of the second platform server and the second user account may be compared with the platform server registration information; if the platform server registration information comprises the identification of the first platform server, the first user account, the identification of the second platform server and the second user account, determining to send the session message to the second user terminal; and if the platform server registration information does not contain any one of the identification of the first platform server, the first user account, the identification of the second platform server and the second user account, refusing to send the session message to the second user terminal. The forwarding of the session message can be performed on the premise that the identification of the first platform server of the session message sender and the identification of the second platform server of the session message receiver are determined to be the identifications of the registered platform servers in the network system, so that the error processing of the session message is prevented, and the accuracy of the session message processing is improved.
In the above step S203, the network device may send a session message to the second user terminal, so that the second user terminal displays the message content, the identification of the first platform server, and the first user account.
In an alternative embodiment, the process of the network device (UPF) transmitting the session message to the second user terminal may include: the network device (UPF) determines a second user terminal associated with the second user account based on the second user account and sends a session message to the second user terminal.
In an optional implementation manner, the network system may further support a data offloading service of the user terminal, and in an identifier registration stage of the platform server, after the cloud server responds to a registration request sent by the platform server to allocate an identifier to the platform server, the cloud server may further: responding to a distribution strategy signing request sent by a platform server, and determining a distribution strategy selected by the platform server; and establishing a corresponding relation of the identifier of the platform server and the distribution strategy selected by the platform server to obtain a session message distribution strategy information table. The method can provide distribution of session messages in the cross-platform session process, and improves efficiency and convenience of message forwarding in the cross-platform session process.
Wherein, in response to the offloading policy subscription request sent by the platform server, the process of determining the offloading policy selected by the platform server in response to the offloading policy subscription request sent by the platform server may include: the cloud server responds to the distribution policy signing request sent by the platform server, provides a plurality of alternative distribution policies for the platform server, selects a target distribution policy from the plurality of alternative distribution policies, sends the target distribution policy to the cloud server, and can determine the target distribution policy as the distribution policy determined by the platform server. The alternative offloading policies may include a specific location UL CL offloading policy, a location and user subscribed UL CL offloading policy, a location and application detection UL CL offloading policy and a capability open UL CL offloading policy. It will be appreciated that the first platform server may be in communication with
In an alternative embodiment, the offloading policy may be an offloading policy triggered by a change in a location of the user terminal, and the process of sending, by the network device, the session message to the second user terminal may include: and responding to the change of the position information of the first user terminal, determining a target distribution strategy corresponding to the identification of the first platform server according to the distribution strategy information table, and sending the session message to the second user terminal according to the target distribution strategy. After the position of the user terminal is changed, session messages can be distributed in the cross-platform session process, and the efficiency and convenience of message forwarding in the cross-platform session process are improved.
For example, if the target offloading policy corresponding to the identifier of the first platform server is a capability open UL CL offloading policy, the first user terminal may be attached to the primary anchor point UPF when establishing a PDU session with the network system for the first time, and after the AMF determines that the location of the first user terminal changes, the AMF sends, through the NEF, the location information after the change of the first user terminal to the MEC; the MEC can determine a target distribution strategy corresponding to the identification of the first platform server in a pre-stored distribution strategy information table according to the identification of the first platform server, and send the target distribution strategy and the changed position information to the PCF; the PCF determines a target UL CL UPF according to the changed position information, sends a session message transmission strategy updating request to the SMF, and sends a distribution strategy starting instruction to the target UL CL UPF, wherein the target UL CL UPF selects a target auxiliary anchor point UPF according to a target distribution strategy corresponding to the identification of the first platform server, and transmits a session message through the target auxiliary anchor point UPF.
The session handling method will be described below from the point of view of a first user terminal associated with a first platform server. Fig. 4 shows an exemplary flow of a session processing method performed by the first user terminal, and may include steps S401 to S403:
Step S401, responding to the session initiation operation, and acquiring the message content to be sent from a session interface of a second user account;
in the embodiment of the disclosure, the second user account is a user account registered in a second platform server;
step S402, responding to the sending operation of the message content, and generating a session message according to the identification of the first platform server, the first user account, the identification of the second platform server, the second user account and the message content;
in the embodiment of the disclosure, the first user account is a user account associated with a first user terminal, the second user account is a user account associated with a second user terminal, and the second user terminal is a user terminal associated with a second platform server;
step S403, the session message is sent to the network device, so that the network device sends the session message to the second user terminal;
in the embodiment of the disclosure, the second user terminal is used for displaying the message content, the identification of the first platform server and the first user account.
In summary, according to the session processing method provided by the embodiment of the present disclosure, on one hand, a communication interface is not required to be developed between platform servers of different network platforms, so that session processing between user terminals can be implemented based on network devices, and session communication cost of a platform server is saved; on the other hand, the user terminal sending the session message may carry the identifier of the platform server associated with the user terminal, so that the user terminal receiving the session message may display the user account information of the session message and the identity information of the platform server associated with the user account, so that the session message receiver can efficiently determine the source of the session message in the cross-platform session scenario.
An embodiment of the present disclosure provides a session processing apparatus, which is a network device, as shown in fig. 5, a session processing apparatus 500 includes:
a receiving module 501 configured to receive a session message sent by a first user terminal associated with a first platform server;
the parsing module 502 is configured to parse the session request to obtain the message content, the identifier of the first platform server, the first user account, the identifier of the second platform server, and the second user account, where the first user account is a user account associated with the first user terminal, the second user account is a user account associated with the second user terminal, and the second user terminal is a user terminal associated with the second platform server;
a first sending module 503 configured to send the session message to the second user terminal, so that the second user terminal displays the message content, the identification of the first platform server and the first user account.
Optionally, as shown in fig. 5, the session processing apparatus 500 further includes a first registration module 504 configured to:
responding to a registration request sent by a platform server, and distributing an identifier for the platform server;
analyzing the registration request to obtain at least one user account registered in the platform server;
And establishing an association relation between the identification of the platform server and at least one user account to obtain the registration information of the platform server.
Optionally, as shown in fig. 5, the session processing apparatus 500 further includes a second sending module 505 configured to:
and sending the identification of the platform server to the platform server so that the platform server determines at least one user account registered in the platform server according to the user account registration information, and sending the identification of the platform server to the user terminal associated with each user account.
Optionally, as shown in fig. 5, the session processing apparatus 500 further includes an authentication module 506 configured to:
comparing the identification of the first platform server, the first user account, the identification of the second platform server and the second user account with the platform server registration information;
and if the platform server registration information comprises the identification of the first platform server, the first user account, the identification of the second platform server and the second user account, determining to send the session message to the second user terminal.
Optionally, as shown in fig. 5, the session processing apparatus 500 further includes a second registration module 507 configured to:
responding to a distribution strategy signing request sent by a platform server, and determining a distribution strategy selected by the platform server;
And establishing a corresponding relation of the identifier of the platform server and the distribution strategy selected by the platform server to obtain a session message distribution strategy information table.
Optionally, the first sending module 503 is configured to:
and responding to the change of the position information of the first user terminal, determining a target distribution strategy corresponding to the identification of the first platform server according to the session message distribution strategy information table, and sending the session message to the second user terminal according to the target distribution strategy.
An embodiment of the present disclosure provides a session processing apparatus, which is a first user terminal associated with a first platform server, as shown in fig. 6, a session processing apparatus 600 includes:
an obtaining module 601, configured to obtain, in response to a session initiation operation, a message content to be sent at a session interface of a second user account, where the second user account is a user account registered in a second platform server;
the generating module 602 is configured to generate a session message according to the identification of the first platform server, the first user account, the identification of the second platform server, the second user account and the message content in response to the sending operation of the message content, wherein the first user account is a user account associated with the first user terminal, the second user account is a user account associated with the second user terminal, and the second user terminal is a user terminal associated with the second platform server;
A third sending module 603 is configured to send the session message to the network device, so that the network device sends the session message to the second user terminal, and the second user terminal is configured to display the message content, the identifier of the first platform server, and the first user account.
Exemplary embodiments of the present disclosure also provide a computer readable storage medium, which may be implemented in the form of a program product comprising program code for causing an electronic device to carry out the steps according to the various exemplary embodiments of the disclosure as described in the above section of the "exemplary method" when the program product is run on the electronic device. In one embodiment, the program product may be implemented as a portable compact disc read only memory (CD-ROM) and includes program code and may be run on an electronic device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, 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), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming 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, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, 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 (e.g., connected via the Internet using an Internet service provider).
The exemplary embodiments of the present disclosure also provide an electronic device, which may be a terminal device or a platform server. The electronic device is described below with reference to fig. 7. It should be understood that the electronic device 700 shown in fig. 7 is merely an example and should not be construed to limit the functionality and scope of use of embodiments of the present disclosure in any way.
As shown in fig. 7, the electronic device 700 is embodied in the form of a general purpose computing device. Components of electronic device 700 may include, but are not limited to: at least one processing unit 710, at least one memory unit 720, a bus 730 connecting the different system components, including the memory unit 720 and the processing unit 710.
Wherein the storage unit stores program code that is executable by the processing unit 710 such that the processing unit 710 performs steps according to various exemplary embodiments of the present invention described in the above-described "exemplary methods" section of the present specification. For example, the processing unit 710 may perform the method steps as shown in fig. 2, etc.
The memory unit 720 may include volatile memory units such as a random access memory unit (RAM) 721 and/or a cache memory unit 722, and may further include a read only memory unit (ROM) 723.
The storage unit 720 may also include a program/utility 724 having a set (at least one) of program modules 725, such program modules 725 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
Bus 730 may include a data bus, an address bus, and a control bus.
The electronic device 700 may also communicate with one or more external devices 800 (e.g., keyboard, pointing device, bluetooth device, etc.) via an input/output (I/O) interface 740. Electronic device 700 may 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 network adapter 750. As shown, the network adapter 750 communicates with other modules of the electronic device 700 over the bus 730. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 700, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit in accordance with exemplary embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
Those skilled in the art will appreciate that the various aspects of the present disclosure may be implemented as a system, method, or program product. Accordingly, various aspects of the disclosure may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system. Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (9)

1. A method for session handling, the method being applied to a network device and comprising:
responding to a registration request sent by a platform server, and distributing an identifier for the platform server;
analyzing the registration request to obtain at least one user account registered in the platform server;
establishing an association relationship between the identifier of the platform server and the at least one user account to obtain platform server registration information;
receiving a session message sent by a first user terminal associated with a first platform server;
analyzing the session request to obtain message content, an identification of the first platform server, a first user account, an identification of the second platform server and a second user account, wherein the first user account is a user account associated with the first user terminal, the second user account is a user account associated with the second user terminal, and the second user terminal is a user terminal associated with the second platform server;
And sending the session message to the second user terminal so that the second user terminal displays the message content, the identification of the first platform server and the first user account.
2. The method of claim 1, wherein after assigning the identity to the platform server, the method further comprises:
and sending the identification of the platform server to the platform server so that the platform server determines at least one user account registered in the platform server according to the user account registration information, and sending the identification of the platform server to a user terminal associated with each user account.
3. The method according to claim 1, characterized in that before sending the session message to the second user terminal, the method further comprises:
comparing the identification of the first platform server, the first user account, the identification of the second platform server and the second user account with the platform server registration information;
and if the platform server registration information comprises the identification of the first platform server, the first user account, the identification of the second platform server and the second user account, determining to send the session message to the second user terminal.
4. The method of claim 1, wherein after assigning an identity to a platform server in response to a registration request sent by the platform server, the method further comprises:
responding to a distribution strategy signing request sent by the platform server, and determining a distribution strategy selected by the platform server;
and establishing a corresponding relation between the identifier of the platform server and the distribution strategy selected by the platform server to obtain a session message distribution strategy information table.
5. The method of claim 4, wherein said sending the session message to the second user terminal comprises:
and responding to the change of the position information of the first user terminal, determining a target distribution strategy corresponding to the identification of the first platform server according to the session message distribution strategy information table, and sending the session message to the second user terminal according to the target distribution strategy.
6. A method of session handling, the method being applied to a first user terminal associated with a first platform server, comprising:
responding to a session initiation operation, and acquiring message content to be sent from a session interface of a second user account, wherein the second user account is a user account registered in a second platform server;
Responding to the sending operation of the message content, and generating a session message according to the identification of a first platform server, a first user account, the identification of a second platform server, the second user account and the message content, wherein the first user account is a user account associated with the first user terminal, the second user account is a user account associated with a second user terminal, and the second user terminal is a user terminal associated with the second platform server;
transmitting the session message to a network device, so that the network device transmits the session message to the second user terminal, wherein the second user terminal is used for displaying the message content, the identifier of the first platform server and the first user account;
the network equipment is configured to respond to a registration request sent by a platform server and allocate an identifier for the platform server; analyzing the registration request to obtain at least one user account registered in the platform server; and establishing an association relation between the identifier of the platform server and the at least one user account to obtain platform server registration information.
7. A network device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of any one of claims 1 to 5 via execution of the executable instructions.
8. A terminal device, wherein the terminal device is a first user terminal associated with a first platform server, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of claim 6 via execution of the executable instructions.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the method of any one of claims 1 to 5, or claim 6.
CN202211105038.6A 2022-09-09 2022-09-09 Session processing method, network device, terminal device and medium Active CN115460000B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211105038.6A CN115460000B (en) 2022-09-09 2022-09-09 Session processing method, network device, terminal device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211105038.6A CN115460000B (en) 2022-09-09 2022-09-09 Session processing method, network device, terminal device and medium

Publications (2)

Publication Number Publication Date
CN115460000A CN115460000A (en) 2022-12-09
CN115460000B true CN115460000B (en) 2024-01-30

Family

ID=84302269

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211105038.6A Active CN115460000B (en) 2022-09-09 2022-09-09 Session processing method, network device, terminal device and medium

Country Status (1)

Country Link
CN (1) CN115460000B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110830925A (en) * 2018-08-14 2020-02-21 华为技术有限公司 Session management method and device for user group
CN113098920A (en) * 2020-01-09 2021-07-09 京东方科技集团股份有限公司 Session establishment method, device and related equipment
CN114500430A (en) * 2022-02-09 2022-05-13 携程计算机技术(上海)有限公司 Dialogue method, system, device and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110830925A (en) * 2018-08-14 2020-02-21 华为技术有限公司 Session management method and device for user group
CN113098920A (en) * 2020-01-09 2021-07-09 京东方科技集团股份有限公司 Session establishment method, device and related equipment
CN114500430A (en) * 2022-02-09 2022-05-13 携程计算机技术(上海)有限公司 Dialogue method, system, device and storage medium

Also Published As

Publication number Publication date
CN115460000A (en) 2022-12-09

Similar Documents

Publication Publication Date Title
US11595328B2 (en) Methods, media and computing devices for implementing instant messaging system based on blockchain
EP2787696B1 (en) Method and device for transferring web real-time communication session
KR101577920B1 (en) Location-based group generation method, apparatus and system
CN114745724B (en) Access processing method and device, electronic equipment and computer readable medium
CN110839084A (en) Session management method, device, equipment and medium
CN114268607B (en) Fixed IP address allocation method, system, user plane function network element and storage medium
CN109819023B (en) Distributed transaction processing method and related product
CN115002769A (en) Flow shunting method, core network element, electronic equipment and medium
CN114513552B (en) Data processing method, device, equipment and storage medium
CN113784277B (en) System, method and apparatus for storing location information
CN115460000B (en) Session processing method, network device, terminal device and medium
CN112306685A (en) Task isolation method and device, electronic equipment and computer readable medium
CN114125732B (en) Message processing method and device, storage medium and electronic equipment
CN115412993A (en) Relay discovery method, system, device and storage medium
CN114501304A (en) Near-field communication method, device, storage medium and electronic equipment
CN113986995A (en) Request distribution method and device, storage medium and electronic equipment
CN113497764A (en) Service routing method, system, computer storage medium and electronic device
US20130137461A1 (en) Method and apparatus for inserting location data into messages at a communication gateway
CN114760350B (en) Service realization method, device, equipment and medium in 5G network indirect communication scene
WO2024027479A1 (en) Call control method and apparatus, electronic device, and storage medium
CN112437479B (en) Hotspot connection method and device
CN114244716B (en) Slice information processing method and device, storage medium and electronic equipment
CN114884941B (en) Service processing method, device, system and medium for edge computing platform
CN116545777A (en) User category switching method and device, storage medium and electronic equipment
CN117440504A (en) Position information acquisition method of user terminal, electronic equipment, medium and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant