-
公开(公告)号:US20220224670A1
公开(公告)日:2022-07-14
申请号:US17615324
申请日:2020-06-23
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Renzhi YANG , Bin WANG , Jiyong JIANG , Teng ZHANG , Yanming LI
IPC: H04L61/2517 , H04L61/256 , H04W76/14 , H04W60/04 , H04W76/12
Abstract: Embodiments of this application disclose a communication method and a related device. The method includes: A symmetric device listens on N local public ports, where N is a natural number greater than 1; and when the symmetric device receives a hole punching packet from the N local public ports, the symmetric device sends a response packet to a cone device based on the hole punching packet, so that the symmetric device establishes a communication connection to the cone device, where the hole punching packet is sent by the cone device, and the response packet carries a first network information mapping relationship. The cone device may directly communicate with the symmetric device, so that there is no need for a server having a data relay function, and costs of deploying the server are reduced.
-
公开(公告)号:US20180356225A1
公开(公告)日:2018-12-13
申请号:US15779092
申请日:2015-11-26
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Rui SUN , Teng ZHANG , Yi PAN , Renzhi YANG
Abstract: Embodiments of the present invention disclose a method and system for indicating a direction. The method is executed by a mobile terminal, and includes: determining an orientation of a screen of the mobile terminal; determining any direction in four directions east, south, west, and north of a location of the mobile terminal; determining another direction based on the determined direction when the screen of the mobile terminal is determined to be downward, so that directions for every 90° are respectively the east, the north, the west, and the south in a clockwise direction; and displaying all the determined directions on the screen of the mobile terminal. By using the solutions in the embodiments, a user can obtain a correct direction indication even when holding the mobile terminal non-horizontally, so that accuracy of the direction indication of the mobile terminal is improved.
-