WO2021139690A1 - 会话建立方法、装置及其相关设备 - Google Patents
会话建立方法、装置及其相关设备 Download PDFInfo
- Publication number
- WO2021139690A1 WO2021139690A1 PCT/CN2021/070497 CN2021070497W WO2021139690A1 WO 2021139690 A1 WO2021139690 A1 WO 2021139690A1 CN 2021070497 W CN2021070497 W CN 2021070497W WO 2021139690 A1 WO2021139690 A1 WO 2021139690A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- session
- terminal device
- server
- request
- target terminal
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 66
- 230000004044 response Effects 0.000 claims abstract description 41
- 230000008447 perception Effects 0.000 claims abstract description 18
- 239000003999 initiator Substances 0.000 claims description 60
- 238000012546 transfer Methods 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 15
- 230000000977 initiatory effect Effects 0.000 claims description 14
- 238000012545 processing Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 14
- 238000004891 communication Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 8
- 230000003993 interaction Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000011664 signaling Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008094 contradictory effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1069—Session establishment or de-establishment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1083—In-session procedures
- H04L65/1094—Inter-user-equipment sessions transfer or sharing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/143—Termination or inactivation of sessions, e.g. event-controlled end of session
- H04L67/145—Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/61—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
Definitions
- the embodiments of the present disclosure relate to, but are not limited to, the field of smart home technology, and in particular, to a session establishment method, device, and related equipment.
- the device location of smart home is usually fixed.
- devices such as smart photo album and smart TV are usually fixed in a certain location and rarely move. Therefore, when the user is not next to the device in the smart home, the session request cannot be accepted, so the fast delivery of emergency messages cannot be guaranteed, and the user experience is poor.
- the embodiment of the first aspect of the present disclosure proposes a method for establishing a session, which is applied to a session receiver, including: receiving a session request sent by a server, the session request including: session priority; displaying session information, and judging whether it is at a preset time Whether the session accepting operation is detected within the segment; when the session accepting operation is not detected within the preset time period, and the session priority is urgent, send a user awareness request to at least one terminal device to obtain the target terminal that senses the user Device; return to the server a first session response carrying the identification of the target terminal device, so that the server sends the session request to the target terminal device and establishes a session; or, establishes a connection with the target terminal device And return a second session response indicating the establishment of the session to the server, so as to serve as a session transfer device between the server and the target terminal device.
- the embodiment of the second aspect of the present disclosure proposes a session establishment method, applied to a server, including: receiving a session request from a session initiator, the session request including: an identifier of the session receiver; and determining the session priority of the session request Send a session request carrying the session priority to the session receiver; upon receiving the first session response returned by the session receiver carrying the identifier of the target terminal device, establish a connection with the target terminal device Session; or, when a second session response indicating the establishment of a session is received, the session receiver is used as a session transfer device between the server and the target terminal device.
- An embodiment of the third aspect of the present disclosure proposes a session establishment device, which is applied to a session receiver, and includes: a receiving module configured to receive a session request sent by a server, and the session request includes: a session priority; a display and judgment module, Set to display session information and determine whether the session acceptance operation is detected within a preset time period; the perception module is set to display session information when the session acceptance operation is not detected within the preset time period and the session priority is urgent.
- At least one terminal device sends a user perception request to obtain a target terminal device that has sensed the user; and a return module configured to return to the server a first session response carrying an identifier of the target terminal device, so that the server can send the target terminal device to the target terminal.
- the device sends the session request and establishes a session; or, establishes a session with the target terminal device, and returns a second session response indicating that the session is established to the server, as the server and the target terminal device Transfer device between sessions.
- the embodiment of the fourth aspect of the present disclosure proposes a session establishment device, which is applied to a server, and includes: a receiving module configured to receive a session request from a session initiator, the session request including: an identifier of the session receiver; a determining module, setting To determine the session priority of the session request; the sending module is configured to send the session request carrying the session priority to the session receiver; and the processing module is configured to receive the return from the session receiver When the first session response carrying the identifier of the target terminal device is established, a session with the target terminal device is established; or, when a second session response indicating the establishment of the session is received, the session receiver is used as the server And a session transfer device between the target terminal device and the target terminal device.
- An embodiment of the fifth aspect of the present disclosure proposes a terminal device, including a processor and a memory storing a computer program that can run on the processor, and the processor executes the program as described in the embodiment of the first aspect.
- An embodiment of the sixth aspect of the present disclosure proposes a server, including: a processor and a computer program that can run on the processor is stored, and when the processor executes the program, the session as described in the embodiment of the second aspect is implemented Establish method.
- An embodiment of the seventh aspect of the present disclosure proposes a non-transitory computer-readable storage medium, and when the instructions in the storage medium are executed by a processor, the session establishment method as described in the above-mentioned embodiment is implemented.
- An embodiment of the eighth aspect of the present disclosure proposes a computer program product, which, when executed by an instruction processor in the computer program product, implements the session establishment method described in the foregoing embodiment.
- Fig. 1 is a schematic flowchart of a session establishment method according to an exemplary embodiment of the present disclosure
- Fig. 2 is a schematic flowchart of a session establishment method according to an exemplary embodiment of the present disclosure
- Fig. 3 is a schematic diagram of a session establishment method according to an exemplary embodiment of the present disclosure.
- Fig. 4 is a signaling interaction diagram of a session establishment method according to an exemplary embodiment of the present disclosure.
- Fig. 5 is a schematic diagram of a session establishment method according to an exemplary embodiment of the present disclosure.
- Fig. 6 is a signaling interaction diagram of a session establishment method according to an exemplary embodiment of the present disclosure.
- Fig. 7 is a schematic structural diagram of an apparatus for establishing a session according to an exemplary embodiment of the present disclosure
- Fig. 8 is a schematic structural diagram of an apparatus for establishing a session according to an exemplary embodiment of the present disclosure
- Fig. 9 is a schematic structural diagram of a terminal device according to an exemplary embodiment of the present disclosure.
- FIG. 1 is a schematic flowchart of a session establishment method provided by an embodiment of the disclosure.
- the session establishment method is applied to the session receiver, that is, the session establishment method in the embodiment of the present disclosure is described from the session receiver side.
- the session receiver can specify the terminal device as the session receiver by pre-setting the terminal device. For example, set up a smart photo album or smart TV as the recipient of the conversation.
- the session establishment method includes the following steps:
- Step 101 Receive a session request sent by a server, where the session request includes: session priority;
- the mobile terminal when the mobile terminal establishes a session with the device of the smart home, the mobile terminal may send a session request to the server, and then the server may send the session request of the mobile terminal to the session receiver.
- the session request may include, but is not limited to, session priority.
- Session priority may include, but is not limited to, emergency, non-emergency, and so on.
- the server may obtain reference information to determine the session priority, where the reference information may include any one or more of the following parameters: the relationship between the session initiator and the session receiver, and the session initiated by the session initiator The content type, whether the session initiating time of the session initiator is the working time of the session receiver; combining the reference information and the preset priority determination strategy to determine the session priority.
- the reference information may include any one or more of the following parameters: the relationship between the session initiator and the session receiver, and the session initiated by the session initiator The content type, whether the session initiating time of the session initiator is the working time of the session receiver; combining the reference information and the preset priority determination strategy to determine the session priority.
- the session initiator and the session receiver can be bound with the user in advance.
- the relationship between the session initiator A and the session receiver X is a child relationship, that is, the user corresponding to the session initiator A and the user corresponding to the session receiver X are children, regardless of the content of the session initiated by the session initiator A and the session initiation time Whether it is the working hours of the session receiver, the session priority can be regarded as the urgent priority.
- the conversation initiator A can leave a conversation message when the conversation is initiated, and the server determines the content of the conversation through the conversation message; the working hours of the conversation receiver can be set according to the user's situation, such as 8:00 am to 11 pm :00.
- the session initiator B and the session receiver X when the relationship between the session initiator B and the session receiver X is a colleague, the content of the session initiated by the session initiator is work. Regardless of whether the session initiation time is the work time of the session receiver, the session can be The priority is regarded as the urgent priority.
- the content of the session initiated by the session initiator is urgent, regardless of whether the session initiation time is the working hours of the session receiver, the conversation The priority is regarded as the urgent priority.
- the conversation when the relationship between the conversation initiator D and the conversation recipient X is a friend, the content of the conversation initiated by the conversation initiator is life, and the conversation initiation time is the working time of the conversation recipient, the conversation may be given priority Level as the lowest.
- the conversation when the relationship between the conversation initiator E and the conversation receiver X is a friend, and the content of the conversation initiated by the conversation initiator is life, and the conversation initiation time is not the working time of the conversation receiver, the conversation may be given priority Grade as general.
- the session receiver may receive the session request from the session initiator sent by the server, and the session receiver may establish contact with the server in advance.
- the session receiver may send a registration request to the server.
- the server registers the session receiver and returns a successful registration result to the session receiver.
- the session receiver Receive the successful registration result returned by the server.
- the registration request sent by the session receiver may include, but is not limited to, the identity of the session receiver.
- a terminal device other than the session receiver may send a registration request to the server for device registration, so as to facilitate subsequent establishment of a session between the server and the terminal device.
- the server may send related information of the terminal device to the session receiver, so that the session receiver can perform device discovery.
- the session request may include: user characteristic information.
- the mobile terminal may send a session request to the server, and then the server sends the session request of the mobile terminal to the session receiver.
- the user characteristic information can be used to uniquely identify the user, such as any one or more of facial characteristic information, contour characteristic information, gender information, fingerprint information, and iris information.
- User characteristic information can be added to the session request, so that the terminal device can determine the user who initiates the session according to the user characteristic information, and avoid automatically understanding the user who initiates the session as a user bound to the mobile terminal.
- the session request may include any one or more of the following information: user characteristic information; session priority information.
- user characteristic information When the session request includes user characteristic information and session priority information, it can achieve multi-user scenarios and achieve targeted fast connection; when the session request includes session priority information, fast connection can be achieved; when the session When the user feature information is included in the request, the target user can be judged in the case of multiple users.
- Step 102 Display the session information, and determine whether the session acceptance operation is detected within a preset time period
- the session receiver after the session receiver receives the session request from the session initiator sent by the server, the session receiver can display the session information according to the parameter information, such as the name of the session initiator, the relationship between the session initiator and the session receiver, etc. , And determine whether it is detected that the user accepts the session operation by itself within the preset time period.
- the parameter information such as the name of the session initiator, the relationship between the session initiator and the session receiver, etc.
- Step 103 When no session acceptance operation is detected within a preset time period, and the session priority is urgent, send a user perception request to at least one terminal device to obtain a target terminal device that senses the user;
- the session receiver may send a user perception request to at least one terminal device, which receives the user perception Upon request, the human body can be sensed through its own sensor or through other sensors.
- the terminal device can send the user-perceived message to the session receiver, and the session receiver uses it as Target terminal device.
- the receiver of the conversation can make a judgment based on the distance between the terminal device and the user to determine the target terminal device. For example, terminal device A and terminal device B perceive the user at the same time, where terminal device A is 1 meter away from the user, and terminal device B is 1.5 meters away from the user, and terminal device A can be used as the target terminal device.
- the at least one terminal device may send a user perception request to other nearby terminal devices that can communicate with the user for user perception, and when one of the other terminal devices If a terminal device perceives the user, the terminal device is used as the target terminal device to establish a session between the service initiator and the target terminal device.
- the terminal device that sends the user perception request is the same as the terminal device that receives the user perception request.
- a communication relationship can be established in advance, such as Bluetooth communication.
- the sensing coverage area of the terminal device since the coverage area of the terminal device is limited, through this cascaded sensing manner, the sensing coverage area can be increased, and the success rate of session establishment can be improved.
- a third session response indicating that the session establishment fails may be returned to the server; If the session acceptance operation is detected in the segment, it can be determined that the session is established successfully.
- Step 104 Return to the server a first session response carrying the identifier of the target terminal device, so that the server sends a session request to the target terminal device and establishes a session; or, establishes a session with the target terminal device, and returns an instruction to the server to establish a session
- the second session response is used as a session transfer device between the server and the target terminal device.
- the session receiver may return the first session response carrying the identification of the target terminal device to the server, and the server may determine the target terminal device according to the identification of the target terminal device, and send a session request to the terminal device and establish the session.
- the album returns the target terminal device (refrigerator) identifier to the server.
- the server determines that the target terminal device is the refrigerator based on the identifier, and sends a session request to the refrigerator. Establish a conversation with the refrigerator.
- the session receiver serves as a transfer device between the server and the target terminal device. That is, the session receiver may establish a session with the target terminal device, and return a second session response indicating the establishment of the session to the server, and the server establishes the session between the session receiver and the target terminal device.
- the photo album serves as a transfer device for the conversation between the server and the refrigerator.
- a conversation is established between the album and the refrigerator, and a conversation response indicating the establishment of the conversation is returned to the server. That is, the server establishes a conversation between the album and the refrigerator.
- the target terminal device that can sense the user is obtained, and the urgent priority session is sent to the target terminal device, thereby realizing the rapid speed of the urgent priority session service.
- the session is a non-emergency session, the device that can sense the user is not actively acquired. In this way, by distinguishing the session priority, different session requests are processed differently, the user experience is improved, and the rapid delivery of emergency messages is ensured.
- the embodiment of the second aspect of the present disclosure proposes a session establishment method, which is applied to a server.
- the implementation process of the session establishment method is as follows:
- Step 201 Receive a session request from a session initiator
- the mobile terminal when the mobile terminal establishes a session with the device of the smart home, the mobile terminal may send a session request to the server, and the server receives the session request of the mobile terminal.
- the server can receive the session request sent by the session initiator, and send the session request to the session receiver.
- the session receiver discovers the target terminal device, and the target terminal device establishes a session with the server.
- the registration request may include: the identification of the terminal device; when the registration is successful, returning a successful registration result to the terminal device.
- the session receiver may receive the session request from the session initiator sent by the server, and the session receiver may establish contact with the server in advance.
- the session receiver can send a registration request to the server to register.
- Step 202 Determine the session priority of the session request
- the reference information may include any one or more of the following parameters: the relationship between the session initiator and the session receiver, the type of session content initiated by the session initiator, and whether the session initiator’s session initiation time It is the working time of the session receiver; combined with the reference information and the preset priority determination strategy, the session priority is determined.
- the session priority can be regarded as the emergency priority.
- the conversation initiator A can leave a conversation message when the conversation is initiated, and the server determines the content of the conversation through the conversation message; the working hours of the conversation receiver can be set according to the user's situation, such as 8:00 am to 11 pm :00.
- the session initiator B and the session receiver X when the relationship between the session initiator B and the session receiver X is a colleague, the content of the session initiated by the session initiator is work. Regardless of whether the session initiation time is the work time of the session receiver, the session can be The priority is regarded as the urgent priority.
- the content of the session initiated by the session initiator is urgent, regardless of whether the session initiation time is the working hours of the session receiver, the conversation The priority is regarded as the urgent priority.
- the conversation when the relationship between the conversation initiator D and the conversation recipient X is a friend, the content of the conversation initiated by the conversation initiator is life, and the conversation initiation time is the working time of the conversation recipient, the conversation may be given priority Level as the lowest.
- the conversation when the relationship between the conversation initiator E and the conversation receiver X is a friend, and the content of the conversation initiated by the conversation initiator is life, and the conversation initiation time is not the working time of the conversation receiver, the conversation may be given priority Grade as general.
- Step 203 Send a session request carrying the session priority to the session receiver
- Step 204 When receiving the first session response carrying the identifier of the target terminal device returned by the session receiver, establish a session with the target terminal device; or, when receiving a second session response indicating that the session is established, set The session receiver acts as a session transfer device between the server and the target terminal device.
- the session receiver when the session receiver does not detect the session acceptance operation within a preset time period, and the session priority is urgent, device discovery is performed, and the obtained identification of the target terminal device that is aware of the user is sent to the server ,
- the server establishes a session with the target terminal device when receiving the first session response carrying the identification of the target terminal device returned by the session receiver; or, the session receiver is used as the transfer of the session between the server and the target terminal device Device, when the server receives the second session response indicating that the session is established, the server conducts a session with the target terminal device through the session receiver.
- the session priority when the session priority is urgent, a session with the target terminal device that senses the user is established, and the urgent session is sent to the target terminal device, thereby realizing the rapid delivery of the urgent session .
- the session When the session is a non-emergency session, it does not actively establish a session with the device that senses the user. In this way, by distinguishing the session priority, different session requests are processed differently, the user experience is improved, and the rapid delivery of emergency messages is ensured.
- FIG. 3 is a schematic diagram of a session establishment method according to an exemplary embodiment of the present disclosure.
- the session initiator is a mobile terminal
- the session receiver is an album
- the session priority is an emergency session as an example.
- FIG. 4 is a signaling interaction diagram of a session establishment method according to an exemplary embodiment of the present disclosure.
- the signaling interaction implementation process for session establishment includes:
- Step 401 the mobile terminal, the photo album, and other terminal devices except the photo album register with the server;
- Step 402 The album performs local device discovery on other terminal devices
- Step 403 The mobile terminal sends an emergency session request to the server, and the server calculates to determine whether it is an emergency session;
- Step 404 After determining that it is an emergency session, the server forwards the session request, and the album can receive the emergency session request sent by the server;
- Step 405 If the album does not respond within a period of time, the album sends a user perception request to other terminal devices;
- Step 406 other terminal devices return a sensed user response
- Step 407 The album determines the device in which the user is perceived, that is, the target terminal device (such as a refrigerator) according to the perceived user response;
- Step 408 The album sends a session response carrying the target terminal device identifier to the server;
- Step 409 The server sends an emergency session request to the target terminal device
- Step 410 The target terminal device returns an emergency session response.
- FIG. 5 is a schematic diagram of a session establishment method according to an exemplary embodiment of the present disclosure.
- the session initiator is a mobile terminal
- the session receiver is an album
- the session priority is a non-emergency session as an example.
- FIG. 6 is the information of the session establishment method according to an exemplary embodiment of the present disclosure. Let the interactive diagram. As shown in Figure 6, the signaling interaction implementation process for session establishment includes:
- Step 601 the mobile terminal, the photo album, and other terminal devices except the photo album register with the server;
- Step 602 The album performs local device discovery on other terminal devices
- Step 603 The mobile terminal sends a non-emergency session request to the server, and the server calculates whether it is an emergency session;
- Step 604 After determining that it is a non-urgent session, the server forwards the session request, and the album can receive the non-urgent session request sent by the server;
- Step 605 If the album does not respond within a period of time, the album sends a non-emergency session response to the server.
- the target terminal device that can sense the user is obtained, and the urgent priority session is sent to the target terminal device, thereby realizing the rapid speed of the urgent priority session service.
- the session is a non-emergency session, the device that can sense the user is not actively acquired. In this way, by distinguishing the session priority, different session requests are processed differently, the user experience is improved, and the rapid delivery of emergency messages is ensured.
- FIG. 7 is a schematic structural diagram of a session establishment apparatus provided by an embodiment of the disclosure.
- the apparatus for establishing a session includes: a receiving module 710, a display and judgment module 720, a perception module 730, and a return module 740.
- the receiving module 710 is configured to receive a session request sent by the server, the session request includes: session priority; the display and judgment module 720 is configured to display session information, and determine whether the session acceptance operation is detected within a preset time period;
- the perception module 730 is configured to send a user perception request to at least one terminal device when no session acceptance operation is detected within a preset time period and the session priority is urgent, to obtain a target terminal device that senses the user; and a return module 740 , Set to return to the server a first session response carrying the identification of the target terminal device, so that the server sends a session request to the target terminal device and establishes a session; or, establishes a session with the target terminal device, and returns an instruction to the server to establish a session
- the second session response is used as a session transfer device between the server and the target terminal device.
- the session establishment device of the embodiment of the present disclosure is applied to a session receiver, and by receiving a session request sent by a server, the session request includes: session priority; displaying session information, and determining whether an accepting session operation is detected within a preset time period; When no session acceptance operation is detected within the preset time period, and the session priority is urgent, at least one terminal device sends a user perception request to obtain the target terminal device that senses the user; and returns to the server the identification of the target terminal device The first session response, so that the server sends a session request to the target terminal device and establishes a session; or, establishes a session with the target terminal device, and returns a second session response indicating the establishment of the session to the server as the server and the target A transfer device for a session between terminal devices.
- the device can realize that by judging the session priority, when the session priority is urgent, the target terminal device that can sense the user is obtained, and the urgent session is sent to the target terminal device, thereby realizing the rapid delivery of the urgent session.
- the target terminal device that can sense the user is not actively acquired. In this way, by distinguishing the session priority, different session requests are processed differently, the user experience is improved, and the rapid delivery of emergency messages is ensured.
- FIG. 8 is a schematic structural diagram of a session establishment apparatus provided by an embodiment of the disclosure.
- the apparatus for establishing a session includes: a receiving module 810, a determining module 820, a sending module 830, and a processing module 840.
- the receiving module 810 is set to receive the session request from the session initiator, the session request includes: the identifier of the session receiver; the determining module 820 is set to determine the session priority of the session request; the sending module 830 is set to carry the session priority Send a session request of the first level to the session receiver; and the processing module 840 is configured to establish a session with the target terminal device when the first session response carrying the identifier of the target terminal device returned by the session receiver is received; or, When the second session response indicating the establishment of the session is received, the session receiver is used as the session transfer device between the server and the target terminal device.
- the session establishment device of the embodiment of the present disclosure is applied to a server.
- the session request includes: the identifier of the session receiver; determining the session priority of the session request; and sending the session request carrying the session priority to The session receiver; when receiving the first session response carrying the identification of the target terminal device returned by the session receiver, establishing a session with the target terminal device; or, when receiving a second session response indicating that the session is established
- the session receiver is used as the session transfer device between the server and the target terminal device.
- the device By determining the session priority, the device establishes a session with the target terminal device that senses the user when the session priority is urgent, thereby realizing the rapid delivery of the urgent session.
- the session When the session is a non-emergency session, it does not actively establish a session with the target terminal device that senses the user. In this way, by distinguishing the session priority, different session requests are processed differently, the user experience is improved, and the rapid delivery of emergency messages is ensured.
- FIG. 9 is a schematic structural diagram of a terminal device provided by an embodiment of the disclosure.
- the terminal device may include a processor 1002 and a memory 1001 storing a computer program that can run on the processor 1002.
- the processor 1002 implements the session establishment method provided in the embodiment shown in FIG. 1 when executing the program.
- the terminal device may include: a communication interface 1003 configured to communicate between the memory 1001 and the processor 1002.
- the memory 1001 is configured to store computer programs that can be run on the processor 1002.
- the memory 1001 may include a high-speed RAM (Random Access Memory) memory and/or a non-volatile memory (non-volatile memory), for example, it may include at least one disk memory.
- the processor 1002 is configured to implement the session establishment method described in the embodiment shown in FIG. 1 when executing the program. If the memory 1001, the processor 1002, and the communication interface 1003 are implemented independently, the communication interface 1003, the memory 1001, and the processor 1002 can be connected to each other through a bus and complete mutual communication.
- the bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Wait.
- ISA Industry Standard Architecture
- PCI Peripheral Component
- EISA Extended Industry Standard Architecture
- the bus can be divided into an address bus, a data bus, a control bus, and so on. For ease of representation, only one thick line is used in FIG. 9, but it does not mean that there is only one bus or one type of bus.
- the memory 1001, the processor 1002, and the communication interface 1003 are integrated on a single chip, the memory 1001, the processor 1002, and the communication interface 1003 can communicate with each other through internal interfaces.
- the processor 1002 may be a central processing unit (Central Processing Unit, referred to as CPU), or a specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or may be configured to implement this One or more integrated circuits of the embodiments are disclosed.
- CPU Central Processing Unit
- ASIC Application Specific Integrated Circuit
- the embodiment of the present disclosure provides a server, the server includes: a processor and a memory storing a computer program that can run on the processor, and when the processor executes the program, the implementation shown in FIG. 2 is implemented Example of the session establishment method.
- the embodiments of the present disclosure provide a non-transitory computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the session establishment method as described in any of the above embodiments is implemented.
- the embodiments of the present disclosure provide a computer program product, which, when executed by an instruction processor in the computer program product, implements the session establishment method described in any of the above embodiments.
- first and second are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with “first” and “second” may explicitly or implicitly include at least one of the features. In the description of the present disclosure, “plurality” means at least two, such as two, three, etc., unless specifically defined otherwise.
- a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transmit a program for use by an instruction execution system, device, or device or in combination with these instruction execution systems, devices, or devices.
- Examples of computer-readable media include the following: electrical connections (electronic devices) with one or more wiring, portable computer disk cases (magnetic devices), random access memory (RAM), read-only memory (ROM, Read-Only Memory), erasable and editable read-only memory (EPROM (Electrical Programmable Read-Only Memory) or flash memory), optical fiber devices, and portable compact disk read-only memory (CDROM, Compact Disc Read-Only Memory).
- the computer-readable medium can even be paper or other suitable media on which the program can be printed, because it can be done, for example, by optically scanning the paper or other media, and then editing, interpreting, or other suitable media if necessary.
- the program is processed in a way to obtain the program electronically and then stored in the computer memory.
- each part of the present disclosure can be implemented by hardware, software, firmware, or a combination thereof.
- multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system.
- Discrete logic gate circuits for implementing logic functions on data signals Logic circuit, ASIC with suitable combinational logic gate circuit, programmable gate array (PGA, Pmgrammable Gain Amplifier), field programmable gate array (FPGA, Field Programmable Gate Array), etc.
- a person of ordinary skill in the art can understand that all or part of the steps carried in the method of the foregoing embodiments can be implemented by a program instructing relevant hardware to complete.
- the program can be stored in a computer-readable storage medium. When executed, it includes one of the steps of the method embodiment or a combination thereof.
- the functional units in the various embodiments of the present disclosure may be integrated into one processing module, or each unit may exist alone physically, or two or more units may be integrated into one module.
- the above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer readable storage medium.
- the aforementioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Cardiology (AREA)
- Computing Systems (AREA)
- Medical Informatics (AREA)
- Computer And Data Communications (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
Claims (14)
- 一种会话建立方法,应用于会话接收方,包括:接收服务器发送的会话请求,所述会话请求包括:会话优先级;显示会话信息,并判断在预设时间段内是否检测到接受会话操作;当在预设时间段内未检测到接受会话操作,且所述会话优先级为紧急,则向至少一个终端设备发送用户感知请求,获取感知到用户的目标终端设备;向所述服务器返回携带目标终端设备的标识的第一会话响应,以便所述服务器向所述目标终端设备发送所述会话请求并建立会话;或者,建立与所述目标终端设备之间的会话,并向所述服务器返回指示会话建立的第二会话响应,以作为所述服务器和所述目标终端设备之间的会话中转设备。
- 根据权利要求1所述的方法,还包括:当在预设时间段内未检测到接受会话操作,且所述会话优先级为非紧急,则向所述服务器返回指示会话建立失败的第三会话响应。
- 根据权利要求1所述的方法,还包括:当在预设时间段内检测到接受会话操作,则确定会话建立成功。
- 根据权利要求1所述的方法,所述接收服务器发送的会话发起方的会话请求之前,还包括:向所述服务器发送注册请求,所述注册请求包括:所述会话接收方的标识;接收所述服务器返回的注册成功结果。
- 根据权利要求1所述的方法,其中,所述会话优先级的确定方式为,获取参考信息,所述参考信息包括以下参数中的任意一种或者多种:会话发起方与会话接收方的关系、会话发起方发起的会话内容类型、会话发起方的会话发起时间是否为会话接收方的工作时间;结合所述参考信息以及预设的优先级确定策略,确定所述会话优先级。
- 一种会话建立方法,应用于服务器,包括:接收会话发起方的会话请求;确定所述会话请求的会话优先级;将携带所述会话优先级的会话请求发送至会话接收方;在接收到所述会话接收方返回的携带目标终端设备的标识的第一会话响应时,建立与所述目标终端设备之间的会话;或者,在接收到指示会话建立的第二会话响应时,将所述会话接收方作为所述服务器和所述目标终端设备之间的会话中转设备。
- 根据权利要求6所述的方法,所述接收会话发起方的会话请求之前,还包括:接收终端设备发送的注册请求,所述注册请求包括:终端设备的标识;在注册成功时,向终端设备返回注册成功结果。
- 根据权利要求6所述的方法,其中,所述确定所述会话请求的会话优先级,包括:获取参考信息,所述参考信息包括以下参数中的任意一种或者多种:会话发起方与会话接收方的关系、会话发起方发起的会话内容类型、会话发起方的会话发起时间是否为会话接收方的工作时间;结合所述参考信息以及预设的优先级确定策略,确定所述会话优先级。
- 一种会话建立装置,应用于会话接收方,包括:接收模块,设置为接收服务器发送的会话请求,所述会话请求包括:会话优先级;显示及判断模块,设置为显示会话信息,并判断在预设时间段内是否检测到接受会话操作;感知模块,设置为在预设时间段内未检测到接受会话操作,且所述会话优先级为紧急时,向至少一个终端设备发送用户感知请求,获取感知到用户的目标终端设备;以及返回模块,设置为向所述服务器返回携带目标终端设备的标识的第一会话响应,以便所述服务器向所述目标终端设备发送所述会话请求并建立会话; 或者,建立与所述目标终端设备之间的会话,并向所述服务器返回指示会话建立的第二会话响应,以作为所述服务器和所述目标终端设备之间的会话中转设备。
- 一种会话建立装置,应用于服务器,包括:接收模块,设置为接收会话发起方的会话请求,所述会话请求包括:会话接收方的标识;确定模块,设置为确定所述会话请求的会话优先级;发送模块,设置为将携带所述会话优先级的会话请求发送至所述会话接收方;以及处理模块,设置为在接收到所述会话接收方返回的携带目标终端设备的标识的第一会话响应时,建立与所述目标终端设备之间的会话;或者,在接收到指示会话建立的第二会话响应时,将所述会话接收方作为所述服务器和所述目标终端设备之间的会话中转设备。
- 一种终端设备,包括:处理器及存储有可在处理器上运行的计算机程序的存储器,其中,所述处理器执行所述程序时实现如权利要求1至5中任一所述的会话建立方法。
- 一种服务器,包括:处理器及存储有可在处理器上运行的计算机程序的存储器,其中,所述处理器执行所述程序时实现如权利要求6至8中任一所述的会话建立方法。
- 一种非临时性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如权利要求1至8中任一所述的会话建立方法。
- 一种计算机程序产品,当所述计算机程序产品中的指令处理器执行时,实现如权利要求1至8中任一所述的会话建立方法。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US17/423,908 US20220086239A1 (en) | 2020-01-09 | 2021-01-06 | Method and Apparatus for Establishing Session, and Related Device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010023494.0A CN113098920A (zh) | 2020-01-09 | 2020-01-09 | 会话建立方法、装置及其相关设备 |
CN202010023494.0 | 2020-01-09 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021139690A1 true WO2021139690A1 (zh) | 2021-07-15 |
Family
ID=76663584
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/070497 WO2021139690A1 (zh) | 2020-01-09 | 2021-01-06 | 会话建立方法、装置及其相关设备 |
Country Status (3)
Country | Link |
---|---|
US (1) | US20220086239A1 (zh) |
CN (1) | CN113098920A (zh) |
WO (1) | WO2021139690A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113747185A (zh) * | 2021-08-16 | 2021-12-03 | 北京达佳互联信息技术有限公司 | 一种信息交互方法、装置、系统、设备及存储介质 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114627573B (zh) * | 2022-03-23 | 2024-11-08 | 深圳市元征科技股份有限公司 | 一种远程诊断方法、装置、电子设备及存储介质 |
CN115460000B (zh) * | 2022-09-09 | 2024-01-30 | 中国电信股份有限公司 | 会话处理方法、网络设备、终端设备与介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101500045A (zh) * | 2008-01-29 | 2009-08-05 | 朗讯科技公司 | 用于呼叫控制的方法和设备 |
US20190228766A1 (en) * | 2018-01-22 | 2019-07-25 | Microsoft Technology Licensing, Llc | Automated quick task notifications via an audio channel |
CN110138937A (zh) * | 2019-05-07 | 2019-08-16 | 华为技术有限公司 | 一种通话方法、设备及系统 |
CN110191241A (zh) * | 2019-06-14 | 2019-08-30 | 华为技术有限公司 | 一种语音通信方法及相关装置 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101299785B (zh) * | 2007-04-30 | 2013-06-05 | 华为技术有限公司 | 一种会话处理的方法、系统以及业务服务器 |
CN107172002B (zh) * | 2016-03-07 | 2021-01-22 | 京东方科技集团股份有限公司 | 控制应用终端的网络连接的方法和装置 |
JP6665660B2 (ja) * | 2016-04-25 | 2020-03-13 | 住友電気工業株式会社 | 機器制御システム、及び機器制御方法 |
CN105959191A (zh) * | 2016-07-01 | 2016-09-21 | 上海卓易云汇智能技术有限公司 | 一种智能接听来电的智能家居系统的控制方法及其系统 |
CN110312049B (zh) * | 2019-07-29 | 2021-11-02 | 青岛海尔科技有限公司 | 基于智能家居操作系统的执行操作方法、装置及存储介质 |
-
2020
- 2020-01-09 CN CN202010023494.0A patent/CN113098920A/zh active Pending
-
2021
- 2021-01-06 US US17/423,908 patent/US20220086239A1/en active Pending
- 2021-01-06 WO PCT/CN2021/070497 patent/WO2021139690A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101500045A (zh) * | 2008-01-29 | 2009-08-05 | 朗讯科技公司 | 用于呼叫控制的方法和设备 |
US20190228766A1 (en) * | 2018-01-22 | 2019-07-25 | Microsoft Technology Licensing, Llc | Automated quick task notifications via an audio channel |
CN110138937A (zh) * | 2019-05-07 | 2019-08-16 | 华为技术有限公司 | 一种通话方法、设备及系统 |
CN110191241A (zh) * | 2019-06-14 | 2019-08-30 | 华为技术有限公司 | 一种语音通信方法及相关装置 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113747185A (zh) * | 2021-08-16 | 2021-12-03 | 北京达佳互联信息技术有限公司 | 一种信息交互方法、装置、系统、设备及存储介质 |
CN113747185B (zh) * | 2021-08-16 | 2023-07-07 | 北京达佳互联信息技术有限公司 | 一种信息交互方法、装置、系统、设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
US20220086239A1 (en) | 2022-03-17 |
CN113098920A (zh) | 2021-07-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021139690A1 (zh) | 会话建立方法、装置及其相关设备 | |
US9705996B2 (en) | Methods and system for providing location-based communication services | |
JP6901536B2 (ja) | 自動無線通信プロトコル切り替え | |
US10608988B2 (en) | Method and apparatus for bluetooth-based identity recognition | |
CN107517438B (zh) | 请求分享蓝牙设备的方法及电子设备、计算机存储介质 | |
US9686506B2 (en) | Method, apparatus, system, and storage medium for video call and video call control | |
CN109257722B (zh) | 用于与外部电子装置进行通信的电子装置及其控制方法 | |
US11201912B2 (en) | Communication device for improved establishing of a connection between devices | |
US9769096B2 (en) | Method, apparatus, system and computer readable storage medium of adding instant message contact | |
US9544542B2 (en) | Teleconference management server device, teleconference management method and non-transitory computer-readable medium | |
KR20170086869A (ko) | 음성통화 중 영상을 전송하는 방법 및 장치 | |
CN105847111A (zh) | 添加好友的方法及装置 | |
US10143033B2 (en) | Communications apparatus, control method, and storage medium | |
TW201335867A (zh) | 業務對象的驗證方法以及裝置 | |
US20140089430A1 (en) | Data-sharing method, terminal, server, and system | |
EP3229446B1 (en) | Application interaction method, device and terminal | |
JP2016207210A (ja) | インスタントメッセージサービスを利用した揮発性メッセージサービス提供方法及び端末 | |
WO2016015299A1 (zh) | 一种可携带式设备的控制方法和设备 | |
CN103873682B (zh) | 一种信息处理方法及电子设备 | |
WO2018171090A1 (zh) | 确定照片中对象所持终端的方法及其终端 | |
US11474618B2 (en) | Communication link based on activity on a keyboard | |
TWI852396B (zh) | 用於視訊會議的螢幕共享系統和螢幕共享方法 | |
WO2022077905A1 (zh) | 被叫用户活动信息获取方法 | |
CN108076454B (zh) | 一种信息处理方法、装置及系统 | |
CN106341302B (zh) | 一种数据处理的方法以及服务器 |
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: 21738014 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21738014 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21738014 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21738014 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10.02.2023) |