CN104702495B - The method of home gateway and its Auto-matching usage scenario - Google Patents

The method of home gateway and its Auto-matching usage scenario Download PDF

Info

Publication number
CN104702495B
CN104702495B CN201310659520.9A CN201310659520A CN104702495B CN 104702495 B CN104702495 B CN 104702495B CN 201310659520 A CN201310659520 A CN 201310659520A CN 104702495 B CN104702495 B CN 104702495B
Authority
CN
China
Prior art keywords
card
home gateway
machine
logic
terminal
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
CN201310659520.9A
Other languages
Chinese (zh)
Other versions
CN104702495A (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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201310659520.9A priority Critical patent/CN104702495B/en
Publication of CN104702495A publication Critical patent/CN104702495A/en
Application granted granted Critical
Publication of CN104702495B publication Critical patent/CN104702495B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a kind of home gateway and its methods of Auto-matching usage scenario, are related to Home Gateway Technology field.The present invention detects the usage scenario when use of its last time by home gateway, in conjunction with card presence, automatically select the home gateway flow of suitable usage scenario, two kinds of usage scenarios of separation between machine and card and non-separation between machine and card can be suitable for automatically with a home gateway by realizing, be suitable for non-separation between machine and card usage scenario gradually to the region of separation between machine and card usage scenario transition.In non-separation between machine and card scene and separation between machine and card scene and in the case of deposit, the without differences deployment of home gateway can be realized.

Description

Home gateway and method for automatically matching use scenes
Technical Field
The invention relates to the technical field of home gateways, in particular to a home gateway and a method for automatically matching a use scene.
Background
The home gateway is a network device located in a modern home, and is used for connecting a home user to the Internet, enabling various intelligent devices located in the home to be served by the Internet, or enabling the intelligent devices to communicate with each other. In brief, the home gateway is a bridge for networking various intelligent devices inside a home and interconnecting the intelligent devices from inside the home to an external network. From a technical point of view, the home gateway performs bridging/routing, protocol conversion, address management and conversion inside the home and from inside to outside, assumes the role of a firewall, and provides services such as a possible voice over internet protocol (VoIP).
At present, home gateways are uniformly deployed by operators, however, as functions of home gateways are gradually enhanced, costs of home gateways are also higher and higher, and a tendency of socialization of home gateway deployment gradually begins to appear. The social progress of the home gateways in each area is inconsistent, and the service flows of different types of home gateways such as the set-card separated home gateway and the non-set-card separated home gateway are independent from each other, for example, the logic ID for marking the user identity needs to be manually input for the service of the non-set-card separated home gateway, and the logic ID in the card can be read for the service of the set-card separated home gateway, so the home gateways cannot be used universally.
Disclosure of Invention
One object of an embodiment of the present invention is: and realizing the non-differentiated deployment of the home gateway.
According to an aspect of the embodiments of the present invention, a method for automatically matching a usage scenario for a home gateway is provided, including: the home gateway detects whether the card is on-line; the home gateway judges the use scene of the home gateway in the last use; and the home gateway automatically selects a home gateway flow suitable for the use scene according to the online state of the card and the use scene of the home gateway when the home gateway is used last time.
In one embodiment, the home gateway automatically selects a home gateway process suitable for a usage scenario according to the card online status and the usage scenario of the home gateway when the home gateway is used last time, and the process includes: if the card is not on-line and the home gateway is a new terminal, the home gateway automatically selects a non-machine-card separation terminal process; or if the card is online and the home gateway is a new terminal, the home gateway automatically selects a machine-card separation terminal process; or if the card is not on-line and the use scene of the home gateway when the home gateway is used last time is non-machine-card separation, the home gateway automatically selects a non-machine-card separation terminal process; or if the card is online and the use scene of the home gateway when the home gateway is used last time is non-machine-card separation, automatically selecting a machine-card separation terminal process after the home gateway restores the factory configuration; or if the card is online and the use scene of the home gateway when the home gateway is used last time is machine-card separation, the home gateway compares whether the MAC addresses of the home gateway and the card are consistent with the card serial number, if so, the home gateway automatically selects a logic ID secondary power-on process, and if not, the home gateway automatically selects a machine-card separation terminal process after factory configuration is restored; or if the card is not online and the use scene of the home gateway when the home gateway is used last time is machine-card separation, prompting the user to insert the card, and after detecting the user to insert the card, comparing whether the MAC address and the card serial number of the home gateway and the card are consistent or not by the home gateway, if so, automatically selecting a logic ID secondary power-on process by the home gateway, and if not, automatically selecting a machine-card separation terminal process after the home gateway restores factory configuration.
In one embodiment, when the card is not online and the home gateway is a new terminal, the selected non-machine-card separation terminal process is specifically a logic ID first power-on process; the logic ID first power-up procedure includes, for example: and manually inputting a logic ID, and reporting the logic ID and a first event number to a terminal comprehensive management system by the home gateway, wherein the logic ID is used for identifying the identity of a user, and the first event number is used for indicating that the home gateway is electrified for the first time. The first power-on process of the logic ID may further include other contents such as service delivery, service provision, and the like, and the contents having a smaller correlation with the present invention are not listed one by one.
In one embodiment, the non-machine-card separation terminal process selected when the home gateway is not on-line and the use scene of the home gateway when the home gateway is used last time is a non-machine-card time sharing process is specifically a logic ID secondary power-on process; the logic ID secondary power-up procedure includes, for example: and the home gateway reports the logic ID and a second event number to the terminal comprehensive management system according to the logic ID stored after the logic ID is electrified for the first time, wherein the logic ID is used for identifying the user identity, and the second event number is used for representing the secondary electrification of the home gateway. The logic ID secondary power-up process may also include other contents, which are less relevant to the present invention, and are not listed here.
In one embodiment, the machine-card separation terminal process includes: the home gateway reads the card serial number and the logic ID in the card and sends the card serial number and the logic ID to a terminal comprehensive management system for verification; receiving a card read-write control key issued by the terminal integrated management system after passing the verification, and authenticating the home gateway and the card based on the card read-write control key; after the authentication is passed, the home gateway reads and writes the parameters related to the service into the card, and writes the MAC address into the card and locally stores the serial number of the card in the card. The machine-card separation terminal process may further include other contents, which are less relevant to the present invention and are not listed here.
According to still another aspect of an embodiment of the present invention, there is provided a home gateway, including: a card detection unit for detecting whether the card is on-line; a scene determination unit for determining a usage scene of the user at the time of the last usage; and the flow selection unit is used for automatically selecting the home gateway flow suitable for the use scene according to the online state of the card and the use scene of the home gateway in the last use.
In one embodiment, the process selection unit is specifically configured to: if the card is not on-line and the home gateway is a new terminal, the home gateway automatically selects a non-machine-card separation terminal process; or if the card is online and the home gateway is a new terminal, the home gateway automatically selects a machine-card separation terminal process; or if the card is not on-line and the use scene of the home gateway when the home gateway is used last time is non-machine-card separation, the home gateway automatically selects a non-machine-card separation terminal process; or if the card is online and the use scene of the home gateway when the home gateway is used last time is non-machine-card separation, automatically selecting a machine-card separation terminal process after the home gateway restores the factory configuration; or if the card is online and the use scene of the home gateway when the home gateway is used last time is machine-card separation, the home gateway compares whether the MAC addresses of the home gateway and the card are consistent with the card serial number, if so, the home gateway automatically selects a logic ID secondary power-on process, and if not, the home gateway automatically selects a machine-card separation terminal process after factory configuration is restored; or if the card is not online and the use scene of the home gateway when the home gateway is used last time is machine-card separation, prompting the user to insert the card, and after detecting the user to insert the card, comparing whether the MAC address and the card serial number of the home gateway and the card are consistent or not by the home gateway, if so, automatically selecting a logic ID secondary power-on process by the home gateway, and if not, automatically selecting a machine-card separation terminal process after the home gateway restores factory configuration.
The invention detects the use scene of the home gateway when the home gateway is used last time, and automatically selects the home gateway process suitable for the use scene by combining the online state of the card, thereby realizing that the same type of home gateway can be automatically suitable for two use scenes of machine-card separation and non-machine-card separation, and is suitable for the transition region from the non-machine-card separation use scene to the machine-card separation use scene step by step. Under the condition that a non-machine-card separation scene and a machine-card separation scene coexist, the non-differentiated deployment of the home gateway can be realized.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart illustrating an embodiment of a method for automatically matching usage scenarios of a home gateway according to the present invention.
Fig. 2 is a flowchart illustrating a method for automatically matching usage scenarios of a home gateway according to another embodiment of the present invention.
Fig. 3 is a schematic structural diagram of an embodiment of the home gateway of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to realize the non-differentiated deployment of the home gateway, the home gateway detects the use scene of the home gateway in the last use, and automatically selects the home gateway process suitable for the use scene by combining the online state of the card, so that the same type of home gateway can be automatically suitable for two use scenes of machine-card separation and non-machine-card separation, and is suitable for a region in which the non-machine-card separation use scene is gradually transited to the machine-card separation use scene. Under the condition that a non-machine-card separation scene and a machine-card separation scene coexist, the non-differentiated deployment of the home gateway can be realized.
Fig. 1 is a flowchart illustrating an embodiment of a method for automatically matching usage scenarios of a home gateway according to the present invention.
As shown in fig. 1, the method for automatically matching a usage scenario by a home gateway includes the following steps:
s101, the home gateway detects whether the card is on-line, wherein the detection result comprises: the card is in both the online and offline states.
And S102, judging the use scene of the home gateway in the last use.
The use scene of the home gateway when being used last time comprises the following steps: the method comprises the steps of new terminal, machine-card separation and non-machine-card separation. If the use scene of the home gateway when the home gateway is used last time is a new terminal, the use is the first use of the home gateway.
And S103, automatically selecting a home gateway flow suitable for the use scene by the home gateway according to the online state of the card and the use scene of the home gateway in the last use.
Wherein, the home gateway process includes: the method comprises a machine-card separation terminal process and a non-machine-card separation terminal process. The non-machine-card separation terminal process can be divided into: a logic ID primary power-on process and a logic ID secondary power-on process. It should be noted that the logic ID secondary power-on process is not the first power-on process, and is not only the second power-on process.
It should be noted that the logical ID is used to mark the user identity, and the logical ID is bound to the user when the user opens the service. The home gateway leaves the factory without logic ID, and the logic ID in the card is generated in advance when the card is manufactured and is backed up in the database.
In one embodiment, the step S103 of automatically selecting a home gateway suitable for the usage scenario includes:
1) if the card is not on-line and the home gateway is a new terminal, the home gateway automatically selects a non-machine-card separation terminal process, and the non-machine-card separation terminal process can be specifically a logic ID first power-on process.
2) If the card is on line and the home gateway is a new terminal, the home gateway automatically selects a machine-card separation terminal process.
3) If the card is not on-line and the use scene of the home gateway when the home gateway is used last time is non-machine-card separation, the home gateway automatically selects a non-machine-card separation terminal process, and the non-machine-card separation terminal process can be a logic ID secondary power-on process.
4) And if the card is online and the use scene of the home gateway when the home gateway is used last time is non-machine-card separation, automatically selecting a machine-card separation terminal process after the home gateway restores the factory configuration.
In the present invention, the home gateway may be restored to the factory pre-configured state, for example, a card serial number stored in the home gateway may be restored to the factory pre-configured state, and the MAC address in the card is set to all zeros. It should be noted that: except that the MAC address of the information in the card is set to be all zero, other information in the card cannot be changed, the MAC address stored in the card is reset to be zero so that a normal process can be carried out when the home gateway is powered on and started next time after the process is terminated accidentally due to reasons such as power failure, the abnormal process is avoided, other information in the card is not changed because the data in the home gateway needs to be subject to the information stored in the card, and the information in the card needs to be read and taken into effect after the home gateway is restored to the factory pre-configuration state. And the home gateway can not be restarted after being restored to the factory pre-configuration state.
5) If the card is online and the use scene of the home gateway when the home gateway is used last time is machine-card separation, the home gateway compares whether the MAC addresses of the home gateway and the card are consistent with the card serial number, if so, the home gateway automatically selects a logic ID secondary power-on process, and if not, the home gateway automatically selects a machine-card separation terminal process after factory configuration is restored.
6) If the card is not on-line and the use scene of the home gateway when being used last time is machine-card separation, prompting a user to insert the card, and after detecting the user to insert the card, comparing whether the MAC address and the card serial number of the home gateway and the card are consistent or not by the home gateway, if so, automatically selecting a logic ID secondary power-on process by the home gateway, and if not, automatically selecting a machine-card separation terminal process after the home gateway restores factory configuration.
It can be seen from this that:
1) if the use scene of the home gateway when the home gateway is used last time is a new terminal, the home gateway can be applied to the application scene of machine-card separation and can also be applied to the application scene of non-machine-card separation. If the home gateway is not plugged, automatically selecting a non-machine-card separation terminal process; and if the home gateway is plugged in, automatically selecting a machine-card separation terminal process.
2) If the use scene of the home gateway when the home gateway is used last time is non-machine-card separation, the home gateway can be applied to the application scene of the non-machine-card separation, and can also be converted into the application scene of the machine-card separation. If the home gateway is not plugged, automatically selecting a logic ID secondary power-on process; and if the home gateway is plugged in, automatically selecting a machine-card separation terminal process after the home gateway restores the factory configuration.
3) If the use scene of the home gateway when being used last time is machine-card separation, the home gateway can only be applied to the application scene of the machine-card separation and cannot return to the application scene of the non-machine-card separation. If the home gateway does not plug in the card, prompting a user to plug in the card; if the home gateway inserts the card, comparing the logic ID and the card serial number stored in the home gateway with the logic ID and the card serial number stored in the card, if the logic ID and the card serial number are consistent, entering a logic ID secondary power-on flow, and if the logic ID and the card serial number are inconsistent, entering a card separation terminal flow after the home gateway is restored to factory configuration.
Fig. 2 is a flowchart illustrating a method for automatically matching usage scenarios of a home gateway according to another embodiment of the present invention.
As shown in fig. 2, the method for automatically matching a usage scenario by a home gateway includes the following steps:
step S201: after the home gateway is electrified and started, whether the card is on line is checked, if the card is not on line, the step S202 is carried out, and if the card is on line, the step S203 is carried out;
step S202: the home gateway judges the usage scenario of the home gateway when the home gateway is used last time, and if the usage scenario of the home gateway last time is a new terminal, the step S206 is switched to; if the last usage scenario of the home gateway is non-machine-card separation, the step S207 is switched to; if the last use scene of the home gateway is machine-card separation, prompting a user to insert a card, and turning to the step S204 after the user inserts the card;
step S203: the home gateway judges the use scene of the home gateway in the last use, and if the use scene of the home gateway in the last time is a new terminal, the step S208 is switched to; if the last usage scenario of the home gateway is non-machine-card separation, go to step S205; if the last usage scenario of the home gateway is machine-card separation, the step S204 is carried out;
step S204: the home gateway compares whether the MAC addresses of the home gateway and the card are consistent with the card serial number, and if so, the step S207 is carried out; if not, go to step S205;
step S205: the home gateway restores to a factory pre-configuration state, sets the MAC address in the card to be all zero, and goes to step S208;
step S206: the home gateway enters a logic ID first power-on process, the home gateway uses the scene record of non-machine-card separation, and the process is finished;
step S207: the home gateway enters a logic ID secondary power-on process, the home gateway uses the scene record of non-machine-card separation, and the process is finished;
step S208: and the home gateway enters a machine-card separation terminal process, the current use scene of the home gateway is recorded as machine-card separation, and the process is ended.
The first power-on process of the logic ID, the second power-on process of the logic ID, and the process of the set-card separation terminal will be described below.
The logic ID first power-up procedure includes, for example: and manually inputting a logic ID, and reporting the logic ID and a first event number to a terminal integrated management system (ITMS for short) by the home gateway, wherein the first event number is used for indicating that the home gateway is electrified for the first time. The first power-on process of the logic ID may further include other contents such as service delivery, service provision, and the like, and the contents having a smaller correlation with the present invention are not listed one by one. It should be noted that the first power-on process often involves service delivery, that is, the ITMS makes a logic judgment according to the logic ID and the event number, searches for a northbound service work order, and delivers the northbound service work order to the home gateway side. The event number reported in the secondary power-on process is different from the event number reported in the first power-on process, and no service is issued.
The logic ID secondary power-up procedure includes, for example: and the home gateway reports the logic ID and a second event number to the terminal comprehensive management system according to the logic ID stored after the logic ID is electrified for the first time, wherein the second event number is used for representing the secondary electrification of the home gateway. The logic ID secondary power-up process may also include other contents, which are less relevant to the present invention, and are not listed here.
The machine-card separation terminal process comprises the following steps: the home gateway reads the card serial number and the logic ID in the card and sends the card serial number and the logic ID to a terminal comprehensive management system for verification; receiving a card read-write control key issued by the terminal integrated management system after passing the verification, and authenticating the home gateway and the card based on the card read-write control key; after the authentication is passed, the home gateway reads and writes the parameters related to the service into the card, and writes the MAC address into the card and locally stores the serial number of the card in the card. The machine-card separation terminal process may further include other contents, which are less relevant to the present invention and are not listed here.
An exemplary implementation method of the machine-card separation terminal process is as follows:
1) the home gateway reads out the following information in the home gateway card:
● card serial number
● user logical ID
● user authentication password
● Home gateway MAC Address
● service issuing flag Result, global parameter (file 39, file 40, file 174), TR069 related parameter (file 7, file 23, file 54, file 150), which judges whether reading is needed according to file update status.
In addition, when the home gateway cannot normally complete the data reading, the logic ID is powered on for the first time.
2) The home gateway reports the user logic ID to the OLT, and the OLT verifies the user logic ID (the step is only suitable for the PON upstream machine-card separation type home gateway)
3) The home gateway is connected to an ITMS (Integrated Terminal Management System), and reports related parameters including a card serial number and a user logical ID in the card, where the reported event number is: x CT-COMMAND, the event number description is the first connection to ITMS;
4) the ITMS verifies the matching relation between the reported card serial number and the user logic ID;
● if the verification is passed, the ITMS searches the work order according to the user logic ID, can issue the card read-write control key through the SetParameterValues, then executes the step 5)
● if the verification fails, the ITMS returns an authentication error code to the home gateway, and does not issue a card read-write control key, and the home gateway does not provide service to the user, and terminates the information process.
5) The home gateway and the card perform bidirectional authentication;
● when both authentication passes:
the home gateway locally saves the read-write control key and sends a response of successful authentication to the ITMS, for example, through SetParameterValuesResponse;
reading other service parameters in the card (the validity of the file is judged by acquiring a file updating state instruction when reading the other service parameters in the card to determine whether the file needs to be read or not), locally storing and taking effect, and reporting the completion of card reading to the ITMS (the home gateway does not use the parameters such as ITMS in secondary card reading) through an INFORM (event number: X CT-COM CARDNOTIFY). When the home gateway cannot normally complete the reading of the data in the card, the flow is terminated;
and writing the MAC address of the home gateway into a corresponding file in the card, and locally storing the card serial number in the card by the home gateway.
● when the two-way authentication fails:
the home gateway carries out error prompt through a bidirectional authentication indicator lamp;
the home gateway sends a response of failure of the SetParameterValueResponse to the ITMS, which indicates that the authentication is unsuccessful;
the home gateway terminates the information interaction process.
6) After the ITMS receives the successful authentication and the response of card reading completion, other service parameters are issued according to the work order issuing condition
7) The home gateway writes the service parameters and Result values sent by the ITMS into the corresponding file of the home gateway card (requiring that other parameters in the same file of the card end should not be changed in the card writing process)
● if the home gateway successfully writes the card, locally storing the service parameters issued by the ITMS, and informing the ITMS of successful card writing and whether restarting is needed (the home gateway reports X CT-COMCARDWRITE). And when restarting is not needed, the newly issued service is immediately effective. The using scene of the home gateway is recorded as machine-card separation.
● if the home gateway fails to write card, retry for three times, if not, prompt the user through the status light of the machine card interface, and notify the ITMS that the card writing fails, the home gateway terminates the process, and does not provide service to the user.
Fig. 3 is a schematic structural diagram of an embodiment of the home gateway of the present invention. As shown in fig. 3, the home gateway includes:
a card detection unit 301 for detecting whether a card is online;
a scene determination unit 302 for determining a usage scene at the time of its last usage; and
a flow selecting unit 303, configured to automatically select a home gateway flow suitable for a usage scenario according to the card online status and the usage scenario of the home gateway when the home gateway is used last time.
In an embodiment, the flow selecting unit 303 is specifically configured to:
if the card is not on-line and the home gateway is a new terminal, the home gateway automatically selects a non-machine-card separation terminal process; or,
if the card is online and the home gateway is a new terminal, the home gateway automatically selects a machine-card separation terminal process; or,
if the card is not on-line and the use scene of the home gateway during the last use is non-machine-card separation, the home gateway automatically selects a non-machine-card separation terminal process; or,
if the card is online and the use scene of the home gateway when the home gateway is used last time is non-machine-card separation, automatically selecting a machine-card separation terminal process after the home gateway restores factory configuration; or,
if the card is online and the use scene of the home gateway when the home gateway is used last time is machine-card separation, the home gateway compares whether the MAC addresses of the home gateway and the card are consistent with the card serial number, if so, the home gateway automatically selects a logic ID secondary power-on process, and if not, the home gateway automatically selects a machine-card separation terminal process after factory configuration is restored; or,
if the card is not on-line and the use scene of the home gateway when being used last time is machine-card separation, prompting a user to insert the card, and after detecting the user to insert the card, comparing whether the MAC address and the card serial number of the home gateway and the card are consistent or not by the home gateway, if so, automatically selecting a logic ID secondary power-on process by the home gateway, and if not, automatically selecting a machine-card separation terminal process after the home gateway restores factory configuration.
In one embodiment, the non-machine-card separated terminal process selected by the home gateway when the card is not online and the home gateway is a new terminal is specifically a logic ID first power-on process.
In one embodiment, the non-machine-card separated terminal process selected when the home gateway is not online and the usage scenario of the home gateway when the home gateway is used last time is a non-machine-card time sharing process is specifically a logic ID secondary power-on process.
The logic ID first power-on process, the logic ID second power-on process, and the machine-card separation terminal process are specifically referred to above, and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (8)

1. A method for automatically matching usage scenarios of a home gateway comprises the following steps:
the home gateway detects whether the card is on-line;
the home gateway judges the use scene of the home gateway in the last use;
the home gateway automatically selects a home gateway process suitable for a use scene according to the online state of the card and the use scene of the home gateway when the home gateway is used last time, wherein the use scene of the home gateway when the home gateway is used last time is a new terminal, machine-card separation or non-machine-card separation;
the method for automatically selecting the home gateway suitable for the use scene by the home gateway according to the online state of the card and the use scene of the home gateway when the home gateway is used last time comprises the following steps:
if the card is not on-line and the home gateway is a new terminal, the home gateway automatically selects a non-machine-card separation terminal flow, and the non-machine-card separation terminal flow is a logic ID first power-on flow; or,
if the card is online and the home gateway is a new terminal, the home gateway automatically selects a machine-card separation terminal process; or,
if the card is not on-line and the use scene of the home gateway during the last use is non-machine-card separation, the home gateway automatically selects a non-machine-card separation terminal flow which is a logic ID secondary power-on flow; or,
if the card is online and the use scene of the home gateway when the home gateway is used last time is non-machine-card separation, automatically selecting a machine-card separation terminal process after the home gateway restores factory configuration; or,
if the card is online and the use scene of the home gateway when the home gateway is used last time is machine-card separation, the home gateway compares whether the MAC addresses of the home gateway and the card are consistent with the card serial number, if so, the home gateway automatically selects a logic ID secondary power-on process, and if not, the home gateway automatically selects a machine-card separation terminal process after factory configuration is restored; or,
if the card is not on-line and the use scene of the home gateway when being used last time is machine-card separation, prompting a user to insert the card, and after detecting the user to insert the card, comparing whether the MAC address and the card serial number of the home gateway and the card are consistent or not by the home gateway, if so, automatically selecting a logic ID secondary power-on process by the home gateway, and if not, automatically selecting a machine-card separation terminal process after the home gateway restores factory configuration.
2. The method according to claim 1, wherein the non-machine-card separated terminal process selected by the home gateway when the card is not online and the home gateway is a new terminal is specifically a logic ID first power-on process;
the logic ID first power-on process comprises the following steps: and manually inputting a logic ID, and reporting the logic ID and a first event number to a terminal comprehensive management system by the home gateway, wherein the logic ID is used for identifying the identity of a user, and the first event number is used for indicating that the home gateway is electrified for the first time.
3. The method according to claim 1, wherein the non-machine-card separated terminal process selected when the card is not online and the usage scenario of the home gateway when the home gateway is used last time is a non-machine-card time division process is specifically a logic ID secondary power-on process;
the logic ID secondary power-on process comprises the following steps: and the home gateway reports the logic ID and a second event number to the terminal comprehensive management system according to the logic ID stored after the logic ID is electrified for the first time, wherein the logic ID is used for identifying the user identity, and the second event number is used for representing the secondary electrification of the home gateway.
4. The method of claim 1, wherein the machine-card separation terminal process comprises:
the home gateway reads the card serial number and the logic ID in the card and sends the card serial number and the logic ID to a terminal comprehensive management system for verification; receiving a card read-write control key issued by the terminal integrated management system after passing the verification, and authenticating the home gateway and the card based on the card read-write control key; after the authentication is passed, the home gateway reads and writes the parameters related to the service into the card, and writes the MAC address into the card and locally stores the serial number of the card in the card.
5. A home gateway, comprising:
a card detection unit for detecting whether the card is on-line;
a scene determination unit for determining a usage scene of the user at the time of the last usage;
the system comprises a flow selection unit, a flow selection unit and a flow selection unit, wherein the flow selection unit is used for automatically selecting a home gateway flow suitable for a use scene according to the online state of a card and the use scene of the home gateway when the home gateway is used last time, and the use scene of the home gateway when the home gateway is used last time is a new terminal, machine-card separation or non-machine-card separation;
wherein, the flow selecting unit is specifically configured to:
if the card is not on-line and the home gateway is a new terminal, the home gateway automatically selects a non-machine-card separation terminal flow, and the non-machine-card separation terminal flow is a logic ID first power-on flow; or,
if the card is online and the home gateway is a new terminal, the home gateway automatically selects a machine-card separation terminal process; or,
if the card is not on-line and the use scene of the home gateway during the last use is non-machine-card separation, the home gateway automatically selects a non-machine-card separation terminal flow which is a logic ID secondary power-on flow; or,
if the card is online and the use scene of the home gateway when the home gateway is used last time is non-machine-card separation, automatically selecting a machine-card separation terminal process after the home gateway restores factory configuration; or,
if the card is online and the use scene of the home gateway when the home gateway is used last time is machine-card separation, the home gateway compares whether the MAC addresses of the home gateway and the card are consistent with the card serial number, if so, the home gateway automatically selects a logic ID secondary power-on process, and if not, the home gateway automatically selects a machine-card separation terminal process after factory configuration is restored; or,
if the card is not on-line and the use scene of the home gateway when being used last time is machine-card separation, prompting a user to insert the card, and after detecting the user to insert the card, comparing whether the MAC address and the card serial number of the home gateway and the card are consistent or not by the home gateway, if so, automatically selecting a logic ID secondary power-on process by the home gateway, and if not, automatically selecting a machine-card separation terminal process after the home gateway restores factory configuration.
6. The home gateway according to claim 5, wherein the non-card-separated terminal procedure selected by the home gateway when the card is not online and the home gateway is a new terminal is specifically a logical ID first power-on procedure;
the logic ID first power-on process comprises the following steps: and manually inputting a logic ID, and reporting the logic ID and a first event number to a terminal comprehensive management system by the home gateway, wherein the logic ID is used for identifying the identity of a user, and the first event number is used for indicating that the home gateway is electrified for the first time.
7. The home gateway according to claim 5, wherein the non-machine-card separated terminal process selected when the card is not online and the usage scenario of the home gateway when the home gateway is used last time is a non-machine-card time division process is specifically a logic ID secondary power-on process;
the logic ID secondary power-on process comprises the following steps: and the home gateway reports the logic ID and a second event number to the terminal comprehensive management system according to the logic ID stored after the logic ID is electrified for the first time, wherein the logic ID is used for identifying the user identity, and the second event number is used for representing the secondary electrification of the home gateway.
8. The home gateway according to claim 5, wherein the machine-card separated terminal process comprises:
the home gateway reads the card serial number and the logic ID in the card and sends the card serial number and the logic ID to a terminal comprehensive management system for verification; receiving a card read-write control key issued by the terminal integrated management system after passing the verification, and authenticating the home gateway and the card based on the card read-write control key; after the authentication is passed, the home gateway reads and writes the parameters related to the service into the card, and writes the MAC address into the card and locally stores the serial number of the card in the card.
CN201310659520.9A 2013-12-09 2013-12-09 The method of home gateway and its Auto-matching usage scenario Active CN104702495B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310659520.9A CN104702495B (en) 2013-12-09 2013-12-09 The method of home gateway and its Auto-matching usage scenario

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310659520.9A CN104702495B (en) 2013-12-09 2013-12-09 The method of home gateway and its Auto-matching usage scenario

