CN111405595A - Router configuration and maintenance method based on WeChat small program - Google Patents

Router configuration and maintenance method based on WeChat small program Download PDF

Info

Publication number
CN111405595A
CN111405595A CN202010199900.9A CN202010199900A CN111405595A CN 111405595 A CN111405595 A CN 111405595A CN 202010199900 A CN202010199900 A CN 202010199900A CN 111405595 A CN111405595 A CN 111405595A
Authority
CN
China
Prior art keywords
router
interface
configuration
wechat
information
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.)
Pending
Application number
CN202010199900.9A
Other languages
Chinese (zh)
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.)
Taicang T&W Electronics Co Ltd
Original Assignee
Taicang T&W Electronics 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 Taicang T&W Electronics Co Ltd filed Critical Taicang T&W Electronics Co Ltd
Priority to CN202010199900.9A priority Critical patent/CN111405595A/en
Publication of CN111405595A publication Critical patent/CN111405595A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • H04W12/033Protecting confidentiality, e.g. by encryption of the user plane, e.g. user's traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/69Identity-dependent
    • H04W12/73Access point logical identity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service

Abstract

The invention discloses a router configuration and maintenance method based on WeChat small programs, which specifically comprises the following steps: step 1, a user scans a two-dimensional code on a router to obtain a WeChat applet; step 2, the WeChat small program obtains the relevant information of the router from the local mobile phone cache, and takes out the relevant information of the gateway maintenance interface link router; step 3, the WeChat applet invokes an interface for connecting WiFi, and connects the mobile phone to the WiFi of the router; step 4, the WeChat small program initiates point-to-point communication with the router, obtains the related capability of the configurable interface and the related capability of the readable interface, and displays the related configuration interface and related information according to the configuration interface; and 7, setting or acquiring relevant information of the router through the configuration interface by the user, and displaying the relevant information on an operation interface of the applet. According to the invention, the related configuration can be completed only by scanning two-dimension codes, so that the user operation is simpler and more convenient.

Description

