CN110365560B - Control method for realizing service port self-adaption in home gateway - Google Patents
Control method for realizing service port self-adaption in home gateway Download PDFInfo
- Publication number
- CN110365560B CN110365560B CN201910636190.9A CN201910636190A CN110365560B CN 110365560 B CN110365560 B CN 110365560B CN 201910636190 A CN201910636190 A CN 201910636190A CN 110365560 B CN110365560 B CN 110365560B
- Authority
- CN
- China
- Prior art keywords
- port
- service
- home gateway
- self
- gateway
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000012544 monitoring process Methods 0.000 claims abstract description 6
- 230000006978 adaptation Effects 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0876—Aspects of the degree of configuration automation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention relates to a control method for realizing self-adaptation of a service port in a home gateway, which comprises the steps of starting port monitoring of the home gateway, analyzing the service used by a down-hanging device, identifying the port used by the service and acquiring a port B; the home gateway detects whether the port B is occupied, if so, the step is continued; otherwise, exiting the step; the home gateway self-adaptively configures a self port to enable the service port B of the drop equipment to be available. The control method for realizing the self-adaption of the service port in the home gateway avoids the problem that the service is invalid and can not be applied due to the fact that the port used by the service started by the equipment hung under the home gateway conflicts with the port used by the service of the home gateway. The invention automatically monitors and adaptively configures the port in the home gateway, thereby meeting the requirements that the ports of the down-hanging device and the gateway are not conflicted and the service can be normally used.
Description
Technical Field
The invention relates to the field of communication, in particular to the field of home gateway application, and specifically relates to a control method for realizing service port self-adaptation in a home gateway.
Background
The application of the home gateway is not only the access of high-speed Internet, but also the video telephone mixing video and audio information flow, and other interactive entertainment services, such as network games, intranet file storage and the like, and provides various rich, diversified, personalized, convenient, comfortable, safe and efficient services for people through the network. However, these services all use their own ports, and if these ports conflict with the service ports of the home gateway itself, service failure will inevitably occur, which may be service failure of the access device or server failure of the gateway itself, as shown in fig. 1.
(1) Gateway drop device (service a enabled, port B used); (2) a home gateway service port list { B, C, D, … … }; (3) port B is occupied and the service is abnormal.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a control method for realizing the self-adaption of a service port in a home gateway, which has the advantages of small conflict, high efficiency and simple and convenient operation.
In order to achieve the above object, the method for controlling service port adaptation in a home gateway of the present invention is mainly characterized in that the method comprises the following steps:
(1) the home gateway starts port monitoring, analyzes the service used by the down-hanging equipment, identifies the port used by the service and acquires a port B;
(2) the home gateway detects whether the port B is occupied, if so, the step (3) is continued; otherwise, exiting the step;
(3) the home gateway self-adaptively configures a self port to enable the service port B of the drop equipment to be available.
Preferably, the step (3) specifically includes the following steps:
(3.1) modifying the port BB to serve a new port for the port BB;
(3.2) detecting whether the new port is idle at the moment, if so, configuring the new port, and exiting the step; otherwise, continuing the step (3.3);
and (3.3) sequentially modifying the next port to serve a new port for the next port according to the port list, and continuing the step (3.2).
Preferably, the step (3) further comprises the following steps:
(3.4) judging whether the hanging-down equipment closes the service A or not, if so, restoring the service port of the home gateway to the service port B; otherwise, continue step (3.2).
The control method for realizing the self-adaption of the service port in the home gateway avoids the problem that the service is invalid and can not be applied due to the fact that the port used by the service started by the equipment hung under the home gateway conflicts with the port used by the service of the home gateway. The invention relates to a service port self-adapting method in a home gateway, which is characterized in that when the home gateway monitors that a port used by a service started by a down-hanging device conflicts with a port used by the home gateway self-service, the self-service port of the gateway is self-adaptively configured. The invention automatically monitors and adaptively configures the port in the home gateway, thereby meeting the requirements that the ports of the down-hanging device and the gateway are not conflicted and the service can be normally used.
Drawings
Fig. 1 is a schematic diagram illustrating a port and a service port of a home gateway in the prior art according to the present invention.
Fig. 2 is a flowchart of a control method for implementing service port adaptation in a home gateway according to the present invention.
Detailed Description
In order to more clearly describe the technical contents of the present invention, the following further description is given in conjunction with specific embodiments.
The invention discloses a control method for realizing self-adaption of a service port in a home gateway, which comprises the following steps:
(1) the home gateway starts port monitoring, analyzes the service used by the down-hanging equipment, identifies the port used by the service and acquires a port B;
(2) the home gateway detects whether the port B is occupied, if so, the step (3) is continued; otherwise, exiting the step;
(3) the home gateway self-adaptively configures a self port to enable the service port B of the drop equipment to be available.
(3.1) modifying the port BB to serve a new port for the port BB;
(3.2) detecting whether the new port is idle at the moment, if so, configuring the new port, and exiting the step; otherwise, continuing the step (3.3);
and (3.3) sequentially modifying the next port to serve a new port for the next port according to the port list, and continuing the step (3.2).
(3.4) judging whether the hanging-down equipment closes the service A or not, if so, restoring the service port of the home gateway to the service port B; otherwise, continue step (3.2).
In a specific embodiment of the present invention, the present invention relates to a method for service port adaptation in a home gateway. As a relatively new technology, the home gateway may configure different ports for different services, so as to meet various application requirements, and when a port used by a service started by a device hung down by the home gateway conflicts with a port used by a service of the home gateway itself, one of the services may fail and cannot be applied. The method of the invention is to automatically monitor and self-adaptively configure the ports in the home gateway, so that the conflict between the ports of the down-hanging device and the gateway is avoided, and the service can be normally used.
The present invention is directed to overcome the above-mentioned shortcomings in the prior art, and to provide a method for service port adaptation in a home gateway.
When the home gateway monitors that a port used by a service started by the hung-down device conflicts with a port used by the home gateway service, the self-service port of the gateway is configured in a self-adaptive manner.
The invention has the technical advantages that the invention actively acquires the port conflict information, automatically configures a new port and removes the possible conflict, the self-adapting process can be divided into 2 stages, the first stage is automatic monitoring, the second stage is automatic configuration, and the method for sequentially judging whether the port is idle or not is used as the configuration method in the process of automatically configuring the port in the second stage.
The method comprises the following steps:
(1) the home gateway starts port monitoring, analyzes the service used by the down-hanging equipment, identifies the port used by the service, starts matching with the port list of the gateway, jumps to (2) if the port is occupied, jumps to (3) if the port is not occupied
(2) The home gateway self-adaptively configures a self port to ensure that a service port B of the down-hanging device is available.
(3) Port B may be used normally.
The procedure of step (2) adaptive port configuration is described in detail as follows:
1. gateway down-hanging device (service A is started, port B is used), home gateway service port list { B, C, D, … … }, when gateway detects port conflict, gateway immediately modifies service port of used B port to port BB
2. Detecting whether a port BB is idle or not, if the port BB can be used, configuring the port BB, if the port BB is occupied, sequentially detecting in modes of BB +1, BB +2 and … … until a new port is idle and can be used, and when a down-hanging device closes a service A, a home gateway restores a self service port to B.
The specific embodiment of the invention is as follows:
FTP SERVER is opened on the PC hung down by the home gateway, 21 ports are used, at this time, the home gateway monitors that the self FTP service port is also 21, whether the port 2121 is idle and can be used is immediately detected, if the port 2121 can be used, the port 2121 is configured as a new port of the self FTP service, if the port is occupied, the ports are sequentially detected in a mode of 2121+1,2121+2 and … … until the port is idle and can be used, the port is configured as a new port of the self FTP service, and when the hung down device closes FTP SERVER service, the home gateway restores the self FTP service port to 21.
The control method for realizing the self-adaption of the service port in the home gateway avoids the problem that the service is invalid and can not be applied due to the fact that the port used by the service started by the equipment hung under the home gateway conflicts with the port used by the service of the home gateway. The invention relates to a service port self-adapting method in a home gateway, which is characterized in that when the home gateway monitors that a port used by a service started by a down-hanging device conflicts with a port used by the home gateway self-service, the self-service port of the gateway is self-adaptively configured. The invention automatically monitors and adaptively configures the port in the home gateway, thereby meeting the requirements that the ports of the down-hanging device and the gateway are not conflicted and the service can be normally used.
In this specification, the invention has been described with reference to specific embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.
Claims (1)
1. A control method for realizing service port self-adaption in a home gateway is characterized by comprising the following steps:
(1) the home gateway starts port monitoring, analyzes the service used by the down-hanging equipment, identifies the port used by the service A as a port B, and acquires the port B;
(2) the home gateway detects whether the port B is occupied by self service, if so, the step (3) is continued; otherwise, exiting the step;
(3) the home gateway self-adaptively configures a self port to enable a service port B of the down-hanging equipment to be available;
the step (3) specifically comprises the following steps:
(3.1) modifying the port BB to serve a new port for the port BB;
(3.2) detecting whether the new port is idle at the moment, if so, configuring the new port, and exiting the step; otherwise, continuing the step (3.3);
(3.3) sequentially modifying the next port to serve a new port for the next port according to the port list, and continuing the step (3.2);
the step (3) further comprises the following steps:
(3.4) judging whether the hanging-down equipment closes the service A or not, if so, restoring the service port of the home gateway to the service port B; otherwise, continue step (3.2).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910636190.9A CN110365560B (en) | 2019-07-15 | 2019-07-15 | Control method for realizing service port self-adaption in home gateway |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910636190.9A CN110365560B (en) | 2019-07-15 | 2019-07-15 | Control method for realizing service port self-adaption in home gateway |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110365560A CN110365560A (en) | 2019-10-22 |
CN110365560B true CN110365560B (en) | 2021-09-24 |
Family
ID=68219309
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910636190.9A Active CN110365560B (en) | 2019-07-15 | 2019-07-15 | Control method for realizing service port self-adaption in home gateway |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110365560B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113746671B (en) * | 2020-01-19 | 2023-05-26 | 烽火通信科技股份有限公司 | Service acceleration method, terminal equipment and home gateway |
CN111698337B (en) * | 2020-07-21 | 2022-08-09 | 杭州海康威视数字技术股份有限公司 | Method, device and equipment for establishing communication connection |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101090510A (en) * | 2006-06-16 | 2007-12-19 | 华为技术有限公司 | Communication equipment and method for implementing one number for multi-phone |
CN101626345A (en) * | 2009-07-23 | 2010-01-13 | 中兴通讯股份有限公司 | Message processing method and real-time stream protocol application layer gateway in home gateway |
CN103141133A (en) * | 2011-09-30 | 2013-06-05 | 华为技术有限公司 | Method and device for performing policy control on data packet |
JP2013201621A (en) * | 2012-03-26 | 2013-10-03 | Nippon Telegraph & Telephone West Corp | Port open/close control system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7590740B1 (en) * | 2002-03-22 | 2009-09-15 | Cisco Technology, Inc. | Expediting port release in distributed networks |
EP1671469A1 (en) * | 2003-09-30 | 2006-06-21 | Koninklijke Philips Electronics N.V. | Client requested external address mapping |
ES2446355T3 (en) * | 2009-07-03 | 2014-03-07 | Nec Europe Ltd. | Method and network to manage port ranges |
CN101702718A (en) * | 2009-11-18 | 2010-05-05 | 中兴通讯股份有限公司 | Method and device for managing user terminal equipment |
-
2019
- 2019-07-15 CN CN201910636190.9A patent/CN110365560B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101090510A (en) * | 2006-06-16 | 2007-12-19 | 华为技术有限公司 | Communication equipment and method for implementing one number for multi-phone |
CN101626345A (en) * | 2009-07-23 | 2010-01-13 | 中兴通讯股份有限公司 | Message processing method and real-time stream protocol application layer gateway in home gateway |
CN103141133A (en) * | 2011-09-30 | 2013-06-05 | 华为技术有限公司 | Method and device for performing policy control on data packet |
JP2013201621A (en) * | 2012-03-26 | 2013-10-03 | Nippon Telegraph & Telephone West Corp | Port open/close control system |
Also Published As
Publication number | Publication date |
---|---|
CN110365560A (en) | 2019-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1662000B (en) | Method of triggering IP multimedia service control using filter criteria and multimedia subsystem | |
CN105704066B (en) | Networking control method and device, system, security gateway, mobile terminal | |
US7340531B2 (en) | Apparatus and method for data transfer | |
US8473589B2 (en) | Configuration file override | |
CN110365560B (en) | Control method for realizing service port self-adaption in home gateway | |
US6813733B1 (en) | Diagnostic system | |
US20180115612A1 (en) | Universal internet of things (iot) smart translator | |
US20060253562A1 (en) | Apparatus to operate and manage a consumer network device | |
US8509218B2 (en) | Prioritization within a session over internet protocol (SOIP) network | |
CN107770758A (en) | The bluetooth of Baffle Box of Bluetooth returns even method, Baffle Box of Bluetooth and storage medium | |
CN107566226A (en) | A kind of methods, devices and systems for controlling smart home | |
TW200417188A (en) | Dynamic wan port detection | |
US20070250605A1 (en) | Automatic discovery and configuration of network devices | |
JP2014519627A (en) | Speech recognition using loosely coupled components | |
CN107689904A (en) | Sound control method, device, Internet of things system and readable storage medium storing program for executing | |
US11916882B2 (en) | Methods and apparatus for controlling and implementing firewalls | |
CN106789153A (en) | The log recording of self adaptation by all kinds of means of Internet of things system terminal device, output intent and system | |
CN107396183B (en) | Starting-up network detection method and system for converged terminal equipment | |
CN109799719A (en) | Control method, server, household appliance and the storage medium of household appliance | |
CN109729512A (en) | A kind of Bluetooth pairing methods, device, terminal and storage medium | |
CN108810129A (en) | Internet of Things network control system and method, terminal device and local network services equipment | |
CN108900796A (en) | A kind of gradual conference control method and system | |
CN108419108A (en) | Sound control method, device, remote controler and computer storage media | |
CN104378449B (en) | A kind of implementation method of virtual IP address | |
CN109743609A (en) | Control method, system, terminal and the storage medium that television equipment is shown |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240105 Address after: 215412 No.89 Jiangnan Road, Ludu Town, Taicang City, Suzhou City, Jiangsu Province Patentee after: TAICANG T&W ELECTRONICS Co.,Ltd. Address before: 200235 7th floor, Yuanzhong scientific research building, 1905 Hongmei Road, Xuhui District, Shanghai Patentee before: SHANGHAI GONGJIN COMMUNICATIONS TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |