CN111327440B - Method and device for automatically configuring set top box - Google Patents

Method and device for automatically configuring set top box Download PDF

Info

Publication number
CN111327440B
CN111327440B CN201811533552.3A CN201811533552A CN111327440B CN 111327440 B CN111327440 B CN 111327440B CN 201811533552 A CN201811533552 A CN 201811533552A CN 111327440 B CN111327440 B CN 111327440B
Authority
CN
China
Prior art keywords
top box
set top
work order
account password
automatic configuration
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
CN201811533552.3A
Other languages
Chinese (zh)
Other versions
CN111327440A (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 Mobile Communications Group Co Ltd
China Mobile Group Shandong Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Shandong 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 China Mobile Communications Group Co Ltd, China Mobile Group Shandong Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201811533552.3A priority Critical patent/CN111327440B/en
Publication of CN111327440A publication Critical patent/CN111327440A/en
Application granted granted Critical
Publication of CN111327440B publication Critical patent/CN111327440B/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/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention provides a method and a device for automatically configuring a set top box. According to the embodiment of the invention, the APK is automatically configured by developing the set top box, the set top box is firstly networked by adopting the built-in default account, and then the data is downloaded to complete the idea of self-refreshing configuration, so that the problems that the set top box cannot be interconnected in the initial configuration and cannot easily transmit the data without a WIFI configuration function are effectively solved. The installation full-automatic configuration is realized, and the flexibility of the original account password authentication is reserved. Effectively solve the too loaded down with trivial details problem of installation on-the-spot input, improved installation efficiency greatly.

Description

Method and device for automatically configuring set top box
Technical Field
The embodiment of the invention relates to the technical field of mobile communication, in particular to a method and a device for automatically configuring a set top box.
Background
In order to improve the quality of television services and reduce the network load, especially the load of the content server metropolitan area link, "multicast" technology is gradually gaining attention and continuously spreading. The IPoE-based authentication method is widely applied due to the characteristics of flexibility, simplicity and high efficiency. However, the input of the account password of IPoE and the input of the account password of the IPTV service both need to be operated by a remote controller, which is very tedious and easy to make mistakes. And the general set-top box does not have the WEB configuration function and cannot be connected in a wired or wireless networking mode for automatic configuration.
Disclosure of Invention
To solve the technical problems in the prior art, embodiments of the present invention provide a method and an apparatus for automatically configuring a set top box
In a first aspect, an embodiment of the present invention provides a method for automatically configuring a set top box, including:
receiving a device identification of a set top box to be configured sent by a work order APP and work order information stored in the work order APP; the equipment identification is obtained by scanning a code of the set top box to be configured through a code scanning function by the work order APP; the work order information at least comprises a second network account password used for automatic configuration of the set top box to be configured;
receiving a self equipment identifier actively reported by the set top box to be configured after the set top box completes networking according to a first network account password stored locally;
and if the equipment identifier reported by the set top box to be configured is successfully matched with the equipment identifier sent by the work order APP, sending the work order information to the set top box to be configured so that the set top box to be configured can complete automatic configuration according to the work order information.
In a second aspect, an embodiment of the present invention provides another method for automatically configuring a set top box, including:
the method comprises the steps that a work order APP scans codes of a set top box to be configured through a code scanning function of the work order APP, and an equipment identifier of the set top box to be configured is obtained;
the work order APP sends work order information stored in local and the equipment identification to an automatic configuration server; the work order information at least comprises a second network account password used by the set top box to be configured for automatic configuration, so that the automatic configuration server sends the work order information to the set top box to be configured after judging that the equipment identifier actively reported by the set top box to be configured after networking is completed according to the first network account password stored locally is successfully matched with the equipment identifier sent by the work order APP, and the set top box to be configured completes automatic configuration.
In a third aspect, an embodiment of the present invention provides another method for automatically configuring a set top box, where the method includes:
after the set-top box to be configured completes networking according to the first network account password stored locally, the set-top box actively reports the own equipment identifier to the automatic configuration server;
the set top box to be configured receives the work order information sent by the automatic configuration server and completes automatic configuration; the work order information is sent to the set top box to be configured after the automatic configuration server judges that the equipment identifier actively reported by the set top box to be configured is successfully matched with the equipment identifier sent by the work order APP; the work order APP is right through a code scanning function, the set top box to be configured is scanned with codes to obtain the equipment identification, the equipment identification and the work order information stored in the work order APP are sent to the automatic configuration server, and the work order information at least comprises a second network account password for automatic configuration of the set top box to be configured.
In a fourth aspect, an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of the method as provided in the first aspect, the second aspect, or the third aspect when executing the program.
In a fifth aspect, embodiments of the present invention provide a non-transitory computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the method as provided in the first aspect, the second aspect or the third aspect.
According to the method and the device for automatically configuring the set top box, provided by the embodiment of the invention, the APK is automatically configured through developing the set top box, the idea that the set top box is firstly networked by adopting a built-in default account number and then the self-refreshing configuration is completed by downloading data is adopted, and the problems that the set top box cannot be interconnected in the initial configuration and the data is difficult to transmit without a WIFI configuration function are effectively solved. The installation full-automatic configuration is realized, and the flexibility of the original account password authentication is reserved. Effectively solve the too loaded down with trivial details problem of installation on-the-spot input, improved installation efficiency greatly.
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 embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flow chart of a method for automatically configuring a set top box according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a method for automatically configuring a set-top box according to another embodiment of the present invention;
fig. 3 is a schematic flow chart of a method for automatically configuring a set-top box according to another embodiment of the present invention;
FIG. 4 is a diagram illustrating an exemplary configuration server according to an embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating a work order APP terminal assembly according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a set-top box according to an embodiment of the present invention;
fig. 7 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. 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.
Aiming at the problem that the operation is too complicated when the set top box is configured in the prior art in the operator broadband installation, the embodiments of the invention provide a thought of code scanning automatic registration, and provide a method for realizing the automatic code scanning registration of the set top box in the operator television installation process. The scheme comprises the following parts:
auto configuration server (RMS): and (3) establishing an automatic configuration server, and adopting a fixed IP address or a domain name for realizing interaction by penetrating the information through the NAT.
Installing a work order APP function extension: the method comprises the steps that an operator installation work order APP is subjected to expansion development (or APP is independently developed) to enable the APP to have a code scanning function, and when a work order is opened and the MAC of a set top box is scanned, account password information in the MAC and the work order can be reported to an automatic configuration server RMS through a data interface.
The set top box automatically configures APK: the APK preset in the set-top box ROM has the following specific functions: and (1) setting a default IPOE account password and a RMS IP address in the network. (2) And after power-on, the automatic configuration server is automatically connected and the MAC information is reported. (3) And meanwhile, the relevant configuration information is tried to be downloaded from the automatic configuration server, and if the downloading is successful, the configuration is self-refreshed.
Matching the RMS upper work order with the set-top box: and the RMS stores the work order information reported by the installed work order APP in a pool to be configured after receiving the work order information, successfully matches the MAC when the MAC reported by the set-top box is consistent with the MAC in the stored work order information, and sends the account password information of the set-top box to the set-top box as a response message for self-refreshing configuration of the set-top box.
The method comprises the steps of building an automatic configuration server, automatically connecting a default account number in a set top box with the configuration server and reporting MAC information, recording work order APP through code scanning (the embodiment of the invention takes MAC scanning as an example for explanation, and management can be actually realized through any unique identification code) and reporting the MAC information to the automatic configuration server, and associating the set top box with the work order through the MAC on the automatic configuration server, so that the set top box can successfully acquire the configuration information in the work order, refresh the configuration scheme and realize automatic registration. The problem of installation on-the-spot input too loaded down with trivial details is solved, installation efficiency has been improved greatly.
Fig. 1 is a schematic flow chart of a method for automatically configuring a set top box according to an embodiment of the present invention, as shown in fig. 1, a main execution unit of the method automatically configures a server RMS, and the method includes the following steps:
step 100, receiving an equipment identifier of a set top box to be configured sent by a work order APP and work order information stored in the work order APP; the equipment identification is obtained by scanning a code of the set top box to be configured through a code scanning function by the work order APP; the work order information at least comprises a second network account password used for automatic configuration of the set top box to be configured;
in the embodiment of the method, the work order APP has a code scanning function, when one work order is opened, the work order APP is used for scanning the two-dimensional code or the bar code on the set top box to be configured by the code scanning function under the work order environment, and the equipment identifier of the set top box can be obtained. After the work order APP scans the codes to obtain the MAC of the set top box, the work order information corresponding to the work order and the MAC information can be sent to the RMS together. The work order information at least comprises a second network account password, such as a second IPOE account password, used by the set top box to be configured for automatic configuration. The work order information is stored within the work order APP.
And the RMS receives the MAC information and the work order information sent by the work order APP.
Step 101, receiving a self equipment identifier actively reported by the set top box to be configured after the set top box completes networking according to a first network account password stored in the local;
after the set top box to be configured is powered on and started for the first time, the set top box to be configured can register to the RMS and report the MAC information of the set top box to be configured according to a first network account password which is internally provided with default, such as a first IPOE account password, after networking is successful. The RMS receives the MAC information sent by the set-top box to be configured.
And 102, if the equipment identifier reported by the set top box to be configured is successfully matched with the equipment identifier sent by the work order APP, sending the work order information to the set top box to be configured so that the set top box to be configured can complete automatic configuration according to the work order information.
It is understood that step 100 and step 101 may not be performed before, after, or simultaneously in time sequence. That is, the RMS receives the MAC information and the work order information sent by the work order APP, and receives the MAC information sent by the set-top box to be configured, and may receive the MAC information and the work order information at the same time or sequentially and respectively, which is not limited herein.
And the RMS is used for matching the MAC information reported by the set top box to be configured with the MAC information sent by the work order APP, and if the matching is successful, the work order information sent by the work order APP is sent to the set top box to be configured so that the set top box to be configured can complete automatic configuration according to the work order information.
In the above method embodiment, the work order information may further include: and the password, the area, the single broadcasting and other information of the service account.
In the embodiment of the method, if the device identifier reported by the set top box to be configured is unsuccessfully matched with the device identifier sent by the work order APP, the RMS sends a prompt message of configuration failure to the set top box to be configured.
The method for automatically configuring the set top box effectively solves the problems that the set top box cannot be interconnected in the primary configuration and data are difficult to transmit without a WIFI configuration function. The installation full-automatic configuration is realized, and the flexibility of the original account password authentication is reserved. Effectively solve the too loaded down with trivial details problem of installation on-the-spot input, improved installation efficiency greatly.
Fig. 2 is a schematic flow chart of a method for automatically configuring a set top box according to another embodiment of the present invention, and as shown in fig. 2, an execution main body of the method is a work order APP, and specifically may be a mobile terminal installed with the APP, where the method includes the following steps:
200, scanning a code of a set top box to be configured by a work order APP through a code scanning function of the work order APP, and obtaining an equipment identifier of the set top box to be configured;
step 201, the work order APP sends work order information stored locally and the equipment identifier to an automatic configuration server; the work order information at least comprises a second network account password used by the set top box to be configured for automatic configuration, so that the automatic configuration server sends the work order information to the set top box to be configured after judging that the equipment identifier actively reported by the set top box to be configured after networking is completed according to the first network account password stored locally is successfully matched with the equipment identifier sent by the work order APP, and the set top box to be configured completes automatic configuration.
In the embodiment of the method, the work order APP has a code scanning function, when one work order is opened, the work order APP is used for scanning the two-dimensional code or the bar code on the set top box to be configured by the code scanning function under the work order environment, and the equipment identifier of the set top box can be obtained. After the work order APP scans the codes to obtain the MAC of the set top box, work order information and MAC information corresponding to the work order can be sent to the RMS together. The work order information at least comprises a second network account password, such as a second IPOE account password, used by the set top box to be configured for automatic configuration. The work order information is stored within the work order APP.
After the set-top box to be configured is powered on and started for the first time, the set-top box to be configured can register to the RMS and report the MAC information of the set-top box per se after networking is successful according to a built-in default first network account password, such as a first IPOE account password. The RMS receives the MAC information sent by the set-top box to be configured.
And the RMS is used for matching the MAC information reported by the set top box to be configured with the MAC information sent by the work order APP, and if the matching is successful, the work order information sent by the work order APP is sent to the set top box to be configured so that the set top box to be configured can complete automatic configuration according to the work order information.
In the above method embodiment, the work order information may further include: and the password of the service account, the area, the single multicast and the like.
The method for automatically configuring the set top box effectively solves the problems that the set top box cannot be interconnected in the primary configuration and data are difficult to transmit without a WIFI configuration function. The method not only realizes the full-automatic configuration of the installation, but also keeps the flexibility of the password authentication of the original account. Effectively solve the too loaded down with trivial details problem of installation on-the-spot input, improved installation efficiency greatly.
Fig. 3 is a schematic flow chart of a method for automatically configuring a set top box according to another embodiment of the present invention, where an execution subject of the method is a set top box to be configured, and the method includes the following steps:
step 300, after the set top box to be configured completes networking according to a first network account password stored locally, the set top box to be configured initiatively reports a self equipment identifier to an automatic configuration server;
step 301, the set top box to be configured receives the work order information sent by the automatic configuration server and completes automatic configuration; the work order information is sent to the set top box to be configured after the automatic configuration server judges that the equipment identifier actively reported by the set top box to be configured is successfully matched with the equipment identifier sent by the work order APP; the work order APP is right through a code scanning function, the set top box to be configured is scanned with codes to obtain the equipment identification, the equipment identification and the work order information stored in the work order APP are sent to the automatic configuration server, and the work order information at least comprises a second network account password for automatic configuration of the set top box to be configured.
After the set-top box to be configured is powered on and started for the first time, the set-top box to be configured can register to the RMS and report the MAC information of the set-top box per se after networking is successful according to a built-in default first network account password, such as a first IPOE account password. The RMS receives the MAC information sent by the set-top box to be configured.
The work order APP has a code scanning function, when a work order is opened, the work order APP is used for scanning a two-dimensional code or a bar code on a set top box to be configured under the work order environment, and an equipment identifier of the set top box can be obtained. After the work order APP scans the codes to obtain the MAC of the set top box, work order information and MAC information corresponding to the work order can be sent to the RMS together. The work order information at least comprises a second network account password, such as a second IPOE account password, used by the set top box to be configured for automatic configuration. The work order information is stored within the work order APP. The work order information further includes: the service account password, the area and the single multicast information. And the RMS receives the MAC information and the work order information sent by the work order APP.
The RMS receives MAC information and work order information sent by a work order APP, and after receiving the MAC information sent by the set top box to be configured, the MAC information reported by the set top box to be configured is matched with the MAC information sent by the work order APP, if the matching is successful, the work order information sent by the work order APP is sent to the set top box to be configured, and the set top box finishes automatic configuration.
The method for automatically configuring the set top box effectively solves the problems that the set top box cannot be interconnected in the primary configuration and is difficult to transmit data without a WIFI configuration function. The installation full-automatic configuration is realized, and the flexibility of the original account password authentication is reserved. Effectively solve the too loaded down with trivial details problem of installation on-the-spot input, improved installation efficiency greatly.
The installed worksheet extended APP and the automatic configuration APK (built-in default account) of the set-top box provided by the embodiment can pass through the NAT by actively connecting with the automatic configuration server to realize the aim of information interaction, so that not only is automatic configuration realized, but also a foundation is laid for subsequent terminal management based on TR 111.
The method of the present invention is described in detail below by a complete interactive flow of a method for automatic configuration of a set-top box, which may include the following steps:
the first step is as follows: opening a work order in an installation work order APP and scanning codes to obtain a set top box MAC;
the second step is that: the installation work order APP uploads the MAC (media access control) information and the installation work order information of the set top box to the RMS platform, wherein the information comprises network account passwords, service account passwords, areas, single broadcasting and the like;
the third step: when the set-top box is powered on and started, the set-top box is automatically started to automatically configure the APK;
the fourth step: automatically configuring an APK (authentication authorization accounting) to initiate authentication to AAA (authentication authorization accounting) by using a uniform fixed network account password (namely a first network account password), and after the authentication is successful, the set top box can successfully network; (APK supports network switching function, when IPOE authentication fails, it can automatically switch to DHCP network to try networking, network connection is unsuccessful, retry 1 time every 5 minutes, and retry immediately at manual point);
it is understood that the first network account password is used in a networking mode after being powered on for the first time, and is not used continuously in the following process.
The fifth step: after the set-top box is successfully networked, registering the set-top box to an RMS platform, reporting an MAC and an IP address of the set-top box, and simultaneously requesting a configuration file to download;
and a sixth step: and the RMS platform matches the MAC obtained from the automatic configuration APP in the second step with the MAC reported by the set top box in the fifth step, and if the matching is successful, the RMS platform responds to the request of the set top box in real time and replies the information of the configuration file (IPOE account password, service account password, single multicast and area) to the set top box. If the matching fails, a message that the set top box code scanning corresponding to the work order is not detected is sent to the set top box;
the seventh step: the set-top box self-refreshes default network configuration and service data configuration according to the received configuration file, restarts network connection, and can log in by using a normal network account and a service account;
the eighth step: after the set-top box successfully logs in, the APK automatically turns off the automatic operation function, and the set-top box is not started any more when being restarted next time.
According to the method for automatically configuring the set top box, provided by the embodiment of the invention, the APK is automatically configured through developing the set top box, the idea that the set top box is firstly networked by adopting a built-in default account number and then the data is downloaded to complete self-refreshing configuration is adopted, and the problems that the set top box cannot be interconnected in initial configuration and the data is difficult to transmit without a WIFI configuration function are effectively solved. The installation full-automatic configuration is realized, and the flexibility of the original account password authentication is reserved. Effectively solve the too loaded down with trivial details problem of installation on-the-spot input, improved installation efficiency greatly.
Fig. 4 is a schematic composition diagram of an automatic configuration server according to an embodiment of the present invention, and as shown in fig. 4, the automatic configuration server includes a first processing module 401, a second processing module 402, and a third processing module 403, where: the first processing module 401 is configured to receive a device identifier of a set top box to be configured sent by a work order APP and work order information stored in the work order APP; the equipment identification is obtained by scanning a code of the set top box to be configured through a code scanning function by the work order APP; the work order information at least comprises a second network account password used for automatic configuration of the set top box to be configured; the second processing module 402 is configured to receive a device identifier of the set top box to be configured, which is actively reported after the set top box to be configured completes networking according to the first network account password stored locally; the third processing module 403 is configured to send the work order information to the set-top box to be configured if the device identifier reported by the set-top box to be configured is successfully matched with the device identifier sent by the work order APP, so that the set-top box to be configured completes automatic configuration according to the work order information.
The embodiment of the apparatus may be specifically configured to execute the method embodiment shown in fig. 1, and specific functions are described in the method embodiment, which is not described herein again.
Fig. 5 is a schematic composition diagram of a work order APP terminal provided in an embodiment of the present invention, and as shown in fig. 5, the work order APP terminal includes a fourth processing module 501 and a fifth processing module 502, where: the fourth processing module 501 is configured to scan a code of the set-top box to be configured through a code scanning function of the fourth processing module, so as to obtain an equipment identifier of the set-top box to be configured; the fifth processing module 502 is configured to send the locally stored work order information and the device identifier to the automatic configuration server; the work order information at least comprises a second network account password used by the set top box to be configured for automatic configuration, so that the automatic configuration server sends the work order information to the set top box to be configured after judging that the equipment identifier actively reported by the set top box to be configured after networking is completed according to the first network account password stored locally is successfully matched with the equipment identifier sent by the work order APP, and the set top box to be configured is enabled to complete automatic configuration.
The embodiment of the apparatus may be specifically configured to execute the method embodiment shown in fig. 2, and specific functions are described in the method embodiment, which is not described herein again.
Fig. 6 is a schematic composition diagram of a set top box according to an embodiment of the present invention, and as shown in fig. 6, the set top box includes a sixth processing module 601 and a seventh processing module 602, where: the sixth processing module 601 is configured to actively report the device identifier of the device to the automatic configuration server after networking is completed according to the first network account password stored locally; the seventh processing module 602 is configured to receive the work order information sent by the automatic configuration server and complete automatic configuration; the work order information is sent to the set top box to be configured after the automatic configuration server judges that the equipment identifier actively reported by the set top box to be configured is successfully matched with the equipment identifier sent by the work order APP; the work order APP is right through a code scanning function, the set top box to be configured is scanned with codes to obtain the equipment identification, the equipment identification and the work order information stored in the work order APP are sent to the automatic configuration server, and the work order information at least comprises a second network account password for automatic configuration of the set top box to be configured.
The embodiment of the apparatus may be specifically configured to execute the method embodiment shown in fig. 3, and specific functions are described in the method embodiment, which is not described herein again.
The device provided by the embodiment of the invention effectively solves the problems that the set top box cannot be interconnected in the primary configuration and is difficult to transmit data without a WIFI configuration function. The method not only realizes the full-automatic configuration of the installation, but also keeps the flexibility of the password authentication of the original account. Effectively solve the too loaded down with trivial details problem of installation on-the-spot input, improved installation efficiency greatly.
Fig. 7 is a schematic entity structure diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 7, the electronic device may include: a processor (processor) 710, a communication Interface (Communications Interface) 720, a memory (memory) 730, and a communication bus 740, wherein the processor 710, the communication Interface 720, and the memory 730 communicate with each other via the communication bus 740. Processor 710 may invoke a computer program stored on memory 730 and executable on processor 710 to perform the transfer methods provided by the various embodiments described above, including, for example: receiving a device identification of a set top box to be configured sent by a work order APP and work order information stored in the work order APP; the equipment identification is obtained by scanning a code of the set top box to be configured through a code scanning function by the work order APP; the work order information at least comprises a second network account password used for automatic configuration of the set top box to be configured; receiving a self equipment identifier actively reported by the set top box to be configured after the set top box completes networking according to a first network account password stored locally; and if the equipment identifier reported by the set top box to be configured is successfully matched with the equipment identifier sent by the work order APP, sending the work order information to the set top box to be configured so that the set top box to be configured can complete automatic configuration according to the work order information.
Alternatively, the method comprises the following steps: the method comprises the steps that a work order APP scans codes of a set top box to be configured through a code scanning function of the work order APP, and an equipment identifier of the set top box to be configured is obtained; the work order APP sends work order information stored in local and the equipment identification to an automatic configuration server; the work order information at least comprises a second network account password used by the set top box to be configured for automatic configuration, so that the automatic configuration server sends the work order information to the set top box to be configured after judging that the equipment identifier actively reported by the set top box to be configured after networking is completed according to the first network account password stored locally is successfully matched with the equipment identifier sent by the work order APP, and the set top box to be configured completes automatic configuration.
Alternatively, it comprises: after the set-top box to be configured completes networking according to the first network account password stored locally, the set-top box actively reports the own equipment identifier to the automatic configuration server; the set top box to be configured receives the work order information sent by the automatic configuration server and completes automatic configuration; the work order information is sent to the set top box to be configured after the automatic configuration server judges that the equipment identifier actively reported by the set top box to be configured is successfully matched with the equipment identifier sent by the work order APP; the work order APP is right through a code scanning function, the set top box to be configured is scanned with codes to obtain the equipment identification, the equipment identification and the work order information stored in the work order APP are sent to the automatic configuration server, and the work order information at least comprises a second network account password for automatic configuration of the set top box to be configured.
In addition, the logic instructions in the memory 730 can be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or make a contribution to the prior art, or may be implemented in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
Embodiments of the present invention further provide a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented to perform the transmission method provided in the foregoing embodiments when executed by a processor, and the method includes: receiving a device identification of a set top box to be configured sent by a work order APP and work order information stored in the work order APP; the equipment identification is obtained by scanning a code of the set top box to be configured through a code scanning function by the work order APP; the work order information at least comprises a second network account password used for automatic configuration of the set top box to be configured; receiving a self equipment identifier actively reported by the set top box to be configured after the set top box completes networking according to a first network account password stored locally; and if the equipment identifier reported by the set top box to be configured is successfully matched with the equipment identifier sent by the work order APP, sending the work order information to the set top box to be configured so that the set top box to be configured can complete automatic configuration according to the work order information.
Alternatively, it comprises: the method comprises the steps that a work order APP scans codes of a set top box to be configured through a code scanning function of the work order APP, and an equipment identifier of the set top box to be configured is obtained; the work order APP sends work order information stored in local and the equipment identification to an automatic configuration server; the work order information at least comprises a second network account password used by the set top box to be configured for automatic configuration, so that the automatic configuration server sends the work order information to the set top box to be configured after judging that the equipment identifier actively reported by the set top box to be configured after networking is completed according to the first network account password stored locally is successfully matched with the equipment identifier sent by the work order APP, and the set top box to be configured completes automatic configuration.
Alternatively, it comprises: after the set-top box to be configured completes networking according to the first network account password stored locally, the set-top box actively reports the own equipment identifier to the automatic configuration server; the set top box to be configured receives the work order information sent by the automatic configuration server and completes automatic configuration; the work order information is sent to the set top box to be configured after the automatic configuration server judges that the equipment identifier actively reported by the set top box to be configured is successfully matched with the equipment identifier sent by the work order APP; the work order APP is right through a code scanning function, the set top box to be configured scans codes to obtain the equipment identification, the equipment identification and the storage are carried out in the work order APP, the work order information is sent to the automatic configuration server, and the work order information at least comprises a second network account password for automatic configuration of the set top box to be configured.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment may be implemented by software plus a necessary general hardware platform, and may also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for automatically configuring a set top box is characterized by comprising the following steps:
receiving a device identification of a set top box to be configured sent by a work order APP and work order information stored in the work order APP; the equipment identification is obtained by scanning a code of the set top box to be configured through a code scanning function by the work order APP; the work order information at least comprises a second network account password used for automatic configuration of the set top box to be configured, and the second network account password is an IPOE account password;
the method comprises the steps that after the set top box to be configured completes networking according to a first network account password stored locally, the set top box to be configured actively reports a self equipment identifier, wherein the first network account password is a fixed network account password, the first network account password is used for networking after being powered on and started for the first time, and the set top box to be configured is not used any more in the follow-up process;
if the equipment identifier reported by the set top box to be configured is successfully matched with the equipment identifier sent by the work order APP, sending the work order information to the set top box to be configured so that the set top box to be configured can complete automatic configuration according to the work order information;
the set top box to be configured is preset with an automatic configuration APK, and when the set top box to be configured is powered on and started, the automatic configuration APK is automatically started; the APK initiates an authentication request by using the first network account password, and after the authentication is successful, the STB to be configured is successfully networked; after the authentication fails, the APK is automatically switched to other network networking;
the set top box to be configured refreshes default network configuration and service data configuration according to the received configuration file, restarts network connection and logs in by using an IPOE account and a service account;
and after the set top box to be configured successfully logs in, the automatic configuration APK closes the automatic operation function, and the set top box to be configured is not started any more next time when being restarted.
2. The method of claim 1, wherein the work order information further comprises: the service account password, the area and the single multicast information.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
and if the equipment identifier reported by the set top box to be configured is unsuccessfully matched with the equipment identifier sent by the work order APP, sending a prompt message of configuration failure to the set top box to be configured.
4. A method for automatically configuring a set top box is characterized by comprising the following steps:
the method comprises the steps that a work order APP scans codes of a set top box to be configured through a code scanning function of the work order APP, and an equipment identifier of the set top box to be configured is obtained;
the work order APP sends work order information stored in local and the equipment identification to an automatic configuration server; the work order information at least comprises a second network account password used by the set top box to be configured for automatic configuration, so that the automatic configuration server sends the work order information to the set top box to be configured after judging that the equipment identifier actively reported by the set top box to be configured after networking is completed according to the first network account password stored locally is successfully matched with the equipment identifier sent by the work order APP, and the set top box to be configured completes automatic configuration;
the first network account password is a fixed network account password, is used in a networking mode after being powered on and started for the first time, and is not used any more subsequently;
the second network account password is an IPOE account password;
the set top box to be configured is preset with an automatic configuration APK, and when the set top box to be configured is powered on and started, the automatic configuration APK is automatically started; the APK initiates an authentication request by using the first network account password, and the set top box to be configured is successfully networked after the authentication is successful; after the authentication fails, the APK is automatically configured and switched to other network networking;
the set top box to be configured refreshes default network configuration and service data configuration according to the received configuration file, restarts network connection and logs in by using an IPOE account and a service account;
and after the set top box to be configured successfully logs in, the APK is automatically configured to close the automatic operation function, and the set top box to be configured is not started again next time.
5. The method of claim 4, wherein the work order information further comprises: the service account password, the area and the single multicast information.
6. A method for automatically configuring a set top box is characterized by comprising the following steps:
after the set-top box to be configured completes networking according to the first network account password stored locally, the set-top box actively reports the own equipment identifier to the automatic configuration server;
the set top box to be configured receives the work order information sent by the automatic configuration server and completes automatic configuration; the work order information is sent to the set top box to be configured after the automatic configuration server judges that the equipment identifier actively reported by the set top box to be configured is successfully matched with the equipment identifier sent by the work order APP; after the work order APP scans the code of the set top box to be configured through a code scanning function to obtain the equipment identifier, the equipment identifier and the work order information stored in the work order APP are sent to the automatic configuration server, and the work order information at least comprises a second network account password used for automatic configuration of the set top box to be configured;
the first network account password is a fixed network account password, is used in a networking mode after being powered on and started for the first time, and is not used any more subsequently;
the second network account password is an IPOE account password;
the set top box to be configured is preset with an automatic configuration APK, and when the set top box to be configured is powered on and started, the automatic configuration APK is automatically started; the APK initiates an authentication request by using the first network account password, and the set top box to be configured is successfully networked after the authentication is successful; after the authentication fails, the APK is automatically switched to other network networking;
the set top box to be configured refreshes default network configuration and service data configuration according to the received configuration file, restarts network connection and logs in by using an IPOE account and a service account;
and after the set top box to be configured successfully logs in, the automatic configuration APK closes the automatic operation function, and the set top box to be configured is not started any more next time when being restarted.
7. The method of claim 6, wherein the work order information further comprises: the service account password, the area and the single multicast information.
8. The method according to claim 6 or 7, wherein the device identifier is MAC information of the set top box to be configured, and is set on the set top box to be configured in a form of two-dimensional code or bar code.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1 to 8 are implemented when the processor executes the program.
10. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 8.
CN201811533552.3A 2018-12-14 2018-12-14 Method and device for automatically configuring set top box Active CN111327440B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811533552.3A CN111327440B (en) 2018-12-14 2018-12-14 Method and device for automatically configuring set top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811533552.3A CN111327440B (en) 2018-12-14 2018-12-14 Method and device for automatically configuring set top box

Publications (2)

Publication Number Publication Date
CN111327440A CN111327440A (en) 2020-06-23
CN111327440B true CN111327440B (en) 2022-10-18

Family

ID=71166507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811533552.3A Active CN111327440B (en) 2018-12-14 2018-12-14 Method and device for automatically configuring set top box

Country Status (1)

Country Link
CN (1) CN111327440B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557318A (en) * 2009-05-27 2009-10-14 深圳华为通信技术有限公司 Configuration method of network terminal and network terminal
JP6296324B2 (en) * 2013-07-12 2018-03-20 ブラザー工業株式会社 Registration server program, information device, information device program, and network system
CN106559305A (en) * 2015-09-18 2017-04-05 中兴通讯股份有限公司 By the method and device of Information Sharing to third party's social networkies
CN105827637B (en) * 2016-05-09 2019-02-22 广东天波信息技术股份有限公司 The configuration method and system of IMS fixed line number
CN106452917B (en) * 2016-11-24 2019-10-25 上海斐讯数据通信技术有限公司 PPPOE internet account and password method of automatic configuration and system
CN107087215A (en) * 2017-04-28 2017-08-22 武汉矽感科技有限公司 The application process and device of identification code

Also Published As

Publication number Publication date
CN111327440A (en) 2020-06-23

Similar Documents

Publication Publication Date Title
CN110300117B (en) IOT device and user binding authentication method, device and medium
CN110446201B (en) Communication module, communication method and system for realizing eSIM remote configuration
CN105072012A (en) Quick network access method of intelligent device
US9918353B2 (en) 802.1X access session keepalive method, device, and system
US20090233609A1 (en) Touchless Plug and Play Base Station
CN101395852B (en) Method and system for implementing configuration management of devices in network
CN111356149A (en) Wireless network configuration method and device
CN111934961B (en) Intelligent household network configuration method, equipment and computer readable storage medium
CN110012465B (en) Wireless router and method thereof
US9398471B2 (en) Identifying a wireless communication channel and a power setting for use by an access point to advertise a particular SSID
CN113055411A (en) Control method of home networking system, server and electronic equipment
CN112752325A (en) Network distribution method and device of household appliance, computer readable storage medium and processor
US20110177793A1 (en) Configuration of a communication device
CN113645068B (en) Method for realizing automatic deployment and computer readable storage medium
CN113596792B (en) Binding method and device of electronic equipment, storage medium and electronic device
CN104980994A (en) Equipment control method, device and mobile terminal
JP6884209B2 (en) Service ordering method and equipment
CN111327440B (en) Method and device for automatically configuring set top box
CN110856145B (en) IOT (Internet of things) equipment and user binding method, equipment and medium based on near field authentication
CN111918268B (en) Control method and device of intelligent equipment, electronic equipment and storage medium
CN112468538B (en) Operation method and system of Internet of things equipment
CN114900385A (en) Household appliance binding method and device, electronic device and storage medium
CN112866309B (en) Communication method and device
CN108023916B (en) Self-starting method and base station
CN112905992A (en) Intelligent login method and device for local area network, electronic equipment and storage medium

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