Connection processing method and apparatus, electronic device, and computer-readable storage medium

US12095869B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12095869-B2
Application numberUS-202118249684-A
CountryUS
Kind codeB2
Filing dateSep 18, 2021
Priority dateOct 19, 2020
Publication dateSep 17, 2024
Grant dateSep 17, 2024

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Embodiments of the present disclosure provide a connection processing method and apparatus, an electronic device, and a computer-readable storage medium. The connection processing method includes: initializing, in response to receiving a first connection request from a source device, an abnormality processing policy; transmitting first connection information to a target device of the first connection request; transmitting, in response to receiving a first connection information confirmation message transmitted by the target device, a first connection confirmation message to the source device; generating the abnormality processing policy; transmitting a first notification to the target device, the first notification including the abnormality processing policy; and transmitting a second notification to the source device, the second notification including the abnormality processing policy.

First claim

Opening claim text (preview).

What is claimed is: 1. A connection processing method, comprising: initializing, in response to receiving a first connection request from a first device, an abnormality processing policy; transmitting first connection information to a second device of the first connection request; transmitting, in response to receiving a first connection information confirmation message transmitted by the second device, a first connection confirmation message to the source device the first device; generating the abnormality processing policy based on information of the first device and/or information of the second device; transmitting, in response to receiving a second connection confirmation message indicating that the first device is connected to a first server, a first notification to the target device the second device, the first notification comprising the abnormality processing policy; and transmitting, in response to receiving a third connection confirmation message indicating that the second device is connected to a first server, a second notification to the first device, the second notification comprising the abnormality processing policy. 2. The connection processing method according to claim 1 , further comprising: periodically checking a state of the first device and/or a state of the second device; and processing, when the state of the first device and/or the state of the second device are abnormal, a device in an abnormal state based on the abnormality processing policy. 3. The connection processing method according to claim 2 , further comprising, after said processing the device in the abnormal state based on the abnormality processing policy: deleting the device in the abnormal state from the abnormality processing policy. 4. The connection processing method according to claim 1 , wherein said initializing, in response to receiving the first connection request from the first device, the abnormality processing policy comprises: determining a type of a service based on the first connection request; and generating a corresponding abnormality processing policy structure based on the type of the service, wherein the abnormality processing policy structure comprises at least a connection identification and a device identification graph, and wherein the device identification graph is used to store a device identification and an abnormality processing action. 5. The connection processing method according to claim 4 , wherein said generating the abnormality processing policy based on the information of the first device and/or the information of the second device comprises: determining, based on a role of the first device in the service, a first processing action when the first device is abnormal, and saving the device identification of the first device and the first processing action in the corresponding abnormality processing policy structure; and/or determining, based on a role of the second device in the service, a second processing action when the second device is abnormal, and saving the device identification of the second device and the second processing action in the corresponding abnormality processing policy structure. 6. The connection processing method according to claim 2 , wherein said periodically checking the state of the first device and/or the state of the second device comprises: starting a first timer; in response to receiving state information of the first device and/or the second device prior to expiration of the first timer, resetting the first timer; and in response to failing to receive the state information of the first device and/or the second device prior to expiration of the first timer, determining that the state of the first device and/or the state of the second device are abnormal. 7. A connection processing method, applied in a first device, comprising: transmitting a first connection request to a second server, the first connection request being used to request a second device to connect to a first server; receiving a first connection confirmation message transmitted by the second server; receiving a second notification transmitted by the second server, the second notification being used to indicate that the second device is connected to the first server, wherein the second notification comprises an abnormality processing policy; starting a second timer based on the abnormality processing policy; in response to receiving a second device connection message transmitted by the first server prior to expiration of the second timer, stopping the second timer; and in response to failing to receive the second device connection message transmitted by the first server prior to expiration of the second timer, performing a processing action based on the abnormality processing policy. 8. The connection processing method according to claim 7 , further comprising: transmitting a second connection confirmation message to the second server; and transmitting a second connection request to the first server. 9. The connection processing method according to claim 7 , further comprising: periodically transmitting state information of the first device to the second server. 10. A connection processing method, applied in a second device, comprising: receiving first connection information transmitted by a second server, the first connection information indicating a request from a first device for connecting the second device to a first server; transmitting a first connection confirmation message to the second server; receiving a first notification transmitted by the second server, the first notification indicating that the first device is connected to the first server, wherein the first notification comprises an abnormality processing policy; starting a third timer based on the abnormality processing policy; in response to receiving a first device connection message transmitted by the first server prior to expiration of the third timer, stopping the third timer; and in response to failing to receive the first device connection message transmitted by the first server prior to expiration of the third timer, performing a processing action based on the abnormality processing policy. 11. The connection processing method according to claim 10 , further comprising: transmitting a third connection confirmation message to the second server; and transmitting a third connection request to the first server. 12. The connection processing method according to claim 10 , further comprising: periodically transmitting state information of the second device to the second server. 13. An electronic device, comprising: a memory configured to store a computer-readable instruction; and a processor configured to run the computer-readable instruction to cause the processor when running the computer-readable instruction, to implement the method according to claim 10 . 14. A non-transitory computer-readable storage medium configured to store a computer-readable instruction, wherein the computer-readable instruction, when executed by a computer, causes the computer to implement the method according to claim 10 . 15. An electronic device, comprising: a memory configured to store a computer-readable instruction; and a processor configured to run the computer-readable instruction to cause the processor when running the computer-readable instruction, to implement the method according to claim 1 . 16. The electronic device according to claim 15 , wherein the method further comprises: periodically checking a state of the first device and/or a state of the second device; and

Assignees

Inventors

Classifications

  • Protocols for games, networked simulations or virtual reality · CPC title

  • Termination or inactivation of sessions, e.g. event-controlled end of session · CPC title

  • Policy-based network configuration management · CPC title

  • for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection (management of faults, events, alarms or notifications in data switching networks H04L41/06) · CPC title

  • Session management (for real-time applications in data packet communications networks H04L65/1066) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12095869B2 cover?
Embodiments of the present disclosure provide a connection processing method and apparatus, an electronic device, and a computer-readable storage medium. The connection processing method includes: initializing, in response to receiving a first connection request from a source device, an abnormality processing policy; transmitting first connection information to a target device of the first conn…
Who is the assignee on this patent?
Beijing Bytedance Network Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04L67/141. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Sep 17 2024 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).