WO2021254439A1 - Gateway management method, gateway and storage medium - Google Patents

Gateway management method, gateway and storage medium Download PDF

Info

Publication number
WO2021254439A1
WO2021254439A1 PCT/CN2021/100631 CN2021100631W WO2021254439A1 WO 2021254439 A1 WO2021254439 A1 WO 2021254439A1 CN 2021100631 W CN2021100631 W CN 2021100631W WO 2021254439 A1 WO2021254439 A1 WO 2021254439A1
Authority
WO
WIPO (PCT)
Prior art keywords
gateway
information
service
answering
device information
Prior art date
Application number
PCT/CN2021/100631
Other languages
French (fr)
Chinese (zh)
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 中兴通讯股份有限公司
Publication of WO2021254439A1 publication Critical patent/WO2021254439A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • 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/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • 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
    • 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/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • 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/10Architectures or entities
    • H04L65/1016IP multimedia subsystem [IMS]
    • 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/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1033Signalling gateways
    • 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
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1045Proxies, e.g. for session initiation protocol [SIP]

Definitions

  • the embodiments of the present application relate to the field of communication technologies, and in particular, to a gateway management method, a gateway, and a storage medium.
  • the home gateway can provide users with operating business or gateway self-control at the same time. Define and expand the business to meet the increasingly diverse needs of users.
  • the remote configuration management method of the service on the home gateway is issued by the operator through the management platform when the service is opened or closed, so that users cannot remotely manage the gateway.
  • the embodiments of the present application provide a gateway management method, a gateway, and a storage medium.
  • the embodiment of the application provides a gateway management method, the method includes: sending a registration request to a server, and receiving protocol information that the server responds based on the registration request, wherein the protocol information includes an implicit number; The implicit number completes the registration.
  • the embodiment of the present application also proposes a gateway, including a memory and a processor, the memory is configured to store a computer program; the processor is configured to execute the computer program and implement the foregoing when the computer program is executed The steps of the gateway management method.
  • the embodiment of the present application also proposes a computer-readable storage medium for computer-readable storage, characterized in that the storage medium stores one or more programs, and the one or more programs can be stored by one or more programs.
  • Each processor executes to implement the steps of the aforementioned gateway management method.
  • Fig. 1 is a schematic flowchart of a gateway management method provided by an embodiment of the present application.
  • Fig. 2 is a schematic flowchart of another gateway management method provided by an embodiment of the present application.
  • Fig. 3 is a schematic diagram of a scenario of a gateway, a server, and a terminal in an embodiment of the application.
  • Fig. 4 is a schematic flowchart of another gateway management method provided by an embodiment of the present application.
  • Figure 5 is a schematic diagram of a scenario of a gateway and a terminal in this application.
  • FIG. 6 is a schematic block diagram of the structure of a gateway provided by an embodiment of the application.
  • the embodiments of the present application provide a gateway management method, a gateway, and a storage medium.
  • FIG. 1 is a schematic flowchart of a gateway management method provided by an embodiment of the present application.
  • this embodiment provides a gateway management method, which includes the following steps:
  • Step S110 Send a registration request to the server, and receive protocol information that the server responds based on the registration request, where the protocol information includes an implicit number.
  • a registration request is sent to the server, where the registration request includes a request to obtain an implicit number related to the gateway.
  • the user opens the remote management authority to the server through the terminal, and when the gateway receives the ordinary account or voice account sent by the server, it automatically sends a registration request to the server to obtain the corresponding implicit number.
  • ordinary accounts or voice accounts cannot remotely manage the gateway.
  • the receiving server responds to protocol information based on the registration request, and the protocol information includes an implicit number. For example, when the server receives the registration request sent by the gateway, it obtains the device information carried in the registration request, and matches the device information with the preset device information.
  • the gateway has activated the remote management authority, and the protocol information related to the remote management authority is sent to the gateway.
  • the SS/IMS of the server returns a 200 OK for successful registration, and the 200 OK includes the P-Associated-URI header field. Parse the P-Associated-URI header field to obtain the implicit number used for the remote management gateway carried in the header field.
  • Step S120 Complete registration according to the implicit number.
  • the registration is completed through the implicit number.
  • the gateway obtains an implicit number, it stores the implicit number, and updates the preset entry management authority stored in the gateway based on the implicit number.
  • the remote management authority of the preset item management is obtained, the registration is determined to be completed.
  • the server by registering with the server, the server receives the protocol information that the server responds based on the registration request, and obtains the implicit number in the protocol information. Registration is completed through the implicit number, so that the user can remotely manage the gateway through the implicit number, so that the user can safely and conveniently access the home gateway without changing the existing network equipment, and flexibly, according to needs, It is easy to expand and remotely manage the home gateway without affecting the original functions of the home gateway.
  • FIG. 2 is a schematic flowchart of another gateway management method provided by an embodiment of the present application.
  • this embodiment provides a gateway management method, which includes the following steps:
  • Step S210 Send a registration request to the server, and receive protocol information that the server responds based on the registration request, where the protocol information includes an implicit number.
  • a registration request is sent to the server, where the registration request includes a request to obtain an implicit number related to the gateway.
  • the user opens the remote management authority to the server through the terminal, and when the gateway receives the ordinary account or voice account sent by the server, it automatically sends a registration request to the server to obtain the corresponding implicit number.
  • ordinary accounts or voice accounts cannot remotely manage the gateway.
  • the receiving server responds to protocol information based on the registration request, and the protocol information includes an implicit number. For example, when the server receives the registration request sent by the gateway, it obtains the device information carried in the registration request, and matches the device information with the preset device information.
  • the gateway has activated the remote management authority, and the protocol information related to the remote management authority is sent to the gateway.
  • the SS/IMS of the server returns a 200 OK for successful registration, and the 200 OK includes the P-Associated-URI header field. Parse the P-Associated-URI header field to obtain the implicit number used for the remote management gateway carried in the header field.
  • Step S220 Complete registration according to the implicit number.
  • the registration is completed through the implicit number.
  • the gateway obtains an implicit number, it stores the implicit number, and updates the preset entry management authority stored in the gateway based on the implicit number.
  • the remote management authority of the preset item management is obtained, the registration is determined to be completed.
  • Step S230 The server receives the incoming signal in response to the incoming request sent by the terminal, and obtains the device information carried in the incoming signal.
  • the receiving server responds to the incoming call signaling of the incoming call request sent by the terminal.
  • the user sends the incoming call request to the server through the terminal, where the terminal includes a mobile phone, a computer, etc. with communication functions. terminal.
  • the server obtains the SIP account of the gateway carried in the incoming call request. Match the gateway SIP account with a preset implicit number to determine whether the gateway SIP account is an implicit number. If the gateway SIP account matches the implicit number, it is determined that the gateway SIP account is an implicit number. If the gateway SIP account does not match the implicit number, it is determined that the gateway SIP account is not an implicit number.
  • the gateway SIP account is not an implicit number, it is determined that the access mode of the incoming call request is the second answering mode. If it is determined that the gateway SIP account is an implicit number, the incoming INVITE signaling carried in the incoming call request is obtained, and the incoming INVITE signaling is sent to the gateway. When the gateway obtains the incoming INVITE signaling, it obtains the device information carried in the incoming INVITE signaling.
  • Step S240 Determine the answering mode of the incoming call request according to the device information.
  • the answering method of the incoming call request is the first answering method, where the answering method includes the first answering method and the second answering method.
  • the first answering method can remotely manage the gateway, and the second answering method is a normal call, which cannot remotely manage the gateway.
  • the answering method includes the first answering method and the second answering method; determining the answering method of the incoming call request according to the device information includes: comparing the device information with the preset device information; if the device information is compared with the preset device information If the set device information is consistent, the answering method is determined to be the first answering method; if the device information is inconsistent with the preset device information, the answering method is determined to be the second answering method.
  • the device information when the device information is obtained, the device information is compared with the preset device information, and if the device information is consistent with the preset device information, it is determined that the answering method of the incoming call request is the first answering method; If the device information is inconsistent with the preset device information, it is determined that the answering mode of the incoming call request is the second answering mode.
  • the device information includes the device name, model, ID, etc.
  • the preset device information includes the device name, model, ID, etc. Compare the device name, model, and ID of the device information with the device name, model, and ID of the preset device information.
  • the model of the device information If the device name of the device information is consistent with the device name of the preset device information, the model of the device information If the model comparison is consistent with the preset device information and/or the device information is consistent with the ID of the preset device information, it is determined that the answering method of the incoming call request is the first answering method.
  • the server by sending a registration request to the server, receiving the protocol information that the server responds based on the registration request, and obtaining the implicit number in the protocol information to complete the registration.
  • receive the incoming call instruction of the terminal determine the answering method to the terminal according to the device information in the incoming call instruction, and determine the answering method to the terminal according to the multiple answering methods to meet the needs of the user.
  • the answering method enhances the security of answering with the terminal.
  • FIG. 4 is a schematic flowchart of another gateway management method provided by an embodiment of the present application.
  • this embodiment provides a gateway management method, which includes the following steps:
  • Step S310 Send a registration request to the server, and receive protocol information that the server responds based on the registration request, where the protocol information includes an implicit number.
  • a registration request is sent to the server, where the registration request includes a request to obtain an implicit number related to the gateway.
  • the user opens the remote management authority to the server through the terminal, and when the gateway receives the ordinary account or voice account sent by the server, it automatically sends a registration request to the server to obtain the corresponding implicit number.
  • ordinary accounts or voice accounts cannot remotely manage the gateway.
  • the receiving server responds to protocol information based on the registration request, and the protocol information includes an implicit number. For example, when the server receives the registration request sent by the gateway, it obtains the device information carried in the registration request, and matches the device information with the preset device information.
  • the gateway has activated the remote management authority, and the protocol information related to the remote management authority is sent to the gateway.
  • the SS/IMS of the server returns a 200 OK for successful registration, and the 200 OK includes the P-Associated-URI header field. Parse the P-Associated-URI header field to obtain the implicit number used for the remote management gateway carried in the header field.
  • Step S320 Complete registration according to the implicit number.
  • the registration is completed through the implicit number.
  • the gateway obtains an implicit number, it stores the implicit number, and updates the preset entry management authority stored in the gateway based on the implicit number.
  • the remote management authority of the preset item management is obtained, the registration is determined to be completed.
  • Step S330 The server receives the incoming signal in response to the incoming request sent by the terminal, and obtains the device information carried in the incoming signal.
  • the receiving server responds to the incoming signal of the incoming request sent by the terminal.
  • the user sends the incoming request to the server through the terminal, where the terminal includes a terminal with communication function such as a mobile phone or a computer.
  • the server obtains the SIP account of the gateway carried in the incoming call request. Match the gateway SIP account with a preset implicit number to determine whether the gateway SIP account is an implicit number. If the gateway SIP account matches the implicit number, it is determined that the gateway SIP account is an implicit number. If the gateway SIP account does not match the implicit number, determine that the gateway SIP account is not an implicit number.
  • the gateway SIP account is not an implicit number, it is determined that the access mode of the incoming call request is the second answering mode. If it is determined that the gateway SIP account is an implicit number, the incoming INVITE signaling carried in the incoming call request is obtained, and the incoming INVITE signaling is sent to the gateway. When the gateway obtains the incoming INVITE signaling, it obtains the device information carried in the incoming INVITE signaling.
  • Step S340 Determine the answering mode of the incoming call request according to the device information.
  • the answering method of the incoming call request is the first answering method, where the answering method includes the first answering method and the second answering method.
  • the first answering method can remotely manage the gateway, and the second answering method is a normal call, which cannot remotely manage the gateway.
  • Step S350 When answering the incoming call request in the first answering mode, receive the password information sent by the terminal.
  • the gateway when the incoming call request sent by the terminal is answered in the first answering mode, the password information sent by the terminal is received.
  • the password information is sent on the terminal based on the user's operation instruction, and the operation instruction includes a click operation instruction or a voice instruction.
  • the password information includes data, letters, and special symbols.
  • the gateway also includes a timer. For example, when answering the incoming call request sent by the terminal in the first answering mode, the timer is started.
  • Step S360 If the password information is consistent with the preset password information, obtain the service management request sent by the terminal.
  • the password information sent by the terminal when the password information sent by the terminal is received, if the time for the user to input the password information through the terminal exceeds the preset time of the timer, it is determined that the input of the password information by the user has timed out. Send a preset prompt sound to the terminal to prompt the user to enter the password information timeout.
  • receiving the password information sent by the terminal it is determined whether the password information is consistent with the preset password information. If the received password information sent by the terminal is consistent with the preset password information, the service management request sent by the terminal is acquired.
  • Step S370 Turn on and/or turn off the corresponding business according to the business management request.
  • the service management request when a service management request sent by a terminal is obtained, the service management request carries service information, and the corresponding service is opened and/or closed through the service information.
  • the service management request carries the information for opening or closing service 1
  • the corresponding service 1 is activated or closed
  • the service management request carries the information for opening or closing service 1 and the information for closing service 2 can be activated by opening or closing the service.
  • the information of 1 opens business 1 and the information of closes business 2 closes business 2.
  • opening and/or closing the corresponding service according to the service management request includes: obtaining the DTMF number in the service management information; and opening and/or closing the corresponding service according to the DTMF number.
  • the DTMF number carried in the service management request is obtained, and the corresponding service is activated or closed according to the DTMF number. For example, acquiring serial number 1, serial number 2, etc. carried in the service management request. The corresponding service is activated through the sequence number 1 and the corresponding service is closed through the sequence number 2.
  • opening and/or closing the corresponding service according to the DTMF number includes: matching the DTMF number with the preset item management key value, and determining the service and the service identifier that match the preset item management key value; Based on the business identification, the business is opened or closed.
  • the preset item management includes multiple services.
  • a key value of 1 means opening a service 1
  • a key value of 2 means closing a service 1, and so on.
  • the serial number 1 is obtained, the serial number 1 is matched with the preset entry management key value, and the matching service 1 is obtained, and the service ID is the activation ID.
  • the service 1 is activated through service 1 and the activation identifier; or, when the sequence number 1 and sequence number 3 are obtained, the sequence number 1 and sequence number 3 are matched with the preset item management key values respectively to obtain the service 1 that matches the sequence number 1.
  • the service ID is the opening ID; the service 2 that matches the sequence number 3 is obtained, and the service ID is the closing ID. Through the service 1 and the opening flag, the service 1 is opened and the service 3 and the closing flag are used to close the service 2.
  • Step S380 If the password information is inconsistent with the preset password information, terminate the incoming call request.
  • the number of times the terminal has sent the password information is recorded, and a prompt message indicating that the password information is incorrect is sent to the terminal. If the number of times that the terminal sends password information is greater than the preset number of times, the timer is turned off, and it is determined that the number of times the terminal sends password information is greater than the preset number of times, and the incoming call request is terminated.
  • the answering method with the terminal is determined based on the device information in the incoming call request sent by the terminal.
  • the password information determines whether the password information is consistent with the preset password information. If the password information is consistent with the preset password information, the service management request sent by the terminal is received, and the corresponding service is opened and/or closed through the service management request.
  • the user manages the gateway remotely through the implicit number, which also enhances the security of the remote management gateway.
  • FIG. 6 is a schematic block diagram of the structure of a gateway according to an embodiment of the present application.
  • the gateway includes a home gateway.
  • the gateway further includes a processor and a memory, and the memory is configured to store a computer program.
  • the processor is configured to execute a computer program and, when executing the computer program, implement the aforementioned gateway management method provided in the embodiment of the present application.
  • the processor may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), and application specific integrated circuits (Application Specific Integrated Circuits). Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the embodiments of the present application also provide a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program.
  • the processor implements any of the gateway management methods provided in the embodiments of the present application.
  • the embodiment of the application discloses a gateway management method, a gateway, and a storage medium.
  • the server receives protocol information based on the registration request response, wherein the protocol information includes an implicit number; Complete the registration with the implicit number. It can be seen that this technical solution obtains the implicit number through registration, and remotely manages the gateway based on the implicit number.
  • computer-readable storage medium includes volatile and non-volatile properties implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Volatile, removable and non-removable media.
  • Computer-readable storage media include but are not limited to RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, Or it can be used to store desired information and can be any other medium that can be accessed by a computer.
  • communication media usually contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery media. .
  • the computer-readable storage medium may be an internal storage unit of the electronic device of the foregoing embodiment, such as a hard disk or a memory of the electronic device.
  • the computer-readable storage medium can also be an external storage device of an electronic device, such as a plug-in hard disk equipped on an electronic device, a smart memory card (Smart Media Card, SMC), a Secure Digital (SD) card, and a flash memory card ( Flash Card) etc.
  • the electronic device and computer-readable storage medium provided by the foregoing embodiments send a registration request to the server, and receive the protocol information that the server responds based on the registration request, where the protocol information includes an implicit number; the registration is completed according to the implicit number.
  • the user can safely and conveniently access the home gateway without changing the existing network equipment, and can flexibly and easily manage the home gateway remotely as needed. And it does not affect the original functions of the home gateway.

