WO2014100987A1 - 一种实现ip电话号码登录的方法、装置和系统 - Google Patents

一种实现ip电话号码登录的方法、装置和系统 Download PDF

Info

Publication number
WO2014100987A1
WO2014100987A1 PCT/CN2012/087471 CN2012087471W WO2014100987A1 WO 2014100987 A1 WO2014100987 A1 WO 2014100987A1 CN 2012087471 W CN2012087471 W CN 2012087471W WO 2014100987 A1 WO2014100987 A1 WO 2014100987A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
phone
communication client
address
discovery protocol
Prior art date
Application number
PCT/CN2012/087471
Other languages
English (en)
French (fr)
Inventor
张凯
朱毅泉
栾元华
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201280002962.XA priority Critical patent/CN104025540B/zh
Priority to EP12879158.9A priority patent/EP2765749B1/en
Priority to PCT/CN2012/087471 priority patent/WO2014100987A1/zh
Priority to US14/139,210 priority patent/US9380084B2/en
Publication of WO2014100987A1 publication Critical patent/WO2014100987A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/106Mapping addresses of different types across networks, e.g. mapping telephone numbers to data network addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4535Network directories; Name-to-address mapping using an address exchange platform which sets up a session between two nodes, e.g. rendezvous servers, session initiation protocols [SIP] registrars or H.323 gatekeepers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks

Definitions

  • Embodiments of the present invention relate to the field of communication technologies, and, more particularly, to a method, apparatus, and system for implementing IP phone number registration.
  • UC unified communications
  • VoIP Voice over Internet Protocol
  • IP phone number portability is an important function of unified communication services.
  • IP phone number portability users can use their own IP phone numbers on different IP phones. For example, when traveling to an office, you can use your IP phone number. Use the IP phone at the office.
  • the user logs in the communication account by inputting his own communication account and password on the communication client, and performs the IP phone number by manually inputting his IP phone number and password on the IP phone. log in.
  • the manual input mode is required to log in separately, which is cumbersome to operate.
  • the embodiment of the invention provides a method, a device and a system for implementing IP phone number registration, which are used to solve the cumbersome user operation caused by manually inputting the login mode when registering the communication account and the IP phone number in the prior art. problem.
  • a method for implementing IP phone number login includes: a communication client receiving a proximity discovery protocol message of a data link layer sent by an IP phone, where the proximity discovery protocol message includes the IP The IP address and port number of the telephone;
  • the communication client determines that it has logged in to the communication server by using the communication account, acquires an IP phone number associated with the communication account from the communication server;
  • the communication client sends the IP phone number to the IP phone according to the IP address and port number of the IP phone, so that the IP phone performs a login operation using the IP phone number.
  • the method before the obtaining, by the communications server, the IP phone number associated with the communication account, the method further includes determining that the proximity discovery protocol message includes the IP phone Supporting the information of the associated login, the information indicating that the IP telephone supports the associated login is specifically used to indicate that the IP telephone supports performing the login operation by using the IP telephone number associated with the communication account of the logged-in communication client.
  • the method before the obtaining, by the communications server, the IP phone number associated with the communication account, the method further includes: Transmitting, by the communication client, information indicating that the communication client has logged in, an IP address of the personal computer PC where the communication client is located, and a port number of the communication client, and receiving the IP phone
  • the machine determines a login application request sent according to the IP address of the PC and the port number of the communication client when the communication client has logged in.
  • the port number of the communication client includes:
  • the response message including an IP address of the PC and a port number of the communication client, and according to an IP address and a port number of the IP phone Sending information indicating that the communication client has logged in.
  • the communications client receives a proximity discovery protocol message sent by the IP phone, specifically
  • the method includes: the communication client receiving through a network card of a PC where the communication client is located The proximity discovery protocol message, wherein the network card driver of the network card reports the proximity discovery protocol message to the operating system on the PC after determining that the network card receives the proximity discovery protocol message, so as to facilitate the The operating system transmits the proximity discovery protocol message to the communication client upon determining that the communication client is already running.
  • the neighbor discovery protocol message is specifically a link layer discovery protocol LLDP message
  • the network card driver of the network card after determining that the network card receives the proximity discovery protocol message, sends the proximity discovery protocol message to the operating system on the PC, specifically: the network card driver of the network card is based on When the destination address of the proximity discovery protocol message received by the network card determines that the proximity discovery protocol message is an LLDP message, the proximity discovery protocol message is sent to the operating system of the PC.
  • the communication client is configured according to an IP address and a port number of the IP telephone After transmitting the IP phone number to the IP phone, the method further includes: the communication client canceling the communication account when detecting a user operation for instructing to log off the communication account, and indicating the IP phone Log out of the IP phone number.
  • a method for implementing IP phone number login is provided, and the method includes:
  • the IP telephone transmits a proximity discovery protocol message of the data link layer to the PC when detecting that the Ethernet port of the IP telephone is connected to the personal computer PC, so that the PC runs the communication on the PC. Transmitting, by the client, the proximity discovery protocol message to the communication client, where the proximity discovery protocol message includes an IP address and a port number of the IP phone;
  • the IP telephone performs a login operation using the IP telephone number.
  • the proximity discovery protocol message includes information indicating that the IP phone supports an associated login, so that the communication client determines the location according to the proximity discovery protocol message.
  • the IP telephone transmits the IP telephone number to the IP telephone when the associated login is supported, wherein the information indicating that the IP telephone supports the associated login is specifically used to indicate that the IP telephone supports the use of the registered communication.
  • the IP phone number associated with the client's communication account performs the login operation.
  • the IP phone receives, by the communications client, information indicating that the communication client has logged in, and the PC
  • the IP address and the port number of the communication client specifically including:
  • the method further includes: determining, according to the IP address of the PC and the port number of the communication client, a request for the login request to the communication client, further comprising: determining that the response message is through an Ethernet connected to the PC Received by the mouth.
  • a fifth possible implementation manner after the IP phone performs the login operation by using the IP phone number, Including, when receiving the logout indication sent by the communication client, the IP phone cancels the IP phone number.
  • the IP phone Before the IP phone performs the login operation by using the IP phone number, the IP phone further receives the first authentication information sent by the communication client and received by the communication server; the IP phone utilizes The IP phone number performs a login operation, specifically, the IP phone sends a login request including the IP phone number and the first authentication information to the communication server, so that the communication server receives the After the login request, the IP phone is authenticated by using the first authentication information.
  • the IP phone number and the first authentication information included in the login request are encrypted by using the second authentication information
  • a communication device includes: a receiving unit, a login unit, an obtaining unit, and a sending unit;
  • the receiving unit is configured to receive a proximity discovery protocol message of a data link layer sent by the IP phone, where the proximity discovery protocol message includes an IP address and a port number of the IP phone;
  • the login unit is configured to log in to the communication server by using a communication account
  • the obtaining unit is configured to: when the receiving unit receives the proximity discovery protocol message, and determine that the login unit has logged in to the communication server by using a communication account, acquire, by the communication server, the communication account An IP phone number, and transmitting the IP phone number to the sending unit;
  • the sending unit is configured to receive the IP phone number from the acquiring unit, and send the IP phone number to the IP phone according to an IP address and a port number of the IP phone, so that the IP The telephone performs a login operation using the IP telephone number.
  • the communication device further includes: a determining unit, where the receiving unit is further configured to: send the proximity discovery protocol message to the determining unit; And receiving, by the receiving unit, the proximity discovery protocol message, determining whether the proximity discovery protocol message includes information indicating that the IP phone supports an associated login, and transmitting the determination result to the acquiring unit, where The information indicating that the IP telephone supports the associated login is specifically used to indicate that the IP telephone supports the login operation by using the IP phone number associated with the communication account of the registered communication device;
  • the obtaining unit is specifically configured to receive the determination result from the determining unit, and obtain the IP phone number associated with the communication account with the communication server when the determination result is yes.
  • the sending unit is further configured to send, to the IP telephone, information indicating that the communication device has logged in, an IP address of the personal computer PC where the communication device is located, and a port number of the communication device;
  • the receiving unit is further configured to receive a login application request sent by the IP phone according to an IP address of the PC and a port number of the communication device when determining that the communication device has logged in.
  • the sending unit is configured to send, to the IP phone, information indicating that the communication device is logged in, and the communication
  • the IP address of the personal computer PC where the device is located and the port number of the communication device include:
  • the sending unit is configured to send a response message of the proximity discovery protocol message to the IP phone, where the response message includes information indicating that the communication device has logged in, an IP address of the PC, and the communication device Port number; or,
  • the sending unit is configured to send a response message of the proximity discovery protocol message to the IP phone, where the response message includes an IP address of the PC and a port number of the communication device; and is used according to the IP
  • the IP address and port number of the telephone transmit information indicating that the communication device has logged in.
  • the communications apparatus further includes a logout unit, configured to detect When the user who logs out of the communication account operates, the communication account is cancelled, and the IP phone is instructed to cancel the IP phone number.
  • a logout unit configured to detect When the user who logs out of the communication account operates, the communication account is cancelled, and the IP phone is instructed to cancel the IP phone number.
  • an IP telephone set is provided, where the IP telephone includes: a detecting unit, a sending unit, a receiving unit, and a login unit;
  • the detecting unit is configured to detect whether an Ethernet port of the IP phone is connected to a personal computer PC, and transmit the detection result to the sending unit;
  • the sending unit is configured to receive a detection result sent by the detecting unit, and send a proximity discovery protocol message of a data link layer to the PC when the detection result is connected, so that the PC is in determining the location Transmitting the proximity discovery protocol message to the communication client when the communication client is running on the PC, the proximity discovery protocol message includes an IP address and a port number of the IP phone; and the receiving unit is configured to receive When the communication client determines that it has logged in to the communication server by using the communication account, the communication account is sent according to the IP address and port number of the IP telephone The IP phone number associated with the number, and transmitting the IP phone number to the login unit; the login unit, configured to receive the IP phone number from the receiving unit, and perform login using the IP phone number operating.
  • the proximity discovery protocol message sent by the sending unit includes information indicating that the IP phone supports an associated login, so that the communication client is according to the proximity
  • the discovery protocol message determines that the IP telephone number is sent to the IP telephone when the IP telephone supports the associated login, wherein the information indicating that the IP telephone supports the associated login is specifically used to indicate the IP telephone Supports the login operation by using the IP phone number associated with the communication account of the logged-in communication client.
  • the IP telephone further includes a determining unit
  • the receiving unit is further configured to receive, by the communication client, information indicating that the communication client has logged in, an IP address of the PC, and a port number of the communication client;
  • the determining unit is configured to determine, according to the information indicating that the communication client has logged in, that the communication client has logged in, and transmit the determination result to the sending unit;
  • the sending unit is further configured to receive a determination result sent by the determining unit, and according to the
  • the IP address of the PC and the port number of the communication client send a login request request to the communication client.
  • the receiving unit is configured to receive, by the communications client, information indicating that the communication client has logged in, and
  • the IP address of the PC and the port number of the communication client include:
  • the receiving unit is configured to receive a response message of the proximity discovery protocol message sent by the communication client, where the response message includes information indicating that the communication client has logged in, and the
  • the IP address of the PC and the port number of the communication client are the IP address of the PC and the port number of the communication client.
  • the receiving unit is configured to receive a response message of the proximity discovery protocol message sent by the communication client, where the response message includes an IP address of the PC and a port of the communication client And receiving information indicating that the communication client has logged in according to the IP address and port number of the IP phone.
  • the IP telephone further includes a logout unit
  • the receiving unit is further configured to receive a logout indication sent by the communication client, and transmit the logout indication to the logout unit;
  • the logout unit is configured to receive the logout indication from the receiving unit, and deregister the IP phone number.
  • a communication system includes: an IP telephone, a communication client, and a communication server, wherein the IP phone passes through an Ethernet port and a personal computer PC where the communication client is located Connected
  • the IP telephone configured to send a proximity discovery protocol message of a data link layer to the PC when detecting that the Ethernet port of the IP phone is connected to the PC, so that the PC is in determining the location Transmitting the proximity discovery protocol message to the communication client when the communication client is running, the proximity discovery protocol message includes an IP address and a port number of the IP phone; receiving the communication client to determine that it has When logging in to the communication server by using the communication account, the IP phone number associated with the communication account number sent according to the IP address and port number of the IP phone; and performing the login operation by using the IP phone number;
  • the communication server is configured to send, to the communication client, an IP phone number associated with the communication account.
  • the communication client is further configured to be connected Determining, when receiving the proximity discovery protocol message, the proximity discovery protocol message includes information indicating that the IP phone supports an associated login, and the information indicating that the IP phone supports the associated login is specifically used to indicate that the IP phone supports The login operation is performed using the IP phone number associated with the communication account of the logged-in communication client.
  • the communication client is further configured to send, to the IP phone, information indicating that the communication client has logged in, an IP address of the personal computer PC where the communication client is located, and a port number of the communication client, and Receiving, by the IP phone, a login application request sent according to an IP address of the PC and a port number of the communication client when the communication client has logged in;
  • the IP telephone is further configured to receive, by the communication client, information indicating that the communication client has logged in, an IP address of a personal computer PC where the communication client is located, and a port number of the communication client, And when it is determined that the communication client has logged in, the login application request is sent to the communication client according to the IP address of the PC and the port number of the communication client.
  • the communication client is further configured to log out the communication account when detecting a user operation for instructing to log off the communication account, and instruct the IP phone to cancel the IP phone number;
  • the IP telephone is further configured to: when receiving the logout indication sent by the communication client, cancel the IP phone number.
  • a sixth aspect provides a communication terminal, where the communication terminal includes: a processor, a network card, a memory, and a bus;
  • the processor, the network card, and the memory complete communication with each other through a bus;
  • the memory is configured to store a program; wherein the program includes a network card driver, an operating system, and a communication client;
  • the processor configured to execute the program stored in the memory;
  • the network card is configured to receive a proximity discovery protocol message of a data link layer sent by the IP phone, where the proximity discovery protocol message includes an IP address and a port number of the IP phone;
  • the network card driver is configured to report the proximity discovery protocol message to the operating system after determining that the network card receives the proximity discovery protocol message;
  • the operating system configured to transmit the proximity discovery protocol message to the communication client when determining that the communication client is already running;
  • the communication client is configured to: when it logs in to the communication server by using the communication account, acquire an IP phone number associated with the communication account from the communication server; and according to the IP address and port number of the IP phone
  • the IP telephone number is transmitted to the IP telephone through the network card to cause the IP telephone to perform a login operation using the IP telephone number.
  • the communications client is further configured to: determine that the proximity discovery protocol message includes information indicating that the IP phone supports an associated login, and the indicating the IP phone The machine supports the associated login information, specifically for indicating that the IP phone supports performing the login operation by using the IP phone number associated with the communication account of the logged-in communication client.
  • the communication client is further configured to send, by the network card, information indicating that the communication client has logged in, an IP address of the communication terminal, and a port number of the communication client to the IP phone, and pass the
  • the network card receives a login application request sent by the IP phone according to an IP address of the communication terminal and a port number of the communication client when determining that the communication client has logged in.
  • the communication client is configured to send, by using the network card, the IP phone to indicate that the communication client is logged in The information, and the IP address of the communication terminal and the port number of the communication client, specifically include: the communication client, configured to send, by using the network card, a response message of the proximity discovery protocol message to the IP phone, The response message includes indicating that the communication client is logged in The information and the IP address of the communication terminal and the port number of the communication client; or the communication client, configured to send, by the network card, a response message of the proximity discovery protocol message to the IP phone, The response message includes an IP address of the communication terminal and a port number of the communication client, and is configured to send an indication to the IP phone through the network card according to an IP address and a port number of the IP phone.
  • the NIC driver is specifically configured to report the proximity discovery protocol message to the operating system when the proximity discovery protocol message is determined to be a link layer discovery protocol LLDP message according to the destination address of the proximity discovery protocol message.
  • an IP telephone set comprising: a processor, a transmitter, a receiver, a memory, and a bus;
  • the processor, the transmitter, the receiver, and the memory complete communication with each other through the bus;
  • the memory is used to store a program; wherein the program includes a detecting unit and a login unit; the processor is configured to execute the program stored in the memory;
  • the detecting unit is configured to detect whether the Ethernet port of the IP phone is connected to the personal computer PC; the communication client sends a proximity discovery protocol message of the data link layer, so that the PC is determined on the PC Transmitting the proximity discovery protocol message to the communication client when the communication client is running,
  • the proximity discovery protocol message includes an IP address and a port number of the IP phone.
  • the proximity discovery protocol message may be a link layer discovery protocol LLDP message.
  • the receiver is configured to receive an IP phone number associated with the communication account sent by the communication client according to an IP address and a port number of the IP phone when determining that the communication client has logged in to the communication server by using the communication account ;
  • the login unit is configured to perform a login operation by using an IP phone number received by the receiver.
  • the proximity discovery protocol message sent by the sender includes information indicating that the IP phone supports an associated login, so that the communication client is according to the proximity
  • the discovery protocol message determines that the IP telephone number is sent to the IP telephone when the IP telephone supports the associated login, wherein the information indicating that the IP telephone supports the associated login is specifically used to indicate the IP telephone Supports the login operation by using the IP phone number associated with the communication account of the logged-in communication client.
  • the program further includes a determining unit, where the receiver is further configured to receive, by the communications client, Representing the information that the communication client has logged in, the IP address of the personal computer PC where the communication client is located, and the port number of the communication client; the determining unit, configured to represent the communication client according to the The logged-in information determines that the communication client has logged in; the sender is further configured to send a login application request to the communication client according to the IP address of the PC and the port number of the communication client.
  • the receiver is configured to receive, by the communications client, information indicating that the communication client has logged in, and
  • the IP address of the personal computer PC where the communication client is located and the port number of the communication client include:
  • the receiver is configured to receive a response message of the proximity discovery protocol message sent by the communication client, where the response message includes information indicating that the communication client has logged in, an IP address of the PC, and the The port number of the communication client; or, The receiver is configured to receive a response message of the proximity discovery protocol message sent by the communication client, where the response message includes an IP address of the PC and a port number of the communication client, and is configured to receive the The communication client sends information indicating that the communication client has logged in according to the IP address and port number of the IP telephone.
  • the receiver is further configured to receive a logout indication sent by the communication client;
  • the program also includes a logout unit for deregistering the IP phone number when the receiver receives the logout indication sent by the communication client.
  • a computer program product comprising computer program code, when the computer program code is executed by a computer, the computer program code can cause the computer to perform the first aspect or The steps of any of the first to sixth possible implementations of the first aspect.
  • a computer program product comprising computer program code, when the computer program code is executed by a computer, the computer program code can cause the computer to perform a second aspect or The steps of any of the first to seventh possible implementations of the second aspect.
  • a computer readable storage medium storing computer program code, wherein when the computer program code is executed by a computer, the computer program code can cause the computer to execute The steps of any of the first to sixth possible implementations of the first aspect or the first aspect.
  • a computer readable storage medium storing computer program code for causing the computer program code to be The steps of any of the first to seventh possible implementations of the second aspect or the second aspect are performed.
  • the communication client after receiving the proximity discovery protocol message of the data link layer sent by the connected IP telephone, the communication client acquires the communication account from the communication server when the communication account is used to log in to the communication server. Correlating an IP telephone number, and transmitting the IP telephone number to the IP telephone, so that the IP telephone performs a login operation by using the IP telephone number, thereby solving the prior art login communication account and IP When the phone number is used, it is necessary to use the manual input method to log in, which causes the user operation to be cumbersome.
  • FIG. 1 is a schematic structural diagram of a communication system according to an embodiment of the present invention.
  • Embodiment 1 of the present invention is a schematic flow chart of a method provided by Embodiment 1 of the present invention.
  • FIG. 3 is a schematic flowchart of a method according to an exemplary embodiment A of Embodiment 1 of the present invention.
  • FIG. 4 is a schematic flowchart of a method according to an exemplary embodiment B of Embodiment 1 of the present invention.
  • FIG. 5 is a schematic flow chart of a method of an optional embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of a device of a communication device according to Embodiment 2 of the present invention
  • FIG. 9 is FIG. 3 is a schematic structural diagram of an apparatus for providing an IP telephone
  • FIG. 12 is a schematic structural diagram of a communication terminal according to Embodiment 4 of the present invention
  • FIG. 13 is a schematic structural diagram of another apparatus of an IP telephone according to Embodiment 5 of the present invention
  • FIG. 14 is a schematic structural diagram of a communication system according to Embodiment 6 of the present invention.
  • FIG. 1 is a schematic structural diagram of a communication system according to an embodiment of the present invention.
  • the communication system includes a communication client 110, an IP phone 120, a communication server 130, and a LAN switch (LAN swi tch) 140.
  • the communication client 110 operates.
  • the communication client 110 may specifically be a unified communication client, an instant messaging client, a softphone client, or the like.
  • the IP telephone 120 has two Ethernet ports (the Ethernet port is called a LAN port;), such as LAN1 and LAN2 in FIG.
  • the PC where the communication client 110 is located has a LAN port (such as LAN3 in the figure), and the LAN port is located on the network card of the PC.
  • One LAN port of the IP telephone 120 (LAN2 in the figure) is connected to the LAN port of the PC where the communication client 110 is located through an Ethernet line, and another LAN port of the IP telephone 120 (LAN1 in the figure) and the LAN.
  • the switch 140 is connected to be connected to the communication server 130 through the LAN switch 140.
  • the two LAN ports of the IP telephone 120 form a local switching network.
  • the IP telephone 120 receives the data packet sent by the LAN switch 140 through the LAN1 port and whose destination address is not the address of the IP telephone, the data packet is received.
  • the PC is sent to the PC through the LAN 2 port; when the IP phone receives a packet transmitted by the PC via the LAN port 2 whose destination address is not the address of the IP phone, the packet is sent to the LAN switch 140 through the LAN port 1.
  • the communication client 110 is connected to the LAN switch 140 through a local switching network composed of two LAN ports of the IP telephone 120, thereby being connected to the communication server 130 through the LAN switch 140.
  • the IP phone 120 when detecting that the LAN port of the IP phone 120 is connected to the PC, the IP phone 120 transmits a proximity discovery protocol message of the data link layer to the PC, and the proximity discovery protocol message includes an IP phone.
  • the PC transmits the received proximity discovery protocol message to the communication client 110 running on the PC, and after receiving the proximity discovery protocol message, the communication client 110 determines that it has utilized the communication account.
  • IP phone number When logging in to the communication server 130, acquiring the IP phone number associated with the communication account from the communication server 130, and according to the IP phone
  • the IP address and the port number send the IP phone number to the IP phone, and the IP phone 120 performs the login operation by using the received IP phone number, thereby solving the prior art in manually registering the communication account and the IP phone number.
  • the user operation caused by the login method is cumbersome.
  • FIG. 2 is a schematic flowchart of a method for implementing IP phone number login according to Embodiment 1 of the present invention.
  • Step 210 The IP phone sends a proximity discovery protocol message of the data link layer to the PC when detecting that the LAN port of the IP phone is connected to the personal computer PC, so that the PC runs on the determined PC. Transmitting, by the communication client, the proximity discovery protocol message to the communication client, where the proximity discovery protocol message includes an IP address and a port number of the IP phone;
  • the network card driver of the network card reports the proximity discovery protocol message to the PC after determining that the network card receives the proximity discovery protocol message.
  • An operating system the operating system transmitting the proximity discovery protocol message to the communication client when it is determined that a communication client on the PC has been run.
  • the network card After receiving the data sent by the IP telephone, the network card sends an interrupt to the processor of the PC, and the processor searches the interrupt vector table in the operating system according to the interrupt number included in the interrupt to obtain an installation.
  • the interrupt program registered in the operating system processes the address, and invokes the network card to drive the network card driver according to the interrupt program processing address; the network card driver determines whether the received data is a proximity discovery protocol message, if If yes, the neighboring discovery protocol message is reported to the operating system; when the operating system determines that the communication client is already running according to the registration information that the communication client registers with the operating system when starting the operation, The proximity discovery protocol message is transmitted to the communication client by a callback address in the registration information.
  • the neighboring discovery protocol message of the data link layer may be one of the following messages: LLDP (Link Layer Di scovery Protocol) message, CDP (Ci sco Di scovery Protocol) message , LLTD (Microsof t's Link Layer Topology Di scovery, Microsoft Link Layer Topology Discovery Protocol) message.
  • LLDP Link Layer Di scovery Protocol
  • CDP Ci sco Di scovery Protocol
  • LLTD Merorosof t's Link Layer Topology Di scovery
  • Microsoft Link Layer Topology Discovery Protocol Microsoft Link Layer Topology Discovery Protocol
  • the network card driver determining whether the received data is a proximity discovery protocol message specifically includes: determining, according to the destination address of the received data, whether the message is an LLDP message, for example, determining Whether the destination address of the data is the broadcast MAC address of the LLDP (Media Access Cont rol) address (such as 01: 80: c2: 00: 00: Oe or 01: 80: c2: 00: 00: 03 or 01) : 80: c2: 00: 00: 00 ) , if yes, it is determined that the received LLDP message.
  • the broadcast MAC address of the LLDP (Media Access Cont rol) address such as 01: 80: c2: 00: 00: Oe or 01: 80: c2: 00: 00: 03 or 01
  • Step 220 The communication client determines that the user has obtained the IP phone number associated with the communication account with the communication server when logging in to the communication server by using the communication account.
  • the proximity discovery protocol message includes information (such as device type information) indicating that the sender of the proximity discovery protocol message is an IP telephone.
  • the communication client may identify that the proximity discovery protocol message is received from the IP phone according to the information therein, and obtain the foregoing when it is recognized that the proximity discovery protocol message is received from the IP phone. IP phone number.
  • the communication client transmits an associated number acquisition request to the communication server, and receives an IP telephone number associated with the communication account returned by the communication server.
  • the communication account assigned to the same user in the communication system is associated with the IP phone number and stored in the communication server.
  • the communication client logs in to the communication server by using the communication account input by the user, and correspondingly, the IP phone number associated with the communication account acquired by the communication client to the communication server in step 220 is the IP phone of the user. number.
  • the proximity discovery protocol message further includes information indicating that the IP phone supports the associated login, and further, the communication client determines, according to the proximity discovery protocol message, that the IP phone supports the associated login, The communication server acquires the IP phone number, wherein the IP phone supports the associated login means that the IP phone supports performing the login operation by using the IP phone number associated with the communication account of the logged-in communication client.
  • the communication server may specifically be a SIP server, and the communication client interacts with the SIP server through a SIP protocol.
  • Step 230 The communication client sends the IP phone number to the IP phone according to the IP address and port number of the IP phone.
  • Step 240 The IP phone performs a login operation by using the received IP phone number.
  • the communication server that the IP phone uses to log in with the IP phone number and the communication server in step 220 may be the same communication server, or may be different communication servers.
  • Embodiment 1 of the present invention after receiving the proximity discovery protocol message of the data link layer sent by the IP telephone connected to the PC where the communication client is located, the communication client determines that it has logged in to the communication server by using the communication account. Sending the IP phone number associated with the communication account to the IP phone, and the IP phone performs the login operation by using the received IP phone number, thereby solving the prior art when manually logging in the communication account and the IP phone number by manually The user operation caused by the login method is cumbersome.
  • the method further includes: the communication client determining whether a user operation for indicating a login IP phone number is detected (eg, The operation of detecting the "association login” button on the communication client is detected, and steps 220-230 are performed when the user operation is detected, thereby implementing login of the IP phone number according to the current intention of the user.
  • a user operation for indicating a login IP phone number eg, The operation of detecting the "association login” button on the communication client is detected, and steps 220-230 are performed when the user operation is detected, thereby implementing login of the IP phone number according to the current intention of the user.
  • the communication client may further detect, when detecting the user operation for instructing to log off the communication account (for example, detecting that the user clicks the "logout" button or closes the communication client's button)
  • the communication account is logged out and the IP phone is instructed to cancel the IP phone number.
  • the IP phone logs out the IP phone number according to the instructions of the communication client.
  • the communication client sends a logout request to the communication server to log out of the communication account; and sends a logout indication to the IP phone to instruct the IP phone to cancel the IP phone number.
  • the information that has been logged in The IP phone, when determining that the communication client has logged in according to the received information indicating that the communication client has logged in, to the communication client according to the IP address of the PC and the port number of the communication client.
  • the communication client After receiving the login application request sent by the IP phone, the communication client performs the operation of acquiring the IP phone number associated with the communication account in the communication server in step 220 and executing step 230.
  • the communication client may send, to the IP phone, information indicating that the communication client has logged in, and an IP address of the PC and a port number of the communication client to the IP phone.
  • the communication client after receiving the proximity discovery protocol message, sends a response message of the proximity discovery protocol message to the IP phone, where the response message includes the The IP address of the PC and the port number of the communication client.
  • the communication account is used to log in to the communication server, the information indicating that the communication client has logged in is sent according to the IP address and the port number of the IP phone, and specifically, may be based on the IP address of the IP phone and The port number transmits a TCP (Transmission Control Protocol) message or a UDP (User Datagram Protocol) message including the information indicating that the communication client has logged in to the IP telephone.
  • TCP Transmission Control Protocol
  • UDP User Datagram Protocol
  • the communication client has logged in to the communication server by using the communication account when receiving the proximity discovery protocol message, including, in the response message, indicating that the communication client is logged in And the IP address of the PC and the port number of the communication client; if the communication client does not log in to the communication server by using the communication account when receiving the proximity discovery protocol message, the subsequent use of the communication account
  • sending information indicating that the communication client has logged in according to the IP address and port number of the IP phone specifically, may be according to the IP address and port number of the IP phone IP phone send package A TCP message or a UDP message indicating information that the communication client has logged in.
  • the response message may include information indicating that the communication client is not logged in.
  • the communication client if the communication client instructs the IP phone to cancel the IP phone number when detecting that the user clicks "logout" according to the call, the communication client subsequently follows the communication client.
  • the communication account or other communication account input by the user is used to log in to the communication server, the information indicating that the communication client has logged in is sent to the IP phone according to the IP address and port number of the IP phone again, and Receiving, when the IP telephone set determines a new login application request sent when the communication client has logged in, acquiring an IP phone number associated with the currently registered communication account from the communication server, and transmitting the IP phone number to the IP phone. machine.
  • the IP phone may further determine whether the response message is received through a LAN port connected to the PC where the communication client is located, and according to the response message, when the determination is yes.
  • the IP address of the PC included and the port number of the communication client are sent to request the login.
  • the IP phone may further include: determining whether the device is detected The user operation indicating the login of the IP telephone number (for example, detecting the operation of the user pressing the button of "associated login" on the IP telephone), and transmitting the login application request when the user operation is detected.
  • the communication client may send information to the IP phone indicating that the communication client is closed, the IP phone. After the machine determines that the communication client has been closed, step 210 is re-executed.
  • Examples of application scenarios of example embodiment A and example embodiment B are as follows:
  • the user has both a communication account (example: a3 ⁇ 4bc.com) and an IP phone number (example: 6000), and the communication account and IP phone number are stored in association with a communication server (such as a SIP Server).
  • the IP telephone and the PC are connected through the LAN port (for example, as shown in Figure 1, the LAN port of the PC is connected to the LAN port of the IP telephone).
  • Embodiment 1 of the present invention An exemplary embodiment of Embodiment 1 of the present invention will be described below with reference to FIG.
  • Steps 301-302 After the communication client running on the PC detects the login operation indication, it logs in to the communication server by using the communication account aSlabc.com input by the user.
  • the communication client After detecting that the user clicks the "login” button, the communication client obtains the communication account and password input by the user, and sends a login request including the communication account and the password to the communication server, to log in to the communication account.
  • Communication server After detecting that the user clicks the "login" button, the communication client obtains the communication account and password input by the user, and sends a login request including the communication account and the password to the communication server, to log in to the communication account.
  • Communication server After detecting that the user clicks the "login" button, the communication client obtains the communication account and password input by the user, and sends a login request including the communication account and the password to the communication server, to log in to the communication account.
  • Step 303 The IP phone sends an LLDP message to the communication client running on the PC when the Ethernet port of the IP phone is connected to the PC, where the LLDP message includes the IP phone support. Associate the login information with the IP address and port number of the IP phone.
  • whether the IP phone supports the associated login by indicating whether the setting field is included in the LLDP message, that is, the setting of the setting field in the LLDP message indicates that the IP phone supports the associated login; specifically, The different values of the setting field included in the LLDP message indicate whether the IP phone supports the associated login. For example, if the value of the setting field is 1, it indicates that the IP phone supports the associated login, if the setting A value of 0 for the fixed field indicates that the IP phone does not support the associated login.
  • the corresponding field may be customized in the LLDP Ethernet frame format defined by the IEEE 802. lab standard (IEEE s tandard 802. 1AB-2009) to carry information indicating that the IP telephone supports the associated login, the IP telephone IP address and port number.
  • IEEE 802. lab standard IEEE s tandard 802. 1AB-2009
  • the LLDP Ethernet frame format includes a vendor-defined TLV (Type Type, Length Length, Value) structure, as shown in Table 1, where the Value part includes the vendor unique identifier Organic identity IF (OUI), Vendor custom subtypes Organizat ional ly def ined subtype and vendor custom information strings Organizat ional ly def ined informat ion s tr ing.
  • TLV Type Type, Length Length, Value
  • Table 1 the Value part includes the vendor unique identifier Organic identity IF (OUI), Vendor custom subtypes Organizat ional ly def ined subtype and vendor custom information strings Organizat ional ly def ined informat ion s tr ing.
  • Table 1 The phone supports the associated login information, the IP address and port number of the IP phone, as shown in Table 2:
  • the LLDP message includes a Log inwi thCl ient field, indicating that the IP phone supports the associated login; the ipaddd ress: port field in the LLDP message has been recorded as the IP address and port number of the IP phone.
  • the communication client After receiving the LLDP message, the communication client determines, according to the LLDP message, whether the IP phone supports the associated login, for example, determining whether the LLDP message includes a LoginWiTh ient field, and if yes, determining that the IP phone supports the associated login. , then perform the next steps, otherwise, do not perform the next steps.
  • the network card of the PC where the communication client is located receives the LLDP message through a LAN port connected to the IP phone, and the network card driver of the network card determines that the destination address of the LLDP message is a broadcast MAC address of the LLDP ( If 01: 80: c2: 00: 00: Oe or 01: 80: c2: 00: 00: 03 or 01: 80: c2: 00: 00: 00), the above LLDP message is sent to the above An operating system on the PC, the operating system transmitting the LLDP message to the communication client when it is determined that the communication client on the PC has been running.
  • Step 304 The communication client returns an LLDP response to the IP phone, where the LLDP response includes The IP address of the PC where the communication client is located and the port number of the communication client;
  • the port number is specifically the listening port number of the communication client.
  • the IP address of the PC where the terminal is located and the port number of the communication client as shown in Table 3:
  • the communication client and the IP telephone establish an IP-based socket Socket communication connection according to the IP address and port number of both parties.
  • the IP telephone determines whether the LLDP response is received through a LAN port (such as LAN2 of FIG. 1) connected to the PC, and if so, performs the subsequent steps; if not, discards the LLDP In response, the subsequent steps are not performed to prevent other devices from pretending that the communication client sends an LLDP message to the IP telephone through the other LAN port of the IP telephone (such as LAN1 of FIG. 1) to complete the subsequent communication process.
  • a LAN port such as LAN2 of FIG. 1
  • the subsequent steps are not performed to prevent other devices from pretending that the communication client sends an LLDP message to the IP telephone through the other LAN port of the IP telephone (such as LAN1 of FIG. 1) to complete the subsequent communication process.
  • the IP phone can periodically send an LLDP message to the PC through the LAN port connected to the PC (for example, sending an LLDP message every minute).
  • the PC also receives the LLDP message sent by the IP telephone. If the communication client is not running when the PC receives the LLDP message, the LLDP message received by the PC cannot be reported to the communication client. If the communication client is already running (whether or not the user has logged in to the communication server through the communication account), the LLDP message received by the PC is reported to the communication client, and the communication client receives the LLDP message. After that, a response message of the LLDP message is sent to the IP telephone.
  • Step 305 The communication client sends an association number acquisition request to the communication server.
  • Step 306 The communication server returns the IP phone number 6000 associated with the communication account to the communication client.
  • Step 307 The communication client sends the received IP phone number to the IP phone. Specifically, the IP phone number is sent to the IP phone through the socket communication connection.
  • the IP phone has performed the login operation with another IP phone number (such as 7000) and has not logged off the IP phone number, the IP phone number can be logged out and then step 308 is performed; alternatively, the IP phone can also Instead of deregistering the IP telephone number, an idle line is selected to perform step 308 to log in using the acquired IP telephone number over the idle line.
  • another IP phone number such as 7000
  • step 308 is performed; alternatively, the IP phone can also Instead of deregistering the IP telephone number, an idle line is selected to perform step 308 to log in using the acquired IP telephone number over the idle line.
  • Step 309 The communication server returns a login success response to the IP phone.
  • Step 310 The communication client detects a logout operation indication.
  • Step 311 The communication client instructs the IP phone to cancel the IP phone number 6000;
  • Step 312 The IP telephone sends a logout request to the communication server to cancel the IP phone number.
  • Step 314 The communication client cancels the communication account
  • step 314 may also be performed before step 312 or between step 312 and step 313.
  • the IP telephone can send a notification message indicating that the IP phone number has been revoked to the communication client after receiving the logout success response, and the communication client cancels the communication account after receiving the notification message.
  • Steps 401-403 steps 301-303 of the same exemplary embodiment A;
  • Step 404 The communication client returns an LLDP response to the IP phone, where the LLDP response includes information indicating that the communication client has logged in, an IP address of the PC where the communication client is located, and a port number of the communication client, the port The number is specifically the listening port number of the communication client.
  • the information that the client has logged in and the IP address of the PC where the communication client is located and the port number of the communication client are as shown in Table 4:
  • the ClientLog ined field included in the LLDP response indicates that the communication client has logged in; the ipadddress: port field records the IP address of the PC where the communication client is located and the port number of the communication client.
  • the communication client and the IP telephone establish an IP-based Socket communication connection based on the IP address and port number of both parties.
  • the IP telephone determines whether the LLDP response is received through a LAN port connected to the PC where the communication client is located, and if so, performs the subsequent steps; if not, discards the LLDP response, The subsequent steps are not performed to prevent other devices from posing as communication clients to send LLDP messages to the IP phone through other LAN ports of the IP phone to complete the subsequent communication process.
  • the IP phone can periodically send an LLDP message to the PC through the LAN port connected to the PC (for example, sending an LLDP message every minute).
  • the PC also receives the LLDP message sent by the IP telephone. If the communication client is not running when the PC receives the LLDP message, the LLDP message received by the PC cannot be reported to the communication client. If the communication client is running when the LLDP message is received, the LLDP message received by the PC is reported to the communication client. After receiving the LLDP message, the communication client sends a response message of the LLDP message to the IP phone.
  • the communication client has logged in to the communication server by using the communication account when receiving the LLDP message
  • the communication client includes, in the response message of the LLDP message sent to the IP phone, the The information that the communication client has logged in.
  • the response message of the LLDP message sent to the IP phone includes indicating that the communication client is not logged in.
  • the information indicating that the communication client has logged in is sent to the IP phone according to the IP address and port number of the IP phone.
  • Step 405 The IP phone sends a login application request to the communication client.
  • the IP telephone determines whether the LLDP response includes information indicating that the communication client has logged in, and if so, sends a login application to the communication client according to the IP address of the PC and the port number of the communication client. request.
  • Step 406 The communication client sends a login application response to the IP phone.
  • Step 407 After receiving the login application request sent by the IP phone, the communication client sends an association number acquisition request to the communication server.
  • Steps 408-416 are the same as steps 306-314 of example embodiment A.
  • the communication client may not perform step 406 first, but receives the IP phone number returned by the communication server in step 408, and then sends a login application response carrying the IP phone number to the IP phone.
  • the IP phone can also receive the device before login. Transmitting, by the communication client, first authentication information received from the communication server, and sending the IP phone number to the communication server when performing a login operation And a login request of the first authentication information, so that the communication server authenticates the IP phone with the first authentication information after receiving the login request.
  • the communication client receives the IP phone number associated with the communication account and the first authentication information (such as a random number generated by the communication server) from the communication server, and in step 230, the IP phone number and the number An authentication message is sent to the IP telephone, and the IP telephone performs the login operation using the received IP telephone number and the first authentication information in step 240.
  • the first authentication information such as a random number generated by the communication server
  • the IP phone can also send the second authentication information to the communication server through the communication client before login (such as a random number generated by the IP telephone, and using the second authentication information to log in to the login information (eg, the IP phone number, or the IP phone number and the first authentication information) Encrypting is performed, and the encrypted login information is carried in the login request and sent to the communication server.
  • the communication server After receiving the login request, the communication server encrypts the login request by using the previously received second authentication information. The login information is decrypted.
  • the communication client may also send third authentication information (such as a random number generated by the communication client) to the IP telephone before transmitting the IP telephone number to the IP telephone, and subsequently send the data to the IP telephone.
  • third authentication information such as a random number generated by the communication client
  • IP phone number, IP phone number and first authentication information is encrypted by the third authentication information and sent to the IP phone.
  • the IP phone uses the previously received third authentication information.
  • the encrypted data is decrypted and the login operation is performed using the decrypted IP telephone number.
  • the data transmitted between the communication client and the communication server can also be encrypted by using the communication account corresponding to the communication client and its password, thereby ensuring the security of communication between the communication client and the communication server.
  • Embodiment 1 of the present invention An alternative embodiment of Embodiment 1 of the present invention will be described below with reference to FIG. Application scenarios of the example embodiments A and B of the embodiment 1 of the present invention; steps 501-504: steps 401-404 of the same exemplary embodiment B;
  • Step 505 The IP phone sends a login application request to the communication client, where the login application request includes a random number generated by the IP phone (hereinafter referred to as a random number A);
  • the IP telephone determines whether the LLDP response received in step 504 includes information indicating that the communication client has logged in, and if so, sends a login request request to the communication client.
  • Step 506 The communication client sends a login application response to the IP phone.
  • the login application response includes a random number generated by the communication client (hereinafter referred to as a random number B); Step 507: The communication client sends an association number acquisition request to the communication server after receiving the login application request sent by the IP phone;
  • the associated number obtaining request includes a random number A received from the IP telephone, and the random number A can be encrypted by using the communication account and its corresponding password;
  • Step 508 The communication server returns the IP phone number associated with the communication account and the random number generated by the communication server to the communication client (hereinafter referred to as a random number C);
  • the communication server After the communication server receives the random number A, if the random number A is encrypted by using the communication account and the password, the localized stored communication account and password of the communication client are used for decryption to obtain a random number.
  • the communication server encrypts the IP phone number and the random number C by using the communication account and password and sends the result to the communication client.
  • Step 509 The communication client encrypts and transmits the IP phone number and the random number C received from the communication server to the IP phone by using the random number B.
  • the communication client first decrypts by using the corresponding communication account and password to obtain the IP phone number and the random number C, and then uses the random number B pair.
  • the IP phone number and random number C received from the communication server are encrypted and sent to the IP phone.
  • Step 510 The IP phone receives the IP phone number and the random number C encrypted by the random number B.
  • the IP number and the random number C are obtained by decrypting the random number B received in step 506.
  • Step 511 The IP telephone sends a login request to the communication server, where the login request includes an IP phone number encrypted with a random number A and a random number C;
  • Step 512 After receiving the login request, the communication server decrypts the IP phone number and the random number C by using the random number A, and verifies whether the random number C carried in the login request matches the random number C sent in step 508, if The match performs the next steps.
  • Steps 513-518 Same as steps 411-416.
  • Embodiment 2 of the present invention proposes a communication apparatus 500.
  • the communication device includes: a receiving unit 501, a login unit 502, an obtaining unit 503, and a sending unit 504;
  • the receiving unit 501 is configured to receive a proximity discovery protocol message of a data link layer sent by the IP phone, where the proximity discovery protocol message includes an IP address and a port number of the IP phone; specifically, the receiving unit 501.
  • the neighboring discovery protocol message is received by a network card of a PC where the communication device is located, where the network card driver of the network card sends the proximity discovery protocol message after determining that the network card receives a proximity discovery protocol message.
  • the operating system on the PC is reported to the operating system to facilitate transmission of the proximity discovery protocol message to the communication device.
  • the proximity discovery protocol message is specifically a link layer discovery protocol LLDP message; correspondingly, the network card driver of the network card determines the neighbor after the network card receives the proximity discovery protocol message
  • the near-discovery protocol message is sent to the operating system on the PC, specifically: the network card driver of the network card determines that the proximity discovery protocol message is LLDP according to the destination address of the proximity discovery protocol message received by the network card.
  • the proximity discovery protocol message is sent to the operating system of the PC.
  • the login unit 502 is configured to log in to the communication server by using a communication account
  • the obtaining unit 503 is configured to: when the receiving unit 501 receives the proximity discovery protocol message, and determine that the login unit 502 has logged in to the communication server by using the communication account, acquire the communication account from the communication server. The associated IP phone number, and transmits the IP phone number to the sending unit 504;
  • the sending unit 504 is configured to receive the IP phone number from the acquiring unit 503, and send the IP phone number to the IP phone according to an IP address and a port number of the IP phone, so that the The IP telephone performs the login operation using the IP telephone number.
  • the communication device further includes a determining unit 505;
  • the receiving unit 501 is further configured to transmit the proximity discovery protocol message to the determining unit
  • the determining unit 505 is configured to receive the proximity discovery protocol message from the receiving unit 501, determine whether the proximity discovery protocol message includes information indicating that the IP phone supports the associated login, and transmit the determination result to the location
  • the obtaining unit 503, wherein the information indicating that the IP phone supports the associated login is specifically used to indicate that the IP phone supports performing a login operation by using an IP phone number associated with the communication account of the logged-in communication device;
  • the obtaining unit 503 is specifically configured to receive the determination result from the determining unit 505, and obtain the IP phone number associated with the communication account with the communication server when the determination result is YES.
  • the sending unit 504 is further configured to send, to the IP phone, information indicating that the communication device is logged in, an IP address of the personal computer PC where the communication device is located, and a port of the communication device.
  • the receiving unit 501 is further configured to receive the IP The telephone machine determines a login application request sent according to the IP address of the PC and the port number of the communication device when the communication device has logged in.
  • the sending unit 504 is configured to send, to the IP phone, information indicating that the communication device has logged in, an IP address of the PC, and a port number of the communication device, which specifically includes:
  • the sending unit is configured to send a response message of the proximity discovery protocol message to the IP phone, where the response message includes information indicating that the communication device has logged in, an IP address of the PC, and the communication device Port number; or,
  • the sending unit is configured to send a response message of the proximity discovery protocol message to the IP phone, where the response message includes an IP address of the PC and a port number of the communication device; and is used according to the IP
  • the IP address and port number of the telephone transmit information indicating that the communication device has logged in.
  • the communication device further includes a logout unit, configured to log out the communication account when detecting a user operation for instructing to log off the communication account, and instruct the IP phone to log off Said IP phone number.
  • the sending unit sends a logout request to the communication server to cancel the communication account; and the sending unit 503 sends a logout indication to the IP phone to instruct the IP phone to cancel the IP. telephone number.
  • Embodiment 2 of the present invention can be used to implement the method described in Embodiment 1 above.
  • Embodiment 3 of the present invention proposes an IP telephone set 600.
  • the IP telephone includes: a detecting unit 601, a sending unit 602, a receiving unit 603, and a login unit 604;
  • the detecting unit 601 is configured to detect whether an Ethernet port of the IP phone is connected to a personal computer PC, and transmit the detection result to the sending unit 602;
  • the sending unit 602 is configured to receive a detection result sent by the detecting unit, and send a proximity discovery protocol message of a data link layer to the PC when the detection result is connected, so as to facilitate Transmitting, by the PC, the proximity discovery protocol message to the communication client when determining that the communication client is running on the PC, where the proximity discovery protocol message includes an IP address and a port number of the IP phone;
  • the receiving unit 603 is configured to receive an IP phone number associated with the communication account sent according to an IP address and a port number of the IP phone when the communication client determines that the user has logged in to the communication server by using the communication account. And transmitting the IP phone number to the login unit 604;
  • the login unit 604 is configured to receive the IP phone number from the receiving unit 603, and perform a login operation by using the IP phone number. Supporting the information of the associated login, so that the communication client determines to send the IP phone number to the IP phone when the IP phone supports the associated login according to the proximity discovery protocol message, wherein the The information that the IP telephone supports the associated login is specifically used to indicate that the IP telephone supports the login operation by using the IP telephone number associated with the communication account of the logged-in communication client.
  • the IP telephone further includes a determining unit 605;
  • the receiving unit 603 is further configured to receive, by the communication client, information indicating that the communication client has logged in, an IP address of the PC, and a port number of the communication client;
  • the determining unit 605 is configured to determine, according to the information indicating that the communication client has logged in, that the communication client has logged in, and transmit the determination result to the sending unit 602;
  • the sending unit 602 is further configured to receive the determination result sent by the determining unit, and send a login application request to the communication client according to the IP address of the PC and the port number of the communication client.
  • the receiving unit 603 is configured to receive, by the communication client, the information indicating that the communication client has logged in, the IP address of the PC, and the port number of the communication client, which specifically includes:
  • the receiving unit 603 is configured to receive the proximity discovery protocol sent by the communication client.
  • the response message, the response message includes information indicating that the communication client has logged in, an IP address of the PC, and a port number of the communication client; or
  • the receiving unit 603 is configured to receive a response message of the proximity discovery protocol message sent by the communication client, where the response message includes an IP address of the PC and a port number of the communication client, and is used to receive the The communication client sends information indicating that the communication client has logged in according to the IP address and port number of the IP telephone.
  • the IP telephone further includes a logout unit 606;
  • the receiving unit 603 is further configured to receive the logout indication sent by the communications client, and transmit the logout indication to the logout unit 606;
  • the logout unit 606 is configured to receive the logout indication from the receiving unit 603, and deregister the IP phone number.
  • the functional unit described in Embodiment 3 of the present invention can be used to implement the method described in Embodiment 1 above.
  • Embodiment 4 of the present invention provides a communication terminal 1000, including: a processor 1010, a network card 1020, a memory 1030, and a bus 1040.
  • the processor 1010, the network card 1020, and the memory 1030 complete communication with each other through the bus 1040.
  • the network card 1020 is configured to communicate with a network element, such as an IP telephone or a communication server.
  • the memory 1030 is configured to store the program 1031.
  • the program 1031 may include a program code, where the program code includes a computer operation instruction.
  • Memory 1030 may include high speed RAM memory and may also include non-volatile memory, such as at least one disk memory.
  • the processor 1010 is configured to execute the program 1031 stored in the memory 1030.
  • the processor 1010 may specifically be a central processing unit (CPU) and is a computer core unit.
  • the network card 1020 is configured to receive a proximity discovery protocol message of a data link layer sent by the IP phone, where the proximity discovery protocol message includes an IP address and a port number of the IP phone;
  • the proximity discovery protocol message may specifically be a link layer discovery protocol LLDP message;
  • the program 1031 includes: a network card driver 1031-1, an operating system 1031-2, and a communication client 1031-3; the network card driver 1031-1 is configured to determine, after determining that the network card 1020 is a proximity discovery protocol message, The proximity discovery protocol message is reported to the operating system 1031-2;
  • the operating system 1031-2 is configured to transmit the proximity discovery protocol message to the communication client 1031-3 when it is determined that the communication client 1031-3 has been run;
  • the communication client 1031-3 is configured to: when it logs in to the communication server by using the communication account, acquire an IP phone number associated with the communication account from the communication server; and according to the IP address of the IP phone And the port number transmits the IP telephone number to the IP telephone through the network card 1020, so that the IP telephone performs a login operation using the IP telephone number.
  • the network card 1020 After receiving the data sent by the IP telephone, the network card 1020 sends an interrupt to the processor 1010, and the processor 1010 searches the interrupt vector table in the operating system 1031-2 according to the interrupt number included in the interrupt to obtain the installation.
  • the network card driver 1031-1 of the network card 1020 processes the address of the interrupt program registered in the operating system 1031-2, and invokes the network card driver network card driver 1031-1 according to the interrupt program processing address; the network card driver 1031-1 Determining whether the received data is a proximity discovery protocol message, if yes, reporting the proximity discovery protocol message to the operating system 1031-2; the operating system 1031-2 is according to the communication client 1031-3
  • the registration information registered to the operating system 1031-2 at the start of operation determines that the proximity discovery protocol message is transmitted to the communication client by the callback address in the registration information when the communication client 1031-3 has been run. End 103 3.
  • the neighboring discovery protocol message of the data link layer may be one of the following messages: LLDP (Link Layer Di scovery Protocol) message, CDP (Ci sco Di scovery Protoco l, Cisco Discovery Protocol) Message, LLTD (Microsof t's Link Layer Topology Di scovery, Microsoft Link Layer Topology Discovery Protocol) message.
  • LLDP Link Layer Di scovery Protocol
  • CDP Ci sco Di scovery Protoco l, Cisco Discovery Protocol
  • LLTD Mericrosof t's Link Layer Topology Di scovery
  • Microsoft Link Layer Topology Discovery Protocol Microsoft Link Layer Topology Discovery Protocol
  • the network card driver 1031-1 is specifically configured to determine, according to a destination address of the proximity discovery protocol message received by the network card.
  • the proximity discovery protocol message is sent to the operating system of the PC. Specifically, it is determined whether the destination address of the proximity discovery protocol message is a broadcast MAC (Med ia Acces s Cont rol) address of the LLDP (eg, 01: 80: c2: 00: 00: 0e or 01: 80: C2: 00: 00: 03 or 01: 80: c2: 00: 00: 00), if yes, it is determined that the received LLDP message.
  • a broadcast MAC Med ia Acces s Cont rol
  • the communication client 1031-3 may be further configured to: determine that the proximity discovery protocol message includes information indicating that the IP phone supports an associated login, and the information indicating that the IP phone supports associated login, specifically for It is indicated that the IP telephone supports the login operation by using the IP telephone number associated with the communication account of the logged-in communication client 1031-3.
  • the communication client 1031-3 is further configured to send, by the network card 1020, information indicating that the communication client 1031-3 has logged in and the IP address of the communication terminal 1000 to the IP phone. And a port number of the communication client 1031-3, and receiving, by the network card 1020, the IP phone, according to the IP address of the communication terminal 1000, when determining that the communication client 1031-3 has logged in A login request request sent by the port number of the communication client 1031-3.
  • the communication client 1031-3 is configured to send, by the network card 1020, information indicating that the communication client 1031-3 has logged in, and an IP address of the communication terminal 1000 and the communication to the IP phone.
  • the port number of the client 1031-3 specifically includes: the communication client 1031-3, configured to send, by using the network card 1020, a response message of the proximity discovery protocol message to the IP phone, where the response message includes Indicates that the communication client 1031-3 has logged in information and the IP address of the communication terminal 1000 and the port number of the communication client 1031-3; or the communication client 1031-3 is used to pass the
  • the network card 1020 sends a response message of the proximity discovery protocol message to the IP telephone, where the response message includes an IP address of the communication terminal 1000 and a port number of the communication client 1031-3, and is used according to the
  • the IP address and port number of the IP telephone are transmitted to the IP telephone through the network card 1020 to transmit information indicating that the communication client 1031-3 has logged in.
  • the communication client 1031-3 transmits data to the IP phone through the network card 1020 (for example, the IP phone number, indicating the communication client 1031)
  • the information of the logged-in information, the IP address of the communication terminal 1000, and the port number of the communication client 1031-3, etc., may specifically be that the communication client 1031-3 passes the operating system 1031 - 2
  • the network card driver 1031 - 1 is invoked to transmit the data through the network card 1020.
  • Embodiment 4 of the present invention can be used to implement the method described in Embodiment 1 above.
  • Embodiment 5 of the present invention provides an IP telephone 2000, including: a processor 2010, a transmitter 2020-1, a receiver 2020-2, and a memory. ) 2030 and bus 2040.
  • the processor 2010, the transmitter 2020-1, the receiver 2020-2, and the memory 2030 complete communication with each other through the bus 2040.
  • the transmitter 2020-1, the receiver 2020-2, is configured to communicate with the network element.
  • the memory 2030 is configured to store the program 2031.
  • the program 2031 may include a program code, where the program code includes a computer operation instruction.
  • the memory 2030 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • the processor 2010 is configured to execute the program 2031 stored in the memory 2030.
  • the processor 2010 may specifically be a central processing unit (CPU) and is a computer core unit.
  • the program 2031 may include: a detecting unit 2031-1, a login unit 2031-2, and a detecting unit 2031-1, configured to detect whether an Ethernet port of the IP phone is connected to a personal computer PC;
  • the transmitter 200-1 is configured to send a proximity discovery protocol message of a data link layer to a communication client running on the PC when the detection result of the detecting unit 2031-1 is connected, so as to facilitate the PC. Transmitting the proximity discovery protocol message to the communication client when determining to run the communication client on the PC, the proximity discovery protocol message including an IP address and a port number of the IP phone; the proximity discovery protocol The message may be a link layer discovery protocol LLDP message.
  • the receiver 2020-2 is configured to receive, by the communication client, the communication account that is sent according to the IP address and the port number of the IP phone when determining that the user has logged in to the communication server by using the communication account.
  • IP phone number IP phone number
  • the login unit 2031-2 is configured to perform a login operation by using an IP phone number received by the receiver 2020-2.
  • the proximity discovery protocol message sent by the transmitter 200-1 includes information indicating that the IP phone supports an associated login, so that the communication client determines the IP phone according to the proximity discovery protocol message.
  • the IP phone number associated with the communication account is used to perform the login operation.
  • the program 2031 further includes a determining unit; the receiver 2020-2 is further configured to receive, by the communication client, information indicating that the communication client has logged in and an individual where the communication client is located An IP address of the computer PC and a port number of the communication client; the determining unit, configured to determine, according to the information indicating that the communication client has logged in, that the communication client has logged in; the transmitter 2020-1 And sending a login application request to the communication client according to the IP address of the PC and the port number of the communication client.
  • the receiver 2020-2 is configured to receive, by the communication client, information indicating that the communication client has logged in, and an IP address of the personal computer PC where the communication client is located, and the communication The port number of the client, specifically includes: the receiver 2020-2, configured to receive a response message of the proximity discovery protocol message sent by the communication client, where the response message is And including: an information indicating that the communication client has logged in, an IP address of the PC, and a port number of the communication client; or a response message for receiving the proximity discovery protocol message sent by the communication client, where The response message includes an IP address of the PC and a port number of the communication client, and is configured to receive, by the communication client, that the communication client is logged in according to an IP address and a port number of the IP phone. information.
  • the receiver 2020-2 is further configured to receive a logout indication sent by the communications client; the program 2031 further includes a logout unit, configured to receive the communications client when the receiver 2020-2 receives When the logout instruction sent by the terminal is issued, the IP phone number is cancelled.
  • each unit in the program 2031 refers to the corresponding unit in Embodiment 3 of the present invention, and details are not described herein.
  • Embodiment 5 of the present invention can be used to implement the method described in Embodiment 1 above.
  • Embodiment 6 of the present invention proposes a communication system 4000.
  • the communication system includes: a communication client 4010, an IP phone 4020, and a communication server 4030, wherein the IP phone 4020 is connected to the communication client 4010 through an Ethernet port.
  • Personal computer PC connected;
  • the IP phone 4020 is configured to send a proximity discovery protocol message of the data link layer to the PC when detecting that the Ethernet port of the IP phone 4020 is connected to the communication client 4010, so as to facilitate Transmitting, by the PC, the proximity discovery protocol message to the communication client when the communication client is determined to be running, the proximity discovery protocol message including an IP address and a port number of the IP phone 4020; receiving the The communication client 4010 determines the IP phone number associated with the communication account number transmitted according to the IP address and port number of the IP phone 4020 when it has logged in to the communication server 4030 using the communication account; and utilizes the IP phone number Perform a login operation.
  • the proximity discovery protocol message may specifically be a link layer discovery protocol LLDP message.
  • the communication client 4010 is configured to receive the proximity discovery protocol message sent by the IP phone 4020, and determine that the user has logged in to the communication server 4030 by using the communication account, to the communication service.
  • the server 4030 acquires an IP phone number associated with the communication account; and transmits the IP phone number to the IP phone 4020 according to the IP address and port number of the IP phone 4020; the communication server 4030, The IP telephone number associated with the communication account is sent to the communication client 4010.
  • the communication client 4010 is further configured to: when the proximity discovery protocol message is received, determine that the proximity discovery protocol message includes information indicating that the IP phone 4020 supports an associated login, the indicating the IP
  • the information that the telephone supports the associated login is specifically used to indicate that the IP telephone supports the login operation by using the IP telephone number associated with the communication account of the logged-in communication client.
  • the communication client 4010 is further configured to send, to the IP phone 4020, information indicating that the communication client 4010 has logged in, an IP address of the PC, and a port number of the communication client 4010. And receiving, by the IP phone 4020, a login application request sent according to the IP address of the PC and the port number of the communication client 4010 when the communication client 4010 is logged in; the IP phone 4020, Receiving, by the communication client 4010, information indicating that the communication client 4010 has logged in, an IP address of the PC, and a port number of the communication client 4010, and determining that the communication client 4010 has When logging in, the login request request is sent to the communication client 4010 according to the IP address of the PC and the port number of the communication client 4010.
  • the communication client 4010 is configured to send, to the IP phone 4020, information indicating that the communication client 4010 has logged in, an IP address of the PC, and a port number of the communication client 4010.
  • the communication client 4010 is configured to send a response message of the proximity discovery protocol message to the IP phone 4020, where the response message includes information indicating that the communication client 4010 has logged in and the PC. IP address and port number of the communication client 4010; or a response message for transmitting the proximity discovery protocol message to the IP phone 4020, the response message including an IP address of the PC and the The port number of the communication client 4010; and is used to transmit information indicating that the communication client 4010 has logged in according to the IP address and port number of the IP telephone 4020.
  • the IP phone 4020 is configured to receive, by the communication client 4010, information indicating that the communication client 4010 has logged in, an IP address of the PC, and a port number of the communication client 4010.
  • the IP phone 4020 is configured to receive a response message of the proximity discovery protocol message sent by the communication client 4010, where the response message includes information indicating that the communication client 4010 has logged in, the An IP address of the PC and a port number of the communication client 4010; or a response message for receiving the proximity discovery protocol message sent by the communication client 4010, the response message including an IP address of the PC and The port number of the communication client 4010; and is used to receive information that the communication client 4010 sends according to the IP address and port number of the IP phone 4020 indicating that the communication client 4010 has logged in.
  • the communication client 4010 is further configured to log out the communication account when detecting a user operation for instructing to log off the communication account, and instruct the IP phone 4020 to cancel the IP phone number, and
  • the IP phone 4020 is further configured to log out the IP phone number when receiving the logout indication sent by the communication client 4010.
  • Embodiment 6 of the present invention can be used to implement the method described in Embodiment 1 above.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division, and may be implemented in actual implementation.
  • multiple units or components may be combined or integrated into another system, or some features may be omitted or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the components displayed for the unit may or may not be physical units, ie may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM, Random Acces s Memory), a magnetic disk, or an optical disk, and the like, which can store program codes. medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明实施例公开了一种实现IP电话号码登录的方法、装置和系统。该方法包括:通信客户端接收相连的IP电话机发送的数据链路层的邻近发现协议消息后,在确定自身已利用通信账号登录至通信服务器时,向所述通信服务器获取所述通信账号所关联的IP电话号码,并向所述IP电话机发送所述IP电话号码,以使得所述IP电话机利用所述IP电话号码执行登录操作,从而解决了现有技术中在登录通信账号和IP电话号码时需分别采用手动输入方式登录所导致的用户操作比较繁琐的问题。

Description

一种实现 IP电话号码登录的方法、 装置和系统 技术领域
本发明实施例涉及通信技术领域, 并且更具体地, 涉及一种实现 IP电话 号码登录的方法、 装置和系统。
背景技术
随着通信技术的发展,越来越多的企业部署基于 IP网络电话( Voice over Internet Protocol , VoIP )技术的统一通信 ( UC, unif ied communicat ion ) 系统。
在统一通信业务中, 同一个企业用户通常同时拥有 IP电话号码和通信账 号。 IP电话号码携带是统一通信业务的一个重要功能, 利用 IP电话号码携带 功能, 用户可以在不同的 IP电话机上使用自己的 IP电话号码, 如, 出差到 某办公地点, 可以利用自己的 IP电话号码使用该办公地点的 IP电话机。 在 现有技术中, 用户通过在通信客户端上输入自己的通信账号和密码的方式进 行通信账号的登录, 并通过在 IP电话机上手动输入自己的 IP电话号码和密 码的方式进行 IP电话号码的登录。 利用该现有技术, 如果用户需要登录通信 账号和 IP电话号码, 则需分别采用手动输入方式登录, 操作比较繁瑣。
发明内容
本发明实施例提供一种实现 IP电话号码登录的方法、 装置和系统, 用于 解决现有技术中在登录通信账号和 IP电话号码时需分别采用手动输入方式登 录所导致的用户操作比较繁瑣的问题。
第一方面, 提供了一种实现 IP电话号码登录的方法, 所述方法包括: 通信客户端接收 IP电话机发送的数据链路层的邻近发现协议消息, 所述 邻近发现协议消息包括所述 IP电话机的 IP地址和端口号;
所述通信客户端确定自身已利用通信账号登录至通信服务器时, 向所述 通信服务器获取所述通信账号所关联的 IP电话号码; 所述通信客户端才艮据所述 IP电话机的 IP地址和端口号向所述 IP电话机 发送所述 IP电话号码, 以使得所述 IP电话机利用所述 IP电话号码执行登录 操作。
在第一方面的第一种可能的实现方式中, 所述向所述通信服务器获取所 述通信账号所关联的 IP电话号码之前还包括, 确定所述邻近发现协议消息包 括表示所述 IP电话机支持关联登录的信息, 所述表示所述 IP电话机支持关 联登录的信息具体用于表示所述 IP电话机支持利用已登录的通信客户端的通 信账号所关联的 IP电话号码执行登录操作。
结合第一方面或第一方面的第一种可能的实现方式, 在第二种可能的实 现方式中, 所述向所述通信服务器获取所述通信账号所关联的 IP电话号码之 前还包括: 所述通信客户端向所述 IP电话机发送表示所述通信客户端已登录 的信息以及所述通信客户端所在的个人计算机 PC的 IP地址和所述通信客户 端的端口号, 并接收所述 IP电话机在确定所述通信客户端已登录时根据所述 PC的 IP地址和所述通信客户端的端口号发送的登录申请请求。
结合第一方面的第二种可能的实现方式, 在第三种可能的实现方式中, 所述向所述 IP电话机发送表示所述通信客户端已登录的信息以及所述 PC 的 I P地址和所述通信客户端的端口号, 具体包括:
向所述 IP电话机发送所述邻近发现协议消息的响应消息, 所述响应消息 包括表示所述通信客户端已登录的信息以及所述 PC的 IP地址和所述通信客 户端的端口号; 或者,
向所述 IP电话机发送所述邻近发现协议消息的响应消息, 所述响应消息 包括所述 PC的 IP地址和所述通信客户端的端口号, 并根据所述 IP电话机的 IP地址和端口号发送表示所述通信客户端已登录的信息。
结合第一方面或第一方面的第一种至第三种任一可能的实现方式, 在第 四种可能的实现方式中, 所述通信客户端接收 IP电话机发送的邻近发现协议 消息, 具体包括: 所述通信客户端通过所述通信客户端所在的 PC的网卡接收 所述邻近发现协议消息, 其中, 所述网卡的网卡驱动在确定所述网卡接收到 的为邻近发现协议消息后将所述邻近发现协议消息上报给所述 PC上的操作系 统, 以便于所述操作系统在确定所述通信客户端已运行时将所述邻近发现协 议消息传输至所述通信客户端。
结合第一方面的第四种可能的实现方式, 在第五种可能的实现方式中, 所述邻近发现协议消息具体为链路层发现协议 LLDP消息;
所述网卡的网卡驱动在确定所述网卡接收到的为邻近发现协议消息后将 所述邻近发现协议消息上 4艮给所述 PC上的操作系统, 具体包括: 所述网卡的 网卡驱动在根据所述网卡接收的所述邻近发现协议消息的目的地址确定所述 邻近发现协议消息为 LLDP 消息时, 将所述邻近发现协议消息上 ^艮给所述 PC 的操作系统。
结合第一方面或第一方面的第一种至第五种任一可能的实现方式, 在第 六种可能的实现方式中, 所述通信客户端根据所述 IP电话机的 IP地址和端 口号向所述 IP电话机发送所述 IP电话号码之后, 还包括, 所述通信客户端 在检测到用于指示注销所述通信账号的用户操作时注销所述通信账号, 并指 示所述 IP电话机注销所述 IP电话号码。 第二方面, 提供了一种实现 IP电话号码登录的方法, 所述方法包括:
IP电话机在检测到所述 IP电话机的以太网口与个人计算机 PC相连时, 向所述 PC发送数据链路层的邻近发现协议消息, 以便于所述 PC在确定所述 PC上运行通信客户端时将所述邻近发现协议消息传输至所述通信客户端, 所 述邻近发现协议消息包括所述 IP电话机的 IP地址和端口号;
所述 IP电话机接收所述通信客户端确定自身已利用通信账号登录至通信 服务器时, 根据所述 IP电话机的 IP地址和端口号发送的所述通信账号所关 联的 IP电话号码;
所述 IP电话机利用所述 IP电话号码执行登录操作。 在第二方面的第一种可能的实现方式中, 所述邻近发现协议消息包括表 示所述 IP电话机支持关联登录的信息, 以便于所述通信客户端根据所述邻近 发现协议消息确定所述 IP电话机支持关联登录时向所述 IP电话机发送所述 IP电话号码, 其中, 所述表示所述 IP电话机支持关联登录的信息具体用于表 示所述 IP电话机支持利用已登录的通信客户端的通信账号所关联的 IP电话 号码执行登录操作。
结合第二方面或第二方面的第一种可能的实现方式, 在第二种可能的实 现方式中,
所述 IP电话机接收所述通信客户端确定自身已利用通信账号登录至通信 服务器时, 根据所述 IP电话机的 IP地址和端口号发送的所述通信账号所关 联的 IP电话号码之前, 还包括,
所述 IP电话机接收所述通信客户端发送的表示所述通信客户端已登录的 信息以及所述 PC的 IP地址和所述通信客户端的端口号, 并在确定所述通信 客户端已登录时, 根据所述 PC的 IP地址和所述通信客户端的端口号向所述 通信客户端发送登录申请请求。
结合第二方面的第二种可能的实现方式, 在第三种可能的实现方式中, 所述 IP电话机接收所述通信客户端发送的表示所述通信客户端已登录的 信息以及所述 PC的 I P地址和所述通信客户端的端口号, 具体包括:
所述 IP电话机接收所述通信客户端发送的所述邻近发现协议消息的响应 消息,所述响应消息包括表示所述通信客户端已登录的信息以及所述 PC的 IP 地址和所述通信客户端的端口号; 或者,
所述 IP电话机接收所述通信客户端发送的所述邻近发现协议消息的响应 消息, 所述响应消息包括所述 PC的 IP地址和所述通信客户端的端口号, 并 接收所述通信客户端根据所述 IP电话机的 IP地址和端口号发送的表示所述 通信客户端已登录的信息。
结合第二方面的第二种或第三种可能的实现方式, 在第四种可能的实现 方式中, 所述根据所述 PC的 IP地址和所述通信客户端的端口号向所述通信 客户端发送登录申请请求之前, 还包括, 确定所述响应消息是通过与所述 PC 连接的以太网口接收的。
结合第二方面或第二方面的第一种至第四种任一可能的实现方式, 在第 五种可能的实现方式中, 所述 IP电话机利用所述 IP电话号码执行登录操作 之后, 还包括, 当接收到所述通信客户端发送的注销指示时, 所述 IP电话机 注销所述 IP电话号码。
结合第二方面或第二方面的第一种至第五种任一可能的实现方式, 在第 六种可能的实现方式中,
所述 IP电话机利用所述 IP电话号码执行登录操作之前还包括, 所述 IP 电话机接收所述通信客户端发送的接收自所述通信服务器的第一鉴权信息; 所述 IP电话机利用所述 IP电话号码执行登录操作, 具体包括, 所述 IP 电话机向所述通信服务器发送包括所述 IP电话号码和所述第一鉴权信息的登 录请求, 以使得所述通信服务器接收到所述登录请求后利用所述第一鉴权信 息对所述 IP电话机进行鉴权。
结合第二方面或第二方面的第一种至第六种任一可能的实现方式, 在第 七种可能的实现方式中,
所述登录请求包括的 IP电话号码和第一鉴权信息是利用第二鉴权信息加 密的;
所述 IP电话机发送所述登录请求之前, 还包括, 通过所述通信客户端向 所述通信服务器发送所述第二鉴权信息, 以使得所述通信服务器利用所述第 二鉴权信息, 对所述登录请求中包括的加密的 IP电话号码和第一鉴权信息进 行解密。 第三方面, 提供了一种通信装置, 所述通信装置包括: 接收单元、 登录 单元、 获取单元和发送单元; 所述接收单元, 用于接收 IP电话机发送的数据链路层的邻近发现协议消 息, 所述邻近发现协议消息包括所述 IP电话机的 IP地址和端口号;
所述登录单元, 用于利用通信账号登录至通信服务器;
所述获取单元, 用于在所述接收单元接收到所述邻近发现协议消息, 并 且确定所述登录单元已利用通信账号登录至通信服务器时, 向所述通信服务 器获取所述通信账号所关联的 IP电话号码, 并将所述 IP电话号码传输至所 述发送单元;
所述发送单元, 用于从所述获取单元接收所述 IP电话号码, 并根据所述 IP电话机的 IP地址和端口号向所述 IP电话机发送所述 IP电话号码,以使得 所述 IP电话机利用所述 IP电话号码执行登录操作。
在第三方面的第一种可能的实现方式中, 所述通信装置还包括判断单元; 所述接收单元, 还用于将所述邻近发现协议消息传输至所述判断单元; 所述判断单元, 用于从所述接收单元接收所述邻近发现协议消息, 判断 所述邻近发现协议消息是否包括表示所述 IP电话机支持关联登录的信息, 并 将判断结果传输至所述获取单元, 其中, 所述表示所述 IP电话机支持关联登 录的信息具体用于表示所述 IP电话机支持利用已登录的通信装置的通信账号 所关联的 IP电话号码执行登录操作;
所述获取单元, 具体用于从所述判断单元接收所述判断结果, 并在所述 判断结果为是时,向所述通信服务器获取所述通信账号所关联的 IP电话号码。
结合第三方面或第三方面的第一种可能的实现方式, 在第二种可能的实 现方式中,
所述发送单元, 还用于向所述 IP电话机发送表示所述通信装置已登录的 信息以及所述通信装置所在的个人计算机 PC的 IP地址和所述通信装置的端 口号;
所述接收单元, 还用于接收所述 IP电话机在确定所述通信装置已登录时 根据所述 PC的 IP地址和所述通信装置的端口号发送的登录申请请求。 结合第三方面的第二种可能的实现方式, 在第三种可能的实现方式中, 所述发送单元, 用于向所述 IP电话机发送表示所述通信装置已登录的信 息以及所述通信装置所在的个人计算机 PC的 IP地址和所述通信装置的端口 号, 具体包括:
所述发送单元, 用于向所述 I P电话机发送所述邻近发现协议消息的响应 消息, 所述响应消息包括表示所述通信装置已登录的信息以及所述 PC 的 IP 地址和所述通信装置的端口号; 或者,
所述发送单元, 用于向所述 I P电话机发送所述邻近发现协议消息的响应 消息, 所述响应消息包括所述 PC的 IP地址和所述通信装置的端口号; 并用 于根据所述 IP电话机的 IP地址和端口号发送表示所述通信装置已登录的信 息。
结合第三方面或第三方面的第一种至第三种任一可能的实现方式, 在第 四种可能的实现方式中, 所述通信装置还包括注销单元, 用于在检测到用于 指示注销所述通信账号的用户操作时注销所述通信账号, 并指示所述 IP电话 机注销所述 IP电话号码。 第四方面, 提供了一种 IP电话机, 所述 IP电话机包括: 检测单元、 发 送单元、 接收单元和登录单元;
所述检测单元,用于检测所述 IP电话机的以太网口是否与个人计算机 PC 相连, 并将检测结果传输至所述发送单元;
所述发送单元, 用于接收所述检测单元发送的检测结果, 并在所述检测 结果为相连时, 向所述 PC发送数据链路层的邻近发现协议消息, 以便于所述 PC在确定所述 PC上运行通信客户端时将所述邻近发现协议消息传输至所述通 信客户端, 所述邻近发现协议消息包括所述 IP电话机的 IP地址和端口号; 所述接收单元, 用于接收所述通信客户端确定自身已利用通信账号登录 至通信服务器时, 根据所述 IP电话机的 IP地址和端口号发送的所述通信账 号所关联的 IP电话号码, 并将所述 IP电话号码传输至所述登录单元; 所述登录单元, 用于从所述接收单元接收所述 IP电话号码, 并利用所述 IP电话号码执行登录操作。
在第四方面的第一种可能的实现方式中, 所述发送单元发送的所述邻近 发现协议消息包括表示所述 IP电话机支持关联登录的信息, 以便于所述通信 客户端根据所述邻近发现协议消息确定所述 IP电话机支持关联登录时向所述 IP电话机发送所述 IP电话号码, 其中, 所述表示所述 IP电话机支持关联登 录的信息具体用于表示所述 IP电话机支持利用已登录的通信客户端的通信账 号所关联的 IP电话号码执行登录操作。
结合第四方面或第四方面的第一种可能的实现方式, 在第二种可能的实 现方式中, 所述 IP电话机还包括确定单元;
所述接收单元, 还用于接收所述通信客户端发送的表示所述通信客户端 已登录的信息以及所述 PC的 IP地址和所述通信客户端的端口号;
所述确定单元, 用于根据所述表示所述通信客户端已登录的信息确定所 述通信客户端已登录, 并将确定结果传输至所述发送单元;
所述发送单元, 还用于接收所述确定单元发送的确定结果, 并根据所述
PC 的 IP地址和所述通信客户端的端口号向所述通信客户端发送登录申请请 求。
结合第四方面的第二种可能的实现方式, 在第三种可能的实现方式中, 所述接收单元, 用于接收所述通信客户端发送的表示所述通信客户端已登录 的信息以及所述 PC的 IP地址和所述通信客户端的端口号, 具体包括:
所述接收单元, 用于接收所述通信客户端发送的所述邻近发现协议消息 的响应消息, 所述响应消息包括表示所述通信客户端已登录的信息以及所述
PC的 IP地址和所述通信客户端的端口号; 或者,
所述接收单元, 用于接收所述通信客户端发送的所述邻近发现协议消息 的响应消息, 所述响应消息包括所述 PC的 IP地址和所述通信客户端的端口 号; 并用于接收所述通信客户端根据所述 IP电话机的 IP地址和端口号发送 的表示所述通信客户端已登录的信息。
结合第四方面或第四方面的第一种至第三种任一可能的实现方式, 在第 四种可能的实现方式中, 所述 IP电话机还包括注销单元;
所述接收单元, 还用于接收所述通信客户端发送的注销指示, 并将所述 注销指示传输至所述注销单元;
所述注销单元, 用于从所述接收单元接收所述注销指示, 并注销所述 IP 电话号码。 第五方面, 提供了一种通信系统, 所述通信系统包括: IP 电话机、 通信 客户端和通信服务器, 其中, 所述 IP电话机通过以太网口与所述通信客户端 所在的个人计算机 PC相连;
所述 IP电话机, 用于在检测到所述 IP电话机的以太网口与所述 PC相连 时, 向所述 PC发送数据链路层的邻近发现协议消息, 以便于所述 PC在确定 所述通信客户端已运行时将所述邻近发现协议消息传输至所述通信客户端, 所述邻近发现协议消息包括所述 IP电话机的 IP地址和端口号; 接收所述通 信客户端确定自身已利用通信账号登录至通信服务器时, 根据所述 IP电话机 的 IP地址和端口号发送的所述通信账号所关联的 IP电话号码; 并利用所述 IP电话号码执行登录操作;
所述通信客户端, 接收所述邻近发现协议消息; 确定自身已利用通信账 号登录至通信服务器时, 向所述通信服务器获取所述通信账号所关联的 IP电 话号码; 并才艮据所述 IP电话机的 IP地址和端口号向所述 IP电话机发送所述 IP电话号码;
所述通信服务器, 用于向所述通信客户端发送所述通信账号所关联的 IP 电话号码。
在第五方面的第一种可能的实现方式中, 所述通信客户端, 还用于在接 收到邻近发现协议消息时确定所述邻近发现协议消息包括表示所述 IP电话机 支持关联登录的信息, 所述表示所述 IP电话机支持关联登录的信息具体用于 表示所述 IP电话机支持利用已登录的通信客户端的通信账号所关联的 IP电 话号码执行登录操作。
结合第五方面或第五方面的第一种可能的实现方式, 在第二种可能的实 现方式中,
所述通信客户端, 还用于向所述 IP电话机发送表示所述通信客户端已登 录的信息以及所述通信客户端所在的个人计算机 PC的 IP地址和所述通信客 户端的端口号, 并接收所述 IP电话机在确定所述通信客户端已登录时根据所 述 PC的 IP地址和所述通信客户端的端口号发送的登录申请请求;
所述 IP电话机, 还用于接收所述通信客户端发送的表示所述通信客户端 已登录的信息以及所述通信客户端所在的个人计算机 PC的 IP地址和所述通 信客户端的端口号, 并在确定所述通信客户端已登录时, 根据所述 PC 的 IP 地址和所述通信客户端的端口号向所述通信客户端发送所述登录申请请求。
结合第五方面或第五方面的第一种或第二种可能的实现方式, 在第三种 可能的实现方式中,
所述通信客户端, 还用于在检测到用于指示注销所述通信账号的用户操 作时注销所述通信账号, 并指示所述 IP电话机注销所述 IP电话号码;
所述 IP电话机, 还用于当接收到所述通信客户端发送的注销指示时, 注 销所述 IP电话号码。 第六方面, 提供了一种通信终端, 所述通信终端包括: 处理器、 网卡、 存储器和总线;
其中, 处理器、 网卡、 存储器之间通过总线完成相互间的通信; 所述存储器, 用于存放程序; 其中, 所述程序包括网卡驱动、 操作系统 和通信客户端; 所述处理器, 用于执行所述存储器存放的所述程序;
所述网卡, 用于接收 IP电话机发送的数据链路层的邻近发现协议消息, 所述邻近发现协议消息包括所述 IP电话机的 IP地址和端口号;
所述网卡驱动, 用于在确定所述网卡接收到的为邻近发现协议消息后将 所述邻近发现协议消息上报给所述操作系统;
所述操作系统, 用于在确定所述通信客户端已运行时将所述邻近发现协 议消息传输至所述通信客户端;
所述通信客户端, 用于确定自身已利用通信账号登录至通信服务器时, 向所述通信服务器获取所述通信账号所关联的 IP 电话号码; 并根据所述 IP 电话机的 IP地址和端口号通过所述网卡向所述 IP电话机发送所述 IP电话号 码, 以使得所述 IP电话机利用所述 IP电话号码执行登录操作。
在第六方面的第一种可能的实现方式中, 所述通信客户端, 还用于确定 所述邻近发现协议消息包括表示所述 IP电话机支持关联登录的信息, 所述表 示所述 IP电话机支持关联登录的信息, 具体用于表示所述 IP电话机支持利 用已登录的通信客户端的通信账号所关联的 IP电话号码执行登录操作。
结合第六方面或第六方面的第一种可能的实现方式, 在第二种可能的实 现方式中,
所述通信客户端, 还用于通过所述网卡向所述 IP电话机发送表示所述通 信客户端已登录的信息以及所述通信终端的 IP地址和所述通信客户端的端口 号, 并通过所述网卡接收所述 IP电话机在确定所述通信客户端已登录时根据 所述通信终端的 IP地址和所述通信客户端的端口号发送的登录申请请求。
结合第六方面的第二种可能的实现方式, 在第三种可能的实现方式中, 所述通信客户端用于通过所述网卡向所述 IP电话机发送表示所述通信客 户端已登录的信息以及所述通信终端的 IP地址和所述通信客户端的端口号, 具体包括: 所述通信客户端, 用于通过所述网卡向所述 IP电话机发送所述邻 近发现协议消息的响应消息, 所述响应消息包括表示所述通信客户端已登录 的信息以及所述通信终端的 IP地址和所述通信客户端的端口号; 或者, 所述 通信客户端, 用于通过所述网卡向所述 IP电话机发送所述邻近发现协议消息 的响应消息, 所述响应消息包括所述通信终端的 IP地址和所述通信客户端的 端口号, 并用于才艮据所述 IP电话机的 IP地址和端口号通过所述网卡向所述 IP电话机发送表示所述通信客户端已登录的信息。
结合第六方面或第六方面的第一种至第三种可能的实现方式, 在第四种 可能的实现方式中,
所述网卡驱动, 具体用于在根据所述邻近发现协议消息的目的地址确定 所述邻近发现协议消息为链路层发现协议 LLDP消息时, 将所述邻近发现协议 消息上报给所述操作系统。
结合第六方面或第六方面的第一种至第四种可能的实现方式, 在第五种 可能的实现方式中,
所述通信客户端, 还用于在检测到用于指示注销所述通信账号的用户操 作时注销所述通信账号, 并指示所述 IP电话机注销所述 IP电话号码。 第七方面, 提供了一种 IP电话机, 所述 IP电话机包括: 处理器、 发送 器、 接收器、 存储器和总线;
其中, 处理器、 发送器、 接收器、 存储器之间通过总线完成相互间的通 信;
所述存储器, 用于存放程序; 其中, 所述程序包括检测单元和登录单元; 所述处理器, 用于执行所述存储器存放的所述程序;
所述检测单元,用于检测所述 IP电话机的以太网口是否与个人计算机 PC 相连; 的通信客户端发送数据链路层的邻近发现协议消息, 以便于所述 PC在确定所 述 PC上运行通信客户端时将所述邻近发现协议消息传输至所述通信客户端, 所述邻近发现协议消息包括所述 IP电话机的 IP地址和端口号; 所述邻近发 现协议消息具体可以为链路层发现协议 LLDP消息。
所述接收器, 用于接收所述通信客户端在确定自身已利用通信账号登录 至通信服务器时, 根据所述 IP电话机的 IP地址和端口号发送的所述通信账 号所关联的 IP电话号码;
所述登录单元, 用于利用所述接收器接收的 IP电话号码执行登录操作。 在第七方面的第一种可能的实现方式中, 所述发送器发送的所述邻近发 现协议消息包括表示所述 IP电话机支持关联登录的信息, 以便于所述通信客 户端根据所述邻近发现协议消息确定所述 IP电话机支持关联登录时向所述 IP 电话机发送所述 IP电话号码, 其中, 所述表示所述 IP电话机支持关联登录 的信息具体用于表示所述 IP电话机支持利用已登录的通信客户端的通信账号 所关联的 IP电话号码执行登录操作。
结合第七方面或第七方面的第一种可能的实现方式, 在第二种可能的实 现方式中, 所述程序还包括确定单元; 所述接收器, 还用于接收所述通信客 户端发送的表示所述通信客户端已登录的信息以及所述通信客户端所在的个 人计算机 PC的 IP地址和所述通信客户端的端口号; 所述确定单元, 用于根 据所述表示所述通信客户端已登录的信息确定所述通信客户端已登录; 所述 发送器, 还用于根据所述 PC的 IP地址和所述通信客户端的端口号向所述通 信客户端发送登录申请请求。
结合第七方面的第一种可能的实现方式, 在第三种可能的实现方式中, 所述接收器, 用于接收所述通信客户端发送的表示所述通信客户端已登 录的信息以及所述通信客户端所在的个人计算机 PC的 IP地址和所述通信客 户端的端口号, 具体包括:
所述接收器, 用于接收所述通信客户端发送的所述邻近发现协议消息的 响应消息, 所述响应消息包括表示所述通信客户端已登录的信息以及所述 PC 的 IP地址和所述通信客户端的端口号; 或者, 所述接收器, 用于接收所述通信客户端发送的所述邻近发现协议消息的 响应消息, 所述响应消息包括所述 PC的 IP地址和所述通信客户端的端口号, 并用于接收所述通信客户端根据所述 IP电话机的 IP地址和端口号发送的表 示所述通信客户端已登录的信息。
结合第七方面或第七方面的第一种至第三种任一可能的实现方式, 在第 四种可能的实现方式中,
所述接收器, 还用于接收所述通信客户端发送的注销指示;
所述程序还包括注销单元, 用于当所述接收器接收到所述通信客户端发 送的注销指示时, 注销所述 IP电话号码。 第八方面, 提供了一种计算机程序产品, 所述计算机程序产品包括计算 机程序代码, 当所述计算机程序代码被一个计算机执行的时候, 所述计算机 程序代码可以使得所述计算机执行第一方面或第一方面的第一种至第六种任 一可能的实现方式的步骤。
第九方面, 提供了一种计算机程序产品, 所述计算机程序产品包括计算 机程序代码, 当所述计算机程序代码被一个计算机执行的时候, 所述计算机 程序代码可以使得所述计算机执行第二方面或第二方面的第一种至第七种任 一可能的实现方式的步骤。
第十方面, 提供了一种计算机可读存储介质, 所述计算机可读存储介质 存储计算机程序代码, 当所述计算机程序代码被一个计算机执行的时候, 所 述计算机程序代码可以使得所述计算机执行第一方面或第一方面的第一种至 第六种任一可能的实现方式的步骤。
第十一方面, 提供了一种计算机可读存储介质, 所述计算机可读存储介 质存储计算机程序代码, 当所述计算机程序代码被一个计算机执行的时候, 所述计算机程序代码可以使得所述计算机执行第二方面或第二方面的第一种 至第七种任一可能的实现方式的步骤。 根据本发明实施例, 通信客户端接收相连的 IP电话机发送的数据链路层 的邻近发现协议消息后, 在已利用通信账号登录至通信服务器时, 向所述通 信服务器获取所述通信账号所关联的 IP电话号码, 并向所述 IP电话机发送 所述 IP电话号码,以使得所述 IP电话机利用所述 IP电话号码执行登录操作, 从而解决了现有技术中在登录通信账号和 IP电话号码时需分别采用手动输入 方式登录所导致的用户操作比较繁瑣的问题。
附图说明
为了更清楚地说明本发明实施例的技术方案, 下面将对实施例或现有技 术描述中所需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图 仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造 性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1是本发明实施例的通信系统架构示意图;
图 2是本发明实施例 1提供的方法流程示意图;
图 3是本发明实施例 1的示例实施方式 A的方法流程示意图;
图 4是本发明实施例 1的示例实施方式 B的方法流程示意图;
图 5是本发明实施例 1的一种可选实施方式的方法流程示意图; 图 6-图 8是本发明实施例 2提供的通信装置的装置结构示意图; 图 9-图 11是本发明实施例 3提供的 IP电话机的装置结构示意图; 图 12是本发明实施例 4提供的通信终端的结构示意图;
图 13是本发明实施例 5提供的 IP电话机的另一种装置结构示意图; 图 14是本发明实施例 6提供的通信系统结构示意图。
具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是 全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创 造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
图 1 为本发明实施例提供的一种通信系统架构示意图, 该通信系统包括 通信客户端 110、 IP电话机 120、 通信服务器 130、 LAN交换机(LAN swi tch ) 140 , 其中, 通信客户端 110运行在个人计算机( PC, Persona l computer ) 上, 所述通信客户端 110 具体可以是统一通信客户端、 即时消息客户端、 软 电话客户端等。
如图 1所示, IP电话机 120具有两个以太网口 (以太网口后续筒称 LAN 口;),如图 1中的 LAN1和 LAN2。通信客户端 110所在的 PC具有一个 LAN口(如 图中的 LAN3) , 该 LAN口位于该 PC的网卡上。
IP电话机 120的其中一个 LAN口 (如图中的 LAN2 )与通信客户端 110所 在的 PC的 LAN口通过以太网线相连, IP电话机 120的另一 LAN口(如图中的 LAN1 )与 LAN交换机 140相连, 以通过该 LAN交换机 140连接到通信服务器 130。
其中, IP电话机 120的两个 LAN口组成一个本地交换网络, 当 IP电话机 120通过 LAN1口接收到 LAN交换机 140发送的目的地址不是该 IP电话机的地 址的数据包时,将该数据包通过 LAN2口发送给该 PC;当该 IP电话机通过 LAN2 口接收到 PC发送的目的地址不是该 IP电话机的地址的数据包时, 将该数据 包通过 LAN1 口发送给该 LAN交换机 140。 在该通信系统架构示意图中, 通信 客户端 110通过 IP 电话机 120的两个 LAN口所组成的本地交换网络连接到 LAN交换机 140 , 从而通过该 LAN交换机 140连接到通信服务器 130。
在本发明实施例中, IP电话机 120在检测到所述 IP电话机 120的 LAN口 与 PC相连时, 向该 PC发送数据链路层的邻近发现协议消息, 该邻近发现协 议消息包括 IP电话机 120的 IP地址和端口号, 该 PC将接收的邻近发现协议 消息传输至该 PC上运行的通信客户端 110 , 该通信客户端 110接收到该邻近 发现协议消息后, 确定自身已利用通信账号登录至通信服务器 130 时, 向通 信服务器 130获取该通信账号所关联的 IP电话号码, 并根据该 IP电话机的 IP地址和端口号向该 IP电话机发送该 IP电话号码, IP电话机 120利用接收 的 IP 电话号码执行登录操作, 从而解决了现有技术中在登录通信账号和 IP 电话号码时需分别采用手动输入方式登录所导致的用户操作比较繁瑣的问 题。
图 2是本发明实施例 1提供的实现 IP电话号码登录的方法流程示意图。 步骤 210: IP电话机在检测到所述 IP电话机的 LAN口与个人计算机 PC 相连时向所述 PC发送数据链路层的邻近发现协议消息, 以便于所述 PC在确 定所述 PC上运行通信客户端时将所述邻近发现协议消息传输至所述通信客户 端, 所述邻近发现协议消息包括所述 IP电话机的 IP地址和端口号;
所述 PC上的网卡接收到所述邻近发现协议消息后, 所述网卡的网卡驱动 在确定所述网卡接收到的为邻近发现协议消息后将所述邻近发现协议消息上 报给所述 PC上的操作系统, 所述操作系统在确定所述 PC上的通信客户端已 运行时将所述邻近发现协议消息传输至所述通信客户端。
其中, 所述网卡接收到 IP电话机发送的数据后, 发送中断给所述 PC的 处理器, 所述处理器根据中断中包括的中断号查找所述操作系统中的中断向 量表, 以获得安装所述网卡的网卡驱动时在所述操作系统中注册的中断程序 处理地址, 并根据该中断程序处理地址调用网卡驱动网卡驱动; 所述网卡驱 动判断接收到的数据是否为邻近发现协议消息, 如果是, 则将所述邻近发现 协议消息上报给所述操作系统; 所述操作系统根据所述通信客户端在开始运 行时注册到所述操作系统的注册信息确定所述通信客户端已经运行时, 通过 所述注册信息中的回调地址将所述邻近发现协议消息传输至所述通信客户 端。
所述数据链路层的邻近发现协议消息, 具体可以是下述消息之一: LLDP ( Link Layer Di scovery Protocol , 链路层发现协议) 消息、 CDP (Ci sco Di scovery Protocol, 思科发现协议)消息, LLTD ( Microsof t' s Link Layer Topology Di scovery, 微软链路层拓朴发现协议)消息。 如果所述邻近发现协议消息具体为 LLDP消息, 所述网卡驱动判断接收到 的数据是否为邻近发现协议消息具体包括: 根据接收到的数据的目的地址判 断所述消息是否为 LLDP消息, 如, 判断所述数据的目的地址是否为 LLDP的 广播 MAC (Media Access Cont rol ,介质访问控制)地址(如 01: 80: c2: 00: 00: Oe 或 01: 80: c2: 00: 00: 03或 01: 80: c2: 00: 00: 00 ) , 如果是, 则确定接收到的 为 LLDP消息。
步骤 220: 所述通信客户端确定自身已利用通信账号登录至通信服务器 时, 向所述通信服务器获取所述通信账号所关联的 IP电话号码;
所述邻近发现协议消息包括用于表明所述邻近发现协议消息的发送方为 IP 电话机的信息 (如设备类型信息) 。 所述通信客户端接收到邻近发现协议 消息后,可以根据其中的该信息识别出该邻近发现协议消息接收自 IP电话机, 并在识别出该邻近发现协议消息接收自 IP电话机时获取所述 IP电话号码。
具体地, 通信客户端向通信服务器发送关联号码获取请求, 并接收该通 信服务器返回的该通信账号所关联的 IP电话号码。
需要说明的是, 在步骤 220之前, 通信系统中为同一用户分配的该通信 账号和该 IP电话号码关联存储在通信服务器上。 该通信客户端利用该用户输 入的该通信账号登录到该通信服务器, 相应地, 在步骤 220 中通信客户端向 该通信服务器获取的该通信账号所关联的 IP电话号码即为该用户的 IP电话 号码。
优选地, 所述邻近发现协议消息还包括表示所述 IP电话机支持关联登录 的信息, 进一步的,所述通信客户端根据所述邻近发现协议消息确定所述 IP 电话机支持关联登录时, 向所述通信服务器获取所述 IP电话号码, 其中, IP 电话机支持关联登录指的是, 该 IP电话机支持利用已登录的通信客户端的通 信账号所关联的 IP电话号码执行登录操作。
该通信服务器具体可以是 SIP Server , 所述通信客户端通过 SIP协议与 该 SIP Server进行交互。 步骤 230: 通信客户端根据所述 IP电话机的 IP地址和端口号向所述 IP 电话机发送该 IP电话号码;
步骤 240: IP电话机利用接收的 IP电话号码执行登录操作。
需要说明的是, 所述 IP电话机利用该 IP电话号码登录的通信服务器和 步骤 220 中的通信服务器可以是同一个通信服务器, 也可以是不同的通信服 务器。
根据本发明实施例 1 , 通信客户端接收与所述通信客户端所在的 PC相连 的 IP电话机发送的数据链路层的邻近发现协议消息后, 在确定自身已利用通 信账号登录至通信服务器时, 向该 IP电话机发送该通信账号所关联的 IP电 话号码, IP电话机利用接收的 IP电话号码执行登录操作,从而解决了现有技 术中在登录通信账号和 IP电话号码时分别需通过手动输入方式登录所导致的 用户操作比较繁瑣的问题。
优选地, 在所述通信客户端接收到所述邻近发现协议消息之后, 以及步 骤 220之前, 还可以包括: 所述通信客户端确定是否检测到用于指示登录 IP 电话号码的用户操作 (如, 检测到用户点击通信客户端上的 "关联登录" 按 鈕的操作), 并在检测到所述用户操作时执行步骤 220-230 , 从而实现根据用 户当前的意愿实现 IP电话号码的登录。
优选地, 在步骤 240之后还可以包括, 通信客户端在检测到用于指示注 销所述通信账号的用户操作时 (如, 检测到用户点击 "退出登录" 按鈕或关 闭通信客户端的按 ¾时)注销所述通信账号, 并指示所述 IP电话机注销所述 IP电话号码。 IP电话机根据通信客户端的指示注销该 IP电话号码。 具体地, 通信客户端向所述通信服务器发送注销请求,以注销所述通信账号;并且向 IP 电话机发送注销指示, 以指示所述 IP电话机注销该 IP电话号码。 通过上述 方法实现 IP 电话号码的注销, 无需用户的额外操作, 方便快捷地保证了 IP 电话号码使用的安全性。
可选地, 所述通信客户端接收所述邻近发现协议消息之后还包括, 所述 通信客户端向所述 IP电话机发送所述 PC的 IP地址和所述通信客户端的端口 号, 并在确定自身已利用通信账号登录至通信服务器时向所述 IP电话机发送 表明所述通信客户端已登录的信息。 所述 IP电话机在根据接收的表明所述通 信客户端已登录的信息确定所述通信客户端已登录时, 根据所述 PC的 IP地 址和所述通信客户端的端口号向所述通信客户端发送登录申请请求。 所述通 信客户端在接收到所述 IP电话机发送的所述登录申请请求后, 执行步骤 220 中的所述通信服务器获取所述通信账号所关联的 IP电话号码的操作并执行步 骤 230。
具体地, 所述通信客户端可以通过如下两种方式向所述 IP电话机发送表 示所述通信客户端已登录的信息以及所述 PC的 IP地址和所述通信客户端的 端口号。
在一种可选实现方式中: 所述通信客户端收到所述邻近发现协议消息后, 向所述 IP电话机发送所述邻近发现协议消息的响应消息, 在所述响应消息中 包括所述 PC的 IP地址和所述通信客户端的端口号。 在已利用通信账号登录 至通信服务器时, 根据所述 IP电话机的 IP地址和端口号发送表示所述通信 客户端已登录的信息, 具体地, 可以是根据所述 IP电话机的 IP地址和端口 号向所述 IP 电话机发送包括表示所述通信客户端已登录的信息的 TCP (Transmi ss ion Control Protocol,传输控制协议)消息或 UDP ( User Datagram Protocol, 用户数据包协议) 消息。
在另一种可选实现方式中: 如果所述通信客户端收到所述邻近发现协议 消息时已利用通信账号登录至通信服务器, 则在所述响应消息中包括表示所 述通信客户端已登录的信息以及所述 PC的 IP地址和所述通信客户端的端口 号; 如果所述通信客户端收到所述邻近发现协议消息时还没有利用通信账号 登录至通信服务器, 则后续在已利用通信账号登录至通信服务器时, 根据所 述 IP电话机的 IP地址和端口号发送表示所述通信客户端已登录的信息, 具 体地, 可以是根据所述 IP电话机的 IP地址和端口号向所述 IP电话机发送包 括表示所述通信客户端已登录的信息的 TCP消息或 UDP消息。 需要说明的是, 如果所述通信客户端收到所述邻近发现协议消息时还没有利用通信账号登录 至通信服务器, 则可以在该响应消息中包括表示所述通信客户端未登录的信 息。
在上述两种可选实现方式中, 后续如果所述通信客户端在检测到用户点 击 "退出登录" 按¾时指示所述 IP电话机注销所述 IP电话号码, 则在所述 通信客户端后续利用用户输入的该通信账号或其他通信账号登录至通信服务 器时, 再次根据所述 IP电话机的 IP地址和端口号向所述 IP电话机发送表示 所述通信客户端已登录的信息, 并在收到所述 IP电话机在确定所述通信客户 端已登录时发送的新的登录申请请求时, 向所述通信服务器获取当前登录的 通信账号所关联的 IP电话号码并发送给所述 IP电话机。
所述 IP电话机收到所述响应消息后, 还可以判断所述响应消息是否为通 过与所述通信客户端所在 PC连接的 LAN口接收的, 并在判断为是时根据所述 响应消息中包括的所述 PC的 IP地址和所述通信客户端的端口号发送所述登 录中请请求。
优选地, 所述 IP电话机在根据接收的表明所述通信客户端已登录的信息 确定所述通信客户端已登录之后, 以及发送所述登录申请请求之前, 还可以 包括: 确定是否检测到用于指示登录 IP电话号码的用户操作(如, 检测用户 在 IP电话机上按 "关联登录" 的按鈕的操作) , 并在检测到所述用户操作时 发送所述登录申请请求。
需要说明的是, 所述通信客户端在检测到用户点击用于关闭通信客户端 的按 ¾时,可以向所述 IP电话机发送用于表示所述通信客户端已关闭的信息 , 所述 IP电话机确定所述通信客户端已关闭后, 重新执行步骤 210。
下面分别结合图 3和图 4说明本发明实施例 1的示例实施方式 A和示例 实施方式 B。
示例实施方式 A和示例实施方式 B的应用场景示例如下: 用户同时拥有一个通信账号(示例: a¾bc. com )和一个 IP电话号码 (示 例: 6000 ) , 并且该通信账号和 IP电话号码关联存储在通信服务器 (如 SIP Server )上。 IP电话机和 PC机通过 LAN口连接(如, 如图 1所示, PC的 LAN3 口与 IP电话机的 LAN2口相连) 。
下面结合图 3说明本发明实施例 1的示例实施方式 。
步骤 301-302: 运行在 PC上的通信客户端检测到登录操作指示后利用用 户输入的通信账号 aSlabc. com登录到通信服务器。
具体地, 通信客户端检测到用户点击 "登录" 按鈕的操作后, 获取用户 输入的通信账号和密码, 并向通信服务器发送包括该通信账号和密码的登录 请求, 以利用该通信账号登录到该通信服务器。
步骤 303: IP电话机在检测到所述 IP电话机的以太网口与 PC相连时, 向所述 PC上运行的通信客户端发送 LLDP消息,所述 LLDP消息包括用于表明 该 IP电话机支持关联登录的信息, 并包括该 IP电话机的 IP地址和端口号。
具体地, 可以通过在 LLDP消息中是否包括设定字段来表明该 IP电话机 是否支持关联登录, 即 LLDP消息中包括该设定字段则表明该 IP电话机支持 关联登录; 具体地, 还可以通过在 LLDP消息中包括的该设定字段的不同取值 来表明该 IP电话机是否支持关联登录, 如, 如果该设定字段的取值为 1则表 明该 IP电话机支持关联登录, 如果该设定字段的取值为 0则表明该 IP电话 机不支持关联登录。
具体地, 可以在 IEEE802. lab 标准 (IEEE s tandard 802. 1AB-2009 ) 定 义的 LLDP以太网帧格式中自定义相应字段以携带用于表示该 IP电话机支持 关联登录的信息、 该 IP电话机的 IP地址和端口号。
在 LLDP以太网帧格式中包括厂商自定义的 TLV( Type类型, Length长度, Value 值) 结构, 如表 1 所示, 其中, Value 部分包括厂商唯一标识 Organizat ional ly unique ident if ier (OUI) 、 厂商 自 定义子类型 Organizat ional ly def ined subtype 和厂 商 自 定 义信 息 字 符 串 Organizat ional ly def ined informat ion s tr ing。
Figure imgf000024_0001
表 1 电话机支持关联登录的信息、 IP电话机的 IP地址和端口号, 如表 2所示:
Figure imgf000024_0002
表 2
其中, 该 LLDP消息中包括 Log inwi thCl ient字段, 表示该 IP电话机支持关联登 录; 该 LLDP消息中的 ipaddd ress: port字段己录 ό 是该 IP电话机 IP地址和端 口号。
通信客户端在接收到该 LLDP消息后, 根据该 LLDP消息判断该 IP电话机 是否支持关联登录, 如, 判断该 LLDP消息是否包括 Loginwi thCl ient字段, 如果是, 则确定该 IP电话机支持关联登录, 则执行后续步骤, 否则, 不执行 后续步骤。
需要说明的是, 该通信客户端所在 PC的网卡通过与所述 IP电话机连接 的 LAN口接收到该 LLDP消息, 该网卡的网卡驱动在确定该 LLDP消息的目的 地址为 LLDP的广播 MAC地址(如 01: 80: c2: 00: 00: Oe或 01: 80: c2: 00: 00: 03 或 01: 80: c2: 00: 00: 00 ) 时, 将所述 LLDP消息上 4艮给所述 PC上的操作系统, 所述操作系统在确定所述 PC上的通信客户端已运行时将所述 LLDP消息传输 至所述通信客户端。
步骤 304: 通信客户端向 IP电话机返回 LLDP响应, 所述 LLDP响应包括 该通信客户端所在 PC的 IP地址和所述通信客户端的端口号;
该端口号具体为该通信客户端的监听端口号。 端所在 PC的 IP地址和所述通信客户端的端口号, 如表 3所示:
Figure imgf000025_0001
表 3
通信客户端与 IP电话机根据双方的 IP地址和端口号建立基于 IP的套接 字 Socket通信连接。
优选地, 为了保证安全性, IP电话机判断该 LLDP响应是否为通过与 PC 连接的 LAN口 (如图 1的 LAN2 )接收的, 如果是, 则执行后续步骤; 如果不 是, 则丟弃该 LLDP响应, 并不再执行后续步骤, 以防止其他设备冒充该通信 客户端通过该 IP电话机的其他 LAN口(如图 1的 LAN1)向该 IP电话机发送 LLDP 消息以完成后续通信过程。
需要说明的是, IP电话机在检测到与 PC通过 LAN口连接后, 可以通过与 PC连接的 LAN口定期向该 PC发送 LLDP消息(如,每分钟发送一个 LLDP消息)。 在步骤 301之前, 该 PC也会接收到 IP电话机发送的 LLDP消息。 如果 PC接 收到 LLDP消息时通信客户端并没有运行, 则该 PC接收到的 LLDP消息无法上 报到该通信客户端。 如果 PC收到 LLDP消息时, 该通信客户端已运行(不管 是否已通过通信账号登录至通信服务器) , 该 PC接收到的 LLDP消息会上报 到该通信客户端,通信客户端收到该 LLDP消息后,向该 IP电话机发送该 LLDP 消息的响应消息。
步骤 305 : 通信客户端向通信服务器发送关联号码获取请求;
需要说明的是, 步骤 304和步骤 305没有特定的先后顺序。 步骤 306: 通信服务器向通信客户端返回该通信账号关联的 IP电话号码 6000;
步骤 307: 通信客户端将接收的 IP电话号码发送给该 IP电话机; 具体地, 通过该 socket通信连接向 IP电话机发送该 IP电话号码; 步骤 308: IP 电话机向所述通信服务器发送登录请求, 所述登录请求包 括该 IP电话号码;
如果该 IP电话机已利用其他 IP电话号码(如 7000 )执行了登录操作且 尚未注销该 IP电话号码, 则可以注销该 IP电话号码后再执行步骤 308 ; 可选 地, 该 IP电话机也可以不注销该 IP电话号码, 而是选择一个空闲的线路执 行步骤 308以通过该空闲的线路利用获取的 IP电话号码进行登录。
步骤 309: 通信服务器向 IP电话机返回登录成功响应。
步骤 310: 所述通信客户端检测到注销操作指示;
具体地, 如, 检测到用户在通信客户端上点击 "退出" 按¾。
步骤 311 : 所述通信客户端指示 IP电话机注销 IP电话号码 6000;
具体地, 向 IP电话机发送注销指示, 以指示该 IP电话机注销该 IP电话 号码;
步骤 312: IP电话机向通信服务器发送注销请求,以注销该 IP电话号码; 步骤 313: 通信服务器向 IP电话机返回注销成功响应。
步骤 314: 通信客户端注销该通信账号;
需要说明的是, 步骤 314也可以在步骤 312之前执行, 或在步骤 312和 步骤 313之间执行。
可选地, IP 电话机可以在接收到注销成功响应后向通信客户端发送表明 已注销 IP电话号码的通知消息, 通信客户端在接收到该通知消息后注销该通 信账号。
下面结合图 4说明本发明实施例 1的示例实施方式8。
步骤 401-403: 同示例实施方式 A的步骤 301-303; 步骤 404: 通信客户端向 IP电话机返回 LLDP响应, 所述 LLDP响应包括 用于表示通信客户端已登录的信息以及该通信客户端所在 PC的 IP地址和所 述通信客户端的端口号, 该端口号具体为该通信客户端的监听端口号。 信客户端已登录的信息以及所述通信客户端所在 PC的 IP地址和所述通信客户 端的端口号, 如表 4所示:
Figure imgf000027_0001
表 4
其中, 该 LLDP响应中包括的 Cl ientLog ined字段表示该通信客户端已 登录; ipadddress: port字段记录的是所述通信客户端所在 PC的 IP地址和 所述通信客户端的端口号。
通信客户端与 IP 电话机根据双方的 IP地址和端口号建立基于 IP 的 Socket通信连接。
优选地, 为了保证安全性, IP电话机判断该 LLDP响应是否为通过与该 通信客户端所在 PC连接的 LAN口接收的, 如果是, 则执行后续步骤; 如果 不是, 则丟弃该 LLDP响应, 并不再执行后续步骤, 以防止其他设备冒充通 信客户端通过该 IP电话机的其他 LAN口向该 IP电话机发送 LLDP消息以完 成后续通信过程。
需要说明的是, IP电话机在检测到与 PC通过 LAN口连接后, 可以通过 与 PC连接的 LAN口定期向该 PC发送 LLDP消息(如, 每分钟发送一个 LLDP 消息) 。 在步骤 401之前, 该 PC也会接收到 IP电话机发送的 LLDP消息。 如果 PC接收到 LLDP消息时通信客户端并没有运行, 则该 PC接收到的 LLDP 消息无法上报到该通信客户端。 如果 PC收到 LLDP消息时, 该通信客户端已运行, 该 PC接收到的 LLDP 消息会上报到该通信客户端。 通信客户端收到该 LLDP消息后, 向所述 IP电 话机发送所述 LLDP消息的响应消息。
在示例实施方式 B中, 假定通信客户端收到该 LLDP消息时已利用通信 账号登录至通信服务器,该通信客户端在向该 IP电话机发送的该 LLDP消息 的响应消息中, 包括表示所述通信客户端已登录的信息。 可替换地, 如果通 信客户端收到该 LLDP消息时还没有利用通信账号登录至通信服务器, 则在 向该 IP电话机发送的该 LLDP消息的响应消息中,包括表示所述通信客户端 未登录的信息, 并后续在已利用通信账号登录至通信服务器时, 根据所述 IP电话机的 IP地址和端口号向所述 IP电话机发送表示所述通信客户端已 登录的信息。
步骤 405: IP电话机向通信客户端发送登录申请请求;
具体地, IP电话机判断该 LLDP响应是否包括用于表示通信客户端已登录 的信息, 如果包括, 则根据所述 PC的 IP地址和所述通信客户端的端口号向 该通信客户端发送登录申请请求。
步骤 406: 通信客户端向 IP电话机发送登录申请响应;
步骤 407: 通信客户端接收到 IP电话机发送的登录申请请求后向通信服 务器发送关联号码获取请求;
步骤 408-416 , 同示例实施方式 A的步骤 306-314。
需要说明的是, 通信客户端也可以先不执行步骤 406 , 而是在步骤 408中 接收到通信服务器返回的 IP电话号码后再向 IP电话机发送携带该 IP电话号 码的登录申请响应。
可选地, 如果所述通信客户端登录的通信服务器和所述 IP电话机登录的 通信服务器为同一个通信服务器, 为了保证号码携带的安全性, 所述 IP电话 机还可以在登录前接收所述通信客户端发送的接收自所述通信服务器的第一 鉴权信息, 并在执行登录操作时向所述通信服务器发送携带所述 IP电话号码 和所述第一鉴权信息的登录请求, 以使得所述通信服务器接收到所述登录请 求后利用所述第一鉴权信息对所述 I P电话机进行鉴权。 具体地, 在步骤 220 中, 通信客户端从通信服务器接收该通信账号关联的 IP电话号码和第一鉴权 信息(如通信服务器生成的随机数)并在步骤 230中将该 IP电话号码和第一 鉴权信息发送给 IP电话机, IP电话机在步骤 240中利用接收的 IP电话号码 和第一鉴权信息执行登录操作。
如果所述通信客户端登录的通信服务器和所述 IP电话机登录的通信服务 器为同一个通信服务器, 所述 IP电话机还可以在登录前通过通信客户端向通 信服务器发送第二鉴权信息(如 IP电话机生成的随机数), 并在后续登录时, 利用该第二鉴权信息对登录信息 (如, 所述 IP电话号码, 或所述 IP电话号 码和所述第一鉴权信息)进行加密, 并将加密后的登录信息携带在登录请求 中发送给该通信服务器, 该通信服务器接收到所述登录请求后, 利用之前接 收的第二鉴权信息对所述登录请求中包括的加密的登录信息进行解密。
所述通信客户端还可以在将 IP电话号码发送给 IP电话机之前将第三鉴 权信息(如通信客户端生成的随机数)发送给 IP电话机, 并后续将发送给 IP 电话机的数据(如 IP电话号码、 IP电话号码和第一鉴权信息)利用第三鉴权 信息进行加密后发送给 IP电话机, IP电话机接收该加密的数据后, 利用之前 接收的第三鉴权信息对该加密的数据进行解密并利用解密得到的 IP电话号码 执行登录操作。
通过使用上述第一鉴权信息、 第二鉴权信息和第三鉴权信息中的一个或 多个的组合, 即便其他恶意用户截取了部分信息, 也不容易伪造 IP电话机的 登录信息以进行后续通信过程, 从而保证了通信的安全性。
优选地, 通信客户端和通信服务器之间传输的数据还可以利用该通信客 户端对应的通信账号及其密码进行加密, 从而保证通信客户端和通信服务器 之间的通信的安全性。
下面结合图 5说明本发明实施例 1的一种可选实施方式。 应用场景同本发明实施例 1的示例实施方式 A和 B的应用场景; 步骤 501-504: 同示例实施方式 B的步骤 401-404;
步骤 505: IP 电话机向通信客户端发送登录申请请求, 所述登录申请请 求包括 IP电话机生成的随机数(后续称为随机数 A ) ;
具体地, IP电话机判断在步骤 504中接收的 LLDP响应是否包括用于表示 通信客户端已登录的信息, 如果包括, 则向通信客户端发送登录申请请求。
步骤 506: 通信客户端向 IP电话机发送登录申请响应;
所述登录申请响应包括通信客户端生成的随机数(后续称为随机数 B ) ; 步骤 507: 通信客户端接收到 IP电话机发送的登录申请请求后向通信服 务器发送关联号码获取请求;
所述关联号码获取请求中包括接收自 IP电话机的随机数 A, 该随机数 A 可以采用该通信账号及其对应的密码进行加密;
步骤 508: 通信服务器向通信客户端返回该通信账号关联的 IP电话号码 和通信服务器生成的随机数(后续称为随机数 C ) ;
通信服务器收到随机数 A以后, 如果随机数 A是利用该通信账号和密码 加密的, 则利用本地存储的该通信客户端登录的通信账号和密码进行解密得 到随机数 。
优选地, 通信服务器利用该通信账号和密码对 IP电话号码和随机数 C进 行加密后发送给通信客户端。
步骤 509: 通信客户端利用随机数 B对接收自通信服务器的 IP电话号码 和随机数 C进行加密并发送给 IP电话机。
如果该 IP电话号码和随机数 C是利用该通信账号和密码进行加密的, 则 通信客户端先利用对应的通信账号和密码进行解密得到该 IP电话号码和随机 数 C, 再利用随机数 B对接收自通信服务器的 IP电话号码和随机数 C进行加 密并发送给 IP电话机。
步骤 510: IP电话机接收到利用随机数 B加密的 IP电话号码和随机数 C 后利用步骤 506接收的随机数 B解密得到 IP电话号码和随机数 C。
步骤 511 : IP 电话机向通信服务器发送登录请求, 所述登录请求包括利 用随机数 A加密的 IP电话号码和随机数 C;
步骤 512: 通信服务器收到登录请求后, 利用随机数 A解密得到 IP电话 号码和随机数 C,并验证该登录请求中携带的随机数 C和在步骤 508中发送的 随机数 C是否匹配, 如果匹配则执行后续步骤。
步骤 513-518 : 同步骤 411-416。
通过上述随机数 A、 随机数 B和随机数 C的使用, 如果其他恶意用户截取 了部分信息, 则不容易伪造 IP电话机的登录信息, 从而在一定程度上保证了 通信的安全性。
对于前述的各方法实施例, 为了筒单描述, 故将其都表述为一系列的动 作组合, 但是本领域技术人员应该知悉, 本发明并不受所描述的动作顺序的 限制, 因为依据本发明, 某些步骤可以采用其他顺序或者同时进行。 其次, 本领域技术人员也应该知悉, 说明书中所描述的实施例均属于优选实施例, 所涉及的动作和模块并不一定是本发明所必须的。
根据本发明实施例 1 , 本发明实施例 2提出了一种通信装置 500。
如图 6所示, 所述通信装置包括: 接收单元 501、 登录单元 502、 获取单 元 503和发送单元 504;
所述接收单元 501 , 用于接收 IP电话机发送的数据链路层的邻近发现协 议消息, 所述邻近发现协议消息包括所述 IP电话机的 IP地址和端口号; 具体地, 所述接收单元 501用于通过所述通信装置所在的 PC的网卡接收 所述邻近发现协议消息, 其中, 所述网卡的网卡驱动在确定所述网卡接收到 的为邻近发现协议消息后将所述邻近发现协议消息上报给所述 PC上的操作系 统, 以便于所述操作系统将所述邻近发现协议消息传输至所述通信装置。 优 选地, 所述邻近发现协议消息具体为链路层发现协议 LLDP消息; 相应地, 所 述网卡的网卡驱动在确定所述网卡接收到的为邻近发现协议消息后将所述邻 近发现协议消息上 4艮给所述 PC上的操作系统, 具体包括: 所述网卡的网卡驱 动在根据所述网卡接收的所述邻近发现协议消息的目的地址确定所述邻近发 现协议消息为 LLDP消息时, 将所述邻近发现协议消息上 ^艮给所述 PC的操作 系统。
所述登录单元 502 , 用于利用通信账号登录至通信服务器;
所述获取单元 503 ,用于在所述接收单元 501接收到所述邻近发现协议消 息, 并且确定所述登录单元 502 已利用通信账号登录至通信服务器时, 向所 述通信服务器获取所述通信账号所关联的 IP电话号码, 并将所述 IP电话号 码传输至所述发送单元 504;
所述发送单元 504 , 用于从所述获取单元 503接收所述 IP电话号码, 并 根据所述 IP电话机的 IP地址和端口号向所述 IP电话机发送所述 IP电话号 码, 以使得所述 IP电话机利用所述 IP电话号码执行登录操作。
优选地, 如图 7所示, 所述通信装置还包括判断单元 505;
所述接收单元 501 ,还用于将所述邻近发现协议消息传输至所述判断单元
505;
所述判断单元 505 ,用于从所述接收单元 501接收所述邻近发现协议消息 , 判断所述邻近发现协议消息是否包括表示所述 IP 电话机支持关联登录的信 息, 并将判断结果传输至所述获取单元 503, 其中, 所述表示所述 IP电话机 支持关联登录的信息具体用于表示所述 IP电话机支持利用已登录的通信装置 的通信账号所关联的 IP电话号码执行登录操作;
所述获取单元 503, 具体用于从所述判断单元 505接收所述判断结果, 并 在所述判断结果为是时, 向所述通信服务器获取所述通信账号所关联的 IP电 话号码。
优选地, 所述发送单元 504 , 还可以用于向所述 IP电话机发送表示所述 通信装置已登录的信息以及所述通信装置所在的个人计算机 PC的的 IP地址 和所述通信装置的端口号; 相应地, 所述接收单元 501 , 还用于接收所述 IP 电话机在确定所述通信装置已登录时根据所述 PC的 IP地址和所述通信装置 的端口号发送的登录申请请求。
进一步优选地, 所述发送单元 504 , 用于向所述 IP电话机发送表示所述 通信装置已登录的信息以及所述 PC的 IP地址和所述通信装置的端口号, 具 体包括:
所述发送单元, 用于向所述 I P电话机发送所述邻近发现协议消息的响应 消息, 所述响应消息包括表示所述通信装置已登录的信息以及所述 PC 的 IP 地址和所述通信装置的端口号; 或者,
所述发送单元, 用于向所述 I P电话机发送所述邻近发现协议消息的响应 消息, 所述响应消息包括所述 PC的 IP地址和所述通信装置的端口号; 并用 于根据所述 IP电话机的 IP地址和端口号发送表示所述通信装置已登录的信 息。
优选地, 如图 8 所示, 所述通信装置还包括注销单元, 用于在检测到用 于指示注销所述通信账号的用户操作时注销所述通信账号, 并指示所述 IP电 话机注销所述 IP电话号码。 具体地, 通过所述发送单元 503向所述通信服务 器发送注销请求, 以注销所述通信账号; 通过所述发送单元 503向所述 IP电 话机发送注销指示以指示所述 IP电话机注销该 IP电话号码。
本发明实施例 2 中描述的功能单元可以用来实施上述实施例 1所述的方 法。
根据本发明实施例 1 , 本发明实施例 3提出了一种 IP电话机 600。
如图 9所示, 所述 IP电话机包括: 检测单元 601、 发送单元 602、 接收 单元 603和登录单元 604 ;
所述检测单元 601 , 用于检测所述 I P电话机的以太网口是否与个人计算 机 PC相连, 并将检测结果传输至所述发送单元 602 ;
所述发送单元 602 , 用于接收所述检测单元发送的检测结果, 并在所述检 测结果为相连时, 向所述 PC发送数据链路层的邻近发现协议消息, 以便于所 述 PC在确定所述 PC上运行通信客户端时将所述邻近发现协议消息传输至所 述通信客户端, 所述邻近发现协议消息包括所述 IP电话机的 IP地址和端口 号;
所述接收单元 603 ,用于接收所述通信客户端确定自身已利用通信账号登 录至通信服务器时, 根据所述 IP电话机的 IP地址和端口号发送的所述通信 账号所关联的 IP电话号码, 并将所述 IP电话号码传输至所述登录单元 604;
所述登录单元 604 , 用于从所述接收单元 603接收所述 IP电话号码, 并 利用所述 IP电话号码执行登录操作。 支持关联登录的信息, 以便于所述通信客户端根据所述邻近发现协议消息确 定所述 IP电话机支持关联登录时向所述 IP电话机发送所述 IP电话号码, 其 中, 所述表示所述 IP电话机支持关联登录的信息具体用于表示所述 IP电话 机支持利用已登录的通信客户端的通信账号所关联的 IP电话号码执行登录操 作。
如图 10所示, 优选地, 所述 IP电话机还包括确定单元 605 ;
所述接收单元 603 ,还用于接收所述通信客户端发送的表示所述通信客户 端已登录的信息以及所述 PC的 IP地址和所述通信客户端的端口号;
所述确定单元 605 ,用于根据所述表示所述通信客户端已登录的信息确定 所述通信客户端已登录, 并将确定结果传输至所述发送单元 602;
所述发送单元 602 , 还用于接收所述确定单元发送的确定结果, 并根据所 述 PC的 IP地址和所述通信客户端的端口号向所述通信客户端发送登录申请 请求。
进一步优选地, 所述接收单元 603 , 用于接收所述通信客户端发送的表示 所述通信客户端已登录的信息以及所述 PC的 IP地址和所述通信客户端的端 口号, 具体包括:
所述接收单元 603 ,用于接收所述通信客户端发送的所述邻近发现协议消 息的响应消息, 所述响应消息包括表示所述通信客户端已登录的信息以及所 述 PC的 I P地址和所述通信客户端的端口号; 或者,
所述接收单元 603,用于接收所述通信客户端发送的所述邻近发现协议消 息的响应消息, 所述响应消息包括所述 PC的 IP地址和所述通信客户端的端 口号; 并用于接收所述通信客户端根据所述 IP电话机的 IP地址和端口号发 送的表示所述通信客户端已登录的信息。
如图 11所示, 优选地, 所述 IP电话机还包括注销单元 606;
所述接收单元 603, 还用于接收所述通信客户端发送的注销指示, 并将所 述注销指示传输至所述注销单元 606;
所述注销单元 606, 用于从所述接收单元 603接收所述注销指示, 并注销 所述 IP电话号码。
本发明实施例 3中描述的功能单元可以用来实施上述实施例 1所述的方 法。
如图 12所示, 本发明实施例 4提供了一种通信终端 1000, 包括: 处理器 (processor) 1010、 网卡 1020、 存储器(memory) 1030和总线 1040。 其中, 处理器 1010、网卡 1020、存储器 1030之间通过总线 1040完成相互间的通信。
网卡 1020, 用于与网元通信, 如与 IP电话机、 通信服务器通信。
存储器 1030, 用于存放程序 1031, 具体地, 程序 1031可以包括程序代 码, 所述程序代码包括计算机操作指令。 存储器 1030可能包含高速 RAM存储 器, 也可能还包括非易失性存储器 (non-volatile memory ), 例如至少一个 磁盘存储器。
处理器 1010,用于执行所述存储器 1030中存放的程序 1031。处理器 1010 具体可以是一个中央处理器(CPU, central processing unit ), 是计算机核 心单元。
具体地, 网卡 1020, 用于接收 IP电话机发送的数据链路层的邻近发现协 议消息, 所述邻近发现协议消息包括所述 IP电话机的 IP地址和端口号; 所 述邻近发现协议消息具体可以为链路层发现协议 LLDP消息;
程序 1031包括:网卡驱动 1031-1、操作系统 1031-2和通信客户端 1031-3; 所述网卡驱动 1031-1 ,用于在确定所述网卡 1020接收到的为邻近发现协 议消息后将所述邻近发现协议消息上报给所述操作系统 1031-2;
所述操作系统 1031-2 ,用于在确定所述通信客户端 1031-3已运行时将所 述邻近发现协议消息传输至所述通信客户端 1031 - 3;
所述通信客户端 1031-3 , 用于确定自身已利用通信账号登录至通信服务 器时, 向所述通信服务器获取所述通信账号所关联的 IP电话号码; 并根据所 述 IP电话机的 IP地址和端口号通过所述网卡 1020向所述 IP电话机发送所 述 IP电话号码, 以使得所述 IP电话机利用所述 IP电话号码执行登录操作。
其中, 所述网卡 1020接收到 IP电话机发送的数据后, 发送中断给处理 器 1010 , 处理器 1010根据中断中包括的中断号查找操作系统 1031-2中的中 断向量表, 以获得安装所述网卡 1020的网卡驱动 1031-1 时在所述操作系统 1031-2 中注册的中断程序处理地址, 并才艮据该中断程序处理地址调用网卡驱 动网卡驱动 1031-1 ;所述网卡驱动 1031-1判断接收到的数据是否为邻近发现 协议消息, 如果是, 则将所述邻近发现协议消息上报给所述操作系统 1031-2; 所述操作系统 1031-2根据所述通信客户端 1031-3在开始运行时注册到所述 操作系统 1031-2的注册信息确定所述通信客户端 1031-3 已经运行时, 通过 所述注册信息中的回调地址将所述邻近发现协议消息传输至所述通信客户端 103 3。
所述数据链路层的邻近发现协议消息, 具体可以是下述消息之一: LLDP ( Link Layer Di scovery Protocol , 链路层发现协议) 消息、 CDP (Ci sco Di scovery Protoco l, 思科发现协议)消息, LLTD ( Microsof t' s Link Layer Topology Di scovery, 微软链路层拓朴发现协议)消息。
如果所述邻近发现协议消息具体为 LLDP消息, 所述网卡驱动 1031-1具 体用于, 在根据所述网卡接收的所述邻近发现协议消息的目的地址确定所述 邻近发现协议消息为 LLDP 消息时, 将所述邻近发现协议消息上 ^艮给所述 PC 的操作系统。 具体地, 判断所述邻近发现协议消息的目的地址是否为 LLDP的 广播 MAC (Med ia Acces s Cont rol ,介质访问控制)地址(如 01: 80: c2: 00: 00: 0e 或 01: 80: c2: 00: 00: 03或 01: 80: c2: 00: 00: 00 ) , 如果是, 则确定接收到的 为 LLDP消息。 所述通信客户端 1031-3 , 还可以用于确定所述邻近发现协议消息包括表 示所述 IP电话机支持关联登录的信息, 所述表示所述 IP电话机支持关联登 录的信息,具体用于表示所述 IP电话机支持利用已登录的通信客户端 1031-3 的通信账号所关联的 IP电话号码执行登录操作。
优选地, 所述通信客户端 1031-3 ,还可以用于通过所述网卡 1020向所述 IP 电话机发送表示所述通信客户端 1031-3 已登录的信息以及所述通信终端 1000的 IP地址和所述通信客户端 1031-3的端口号,并通过所述网卡 1020接 收所述 IP电话机在确定所述通信客户端 1031-3 已登录时才艮据所述通信终端 1000的 IP地址和所述通信客户端 1031-3的端口号发送的登录申请请求。
其中, 所述通信客户端 1031-3用于通过所述网卡 1020向所述 IP电话机 发送表示所述通信客户端 1031-3已登录的信息以及所述通信终端 1000的 IP 地址和所述通信客户端 1031-3的端口号,具体包括:所述通信客户端 1031-3 , 用于通过所述网卡 1020向所述 IP电话机发送所述邻近发现协议消息的响应 消息, 所述响应消息包括表示所述通信客户端 1031-3已登录的信息以及所述 通信终端 1000的 IP地址和所述通信客户端 1031-3的端口号; 或者, 所述通 信客户端 1031-3 , 用于通过所述网卡 1020向所述 IP电话机发送所述邻近发 现协议消息的响应消息, 所述响应消息包括所述通信终端 1000的 IP地址和 所述通信客户端 1031-3的端口号, 并用于根据所述 IP电话机的 IP地址和端 口号通过所述网卡 1020向所述 IP电话机发送表示所述通信客户端 1031-3已 登录的信息。 优选地, 所述通信客户端 1031-3, 还用于在检测到用于指示注销所述通 信账号的用户操作时注销所述通信账号, 并指示所述 IP 电话机注销所述 IP 电话号码。
需要说明的是, 在本发明实施例 4中, 所述通信客户端 1031-3通过所述 网卡 1020向所述 IP电话机发送数据 (如, 所述 IP电话号码、 表示所述通信 客户端 1031-3已登录的信息、 所述通信终端 1000的 IP地址和所述通信客户 端 1031-3的端口号、 等)具体可以为, 所述通信客户端 1031-3通过所述操 作系统 1031 -2调用所述网卡驱动 1031 - 1以通过所述网卡 1020发送所述数据。
本发明实施例 4 中描述的功能单元可以用来实施上述实施例 1所述的方 法。
如图 13所示, 本发明实施例 5提供了一种 IP电话机 2000, 包括: 处理器(processor) 2010、 发送器 ( transmitter ) 2020-1、 接收器 ( receiver )2020-2 、存储器 (memory) 2030和总线 2040。其中,处理器 2010、 发送器 2020-1、接收器 2020-2和存储器 2030之间通过总线 2040完成相互间 的通信。
发送器 2020-1, 接收器 2020-2, 用于与网元通信。
存储器 2030, 用于存放程序 2031, 具体地, 程序 2031可以包括程序代 码, 所述程序代码包括计算机操作指令。 存储器 2030可能包含高速 RAM存储 器, 也可能还包括非易失性存储器 (non-volatile memory ), 例如至少一个 磁盘存储器。
处理器 2010,用于执行所述存储器 2030中存放的程序 2031。处理器 2010 具体可以是一个中央处理器(CPU, central processing unit ), 是计算机核 心单元。
具体地, 程序 2031可以包括: 检测单元 2031-1、 登录单元 2031-2; 所述检测单元 2031-1,用于检测所述 IP电话机的以太网口是否与个人计 算机 PC相连; 所述发送器 2020-1 ,用于在所述检测单元 2031-1的检测结果为相连时向 所述 PC上运行的通信客户端发送数据链路层的邻近发现协议消息, 以便于所 述 PC在确定所述 PC上运行通信客户端时将所述邻近发现协议消息传输至所 述通信客户端, 所述邻近发现协议消息包括所述 IP电话机的 IP地址和端口 号; 所述邻近发现协议消息具体可以为链路层发现协议 LLDP消息。
所述接收器 2020-2 , 用于接收所述通信客户端在确定自身已利用通信账 号登录至通信服务器时, 根据所述 IP电话机的 IP地址和端口号发送的所述 通信账号所关联的 IP电话号码;
所述登录单元 2031-2 , 用于利用所述接收器 2020-2接收的 IP电话号码 执行登录操作。
优选地, 所述发送器 2020-1发送的所述邻近发现协议消息包括表示所述 IP 电话机支持关联登录的信息, 以便于所述通信客户端根据所述邻近发现协 议消息确定所述 IP电话机支持关联登录时向所述 IP电话机发送所述 IP电话 号码, 其中, 所述表示所述 IP电话机支持关联登录的信息具体用于表示所述 IP电话机支持利用已登录的通信客户端的通信账号所关联的 IP电话号码执行 登录操作。
优选地, 所述程序 2031还包括确定单元; 所述接收器 2020-2 , 还用于接 收所述通信客户端发送的表示所述通信客户端已登录的信息以及所述通信客 户端所在的个人计算机 PC的 IP地址和所述通信客户端的端口号; 所述确定 单元, 用于根据所述表示所述通信客户端已登录的信息确定所述通信客户端 已登录; 所述发送器 2020-1 , 还用于根据所述 PC的 IP地址和所述通信客户 端的端口号向所述通信客户端发送登录申请请求。
进一步优选地, 所述接收器 2020-2 , 用于接收所述通信客户端发送的表 示所述通信客户端已登录的信息以及所述通信客户端所在的个人计算机 PC的 IP地址和所述通信客户端的端口号, 具体包括: 所述接收器 2020-2 , 用于接 收所述通信客户端发送的所述邻近发现协议消息的响应消息, 所述响应消息 包括表示所述通信客户端已登录的信息以及所述 PC的 IP地址和所述通信客 户端的端口号; 或者, 用于接收所述通信客户端发送的所述邻近发现协议消 息的响应消息, 所述响应消息包括所述 PC的 IP地址和所述通信客户端的端 口号, 并用于接收所述通信客户端根据所述 IP电话机的 IP地址和端口号发 送的表示所述通信客户端已登录的信息。
优选地, 所述接收器 2020-2 , 还用于接收所述通信客户端发送的注销指 示; 所述程序 2031还包括注销单元, 用于当所述接收器 2020-2接收到所述 通信客户端发送的注销指示时, 注销所述 IP电话号码。
程序 2031中各单元的具体实现参见本发明实施例 3中的相应单元, 在此 不赘述。
本发明实施例 5 中描述的功能单元可以用来实施上述实施例 1所述的方 法。
根据本发明实施例 1至 5 , 本发明实施例 6提出了一种通信系统 4000。 如图 14所示, 所述通信系统包括: 通信客户端 4010、 IP电话机 4020和 通信月良务器 4030 , 其中, 所述 IP电话机 4020通过以太网口与所述通信客户 端 4010所在的个人计算机 PC相连;
所述 IP电话机 4020 ,用于在检测到所述 IP电话机 4020的以太网口与所 述通信客户端 4010相连时, 向所述 PC发送数据链路层的邻近发现协议消息, 以便于所述 PC在确定所述通信客户端已运行时将所述邻近发现协议消息传输 至所述通信客户端, 所述邻近发现协议消息包括所述 IP电话机 4020的 IP地 址和端口号; 接收所述通信客户端 4010确定自身已利用通信账号登录至通信 服务器 4030时, 根据所述 IP电话机 4020的 IP地址和端口号发送的所述通 信账号所关联的 IP电话号码; 并利用所述 IP电话号码执行登录操作。 所述 邻近发现协议消息具体可以为链路层发现协议 LLDP消息。
所述通信客户端 4010 , 用于接收 IP电话机 4020发送的所述邻近发现协 议消息, 确定自身已利用通信账号登录至通信服务器 4030时, 向所述通信服 务器 4030获取所述通信账号所关联的 IP电话号码; 并用于根据所述 IP电话 机 4020的 IP地址和端口号向所述 IP电话机 4020发送所述 IP电话号码; 所述通信服务器 4030 ,用于向所述通信客户端 4010发送所述通信账号所 关联的 IP电话号码。
优选地, 所述通信客户端 4010 , 还用于在接收到所述邻近发现协议消息 时确定所述邻近发现协议消息包括表示所述 IP电话机 4020支持关联登录的 信息, 所述表示所述 IP电话机支持关联登录的信息具体用于表示所述 IP电 话机支持利用已登录的通信客户端的通信账号所关联的 IP电话号码执行登录 操作。
优选地, 所述通信客户端 4010 , 还用于向所述 IP电话机 4020发送表示 所述通信客户端 4010已登录的信息以及所述 PC的 IP地址和所述通信客户端 4010的端口号,并接收所述 IP电话机 4020在确定所述通信客户端 4010已登 录时根据所述 PC的 IP地址和所述通信客户端 4010的端口号发送的登录申请 请求; 所述 IP电话机 4020 , 还用于接收所述通信客户端 4010发送的表示所 述通信客户端 4010已登录的信息、所述 PC的 IP地址和所述通信客户端 4010 的端口号, 并在确定所述通信客户端 4010已登录时, ^据所述 PC的 IP地址 和所述通信客户端 4010的端口号向所述通信客户端 4010发送登录申请请求。
进一步优选地, 所述通信客户端 4010 , 用于向所述 IP电话机 4020发送 表示所述通信客户端 4010已登录的信息以及所述 PC的 IP地址和所述通信客 户端 4010的端口号, 具体包括: 所述通信客户端 4010 , 用于向所述 IP电话 机 4020发送所述邻近发现协议消息的响应消息, 所述响应消息包括表示所述 通信客户端 4010已登录的信息以及所述 PC的 IP地址和所述通信客户端 4010 的端口号; 或者, 用于向所述 IP电话机 4020发送所述邻近发现协议消息的 响应消息, 所述响应消息包括所述 PC的 IP地址和所述通信客户端 4010的端 口号; 并用于根据所述 IP电话机 4020的 IP地址和端口号发送表示所述通信 客户端 4010已登录的信息。 相应地, 所述 IP电话机 4020 , 用于接收所述通信客户端 4010发送的表 示所述通信客户端 4010已登录的信息以及所述 PC的 IP地址和所述通信客户 端 4010的端口号, 具体包括: 所述 IP电话机 4020 , 用于接收所述通信客户 端 4010发送的所述邻近发现协议消息的响应消息, 所述响应消息包括表示所 述通信客户端 4010已登录的信息、所述 PC的 IP地址和所述通信客户端 4010 的端口号; 或者, 用于接收所述通信客户端 4010发送的所述邻近发现协议消 息的响应消息, 所述响应消息包括所述 PC的 IP地址和所述通信客户端 4010 的端口号; 并用于接收所述通信客户端 4010根据所述 IP电话机 4020的 IP 地址和端口号发送的表示所述通信客户端 4010已登录的信息。
优选地, 所述通信客户端 4010 , 还用于在检测到用于指示注销所述通信 账号的用户操作时注销所述通信账号, 并指示所述 IP电话机 4020注销所述 IP电话号码, 并注销所述通信账号; 所述 IP电话机 4020 , 还用于当接收到 所述通信客户端 4010发送的注销指示时, 注销所述 IP电话号码。
本发明实施例 6 中描述的通信系统可以用来实施上述实施例 1所述的方 法。
本领域普通技术人员可以意识到, 结合本文中所公开的实施例描述的各 示例的单元及算法步骤, 能够以电子硬件、 或者计算机软件和电子硬件的结 合来实现。 这些功能究竟以硬件还是软件方式来执行, 取决于技术方案的特 定应用和设计约束条件。 专业技术人员可以对每个特定的应用来使用不同方 法来实现所描述的功能, 但是这种实现不应认为超出本发明的范围。
所属领域的技术人员可以清楚地了解到, 为描述的方便和筒洁, 上述描 述的系统、 装置和单元的具体工作过程, 可以参考前述方法实施例中的对应 过程, 在此不再赘述。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统、 装置和 方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示 意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可 以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个 系统, 或一些特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间 的耦合或直接耦合或通信连接可以是通过一些接口, 装置或单元的间接耦合 或通信连接, 可以是电性, 机械或其它的形式。 为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。 可以根据实际的需要选择其中的部分或 者全部单元来实现本实施例方案的目的。
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元中, 也可以是各个单元单独物理存在, 也可以两个或两个以上单元集成在一个单 元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用 时, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明的 技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可 以以软件产品的形式体现出来, 该计算机软件产品存储在一个存储介质中, 包括若干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者 网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。 而前述的 存储介质包括: U盘、 移动硬盘、 只读存储器(ROM, Read-Only Memory ) 、 随机存取存储器 ( RAM, Random Acces s Memory ) 、 磁碟或者光盘等各种可以 存储程序代码的介质。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护 范围应所述以权利要求的保护范围为准。

Claims

权利要求 书
1. 一种实现 IP电话号码登录的方法, 其特征在于, 所述方法包括: 通信客户端接收 IP电话机发送的数据链路层的邻近发现协议消息, 所述邻 近发现协议消息包括所述 IP电话机的 IP地址和端口号;
所述通信客户端确定自身已利用通信账号登录至通信服务器时, 向所述通 信服务器获取所述通信账号所关联的 IP电话号码;
所述通信客户端根据所述 IP电话机的 IP地址和端口号向所述 IP电话机发 送所述 IP电话号码,以使得所述 IP电话机利用所述 IP电话号码执行登录操作。
2.如权利要求 1所述的方法, 其特征在于,
所述向所述通信服务器获取所述通信账号所关联的 IP 电话号码之前还包 括, 确定所述邻近发现协议消息包括表示所述 IP电话机支持关联登录的信息, 所述表示所述 IP电话机支持关联登录的信息具体用于表示所述 IP电话机支持 利用已登录的通信客户端的通信账号所关联的 IP电话号码执行登录操作。
3. 如权利要求 1或 2所述的方法, 其特征在于,
所述向所述通信服务器获取所述通信账号所关联的 IP 电话号码之前还包 括: 所述通信客户端向所述 IP电话机发送表示所述通信客户端已登录的信息以 及所述通信客户端所在的个人计算机 PC的 IP地址和所述通信客户端的端口号, 并接收所述 IP电话机在确定所述通信客户端已登录时根据所述 PC的 IP地址和 所述通信客户端的端口号发送的登录申请请求。
4. 如权利要求 3所述的方法, 其特征在于,
所述向所述 IP 电话机发送表示所述通信客户端已登录的信息以及所述 PC 的 I P地址和所述通信客户端的端口号, 具体包括:
向所述 IP电话机发送所述邻近发现协议消息的响应消息, 所述响应消息包 括表示所述通信客户端已登录的信息以及所述 PC的 IP地址和所述通信客户端 的端口号; 或者,
向所述 IP电话机发送所述邻近发现协议消息的响应消息, 所述响应消息包 括所述 PC的 IP地址和所述通信客户端的端口号, 并根据所述 IP电话机的 IP 地址和端口号发送表示所述通信客户端已登录的信息。
5. 如权利要求 1-4任一所述的方法, 其特征在于,
所述通信客户端接收 IP电话机发送的邻近发现协议消息, 具体包括: 所述 通信客户端通过所述通信客户端所在的 PC的网卡接收所述邻近发现协议消息, 其中, 所述网卡的网卡驱动在确定所述网卡接收到的为邻近发现协议消息后将 所述邻近发现协议消息上报给所述 PC上的操作系统, 以便于所述操作系统在确 定所述通信客户端已运行时将所述邻近发现协议消息传输至所述通信客户端。
6. 如权利要求 5所述的方法, 其特征在于,
所述邻近发现协议消息具体为链路层发现协议 LLDP消息;
所述网卡的网卡驱动在确定所述网卡接收到的为邻近发现协议消息后将所 述邻近发现协议消息上 4艮给所述 PC上的操作系统, 具体包括: 所述网卡的网卡 驱动在根据所述网卡接收的所述邻近发现协议消息的目的地址确定所述邻近发 现协议消息为 LLDP消息时, 将所述邻近发现协议消息上报给所述 PC的操作系 统。
7. 如权利要求 1-6任一所述的方法, 其特征在于,
所述通信客户端根据所述 IP电话机的 IP地址和端口号向所述 IP电话机发 送所述 IP电话号码之后, 还包括,
所述通信客户端在检测到用于指示注销所述通信账号的用户操作时注销所 述通信账号, 并指示所述 IP电话机注销所述 IP电话号码。
8. 一种实现 IP电话号码登录的方法, 其特征在于, 所述方法包括:
IP电话机在检测到所述 IP电话机的以太网口与个人计算机 PC相连时, 向 所述 PC发送数据链路层的邻近发现协议消息, 以便于所述 PC在确定所述 PC上 运行通信客户端时将所述邻近发现协议消息传输至所述通信客户端, 所述邻近 发现协议消息包括所述 IP电话机的 IP地址和端口号;
所述 IP电话机接收所述通信客户端确定自身已利用通信账号登录至通信服 务器时, 根据所述 IP电话机的 IP地址和端口号发送的所述通信账号所关联的 IP电话号码;
所述 IP电话机利用所述 IP电话号码执行登录操作。
9.如权利要求 8所述的方法, 其特征在于,
所述邻近发现协议消息包括表示所述 IP电话机支持关联登录的信息, 以便 于所述通信客户端根据所述邻近发现协议消息确定所述 IP电话机支持关联登录 时向所述 IP电话机发送所述 IP电话号码, 其中, 所述表示所述 IP电话机支持 关联登录的信息具体用于表示所述 IP电话机支持利用已登录的通信客户端的通 信账号所关联的 IP电话号码执行登录操作。
10. 如权利要求 8或 9所述的方法, 其特征在于,
所述 IP电话机接收所述通信客户端确定自身已利用通信账号登录至通信服 务器时, 根据所述 IP电话机的 IP地址和端口号发送的所述通信账号所关联的 IP电话号码之前, 还包括,
所述 IP电话机接收所述通信客户端发送的表示所述通信客户端已登录的信 息以及所述 PC的 IP地址和所述通信客户端的端口号, 并在确定所述通信客户 端已登录时, 根据所述 PC的 IP地址和所述通信客户端的端口号向所述通信客 户端发送登录申请请求。
11. 如权利要求 10所述的方法, 其特征在于,
所述 IP电话机接收所述通信客户端发送的表示所述通信客户端已登录的信 息以及所述 PC的 I P地址和所述通信客户端的端口号, 具体包括:
所述 IP电话机接收所述通信客户端发送的所述邻近发现协议消息的响应消 息, 所述响应消息包括表示所述通信客户端已登录的信息以及所述 PC的 IP地 址和所述通信客户端的端口号; 或者,
所述 IP电话机接收所述通信客户端发送的所述邻近发现协议消息的响应消 息, 所述响应消息包括所述 PC的 IP地址和所述通信客户端的端口号, 并接收 所述通信客户端根据所述 IP电话机的 IP地址和端口号发送的表示所述通信客 户端已登录的信息。
12.如权利要求 10或 11所述的方法, 其特征在于,
所述根据所述 PC的 IP地址和所述通信客户端的端口号向所述通信客户端 发送登录申请请求之前, 还包括, 确定所述响应消息是通过与所述 PC连接的以 太网口接收的。
13.如权利要求 8-12任一所述的方法, 其特征在于,
所述 IP电话机利用所述 IP电话号码执行登录操作之后, 还包括, 当接收到所述通信客户端发送的注销指示时, 所述 IP 电话机注销所述 IP 电话号码。
14.如权利要求 8-13任一所述的方法, 其特征在于,
所述 IP电话机利用所述 IP电话号码执行登录操作之前还包括, 所述 IP电 话机接收所述通信客户端发送的接收自所述通信服务器的第一鉴权信息;
所述 IP电话机利用所述 IP电话号码执行登录操作, 具体包括, 所述 IP电 话机向所述通信服务器发送包括所述 IP电话号码和所述第一鉴权信息的登录请 求, 以使得所述通信服务器接收到所述登录请求后利用所述第一鉴权信息对所 述 IP电话机进行鉴权。
15.如权利要求 14所述的方法, 其特征在于,
所述登录请求包括的 IP电话号码和第一鉴权信息是利用第二鉴权信息加密 的;
所述 IP电话机发送所述登录请求之前, 还包括, 通过所述通信客户端向所 述通信服务器发送所述第二鉴权信息, 以使得所述通信服务器利用所述第二鉴 权信息,对所述登录请求中包括的加密的 IP电话号码和第一鉴权信息进行解密。
16. 一种通信装置, 其特征在于, 所述通信装置包括: 接收单元、 登录单 元、 获取单元和发送单元;
所述接收单元,用于接收 I P电话机发送的数据链路层的邻近发现协议消息, 所述邻近发现协议消息包括所述 IP电话机的 IP地址和端口号; 所述登录单元, 用于利用通信账号登录至通信服务器;
所述获取单元, 用于在所述接收单元接收到所述邻近发现协议消息, 并且 确定所述登录单元已利用通信账号登录至通信服务器时, 向所述通信服务器获 取所述通信账号所关联的 IP电话号码, 并将所述 IP电话号码传输至所述发送 单元;
所述发送单元, 用于从所述获取单元接收所述 IP电话号码, 并根据所述 IP 电话机的 IP地址和端口号向所述 IP电话机发送所述 IP电话号码, 以使得所述 IP电话机利用所述 IP电话号码执行登录操作。
17.如权利要求 16 所述的通信装置, 其特征在于, 所述通信装置还包括判 断单元;
所述接收单元, 还用于将所述邻近发现协议消息传输至所述判断单元; 所述判断单元, 用于从所述接收单元接收所述邻近发现协议消息, 判断所 述邻近发现协议消息是否包括表示所述 IP电话机支持关联登录的信息, 并将判 断结果传输至所述获取单元, 其中, 所述表示所述 IP电话机支持关联登录的信 息具体用于表示所述 IP电话机支持利用已登录的通信装置的通信账号所关联的 IP电话号码执行登录操作;
所述获取单元, 具体用于从所述判断单元接收所述判断结果, 并在所述判 断结果为是时, 向所述通信服务器获取所述通信账号所关联的 IP电话号码。
18. 如权利要求 16或 17所述的通信装置, 其特征在于,
所述发送单元, 还用于向所述 IP电话机发送表示所述通信装置已登录的信 息以及所述通信装置所在的个人计算机 PC的 IP地址和所述通信装置的端口号; 所述接收单元, 还用于接收所述 IP电话机在确定所述通信装置已登录时根 据所述 PC的 IP地址和所述通信装置的端口号发送的登录申请请求。
19. 如权利要求 18所述的通信装置, 其特征在于,
所述发送单元, 用于向所述 IP电话机发送表示所述通信装置已登录的信息 以及所述通信装置所在的个人计算机 PC的 IP地址和所述通信装置的端口号, 具体包括:
所述发送单元, 用于向所述 I P电话机发送所述邻近发现协议消息的响应消 息, 所述响应消息包括表示所述通信装置已登录的信息以及所述 PC的 IP地址 和所述通信装置的端口号; 或者,
所述发送单元, 用于向所述 I P电话机发送所述邻近发现协议消息的响应消 息, 所述响应消息包括所述 PC的 IP地址和所述通信装置的端口号; 并用于根 据所述 IP电话机的 IP地址和端口号发送表示所述通信装置已登录的信息。
20. 如权利要求 16-19任一所述的通信装置, 其特征在于, 所述通信装置 还包括注销单元, 用于在检测到用于指示注销所述通信账号的用户操作时注销 所述通信账号, 并指示所述 IP电话机注销所述 IP电话号码。
21. 一种 IP电话机, 其特征在于, 所述 IP电话机包括: 检测单元、 发送 单元、 接收单元和登录单元;
所述检测单元, 用于检测所述 IP 电话机的以太网口是否与个人计算机 PC 相连, 并将检测结果传输至所述发送单元;
所述发送单元, 用于接收所述检测单元发送的检测结果, 并在所述检测结 果为相连时, 向所述 PC发送数据链路层的邻近发现协议消息, 以便于所述 PC 在确定所述 PC上运行通信客户端时将所述邻近发现协议消息传输至所述通信客 户端, 所述邻近发现协议消息包括所述 IP电话机的 IP地址和端口号;
所述接收单元, 用于接收所述通信客户端确定自身已利用通信账号登录至 通信服务器时, 根据所述 IP电话机的 IP地址和端口号发送的所述通信账号所 关联的 IP电话号码, 并将所述 IP电话号码传输至所述登录单元;
所述登录单元, 用于从所述接收单元接收所述 IP电话号码, 并利用所述 IP 电话号码执行登录操作。
22.如权利要求 21所述的 IP电话机, 其特征在于, 联登录的信息, 以便于所述通信客户端根据所述邻近发现协议消息确定所述 IP 电话机支持关联登录时向所述 IP电话机发送所述 IP电话号码, 其中, 所述表 示所述 IP电话机支持关联登录的信息具体用于表示所述 IP电话机支持利用已 登录的通信客户端的通信账号所关联的 IP电话号码执行登录操作。
23. 如权利要求 21或 11所述的 IP电话机, 其特征在于, 所述 IP电话机 还包括确定单元;
所述接收单元, 还用于接收所述通信客户端发送的表示所述通信客户端已 登录的信息以及所述 PC的 IP地址和所述通信客户端的端口号;
所述确定单元, 用于根据所述表示所述通信客户端已登录的信息确定所述 通信客户端已登录, 并将确定结果传输至所述发送单元;
所述发送单元, 还用于接收所述确定单元发送的确定结果, 并根据所述 PC 的 I P地址和所述通信客户端的端口号向所述通信客户端发送登录申请请求。
24. 如权利要求 23所述的 IP电话机, 其特征在于,
所述接收单元, 用于接收所述通信客户端发送的表示所述通信客户端已登 录的信息以及所述 PC的 IP地址和所述通信客户端的端口号, 具体包括:
所述接收单元, 用于接收所述通信客户端发送的所述邻近发现协议消息的 响应消息, 所述响应消息包括表示所述通信客户端已登录的信息以及所述 PC的 IP地址和所述通信客户端的端口号; 或者,
所述接收单元, 用于接收所述通信客户端发送的所述邻近发现协议消息的 响应消息, 所述响应消息包括所述 PC的 IP地址和所述通信客户端的端口号; 并用于接收所述通信客户端根据所述 IP电话机的 IP地址和端口号发送的表示 所述通信客户端已登录的信息。
25.如权利要求 21-24任一所述的 IP电话机, 其特征在于, 所述 IP电话机 还包括注销单元;
所述接收单元, 还用于接收所述通信客户端发送的注销指示, 并将所述注 销指示传输至所述注销单元;
所述注销单元, 用于从所述接收单元接收所述注销指示, 并注销所述 IP电 话号码。
26. 一种通信系统, 其特征在于, 所述通信系统包括: IP 电话机、 通信客 户端和通信服务器, 其中, 所述 IP电话机通过以太网口与所述通信客户端所在 的个人计算机 PC相连;
所述 IP电话机,用于在检测到所述 IP电话机的以太网口与所述 PC相连时, 向所述 PC发送数据链路层的邻近发现协议消息, 以便于所述 PC在确定所述通 信客户端已运行时将所述邻近发现协议消息传输至所述通信客户端, 所述邻近 发现协议消息包括所述 IP电话机的 IP地址和端口号; 接收所述通信客户端确 定自身已利用通信账号登录至通信服务器时, 根据所述 IP电话机的 IP地址和 端口号发送的所述通信账号所关联的 IP电话号码; 并利用所述 IP电话号码执 行登录操作;
所述通信客户端, 接收所述邻近发现协议消息; 确定自身已利用通信账号 登录至通信服务器时, 向所述通信服务器获取所述通信账号所关联的 IP电话号 码; 并根据所述 IP电话机的 IP地址和端口号向所述 IP电话机发送所述 IP电 话号码;
所述通信服务器, 用于向所述通信客户端发送所述通信账号所关联的 IP电 话号码。
27. 如权利要求 26所述的通信系统, 其特征在于,
所述通信客户端, 还用于在接收到邻近发现协议消息时确定所述邻近发现 协议消息包括表示所述 IP电话机支持关联登录的信息, 所述表示所述 IP电话 机支持关联登录的信息具体用于表示所述 IP电话机支持利用已登录的通信客户 端的通信账号所关联的 IP电话号码执行登录操作。
28. 如权利要求 26或 27所述的通信系统, 其特征在于,
所述通信客户端, 还用于向所述 IP电话机发送表示所述通信客户端已登录 的信息以及所述通信客户端所在的个人计算机 PC的 IP地址和所述通信客户端 的端口号, 并接收所述 IP 电话机在确定所述通信客户端已登录时根据所述 PC 的 IP地址和所述通信客户端的端口号发送的登录申请请求;
所述 IP电话机, 还用于接收所述通信客户端发送的表示所述通信客户端已 登录的信息以及所述通信客户端所在的个人计算机 PC的 IP地址和所述通信客 户端的端口号, 并在确定所述通信客户端已登录时, 根据所述 PC的 IP地址和 所述通信客户端的端口号向所述通信客户端发送所述登录申请请求。
29.如权利要求 26-28任一所述的通信系统, 其特征在于,
所述通信客户端, 还用于在检测到用于指示注销所述通信账号的用户操作 时注销所述通信账号, 并指示所述 IP电话机注销所述 IP电话号码;
所述 IP电话机, 还用于当接收到所述通信客户端发送的注销指示时, 注销 所述 IP电话号码。
PCT/CN2012/087471 2012-12-26 2012-12-26 一种实现ip电话号码登录的方法、装置和系统 WO2014100987A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201280002962.XA CN104025540B (zh) 2012-12-26 2012-12-26 一种实现ip电话号码登录的方法、装置和系统
EP12879158.9A EP2765749B1 (en) 2012-12-26 2012-12-26 Method, device, and system for implementing logon of ip telephone number
PCT/CN2012/087471 WO2014100987A1 (zh) 2012-12-26 2012-12-26 一种实现ip电话号码登录的方法、装置和系统
US14/139,210 US9380084B2 (en) 2012-12-26 2013-12-23 Method, apparatus and system for implementing login of IP telephone number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/087471 WO2014100987A1 (zh) 2012-12-26 2012-12-26 一种实现ip电话号码登录的方法、装置和系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/139,210 Continuation US9380084B2 (en) 2012-12-26 2013-12-23 Method, apparatus and system for implementing login of IP telephone number

Publications (1)

Publication Number Publication Date
WO2014100987A1 true WO2014100987A1 (zh) 2014-07-03

Family

ID=50974601

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/087471 WO2014100987A1 (zh) 2012-12-26 2012-12-26 一种实现ip电话号码登录的方法、装置和系统

Country Status (4)

Country Link
US (1) US9380084B2 (zh)
EP (1) EP2765749B1 (zh)
CN (1) CN104025540B (zh)
WO (1) WO2014100987A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168290B (zh) * 2014-08-27 2017-10-27 中国联合网络通信集团有限公司 一种终端注册方法及注册服务器
CN106713684B (zh) * 2015-11-17 2019-11-05 华为数字技术(苏州)有限公司 统一通信客户端账号与话机的号码的绑定方法及设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1921390A (zh) * 2006-09-08 2007-02-28 网之易信息技术(北京)有限公司 一种用户身份识别方法及识别系统
CN101047717A (zh) * 2006-03-28 2007-10-03 株式会社日立制作所 Ip电话系统和ip电话终端的登记方法
CN101335794A (zh) * 2007-06-27 2008-12-31 田种楠 网络电话连结系统以及网络电话连结方法

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7237117B2 (en) * 2001-03-16 2007-06-26 Kenneth P. Weiss Universal secure registry
US7606938B2 (en) * 2002-03-01 2009-10-20 Enterasys Networks, Inc. Verified device locations in a data network
EP1558002B1 (de) * 2004-01-23 2008-10-08 Siemens Aktiengesellschaft Verfahren zur Zuordnung einer IP-Adresse zu einem Gerät
US7673021B2 (en) * 2004-02-12 2010-03-02 Cisco Technology, Inc. Automated provisioning of phones in packet voice networks
CN1570984A (zh) * 2004-04-26 2005-01-26 陶敏 银行卡消费通信网账户充值系统和方法
JP4356707B2 (ja) * 2006-05-23 2009-11-04 株式会社日立製作所 Ip電話システム
CN101076184B (zh) * 2006-07-31 2011-09-21 腾讯科技(深圳)有限公司 一种实现自动应答的系统及方法
US7937479B2 (en) * 2008-01-04 2011-05-03 Mitel Networks Corporation System and method for associating communication devices
US8233474B2 (en) * 2009-03-31 2012-07-31 Extreme Networks Communication of location information for an IP telephony communication device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047717A (zh) * 2006-03-28 2007-10-03 株式会社日立制作所 Ip电话系统和ip电话终端的登记方法
CN1921390A (zh) * 2006-09-08 2007-02-28 网之易信息技术(北京)有限公司 一种用户身份识别方法及识别系统
CN101335794A (zh) * 2007-06-27 2008-12-31 田种楠 网络电话连结系统以及网络电话连结方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2765749A4 *

Also Published As

Publication number Publication date
EP2765749A4 (en) 2015-02-18
CN104025540A (zh) 2014-09-03
CN104025540B (zh) 2017-02-22
EP2765749A1 (en) 2014-08-13
US9380084B2 (en) 2016-06-28
US20140177628A1 (en) 2014-06-26
EP2765749B1 (en) 2016-04-20

Similar Documents

Publication Publication Date Title
JP6414630B2 (ja) ネットワークアドレス変換のリレーを用いたトラバーサル(turn)資格証明情報およびサーバをプロビジョニングするための方法および装置
AU2012262053B2 (en) System and method for secure instant messaging
JP2020174396A (ja) リアルタイム通信でメディア経路を確立するための方法
US9119067B2 (en) Embodiments of a system and method for securely managing multiple user handles across multiple data processing devices
US9078128B2 (en) System and method for secure identity service
EP2425646B1 (en) Network access nodes
EP3469776A1 (en) Network-visitability detection control
WO2015139179A1 (zh) 一种终端间同步内容的方法和终端
JP4410070B2 (ja) 無線ネットワークシステムおよび通信方法、通信装置、無線端末、通信制御プログラム、端末制御プログラム
JP2004120547A (ja) インターネットに接続するサーバ、機器および通信システム
JP2010514229A (ja) ドメイン間情報通信のための認証方法、システム、およびその装置
WO2011163439A2 (en) System and method for secure messaging in a hybrid peer-to-peer net work
WO2006033264A1 (ja) 電化機器、サーバ装置、携帯端末、通信システム、通信方法、及びプログラム
WO2014135050A1 (zh) 消息处理方法、装置、网关、机顶盒及网络电视系统
JP2017108417A (ja) ネットワーク通信システムおよび方法
WO2014166210A1 (zh) 客户端、服务器、远程用户拨号认证能力协商方法及系统
WO2015070614A1 (zh) 检测l2vpn网络用户侧接口连通性的方法及设备
WO2014067486A1 (zh) 一种报文转发的方法及相应设备
WO2011150704A1 (zh) 媒体网关代理的方法及装置
JP2014093772A5 (zh)
WO2014100987A1 (zh) 一种实现ip电话号码登录的方法、装置和系统
WO2016045635A2 (zh) 一种通信方法、装置及系统
JP6036978B2 (ja) ネットワークシステム、通信端末、方法、プログラムおよび記録媒体
JP5853972B2 (ja) ネットワークシステム、通信端末、方法、プログラムおよび記録媒体
JP2011199470A (ja) 端末状態制御装置、端末状態制御プログラム、端末状態制御方法および端末状態制御システム

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2012879158

Country of ref document: EP

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12879158

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE