Communication method, apparatus, and system for password-free login based on using network resources of telecommunications operators
Embodiments of this application provide example communication methods, apparatuses, and systems. One example method includes sending, by a user equipment, a first uncharged traffic message to a core network device, where the first uncharged traffic message is for triggering the core network device to send a second uncharged traffic message to the user equipment. The user equipment receives the second uncharged traffic message from the core network device, where the second uncharged traffic message includes login information, and the login information allows the user equipment to log in to an application server. The user equipment sends the login information to the application server to log in to the application server. Both the first uncharged traffic message and the second uncharged traffic message are transmitted via a base station without generating to-be-charged traffic.
1 . A communication method, comprising:
sending, by a user equipment, a first uncharged traffic message to a core network device, wherein the first uncharged traffic message is for triggering the core network device to send a second uncharged traffic message to the user equipment;
receiving, by the user equipment, the second uncharged traffic message from the core network device, wherein the second uncharged traffic message comprises login information, and the login information allows the user equipment to log in to an application server; and
sending, by the user equipment, the login information to the application server to log in to the application server, wherein both the first uncharged traffic message and the second uncharged traffic message are transmitted via a base station without generating to-be-charged traffic, wherein each of the first uncharged traffic message and the second uncharged traffic message is a control plane message transmitted via the base station and not via a user plane data gateway, and wherein the first uncharged traffic message is a non-access stratum (NAS) registration message, and the second uncharged traffic message is a NAS registration accept message.
2 . The method according to claim 1 , wherein the first uncharged traffic message indicates the core network device to provide the login information to the user equipment.
3 . The method according to claim 1 , wherein the method further comprises:
obtaining and displaying, by the user equipment, first identification information, wherein the first identification information identifies a user corresponding to the user equipment; or
obtaining and displaying, by the user equipment, second identification information, wherein the second identification information is a result obtained by performing anonymization processing on the first identification information.
4 . The method according to claim 3 , wherein:
the obtaining, by the user equipment, first identification information comprises obtaining, by the user equipment, the first identification information from a message sent by the core network device; or
the obtaining, by the user equipment, second identification information comprises either of the following:
obtaining, by the user equipment, the second identification information from a message sent by the core network device; or
obtaining, by the user equipment, the first identification information from a message sent by the core network device, and performing anonymization processing on the first identification information to obtain the second identification information.
5 . The method according to claim 4 , wherein the method further comprises:
receiving, by the user equipment, a third uncharged traffic message from the core network device, wherein the third uncharged traffic message is transmitted via the base station without generating to-be-charged traffic, and wherein:
the obtaining, by the user equipment, the first identification information from a message sent by the core network device comprises obtaining, by the user equipment, the first identification information from the third uncharged traffic message; or
the obtaining, by the user equipment, the second identification information from a message sent by the core network device comprises obtaining, by the user equipment, the second identification information from the third uncharged traffic message.
6 . The method according to claim 1 , wherein the core network device is an access management network element.
7 . A communication apparatus, comprising:
at least one processor, wherein the at least one processor is coupled to one or more memories storing programming instructions for execution by the at least one processor to perform operations comprising:
sending a first uncharged traffic message to a core network device, wherein the first uncharged traffic message is for triggering the core network device to send a second uncharged traffic message to the communication apparatus;
receiving the second uncharged traffic message from the core network device, wherein the second uncharged traffic message comprises login information, and the login information allows the communication apparatus to log in to an application server; and
sending the login information to the application server to log in to the application server, wherein both the first uncharged traffic message and the second uncharged traffic message are transmitted via a base station without generating to-be-charged traffic, wherein each of the first uncharged traffic message and the second uncharged traffic message is a control plane message transmitted via the base station and not via a user plane data gateway, and wherein the first uncharged traffic message is a non-access stratum (NAS) registration message, and the second uncharged traffic message is a NAS registration accept message.
8 . The communication apparatus according to claim 7 , wherein the operations comprise:
obtaining and displaying first identification information, wherein the first identification information identifies a user corresponding to the communication apparatus; or
obtaining and displaying second identification information, wherein the second identification information is a result obtained by performing anonymization processing on the first identification information.
9 . The communication apparatus according to claim 8 , wherein:
the obtaining first identification information comprises obtaining the first identification information from a message sent by the core network device; or
the obtaining second identification information comprises either of the following:
obtaining the second identification information from a message sent by the core network device; or
obtaining the first identification information from a message sent by the core network device, and performing anonymization processing on the first identification information to obtain the second identification information.
10 . The communication apparatus according to claim 9 , wherein the operations further comprise:
receiving a third uncharged traffic message from the core network device, wherein the third uncharged traffic message is transmitted via the base station without generating to-be-charged traffic, and wherein:
the obtaining the first identification information from a message sent by the core network device comprises obtaining the first identification information from the third uncharged traffic message; or
the obtaining the second identification information from a message sent by the core network device comprises obtaining the second identification information from the third uncharged traffic message.
11 . The communication apparatus according to claim 7 , wherein the first uncharged traffic message indicates the core network device to provide the login information to a user equipment.
12 . The communication apparatus according to claim 7 , wherein the core network device is an access management network element.