Landscapes

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

Abstract

A gateway management method, a gateway and a storage medium, which belong to the technical field of communications. The method comprises: sending a registration request to a server, and receiving protocol information that is returned as a response by the server on the basis of the registration request, wherein the protocol information comprises an implicit number (S110); and completing registration according to the implicit number (S120).

Description

网关管理方法、网关和存储介质Gateway management method, gateway and storage medium
相关申请的交叉引用Cross-references to related applications
本申请基于申请号为202010556525.9、申请日为2020年06月17日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on a Chinese patent application with an application number of 202010556525.9 and an application date of June 17, 2020, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated into this application by reference.
技术领域Technical field
本申请实施例涉及通信技术领域,尤其涉及一种网关管理方法、网关和存储介质。The embodiments of the present application relate to the field of communication technologies, and in particular, to a gateway management method, a gateway, and a storage medium.
背景技术Background technique
家庭宽带通信接入中,接入的方式无论是光纤、XDSL(Digital SubscriberLine,数字用户线路)、Cable(有线电视电缆)、电力线或无线方式,家庭网关都能够同时为用户提供运营商业或网关自定义扩展业务来满足用户日益丰富的需求。目前家庭网关上对业务的远程配置管理方式,由于都是由运营商在业务开通或者关闭时,通过管理平台进行下发,导致用户无法对网关进行远程管理。In home broadband communication access, whether the access method is optical fiber, XDSL (Digital Subscriber Line), Cable (cable), power line or wireless, the home gateway can provide users with operating business or gateway self-control at the same time. Define and expand the business to meet the increasingly diverse needs of users. At present, the remote configuration management method of the service on the home gateway is issued by the operator through the management platform when the service is opened or closed, so that users cannot remotely manage the gateway.
发明内容Summary of the invention
本申请实施例提供了一种网关管理方法、网关和存储介质。The embodiments of the present application provide a gateway management method, a gateway, and a storage medium.
本申请实施例提供了一种网关管理方法,所述方法包括:向服务器发送注册请求,接收所述服务器基于所述注册请求响应的协议信息,其中所述协议信息包括隐式号码;根据所述隐式号码完成注册。The embodiment of the application provides a gateway management method, the method includes: sending a registration request to a server, and receiving protocol information that the server responds based on the registration request, wherein the protocol information includes an implicit number; The implicit number completes the registration.
本申请实施例还提出了一种网关,包括存储器和处理器,所述存储器被设置为存储计算机程序;所述处理器,被设置为执行所述计算机程序并在执行所述计算机程序时实现前述的网关管理方法的步骤。The embodiment of the present application also proposes a gateway, including a memory and a processor, the memory is configured to store a computer program; the processor is configured to execute the computer program and implement the foregoing when the computer program is executed The steps of the gateway management method.
本申请实施例还提出了一种计算机可读存储介质,用于计算机可读存储,其特征在于,所述存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如前述的网关管理方法的步骤。The embodiment of the present application also proposes a computer-readable storage medium for computer-readable storage, characterized in that the storage medium stores one or more programs, and the one or more programs can be stored by one or more programs. Each processor executes to implement the steps of the aforementioned gateway management method.
附图说明Description of the drawings
图1是本申请实施例提供的一种网关管理方法的示意流程图。Fig. 1 is a schematic flowchart of a gateway management method provided by an embodiment of the present application.
图2是本申请实施例提供的另一种网关管理方法的示意流程图。Fig. 2 is a schematic flowchart of another gateway management method provided by an embodiment of the present application.
图3为本申请实施例中网关、服务器与终端的场景示意图。Fig. 3 is a schematic diagram of a scenario of a gateway, a server, and a terminal in an embodiment of the application.
图4是本申请实施例提供的另一种网关管理方法的示意流程图。Fig. 4 is a schematic flowchart of another gateway management method provided by an embodiment of the present application.
图5为本申请网关与终端的场景示意图。Figure 5 is a schematic diagram of a scenario of a gateway and a terminal in this application.
图6为本申请实施例提供的一种网关的结构示意性框图。FIG. 6 is a schematic block diagram of the structure of a gateway provided by an embodiment of the application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请实施例中的一部分,而不是全部的实施例。基于本 申请实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请实施例保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are a part of the embodiments of the present application, rather than all of them. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the embodiments of the present application.
附图中所示的流程图仅是示例说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解、组合或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowchart shown in the drawings is only an example, and does not necessarily include all contents and operations/steps, nor does it have to be executed in the described order. For example, some operations/steps can also be decomposed, combined or partially combined, so the actual execution order may be changed according to actual conditions.
本申请实施例提供了一种网关管理方法、网关和存储介质。The embodiments of the present application provide a gateway management method, a gateway, and a storage medium.
下面结合附图,对本申请实施例的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Hereinafter, some implementation manners of the embodiments of the present application will be described in detail with reference to the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.
请参阅图1,图1是本申请实施例提供的一种网关管理方法的示意流程图。Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a gateway management method provided by an embodiment of the present application.
如图1所示,本实施例提供了一种网关管理方法,该方法包括以下步骤:As shown in Figure 1, this embodiment provides a gateway management method, which includes the following steps:
步骤S110:向服务器发送注册请求,接收服务器基于注册请求响应的协议信息,其中协议信息包括隐式号码。Step S110: Send a registration request to the server, and receive protocol information that the server responds based on the registration request, where the protocol information includes an implicit number.
示范性的,向服务器发送注册请求,其中注册请求包含请求获取与该网关相关的隐式号码。例如,用户通过终端向服务器开通远程管理的权限,在网关接收到服务器发送的普通账号或语音账号时,自动向服务器发送注册请求,以获取对应的隐式号码。其中,普通账号或语音账号不能对网关进行远程管理。接收服务器基于该注册请求响应的协议信息,该协议信息包括隐式号码。例如,服务器在接收到网关发送的注册请求时,获取该注册请求中携带的设备信息,将该设备信息与预置设备信息匹配。若该设备信息与预置设备信息匹配一致,则确定该网关开通了远程管理的权限,向该网关发送远程管理的权限相关的协议信息。如,服务器的SS/IMS返回的注册成功200OK,该200OK包含P-Associated-URI头域。解析该P-Associated-URI头域,获取该头域中携带的用于远程管理网关的隐式号码。Exemplarily, a registration request is sent to the server, where the registration request includes a request to obtain an implicit number related to the gateway. For example, the user opens the remote management authority to the server through the terminal, and when the gateway receives the ordinary account or voice account sent by the server, it automatically sends a registration request to the server to obtain the corresponding implicit number. Among them, ordinary accounts or voice accounts cannot remotely manage the gateway. The receiving server responds to protocol information based on the registration request, and the protocol information includes an implicit number. For example, when the server receives the registration request sent by the gateway, it obtains the device information carried in the registration request, and matches the device information with the preset device information. If the device information matches the preset device information, it is determined that the gateway has activated the remote management authority, and the protocol information related to the remote management authority is sent to the gateway. For example, the SS/IMS of the server returns a 200 OK for successful registration, and the 200 OK includes the P-Associated-URI header field. Parse the P-Associated-URI header field to obtain the implicit number used for the remote management gateway carried in the header field.
步骤S120:根据隐式号码完成注册。Step S120: Complete registration according to the implicit number.
示范性的,在获取到协议信息中的隐式号码时,通过该隐式号码完成注册。例如,网关在获取到隐式号码时,存储该隐式号码,并基于该隐式号码更新该网关中存储的预置条目管理的权限。当获取到预置条目管理的远程管理权限时,确定完成注册。Exemplarily, when the implicit number in the agreement information is obtained, the registration is completed through the implicit number. For example, when the gateway obtains an implicit number, it stores the implicit number, and updates the preset entry management authority stored in the gateway based on the implicit number. When the remote management authority of the preset item management is obtained, the registration is determined to be completed.
在本申请实施例中,通过向服务器进行注册,接收到服务器基于该注册请求响应的协议信息,获取该协议信息中的隐式号码。通过该隐式号码完成注册,以使用户通过该隐式号码远程管理该网关,实现在不改变现有网络设备的情况下,用户可以安全、方便地接入家庭网关,并且根据需要灵活地、易扩展地远程管理家庭网关,且不影响家庭网关原有的功能。In the embodiment of the present application, by registering with the server, the server receives the protocol information that the server responds based on the registration request, and obtains the implicit number in the protocol information. Registration is completed through the implicit number, so that the user can remotely manage the gateway through the implicit number, so that the user can safely and conveniently access the home gateway without changing the existing network equipment, and flexibly, according to needs, It is easy to expand and remotely manage the home gateway without affecting the original functions of the home gateway.
请参阅图2,图2是本申请实施例提供的另一种网关管理方法的示意流程图。Please refer to FIG. 2, which is a schematic flowchart of another gateway management method provided by an embodiment of the present application.
如图2所示,本实施例提供了一种网关管理方法,该方法包括以下步骤:As shown in Figure 2, this embodiment provides a gateway management method, which includes the following steps:
步骤S210:向服务器发送注册请求,接收服务器基于注册请求响应的协议信息,其中协议信息包括隐式号码。Step S210: Send a registration request to the server, and receive protocol information that the server responds based on the registration request, where the protocol information includes an implicit number.
示范性的,向服务器发送注册请求,其中注册请求包含请求获取与该网关相关的隐式号码。例如,用户通过终端向服务器开通远程管理的权限,在网关接收到服务器发送的普通账号或语音账号时,自动向服务器发送注册请求,以获取对应的隐式号码。其中,普通账号或语音账号不能对网关进行远程管理。接收服务器基于该注册请求响应的协议信息,该协议信息包括隐式号码。例如,服务器在接收到网关发送的注册请求时,获取该注册请求中携带的设备信息,将该设备信息与预置设备信息匹配。若该设备信息与预置设备信息匹配一致,则确定该网关开通了远程管理的权限,向该网关发送远程管理的权限相关的协议信息。如,服务器的SS/IMS返回的注册成功200OK,该200OK包含P-Associated-URI头域。解析该P-Associated-URI头域,获取该头域中携带的用于远程管理网关的隐式号码。Exemplarily, a registration request is sent to the server, where the registration request includes a request to obtain an implicit number related to the gateway. For example, the user opens the remote management authority to the server through the terminal, and when the gateway receives the ordinary account or voice account sent by the server, it automatically sends a registration request to the server to obtain the corresponding implicit number. Among them, ordinary accounts or voice accounts cannot remotely manage the gateway. The receiving server responds to protocol information based on the registration request, and the protocol information includes an implicit number. For example, when the server receives the registration request sent by the gateway, it obtains the device information carried in the registration request, and matches the device information with the preset device information. If the device information matches the preset device information, it is determined that the gateway has activated the remote management authority, and the protocol information related to the remote management authority is sent to the gateway. For example, the SS/IMS of the server returns a 200 OK for successful registration, and the 200 OK includes the P-Associated-URI header field. Parse the P-Associated-URI header field to obtain the implicit number used for the remote management gateway carried in the header field.
步骤S220:根据隐式号码完成注册。Step S220: Complete registration according to the implicit number.
示范性的,在获取到协议信息中的隐式号码时,通过该隐式号码完成注册。例如,网关在获取到隐式号码时,存储该隐式号码,并基于该隐式号码更新该网关中存储的预置条目管理的权限。当获取到预置条目管理的远程管理权限时,确定完成注册。Exemplarily, when the implicit number in the agreement information is obtained, the registration is completed through the implicit number. For example, when the gateway obtains an implicit number, it stores the implicit number, and updates the preset entry management authority stored in the gateway based on the implicit number. When the remote management authority of the preset item management is obtained, the registration is determined to be completed.
步骤S230:接收服务器响应终端发送的呼入请求的呼入信令,获取呼入信令携带的设备信息。Step S230: The server receives the incoming signal in response to the incoming request sent by the terminal, and obtains the device information carried in the incoming signal.
示范性的,如图3所示,接收服务器响应终端发送的呼入请求的呼入信令,例如,用户通过终端向服务器发送呼入请求,其中,该终端包括手机、电脑等具有通信功能的终端。服务器在接收到用户通过终端发送的呼入请求,获取该呼入请求携带的网关SIP账号。将该网关SIP账号与预置隐式号码进行匹配,确定该网关SIP账号是否为隐式号码。若该网关SIP账号与隐式号码相匹配,则确定该网关SIP账号为隐式号码。若该网关SIP账号与隐式号码不匹配,确定该网关SIP账号不是隐式号码。若该网关SIP账号不是隐式号码,则确定该呼入请求的接入方式为第二接听方式。若确定该网关SIP账号是隐式号码,则获取该呼入请求中携带的呼入INVITE信令,并向网关发送该呼入INVITE信令。网关在获取到呼入INVITE信令时,获取该呼入INVITE信令携带的设备信息。Exemplarily, as shown in FIG. 3, the receiving server responds to the incoming call signaling of the incoming call request sent by the terminal. For example, the user sends the incoming call request to the server through the terminal, where the terminal includes a mobile phone, a computer, etc. with communication functions. terminal. After receiving the incoming call request sent by the user through the terminal, the server obtains the SIP account of the gateway carried in the incoming call request. Match the gateway SIP account with a preset implicit number to determine whether the gateway SIP account is an implicit number. If the gateway SIP account matches the implicit number, it is determined that the gateway SIP account is an implicit number. If the gateway SIP account does not match the implicit number, it is determined that the gateway SIP account is not an implicit number. If the gateway SIP account is not an implicit number, it is determined that the access mode of the incoming call request is the second answering mode. If it is determined that the gateway SIP account is an implicit number, the incoming INVITE signaling carried in the incoming call request is obtained, and the incoming INVITE signaling is sent to the gateway. When the gateway obtains the incoming INVITE signaling, it obtains the device information carried in the incoming INVITE signaling.
步骤S240:根据设备信息,确定呼入请求的接听方式。Step S240: Determine the answering mode of the incoming call request according to the device information.
示范性的,在获取到设备信息时,确定该呼入请求的接听方式为第一接听方式,其中,该接听方式包括第一接听方式和第二接听方式。第一接听方式可以远程管理网关,第二接听方式为普通呼叫,不能远程管理网关。Exemplarily, when the device information is obtained, it is determined that the answering method of the incoming call request is the first answering method, where the answering method includes the first answering method and the second answering method. The first answering method can remotely manage the gateway, and the second answering method is a normal call, which cannot remotely manage the gateway.
在一实施例中,接听方式包括第一接听方式和第二接听方式;根据设备信息,确定呼入请求的接听方式,包括:将设备信息与预置设备信息进行比对;若设备信息与预置设备信息一致,则确定接听方式为第一接听方式;若设备信息与预置设备信息不一致,则确定接听方式为第二接听方式。In one embodiment, the answering method includes the first answering method and the second answering method; determining the answering method of the incoming call request according to the device information includes: comparing the device information with the preset device information; if the device information is compared with the preset device information If the set device information is consistent, the answering method is determined to be the first answering method; if the device information is inconsistent with the preset device information, the answering method is determined to be the second answering method.
示范性的,在获取到设备信息时,将该设备信息与预置设备信息进行比对,若该设备信息与预置设备信息一致,则确定该呼入请求的接听方式为第一接听方式;若该设备信息 与预置设备信息不一致,则确定该呼入请求的接听方式为第二接听方式。例如,该设备信息包括设备名称、型号、ID等,预置设备信息包括设备名称、型号、ID等。将该设备信息的设备名称、型号、ID分别与预置设备信息的设备名称、型号、ID进行比对,若该设备信息的设备名称与预置设备信息的设备名称一致、该设备信息的型号与预置设备信息的型号比对一致和/或该设备信息与预置设备信息的ID一致,则确定呼入请求的接听方式为第一接听方式。Exemplarily, when the device information is obtained, the device information is compared with the preset device information, and if the device information is consistent with the preset device information, it is determined that the answering method of the incoming call request is the first answering method; If the device information is inconsistent with the preset device information, it is determined that the answering mode of the incoming call request is the second answering mode. For example, the device information includes the device name, model, ID, etc., and the preset device information includes the device name, model, ID, etc. Compare the device name, model, and ID of the device information with the device name, model, and ID of the preset device information. If the device name of the device information is consistent with the device name of the preset device information, the model of the device information If the model comparison is consistent with the preset device information and/or the device information is consistent with the ID of the preset device information, it is determined that the answering method of the incoming call request is the first answering method.
在本申请实施例中,通过向服务器发送注册请求,接收服务器基于该注册请求响应的协议信息,获取该协议信息中的隐式号码完成注册。在完成注册后,接收终端的呼入指令,根据该划(呼)入指令中的设备信息,确定与终端的接听方式,根据多种接听方式以满足用户的需求,通过设备信息来确定与终端的接听方式,增强与终端接听的安全性。In the embodiment of the present application, by sending a registration request to the server, receiving the protocol information that the server responds based on the registration request, and obtaining the implicit number in the protocol information to complete the registration. After completing the registration, receive the incoming call instruction of the terminal, determine the answering method to the terminal according to the device information in the incoming call instruction, and determine the answering method to the terminal according to the multiple answering methods to meet the needs of the user. The answering method enhances the security of answering with the terminal.
请参阅图4,图4是本申请实施例提供的另一种网关管理方法的示意流程图。Please refer to FIG. 4, which is a schematic flowchart of another gateway management method provided by an embodiment of the present application.
如图4所示,本实施例提供了一种网关管理方法,该方法包括以下步骤:As shown in Figure 4, this embodiment provides a gateway management method, which includes the following steps:
步骤S310:向服务器发送注册请求,接收服务器基于注册请求响应的协议信息,其中协议信息包括隐式号码。Step S310: Send a registration request to the server, and receive protocol information that the server responds based on the registration request, where the protocol information includes an implicit number.
示范性的,向服务器发送注册请求,其中注册请求包含请求获取与该网关相关的隐式号码。例如,用户通过终端向服务器开通远程管理的权限,在网关接收到服务器发送的普通账号或语音账号时,自动向服务器发送注册请求,以获取对应的隐式号码。其中,普通账号或语音账号不能对网关进行远程管理。接收服务器基于该注册请求响应的协议信息,该协议信息包括隐式号码。例如,服务器在接收到网关发送的注册请求时,获取该注册请求中携带的设备信息,将该设备信息与预置设备信息匹配。若该设备信息与预置设备信息匹配一致,则确定该网关开通了远程管理的权限,向该网关发送远程管理的权限相关的协议信息。如,服务器的SS/IMS返回的注册成功200OK,该200OK包含P-Associated-URI头域。解析该P-Associated-URI头域,获取该头域中携带的用于远程管理网关的隐式号码。Exemplarily, a registration request is sent to the server, where the registration request includes a request to obtain an implicit number related to the gateway. For example, the user opens the remote management authority to the server through the terminal, and when the gateway receives the ordinary account or voice account sent by the server, it automatically sends a registration request to the server to obtain the corresponding implicit number. Among them, ordinary accounts or voice accounts cannot remotely manage the gateway. The receiving server responds to protocol information based on the registration request, and the protocol information includes an implicit number. For example, when the server receives the registration request sent by the gateway, it obtains the device information carried in the registration request, and matches the device information with the preset device information. If the device information matches the preset device information, it is determined that the gateway has activated the remote management authority, and the protocol information related to the remote management authority is sent to the gateway. For example, the SS/IMS of the server returns a 200 OK for successful registration, and the 200 OK includes the P-Associated-URI header field. Parse the P-Associated-URI header field to obtain the implicit number used for the remote management gateway carried in the header field.
步骤S320:根据隐式号码完成注册。Step S320: Complete registration according to the implicit number.
示范性的,在获取到协议信息中的隐式号码时,通过该隐式号码完成注册。例如,网关在获取到隐式号码时,存储该隐式号码,并基于该隐式号码更新该网关中存储的预置条目管理的权限。当获取到预置条目管理的远程管理权限时,确定完成注册。Exemplarily, when the implicit number in the agreement information is obtained, the registration is completed through the implicit number. For example, when the gateway obtains an implicit number, it stores the implicit number, and updates the preset entry management authority stored in the gateway based on the implicit number. When the remote management authority of the preset item management is obtained, the registration is determined to be completed.
步骤S330:接收服务器响应终端发送的呼入请求的呼入信令,获取呼入信令携带的设备信息。Step S330: The server receives the incoming signal in response to the incoming request sent by the terminal, and obtains the device information carried in the incoming signal.
示范性的,接收服务器响应终端发送的呼入请求的呼入信令,例如,用户通过终端向服务器发送呼入请求,其中,该终端包括手机、电脑等具有通信功能的终端。服务器在接收到用户通过终端发送的呼入请求,获取该呼入请求携带的网关SIP账号。将该网关SIP账号与预置隐式号码进行匹配,确定该网关SIP账号是否为隐式号码。若该网关SIP账号与隐式号码相匹配,则确定该网关SIP账号为隐式号码。若该网关SIP账号与隐式号码不 匹配,确定该网关SIP账号不是隐式号码。若该网关SIP账号不是隐式号码,则确定该呼入请求的接入方式为第二接听方式。若确定该网关SIP账号是隐式号码,则获取该呼入请求中携带的呼入INVITE信令,并向网关发送该呼入INVITE信令。网关在获取到呼入INVITE信令时,获取该呼入INVITE信令携带的设备信息。Exemplarily, the receiving server responds to the incoming signal of the incoming request sent by the terminal. For example, the user sends the incoming request to the server through the terminal, where the terminal includes a terminal with communication function such as a mobile phone or a computer. After receiving the incoming call request sent by the user through the terminal, the server obtains the SIP account of the gateway carried in the incoming call request. Match the gateway SIP account with a preset implicit number to determine whether the gateway SIP account is an implicit number. If the gateway SIP account matches the implicit number, it is determined that the gateway SIP account is an implicit number. If the gateway SIP account does not match the implicit number, determine that the gateway SIP account is not an implicit number. If the gateway SIP account is not an implicit number, it is determined that the access mode of the incoming call request is the second answering mode. If it is determined that the gateway SIP account is an implicit number, the incoming INVITE signaling carried in the incoming call request is obtained, and the incoming INVITE signaling is sent to the gateway. When the gateway obtains the incoming INVITE signaling, it obtains the device information carried in the incoming INVITE signaling.
步骤S340:根据设备信息,确定呼入请求的接听方式。Step S340: Determine the answering mode of the incoming call request according to the device information.
示范性的,在获取到设备信息时,确定该呼入请求的接听方式为第一接听方式,其中,该接听方式包括第一接听方式和第二接听方式。第一接听方式可以远程管理网关,第二接听方式为普通呼叫,不能远程管理网关。Exemplarily, when the device information is obtained, it is determined that the answering method of the incoming call request is the first answering method, where the answering method includes the first answering method and the second answering method. The first answering method can remotely manage the gateway, and the second answering method is a normal call, which cannot remotely manage the gateway.
步骤S350:在通过第一接听方式接听呼入请求时,接收终端发送的密码信息。Step S350: When answering the incoming call request in the first answering mode, receive the password information sent by the terminal.
示范性的,如图5所示,在通过第一接听方式接听终端发送的呼入请求时,接收终端发送的密码信息。例如,在通过第一接听方式接听终端发送的呼入请求时,基于用户的操作指令在终端上发送密码信息,该操作指令包括点击操作指令或语音指令等。密码信息包括数据、字母以及特殊符号等。其中,该网关还包括定时器。例如,在通过第一接听方式接听终端发送的呼入请求时,启动定时器。Exemplarily, as shown in FIG. 5, when the incoming call request sent by the terminal is answered in the first answering mode, the password information sent by the terminal is received. For example, when answering the incoming call request sent by the terminal in the first answering mode, the password information is sent on the terminal based on the user's operation instruction, and the operation instruction includes a click operation instruction or a voice instruction. The password information includes data, letters, and special symbols. Among them, the gateway also includes a timer. For example, when answering the incoming call request sent by the terminal in the first answering mode, the timer is started.
步骤S360:若密码信息与预置密码信息一致,则获取终端发送的业务管理请求。Step S360: If the password information is consistent with the preset password information, obtain the service management request sent by the terminal.
示范性的,在接收到终端发送的密码信息时,若用户通过终端输入密码信息的时间超过定时器的预设时间时,则确定用户输入密码信息超时。向终端发送预置提示声音,以提示用户输入密码信息超时。在接收到终端发送的密码信息时,确定该密码信息与预置密码信息是否一致。若接收到终端发送的密码信息与预置密码信息一致,则获取终端发送的业务管理请求。Exemplarily, when the password information sent by the terminal is received, if the time for the user to input the password information through the terminal exceeds the preset time of the timer, it is determined that the input of the password information by the user has timed out. Send a preset prompt sound to the terminal to prompt the user to enter the password information timeout. When receiving the password information sent by the terminal, it is determined whether the password information is consistent with the preset password information. If the received password information sent by the terminal is consistent with the preset password information, the service management request sent by the terminal is acquired.
步骤S370:根据业务管理请求,开通和/或关闭对应的业务。Step S370: Turn on and/or turn off the corresponding business according to the business management request.
示范性的,在获取到终端发送的业务管理请求,该业务管理请求中携带有业务信息,通过该业务信息开通和/或关闭对应的业务。例如,该业务管理请求中携带有开通或关闭业务1的信息时,开通或关闭对应的业务1,或者,该业务管理请求中携带有开通业务1的信息和关闭业务2的信息,通过开通业务1的信息开通业务1和通过关闭业务2的信息关闭业务2。Exemplarily, when a service management request sent by a terminal is obtained, the service management request carries service information, and the corresponding service is opened and/or closed through the service information. For example, when the service management request carries the information for opening or closing service 1, the corresponding service 1 is activated or closed, or the service management request carries the information for opening or closing service 1 and the information for closing service 2 can be activated by opening or closing the service. The information of 1 opens business 1 and the information of closes business 2 closes business 2.
在一实施例中,根据业务管理请求,开通和/关闭对应的业务,包括:获取业务管理信息中的DTMF号码;根据DTMF号码,开通和/或关闭对应的业务。In one embodiment, opening and/or closing the corresponding service according to the service management request includes: obtaining the DTMF number in the service management information; and opening and/or closing the corresponding service according to the DTMF number.
示范性的,在接收到终端发送的业务管理请求时,获取该业务管理请求中携带的DTMF号码,根据该DTMF号码开通或关闭对应的业务。例如,获取该业务管理请求中携带的序号1、序号2等。通过该序号1开通对应的业务和序号2关闭对应的业务。Exemplarily, when a service management request sent by the terminal is received, the DTMF number carried in the service management request is obtained, and the corresponding service is activated or closed according to the DTMF number. For example, acquiring serial number 1, serial number 2, etc. carried in the service management request. The corresponding service is activated through the sequence number 1 and the corresponding service is closed through the sequence number 2.
在一实施例中,根据DTMF号码,开通和/或关闭对应的业务,包括:将DTMF号码与预置条目管理key值进行匹配,确定与预置条目管理key值相匹配的业务以及业务标识;基于业务标识,开通或关闭业务。In one embodiment, opening and/or closing the corresponding service according to the DTMF number includes: matching the DTMF number with the preset item management key value, and determining the service and the service identifier that match the preset item management key value; Based on the business identification, the business is opened or closed.
示范性的,在获取到DTMF号码时,将该DTMF号码与预置条目管理key值进行匹配。该预置条目管理包括多个业务,例如,key值为1表示开通业务1、key值为2表示关闭业务1等。当获取到序号1,将序号1与预置条目管理key值进行匹配,得到相匹配的业务1,业务标识为开通标识。通过业务1和开通标识,开通该业务1;或者,当获取到序号1和序号3时,将序号1和序号3分别与预置条目管理key值进行匹配,得到序号1相匹配的业务1,业务标识为开通标识;得到序号3相匹配的业务2,业务标识为关闭标识。通过业务1和开通标识,开通该业务1和通过业务3和关闭标识,关闭该业务2。Exemplarily, when the DTMF number is obtained, the DTMF number is matched with the preset entry management key value. The preset item management includes multiple services. For example, a key value of 1 means opening a service 1, a key value of 2 means closing a service 1, and so on. When the serial number 1 is obtained, the serial number 1 is matched with the preset entry management key value, and the matching service 1 is obtained, and the service ID is the activation ID. The service 1 is activated through service 1 and the activation identifier; or, when the sequence number 1 and sequence number 3 are obtained, the sequence number 1 and sequence number 3 are matched with the preset item management key values respectively to obtain the service 1 that matches the sequence number 1. The service ID is the opening ID; the service 2 that matches the sequence number 3 is obtained, and the service ID is the closing ID. Through the service 1 and the opening flag, the service 1 is opened and the service 3 and the closing flag are used to close the service 2.
步骤S380:若密码信息与预置密码信息不一致,则终止呼入请求。Step S380: If the password information is inconsistent with the preset password information, terminate the incoming call request.
若该密码信息与预置密码信息不一致,则记录终端发送密码信息的次数,并向终端发送密码信息错误的提示信息。若终端发送密码信息的次数大于预设次数,则关闭定时器,并确定终端发送密码信息的次数大于预设次数,终止此次呼入请求。If the password information is inconsistent with the preset password information, the number of times the terminal has sent the password information is recorded, and a prompt message indicating that the password information is incorrect is sent to the terminal. If the number of times that the terminal sends password information is greater than the preset number of times, the timer is turned off, and it is determined that the number of times the terminal sends password information is greater than the preset number of times, and the incoming call request is terminated.
在本实施例中,在通过服务器发送的隐式号码完成注册后,基于终端发送的呼入请求中的设备信息确定与终端的接听方式,当与终端通过第一接听方式接听时,基于用户发送的密码信息确定该密码信息是否与预置密码信息一致,若该密码信息与预置密码信息一致,则接收终端发送的业务管理请求,通过该业务管理请求开通和/或关闭对应的业务,实现用户通过隐式号码远程管理网关,也增强远程管理网关的安全性。In this embodiment, after the registration is completed through the implicit number sent by the server, the answering method with the terminal is determined based on the device information in the incoming call request sent by the terminal. When answering with the terminal through the first answering method, based on the user sending The password information determines whether the password information is consistent with the preset password information. If the password information is consistent with the preset password information, the service management request sent by the terminal is received, and the corresponding service is opened and/or closed through the service management request. The user manages the gateway remotely through the implicit number, which also enhances the security of the remote management gateway.
请参阅图6,图6是本申请实施例提供的一种网关的结构示意性框图。Please refer to FIG. 6, which is a schematic block diagram of the structure of a gateway according to an embodiment of the present application.
其中,网关包括家庭网关。Among them, the gateway includes a home gateway.
示例性的,网关还包括处理器、存储器,存储器被设置为存储计算机程序。Exemplarily, the gateway further includes a processor and a memory, and the memory is configured to store a computer program.
处理器,被设置为执行计算机程序并在执行计算机程序时实现本申请实施例提供的前述网关管理方法。The processor is configured to execute a computer program and, when executing the computer program, implement the aforementioned gateway management method provided in the embodiment of the present application.
应当理解的是,处理器可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。其中,通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that the processor may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), and application specific integrated circuits (Application Specific Integrated Circuits). Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
本申请实施例中还提供一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序被处理器执行时,使处理器实现本申请实施例提供的任一项网关管理方法。The embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the processor implements any of the gateway management methods provided in the embodiments of the present application.
本申请实施例公开了一种网关管理方法、网关和存储介质,通过向服务器发送注册请求,接收所述服务器基于所述注册请求响应的协议信息,其中所述协议信息包括隐式号码;根据所述隐式号码完成注册。可见,本技术方案通过注册获取隐式号码,基于隐式号码对网关进行远程管理。The embodiment of the application discloses a gateway management method, a gateway, and a storage medium. By sending a registration request to a server, the server receives protocol information based on the registration request response, wherein the protocol information includes an implicit number; Complete the registration with the implicit number. It can be seen that this technical solution obtains the implicit number through registration, and remotely manages the gateway based on the implicit number.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置 中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读存储介质上,计算机可读存储介质可以包括计算机可读存储介质(或非暂时性介质)和通信介质(或暂时性介质)。A person of ordinary skill in the art can understand that all or some of the steps, functional modules/units in the system, and apparatus in the methods disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. In the hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may consist of several physical components. The components are executed cooperatively. Certain physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit . Such software may be distributed on a computer-readable storage medium, and the computer-readable storage medium may include a computer-readable storage medium (or a non-transitory medium) and a communication medium (or a transitory medium).
如本领域普通技术人员公知的,术语计算机可读存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机可读存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。As is well known to those of ordinary skill in the art, the term computer-readable storage medium includes volatile and non-volatile properties implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Volatile, removable and non-removable media. Computer-readable storage media include but are not limited to RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, Or it can be used to store desired information and can be any other medium that can be accessed by a computer. In addition, as is well known to those of ordinary skill in the art, communication media usually contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery media. .
示例性的,计算机可读存储介质可以是前述实施例的电子设备的内部存储单元,例如电子设备的硬盘或内存。计算机可读存储介质也可以是电子设备的外部存储设备,例如电子设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。Exemplarily, the computer-readable storage medium may be an internal storage unit of the electronic device of the foregoing embodiment, such as a hard disk or a memory of the electronic device. The computer-readable storage medium can also be an external storage device of an electronic device, such as a plug-in hard disk equipped on an electronic device, a smart memory card (Smart Media Card, SMC), a Secure Digital (SD) card, and a flash memory card ( Flash Card) etc.
前述各实施例提供的电子设备和计算机可读存储介质,通过向服务器发送注册请求,接收服务器基于所述注册请求响应的协议信息,其中协议信息包括隐式号码;根据隐式号码完成注册。以使用户通过该隐式号码远程管理该网关,实现在不改变现有网络设备的情况下,用户可以安全、方便地接入家庭网关,并且根据需要灵活地、易扩展地远程管理家庭网关,且不影响家庭网关原有的功能。The electronic device and computer-readable storage medium provided by the foregoing embodiments send a registration request to the server, and receive the protocol information that the server responds based on the registration request, where the protocol information includes an implicit number; the registration is completed according to the implicit number. In order to enable the user to remotely manage the gateway through the implicit number, the user can safely and conveniently access the home gateway without changing the existing network equipment, and can flexibly and easily manage the home gateway remotely as needed. And it does not affect the original functions of the home gateway.
以上仅为本申请实施例的具体实施方式,但本申请实施例的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请实施例揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请实施例的保护范围之内。因此,本申请实施例的保护范围应以权利要求的保护范围为准。The above are only specific implementations of the embodiments of the present application, but the scope of protection of the embodiments of the present application is not limited thereto. Any person skilled in the art can easily think of various methods within the technical scope disclosed in the embodiments of the present application. Equivalent modifications or replacements, these modifications or replacements should all be covered within the protection scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application should be subject to the protection scope of the claims.

