CN108023780B - Gateway setting method and system of convergence terminal and convergence terminal - Google Patents

Gateway setting method and system of convergence terminal and convergence terminal Download PDF

Info

Publication number
CN108023780B
CN108023780B CN201711397110.6A CN201711397110A CN108023780B CN 108023780 B CN108023780 B CN 108023780B CN 201711397110 A CN201711397110 A CN 201711397110A CN 108023780 B CN108023780 B CN 108023780B
Authority
CN
China
Prior art keywords
setting
gateway
gateway setting
module
routing
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201711397110.6A
Other languages
Chinese (zh)
Other versions
CN108023780A (en
Inventor
胡娟娟
刘杰
柯彬龙
刘振杰
许海杰
李日彪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GCI Science and Technology Co Ltd
Original Assignee
GCI Science and Technology Co Ltd
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 GCI Science and Technology Co Ltd filed Critical GCI Science and Technology Co Ltd
Priority to CN201711397110.6A priority Critical patent/CN108023780B/en
Publication of CN108023780A publication Critical patent/CN108023780A/en
Application granted granted Critical
Publication of CN108023780B publication Critical patent/CN108023780B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0866Checking the configuration
    • H04L41/0869Validating the configuration within one network element
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/28Restricting access to network management systems or functions, e.g. using authorisation function to access network configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a gateway setting method of a convergence terminal, which comprises the following steps: acquiring a gateway setting instruction received by a fusion module; calling a pre-packaged route setting interface according to the gateway setting instruction to obtain a gateway setting parameter; the routing setting interface is an interface for carrying out interface encapsulation on the function of the routing module; and sending the gateway setting parameters to the routing module for gateway setting. According to the method, the gateway setting parameters are obtained by calling the route setting interface packaged in advance, so that the route gateway of the convergence terminal is efficiently set, the problem of low gateway setting efficiency in the prior art is solved, and the gateway setting efficiency is improved. And the gateway setting system of the convergence terminal and the convergence terminal are provided aiming at the problem of low gateway setting efficiency.

Description

Gateway setting method and system of convergence terminal and convergence terminal
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a gateway setting method and system for a convergence terminal, a computer device, and a computer storage medium.
Background
With the development of internet technology, gateway devices such as routers and the like with internet connection capability are required to be equipped in more and more scenes in life.
Taking a family scene as an example, with the improvement of network bandwidth and the abundance of resources such as videos of network televisions, network set-top boxes are increasingly used by users, and meanwhile, in order to enable devices such as computers and mobile phones to be connected with the internet, a family is generally provided with a router. In order to facilitate the home use scenario, products such as an intelligent set-top box with a routing function can be provided, for example, the LAN uplink convergence terminal is a product combining a home routing gateway and an IPTV set-top box into a whole.
In the conventional technology, related setting parameters of the gateway are generally directly sent to the gateway for setting, for example, in the process of home use, all parameters required for setting the gateway are generally input into a home router through a personal computer to complete the setting of the routing gateway. Therefore, the technology easily causes the failure of the gateway setting due to the complicated type of the setting parameters which need to be input when the gateway is set, and further reduces the efficiency of the gateway setting.
Disclosure of Invention
Therefore, it is necessary to provide a gateway setting method for converged terminals, aiming at the problem of low gateway setting efficiency in the conventional technology.
A gateway setting method for a converged terminal comprises the following steps:
acquiring a gateway setting instruction received by a fusion module;
calling a pre-packaged route setting interface according to the gateway setting instruction to obtain a gateway setting parameter; the routing setting interface is an interface for carrying out interface encapsulation on the function of the routing module;
and sending the gateway setting parameters to the routing module for gateway setting.
According to the gateway setting method of the convergence terminal, the gateway setting instruction received by the convergence module is obtained, the route setting interface packaged in advance is called according to the gateway setting instruction to obtain the gateway setting parameter, and the gateway setting parameter is sent to the route module for gateway setting. According to the method, the gateway setting parameters are obtained by calling the route setting interface packaged in advance, so that the route gateway of the convergence terminal is efficiently set, the problem of low gateway setting efficiency in the prior art is solved, and the gateway setting efficiency is improved.
There is also a need for a problem of inefficient gateway setup in the conventional art, and in one embodiment, a gateway setup system for converged terminals is provided, including:
the acquisition module is used for acquiring the gateway setting instruction received by the fusion module;
the calling module is used for calling a route setting interface packaged in advance according to the gateway setting instruction to obtain a gateway setting parameter; the routing setting interface is an interface for carrying out interface encapsulation on the function of the routing module;
and the setting module is used for sending the gateway setting parameters to the routing gateway module for gateway setting.
According to the gateway setting system of the convergence terminal, the acquisition module is used for acquiring the gateway setting instruction received by the convergence module, the calling module is used for calling the route setting interface packaged in advance according to the gateway setting instruction to obtain the gateway setting parameter, and the setting module is used for sending the gateway setting parameter to the routing module for gateway setting. The system obtains gateway setting parameters by calling the route setting interface packaged in advance so as to realize efficient setting of the route gateway of the integrated terminal, overcomes the problem of low efficiency of gateway setting in the prior art, and improves the efficiency of gateway setting.
In an embodiment, the step of calling a pre-encapsulated route setting interface according to the gateway setting instruction to obtain the gateway setting parameter includes:
determining a gateway setting option of the routing module according to the gateway setting instruction;
and calling a pre-packaged route setting interface according to the gateway setting option to obtain a gateway setting parameter corresponding to the gateway setting option.
In one embodiment, before the step of invoking the pre-encapsulated routing setup interface, the method further includes:
acquiring configuration information of a routing module;
determining gateway setting parameters corresponding to each function of the routing module according to the configuration information;
and encapsulating a route setting interface according to the gateway setting parameter.
In one embodiment, before the step of obtaining the gateway setting instruction received by the convergence module, the method further includes:
receiving a route login instruction;
sending a login request to the routing module according to the routing login instruction; the login request carries an account and a password of the routing gateway;
and receiving a login success message returned by the routing module.
In one embodiment, the step of sending the gateway setting parameter to the routing module for gateway setting includes:
sending the gateway setting parameters to the routing module;
receiving feedback information responded by the routing module;
reading the gateway setting state of the routing module according to the feedback information;
if the gateway setting state is unsuccessful, executing the step of acquiring the gateway setting instruction received by the fusion module; and if the gateway setting state is successful, returning a setting success prompt through the fusion module.
In an embodiment, the gateway setting method of the converged terminal further includes the steps of:
and performing frame popping prompt on the set state of the gateway through an interface.
In one embodiment, the gateway setting options include: bridge routing mode, wired network access mode, WiFi setting, port binding setting, VLAN ID setting, and/or reset routing setting.
In one embodiment, the gateway sets the option to a bridge routing mode; the step of sending the gateway setting parameters to the routing module for gateway setting comprises: transmitting bridging route mode parameters and gateway parameters corresponding to the bridging route mode to the route module;
the gateway setting option is a wired network access mode; the step of sending the gateway setting parameters to the routing module for gateway setting comprises: transmitting wired network access mode parameters and gateway parameters corresponding to the wired network access mode to the routing module;
the gateway setting option is WiFi setting; the step of sending the gateway setting parameters to the routing module for gateway setting comprises: transmitting wireless enabling parameters, service set identification and password of WiFi and gateway parameters corresponding to WiFi setting to the routing module;
the gateway setting option is port binding setting; the step of sending the gateway setting parameters to the routing module for gateway setting comprises: sending the bound port number and a gateway parameter corresponding to the port binding setting to the routing module;
the gateway setting option is VLAN ID setting; the step of sending the gateway setting parameters to the routing module for gateway setting comprises: transmitting the VLAN ID and the gateway parameter set by the VLAN ID to the routing module;
and/or
The gateway setting option is a reset routing setting; the step of sending the gateway setting parameters to the routing module for gateway setting comprises: communicating a reset enable parameter to the routing module.
In one embodiment, there is provided a convergence terminal including: a fusion module and a routing module; the fusion module receives a gateway setting instruction sent by a remote controller;
the convergence module receives a gateway setting instruction and executes the gateway setting method of the convergence terminal to set the routing module; and the routing module receives the gateway setting parameters sent by the fusion module and sets the gateway parameters.
The convergence terminal sets the routing module by executing the gateway setting method of the convergence terminal through the convergence module, so that the gateway setting efficiency of the routing module of the convergence terminal is improved.
A computer device comprises a memory, a processor and a computer program stored on the memory and operable on the processor, wherein the processor implements the gateway setting method of the convergence terminal when executing the computer program.
According to the computer equipment, the gateway setting efficiency of the routing module of the convergence terminal is improved through the computer program running on the processor.
A computer storage medium on which a computer program is stored, which when executed by a processor, implements the gateway setting method of the convergence terminal as described above.
The computer storage medium improves the gateway setting efficiency of the routing module of the convergence terminal through the stored computer program.
Drawings
FIG. 1 is a schematic diagram of an intelligent set-top box;
fig. 2 is a flowchart of a gateway setting method of a convergence terminal according to an embodiment;
FIG. 3 is a flow diagram of a gateway setup of an embodiment;
fig. 4 is a schematic structural diagram of a gateway setting system of the convergence terminal according to an embodiment;
fig. 5 is a schematic structural diagram of a convergence terminal according to an embodiment.
Detailed Description
The following describes a specific embodiment of the gateway setting method of the convergence terminal in detail with reference to the accompanying drawings.
The convergence terminal comprises a routing module and a convergence module, the convergence module can receive an external control instruction and can communicate with the routing module, for example, an intelligent set-top box with a routing function is shown in fig. 1, fig. 1 is a schematic structural diagram of the intelligent set-top box, fig. 1 is a LAN uplink convergence terminal in which a home routing gateway and an IPTV set-top box are integrated, wherein the home routing gateway corresponds to the routing module, the IPTV set-top box corresponds to the convergence module, and the IPTV module can receive a control instruction of a remote controller.
In an embodiment, a gateway setting method of a converged terminal is provided, referring to fig. 2, where fig. 2 is a flowchart of the gateway setting method of the converged terminal of an embodiment, and the method may include the following steps:
and S101, acquiring a gateway setting instruction received by the fusion module.
The step mainly includes acquiring a gateway setting instruction received by the fusion module, where the gateway setting instruction may be sent through an external device connected to the fusion terminal, and in the case of the above-mentioned intelligent set-top box, the gateway setting instruction may be sent to the fusion module through a remote controller of the intelligent set-top box.
In one embodiment, the gateway setting signal carrying the gateway control instruction and sent by the remote controller may be received by the fusion module, and the gateway setting instruction is extracted from the gateway setting signal. According to the scheme, the gateway control instruction is sent to the fusion module in a wireless transmission mode through the remote controller, the gateway of the routing module is prevented from being set in a wired connection mode, and the gateway setting efficiency can be improved.
Step S102, calling a route setting interface packaged in advance according to the gateway setting instruction to obtain a gateway setting parameter; the routing setting interface is an interface for carrying out interface encapsulation on the function of the routing module.
Generally, before the gateway of the routing module is set, the gateway setting parameters are obtained. The method mainly comprises the steps that a route setting interface packaged in advance is utilized, and after a gateway setting instruction is received, the route setting interface is called according to the instruction to obtain gateway setting parameters; the routing setting interface is an interface for carrying out interface encapsulation on the function of the routing module.
Specifically, the functions of the routing module generally include a routing bridging function, a wired connection function, a WiFi function, a port binding function, a VLAN function, or a routing resetting function, and in the above embodiment, since the routing setting interface corresponds to the function of the routing module, the routing setting interface for encapsulating each function of the routing module may include: setting a routing bridge mode interface, acquiring a routing bridge information interface, setting a DHCP wired connection interface, setting a static IP wired connection interface, setting a PPPOE wired connection interface, acquiring a wired connection information interface, setting a WiFi information interface, acquiring a WiFi information interface, setting a port binding interface, acquiring a port binding information interface, setting a VLAN ID interface, acquiring a VLAN ID information interface, acquiring a routing version information interface or resetting a routing interface and the like.
By adopting the technical scheme provided by the embodiment, the gateway parameters corresponding to the functions of the routing module can be set, and the efficiency and the accuracy of gateway setting are improved.
Since each function of the routing module may be embodied by a plurality of gateway setting options, in order to further improve the efficiency of gateway setting, in an embodiment, the step S102 may include the following steps: determining a gateway setting option of the routing module according to the gateway setting instruction; and calling a pre-packaged route setting interface according to the gateway setting option to obtain a gateway setting parameter corresponding to the gateway setting option.
Because the routing setting interfaces correspond to the functions of the routing modules, and different gateway setting options correspond to different functions of the routing modules, that is, gateway setting parameters corresponding to different gateway setting options can be encapsulated in different routing setting interfaces.
In this embodiment, a gateway setting option is mainly determined according to a gateway setting instruction, and a corresponding route setting interface is called according to the gateway setting option to obtain a gateway setting parameter corresponding to the gateway setting option.
By adopting the technical scheme provided by the embodiment, the gateway of the routing module can be set according to different gateway setting options, and the efficiency and the accuracy of gateway setting are further improved.
In one embodiment, the gateway setting options may include: bridge routing mode, wired network access mode, WiFi setting, port binding setting, VLAN ID setting, and/or reset routing setting.
In one embodiment, the routing interface may be encapsulated by:
acquiring configuration information of a routing module;
determining gateway setting parameters corresponding to each function of the routing module according to the configuration information;
and encapsulating a route setting interface according to the gateway setting parameter.
The configuration information of the routing module generally includes hardware configuration information and software configuration information of the routing module. The method mainly comprises the steps of determining each function of a routing module from configuration information by acquiring the configuration information of the routing module, further determining gateway setting parameters corresponding to each function of the routing module, and packaging a routing setting interface according to the gateway setting parameters.
Taking the WiFi function of the routing gateway as an example, the gateway setting parameters with the WiFi function generally include: the method comprises the steps of enabling wireless, mode, SSID index, SSID, frequency bandwidth, control sideband, channel, rate, transmission power, SGI and the like, wherein four encryption modes including WPA-PSK, WPA2-PSK, WPA-PSK/WPA2-PSK and None are required to be selected in the encryption modes, different formats of set passwords in different encryption modes are different, and if the set parameters of the gateways are not packaged into a WiFi setting interface, when WiFi is set, setting failure is easily caused due to the fact that the types of the set parameters are complex. According to the technical scheme provided by the embodiment, the WiFi setting interface can be packaged by the gateway setting parameters, so that other unnecessary parameters except for the starting of three key parameters of wireless, SSID and password are hidden and packaged, and the efficiency of gateway setting is improved. It will be appreciated that the encapsulation method is similar for the other functions of the routing module.
By adopting the technical scheme provided by the embodiment, the route setting interface is encapsulated by utilizing the configuration information of the route module, so that the gateway setting parameters are hidden and encapsulated, and the efficiency of gateway setting can be further improved.
And step S103, sending the gateway setting parameters to the routing module for gateway setting.
The gateway setting parameters obtained in the above embodiment are mainly sent to the routing module, so that the gateway of the routing module is set.
To further improve the gateway setting efficiency and accuracy of the routing module, in one embodiment, step S103 may include the following steps:
sending the gateway setting parameters to the routing module;
receiving feedback information responded by the routing module;
reading the gateway setting state of the routing module according to the feedback information;
if the gateway setting state is unsuccessful, executing the step of acquiring the gateway setting instruction received by the fusion module; and if the gateway setting state is successful, returning a setting success prompt through the fusion module.
In this embodiment, the gateway setting parameter is mainly sent to the routing module, and the feedback information responded by the routing module is received, where the feedback information may include a gateway setting state, the gateway setting state may be obtained by reading the feedback information, if the gateway setting state is unsuccessful, step S101 is executed to reset the routing module, and if the gateway setting state is successful, a setting success prompt is returned through the fusion module.
In one embodiment, the setting state of the gateway can be indicated by popping up a box through an interface.
As an embodiment, when the gateway setting state is successful, further performing frame popping prompt information through an interface: and when the gateway setting state is unsuccessful, further performing frame popping prompt information through an interface: "setting was unsuccessful".
Since the routing module may include multiple gateway setting options, in order to further improve the accuracy and efficiency of the gateway setting, in one embodiment, the gateway setting options that have been successfully set may be displayed and/or retained simultaneously via the interface.
Generally, the setting state of each gateway setting option can be saved through the interface without resetting the routing module. By adopting the technical scheme, the accuracy and the efficiency of gateway setting can be further improved.
In one embodiment, when the gateway setting option is a bridge routing mode; step S103 may include: and transmitting the bridging routing mode parameter and the gateway parameter corresponding to the bridging routing mode to the routing module. Specifically, the bridge routing mode parameter may include 1 and 0, where 1 represents routing mode and 0 represents bridge mode, and the gateway parameter corresponding to the bridge routing mode may include mtu, application type, LAN port, and DHCP enable parameters.
In one embodiment, when the gateway setting option is a wired network access mode; step S103 may include: and transmitting the wired network access mode parameters and gateway parameters corresponding to the wired network access mode to the routing module. In this embodiment, the wired network access mode includes three types, i.e., DHCP, static IP, and PPPOE, and 0, 1, and 2 may be used as corresponding wired network access mode parameters, respectively; wherein, the method parameter 0 and other hidden parameters are transferred to the routing module in the DHCP mode, such as mtu, IP protocol type, service mode, napt and other parameters, the static IP mode transfer method parameter 1, the hidden parameters and IP, gateway, subnet mask and DNS which are the same as those in the DHCP mode; in PPPOE mode, the transfer mode parameter 2, the hidden parameter and the user name and password parameter are the same as those in DHCP mode.
In one embodiment, when the gateway setting option is a WiFi setting; step S103 may include: and transmitting wireless enabling parameters, the service set identification and the password of the WiFi and gateway parameters corresponding to the WiFi setting to the routing module. Specifically, the wireless enabled parameters may include 1 and 0, where 1 may represent turning on the wireless function, 0 may represent turning off the wireless function, and SSID of WiFi, password of WiFi, and other hidden parameters, such as channel, transmission power, rate, and so on.
In one embodiment, when the gateway setting option is a port binding setting; step S103 may include: and sending the bound port number and the gateway parameter corresponding to the port binding setting to the routing module. Sending the port number selected to be bound and the same hidden parameters as those in the DHCP mode to the gateway module, for example, if 0 represents that no port is bound, 1 represents that ports 1 are bound, 2 represents that ports 2 are bound, 3 represents that ports 1 and 2 are bound, 4 represents that ports 3 are bound, 5 represents that ports 1 and 3 are bound, 6 represents that ports 2 and 3 are bound, 7 represents that ports 1, 2 and 3 are bound, 19 represents that ports 1, 2 and 4 are bound, and 243 represents that ports 1, 2, 4, 5, 6 and 7 are bound; 247 represents the binding total.
In one embodiment, when the gateway setting option is a VLAN ID setting; step S103 may include: and transmitting the VLAN ID and the gateway parameter set by the VLAN ID to the routing module. The VLAN ID parameter set by the user and the hidden parameter which is the same as the hidden parameter in the DHCP mode are transmitted to the gateway module.
In one embodiment, when the gateway setting option is a reset routing setting; step S103 may include: communicating a reset enable parameter to the routing module. Wherein the reset enable parameter is generally used to reset the router.
In one embodiment, before step S101, the method may further include the steps of:
receiving a route login instruction;
sending a login request to the routing module according to the routing login instruction; the login request carries an account and a password of the routing gateway;
and receiving a login success message returned by the routing module.
The embodiment mainly comprises the steps of receiving a route login instruction, and sending a login request carrying an account and a password of the routing gateway to a routing module so as to log in the routing gateway.
In the gateway setting method of the convergence terminal in any one of the embodiments, the gateway setting instruction received by the convergence module is obtained, the route setting interface packaged in advance is called according to the gateway setting instruction to obtain the gateway setting parameter, and the gateway setting parameter is sent to the route module for gateway setting. According to the method, the gateway setting parameters are obtained by calling the route setting interface packaged in advance, so that the route gateway of the convergence terminal is efficiently set, the problem of low gateway setting efficiency in the prior art is solved, and the gateway setting efficiency is improved.
The technical solution of the present invention is explained with a specific application example, referring to fig. 3, fig. 3 is a flow chart of gateway setting in an embodiment.
Taking the LAN uplink convergence terminal as an example, the LAN uplink convergence terminal generally includes a routing module and an IPTV module, and the routing module may be configured through the following steps:
step s 1: entering a route login interface, inputting an account password, sending the account password to a gateway module by the IPTV module, and then waiting for interface call feedback;
step s 2: the gateway module compares the account number password, if the account number password is correct, 0 is fed back, and the IPTV module can enter the setting;
the following steps in the interface, otherwise return to step s 1;
step s 3: entering a bridge routing mode setting, wherein the IPTV module transmits a bridge routing mode parameter and other hidden parameters (such as mtu, application type, LAN port and DHCP enable) to the gateway module, for example, 1 represents a routing mode, 0 represents a bridge mode, and then waits for interface feedback;
step s 4: judging whether the setting is successful according to the feedback result, if so, ending; if not, returning to the step s 3;
step s 5: entering wired network access mode setting, wherein the wired network access mode comprises three modes of DHCP, static IP and PPPOE and is represented by 0, 1 and 2 respectively, the DHCP mode does not need any setting by a user, only needs the IPTV module to transmit mode parameters 0 and other hidden parameters (such as mtu, IP protocol type, service mode, napt and the like) to the gateway module, the static IP mode needs transmission mode parameters 1 and other hidden parameters (same as DHCP) and IP, gateway, subnet mask and DNS set by the user, and the PPPOE mode needs transmission mode parameters 2 and other hidden parameters (same as DHCP) and user name and password parameters set by the user, and then waiting for interface feedback;
step s 6: judging whether the setting is successful according to the feedback result, if so, ending; if not, returning to the step S5;
step s 7: entering WiFi setting, the IPTV module transmits wireless enabling parameters set by a user to the gateway module, for example, 1 represents that a wireless function is turned on, 0 represents that the wireless function, SSID of WiFi, password of WiFi and other hidden parameters (such as channel, transmission power, speed and the like) are turned off, and then, the IPTV module waits for interface feedback;
step s 8: judging whether the setting is successful according to the feedback result, if so, ending; if not, returning to the step s 7;
step s 9: entering a port binding setting, sending a port number selected by a user and other hidden parameters (similar to DHCP) to the gateway module by the IPTV module, wherein 0 represents that no port is bound, 1 represents that a port is bound, 2 and 3 represent that ports are bound, 1 and 2 represent that ports are bound, 4 represents that a port is bound, 3 and 5 represent that ports are bound, 1 and 3 represent that ports are bound, 6 represents that ports are bound, 2 and 3 represent that ports are bound, 19 represents that ports are bound, 1, 2 and 4 represent that ports are bound, and 243 represents that ports are bound, 1, 2, 4, 5, 6 and 7 represent that ports are bound; 247 represents binding all and then waits for interface feedback;
step s10, judging whether the setting is successful according to the feedback result, if yes, ending; if not, returning to the step s 9;
step s 11: entering VLAN ID setting, the IPTV module transmits VLAN ID parameters and other hidden parameters (similar to DHCP) set by a user to the gateway module, and then waits for interface feedback;
step s 12: judging whether the setting is successful according to the feedback result, if so, ending; if not, returning to the step S11;
step s 13: entering into reset route setting, IPTV module directly sends to gateway module
Passing hidden parameters which are generally reset and enabled, and then waiting for interface call feedback;
step s 14: judging whether the setting is successful according to the feedback result, if so, ending; if not, return to step s 13.
According to the technical scheme provided by the embodiment, the routing gateway setting interface is encapsulated, so that the problem of low efficiency caused by the fact that the routing module needs to be set through a computer is avoided, the IPTV module can be directly operated through a remote controller or other external equipment, and the routing module can be set.
Specifically, in the process of encapsulating the routing gateway setting interface, the technical scheme only exposes common gateway setting parameters, for example, for wired network access modes, the gateway setting parameters include three types, namely DHCP, static IP and PPPOE, wherein the DHCP does not expose any parameter, the static IP only exposes 4 parameters, namely IP, DNS, gateway and subnet mask, the PPPOE only exposes 2 parameters, and other webpage parameters are all encapsulated in a hidden manner; aiming at the WiFi function setting, only three parameters of wireless, SSID and password are exposed and enabled, and the rest are hidden and encapsulated; for the bridge routing mode, only the working mode option is exposed; for port binding, only specific port options are exposed; for VLAN IDs, only ID edits are exposed; resetting the route does not expose any parameters. Therefore, the technical scheme provided by the embodiment avoids the problem of low efficiency that excessive parameter options need to be input in the conventional technology, and further improves the efficiency of gateway setting by simplifying operation.
There is also a problem that the gateway setting efficiency of the conventional technology is low, in an embodiment, a gateway setting system of a converged terminal is provided, referring to fig. 4, where fig. 4 is a schematic structural diagram of the gateway setting system of the converged terminal of an embodiment; the system may include:
an obtaining module 101, configured to obtain a gateway setting instruction received by the fusion module;
a calling module 102, configured to call a pre-packaged route setting interface according to the gateway setting instruction, so as to obtain a gateway setting parameter; the routing setting interface is an interface for carrying out interface encapsulation on the function of the routing module;
and the setting module 103 is configured to send the gateway setting parameter to the routing gateway module for gateway setting.
According to the gateway setting system of the convergence terminal, the acquisition module 101 is used for acquiring the gateway setting instruction received by the convergence module, the calling module 102 is used for calling the route setting interface packaged in advance according to the gateway setting instruction to obtain the gateway setting parameter, and the setting module 103 is used for sending the gateway setting parameter to the routing module for gateway setting. The system obtains gateway setting parameters by calling the route setting interface packaged in advance so as to realize efficient setting of the route gateway of the integrated terminal, overcomes the problem of low efficiency of gateway setting in the prior art, and improves the efficiency of gateway setting.
The gateway setting system of the convergence terminal and the gateway setting method of the convergence terminal of the present invention correspond to each other one by one, and technical features and advantageous effects thereof described in the embodiments of the gateway setting method of the convergence terminal are all applicable to the embodiments of the gateway setting system of the convergence terminal, which is hereby stated.
In addition, for the problem of low efficiency of gateway setting in the conventional technology, in an embodiment, a converged terminal is further provided, referring to fig. 5, where fig. 5 is a schematic structural diagram of a converged terminal in an embodiment, and the converged terminal 200 may include: a fusion module 210 and a routing module 220; the fusion module 210 receives a gateway setting instruction sent by the remote controller 300;
the convergence module 210 receives a gateway setting instruction, and executes the gateway setting method of the convergence terminal according to any one of the above embodiments to set the routing module 220; the routing module 220 receives the gateway setting parameters sent by the fusion module 210, and sets the gateway parameters.
In this embodiment, the convergence module 210 generally refers to an IPTV module, and it can be understood that, except for the remote controller 300, all external devices that can be connected to the terminal can send a gateway setting instruction to the convergence module 210, where such external devices include a mouse, a keyboard, a handle, or a mobile phone.
The convergence terminal 200 sets the routing module 220 by executing the gateway setting method of the convergence terminal according to any one of the embodiments through the convergence module 210, so that the gateway setting efficiency of the routing module of the convergence terminal is improved.
In one embodiment, a computer device is further provided, where the computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the gateway setting method of the converged terminal in any one of the above embodiments.
In addition, it can be understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiments may be implemented by instructing the relevant hardware through a computer program, where the program may be stored in a non-volatile computer-readable storage medium, and as in the embodiments of the present invention, the program may be stored in the storage medium of the computer system and executed by at least one processor in the computer system, so as to implement the processes of the embodiments including the gateway setting method of each converged terminal as described above.
When the processor of the computer device executes the program, the gateway setting efficiency of the routing module of the convergence terminal is improved by implementing any gateway setting method of the convergence terminal in the above embodiments.
In one embodiment, a storage medium is further provided, on which a computer program is stored, wherein the program is executed by a processor to implement the gateway setting method of the convergence terminal in any one of the above embodiments. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The computer storage medium and the stored computer program improve the gateway setting efficiency of the routing module of the converged terminal by implementing the flow including the embodiments of the gateway setting method of each converged terminal as described above.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A gateway setting method for a converged terminal is characterized by comprising the following steps:
acquiring a gateway setting instruction received by a fusion module;
determining a gateway setting option of a routing module according to the gateway setting instruction; calling a pre-packaged route setting interface according to the gateway setting option to obtain a gateway setting parameter corresponding to the gateway setting option; the routing setting interface is an interface for carrying out interface encapsulation on the function of the routing module; different gateway setting options correspond to different functions of the routing module; the gateway setting parameters corresponding to different gateway setting options are encapsulated in different route setting interfaces;
before the invoking the pre-encapsulated route setup interface, the method further includes: acquiring configuration information of a routing module; determining gateway setting parameters corresponding to each function of the routing module according to the configuration information; encapsulating a route setting interface according to the gateway setting parameter;
and sending the gateway setting parameters to the routing module for gateway setting.
2. The gateway setting method of the convergence terminal according to claim 1, further comprising, before the step of obtaining the gateway setting instruction received by the convergence module:
receiving a route login instruction;
sending a login request to the routing module according to the routing login instruction; the login request carries an account and a password of the routing module;
and receiving a login success message returned by the routing module.
3. The gateway setting method for the converged terminal according to claim 1, wherein the step of sending the gateway setting parameter to the routing module for gateway setting comprises:
sending the gateway setting parameters to the routing module;
receiving feedback information responded by the routing module;
reading the gateway setting state of the routing module according to the feedback information;
if the gateway setting state is unsuccessful, executing the step of acquiring the gateway setting instruction received by the fusion module; and if the gateway setting state is successful, returning a setting success prompt through the fusion module.
4. The gateway setting method of the converged terminal according to claim 1, further comprising the steps of:
and performing frame popping prompt on the set state of the gateway through an interface.
5. The gateway setting method of the converged terminal according to claim 1, wherein the gateway setting options include: bridge routing mode, wired network access mode, WiFi setting, port binding setting, VLAN ID setting, and/or reset routing setting.
6. The gateway setting method of the convergence terminal according to claim 5,
the gateway sets the option to be a bridge routing mode; the step of sending the gateway setting parameters to the routing module for gateway setting comprises: transmitting bridging route mode parameters and gateway parameters corresponding to the bridging route mode to the route module;
the gateway setting option is a wired network access mode; the step of sending the gateway setting parameters to the routing module for gateway setting comprises: transmitting wired network access mode parameters and gateway parameters corresponding to the wired network access mode to the routing module;
the gateway setting option is WiFi setting; the step of sending the gateway setting parameters to the routing module for gateway setting comprises: transmitting wireless enabling parameters, service set identification and password of WiFi and gateway parameters corresponding to WiFi setting to the routing module;
the gateway setting option is port binding setting; the step of sending the gateway setting parameters to the routing module for gateway setting comprises: sending the bound port number and a gateway parameter corresponding to the port binding setting to the routing module;
the gateway setting option is VLAN ID setting; the step of sending the gateway setting parameters to the routing module for gateway setting comprises: transmitting the VLAN ID and the gateway parameter set by the VLAN ID to the routing module;
and/or
The gateway setting option is a reset routing setting; the step of sending the gateway setting parameters to the routing module for gateway setting comprises: communicating a reset enable parameter to the routing module.
7. A gateway setting system for converged terminals, comprising:
the acquisition module is used for acquiring the gateway setting instruction received by the fusion module;
the calling module is used for determining the gateway setting options of the routing module according to the gateway setting instruction; calling a pre-packaged route setting interface according to the gateway setting option to obtain a gateway setting parameter corresponding to the gateway setting option; the routing setting interface is an interface for carrying out interface encapsulation on the function of the routing module; different gateway setting options correspond to different functions of the routing module; the gateway setting parameters corresponding to different gateway setting options are encapsulated in different route setting interfaces; the method is also used for acquiring the configuration information of the routing module before the pre-packaged routing setting interface is called; determining gateway setting parameters corresponding to each function of the routing module according to the configuration information; encapsulating a route setting interface according to the gateway setting parameter;
and the setting module is used for sending the gateway setting parameters to the routing module for gateway setting.
8. A convergence terminal, comprising: a fusion module and a routing module; the fusion module receives a gateway setting instruction sent by a remote controller;
the convergence module receives a gateway setting instruction and executes the gateway setting method of the convergence terminal according to any one of claims 1 to 6 to set the routing module; and the routing module receives the gateway setting parameters sent by the fusion module and sets the gateway parameters.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 6.
10. A computer storage medium on which a computer program is stored, characterized in that the computer program, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN201711397110.6A 2017-12-21 2017-12-21 Gateway setting method and system of convergence terminal and convergence terminal Active CN108023780B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711397110.6A CN108023780B (en) 2017-12-21 2017-12-21 Gateway setting method and system of convergence terminal and convergence terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711397110.6A CN108023780B (en) 2017-12-21 2017-12-21 Gateway setting method and system of convergence terminal and convergence terminal

Publications (2)

Publication Number Publication Date
CN108023780A CN108023780A (en) 2018-05-11
CN108023780B true CN108023780B (en) 2020-11-13

Family

ID=62074442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711397110.6A Active CN108023780B (en) 2017-12-21 2017-12-21 Gateway setting method and system of convergence terminal and convergence terminal

Country Status (1)

Country Link
CN (1) CN108023780B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110347442B (en) * 2019-06-28 2020-09-22 烽火通信科技股份有限公司 Intelligent plug-in operation method and system based on fusion terminal
CN115460030B (en) * 2022-08-03 2024-01-26 深圳市华迅光通信有限公司 Fusion gateway, data processing method and device thereof and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101784006A (en) * 2010-01-13 2010-07-21 厦门四信通信科技有限公司 Multifunctional 3G/3.5G (the third generation and beyond) wireless integrated gateway
CN102724079A (en) * 2012-06-29 2012-10-10 杭州华三通信技术有限公司 Method and system for auxiliary configuration of Ethernet equipment
WO2015062080A1 (en) * 2013-11-01 2015-05-07 华为终端有限公司 Network parameter configuration method and device for portable router
CN104732993A (en) * 2015-03-15 2015-06-24 贺喜 Wireless router music player
CN106126276A (en) * 2016-06-17 2016-11-16 浪潮电子信息产业股份有限公司 A kind of call the device of transmitting assembly, method and system
CN106658668A (en) * 2016-09-08 2017-05-10 北京小米移动软件有限公司 Information processing method and device
CN107154877A (en) * 2017-05-27 2017-09-12 深圳市茁壮网络股份有限公司 The configuring management method and convergent terminal of convergent terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101784006A (en) * 2010-01-13 2010-07-21 厦门四信通信科技有限公司 Multifunctional 3G/3.5G (the third generation and beyond) wireless integrated gateway
CN102724079A (en) * 2012-06-29 2012-10-10 杭州华三通信技术有限公司 Method and system for auxiliary configuration of Ethernet equipment
WO2015062080A1 (en) * 2013-11-01 2015-05-07 华为终端有限公司 Network parameter configuration method and device for portable router
CN104732993A (en) * 2015-03-15 2015-06-24 贺喜 Wireless router music player
CN106126276A (en) * 2016-06-17 2016-11-16 浪潮电子信息产业股份有限公司 A kind of call the device of transmitting assembly, method and system
CN106658668A (en) * 2016-09-08 2017-05-10 北京小米移动软件有限公司 Information processing method and device
CN107154877A (en) * 2017-05-27 2017-09-12 深圳市茁壮网络股份有限公司 The configuring management method and convergent terminal of convergent terminal

Also Published As

Publication number Publication date
CN108023780A (en) 2018-05-11

Similar Documents

Publication Publication Date Title
CN110650070B (en) Household appliance network configuration method and WiFi module
US8856290B2 (en) Method and apparatus for exchanging configuration information in a wireless local area network
EP3145161B1 (en) Automatic wireless access network configuration synchronization method and apparatus
EP3096563B1 (en) Method and system for realizing network access via wifi
US20060117174A1 (en) Method of auto-configuration and auto-prioritizing for wireless security domain
US10819761B2 (en) Electronic device and method for controlling electronic device
US10417061B2 (en) Operating method of routing device, routing device, and terminal device
US11452156B2 (en) Configuration system, client device, embedded device configuration method, and storage medium
CN104717225A (en) Internet of Things gateway access authentication method and system
US9244754B2 (en) Error code conversion method and system, PPPoE server and mobile terminal
WO2014183404A1 (en) Data transmission method, apparatus, system and terminal
WO2018049823A1 (en) Automatic network distribution method, apparatus and device, and repeater
CN105636159A (en) Configuration method and apparatus for connection between electrical appliance and wireless router and mobile communication terminal
CN108023780B (en) Gateway setting method and system of convergence terminal and convergence terminal
CN108307694A (en) A kind of network connection information acquisition methods and router
EP2670107B1 (en) Communication method for wireless terminal and host device, and wireless terminal and host device
WO2023005410A1 (en) Information synchronization method and system, storage medium, and electronic device
CN106416146B (en) Communication apparatus, communication method, and communication system
EP3979071B1 (en) Method, user equipment, and application server for downloading application
CN114650197B (en) Communication method, device, user plane network element and storage medium
EP3220584A1 (en) Wifi sharing method and system, home gateway and wireless local area network gateway
CN105323749A (en) Method, device and system for realizing dial-up networking
CN108307683A (en) The means of communication, micro-base station, micro-base station controller, terminal and system
CN112333062A (en) Control method and control device for household equipment and computer readable storage medium
WO2017142019A1 (en) Communication apparatus, router, server, system, and setting method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant