Gateway management method, gateway and storage medium
By sending a registration request to the server to obtain an implicit number, users can realize remote management of the home gateway, solving the problem that users cannot remotely manage the gateway by themselves, and achieving secure and convenient gateway management and flexible expansion.
Patent Information
- Application Number
- CN202010556525.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-17
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2040-06-17
AI Technical Summary
The remote configuration management method of home gateways is mainly controlled by the operator, and users cannot manage remotely by themselves.
By sending a registration request to the server, receiving protocol information containing an implicit number, and completing registration based on the implicit number, the user's remote management of the gateway is realized.
Users can safely and conveniently access the home gateway and flexibly manage the gateway remotely, enhancing management flexibility and scalability without affecting the original functions.
Smart Images

Figure CN113810350B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of communication technology, and in particular to a gateway management method, a gateway and a storage medium. Background Art
[0002] In home broadband communication access, whether the access method is optical fiber, XDSL (Digital Subscriber Line), Cable (cable TV cable), power line or wireless, the home gateway can provide users with business operations or gateway customized extension services to meet the increasingly diverse needs of users. At present, the remote configuration and management method of services on the home gateway is issued by the operator through the management platform when the service is opened or closed, resulting in users being unable to remotely manage the gateway. Summary of the invention
[0003] The embodiment of the present invention provides a gateway management method, a gateway and a storage medium, so that a user can remotely manage the gateway.
[0004] To achieve the above-mentioned purpose, an embodiment of the present invention provides a gateway management method, which includes: sending a registration request to a server, receiving protocol information of the server in response to the registration request, wherein the protocol information includes an implicit number; and completing registration according to the implicit number.
[0005] To achieve the above objectives, an embodiment of the present invention further proposes a gateway, comprising a memory and a processor, wherein the memory is used to store a computer program; the processor is used to execute the computer program and implement the steps of the aforementioned gateway management method when executing the computer program.
[0006] To achieve the above objectives, an embodiment of the present invention 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 executed by one or more processors to implement the steps of the gateway management method as described above.
[0007] The embodiment of the present invention discloses a gateway management method, a gateway and a storage medium, which sends a registration request to a server, receives protocol information of the server in response to the registration request, wherein the protocol information includes an implicit number; and completes registration according to the implicit number. It can be seen that the technical solution obtains the implicit number through registration, and remotely manages the gateway based on the implicit number. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 It is a schematic flow chart of a gateway management method provided by an embodiment of the present invention.
[0009] Figure 2 It is a schematic flow chart of another gateway management method provided by an embodiment of the present invention.
[0010] Figure 3 The diagram is a schematic diagram of a scenario of a gateway, a server and a terminal in an embodiment of the present invention.
[0011] Figure 4 It is a schematic flow chart of another gateway management method provided by an embodiment of the present invention.
[0012] Figure 5 The diagram is a schematic diagram of a scenario of a gateway and a terminal according to an embodiment of the present invention.
[0013] Figure 6 A schematic block diagram of the structure of a gateway provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0014] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the embodiments of the present invention.
[0015] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0016] The embodiments of the present invention provide a gateway management method, a gateway and a storage medium.
[0017] In conjunction with the accompanying drawings, some implementation methods of the present invention are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0018] See also Figure 1 , Figure 1 It is a schematic flow chart of a gateway management method provided by an embodiment of the present invention.
[0019] like Figure 1 As shown, this embodiment provides a gateway management method, which includes the following steps:
[0020] Step S110: Send a registration request to the server, and receive protocol information in response to the registration request from the server, wherein the protocol information includes an implicit number.
[0021] Exemplarily, a registration request is sent to a server, wherein the registration request includes a request to obtain an implicit number associated with the gateway. For example, a user opens a remote management permission to a server through a terminal, and when the gateway receives an ordinary account or a voice account sent by the server, it automatically sends a registration request to the server to obtain the corresponding implicit number. Among them, an ordinary account or a voice account cannot remotely manage the gateway. The protocol information of the server response based on the registration request is received, 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 opened the remote management permission, and the protocol information related to the remote management permission is sent to the gateway. For example, the registration success 200OK returned by the SS / IMS of the server includes the P-Associated-URI header field. The P-Associated-URI header field is parsed to obtain the implicit number for remote management of the gateway carried in the header field.
[0022] Step S120: Complete registration according to the implicit number.
[0023] Exemplarily, when the implicit number in the protocol information is obtained, the registration is completed through the implicit number. For example, when the gateway obtains the implicit number, it stores the implicit number and updates the preset item management authority stored in the gateway based on the implicit number. When the remote management authority of the preset item management is obtained, it is determined that the registration is completed.
[0024] In the embodiment of the present invention, by registering with the server, receiving the protocol information of the server's response based on the registration request, and obtaining the implicit number in the protocol information. The 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 remotely manage the home gateway flexibly and easily as needed without affecting the original functions of the home gateway.
[0025] See also Figure 2 , Figure 2 It is a schematic flow chart of another gateway management method provided by an embodiment of the present invention.
[0026] like Figure 2 As shown, this embodiment provides a gateway management method, which includes the following steps:
[0027] Step S210: Send a registration request to the server, and receive protocol information of the server in response to the registration request, wherein the protocol information includes an implicit number.
[0028] Exemplarily, a registration request is sent to a server, wherein the registration request includes a request to obtain an implicit number associated with the gateway. For example, a user opens a remote management permission to a server through a terminal, and when the gateway receives an ordinary account or a voice account sent by the server, it automatically sends a registration request to the server to obtain the corresponding implicit number. Among them, an ordinary account or a voice account cannot remotely manage the gateway. The protocol information of the server response based on the registration request is received, 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 opened the remote management permission, and the protocol information related to the remote management permission is sent to the gateway. For example, the SS / IMS of the server returns a registration success 200OK, and the 200OK contains a P-Associated-URI header field. The P-Associated-URI header field is parsed to obtain the implicit number for remote management of the gateway carried in the header field.
[0029] Step S220: Complete registration according to the implicit number.
[0030] Exemplarily, when the implicit number in the protocol information is obtained, the registration is completed through the implicit number. For example, when the gateway obtains the implicit number, it stores the implicit number and updates the preset item management authority stored in the gateway based on the implicit number. When the remote management authority of the preset item management is obtained, it is determined that the registration is completed.
[0031] Step S230: receiving the incoming signaling of the server in response to the incoming request sent by the terminal, and obtaining the device information carried in the incoming signaling.
[0032] Exemplary, such as Figure 3As shown, the server receives the incoming signaling of the incoming request sent by the terminal in response to the incoming request. For example, the user sends a call request to the server through the terminal, wherein the terminal includes a terminal with communication function such as a mobile phone and a computer. After receiving the call request sent by the user through the terminal, the server obtains the gateway SIP account carried in the call request. The gateway SIP account is matched with the 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 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 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 by the incoming INVITE signaling.
[0033] Step S240: Determine the answering method for the incoming call request according to the device information.
[0034] Exemplarily, when the device information is obtained, it is determined that the answering mode of the incoming call request is the first answering mode, wherein the answering mode includes the first answering mode and the second answering mode. The first answering mode can remotely manage the gateway, and the second answering mode is a common call and cannot remotely manage the gateway.
[0035] In one embodiment, the answering mode includes a first answering mode and a second answering mode; determining the answering mode 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 consistent with the preset device information, determining the answering mode to be the first answering mode; if the device information is inconsistent with the preset device information, determining the answering mode to be the second answering mode.
[0036] Exemplarily, when the device information is obtained, the device information is compared with the preset device information. If the device information is consistent with the preset device information, the answering method of the incoming call request is determined to be the first answering method; if the device information is inconsistent with the preset device information, the answering method of the incoming call request is determined to be the second answering method. For example, the device information includes the device name, model, ID, etc., and the preset device information includes the device name, model, ID, etc. The device name, model, and ID of the backup information are compared with the device name, model, and ID of the preset device information respectively. If the device name of the backup information is consistent with the device name of the preset device information, the model of the backup information is consistent with the model of the preset device information, and / or the ID of the backup information is consistent with that of the preset device information, then the answering method of the incoming call request is determined to be the first answering method.
[0037] In the embodiment of the present invention, the registration is completed by sending a registration request to the server, receiving the protocol information of the server's response based on the registration request, and obtaining the implicit number in the protocol information. After the registration is completed, the incoming call instruction of the terminal is received, and the answering method with the terminal is determined according to the device information in the incoming call instruction. According to a plurality of answering methods to meet the needs of the user, the answering method with the terminal is determined by the device information, thereby enhancing the security of answering with the terminal.
[0038] See also Figure 4 , Figure 4 It is a schematic flow chart of another gateway management method provided by an embodiment of the present invention.
[0039] like Figure 4 As shown, this embodiment provides a gateway management method, which includes the following steps:
[0040] Step S310: Send a registration request to the server, and receive protocol information of the server in response to the registration request, wherein the protocol information includes an implicit number.
[0041] Exemplarily, a registration request is sent to a server, wherein the registration request includes a request to obtain an implicit number associated with the gateway. For example, a user opens a remote management permission to a server through a terminal, and when the gateway receives an ordinary account or a voice account sent by the server, it automatically sends a registration request to the server to obtain the corresponding implicit number. Among them, an ordinary account or a voice account cannot remotely manage the gateway. The protocol information of the server response based on the registration request is received, 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 opened the remote management permission, and the protocol information related to the remote management permission is sent to the gateway. For example, the SS / IMS of the server returns a registration success 200OK, and the 200OK contains a P-Associated-URI header field. The P-Associated-URI header field is parsed to obtain the implicit number for remote management of the gateway carried in the header field.
[0042] Step S320: Complete registration according to the implicit number.
[0043] Exemplarily, when the implicit number in the protocol information is obtained, the registration is completed through the implicit number. For example, when the gateway obtains the implicit number, it stores the implicit number and updates the preset item management authority stored in the gateway based on the implicit number. When the remote management authority of the preset item management is obtained, it is determined that the registration is completed.
[0044] Step S330: receiving the incoming signaling of the incoming request sent by the server in response to the terminal, and obtaining the device information carried in the incoming signaling.
[0045] Exemplarily, the server receives an incoming signaling of an incoming request sent by a terminal in response to the incoming signaling. For example, a user sends a call request to the server through a terminal, wherein the terminal includes a terminal with a communication function such as a mobile phone and a computer. After receiving the call request sent by the user through the terminal, the server obtains the gateway SIP account carried in the call request. The gateway SIP account is matched 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, the gateway SIP account is determined to be 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, the access mode of the incoming request is determined to be 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 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 by the incoming INVITE signaling.
[0046] Step S340: Determine the answering method for the incoming call request according to the device information.
[0047] Exemplarily, when the device information is obtained, it is determined that the answering mode of the incoming call request is the first answering mode, wherein the answering mode includes the first answering mode and the second answering mode. The first answering mode can remotely manage the gateway, and the second answering mode is a common call and cannot remotely manage the gateway.
[0048] Step S350: When answering the incoming call request through the first answering mode, receiving the password information sent by the terminal.
[0049] Exemplary, such as Figure 5 As shown, when answering the incoming call request sent by the terminal through 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 through 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, special symbols, etc. Among them, the gateway also includes a timer. For example, when answering the incoming call request sent by the terminal through the first answering mode, the timer is started.
[0050] Step S360: If the password information is consistent with the preset password information, the service management request sent by the terminal is obtained.
[0051] Exemplarily, when receiving the password information sent by the terminal, 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 user has timed out to input the password information. A preset prompt sound is sent to the terminal to prompt the user that the password information has timed out. 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 password information sent by the terminal is consistent with the preset password information, the service management request sent by the terminal is obtained.
[0052] Step S370: according to the service management request, activate and / or deactivate the corresponding service.
[0053] 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 information for opening or closing service 1, the corresponding service 1 is opened or closed, or, when the service management request carries information for opening service 1 and information for closing service 2, service 1 is opened through the information for opening service 1 and service 2 is closed through the information for closing service 2.
[0054] In one embodiment, opening and / or closing a corresponding service according to a service management request includes: acquiring a DTMF number in the service management information; and opening and / or closing a corresponding service according to the DTMF number.
[0055] Exemplarily, when receiving a service management request sent by a terminal, the DTMF number carried in the service management request is obtained, and the corresponding service is opened or closed according to the DTMF number. For example, the sequence number 1, sequence number 2, etc. carried in the service management request are obtained. The corresponding service is opened by sequence number 1 and closed by sequence number 2.
[0056] In one embodiment, opening and / or closing a corresponding service according to a DTMF number includes: matching the DTMF number with a preset item management key value, determining a service and a service identifier that match the preset item management key value; and opening or closing the service based on the service identifier.
[0057] Exemplarily, when the DTMF number is obtained, the DTMF number is matched with the preset entry management key value. The preset entry management includes multiple services, for example, a key value of 1 indicates that service 1 is activated, a key value of 2 indicates that service 1 is closed, and so on. When sequence number 1 is obtained, sequence number 1 is matched with the preset entry management key value to obtain a matching service 1, and the service identifier is an activation identifier. Service 1 is activated through service 1 and the activation identifier; or, when sequence number 1 and sequence number 3 are obtained, sequence number 1 and sequence number 3 are matched with the preset entry management key value respectively, and service 1 matching sequence number 1 is obtained, and the service identifier is an activation identifier; service 2 matching sequence number 3 is obtained, and the service identifier is a closing identifier. Service 1 is activated through service 1 and the activation identifier, and service 2 is closed through service 3 and the closing identifier.
[0058] Step S380: If the password information is inconsistent with the preset password information, the incoming call request is terminated.
[0059] If the password information is inconsistent with the preset password information, the number of times the terminal sends the password information is recorded, and a prompt message indicating that the password information is wrong is sent to the terminal. If the number of times the terminal sends the password information is greater than the preset number, the timer is turned off, and the call request is terminated if the number of times the terminal sends the password information is greater than the preset number.
[0060] In this embodiment, after the implicit number sent by the server is registered, the answering method with the terminal is determined based on the device identification information in the incoming call request sent by the terminal. When the call is answered with the terminal through the first answering method, it is determined based on the password information sent by the user 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, so that the user can remotely manage the gateway through the implicit number, and the security of the remote management gateway is enhanced.
[0061] See also Figure 6 , Figure 6 The present invention provides a schematic block diagram of a gateway structure.
[0062] The gateway includes a home gateway.
[0063] Exemplarily, the gateway further includes a processor and a memory, where the memory is used to store computer programs.
[0064] The processor is used to execute a computer program and implement the aforementioned gateway management method provided by an embodiment of the present invention when executing the computer program.
[0065] It should be understood that the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate 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, etc.
[0066] A computer-readable storage medium is also provided in an embodiment of the present invention. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the processor implements any gateway management method provided in an embodiment of the present invention.
[0067] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware implementation, the division between the 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 be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable storage medium, which may include a computer-readable storage medium (or a non-transitory medium) and a communication medium (or a temporary medium).
[0068] As is known to those of ordinary skill in the art, the term computer-readable storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer-readable storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium.
[0069] Exemplarily, the computer-readable storage medium may be an internal storage unit of the electronic device of the aforementioned embodiment, such as a hard disk or memory of the electronic device. The computer-readable storage medium may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device.
[0070] The electronic device and computer-readable storage medium provided in the above embodiments send a registration request to a server, receive protocol information of the server's response based on the registration request, wherein the protocol information includes an implicit number; and complete registration according to the implicit number. This allows the user to 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 remotely manage the home gateway flexibly and easily as needed without affecting the original functions of the home gateway.
[0071] The above are only specific implementations of the embodiments of the present invention, but the protection scope of the embodiments of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the embodiments of the present invention, and these modifications or replacements should be included in the protection scope of the embodiments of the present invention. Therefore, the protection scope of the embodiments of the present invention shall be based on the protection scope of the claims.
Claims
1. A gateway management method, the method comprising: Sending a registration request to a server, and receiving protocol information of a response from the server based on the registration request, wherein the protocol information includes an implicit number; Completing registration according to the hidden number; Completing registration according to the implicit number includes: storing the implicit number, and updating the authority of preset item management stored in the gateway based on the implicit number; When the remote management authority for the preset item management is acquired, it is determined that the registration is completed.
2. The gateway management method according to claim 1, characterized in that: The implicit number is set in the header field information in the protocol information.
3. The gateway management method according to claim 1, characterized in that: After completing the registration according to the implicit number, the method further includes: receiving an incoming signaling of an incoming request sent by the server in response to a terminal, and acquiring device information carried in the incoming signaling; A method for answering the incoming call request is determined according to the device information.
4. The gateway management method according to claim 3, characterized in that: The answering mode includes a first answering mode and a second answering mode; and determining the answering mode of the incoming call request according to the device information includes: Comparing the device information with 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, the answering mode is determined to be the second answering mode.
5. The gateway management method according to claim 3, characterized in that: The answering mode includes a first answering mode; and the method further includes: When answering the incoming call request through the first answering mode, receiving password information sent by the terminal; If the password information is consistent with the preset password information, obtaining the service management request sent by the terminal; According to the service management request, the corresponding service is opened and / or closed.
6. The gateway management method according to claim 5, characterized in that: The opening and / or closing of the corresponding service according to the service management request includes: Obtaining the DTMF number in the service management information; According to the DTMF number, the corresponding service is activated and / or closed.
7. The gateway management method according to claim 6, wherein the opening and / or closing of the corresponding service according to the DTMF number comprises: Matching the DTMF number with a preset item management key value, and determining a service and service identifier that matches the preset item management key value; Based on the service identifier, the service is activated or deactivated.
8. The gateway management method according to claim 5, characterized in that: After receiving the password information sent by the terminal, the method further includes: if the password information is inconsistent with the preset password information, terminating the incoming call request.
9. A gateway comprising a memory and a processor, wherein the memory is used to store a computer program; 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 executing the computer program.
10. A computer-readable storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the gateway management method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Method and equipment for number collocation in SIP (Session Initiation Protocol) telephone network
CN101917526A
Home gateway equipment registration method implemented through telephone service
CN104917674A
Method and device for configuring voice gateway
CN106210367A
Voice call method and device
CN110266576A
Home gateway remote connection management method, device and system
CN111163035A