Publications (2)

Publication Number Publication Date
CN104702495A CN104702495A (en) 2015-06-10
CN104702495B true CN104702495B (en) 2018-09-11

Family

ID=53349281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310659520.9A Active CN104702495B (en) 2013-12-09 2013-12-09 The method of home gateway and its Auto-matching usage scenario

Country Status (1)

Country Link
CN (1) CN104702495B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11227674B2 (en) * 2015-06-30 2022-01-18 K4Connect Inc. Home automation system generating user health score and related methods

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102036112A (en) * 2010-10-14 2011-04-27 中兴通讯股份有限公司 Digital television terminal and use method of Internet Protocol Television business thereof
CN102833102A (en) * 2012-08-24 2012-12-19 烽火通信科技股份有限公司 Customer premise equipment system of set-card separated type gateway and data configuration management method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102036112A (en) * 2010-10-14 2011-04-27 中兴通讯股份有限公司 Digital television terminal and use method of Internet Protocol Television business thereof
CN102833102A (en) * 2012-08-24 2012-12-19 烽火通信科技股份有限公司 Customer premise equipment system of set-card separated type gateway and data configuration management method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
中国电信家庭网关与终端综合管理***(ITMS)接口技术要求讨论稿;中国电信集团公司;《中国电信集团公司技术标准》;20120930;第48页至第52页,图39 *

Also Published As

Publication number Publication date
CN104702495A (en) 2015-06-10

Similar Documents

Publication Publication Date Title
CN110401662B (en) Industrial control equipment fingerprint identification method and storage medium
US9436557B2 (en) Method and computation node for processing application data
US10469620B2 (en) Method for transferring a new software version to at least one electricity meter via a communication network
US11245577B2 (en) Template-based onboarding of internet-connectible devices
WO2016165389A1 (en) Screen exception handling method, handling device, and terminal
CN110063042B (en) Database fault response method and terminal thereof
WO2022262740A1 (en) Control method and system for internet of things gateway
CN104866782A (en) Data processing method and apparatus
CN104809046A (en) Application program networking control method and application program networking control device
CN107070875B (en) Method for releasing binding relationship between intelligent device and user and intelligent device
CN104702495B (en) The method of home gateway and its Auto-matching usage scenario
CN111984459B (en) Apple ID account removing method and system
CN108156203B (en) Storage system and storage node management method
CN106549814B (en) The method of calibration and equipment of device parameter validity
CN105681038A (en) Mobile terminal-based debugging permission control method and system
CN103686644A (en) Remote control method and remote control system for terminal switching and server
EP3119043B1 (en) Flow table entry management method and device
CN108319679B (en) Method and device for generating primary key
CN112311607B (en) CLI configuration verification method, device, controller and readable storage medium
US11637750B2 (en) Providing configuration data to a connected network switch
CN116208476A (en) Method and device for automatically configuring route by virtual machine, electronic equipment and storage medium
CN108012255A (en) Mobile terminal number binding method and device
CN114389932A (en) Intelligent device binding method and device, computer device and storage medium
CN105703950B (en) Fault-tolerant method for equipment out-of-service caused by control plane abnormality
CN114698411A (en) Multimedia playing box, communication method and system

Legal Events

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