CN113179185B - Method and device for self-service batch customization of router equipment clients and storage medium - Google Patents

Method and device for self-service batch customization of router equipment clients and storage medium Download PDF

Info

Publication number
CN113179185B
CN113179185B CN202110494687.9A CN202110494687A CN113179185B CN 113179185 B CN113179185 B CN 113179185B CN 202110494687 A CN202110494687 A CN 202110494687A CN 113179185 B CN113179185 B CN 113179185B
Authority
CN
China
Prior art keywords
customized
information
customization
router
service provider
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
CN202110494687.9A
Other languages
Chinese (zh)
Other versions
CN113179185A (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.)
Wangshi Technology Co ltd
Original Assignee
Shenzhen Wangshi Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Wangshi Technology Co ltd filed Critical Shenzhen Wangshi Technology Co ltd
Priority to CN202110494687.9A priority Critical patent/CN113179185B/en
Publication of CN113179185A publication Critical patent/CN113179185A/en
Application granted granted Critical
Publication of CN113179185B publication Critical patent/CN113179185B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • 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/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/164Adaptation or special uses of UDP protocol

Landscapes

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

Abstract

The invention discloses a method for customizing router equipment clients in batches by self, which comprises the steps of restoring the router equipment to a default mode and monitoring udp broadcast packets; extracting customized service provider information from the udp broadcast packet; switching the router equipment into a DHCP mode, sending a request for acquiring a customized information interface to a corresponding customized service provider side based on the information of the customized task, and receiving the returned customized information; writing the customized information into a FLASH of the router equipment, and finishing the customized logic of the router equipment; and sending a customization completion interface request to the corresponding customization service provider terminal based on the information of the customization task, and receiving returned customization completion confirmation information. The invention can lead the modification of the interface or the parameter of the router equipment to be carried out in the environment outside the factory, for example, the agent carries out the batch customization of the router, thereby reducing the customization cost and the operation difficulty of the batch equipment at the client side.

Description

Method and device for self-service batch customization of router equipment clients and storage medium
Technical Field
The invention relates to a device batch customization technology, in particular to a method for self-service batch customization of router device customers outside a factory (in a customer environment).
Background
In the context of consumer upgrades, there is also an increasing demand for personalization of router products. Customization is a kind of personalized service, and is to change a standard product, replace the standard component with a new one, or add a special function to a standard product to provide a more complete product combination for a customer/user according to the customer/user's needs.
After the router leaves the factory from the factory, it is difficult to customize some parameters or UI interfaces to the router, generally, it is necessary to change the built-in software or return the product to the factory environment for processing, and it is very difficult for the customer (generally, the agent) to perform the router customization operation in batch, and it is very easy to cause device damage.
Disclosure of Invention
In view of the above technical problems, the present invention provides a method, an apparatus, and a storage medium for self-help batch customization of a router device customer with low operation difficulty, so that a user can conveniently perform batch customization of a router in an environment outside a factory without changing router software.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a method for self-service batch customization of router equipment customers comprises the following steps:
s100, restoring the router equipment to a default mode, and monitoring a udp broadcast packet containing customized service provider information for positioning and generating a customized task;
s200, after the udp broadcast packet is monitored, extracting customized service provider information from the udp broadcast packet to determine an accurate customized service provider;
s300, switching the router equipment into a DHCP Client mode, sending a request for acquiring a customized information interface to a corresponding customized service provider terminal by adopting an http/https protocol based on information of a customized task, and receiving returned customized information after the customized information interface is communicated;
s400, writing the customized information into a FLASH of the router equipment, and completing the customized logic of the router equipment;
s500, sending a customization completion interface request to a corresponding customization service provider terminal by adopting an http/https protocol based on the information of the customization task, and receiving returned customization completion confirmation information after the customization completion interfaces are communicated.
Specifically, the customized service provider information in step S100 includes a network address, a link port, station information of the service provider, and a customized task ID, where the station information is used to determine the identity of the customized service provider.
Specifically, in step S300, the router device sends a request for obtaining a customized information interface to the customized service provider end through the network address and the link port of the service provider.
Specifically, the request for obtaining the customized information interface sent in step S300 further includes a customized task ID, a MAC address of the router device, and device model information.
Specifically, the customized information comprises customized logo picture information, customized page information, a customized device MAC address, a customized PPPoe user name and password, a customized DNS address, customized 2.4GSSID and 5GSSID and customized device model information.
Specifically, the customized logo picture information is a customized logo picture downloading path, and the customized page information is an html/js file path of a customized page;
before writing the customized information into the FLASH of the router device in step S400, the router device downloads and acquires the specified logo picture as the customized logo picture information according to the customized logo picture download path through the http/https protocol, and downloads and acquires the specified page html/js file as the customized page information according to the html/js file path of the customized page.
Further, the method for self-service batch customization of the router device customers further includes:
and S600, after the router equipment receives the returned customization completion confirmation information, the default mode is recovered, and the LED lamp of the router is controlled to flash to prompt the completion of customization operation.
On the other hand, the method for self-help batch customization of the router equipment customer provided by the invention comprises the following steps:
p100, the customized service provider user side sends a udp broadcast packet containing customized service provider information for positioning and generating a customized task at regular time;
p200, monitoring a port of a user side of a customized service provider, receiving a request for acquiring a customized information interface sent by router equipment, performing link authentication based on a customized task, and sending specified customized information to corresponding router equipment after communication;
and P300, continuously monitoring a port of a user side of the customized service provider, receiving a customized completion interface request sent by the router equipment, performing link authentication based on a customized task, and sending appointed customized completion confirmation information to the corresponding router equipment after communication.
Further, the present invention also provides a device for self-service batch customization of router device clients, comprising:
the starting module is used for configuring the router equipment in a default mode and starting monitoring the udp broadcast packet;
the extraction module is used for extracting customized service provider information used for positioning and generating customized tasks from the udp broadcast packet obtained by monitoring;
the switching module is used for switching the router equipment to a DHCP Client mode after the customized service provider information is extracted, and switching the router to a default mode after the customized configuration is finished;
the interaction module is used for performing connection interaction with a corresponding customized service provider side based on the customized task to acquire customized information or customized completion confirmation information; and
and the configuration module is used for carrying out customized configuration on the router equipment according to the acquired customized information.
Furthermore, the present invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the above-mentioned router device customer self-service batch customization method.
Furthermore, the invention also provides a router device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the steps of the self-service batch customization method for the router device clients when executing the computer program.
Still further, the present invention provides a computer device comprising a memory, one or more processors, and one or more computer programs stored on the memory and executable on the processors, the steps of the above-described router device customer self-service batch customization method being implemented when the one or more processors execute the one or more computer programs.
Compared with the prior art, the invention has the following beneficial effects:
(1) according to the client self-service batch customization method, device, storage medium and equipment, the modification of the interface or parameters of the router equipment can be carried out in an environment outside a factory, for example, an agent carries out the batch customization of the router, so that the customer side batch equipment customization cost and the operation difficulty are reduced.
(2) The invention utilizes a udp broadcast mode to identify and align the mark between the router equipment and the customized service provider, thereby facilitating the butt joint of the batch equipment and the customized service provider to carry out customized service, and the router equipment is switched to a DHCP mode when customized information is interacted, thereby automatically configuring the address in the network and facilitating the interaction of the customized information on the batch router equipment.
Drawings
FIG. 1 is a schematic flow chart of an embodiment of the present invention.
FIG. 2 is a schematic flow chart of another embodiment of the present invention.
FIG. 3 is a schematic flow chart of another embodiment of the present invention.
FIG. 4 is a schematic diagram of an interaction flow according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
FIG. 6 is a schematic diagram of an application of an embodiment of the present invention.
Detailed Description
The present invention is further illustrated by the following figures and examples, which include, but are not limited to, the following examples.
Example 1
As shown in fig. 1, the method for self-service batch customization by a router device customer provided by this embodiment includes the following steps:
s100, restoring the router equipment to a default mode, and monitoring a udp broadcast packet containing customized service provider information for positioning and generating a customized task; the customized service provider information includes a service provider's network address (IP/domain name), a link port, station information, and a customized task ID; the station information is used for determining the identity of the customized service provider, and particularly when a plurality of service providers exist on the network, the station information can be used for determining which server provides the customized service.
S200, after the udp broadcast packet is monitored, customized service provider information, such as a network address (IP/domain name), a link port, station information and a customized task ID, is extracted from the udp broadcast packet to determine an accurate customized service provider.
S300, switching the router equipment into a DHCP Client mode, directing a corresponding specified customized service provider through the extracted network address and the link port of the service provider, and sending a request for acquiring a customized information interface by adopting an http/https protocol based on information of a customized task, wherein the request also comprises station information, a customized task ID, and MAC address and equipment model information of the router equipment, and the station information is used for verifying whether the router equipment connected with the request belongs to the customized service object;
then receiving customized information returned by a customized service provider after the customized information interface is communicated; the customized information comprises customized logo picture information, customized page information, customized equipment MAC address, customized ppoe user name and password, customized DNS address, customized 2.4GSSID and 5GSSID, customized equipment model information and other equipment information needing customization. The customized logo picture information and the customized page information can be logo pictures and page html/js files directly provided by a customized service provider, and can also be appointed logo pictures and page html/js files from an external server; when the logo picture and the page html/js file come from an external server, the customized logo picture information and the customized page information in the returned customized information are in a downloading path or link path form, such as a customized logo picture downloading path and an html/js file path of a customized page, and at the moment, the router equipment is required to automatically download and acquire the corresponding picture or file according to the specified downloading path through an http/https protocol.
S400, writing the obtained customized information into a FLASH of the router equipment, and finishing the customized logic of the router equipment. Generally, in the process, a system configuration program built in the router device automatically configures according to customized information, and corresponding device parameters are adjusted.
S500, sending a customization completion interface request to a corresponding customization service provider end by adopting an http/https protocol based on information of the customization task, wherein the target in the process is the same as that of the customization service provider appointed in the step S300, and the request also comprises station position information, a customization task ID, the original MAC address and the original equipment model information of the router equipment, a new MAC address and new equipment model information (if the information is customized).
And then receiving customization completion confirmation information returned by the customization service provider after the customization completion interfaces are communicated so as to confirm that the customization is completed on the customized router equipment.
Example 2
As shown in fig. 2, in this embodiment, a step of prompting a user that a customization process is completed by a customized router device is added to embodiment 1, so that the user can intuitively know the customization situation. Namely, it is
S600, after the router equipment receives the returned customization completion confirmation information, the router equipment returns to a default mode, and controls a router LED lamp to flash so as to prompt relevant operators to inform the relevant operators that the customization operation of the router equipment is completed. The router led lamp can be controlled to flash for a set time, such as 5 minutes, and then automatically turned off, or the router led lamp can be controlled to continuously flash until relevant operators actively turn off the router equipment.
In addition, after the customization of the router device is completed in embodiment 1, the router device may also be automatically restored to the default mode under the trigger of the customization completion confirmation information, so as to facilitate the normal use of the subsequent router.
Example 3
The embodiment provides related security measures of the data encryption algorithm on the basis of the embodiment 1 for the data security. The method comprises the following specific steps:
s100, restoring the router equipment to a default mode, and monitoring a udp broadcast packet containing customized service provider information for positioning and generating a customized task; the customized service provider information includes the service provider's network address (IP/domain name), link port, site information, customized task ID, and AES key. And the configuration in the process is to monitor udp broadcast packets in the default mode to meet the basic network security requirement, and the security risk can be reduced as much as possible by limiting the monitoring duration, for example, the monitoring time is set not to exceed 5 minutes, otherwise, the monitoring is automatically turned off, and if customization is performed again, the process needs to be operated again.
S200, after the udp broadcast packet is monitored, customized service provider information, such as a network address (IP/domain name), a link port, station information, a customized task ID and an AES key, is extracted from the udp broadcast packet to determine an accurate customized service provider.
S300, switching the router equipment into a DHCP Client mode, directing a corresponding specified customized service provider through the extracted network address and link port of the service provider, sending a request for obtaining a customized information interface by adopting an http/https protocol based on information of a customized task, wherein the request also comprises station information, a customized task ID, and an MAC address and equipment model information of the router equipment, the station information is used for verifying whether the router equipment connected with the request belongs to the customized service object, and the request content is encrypted by adopting an AES-256-ECB encryption mode through a data encryption algorithm, and the encryption process is as follows: firstly, AES encryption is carried out on the content requested by the customized information acquisition interface, the key is an AES key field extracted in the step S200, then Base64 encoding is carried out on the ciphertext, and finally the content encoded by the Base64 is used as the request content sent by http/https. The customized service provider first Base64 decodes the requested content and then decrypts the requested content using the AES key to verify the requested content information.
Then after acquiring the interface link of the customized information, the customized service provider encrypts the corresponding customized information by adopting the same AES-256-ECB encryption mode, and then returns the encrypted information to the router equipment; the router device receives the customized information returned by the customized service provider, and then decrypts the content by adopting the same decryption method to obtain the required customized information. The customized information comprises customized logo picture information, customized page information, customized equipment MAC address, customized ppoe user name and password, customized DNS address, customized 2.4GSSID and 5GSSID, customized equipment model information and other equipment information needing customization.
S400, writing the obtained customized information into a FLASH of the router equipment, and finishing the customized logic of the router equipment. Generally, in the process, a system configuration program built in the router device automatically configures according to customized information, and corresponding device parameters are adjusted.
S500, sending a customization completion interface request to a corresponding customization service provider end by adopting an http/https protocol based on information of the customization task, wherein the target in the process is the same as that of the customization service provider appointed in the step S300, and the request also comprises station position information, a customization task ID, the original MAC address and the original equipment model information of the router equipment, a new MAC address and new equipment model information (if the information is customized). The same content encryption method and decryption method as those in step S300 may be used for information transmission in the request process of this step, but generally, in view of information importance and data processing complexity, information encryption processing may not be used in this step.
And then receiving customization completion confirmation information returned by the customization service provider after the customization completion interfaces are communicated so as to confirm that the customization is completed on the customized router equipment.
S600, after the router device receives the returned customization completion confirmation information, the router device returns to the default mode.
Example 4
As shown in fig. 3, the method for self-service batch customization by a router device customer provided by this embodiment includes the following steps:
p100, the customized service provider user side sends a udp broadcast packet containing customized service provider information for positioning and generating a customized task at regular time; the customized service provider information includes a service provider's network address (IP/domain name), link port, station information, and a customized task ID, and may also include an AES key for data encryption and decryption. The station information is used for determining the identity of the customized service provider, and particularly when a plurality of service providers exist on the network, the station information can be used for determining which server provides the customized service.
P200, monitoring a port of a user side of a customized service provider, calling http/http to receive a request for acquiring a customized information interface sent by router equipment, wherein the request comprises a network address, a link port and station position information of the service provider, a customized task ID, and MAC address and equipment model information of corresponding router equipment. The client of the customized service provider verifies whether the router equipment connected with the request belongs to the customized service object or not through the station position information in the request; and after the link authentication is confirmed, link authentication is carried out based on the customized task ID, and specified customized information is sent to the corresponding router equipment after the link authentication is carried out.
And P300, continuously monitoring a port of a user side of the customized service provider, receiving a customized completion interface request sent by the router equipment, performing link authentication based on a customized task, and sending appointed customized completion confirmation information to the corresponding router equipment after communication.
Example 5
As shown in fig. 4, the present embodiment provides a method for self-service batch customization of a router device customer based on interaction between the router device and a customization service provider, including the following steps:
s100, the router equipment is restored to be in a default mode, and a udp broadcast packet containing customized service provider information used for positioning and generating customized tasks is monitored.
P100, the customized service provider user side sends a udp broadcast packet containing customized service provider information for positioning and generating a customized task at regular time; the customized service provider information includes a service provider's network address (IP/domain name), link port, station information, and a customized task ID, and may also include an AES key for data encryption and decryption. The station information is used for determining the identity of the customized service provider, and particularly when a plurality of service providers exist on the network, the station information can be used for determining which server provides the customized service.
S200, after monitoring the udp broadcast packet, the router device extracts customized service provider information, such as a network address (IP/domain name), a link port, station information, and a customized task ID, from the udp broadcast packet to determine an accurate customized service provider.
S300, the router device is switched to a DHCP Client mode, the corresponding specified customized service provider is oriented through the extracted network address and the link port of the service provider, a request for obtaining a customized information interface is sent out by adopting an http/https protocol based on the information of the customized task, and the request also comprises station position information, a customized task ID, and the MAC address and the device model information of the router device.
P200, a monitoring port of a client side of the customized service provider, and calling http/https to receive a request for acquiring a customized information interface sent by router equipment. The client of the customized service provider verifies whether the router equipment connected with the request belongs to the customized service object or not through the station position information in the request; and after the link authentication is confirmed, link authentication is carried out based on the customized task ID, and specified customized information is sent to the corresponding router equipment after the link authentication is carried out. The customized information comprises customized logo picture information, customized page information, customized equipment MAC address, customized ppoe user name and password, customized DNS address, customized 2.4GSSID and 5GSSID, customized equipment model information and other equipment information needing customization. The customized logo picture information and the customized page information can be logo pictures and page html/js files directly provided by a customized service provider, and can also be appointed logo pictures and page html/js files from an external server.
S310, the router device receives the customized information returned by the customized service provider after acquiring the communication of the customized information interface. When the logo picture and the page html/js file come from an external server, the customized logo picture information and the customized page information in the returned customized information are in a downloading path or link path form, such as a customized logo picture downloading path and an html/js file path of a customized page, and at the moment, the router equipment is required to automatically download and acquire the corresponding picture or file according to the specified downloading path through an http/https protocol.
S400, the router device writes the obtained customized information into a FLASH of the router device and completes the customized logic of the router device. Generally, in the process, a system configuration program built in the router device automatically configures according to customized information, and corresponding device parameters are adjusted.
S500, sending a customization completion interface request to a corresponding customization service provider end by adopting an http/https protocol based on information of the customization task, wherein the target in the process is the same as that of the customization service provider appointed in the step S300, and the request also comprises station position information, a customization task ID, the original MAC address and the original equipment model information of the router equipment, a new MAC address and new equipment model information (if the information is customized).
And P300, the customized service provider user side continuously monitors the port, receives a customized completion interface request sent by the router equipment, performs link authentication based on a customized task, and sends appointed customized completion confirmation information to the corresponding router equipment after the communication.
And S510, the router device receives customization completion confirmation information returned by the customization service provider after the customization completion interfaces are communicated, so that the customization is confirmed to be completed on the customized router device.
S600, after receiving the returned customization completion confirmation information, the router equipment returns to a default mode and controls a LED lamp of the router to flash so as to prompt relevant operators to inform the relevant operators that the customization operation of the router equipment is completed. The router led lamp can be controlled to flash for a set time, such as 5 minutes, and then automatically turned off, or the router led lamp can be controlled to continuously flash until relevant operators actively turn off the router equipment.
Example 6
As shown in fig. 5, this embodiment provides an apparatus for self-service batch customization by a router device customer, including:
the starting module is used for configuring the router equipment in a default mode and starting monitoring the udp broadcast packet;
the extraction module is used for extracting customized service provider information used for positioning and generating customized tasks from the udp broadcast packet obtained by monitoring; the customized service provider information includes a service provider's network address (IP/domain name), a link port, station information, and a customized task ID;
the switching module is used for switching the router equipment to a DHCP Client mode after the customized service provider information is extracted, and switching the router to a default mode after the customized configuration is finished;
the interaction module is used for performing connection interaction with a corresponding customized service provider user side based on a customized task, sending a request for acquiring a customized information interface to the customized service provider user side, receiving customized information returned by the customized service provider after the customized information interface is acquired and communicated, sending a customized completion interface request to the corresponding customized service provider side after customization of the router equipment is completed, and receiving customized completion confirmation information returned by the customized service provider after the customized completion interface is communicated;
and the configuration module is used for carrying out customized configuration on the router equipment according to the acquired customized information.
Example 7
The present embodiment provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the above-mentioned router device customer self-service batch customization method. The method comprises the following steps:
s100, restoring the router equipment to a default mode, and monitoring a udp broadcast packet containing customized service provider information for positioning and generating a customized task;
s200, after the udp broadcast packet is monitored, extracting customized service provider information from the udp broadcast packet to determine an accurate customized service provider;
s300, switching the router equipment into a DHCP mode, sending a request for acquiring a customized information interface to a corresponding customized service provider terminal by adopting an http/https protocol based on information of a customized task, and receiving returned customized information after the customized information interface is communicated;
s400, writing the customized information into a FLASH of the router equipment, and completing the customized logic of the router equipment;
s500, sending a customization completion interface request to a corresponding customization service provider terminal by adopting an http/https protocol based on the information of the customization task, and receiving returned customization completion confirmation information after the customization completion interfaces are communicated.
Or the steps of the method comprise:
p100, the customized service provider user side sends a udp broadcast packet containing customized service provider information for positioning and generating a customized task at regular time;
p200, monitoring a port of a user side of a customized service provider, receiving a request for acquiring a customized information interface sent by router equipment, performing link authentication based on a customized task, and sending specified customized information to corresponding router equipment after communication;
and P300, continuously monitoring a port of a user side of the customized service provider, receiving a customized completion interface request sent by the router equipment, performing link authentication based on a customized task, and sending appointed customized completion confirmation information to the corresponding router equipment after communication.
The computer program stored on the computer readable storage medium provided by this embodiment is not limited to the above method steps, and may also perform operations related to the self-service batch customization method for the router device client provided by any embodiment of the present application.
The computer storage media of the embodiments of the present application may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or FLASH FLASH), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
In another embodiment, a router device is further provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the steps of the above-mentioned router device customer self-service batch customization method are implemented.
In another embodiment, there is also provided a computer device comprising a memory, one or more processors, and one or more computer programs stored on the memory and executable on the processors, the steps of the above-described router device customer self-service batch customization method being implemented when the one or more processors execute the one or more computer programs.
Through the process, the invention can realize the effect that the user customizes the default parameters and the UI interface of the router in batch on the basis of the existing functions of the router equipment in an external factory environment (such as an agent).
In practical applications, such as at an agent after leaving a factory environment, the number of workers (customized service providers) can be set according to the number of required customized router devices, which have different network addresses (IP/domain names) and link ports, and corresponding station information for differentiation and identity confirmation is configured for the workers, and a corresponding customized task ID can be generated when the customization operation is performed, as shown in fig. 6. The method comprises the steps that a worker configures a network according to topology, runs a customized program at a user side of a customized service provider, and configures customized information, such as a customized logo picture downloading path, an html/js file path of a customized page, a customized equipment MAC address, a customized PPPoe user name and password, a customized DNS address, customized 2.4GSSID and 5GSSID, customized equipment model information and the like, wherein the user side sends udp broadcast containing the customized information at regular intervals; connecting a batch of router devices needing customization to the same network, starting a customization program to automatically execute customization operation, and specifically comprising the following steps: the router recovers to a default mode and monitors udp broadcasting, corresponding customized service provider information is extracted from the monitored udp broadcasting and is connected with the customized service provider information to obtain customized information, customized logo pictures and page html/js files are obtained from a configured corresponding server according to a download path, then customized configuration is carried out, completion confirmation is carried out after customization is completed, led lamps on the router flash to indicate that the customization of the router equipment is completed, and a worker can take down the router; the process is repeated to customize the router in batches, and when the customized content needs to be adjusted, the customized information needing to be adjusted is reconfigured on the customized program on the user side; when different workers exist in the network, the workers can be accurately distinguished through the station information, and customized operation of related router equipment is not influenced.
The above embodiments are only preferred embodiments of the present invention, and are not intended to limit the scope of the present invention, but all changes that can be made by applying the principles of the present invention and performing non-inventive work on the basis of the principles shall fall within the scope of the present invention.

Claims (10)

1. A method for self-help batch customization of router equipment customers is characterized by comprising the following steps:
s100, restoring the router equipment to a default mode, and monitoring a udp broadcast packet containing customized service provider information for positioning and generating a customized task;
s200, after the udp broadcast packet is monitored, extracting customized service provider information from the udp broadcast packet to determine an accurate customized service provider;
s300, switching the router equipment into a DHCP Client mode, sending a request for acquiring a customized information interface to a corresponding customized service provider terminal by adopting an http/https protocol based on information of a customized task, and receiving returned customized information after the customized information interface is communicated;
s400, writing the customized information into a FLASH of the router equipment, and completing the customized logic of the router equipment;
s500, sending a customization completion interface request to a corresponding customization service provider terminal by adopting an http/https protocol based on the information of the customization task, and receiving returned customization completion confirmation information after the customization completion interfaces are communicated.
2. The method for self-service bulk customization according to claim 1, wherein the customized service provider information in step S100 includes a network address, a link port, station information and a customized task ID of the service provider, and the station information is used for determining the identity of the customized service provider.
3. The method for self-service batch customization by the router device customer according to claim 2, wherein in the step S300, the router device sends a request for obtaining a customized information interface to the customized service provider end through the network address and the link port of the service provider.
4. The method for self-service batch customization by the router device customer according to claim 3, wherein the request for obtaining the customized information interface sent in step S300 further includes a customized task ID, a MAC address of the router device, and device model information.
5. The method for self-service batch customization of router equipment customers according to any one of claims 1 to 4, wherein the customization information comprises customization logo picture information, customization page information, customization equipment MAC address, customization ppoe user name and password, customization DNS address, customization 2.4GSSID and 5GSSID, and customization equipment model information.
6. The method for self-service batch customization by the router equipment customers according to claim 5, wherein the customized logo picture information is a customized logo picture downloading path, and the customized page information is an html/js file path of a customized page;
before writing the customized information into the FLASH of the router device in step S400, the router device downloads and acquires the specified logo picture as the customized logo picture information according to the customized logo picture download path through the http/https protocol, and downloads and acquires the specified page html/js file as the customized page information according to the html/js file path of the customized page.
7. The method for self-service batch customization by router device customers according to any one of claims 1 to 4, further comprising
And S600, after the router equipment receives the returned customization completion confirmation information, the default mode is recovered, and the LED lamp of the router is controlled to flash to prompt the completion of customization operation.
8. A method for self-help batch customization of router equipment customers is characterized by comprising the following steps:
p100, the customized service provider user side sends a udp broadcast packet containing customized service provider information for positioning and generating a customized task at regular time;
p200, monitoring a port of a user side of a customized service provider, receiving a request for acquiring a customized information interface sent by router equipment, performing link authentication based on a customized task, and sending specified customized information to corresponding router equipment after communication;
and P300, continuously monitoring a port of a user side of the customized service provider, receiving a customized completion interface request sent by the router equipment, performing link authentication based on a customized task, and sending appointed customized completion confirmation information to the corresponding router equipment after communication.
9. A device for self-service bulk customization by a router device customer, comprising:
the starting module is used for configuring the router equipment in a default mode and starting monitoring the udp broadcast packet;
the extraction module is used for extracting customized service provider information used for positioning and generating customized tasks from the udp broadcast packet obtained by monitoring;
the switching module is used for switching the router equipment to a DHCP Client mode after the customized service provider information is extracted, and switching the router to a default mode after the customized configuration is finished;
the interaction module is used for performing connection interaction with a corresponding customized service provider side based on the customized task to acquire customized information or customized completion confirmation information; and
and the configuration module is used for carrying out customized configuration on the router equipment according to the acquired customized information.
10. A 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.
CN202110494687.9A 2021-05-07 2021-05-07 Method and device for self-service batch customization of router equipment clients and storage medium Active CN113179185B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110494687.9A CN113179185B (en) 2021-05-07 2021-05-07 Method and device for self-service batch customization of router equipment clients and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110494687.9A CN113179185B (en) 2021-05-07 2021-05-07 Method and device for self-service batch customization of router equipment clients and storage medium

Publications (2)

Publication Number Publication Date
CN113179185A CN113179185A (en) 2021-07-27
CN113179185B true CN113179185B (en) 2022-04-26

Family

ID=76928240

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110494687.9A Active CN113179185B (en) 2021-05-07 2021-05-07 Method and device for self-service batch customization of router equipment clients and storage medium

Country Status (1)

Country Link
CN (1) CN113179185B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110912776A (en) * 2019-11-27 2020-03-24 中国科学院信息工程研究所 Automatic fuzzy test method and device for entity router management protocol
CN111541750A (en) * 2020-04-14 2020-08-14 深圳市沃特沃德股份有限公司 Control method and device of intelligent lamp and computer equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8073936B2 (en) * 2006-06-08 2011-12-06 Cisco Technology, Inc. Providing support for responding to location protocol queries within a network node
US9197600B2 (en) * 2011-09-29 2015-11-24 Israel L'Heureux Smart router
US9819610B1 (en) * 2014-08-21 2017-11-14 Amazon Technologies, Inc. Routers with personalized quality of service
CN107967436A (en) * 2017-11-06 2018-04-27 深圳市吉祥腾达科技有限公司 A kind of router product produces the automated detection method and system of customized information
CN109361554A (en) * 2018-11-30 2019-02-19 深圳市普威技术有限公司 The method and apparatus of the customized management page and default configuration

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110912776A (en) * 2019-11-27 2020-03-24 中国科学院信息工程研究所 Automatic fuzzy test method and device for entity router management protocol
CN111541750A (en) * 2020-04-14 2020-08-14 深圳市沃特沃德股份有限公司 Control method and device of intelligent lamp and computer equipment

Also Published As

Publication number Publication date
CN113179185A (en) 2021-07-27

Similar Documents

Publication Publication Date Title
US11750412B2 (en) System and method for providing network support services and premises gateway support infrastructure
US8649386B2 (en) Multi-interface wireless adapter and network bridge
US10034057B2 (en) Message processing method, device, gateway, STB and IPTV
CN105100021B (en) Triggering method, device and system for device management session
CN109729535B (en) Base station opening method and device, computer storage medium and equipment
CN110413329A (en) IOT equipment remote debugging method, apparatus and system
KR101704319B1 (en) Parameter configuration system, program management device, and information process device
CN113179185B (en) Method and device for self-service batch customization of router equipment clients and storage medium
CN105471812B (en) Obtain the method and system of network video resource
CN111786932B (en) Account login method and device, electronic equipment and computer storage medium
CN105263194A (en) Method and device for establishing communication connection between mobile equipment and fixed equipment
KR20120066395A (en) System and method for supporting of network service
CN112565458B (en) Platform remote control method and device, storage medium and electronic equipment
KR101251099B1 (en) Method for monitoring a process of remote access and system for monitoring a process of remote access
CN109450718B (en) Remote diagnosis method and device for wireless routing equipment
CN107622205A (en) A kind of method and apparatus of operation system access mobile client
CN116356490A (en) Upgrade realization method for combination of sewing machine and mobile phone
Yue et al. Marine data collection based on embedded system with wired and wireless transmission
CN114443061A (en) Program programming method and device of embedded equipment, storage medium and terminal
JP2008242646A (en) Software introduction support system, method, program, and information processor

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 337000, Floor 1, Building 6, Tongjiu Road, Pingxiang Economic and Technological Development Zone, Pingxiang City, Jiangxi Province

Patentee after: Wangshi Technology Co.,Ltd.

Address before: Room 801, building B, Tongfang information port, No. 11, Langshan Road, songpingshan community, Xili street, Nanshan District, Shenzhen, Guangdong 518000

Patentee before: SHENZHEN WANGSHI TECHNOLOGY Co.,Ltd.