CN115002935A - Method and system for realizing interaction between router and mobile phone APP - Google Patents

Method and system for realizing interaction between router and mobile phone APP Download PDF

Info

Publication number
CN115002935A
CN115002935A CN202210926569.5A CN202210926569A CN115002935A CN 115002935 A CN115002935 A CN 115002935A CN 202210926569 A CN202210926569 A CN 202210926569A CN 115002935 A CN115002935 A CN 115002935A
Authority
CN
China
Prior art keywords
mobile phone
router
json data
request
module
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.)
Granted
Application number
CN202210926569.5A
Other languages
Chinese (zh)
Other versions
CN115002935B (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.)
Shenzhen Yilian Unlimited Technology Co ltd
Original Assignee
Shenzhen Comnect 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 Comnect Technology Co ltd filed Critical Shenzhen Comnect Technology Co ltd
Priority to CN202210926569.5A priority Critical patent/CN115002935B/en
Publication of CN115002935A publication Critical patent/CN115002935A/en
Application granted granted Critical
Publication of CN115002935B publication Critical patent/CN115002935B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • 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]
    • 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/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • 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/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method and a system for realizing interaction between a router and a mobile phone APP, wherein the method comprises the following steps: the mobile phone establishes connection with the router through HTTP POST, if the connection cannot be established, the mobile phone establishes connection with the router through MQTT protocol, and the mobile phone calls the established connection to send JSON data; if the mobile phone establishes connection with the router through the HTTP protocol, the router starts an HTTP server process and receives a local HTTP request, and if the mobile phone establishes connection with the router through the MQTT protocol, the router starts an MQTT remote service monitoring process and receives a remote MQTT request; after the HTTP server process or the MQTT remote service monitoring process receives the request, the JSON data sent by the mobile phone is analyzed, and an analysis result is executed and the JSON data is returned; and after the mobile phone receives the returned JSON data, analyzing the returned JSON data and displaying the JSON data in the related page of the mobile phone APP. The invention realizes effective interaction and quick response between the router and the mobile phone APP.

Description

Method and system for realizing interaction between router and mobile phone APP
Technical Field
The invention relates to the technical field of communication, in particular to a method and a system for realizing interaction between a router and a mobile phone APP.
Background
With the popularization of smart phones and the wide use of home routers, the traditional router configuration management can only check and configure various states through entering a management page by a computer. Because some computers manage the operation on the page complicatedly, and use cell-phone APP to manage the router more simply swiftly, some families have abandoned using computer control router, directly choose to use cell-phone control management router.
The mobile phone control management router needs to define how to carry out interactive communication between the router and the mobile phone APP, the traditional communication mode is that the mobile phone APP simulates a browser to send an HTML request to the router, the router returns HTML page content, and the mobile phone analyzes an HTML label. The traditional communication mode is complex to realize, and the compatibility and the adaptability are not enough, so that the remote management function can not be realized.
Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, the present invention aims to: the method and the system for realizing the APP interaction between the router and the mobile phone are provided, JSON data are transmitted between the router and the mobile phone, and the received JSON data are analyzed respectively, so that the purpose of interactive communication is achieved.
The invention provides a method for realizing interaction between a router and a mobile phone APP, which comprises the following steps:
the mobile phone APP detects whether the mobile phone can acquire the local area network IP of the router or not, if the mobile phone can acquire the local area network IP, the mobile phone establishes connection with the router through an HTTP protocol, if the connection cannot be established, the mobile phone establishes connection with the router through an MQTT protocol, and the mobile phone calls the established connection to send JSON data;
if the mobile phone establishes connection with the router through the HTTP protocol, the router starts an HTTP server process and receives a local HTTP request, and if the mobile phone establishes connection with the router through the MQTT protocol, the router starts an MQTT remote service monitoring process and receives a remote MQTT request;
after the HTTP server process or the MQTT remote service monitoring process receives the request, the JSON data sent by the mobile phone is analyzed, and an analysis result is executed and the JSON data is returned;
and after the mobile phone receives the returned JSON data, analyzing the returned JSON data and displaying the JSON data in the related page of the mobile phone APP.
Further, after the mobile phone is connected with the router, the mobile phone needs to wait for APP related operations, and the mobile phone encapsulates JSON data according to keywords and parameters corresponding to the related operations, so that the JSON data can be sent to the router by the mobile phone.
Furthermore, no matter the mobile phone and the router establish connection through a local HTTP request or a remote MQTT request, JSON data adopts a uniformly packaged data format.
Furthermore, the router starts an HTTP server process, when a local HTTP request is received, whether an APP.CGI request is contained in a URL of the request needs to be judged, JSON data sent by a mobile phone is analyzed if the APP.CGI request is contained, JSON data analysis is carried out according to a common WEB request if the APP.CGI request is not contained, and after the MQTT remote service monitoring process receives the remote MQTT request, the MQTT remote service monitoring process calls the APP.CGI process to carry out JSON data analysis.
Further, the key words in the JSON data specifically include: the mobile phone APP gateway comprises an operation command word, an operation command response value, a request global uniqueness identifier, a forwarding request keyword, a basic information acquisition keyword, a parameter content return keyword, an Internet access configuration information inquiry or setting keyword, a WAN port state information inquiry keyword, a LAN basic configuration information inquiry or setting keyword, a WIFI basic parameter configuration operation keyword and a system control keyword, and is used for realizing communication between the mobile phone APP and the router.
And further, after the router returns JSON data to the mobile phone, the APP.CGI process checks whether keywords of the JSON data contain forwarding request keywords, if yes, the router forwards the request to an address specified in the forwarding request keywords, and if not, the router executes the corresponding request.
The invention also discloses a system for realizing the interaction between the router and the mobile phone APP, which comprises the following steps:
the mobile phone APP detection module is used for detecting whether the mobile phone can acquire the local area network IP of the router or not;
the mobile phone side data sending module is used for establishing connection between the mobile phone and the router through an HTTP (hyper text transport protocol) or an MQTT (message queuing technology) protocol and calling the established connection to send JSON (Java Server object connection) data;
the route side request receiving module is used for starting an HTTP server process or an MQTT remote service monitoring process and receiving a local HTTP request or a remote MQTT request;
and the routing side result returning module is used for analyzing the JSON data sent by the mobile phone, executing the analysis result and returning the JSON data.
And the mobile phone side result receiving module is used for receiving the JSON data returned by the router by the mobile phone and analyzing the returned JSON data to display the JSON data in the related page of the mobile phone APP.
Further, the mobile phone side data sending module specifically comprises a connection module and a sending module, the connection module is used for establishing connection between the mobile phone and the router through an HTTP protocol or an MQTT protocol, and the sending module is used for calling the established connection to send JSON data.
Further, the routing side result returning module specifically includes a routing parsing module, an execution module and a returning module, the routing parsing module is used for the router to parse the JSON data, the execution module is used for executing the parsing result, and the returning module is used for returning the parsing result.
Further, cell-phone side result receiving module specifically includes receiving module, cell-phone analysis module and display module, receiving module is used for receiving the result that the router returned, cell-phone analysis module is used for the cell-phone to resolve the JSON data, display module is arranged in showing the result of resolving the JSON data to the relevant page of cell-phone APP.
Compared with the prior art, the invention has the following advantages:
in the method and the system for realizing the interaction between the router and the mobile phone APP, after the router and the mobile phone are connected through a wireless network, the router and the mobile phone realize the interactive communication through transmitting JSON data, the mobile phone can realize the report of the state and the configuration information of the router through analyzing the JSON data, the router can realize the inquiry of the mobile phone and the issuing of a control instruction through analyzing the JSON data, and the remote management of the router by the mobile phone is favorably realized.
Drawings
Fig. 1 is a flowchart of a method for implementing interaction between a router and a mobile phone APP according to an embodiment of the present invention;
fig. 2 is a flowchart of a system for implementing interaction between a router and a mobile phone APP according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and therefore are only used as examples, and the protection scope of the present invention is not limited thereby.
Referring to fig. 1, a method for realizing interaction between a router and a mobile phone APP includes steps S10-S40:
s10: the mobile phone APP detects whether the mobile phone can obtain the local area network IP of the router or not, if the local area network IP can be obtained, the mobile phone establishes connection with the router through an HTTP protocol, if the connection cannot be established, the mobile phone establishes connection with the router through an MQTT protocol, and the mobile phone calls the established connection to send JSON data.
The mobile phone APP detection mobile phone can acquire the local area network IP of the router through WIFI.
S20: if the mobile phone establishes connection with the router through the HTTP protocol, the router starts an HTTP server process and receives a local HTTP request, and if the mobile phone establishes connection with the router through the MQTT protocol, the router starts an MQTT remote service monitoring process and receives a remote MQTT request.
The mobile phone can establish connection with the router through a POST data transmission mode in an HTTP protocol, and can also establish connection with the router through data transmission modes such as GET and PUT.
S30: after the HTTP server process or the MQTT remote service monitoring process receives the request, the JSON data sent by the mobile phone is analyzed, and an analysis result is executed and the JSON data is returned;
the method comprises the steps that an HTTP server process receives a local HTTP request, whether an APP.CGI process is contained in a URL or not needs to be judged, if the APP.CGI process is contained, the HTTP server process calls the APP.CGI process to conduct JSON data analysis, if the APP.CGI process is not contained, a router conducts JSON data analysis according to a general WEB request, an MQTT remote service monitoring process receives a remote MQTT request, and the MQTT remote service monitoring process also needs to call the APP.CGI process to conduct JSON data analysis.
S40: and after the mobile phone receives the returned JSON data, analyzing the returned JSON data and displaying the JSON data in the related page of the mobile phone APP.
After the mobile phone is connected with the router, the mobile phone needs to wait for APP related operations, the mobile phone encapsulates JSON data according to keywords and parameters corresponding to the related operations and uses the JSON data to be sent to the router, in S40, the JSON data returned by analysis needs to be analyzed according to the defined keywords and parameters, the JSON data is in a uniformly encapsulated data format no matter whether the mobile phone and the router establish connection through a local HTTP request or a remote MQTT request.
Wherein, the key word in the JSON data specifically comprises: the mobile phone APP gateway comprises an operation command word, an operation command response value, a request global uniqueness identifier, a forwarding request keyword, a basic information acquisition keyword, a parameter content return keyword, an Internet access configuration information inquiry or setting keyword, a WAN port state information inquiry keyword, a LAN basic configuration information inquiry or setting keyword, a WIFI basic parameter configuration operation keyword and a system control keyword, and is used for realizing communication between the mobile phone APP and the router.
Specifically, the operation command word is action, the action values of the operation command word include scan, get and set, the scan, get and set correspond to the search device, the acquisition parameter and the setting parameter respectively, the request global uniqueness identifier is guid, the mobile phone APP can distinguish different threads to send requests conveniently, and the forwarding request keyword is ip.
The basic information acquisition keyword is dutInfo which represents basic information of the equipment, and the parameters comprise MAC, type, model, sn, name, sVersion, hVersion, date and init which respectively correspond to equipment MAC address, equipment type, equipment model, equipment serial number, equipment name, equipment software version, equipment hardware version, equipment production date and equipment initialization mark.
Inquiring or setting an internet configuration information keyword as wanInfo, indicating WAN port configuration information, wherein the parameters comprise type, pppUSsr, ppPwd, IP, mask, gateway, dns1 and dns2, which respectively correspond to the internet type, the user name of dial-up internet, the password of dial-up internet, the IP address of equipment, a subnet mask, a gateway address, a preferred domain name server and an alternative domain name server, wherein the value of the type parameter comprises 0, 1, 3 and 20, 0 represents a fixed IP address, 1 represents an automatic acquisition IP mode, 3 represents a broadband dialing mode, and 20 represents a bridging mode, when the type is 0, the specified parameters comprise IP, mask, gateway, dns1 and dns2, and when the type is 3, the specified parameters comprise pppUsr and ppPwd.
The method comprises the steps of inquiring a WAN port state information keyword as wanStatus to represent WAN port state information, wherein parameters comprise status, uSpeed, dSpeed and uptime, and respectively correspond to whether a WAN port is connected or not, the current uplink rate of the WAN port, the current downlink rate of the WAN port and the online accumulated time of the WAN port, the WAN port state information can be configured into a timed reporting mode, so that a request of frequently sending a mobile phone can be saved, and when the timed reporting is configured, designated parameters comprise repottoServer, reportCount and reportInterval, and respectively correspond to whether the timed reporting, the reporting times and the reporting interval are required or not.
And inquiring or setting the key word of the basic configuration information of the LAN as LAN, indicating that the local network configuration is inquired, wherein the parameters comprise IP, mask, DHCP, time, ipStart and ipEndWIFI, and respectively indicating whether the local network IP, the subnet mask, the DHCP service are started, the lease continuation time of the IP address of the DHCP service, the IP starting address of the DHCP service and the IP ending address of the DHCP service of the equipment.
The WIFI basic parameter configuration operation keyword is WIFI, parameter configuration information of the equipment wireless network is represented, and parameters comprise ssid, ssid5, WIFI pwd and WIFI pwd5, which respectively represent a network name of the equipment wireless network 2.4G, a network name of the equipment wireless network 5G, a network password of the equipment wireless network 2.4G and a network password of the equipment wireless network 5G.
The system control key word is sys, which represents the relevant parameter information of equipment system control, and the parameters comprise usr, pwd, LED, uptime, schReboot, reboot, upgrade, newVersion, filePath, and md5, which respectively correspond to an equipment management user name, an equipment management password, a control LED lamp switch, system started time, timed restart configuration, restart equipment control, upgrade equipment control, the version number of an upgrade file, the path of the upgrade file, and the md5 check value of the upgrade file.
By summarizing the keywords and the parameters, when communication interaction with different purposes needs to be realized between the mobile phone and the router, the JSON data can be correspondingly encapsulated, and the JSON data can be analyzed according to the defined keywords and the defined parameters.
CGI process checks whether a forwarding request keyword ip is contained in the keywords of the JSON data, if the request includes the ip keyword, the router forwards the request to an address specified in the ip keyword, if the request does not include the ip keyword, the router executes a corresponding request, and when the mobile phone is networked with a plurality of routes, the mobile phone only needs to communicate with a main route in a unified mode and does not need to communicate with the plurality of routes at the same time through the request processing mode, so that the communication interaction is simpler.
Based on the same inventive concept, an embodiment of the present invention further provides a system for implementing interaction between a router and a mobile phone APP, with reference to fig. 2, including:
and the mobile phone APP detection module is used for detecting whether the mobile phone can acquire the local area network IP of the router.
And the mobile phone side data sending module is used for establishing connection between the mobile phone and the router through an HTTP (hyper text transport protocol) or an MQTT (message queuing time) protocol and calling the established connection to send JSON (Java Server object) data.
The mobile phone side data sending module specifically comprises a connection module and a sending module, the connection module is used for establishing connection between the mobile phone and the router through an HTTP protocol or an MQTT protocol, and the sending module is used for calling the established connection to send JSON data.
And the routing side request receiving module is used for starting an HTTP server process or an MQTT remote service monitoring process and receiving a local HTTP request or a remote MQTT request.
And the routing side result returning module is used for analyzing the JSON data sent by the mobile phone, executing the analysis result and returning the JSON data.
The routing side result returning module specifically comprises a routing analysis module, an execution module and a returning module, wherein the routing analysis module is used for analyzing JSON data by the router, the execution module is used for executing analysis results, and the returning module is used for returning the analysis results.
And the mobile phone side result receiving module is used for receiving the JSON data returned by the router by the mobile phone and analyzing the returned JSON data to display the JSON data in the related page of the mobile phone APP.
Wherein, cell-phone side result receiving module specifically includes receiving module, cell-phone analysis module and show module, receiving module is used for receiving the result that the router returned, cell-phone analysis module is used for the cell-phone to resolve the JSON data, the show module is arranged in showing the cell-phone APP with the result of resolving the JSON data.
Based on the above, the method and system for realizing interaction between the router and the mobile phone APP provided by the invention realize effective interaction and quick response between the router and the mobile phone APP, after the router and the mobile phone are connected by a wireless network, the router and the mobile phone realize interactive communication by transmitting JSON data, the mobile phone can realize report of the state and configuration information of the router by analyzing the JSON data, the router can realize issuing of mobile phone query and control instructions by analyzing the JSON data, and the remote management of the router by the mobile phone is favorably realized.
Finally, although the present invention has been described in detail with reference to the embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made thereto without departing from the spirit and scope of the present invention, which is to be construed as limited only by the claims.

