US 11,902,355 B2
Method for sharing data in local area network and electronic device
Jiaxin Li, Shanghai (CN); Yaoying Zhou, Shanghai (CN); Yuanqiang Ni, Shanghai (CN); Jian Chen, Shanghai (CN); and Meng Diao, Shenzhen (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by Huawei Technologies Co., Ltd., Guangdong (CN)
Filed on Oct. 25, 2021, as Appl. No. 17/452,122.
Application 17/452,122 is a continuation of application No. 17/041,832, granted, now 11,196,798, previously published as PCT/CN2018/080724, filed on Mar. 27, 2018.
Prior Publication US 2022/0116444 A1, Apr. 14, 2022
This patent is subject to a terminal disclaimer.
Int. Cl. H04L 67/06 (2022.01); H04L 9/40 (2022.01); H04W 12/06 (2021.01); H04W 80/12 (2009.01); H04W 84/12 (2009.01)
CPC H04L 67/06 (2013.01) [H04L 63/083 (2013.01); H04W 12/06 (2013.01); H04W 80/12 (2013.01); H04W 84/12 (2013.01)] 19 Claims
OG exemplary drawing
 
1. A method for sharing data in a local area network, wherein the method is implemented in a first electronic device with a touchscreen, and the method comprises:
receiving, by the first electronic device, first input;
enabling, by the first electronic device, a data sharing function in response to the first input;
establishing, by the first electronic device, a wireless connection to a wireless access point and logging in a first account;
receiving, by the first electronic device from a first port, access request information of a second electronic device forwarded by using the wireless access point, wherein the first port is a serving port for a local area network shared access protocol, wherein the second electronic device establishes a wireless connection to the wireless access point, wherein the second electronic device receives second input, and displays an identifier of the first electronic device on the second electronic device in response to the second input, wherein the identifier of the first electronic device comprises a device icon and a to-be-discovered share name, and wherein the access request information includes a user name and a password that are entered by a user on the second electronic device for a login authentication on the first electronic device;
verifying, by the first electronic device, a validity of the second electronic device based on a validity of the user name and the password that are carried in the access request information; and
when the first electronic device determines that the validity of the second electronic device is successfully verified, allowing, by the first electronic device, the second electronic device to access shared data in the first electronic device.