IP Library Patent Application 15191987
Patent Application
App. No. 15/191,987

NETWORK ACCESS METHOD AND APPARATUS

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 None
App. No.
15/191,987
Abstract

Embodiments of the present invention disclose a network access method including: after a terminal device is connected to a first network, acquiring, by the terminal device, identification information of or a media file on a device on a second network; determining a sharing mode according to a property of the first network, and determining, according to the sharing mode, shared data that needs to be sent to a device on the first network, where the shared data includes the device or media file on the second network, and/or a media file on the terminal device; and acquiring an announcement message according to the sharing mode and advertising the announcement message to the first network. The present invention applies to ensuring network access security.

Claims (48)

1 . A network access method, wherein the method is performed by a first device, comprising:

connecting to a first local area network (LAN);

acquiring at least one of identification information of a second device and a media file on the second device, wherein the second device is on a second LAN;

determining a sharing mode based on a property of the first LAN;

determining shared data based on the determined sharing mode, wherein the shared data comprises at least one of a media file on the first device, the identification information of the second device and the media file on the second device; and

sending a first announcement message to a third device on the first LAN in a case that the sharing mode is a first sharing mode, wherein the first announcement message comprises at least one of access interface information of the media file on the first device, access interface information of the second device and access interface information of the media file on the second device.

2 . The network access method according to claim 1 , further comprising:

sending a second announcement message to the third device in a case that the sharing mode is a second sharing mode, wherein the second announcement message comprises the access interface information of the media file on the first device.

3 . The network access method according to claim 1 , further comprising:

skipping sending the first announcement message or the second announcement message to the third device, and blocking a search request that is from the first network in a case that the sharing mode is a third sharing mode, wherein the search request is used to search for the first device and request, from the first device, at least one of the access interface information of the media file on the first device, the access interface information of the second device and the access interface information of the media file on the second device.

4 . The network access method according to claim 1 , wherein the determining a sharing mode based on a property of the first LAN comprises:

acquiring a security level of the first LAN based on at least one of a service set identifier (SSID) of the first LAN and access mode information of the first LAN; and

determining the sharing mode based on the security level of the first LAN.

5 . The network access method according to claim 1 , wherein the sending the first announcement message to the third device comprises:

acquiring a first list, wherein at least one of the identification information of the second device and the media file on the second device is recorded in the first list;

acquiring access interface information of the media file recorded in the first list;

generating the first announcement message based on the first list and the access interface information of the media file recorded in the first list; and

sending the first announcement message to the third device.

6 . The network access method according to claim 2 , wherein the sending the second announcement message to the third device comprises:

acquiring a second list, wherein at least one media file on the first device is recorded in the second list;

acquiring access interface information of a media file recorded in the second list;

generating the second announcement message based on the second list and the access interface information of the media file recorded in the second list; and

sending the second announcement message to the third device.

7 . A terminal device, comprising:

a memory, configured to store a computer program code;

a processor, configured to execute the computer program code to:

connect to a first local area network (LAN);

acquire at least one of identification information of a first device and a media file on the first device, wherein the first device is on a second LAN;

determine a sharing mode based on a property of the first LAN;

determine shared data based on the determined sharing mode, wherein the shared data comprises at least one of a media file on the terminal device, the identification information of the first device and the media file on the first device; and

send a first announcement message to a second device on the first LAN in a case that the sharing mode is a first sharing mode, wherein the first announcement message comprises at least one of access interface information of the media file on the terminal device, access interface information of the first device and access interface information of the media file on the first device.

8 . The terminal device according to claim 7 , wherein the processor is further configured to:

send a second announcement message to the second device in a case that the sharing mode is a second sharing mode, wherein the second announcement message comprises the access interface information of the media file on the terminal device.

9 . The terminal device according to claim 7 , wherein the processor is further configured to:

skipping sending the first announcement message or the second announcement message to the second device, and blocking a search request that is from the first network in a case that the sharing mode is a third sharing mode, wherein the search request is used to search for the terminal device and request, from the terminal device, at least one of the access interface information of the media file on the terminal device, the access interface information of the first device and the access interface information of the media file on the first device.

10 . The terminal device according to claim 7 , wherein the determine a sharing mode based on a property of the first LAN comprises:

acquire a security level of the first LAN based on at least one of a service set identifier (SSID) of the first LAN and access mode information of the first LAN; and

determine the sharing mode based on the security level of the first LAN.

11 . The terminal device according to claim 7 , wherein the send the first announcement message to the second device comprises:

acquire a first list, wherein at least one of the identification information of the first device and the media file on the first device is recorded in the first list;

acquire access interface information of the media file recorded in the first list;

generate the first announcement message based on the first list and the access interface information of the media file recorded in the first list; and

send the first announcement message to the second device.

12 . The terminal device according to claim 8 , wherein the send the second announcement message to the second device comprises:

acquire a second list, wherein at least one media file on the terminal device is recorded in the second list;

acquire access interface information of a media file recorded in the second list;

generate the second announcement message based on the second list and the access interface information of the media file recorded in the second list; and

send the second announcement message to the second device.

Assignments (3)
CHANGE OF NAME Recorded Jun 12, 2018
From: HUAWEI DEVICE CO.,LTD.
To: HUAWEI DEVICE (SHENZHEN) CO., LTD.
Reel/Frame 046340/0590 →
CORRECTIVE ASSIGNMENT TO CORRECT THE ASSIGNEE'S NAME PREVIOUSLY RECORDED ON REEL 040101 FRAME 0875. ASSIGNOR(S) HEREBY CONFIRMS THE HUAWEI DEVICE CO., LTD.. Recorded Dec 22, 2016
From: KUANG, YUNSHENG; ZHANG, YAJUN; ZHU, YU
To: HUAWEI DEVICE CO., LTD.
Reel/Frame 041175/0546 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 24, 2016
From: KUANG, YUNSHENG; ZHANG, YAJUN; ZHU, YU
To: HUAWEI DEVICE
Reel/Frame 040101/0875 →