Router configuration and maintenance method based on WeChat small program
Technical Field
The invention belongs to the field of router setting and maintenance, and particularly relates to a router configuration and maintenance method based on WeChat small programs.
Background
The Router (Router), which is a device for connecting local area networks and wide area networks in the internet, automatically selects and sets a route according to the channel condition, and sends signals in a front-back order by using an optimal path. Routers operate at the network layer.
In a real network, the configuration of a router mainly includes: WEB configuration and APP configuration. The common router or home gateway has a WEB interface which can be configured, and because the functions of the router are relatively more, and the general router does not need to configure as much content, the common WEB interface design is not so friendly to the terminal user. The configuration mode of the mobile phone APP has the problem that a special mobile phone APP needs to be downloaded for management, the number of mobile phone APP users generally uses is small, the mobile phone APP users can occupy the mobile phone storage space of the users, and the configuration mode is not friendly to the users.
Disclosure of Invention
The invention provides a router configuration and maintenance method based on WeChat small programs for solving the technical problems. The method comprises the steps of scanning a two-dimensional code to obtain a WeChat small program, scanning router related information in the WeChat small program, processing the router related information, automatically connecting to a router, and calling a related interface of the router to complete configuration setting and maintenance information obtaining.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a router configuration and maintenance method based on WeChat small program includes the following steps:
step 1, a user scans a two-dimensional code on a router to obtain a WeChat applet;
step 2, the WeChat applet calls an official open interface of the WeChat applet and judges whether the local mobile phone cache contains relevant router information, wherein the relevant router information comprises a gateway maintenance interface link UR L, an operation Key, a WiFiSSID, a WiFi password and the like;
step 3, if the relevant information of the router can be obtained in the step 2, the relevant information of the router such as the gateway maintenance interface link UR L, the operation Key, the WiFi SSID, the WiFi password and the like is taken out from the mobile phone cache;
step 4, the WeChat applet invokes an interface for connecting WiFi, and connects the mobile phone to the WiFi of the router;
step 5, the WeChat small program initiates point-to-point communication with the router, obtains the related capability of the configurable interface and the related capability of the readable interface, displays the related configuration interface according to the related capability of the configurable interface, and displays the related information on the configuration interface according to the related capability of the readable interface;
and 6, setting or acquiring the related capability information of the router in the step 5 through the configuration interface by a user, and displaying the related capability information on an operation interface of the small program.
Further, if the relevant information of the router cannot be extracted in step 2, displaying an interface for scanning the two-dimensional code on an applet interface, then clicking the two-dimensional code of the configuration maintenance interface link of the scanning gateway, taking out the relevant information of the router such as the gateway maintenance interface link UR L, the operation Key, the WiFiSSID, the WiFi password and the like, and storing the connected relevant information in a mobile phone cache.
Further, the router is provided with an open application program interface.
Compared with the prior art, the invention has the following beneficial effects:
1. by adopting the method, a user does not need to download and install an APP (application) or log in a WEB interface of the router, but obtains the WeChat applet by scanning the two-dimensional code, then scans relevant information of the router, namely UR L, SSID, wireless KEY, operation KEY and other relevant information of an API (application programming interface) interface of the router in the WeChat applet, processes the relevant information of the router, calls an interface connected with Wi-Fi by the WeChat applet and is automatically connected to the router, and then completes configuration setting and acquisition of maintenance information by calling the relevant interface of the router.
2. The invention configures and maintains the router through the WeChat small program, because the WeChat small program: the English name Mini Program is an application which can be used without downloading and installing, the dream of 'being reachable by a touch' of the application is realized, and the application can be opened by scanning or searching by a user. The router is configured and maintained by adopting the WeChat small program, the WeChat small program does not need to be downloaded and installed, the memory of a mobile phone of a user is not occupied much, and the WeChat small program is a light application which is light and generally accepted by the user at present. Through the light application, the relevant configuration can be completed only by scanning two-dimensional codes, so that the user operation is simpler and more convenient.
Drawings
FIG. 1 is a flow chart of the operation in one embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention.
Fig. 1 shows an embodiment of a router configuration and maintenance method based on a wechat applet, in which the router has an open application program interface, and a specific router brand, a wireless mode, and an uplink mode are not limited, the router has an open application program interface for the wechat applet to obtain capabilities or read and set related parameters, and a data format passed between the wechat applet and the router may be json, xml, or other data formats;
the router configuration and maintenance method specifically comprises the following steps:
step 1, a user scans a two-dimensional code on a router to obtain a WeChat applet;
step 2, the WeChat applet calls the official open interface (for example Object) of the WeChat applet
wx, getstoregeinfosync ()), and judging whether the local mobile phone cache contains relevant router information, wherein the relevant router information comprises a gateway maintenance interface link UR L, an operation Key, a WiFi SSID (wireless fidelity identifier), a WiFi password and the like;
step 3, if the relevant information of the router can be obtained in the step 2, the relevant information of the router such as the gateway maintenance interface link UR L, the operation Key, the WiFi SSID, the WiFi password and the like is taken out from the mobile phone cache;
if the relevant information of the router cannot be extracted in the step 2, displaying an interface for scanning the two-dimensional code on an applet interface, then clicking the two-dimensional code linked with the configuration maintenance interface of the scanning gateway, taking out the relevant information of the router such as the gateway maintenance interface link UR L, the operation Key, the WiFiSSID, the WiFi password and the like from the two-dimensional code, and storing the connected relevant information in a mobile phone cache;
step 4, the WeChat applet invokes wx. connected Wifi (Object) to connect the WiFi interface, and connects the mobile phone to the WiFi of the router;
step 5. WeChat applet initiates a peer-to-peer communication with the router, e.g.
wx. sendsocketmessage (Object) interface, but not limited to this interface, obtains the relevant capabilities of the configurable interface (the relevant capabilities of the configurable interface include whether 2.4G or 5G is supported, or both, the relevant parameters of wireless, such as channel, wireless SSID, wireless key, parental control or firewall relevant settings, in short, the parameters that other management interfaces of the router can set, and the interface can be selectively opened for the messenger program) and the relevant capabilities of the readable interface (for example, viewing channel, current access user, upstream mode of the upstream interface, obtained address, etc., the parameters that other management interfaces of the router, such as WEB, can view the upstream interface, and the widget can be selectively opened), displays the relevant configuration interface according to the relevant capabilities of the configurable interface, displaying related information on a configuration interface; when the setting capability is acquired, the router also gives the relevant data type of each capability, for example, the IP corresponds to a text box, for example, the channel corresponds to a number, and gives an upper limit and a lower limit, so that the wechat applet can set different configuration boxes according to the situation;
and 6, setting or acquiring the related capability information of the router in the step 5 through the configuration interface by a user, and displaying the related capability information on an operation interface of the small program.
It should be understood that the description of the specific embodiments is intended to be illustrative of the invention and is not intended to limit the invention. Because the common configuration of the general router is not many, the user hopes to have a relatively friendly configuration interface to complete the configuration, and the common WEB configuration needs to use a computer, so that the operation on a mobile phone is inconvenient without using the computer. The APP configuration mode needs to download and install special APP, and the APP basically has low probability of use at ordinary times, seriously occupies the content of the mobile phone and influences the quick operation of the mobile phone, so the invention designs a router configuration and maintenance method based on WeChat small program; because the WeChat applet does not need to be downloaded and installed, the user mobile phone does not occupy much memory, the WeChat applet is a light application which is light and generally accepted by users at present, and related configuration can be completed only by scanning two-dimension codes through the light application, so that the user operation is simpler and more convenient.
The embodiments described above are only preferred embodiments of the invention and are not exhaustive of the possible implementations of the invention. Any obvious modifications to the above would be obvious to those of ordinary skill in the art, but would not bring the invention so modified beyond the spirit and scope of the present invention.

Claims (3)

1. A router configuration and maintenance method based on WeChat small program is characterized by comprising the following steps:
step 1, a user scans a two-dimensional code on a router to obtain a WeChat applet;
step 2, the WeChat applet calls an official open interface of the WeChat applet and judges whether the local mobile phone cache contains relevant router information, wherein the relevant router information comprises a gateway maintenance interface link UR L, an operation Key, a WiFi SSID, a WiFi password and the like;
step 3, if the relevant information of the router can be obtained in the step 2, the relevant information of the router such as the gateway maintenance interface link UR L, the operation Key, the WiFi SSID, the WiFi password and the like is taken out from the mobile phone cache;
step 4, the WeChat applet invokes an interface for connecting WiFi, and connects the mobile phone to the WiFi of the router;
step 5, the WeChat small program initiates point-to-point communication with the router, obtains the related capability of the configurable interface and the related capability of the readable interface, displays the related configuration interface according to the related capability of the configurable interface, and displays the related information on the configuration interface according to the related capability of the readable interface;
and 6, setting or acquiring the related capability information of the router in the step 5 through the configuration interface by a user, and displaying the related capability information on an operation interface of the small program.
2. The WeChat applet-based router configuration and maintenance method according to claim 1,
if the relevant information of the router cannot be extracted in the step 2, displaying an interface for scanning the two-dimensional code on an applet interface, then clicking the two-dimensional code linked with the configuration maintenance interface of the scanning gateway, taking out the relevant information of the router such as the gateway maintenance interface link UR L, the operation Key, the WiFiSSID, the WiFi password and the like, and storing the connected relevant information in a mobile phone cache.
3. The wechat applet-based router configuration and maintenance method according to claim 1, wherein the router has an open application program interface.
CN202010199900.9A 2020-03-20 2020-03-20 Router configuration and maintenance method based on WeChat small program Pending CN111405595A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010199900.9A CN111405595A (en) 2020-03-20 2020-03-20 Router configuration and maintenance method based on WeChat small program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010199900.9A CN111405595A (en) 2020-03-20 2020-03-20 Router configuration and maintenance method based on WeChat small program

Publications (1)

Publication Number Publication Date
CN111405595A true CN111405595A (en) 2020-07-10

Family

ID=71436379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010199900.9A Pending CN111405595A (en) 2020-03-20 2020-03-20 Router configuration and maintenance method based on WeChat small program

Country Status (1)

Country Link
CN (1) CN111405595A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866995A (en) * 2020-07-26 2020-10-30 广云物联网科技(广州)有限公司 WeChat applet-based intelligent device network distribution method and system
CN114090122A (en) * 2021-11-12 2022-02-25 广州通则康威智能科技有限公司 Method and device for configuring CPE by applet, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227346A (en) * 2015-08-24 2016-01-06 上海斐讯数据通信技术有限公司 A kind of method for configuring routers based on scanning Quick Response Code
CN107580302A (en) * 2017-09-12 2018-01-12 东莞微蜂创联网络科技有限公司 The method and system of wechat small routine and Transfer Parameters is accessed using Wi Fi fad problems
CN110234117A (en) * 2019-06-27 2019-09-13 杭州博联智能科技股份有限公司 IOT equipment distribution method, apparatus, equipment and medium based on small routine
CN110650070A (en) * 2018-06-26 2020-01-03 九阳股份有限公司 Household appliance network configuration method and WiFi module

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227346A (en) * 2015-08-24 2016-01-06 上海斐讯数据通信技术有限公司 A kind of method for configuring routers based on scanning Quick Response Code
CN107580302A (en) * 2017-09-12 2018-01-12 东莞微蜂创联网络科技有限公司 The method and system of wechat small routine and Transfer Parameters is accessed using Wi Fi fad problems
CN110650070A (en) * 2018-06-26 2020-01-03 九阳股份有限公司 Household appliance network configuration method and WiFi module
CN110234117A (en) * 2019-06-27 2019-09-13 杭州博联智能科技股份有限公司 IOT equipment distribution method, apparatus, equipment and medium based on small routine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866995A (en) * 2020-07-26 2020-10-30 广云物联网科技(广州)有限公司 WeChat applet-based intelligent device network distribution method and system
CN114090122A (en) * 2021-11-12 2022-02-25 广州通则康威智能科技有限公司 Method and device for configuring CPE by applet, computer equipment and storage medium
CN114090122B (en) * 2021-11-12 2023-05-23 广州通则康威智能科技有限公司 Method, device, computer equipment and storage medium for configuring CPE by applet

Similar Documents

Publication Publication Date Title
US9578594B2 (en) Managing contextual information for wireless communications
US7933262B2 (en) Method and system for providing integration theme pack service
US9756540B2 (en) System and method for offloading traffic from cellular networks
US9225798B2 (en) Remote access to a customer home network
KR100646478B1 (en) Service method for information exchanging between in-house device and mobile phone
US8165567B2 (en) Method and system for customizing user interface by editing multimedia content
US20060258341A1 (en) Mobile internet services discovery and/or provisioning
US20180091581A1 (en) Method of switching download mode, control method thereof and control system thereof
US10701577B2 (en) Subscriber data analysis and graphical rendering
EP3231153B1 (en) Distributing a network access policy
CN104461474A (en) Mobile terminal and screen-shooting method and device therefor
CN110213429B (en) Communication resource providing method
JP2017524168A (en) Service enabler function
KR20070049426A (en) Method and system of providing user centric service
CN104902547A (en) WiFi (wireless fidelity) network connection method and WiFi network connection device
CN109699019B (en) Broadcast scanning method, device, electronic equipment and storage medium
CN111405595A (en) Router configuration and maintenance method based on WeChat small program
CN103139305A (en) Device, method and setting thereof by using mobile terminal to control broadband user side apparatus
US20040259585A1 (en) Wireless device having dual bus archeticure for interfacing with cellular signals and short-range radio signals
CN113169992A (en) Equipment network distribution method and device, electronic equipment and storage medium
CN102077553A (en) Method, apparatus and computer program product for providing context triggered distribution of context models
CN104871481A (en) Method and apparatus for cloud based power management of local network devices
CN110213424B (en) terminal communication device
CN105721189A (en) Network port configuration method and device for network equipment
CN110198262B (en) Cross-application interface element providing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200710