Claims (10)

  1. 一种网关管理方法,所述方法包括:A gateway management method, the method includes:
    向服务器发送注册请求,接收所述服务器基于所述注册请求响应的协议信息,其中所述协议信息包括隐式号码;Sending a registration request to a server, and receiving protocol information that the server responds based on the registration request, where the protocol information includes an implicit number;
    根据所述隐式号码完成注册。Complete the registration according to the implicit number.
  2. 根据权利要求1所述的网关管理方法,其中,所述隐式号码设置在所述协议信息中的头域信息中。The gateway management method according to claim 1, wherein the implicit number is set in header information in the protocol information.
  3. 根据权利要求1所述的网关管理方法,所述根据所述隐式号码完成注册之后,还包括:The gateway management method according to claim 1, after completing the registration according to the implicit number, further comprising:
    接收所述服务器响应终端发送的呼入请求的呼入信令,获取所述呼入信令携带的设备信息;Receiving the incoming signaling of the server in response to the incoming request sent by the terminal, and acquiring the device information carried in the incoming signaling;
    根据所述设备信息,确定呼入请求的接听方式。According to the device information, the way to answer the incoming call request is determined.
  4. 根据权利要求3所述的网关管理方法,其中,所述接听方式包括第一接听方式和第二接听方式;所述根据所述设备信息,确定呼入请求的接听方式,包括:The gateway management method according to claim 3, wherein the answering method includes a first answering method and a second answering method; the determining the answering method of the incoming call request according to the device information includes:
    将所述设备信息与预置设备信息进行比对;Compare the device information with the preset device information;
    若所述设备信息与预置设备信息一致,则确定所述接听方式为第一接听方式;If the device information is consistent with the preset device information, determining that the answering mode is the first answering mode;
    若所述设备信息与预置设备信息不一致,则确定所述接听方式为第二接听方式。If the device information is inconsistent with the preset device information, it is determined that the answering mode is the second answering mode.
  5. 根据权利要求3所述的网关管理方法,其中,所述接听方式包括第一接听方式;所述方法还包括:The gateway management method according to claim 3, wherein the answering mode comprises a first answering mode; the method further comprises:
    在通过所述第一接听方式接听所述呼入请求时,接收所述终端发送的密码信息;Receiving the password information sent by the terminal when answering the incoming call request through the first answering mode;
    若所述密码信息与预置密码信息一致,则获取所述终端发送的业务管理请求;If the password information is consistent with the preset password information, acquiring the service management request sent by the terminal;
    根据所述业务管理请求,开通和/或关闭对应的业务。According to the service management request, the corresponding service is opened and/or closed.
  6. 根据权利要求5所述的网关管理方法,其中,所述根据所述业务管理请求,开通和/或关闭对应的业务,包括:The gateway management method according to claim 5, wherein said opening and/or closing the corresponding service according to the service management request comprises:
    获取所述业务管理信息中的DTMF号码;Acquiring the DTMF number in the service management information;
    根据所述DTMF号码,开通和/或关闭对应的业务。According to the DTMF number, the corresponding service is opened and/or closed.
  7. 根据权利要求6所述的网关管理方法,其中,所述根据所述DTMF号码,开通和/或关闭对应的业务,包括:The gateway management method according to claim 6, wherein said opening and/or closing the corresponding service according to the DTMF number comprises:
    将所述DTMF号码与预置条目管理key值进行匹配,确定与所述预置条目管理key值相匹配的业务以及所述业务标识;Matching the DTMF number with a preset entry management key value, and determining a service that matches the preset entry management key value and the service identifier;
    基于所述业务标识,开通或关闭所述业务。Based on the service identifier, the service is activated or deactivated.
  8. 根据权利要求5所述的网关管理方法,其中,所述接收所述终端发送的密码信息之后,还包括:若所述密码信息与预置密码信息不一致,则终止所述呼入请求。The gateway management method according to claim 5, wherein after receiving the password information sent by the terminal, the method further comprises: if the password information is inconsistent with preset password information, terminating the incoming call request.
  9. 一种网关,包括存储器和处理器,所述存储器被设置为存储计算机程序;A gateway includes a memory and a processor, and the memory is configured to store a computer program;
    所述处理器,被设置为执行所述计算机程序并在执行所述计算机程序时实现如权利要求1至8中任一项所述的网关管理方法的步骤。The processor is configured to execute the computer program and implement the steps of the gateway management method according to any one of claims 1 to 8 when the computer program is executed.
  10. 一种计算机可读存储介质,用于计算机可读存储,所述存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如权利要求1至8中任一项所述的网关管理方法的步骤。A computer-readable storage medium used for computer-readable storage. The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors, so as to realize as claimed in claim 1. To the steps of the gateway management method described in any one of 8.
PCT/CN2021/100631 2020-06-17 2021-06-17 Gateway management method, gateway and storage medium WO2021254439A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010556525.9 2020-06-17
CN202010556525.9A CN113810350A (en) 2020-06-17 2020-06-17 Gateway management method, gateway and storage medium

Publications (1)

Publication Number Publication Date
WO2021254439A1 true WO2021254439A1 (en) 2021-12-23

Family

ID=78943297

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/100631 WO2021254439A1 (en) 2020-06-17 2021-06-17 Gateway management method, gateway and storage medium

Country Status (2)

Country Link
CN (1) CN113810350A (en)
WO (1) WO2021254439A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101827005A (en) * 2010-05-13 2010-09-08 中兴通讯股份有限公司 Method for automatically configuring home gateway and system
CN102195839A (en) * 2011-05-05 2011-09-21 中国联合网络通信集团有限公司 Home gateway configuration method, home gateway and gateway server
US20150373481A1 (en) * 2014-06-20 2015-12-24 Samsung Electronics Co., Ltd. Method and apparatus for registering devices in gateway
CN107666418A (en) * 2016-07-27 2018-02-06 中兴通讯股份有限公司 A kind of account generation method, apparatus and system
CN111163035A (en) * 2018-11-07 2020-05-15 中国电信股份有限公司 Method, device and system for managing remote connection of home gateway

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100479405C (en) * 2006-11-24 2009-04-15 中兴通讯股份有限公司 A method for automatic opening of home gateway service
CN101917526A (en) * 2010-08-24 2010-12-15 杭州华三通信技术有限公司 Method and equipment for number collocation in SIP (Session Initiation Protocol) telephone network
CN104917674B (en) * 2015-05-25 2018-10-19 苏州工业园区服务外包职业学院 A kind of family gateway equipment register method realized by telephone service
CN106210367A (en) * 2016-07-29 2016-12-07 迈普通信技术股份有限公司 A kind of method and device configuring voice gateways
CN110266576B (en) * 2019-05-06 2021-03-16 中国联合网络通信集团有限公司 Voice communication method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101827005A (en) * 2010-05-13 2010-09-08 中兴通讯股份有限公司 Method for automatically configuring home gateway and system
CN102195839A (en) * 2011-05-05 2011-09-21 中国联合网络通信集团有限公司 Home gateway configuration method, home gateway and gateway server
US20150373481A1 (en) * 2014-06-20 2015-12-24 Samsung Electronics Co., Ltd. Method and apparatus for registering devices in gateway
CN107666418A (en) * 2016-07-27 2018-02-06 中兴通讯股份有限公司 A kind of account generation method, apparatus and system
CN111163035A (en) * 2018-11-07 2020-05-15 中国电信股份有限公司 Method, device and system for managing remote connection of home gateway

