CN110493829B - WEB interface request self-adaptive feedback method based on wireless link state - Google Patents
WEB interface request self-adaptive feedback method based on wireless link state Download PDFInfo
- Publication number
- CN110493829B CN110493829B CN201910724994.4A CN201910724994A CN110493829B CN 110493829 B CN110493829 B CN 110493829B CN 201910724994 A CN201910724994 A CN 201910724994A CN 110493829 B CN110493829 B CN 110493829B
- Authority
- CN
- China
- Prior art keywords
- wireless link
- web interface
- web
- interface
- server
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/161—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
- H04L69/162—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/16—Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
- H04W28/18—Negotiating wireless communication parameters
- H04W28/20—Negotiating bandwidth
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Quality & Reliability (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a WEB interface request self-adaptive feedback method based on a wireless link state, which comprises the following steps: combining a WEB server and a data routing module in a cross-layer manner, and customizing a data protocol message format for wireless link bandwidth inquiry information and response information; when the WEB server receives the WEB interface access request, the WEB server sends a wireless link bandwidth inquiry message to the routing module, inquires the current wireless link state, and dynamically selects the WEB interface stored on the server for self-adaption response according to the current wireless link bandwidth resource use condition fed back by the routing module. The method realizes that the user side remotely accesses the WEB interface of the server side through the wireless link of the wireless communication equipment, avoids the condition that the interface is accessed slowly or can not be accessed when the user side remotely accesses the WEB interface through the wireless link, solves the problem of wireless link blockage caused by too large bandwidth occupied by a certain accessed WEB interface window, and improves the response speed of the WEB interface.
Description
Technical Field
The invention relates to the field of wireless communication, in particular to a WEB interface request self-adaptive feedback method based on a wireless link state.
Background
With the rapid development of wireless communication technology, wireless communication equipment is taken as a monitoring object, and a WEB application technology of a B/S (browser/server) architecture is adopted, so that the monitoring technology of local to remote equipment is widely applied to various fields of military and civil use. However, in the current wireless network, the wireless link communication is unstable under the influence of external interference factors, the byte number of the occupied space of the WEB interface stored on the monitoring equipment is fixed, and when the communication quality of the wireless equipment is poor, the WEB interface can be accessed remotely through the wireless link slowly or cannot be accessed. This not only results in uncontrollable wireless devices, but also affects the communication efficiency of the overall wireless network.
There is therefore a need for a solution for remote access to WEB interfaces over a wireless link that addresses the above-mentioned related problems.
The invention aims to provide a wireless link state-based WEB interface request self-adaptive feedback method, which avoids the condition that the interface is accessed slowly or can not be accessed when a WEB interface is accessed remotely through a wireless link, solves the problem of wireless link blockage caused by too large bandwidth occupied by a certain accessed WEB interface window, and improves the response speed of the WEB interface.
The invention provides a WEB interface request self-adaptive feedback method based on a wireless link state, which is characterized by adopting a WEB application technology of a B/S architecture, combining a WEB server and a data routing module in a cross-layer manner based on a TCP/IP protocol and adopting SOCKET custom data protocol message communication of UDP. When the WEB server receives the WEB interface access request, the WEB server sends a wireless link bandwidth inquiry message to the routing module, inquires the current wireless link state, and adaptively selects interface response according to the current wireless link bandwidth resource use condition fed back by the routing module.
Disclosure of Invention
Drawings
FIG. 1 is a WEB server and routing module data communication protocol format;
FIG. 2 is a simple wireless device local area network application scenario diagram;
FIG. 3 is a WEB server dynamic selection interface process flow;
FIG. 4 is a flow chart of a routing module processing WEB information;
FIG. 5 is a flow chart of a process for the routing module to calculate the wireless link bandwidth;
FIG. 6 is a flow chart of a WEB interface interacting with a WEB server.
Detailed Description
In order to make the objects and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings and examples.
Fig. 1 is a data communication protocol format of a WEB server and a routing module, wherein the data communication protocol format comprises a parameter type of 4 bytes for identifying a message type, a message length of 4 bytes for counting the whole message length, a software module ID of a 4-byte sender for indicating the sender, a software module ID of a 4-byte destination for indicating the receiver, a message sequence number of 4 bytes for marking a data sequence number, a data content of N (N has a value range of 6-1000) bytes for filling in a specific message content, and checksum information of 2 bytes for checking data.
Fig. 2 is a simple lan application scenario of a wireless device, where the WEB monitoring system of the wireless device adopts a browser/Server (i.e., B/S) system architecture. The WEB server of the monitoring system adopts an open-source Apache server, and the server-side language analyzer adopts a PHP language analyzer. And constructing an Apache type WEB server in each wireless device, wherein each wireless device is connected with a computer through a wired Ethernet cable. The user wants to monitor the running state of a certain wireless device, and can log in the WEB monitoring system of the corresponding wireless device only by inputting the IP address of the wireless device to be accessed into a browser on a computer, so that the user can access the WEB monitoring system on the wireless device in the network at will through one computer, and the monitoring of the whole local area network device is realized.
FIG. 3 is a process flow of a WEB server dynamic selection interface, and the specific steps are as follows:
step 01: selecting a WEB interface;
step 02: the method comprises the steps that a WEB server dynamically selects WEB interfaces stored on the server, the WEB interfaces adopt the content self-adaptive layout of a Java script technology, the frame structure of each WEB interface is preset according to the wireless link bandwidth conditions supported by wireless equipment in different modulation and coding modes, and each WEB interface is ensured to adapt to the wireless link bandwidth supported by the wireless equipment in different modulation and coding modes after verification;
step 03: and selecting the WEB interface according to a method of decreasing the byte number of the space occupied by the interface. Step 04 is entered;
step 04: according to the byte number of the space occupied by the selected WEB interface, calculating whether the current wireless link bandwidth resource meets the response time of the WEB interface, and judging whether the selected interface meets the condition by judging that the byte number/bandwidth rate of the space occupied by the conditional WEB interface is less than or equal to the response time. If yes, go to step 05; if not, go to step 03;
step 05: responding to the request by the WEB interface;
step 06: and (5) ending the WEB interface selection.
Fig. 4 is a flowchart of a routing module processing WEB information, and the specific steps are as follows:
step 01: routing data priority processing begins;
step 02: routing data processing, such as data packetization;
step 03: and (5) processing the priority of the routing data, and identifying whether the WEB data type is the routing module according to a standard HTTP protocol. If not, go to step 07. If yes, go to step 04;
step 04: setting WEB or other types of high priority data as high priority attributes;
step 05: storing WEB or other types of high priority data to a high priority data queue;
step 06: carrying out data forwarding according to a high-priority data priority forwarding principle;
step 07: setting the data of the type as a common priority attribute;
step 08: storing the common priority data to a common priority data queue;
step 09: carrying out data forwarding according to a high-priority data priority forwarding principle;
step 10: the routing data priority processing ends.
Fig. 5 is a flowchart of a process for calculating a wireless link bandwidth by a routing module, which specifically includes the following steps:
step 01: the routing module calculates the wireless link bandwidth to start;
step 02: after the equipment is networked, the route between the equipment carries out link information interaction;
step 03: the routing module collects the bandwidth of the local node in real time, and then inputs the local bandwidth into the routing information to inform all nodes of the whole network at fixed time;
step 04: and the local routing module receives the current bandwidth condition of the neighbor node route and carries out processing such as real-time updating. After the route converges, the local node collects the bandwidth information from the local node to all other network nodes;
step 05: and judging whether the wireless link bandwidth information queried by the WEB server is received or not. If not, the local node is updated to collect the bandwidth information from the local node to all other network nodes, the current wireless link bandwidth information is not reported, and the step 03 is entered; if yes, go to step 6;
step 06: the routing module calculates the wireless link bandwidth from the local node to the destination node and replies the calculation result to the WEB server;
step 07: the routing module calculates the end of the wireless link bandwidth.
FIG. 6 is a flowchart of interaction between a WEB interface and a WEB server, and the flowchart includes the following specific steps:
step 01: the WEB interface sends an access request to start;
step 02: the routing module receives the WEB access information and reports the WEB access information to the WEB server;
step 03: the WEB server receives the WEB interface access information reported by the route, checks whether the number of online users reaches the upper limit, and if so, refuses to access, and enters a step 07; if not, the WEB server communicates with the routing module through the SOCKET interface, and initiates wireless link bandwidth query information to the routing module by adopting a self-defined communication protocol, and then the step 04 is entered;
step 04: when broadband query information initiated by a WEB server is received, the routing module calculates the wireless link bandwidth from a local node to a destination node and replies a calculation result to the WEB server;
step 05: the WEB server receives the wireless link bandwidth resource information fed back by the routing module, and judges whether the current available bandwidth resource meets the bandwidth requirement (X) of the WEB interface response according to the preset wireless link bandwidth range (A-B) required by the WEB interface response. That is, it is judged whether the condition If ((A.ltoreq.X) & gt & (X.ltoreq.B)) is satisfied. If not, access is denied, step 07 is entered; if yes, go to step 06;
step 06: the WEB server dynamically selects a WEB interface stored on the server, selects according to a method that the byte number of the occupied space of the interface decreases from large to small, and calculates whether the current wireless link bandwidth resource meets the response time of the WEB interface. And judging whether the selected interface meets the condition or not by judging that the byte number/bandwidth rate of the space occupied by the conditional WEB interface is less than or equal to the response time. If yes, responding to the access request; if not, selecting the next interface with small occupied space byte number for calculation until the condition is met, responding to the access request, and entering a step 07;
step 07: the routing module schedules WEB type data and replies a WEB access request;
step 08: and ending the WEB interface access request.
The foregoing is merely a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (2)
1. A WEB interface request self-adaptive feedback method based on a wireless link state is characterized in that a WEB server and a data routing module are combined in a cross-layer manner, and a data protocol message format is customized and used for wireless link bandwidth inquiry information and response information;
when the WEB server receives the WEB interface access request, sending a wireless link bandwidth query message to the routing module, inquiring the current wireless link state, and judging whether to respond to the WEB interface access request according to the current wireless link bandwidth resource use condition fed back by the routing module, wherein the method specifically comprises the following steps of:
the WEB server judges whether the current available bandwidth resource meets a bandwidth requirement value X of the WEB interface response according to preset wireless link bandwidth ranges A-B required by the WEB interface response; namely, judging whether the condition if ((A is less than or equal to X) & & (X is less than or equal to B)) is satisfied; if not, refusing access; if yes, the WEB server dynamically selects a WEB interface response stored on the server;
the WEB server dynamically selects a WEB interface response stored on the server comprising,
a WEB application technology of a B/S (browser/server) architecture is adopted, a WEB interface is prestored on a WEB server of each wireless device, the WEB interface adopts the content self-adaptive layout of a Java script technology, the frame structure of the interface is preset according to the wireless link bandwidth conditions supported by the wireless device in different modulation and coding modes, and after verification, each WEB interface is ensured to adapt to the wireless link bandwidth supported by the wireless device in different modulation and coding modes; the WEB server dynamically selects an algorithm of the WEB interface, and calculates whether response time of the WEB interface is met or not according to the byte number of the space occupied by the selected WEB interface and the current wireless link bandwidth resource;
the algorithm for dynamically selecting the WEB interface by the WEB server calculates whether the response time of the WEB interface is met or not according to the byte number of the occupied space of the selected WEB interface and the bandwidth resource of the current wireless link,
the interface selection is carried out according to an algorithm selection of decreasing the number of bytes of the occupied space from large to small, and whether the selected interface meets the condition is judged by judging that the byte number/bandwidth rate of the occupied space of the conditional WEB interface is less than or equal to the response time; if yes, responding to the access request; if not, selecting the next interface calculation with small occupied space byte number until the condition is met, and responding to the access request.
2. The adaptive feedback method of WEB interface request based on radio link state as claimed in claim 1, wherein the WEB server and the data routing module are combined layer by layer and adopt a custom data protocol message format, and the custom data protocol message comprises a parameter type of 4 bytes, a message length of 4 bytes, a software module ID of 4 bytes sender, a software module ID of 4 bytes destination, a message serial number of 4 bytes, a data content of N bytes, and checksum information of the value range of N from 6 to 1000,2 bytes;
the WEB server communicates with the routing module through an interface of SOCKET of the UDP protocol, and initiates wireless link bandwidth query information to the routing module to acquire the current wireless link bandwidth resource use condition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910724994.4A CN110493829B (en) | 2019-08-07 | 2019-08-07 | WEB interface request self-adaptive feedback method based on wireless link state |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910724994.4A CN110493829B (en) | 2019-08-07 | 2019-08-07 | WEB interface request self-adaptive feedback method based on wireless link state |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110493829A CN110493829A (en) | 2019-11-22 |
CN110493829B true CN110493829B (en) | 2023-05-02 |
Family
ID=68549558
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910724994.4A Active CN110493829B (en) | 2019-08-07 | 2019-08-07 | WEB interface request self-adaptive feedback method based on wireless link state |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110493829B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114520687B (en) * | 2022-02-17 | 2023-11-03 | 深圳震有科技股份有限公司 | Audio data processing method, device and equipment applied to satellite system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101674262A (en) * | 2008-09-11 | 2010-03-17 | 宏碁股份有限公司 | Network service method, system thereof and data server thereof |
CN105634842A (en) * | 2014-10-29 | 2016-06-01 | 华为技术有限公司 | Method and system for detecting bandwidth, and devices |
CN106209454A (en) * | 2016-07-13 | 2016-12-07 | 中霆云计算科技(上海)有限公司 | A kind of bandwidth self-adaption data transmission method for RDP |
-
2019
- 2019-08-07 CN CN201910724994.4A patent/CN110493829B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101674262A (en) * | 2008-09-11 | 2010-03-17 | 宏碁股份有限公司 | Network service method, system thereof and data server thereof |
CN105634842A (en) * | 2014-10-29 | 2016-06-01 | 华为技术有限公司 | Method and system for detecting bandwidth, and devices |
CN106209454A (en) * | 2016-07-13 | 2016-12-07 | 中霆云计算科技(上海)有限公司 | A kind of bandwidth self-adaption data transmission method for RDP |
Also Published As
Publication number | Publication date |
---|---|
CN110493829A (en) | 2019-11-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20180287937A1 (en) | Processing data packets using a policy based network path | |
US9753794B2 (en) | Method and apparatus for controlling sending of heartbeat signal | |
CN108353022B (en) | Data message processing method, device and system | |
CN109040243B (en) | Message processing method and device | |
CN1964282A (en) | System and method for remote management | |
CN103051497B (en) | Business Stream mirror method and mirroring device | |
WO2011076146A1 (en) | Method for downloading application data, digital television reception terminal and system | |
CN111212156B (en) | Network connection method and device | |
CN113572835A (en) | Data processing method, network element equipment and readable storage medium | |
CN108153803A (en) | A kind of data capture method, device and electronic equipment | |
CN110493829B (en) | WEB interface request self-adaptive feedback method based on wireless link state | |
CN115412602A (en) | Data parsing and transferring method, device, equipment and medium for digital twin | |
CN108306953A (en) | A kind of strong compatible real time push method presented for Internet of Things application data | |
CN1631018B (en) | Method and apparatus to retrieve information in a network | |
CN106130787B (en) | Service processing system based on software defined network | |
CN112969202A (en) | Network parameter adjusting method and device, electronic equipment and storage medium | |
KR20220029142A (en) | Sdn controller server and method for analysing sdn based network traffic usage thereof | |
CN108259576B (en) | Software and hardware real-time information transmission system and method | |
CN113422699B (en) | Data stream processing method and device, computer readable storage medium and electronic equipment | |
CN111818134B (en) | Mist calculation-based data transmission method and device in substation data center | |
CN107231567B (en) | Message transmission method, device and system | |
CN112242937B (en) | Network speed measuring method and device, electronic equipment and computer readable medium | |
JP2005509207A (en) | Requirements in communication systems | |
CN111614791B (en) | Access device for entity link analysis and method thereof | |
KR102563247B1 (en) | Apparatus for Realtime Monitoring Performance Degradation of Network System |
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 |