IP Library › Granted Patent US 11,838,381
Granted Patent B2
US 11,838,381 · App. 18/024,714 · Granted Dec 5, 2023

Device cross-area access method, electronic device, and non-transitory computer-readable storage medium

Inventor: Cheng Huang (Zhejiang, CN)
Assignee: Zhejiang Uniview Technologies Co., Ltd.
H04L67/562H04L67/141
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,838,381
App. No.
18/024,714
Granted
Dec 5, 2023
Kind
B2
Abstract

Provided are a device cross-region access method and apparatus, an electronic device, and a storage medium. The method includes: receiving a cross-region access request from a target device and determining IP address information in the cross-region access request; determining information of a cross-region proxy server matching the target device according to the IP address information, where the cross-region proxy server is preset in a proxy region different from a target region where the target server is located, and the cross-region proxy server and the target server are in a distributed deployment; and transmitting the information of the cross-region proxy server to the target device to enable the target device to establish a connection to the cross-region proxy server.

Claims (50)

1. A device cross-region access method, executed by a target server and comprising:

receiving a cross-region access request from a target device and determining Internet protocol (IP) address information in the cross-region access request;

determining information of a cross-region proxy server matching the target device according to the IP address information, wherein the cross-region proxy server is preset in a proxy region different from a target region where the target server is located, and the cross-region proxy server and the target server are in a distributed deployment; and

transmitting the information of the cross-region proxy server to the target device to enable the target device to establish a connection to the cross-region proxy server.

2. The method of claim 1 , wherein determining the information of the cross-region proxy server matching the target device according to the IP address information comprises:

determining a home of the target device according to the IP address information; and

determining the cross-region proxy server matching the target device from candidate proxy servers according to a distance between the home of the target device and a setting region of each of the candidate proxy servers.

3. The method of claim 1 , wherein the cross-region access request further comprises identification information of the target device; and

wherein after determining the information of the cross-region proxy server matching the target device according to the IP address information, the method further comprises:

transmitting the identification information of the target device to the cross-region proxy server to enable the cross-region proxy server to establish the connection to the target device according to the identification information of the target device.

4. The method of claim 1 , wherein the cross-region access request further comprises at least one of a cross-region access duration threshold of the target device or a cross-region access number threshold of the target device; and

wherein after determining the information of the cross-region proxy server matching the target device according to the IP address information, the method further comprises:

transmitting the at least one of the cross-region access duration threshold of the target device or the cross-region access number threshold of the target device to the cross-region proxy server to enable the cross-region proxy server to control a cross-region access of the target device according to the at least one of the cross-region access duration threshold of the target device or the cross-region access number threshold of the target device.

5. The method of claim 1 , further comprising:

receiving and storing a connection record transmitted by the cross-region proxy server after the cross-region proxy server completes the connection to the target device; and

wherein after receiving the cross-region access request from the target device, the method further comprises:

querying the connection record, and controlling a cross-region access of the target device according to a query result of the connection record.

6. A device cross-region access method, executed by a cross-region proxy server and comprising:

receiving identification information of a to-be-accessed target device transmitted by a target server, wherein the cross-region proxy server is preset in a proxy region different from a target region where the target server is located, and the cross-region proxy server and the target server are in a distributed deployment; and

establishing, in response to an access request transmitted by the target device and according to the identification information of the target device, a connection between the target device and the cross-region proxy server, wherein the access request is determined by the target device according to information of the cross-region proxy server transmitted by the target server.

7. The method of claim 6 , further comprising:

receiving a target device access request transmitted by a client that establishes a connection to the target device, wherein the target device access request comprises the identification information of the target device; and

querying a connection result between the target device and the cross-region proxy server according to the identification information of the target device, and transmitting the connection result to the client to enable the client to access the target device according to the connection result.

8. An electronic device, comprising:

at least one processor; and

a storage apparatus configured to store at least one program,

wherein the at least one program, when executed by the at least one processor, causes the at least one processor to perform at least:

receiving a cross-region access request from a target device and determining Internet protocol (IP) address information in the cross-region access request;

determining information of a cross-region proxy server matching the target device according to the IP address information, wherein the cross-region proxy server is preset in a proxy region different from a target region where the target server is located, and the cross-region proxy server and the target server are in a distributed deployment; and

transmitting the information of the cross-region proxy server to the target device to enable the target device to establish a connection to the cross-region proxy server.

9. A non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, performs the device cross-region access method of claim 1 .

10. The electronic device of claim 8 , wherein the at least one program, when executed by the at least one processor, causes the at least one processor to perform determining the information of the cross-region proxy server matching the target device according to the IP address information in the following way:

determining a home of the target device according to the IP address information; and

determining the cross-region proxy server matching the target device from candidate proxy servers according to a distance between the home of the target device and a setting region of each of the candidate proxy servers.

11. The electronic device of claim 8 , wherein the cross-region access request further comprises identification information of the target device; and

wherein the at least one program, when executed by the at least one processor, causes the at least one processor to, after determining the information of the cross-region proxy server matching the target device according to the IP address information, further perform:

transmitting the identification information of the target device to the cross-region proxy server to enable the cross-region proxy server to establish the connection to the target device according to the identification information of the target device.

12. The electronic device of claim 8 , wherein the cross-region access request further comprises at least one of a cross-region access duration threshold of the target device or a cross-region access number threshold of the target device; and

wherein the at least one program, when executed by the at least one processor, causes the at least one processor to, after determining the information of the cross-region proxy server matching the target device according to the IP address information, further perform:

transmitting the at least one of the cross-region access duration threshold of the target device or the cross-region access number threshold of the target device to the cross-region proxy server to enable the cross-region proxy server to control a cross-region access of the target device according to the at least one of the cross-region access duration threshold of the target device or the cross-region access number threshold of the target device.

13. The electronic device of claim 8 , wherein the at least one program, when executed by the at least one processor, causes the at least one processor to further perform:

receiving and storing a connection record transmitted by the cross-region proxy server after the cross-region proxy server completes the connection to the target device; and

wherein the at least one program, when executed by the at least one processor, causes the at least one processor to, after receiving the cross-region access request from the target device, further perform:

querying the connection record, and controlling a cross-region access of the target device according to a query result of the connection record.

14. An electronic device, comprising:

at least one processor; and

a storage apparatus configured to store at least one program,

wherein the at least one program, when executed by the at least one processor, causes the at least one processor to perform the device cross-region access method of claim 6 .

15. A non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, performs the device cross-region access method of claim 6 .

16. A non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, performs the device cross-region access method of claim 4 .

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 6, 2023
From: HUANG, CHENG
To: ZHEJIANG UNIVIEW TECHNOLOGIES CO., LTD.
Reel/Frame 062896/0648 →
Priority Claims (1)
CN 202010916688.3 · Sep 3, 2020 · national
Continuity (1)
Related Publication 20230319157A1 · Oct 5, 2023