Also Published As

Publication number Publication date
CN113810350A (en) 2021-12-17

Similar Documents

Publication Publication Date Title
US10979560B2 (en) Computing device and system for rendering contact information that is retrieved from a network service
US8358759B2 (en) Biometric identification in communication
US9253311B2 (en) Controlled recorded 3-way calling
US9049253B2 (en) Resetting / restarting SIP endpoint devices
US8744053B2 (en) Methods, apparatus, and computer program products for providing dynamic replacement communication identification service
US20130182703A1 (en) System and method for providing automatic determination of a call type in telephony services over a data network
US20170104870A1 (en) A method to authenticate calls in a telecommunication system
CN111327752B (en) Call processing method, device, communication system and storage medium
CN113271299B (en) Login method and server
CN104065824A (en) Method and system for call interception prompt processing based on mobile terminal, and mobile terminal
WO2021254439A1 (en) Gateway management method, gateway and storage medium
CN112468662A (en) Method and device for closing video color ring by terminal, electronic equipment and storage medium
CN112994922B (en) Method and device for configuring identification
CN116193019B (en) Android-based communication management and control method and device, storage medium and electronic equipment
CN109982275B (en) WiFi network conversation method and device under weak coverage
WO2016197652A1 (en) Identity recognition module switching method and mobile terminal
CN111835920A (en) Call processing method, device, equipment and storage medium
WO2019061131A1 (en) Method, server, and terminal for accessing conversation records

Legal Events

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

Ref document number: 21825126

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 28/04/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21825126

Country of ref document: EP

Kind code of ref document: A1