Claims (10)

1. A method for realizing interaction between a router and a mobile phone APP is characterized by comprising the following steps:
the mobile phone APP detects whether the mobile phone can acquire the local area network IP of the router or not, if the mobile phone can acquire the local area network IP, the mobile phone establishes connection with the router through an HTTP protocol, if the connection cannot be established, the mobile phone establishes connection with the router through an MQTT protocol, and the mobile phone calls the established connection to send JSON data;
if the mobile phone establishes connection with the router through the HTTP protocol, the router starts an HTTP server process and receives a local HTTP request, and if the mobile phone establishes connection with the router through the MQTT protocol, the router starts an MQTT remote service monitoring process and receives a remote MQTT request;
after the HTTP server process or the MQTT remote service monitoring process receives the request, the JSON data sent by the mobile phone is analyzed, and an analysis result is executed and the JSON data is returned;
and after the mobile phone receives the returned JSON data, analyzing the returned JSON data and displaying the JSON data in the related page of the mobile phone APP.
2. The method according to claim 1, wherein after the mobile phone establishes connection with the router, the mobile phone needs to wait for APP related operations, and the mobile phone encapsulates JSON data according to keywords and parameters corresponding to the related operations, and uses the JSON data to be sent to the router.
3. The method of claim 2, wherein the JSON data is in a uniformly encapsulated data format whether the handset and router establish a connection via a local HTTP request or a remote MQTT request.
4. The method according to claim 1, wherein the router starts an HTTP server process, and when receiving a local HTTP request, it needs to determine whether the URL of the request contains an app.cgi request, and if the app.cgi request is contained, it parses JSON data sent by the mobile phone, and if the app.cgi request is not contained, it parses JSON data according to a general WEB request, and after receiving the remote MQTT request, the MQTT remote service monitoring process calls the app.cgi process to parse the JSON data.
5. The method of claim 3, wherein the key in the JSON data specifically comprises: the mobile phone APP gateway comprises an operation command word, an operation command response value, a request global uniqueness identifier, a forwarding request keyword, a basic information acquisition keyword, a parameter content return keyword, an Internet access configuration information inquiry or setting keyword, a WAN port state information inquiry keyword, a LAN basic configuration information inquiry or setting keyword, a WIFI basic parameter configuration operation keyword and a system control keyword, and is used for realizing communication between the mobile phone APP and the router.
6. The method of claim 5, wherein after the router returns JSON data to the mobile phone, the APP.CGI process checks whether the keywords of the JSON data include a forwarding request keyword, if the forwarding request keyword is included, the router forwards the request to the address specified in the forwarding request keyword, and if the forwarding request keyword is not included, the router executes the corresponding request.
7. A system for realizing interaction between a router and a mobile phone APP is characterized by comprising:
the mobile phone APP detection module is used for detecting whether the mobile phone can acquire the local area network IP of the router or not;
the mobile phone side data sending module is used for establishing connection between the mobile phone and the router through an HTTP (hyper text transport protocol) or an MQTT (message queuing technology) protocol and calling the established connection to send JSON (Java Server object connection) data;
the route side request receiving module is used for starting an HTTP server process or an MQTT remote service monitoring process and receiving a local HTTP request or a remote MQTT request;
the routing side result returning module is used for analyzing the JSON data sent by the mobile phone, executing the analysis result and returning the JSON data;
and the mobile phone side result receiving module is used for receiving the JSON data returned by the router by the mobile phone and analyzing the returned JSON data to display the JSON data in the related page of the mobile phone APP.
8. The system according to claim 7, wherein the mobile phone side data sending module specifically includes a connection module and a sending module, the connection module is used for establishing connection between the mobile phone and the router through HTTP protocol or MQTT protocol, and the sending module is used for calling the established connection to send JSON data.
9. The system according to claim 7, wherein the routing side result returning module specifically includes a routing parsing module, an executing module, and a returning module, the routing parsing module is configured to parse JSON data by the router, the executing module is configured to execute the parsing result, and the returning module is configured to return the parsing result.
10. The system of claim 7, wherein the mobile phone side result receiving module specifically comprises a receiving module, a mobile phone parsing module and a display module, the receiving module is used for receiving a result returned by the router, the mobile phone parsing module is used for parsing JSON data by the mobile phone, and the display module is used for displaying the result of parsing the JSON data to a relevant page of the mobile phone APP.
CN202210926569.5A 2022-08-03 2022-08-03 Method and system for realizing interaction between router and mobile phone APP Active CN115002935B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210926569.5A CN115002935B (en) 2022-08-03 2022-08-03 Method and system for realizing interaction between router and mobile phone APP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210926569.5A CN115002935B (en) 2022-08-03 2022-08-03 Method and system for realizing interaction between router and mobile phone APP

Publications (2)

Publication Number Publication Date
CN115002935A true CN115002935A (en) 2022-09-02
CN115002935B CN115002935B (en) 2023-05-09

Family

ID=83021983

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210926569.5A Active CN115002935B (en) 2022-08-03 2022-08-03 Method and system for realizing interaction between router and mobile phone APP

Country Status (1)

Country Link
CN (1) CN115002935B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104135536A (en) * 2014-08-15 2014-11-05 浪潮电子信息产业股份有限公司 Data interaction method of Web management system based on Json data protocols
CN104917811A (en) * 2015-04-16 2015-09-16 上海行践自行车科技发展有限公司 Communication method of vehicle rental information of public transportation system, and communication system
CN105407172A (en) * 2015-12-15 2016-03-16 南京途牛科技有限公司 Router remote management system based on hypertext transport protocol (HTTP)
CN105743684A (en) * 2014-12-12 2016-07-06 海信集团有限公司 Router configuration method in AP mode and router
KR20180070947A (en) * 2016-12-19 2018-06-27 전자부품연구원 Communication Method and System based on MQTT/HTTP for IoT Gateway Using Private-IP Address
CN110278092A (en) * 2018-03-13 2019-09-24 成都市共维科技有限公司 Router long-range control method and system based on MQTT agreement
CN111711662A (en) * 2020-05-25 2020-09-25 浙江工业大学 Industrial process data acquisition device and method based on MQTT intelligent gateway
WO2021102641A1 (en) * 2019-11-25 2021-06-03 Telefonaktiebolaget Lm Ericsson (Publ) Method and network node for communication with a non-ip device
CN113347741A (en) * 2020-02-18 2021-09-03 佛山市云米电器科技有限公司 Online method and system of gateway equipment
CN114080002A (en) * 2020-08-20 2022-02-22 西蒙电气(中国)有限公司 System and method for realizing batch automatic networking of ZigBee devices
CN114466447A (en) * 2021-12-15 2022-05-10 四川天邑康和通信股份有限公司 Cloud management end management system based on WiFi6 router

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104135536A (en) * 2014-08-15 2014-11-05 浪潮电子信息产业股份有限公司 Data interaction method of Web management system based on Json data protocols
CN105743684A (en) * 2014-12-12 2016-07-06 海信集团有限公司 Router configuration method in AP mode and router
CN104917811A (en) * 2015-04-16 2015-09-16 上海行践自行车科技发展有限公司 Communication method of vehicle rental information of public transportation system, and communication system
CN105407172A (en) * 2015-12-15 2016-03-16 南京途牛科技有限公司 Router remote management system based on hypertext transport protocol (HTTP)
KR20180070947A (en) * 2016-12-19 2018-06-27 전자부품연구원 Communication Method and System based on MQTT/HTTP for IoT Gateway Using Private-IP Address
CN110278092A (en) * 2018-03-13 2019-09-24 成都市共维科技有限公司 Router long-range control method and system based on MQTT agreement
WO2021102641A1 (en) * 2019-11-25 2021-06-03 Telefonaktiebolaget Lm Ericsson (Publ) Method and network node for communication with a non-ip device
CN113347741A (en) * 2020-02-18 2021-09-03 佛山市云米电器科技有限公司 Online method and system of gateway equipment
CN111711662A (en) * 2020-05-25 2020-09-25 浙江工业大学 Industrial process data acquisition device and method based on MQTT intelligent gateway
CN114080002A (en) * 2020-08-20 2022-02-22 西蒙电气(中国)有限公司 System and method for realizing batch automatic networking of ZigBee devices
CN114466447A (en) * 2021-12-15 2022-05-10 四川天邑康和通信股份有限公司 Cloud management end management system based on WiFi6 router

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王海珍; 廉佐政; 谷文成; 李梦歌: "一种无线组网智能家居系统的安全通信方法", 《实验室研究与探索》 *

Also Published As

Publication number Publication date
CN115002935B (en) 2023-05-09

Similar Documents

Publication Publication Date Title
US9223746B2 (en) Data card and method for internet access of data card
US7916748B2 (en) Method and system for initialization configuration of managed device
JP5093598B2 (en) Control relay program, control relay device, and control relay method
CN113366815B (en) Network resource request method, device, electronic equipment and storage medium
US20050286435A1 (en) Remote management system
US7509652B2 (en) Event related communications
CN109391704B (en) Cross-private-network access method and device for video monitoring equipment
EP2351292B1 (en) Device and method for retrieving information from a device
US20140164543A1 (en) Communication System, Application Server and Communication Method for Server Cooperation
CN113518407A (en) WiFi network distribution method and system for intelligent equipment, electronic equipment and medium
CN112423322A (en) Model information sending method, device, storage medium and electronic device
CN111884938B (en) Router information acquisition method and device
CN112953764A (en) Networking terminal configuration method and device, networking terminal and computer storage medium
CN102780584B (en) Method and device for quickly accessing network management system of Ethernet equipment
CN115002935A (en) Method and system for realizing interaction between router and mobile phone APP
CN115086276B (en) Address management method, device, equipment and system
CN109218275B (en) Application interaction method and device
CN113259468B (en) Network equipment configuration method and device
JP2005509207A (en) Requirements in communication systems
WO2009062396A1 (en) Resource access method and resource access system
CN112019491B (en) Message processing method and system
KR100694871B1 (en) Gateway system for mobile services on the open cellular network, and service method thereof
KR100431701B1 (en) Network Management System and Method
CN114024895B (en) TR 069-based network route optimization method and system
TWI778771B (en) Monitoring method, monitoring system and monitoring device of virtual machine operation

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 518000 Room 501, block a, building 8, Shenzhen International Innovation Valley, Dashi Road, Xili community, Xili street, Nanshan District, Shenzhen, Guangdong

Patentee after: Shenzhen Yilian Unlimited Technology Co.,Ltd.

Address before: 518000 Room 501, block a, building 8, Shenzhen International Innovation Valley, Dashi Road, Xili community, Xili street, Nanshan District, Shenzhen, Guangdong

Patentee before: SHENZHEN COMNECT TECHNOLOGY CO.,LTD.