CN103916891B - Heterogeneous WEB service gateway realizing method and device - Google Patents

Heterogeneous WEB service gateway realizing method and device Download PDF

Info

Publication number
CN103916891B
CN103916891B CN201410118841.2A CN201410118841A CN103916891B CN 103916891 B CN103916891 B CN 103916891B CN 201410118841 A CN201410118841 A CN 201410118841A CN 103916891 B CN103916891 B CN 103916891B
Authority
CN
China
Prior art keywords
request
gateway
data
max
queue
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.)
Expired - Fee Related
Application number
CN201410118841.2A
Other languages
Chinese (zh)
Other versions
CN103916891A (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.)
Guilin University of Electronic Technology
Original Assignee
Guilin University of Electronic Technology
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 Guilin University of Electronic Technology filed Critical Guilin University of Electronic Technology
Priority to CN201410118841.2A priority Critical patent/CN103916891B/en
Publication of CN103916891A publication Critical patent/CN103916891A/en
Application granted granted Critical
Publication of CN103916891B publication Critical patent/CN103916891B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a heterogeneous WEB service gateway realizing method and device. A gateway accepts the service request in a soap format of the Internet and obtains request data through analysis from the service request after the service request is filtered through an intrusion detection module, and then the request data are transmitted into a sensor network. Data fed back from the sensor network are packaged into a Web service in the soap format and finally sent to a user by the gateway through an information network configuration module via an optimal channel. The method and device enable remote real-time data and control information acquisition to be more convenient, and the coupling degree between different platforms is reduced greatly.

Description

A kind of isomery WEB service gateway realization method and device
Technical field
The present invention relates to technical field of wireless is and in particular to a kind of isomery WEB service gateway realization method and dress Put.
Background technology
Wireless sensor network has broad application prospects, and can be widely applied to military monitoring, environmental monitoring, medical treatment strong The various fields such as health, smart home, storehouse management, the production automation.But in wireless sensor network, there are multiple system knots It is wireless sensor network the problems such as the multiformity of deployment node, the multiformity of data acquisition, the isomerism of communication in structure, network Urgent problem.Meanwhile, the scale with Internet of Things constantly expands, and makes the range of application of wireless sensor network more wide Wealthy, many application programs need to run on the heterogeneous platform of network environment.These application scenarios abundant to wireless sensor network The exploitation of network application software proposes new demand.In this distributed delays network environment, it is usually present polytype sensing Device network, and need to configure various systems soft wares according to application(As different operating system, data base, CompilerTools etc.), In addition, these networks can be connected using different procotols and network architecture.Sending out with wireless sensor technology Exhibition, sensor manufacturer, for the consideration of business and technology interest, leads to define difference although technology is not between respective product Disconnected progress, but therefore do not reduce the difference of product.
Gateway service gateway major function includes receiving, process and responding asking to the gateway access to ask user, clothes Business form is using SOAP RPC mechanism, provides the service of Web Service to request user.Request user can by 3G, WiFi, LAN, Internet or other communication mode accesses and operation is linked in gateway ZigBee, bluetooth, infrared, The various radio sensing network such as fieldbus and controlling network(Abbreviation access network).In gateway, each access network is all passed through Sink node is directly connected on gateway, and the access to access network is all carried out by sink node.Web Service skill Art, can make to operate in different application on different machines need not by additional, special third party software or hardware so that it may It is exchanged with each other data or integrated.Between the application of Web Service enforcement of regulations, language that no matter they are used, flat What platform or internal agreement be, can be exchanged with each other data.Web Service is self-described, self-contained available network mould Block, can execute specific business function.Interface is to be defined by the way of neutral, and it should be independent of realization service Hardware platform, operating system and programming language.This allows a kind of system of the service building in various such systems One and general mode interact.The feature of this interface definition with neutrality is referred to as the loose coupling between service.Loose coupling The advantage of assembly system mainly has at 2 points, is a little that it has very high motility, on the other hand when the whole application program of composition When the internal structure of each service and realization little by little change, it can continue to exists.
If can be able to be devoted to by gateway service gateway application in the wireless sensor network environment of distributed delays The Internet of Things application realizing depth information has important reference with business development.
Content of the invention
The technical problem to be solved is the product differentiation and configuration system because of different types of sensor network Difference, and lead to distributed delays network environment to be difficult to its compatible problem, a kind of isomery WEB service gateway realization side be provided Method and device.
For solving the above problems, the present invention is achieved by the following technical solutions:
A kind of isomery WEB service gateway realization method, is characterized in that comprising the steps:
Step 1, gateway receives to the request to ask user, and parses request data;
Step 2, gateway adds the request asking user in the work queue of thread pool, to be processed by thread pool;I.e.
Step 2.1, when new request arrives, gateway first checks whether the task queue in thread pool is full;If less than, Then new request is added among task queue;If full, judge the priority asked, if the priority of this request Low, then according to the tail drop strategy of First Input First Output, this request is directly abandoned;
Step 2.2, the state of task queue monitored by thread pool scheduler;If task queue is sky, do not make any place Reason;If task queue is not empty, check in thread pool whether there is free idle thread, if there being free idle thread in thread pool, from Task queue is taken out a task and is added idle thread, if not having idle thread in thread pool, not making any place and processing, thread Pond scheduler monitors the state of task queue, duplicate step of laying equal stress on;
Step 3, gateway carries out instantaneously similar request merging treatment to request;I.e.
Step 3.1, according to tolerance ρ of formula 1. computation requests,
Step 3.2, if the tolerance of request is 0, this request does not need any process to be directly appended to forwarding queue In;If the tolerance of request is not 0,2. its corresponding returned data effective time value T is calculated according to formulal
Tl=Tmax×ρ ②
Formula 2. in, TlRepresent effective time value, TmaxRepresent that the total maximum that gateway is all of request setting is effective Time value, ρ represents tolerance;
Step 3.3, inquires about the data record of this request in the data base of gateway;If do not had and this request in data base Identical data, then be directly added to request in forwarding queue;If had in data base and this request identical data, take Go out result and its timestamp, and the timestamp of taking-up and current time are carried out seeking difference operation;If difference is more than having of this request Effect time value Tl, then abandon this result, and request be added in forwarding queue;If difference is less than or equal to the effective of this request Time value Tl, then directly this result is returned to request user;
Step 4, gateway carries out flow-control to the request in forwarding queue;I.e.
Step 4.1, the request in forwarding queue is divided in different subqueues according to different priorities;
Step 4.2, is minimum threshold L according to the threshold value of forwarding queueminWith max-thresholds Lmax, call request data forwarding Function pair forwarding queue carries out flow-control poll forwarding;When the length of forwarding queue is less than default minimum threshold LminWhen, then Do not abandon the request in this subqueue;When the length of forwarding queue is in minimum threshold LminWith max-thresholds LmaxBetween when, then open Request in beginning random drop low priority subqueue;When the length of forwarding queue is more than max-thresholds LmaxWhen, then abandon all Request in low priority subqueue;
Step 5, gateway terminates to request process, returns result to asking user, worker thread is hung up, and waits to be added New request;
Step 5.1, gateway obtains returned data from bottom subnet, and checks the appearance of the request corresponding to this returned data Bear angle value;If tolerance is 0, do not make any process;If tolerance is not 0, gateway goes whether data base querying has Similar request;If there is no such request in data base, this returned data and its request are added in data base in the lump, and Add current timestamp;If there being such request in data base, update returned data and timestamp in data base;
Step 5.2, gateway is encapsulated as the message consistent with the request form asking user to send subnet returned data After body, return again to request user.
In above-mentioned steps 3.1, the tolerance of all requests calculating is stored in a tolerance table by gateway.
In above-mentioned steps 3.1, the update cycle T of tolerance ρcFor 0.5~2 hour.
In above-mentioned steps 4.1, request is first classified device and carries out priority classification, adds label afterwards, is then added to different excellent In the forwarding queue of first rank.
In above-mentioned steps 4.1, the priority of request is divided into 4 ranks, respectively emergent control order,
Immediately request of data, non-emergent control business and general data requested service.
In above-mentioned steps 4.2, the minimum threshold L of forwarding queueminWith max-thresholds LmaxIt is required to regularly update, and forward The minimum threshold L of queueminWith max-thresholds LmaxSetting and the network condition of subnet to be forwarded when asking average response Between E with request forward success rate P relevant;I.e.
In n-th TuAt the end of update (n+1)th cycle TuForwarding queue threshold value, then the minimum in (n+1)th cycle Threshold value LminWith max-thresholds LmaxComputing formula be:
Formula 3. and 4. in, request average response time E and request forward the computing formula of success rate P to be:
Formula 5. and 6. in, n is gateway in a threshold value update cycle TuInside it is forwarded the request number into subnet, i arrives for 1 Positive integer between n.
In above-mentioned steps 4.2, minimum threshold LminWith max-thresholds LmaxThreshold value update cycle TuIt is 0.5~2 hour.
In above-mentioned steps 1, request user be sent to gateway be a standard soap message body, corresponding be, In step 5.2, gateway returns to request user after subnet returned data being packaged into the soap message body of standard.
A kind of isomery WEB service gateway apparatus it is characterised in that:Its gateway mainly by Information Network Configuration Manager, enter Invade the Configuration Manager composition of detection module, the parsing of soap message and package module, transaction model and access network;Wherein
Information Network Configuration Manager, for accessing the hardware driving of the Internet in management gateway;
Intrusion detection module, for the illegal request of filter Internet user;
The parsing of soap message and package module, the soap Formatting Service request analysis for request user is sent go out request Information, and feedback information is encapsulated as the message of soap form;
Transaction model, for processing the forwarding of all requests and response data;It is mainly by there being affairs processing core Unit, the Configuration Manager of Sqlite Database Unit, flow-control module and access network are constituted;
Issued transaction core cell, for processing user's request;
Sqlite Database Unit, for storing up-to-date detection data;
Flow-control module, for solve the high bandwidth of channel in Information Network in gateway and access network channel low bandwidth not Coupling easily causes network congestion problem;
The Configuration Manager of access network, the hardware driving for management of sensor node and subnetwork communicating module, and bear Duty is sent to the data being written in device file in access subnet and is received response from subnet by sensor node and disappears Breath.
Compared with prior art, gateway of the present invention accepts the service request of the Internet soap form, by intrusion detection mould After block filters, then from wherein parsing request data, forward in Sensor Network.The data returning from Sensor Network is encapsulated as The Web service of soap form, is finally selected preferred channels to be sent to user by gateway by Information Network configuration module.The method and Device makes remotely to obtain real time data and control information is convenient, greatly reduces the degree of coupling between different platform.
Brief description
Fig. 1 is the block mold figure of isomery gateway.
Fig. 2 is isomery gateway core business processing module general frame figure.
Fig. 3 is isomery gateway core business processing module thread pool algorithm detail flowchart.
Fig. 4 is the detail flowchart of instantaneously similar merging module in isomery gateway core business processing module.
Fig. 5 is the workflow diagram of flow-control module.
Specific embodiment
As shown in figure 1, the embodiment of the present invention provides a kind of isomery WEB service gateway apparatus, including:
Information Network Configuration Manager, for accessing the hardware driving of the Internet in management gateway, including gigabit Ethernet Interface driver, wifi module drive, 3G module drives.
Intrusion detection module, for the illegal request of filter Internet user.
The parsing of soap message and package module, the soap Formatting Service request analysis for the Internet is sent go out request letter Breath, and feedback information is encapsulated as the message of soap form.
Transaction model, for the forwarding of all requests of processing gateway and response data, incorporates improved thread pool and calculates Method, to optimize the performance of multidimensional gateway system, runs into high concurrent situation to tackle gateway.Including
Issued transaction core cell, for processing user's request.
Sqlite Database Unit, for storing up-to-date detection data.
Flow-control module, for solve the high bandwidth of channel in Information Network in gateway and access network channel low bandwidth not Coupling easily causes network congestion problem, optimizes gate performance further.
The Configuration Manager of access network, for management of sensor(sink)The hardware driving of node and subnetwork communicating mould Block, including the driving of serial ports, usb interface and CAN, also Zigbee, bluetooth, the module such as infrared, in addition this module also need It is responsible for the data being written in device file being sent in access subnet by sink node and receiving response from subnet Message.
As shown in Fig. 2 embodiments providing a kind of isomery WEB service gateway realization method, comprise the steps:
Step S1:Server is that gateway receives to the request to ask user, and parses request data.
The solicited message that such as server receives the network user is as follows:
Described embodiment is the message body of the soap form of a standard, and this request message body is parsed by gateway soap message It is to find the description information of No. 2 nodes in 1 work song net that module parses request data.
Step S2:Server adds the request asking user in the work queue of thread pool, to be processed by thread pool.As Shown in Fig. 3.Specifically, this step can include as follows(1)-(7)Step:
(1)When new request arrives, server first checks whether the task queue in thread pool is full.
(2)If less than new request is added among task queue.
(3)If full, judge the priority asked, and carry out processing this request according to certain drop policy.
(4)If the priority of this request is relatively low, according to the tail drop strategy of FIFO, this request is directly abandoned.
(5)The state of task queue monitored by thread pool scheduler.
(6)If task queue is sky, do not make any.Otherwise, check in thread pool whether there is free idle thread.
(7)If there being free idle thread in thread pool, taking out a task from task queue and adding idle thread.Otherwise, Do not make any place to process, return to step(5).
Step S3:Request merges resume module by instantaneously similar request.As shown in Figure 4.Specifically, this step can include As follows(1)-(4)Step:
(1)Instantaneously similar request merges the tolerance ρ process according to request for the module.
Wherein isomery WEB service gateway system both provides a corresponding tolerance for each of its offer service The span of degree ρ, ρ is 0 to 1.The tolerance of all services is maintained in a tolerance table by gateway.Wherein each service Tolerance ρ be variable.System per cycle TcInterior can automatically update a ρ, its value and gateway access situation recently Historic state is relevant.In the present embodiment, tolerance update cycle TcFor 1 hour.The computing formula of ρ is as follows:
Wherein, ρ in formulaiTolerance for i-th service.
The menu of each node in table 1 single subnet
Node serial number Temperature sense Humidity inductive Intensity of illumination senses Lamp controls
Node 1 It is It is It is No
Node 2 No No It is It is
Node 3 It is No No It is
Node 4 No It is It is No
Node 5 It is It is It is It is
For example shown in table 1, in shown subnet, there are 5 nodes, temperature, humidity, intensity of illumination and lamp control can be provided altogether Four kinds of services, then described four kinds of services correspond to four tolerance angle value ρ1、ρ2、ρ3、ρ4.Assume four services within the previous cycle Visit capacity be respectively:200th, 200,200,20, the tolerance angle value in its previous cycle is respectively 0.5,0.6,0.4,0, then In current period, four service tolerances are respectively:
ρ 1 = 1 - 1 200 × 0.5 + 1
ρ 2 = 1 - 1 200 × 0.6 + 1
ρ 3 = 1 - 1 200 × 0.4 + 1
ρ 4 = 1 - 1 20 × 0 + 1
(2)If tolerance is 0, this request does not need any process to be directly appended in forwarding queue.
(3)If tolerance is not 0, its corresponding returned data effective time is calculated according to the tolerance of this request Value Tl, then whether have such request results in inquiry data.
Wherein gateway is that all of service is provided with total maximum effective time value Tmax, TmaxInitial value be set to 20s.When needing to use effective time TlWhen, system reads from described tolerance table and asks corresponding tolerance angle value, and with Maximum effective time value carries out quadrature computing to obtain effective time T of this requestl.Specific formula for calculation is as follows:
Request effective time=maximum effective time × tolerance
(4)The data record of this request is inquired about in data base, if had in data base and this request identical data, Take out result and its timestamp, and carry out asking difference operation with current time, difference is more than the effective time value having this request and then loses Abandon this result, and request is added in forwarding queue.Otherwise, directly this result is returned to request user.If data base In there is no such request data, then directly request is added in forwarding queue.
Request for example to 1 No. 2 node collecting temperatures of work song net, effective life span of temperature data service is 120 seconds, Current tolerance is 0.5, searches the temperature data record of nearest 1 No. 2 nodes of work song net, inquire is recorded as from data base Data before 60 seconds, less than 120 seconds, this data was still effective, reads data and returns to user.If inquire is recorded as Data before 120 seconds, then delete this data, forwarding downwards to the request data of 1 No. 2 node temperatures of work song net.
Step S4:Request in flow-control module processing forward queue.Specifically, this step can include as follows(1)- (4)Step:
(1)Request data in data forwarding queue is divided in different subqueues according to different priorities.
As shown in figure 5, the request data in embodiment is first classified device carries out priority classification, then add label, then Add in the other forwarding queue of different priorities.Priority is divided into 4 ranks, and respectively emergent control order, instant data is asked Ask, non-emergent control business, general data requested service, be respectively labeled as A, B, C, D.
(2)Call request data forwarding function carries out forwarding the data in request forwarding queue.
(3)Request forwards function pair forwarding queue to carry out flow-control, and being embodied as strategy is to so priority turns Send out queue to be polled forwarding.System can set the threshold values of each forwarding queue, when the length of queue is less than low valve valve Lmin When, do not abandon request data, when the length of queue is in low valve valve LminWith high threshold values LmaxBetween when, start random drop low preferential Level request data;When the length of queue is more than high threshold values LmaxWhen, abandon the request data of all low priorities.
The network of the length max-thresholds of forwarding queue and the setting of minimum threshold and subnet to be forwarded wherein in gateway Situation is relevant.Subnet net situation has two assessment parameters:Request average response time E and request forward success rate P.Every time more Request average response time E in the time interval of new queue thresholds and request forward the computing formula of success rate P as follows:
In formula, n is forwarded the request number into subnet for gateway within a threshold value update cycle, and i is between 1 to n Positive integer.
Wherein in gateway, the threshold value update cycle of forwarding queue is Tu, in the present embodiment, the threshold value update cycle is TuFor 1 Individual hour.In n-th TuAt the end of update (n+1)th cycle TuForwarding queue threshold value, then the L in (n+1)th cycleminWith LmaxComputing formula as follows:
(4)Forward in function to avoid congestion, important service using preferential forwarding with Weighted random drop policy(Urgent control System request)Bandwidth, if less than channel width, then 100% scheduling important service, is entered row major and is forwarded, remaining bandwidth is by real-time Request of data business, non-emergent control business, general data requested service are polled dispatching in proportion.If important service band It is wider than channel total bandwidth, then only dispatches important service when dispatching, now adopt tail drop strategy.
Step S5:Process terminates, and returns request results to user.Worker thread is hung up, and waits scheduler to add new appointing Business.Specifically, this step can include as follows(1)-(2)Step:
(1)Gateway obtains returned data from bottom subnet, checks the tolerance angle value of this its corresponding requests.If tolerance For 0, then do not make any process.Otherwise, go whether data base querying has similar request data.If there is no such in data base Data, then be added to this data and its request data in data base in the lump, and adds current timestamp.If it has, then more Its returned data new and timestamp.
(2)Described returned data is encapsulated as the soap message body of standard by soap message package module and returns use Family.
Wherein soap response message body is as follows:
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can pass through hardware To complete it is also possible to the hardware being instructed correlation by program is completed, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read only memory, disk or CD etc. ".
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and Within principle, any modification, equivalent substitution and improvement made etc., should be included within the scope of the present invention.

Claims (9)

1. a kind of isomery WEB service gateway realization method, is characterized in that comprising the steps:
Step 1, gateway receives to the request to ask user, and parses request data;
Step 2, gateway adds the request asking user in the work queue of thread pool, to be processed by thread pool;I.e.
Step 2.1, when new request arrives, gateway first checks whether the task queue in thread pool is full;If less than, by New request is added among task queue;If full, judge the priority asked, if the priority of this request is low, According to the tail drop strategy of First Input First Output, this request is directly abandoned;
Step 2.2, the state of task queue monitored by thread pool scheduler;If task queue is sky, do not make any process;As Fruit task queue is not empty, then check in thread pool whether there is free idle thread, if there being free idle thread in thread pool, from task team Row take out a task and add idle thread, if not having idle thread in thread pool, not making any place and processing, thread pool is dispatched Device monitors the state of task queue, duplicate step of laying equal stress on;
Step 3, gateway carries out instantaneously similar request merging treatment to request;I.e.
Step 3.1, according to tolerance ρ of formula 1. computation requests,
Step 3.2, if the tolerance of request is 0, this request does not need any process to be directly appended in forwarding queue;As The tolerance of fruit request is not 0, then 2. calculate its corresponding returned data effective time value T according to formulal
Tl=Tmax×ρ ②
Formula 2. in, TlRepresent effective time value, TmaxRepresent the total maximum effective time that gateway is all of request setting Value, ρ represents tolerance;
Step 3.3, inquires about the data record of this request in the data base of gateway;If not identical with this request in data base Data, then directly request is added in forwarding queue;If had in data base and this request identical data, take out knot Fruit and its timestamp, and the timestamp of taking-up and current time are carried out seeking difference operation;If difference be more than this request effective when Between value Tl, then abandon this result, and request be added in forwarding queue;If difference is less than or equal to the effective time of this request Value Tl, then directly this result is returned to request user;
Step 4, gateway carries out flow-control to the request in forwarding queue;I.e.
Step 4.1, the request in forwarding queue is divided in different subqueues according to different priorities;
Step 4.2, is minimum threshold L according to the threshold value of forwarding queueminWith max-thresholds Lmax, call request data forwarding function Forwarding queue is carried out with flow-control poll forwarding;When the length of forwarding queue is less than default minimum threshold LminWhen, then do not lose Abandon the request in this subqueue;When the length of forwarding queue is in minimum threshold LminWith max-thresholds LmaxBetween when, then start with Machine abandons the request in low priority subqueue;When the length of forwarding queue is more than max-thresholds LmaxWhen, then abandon all low excellent Request in first level subqueue;
Step 5, gateway terminates to request process, returns result to asking user, worker thread is hung up, and waits to be added new Request;
Step 5.1, gateway obtains returned data from bottom subnet, and checks the tolerance of the request corresponding to this returned data Value;If tolerance is 0, do not make any process;If tolerance is not 0, it is similar whether gateway goes data base querying to have Request;If there is no such request in data base, this returned data and its request being added in data base in the lump, and adds Current timestamp;If there being such request in data base, update returned data and timestamp in data base;
Step 5.2, subnet returned data is encapsulated as after the message body consistent with the request form asking user to send by gateway, Return again to request user.
2. a kind of isomery WEB service gateway realization method according to claim 1, is characterized in that, in step 3.1, calculates The tolerance of all requests going out is stored in a tolerance table by gateway.
3. a kind of isomery WEB service gateway realization method according to claim 1, is characterized in that, in step 3.1, tolerance Spend update cycle TcFor 0.5 hour~2 hours.
4. a kind of isomery WEB service gateway realization method according to claim 1, is characterized in that, in step 4.1, request First it is classified device and carries out priority classification, add label afterwards, be then added in the other forwarding queue of different priorities.
5. a kind of isomery WEB service gateway realization method according to claim 1 or 4, is characterized in that, in step 4.1, please The priority asked is divided into 4 ranks, respectively emergent control order, instant request of data, non-emergent control business and commonly count According to requested service.
6. a kind of isomery WEB service gateway realization method according to claim 1, is characterized in that, in step 4.2, forwards The minimum threshold L of queueminWith max-thresholds LmaxIt is required to regularly update, and the minimum threshold L of forwarding queueminWith maximum threshold Value LmaxSetting with request average response time E and request forwarding success rate P relevant;I.e.
In n-th TuAt the end of update (n+1)th time interval TuForwarding queue threshold value, then in (n+1)th time zone Minimum threshold LminWith max-thresholds LmaxComputing formula be:
Formula 3. and 4. in, request average response time E and request forward the computing formula of success rate P to be:
Formula 5. and 6. in, n is gateway in a threshold value update cycle TuInside it is forwarded the request number into subnet, i is between 1 to n Positive integer.
7. a kind of isomery WEB service gateway realization method according to claim 6, is characterized in that, in step 4.2, minimum Threshold value LminWith max-thresholds LmaxThreshold value update cycle TuIt is 0.5 hour~2 hours.
8. a kind of isomery WEB service gateway realization method according to claim 1, is characterized in that, in step 1, request is used That family is sent to gateway is soap message body of a standard, and corresponding is that, in step 5.2, gateway returns subnet to number Ask user according to returning to after the soap message body of the standard that is packaged into.
9. a kind of isomery WEB service designing for a kind of isomery WEB service gateway realization method realized described in claim 1 Gateway apparatus it is characterised in that:By Information Network Configuration Manager, intrusion detection module, soap message parsing and package module, The Configuration Manager composition of transaction model and access network;Wherein
Information Network Configuration Manager, for accessing the hardware driving of the Internet in management gateway;
Intrusion detection module, for the illegal request of filter Internet user;
The parsing of soap message and package module, the soap Formatting Service request analysis for request user is sent go out request letter Breath, and feedback information is encapsulated as the message of soap form;
Transaction model, for processing the forwarding of all requests and response data;Its mainly by have affairs processing core unit, The Configuration Manager of Sqlite Database Unit, flow-control module and access network is constituted;
Issued transaction core cell, for processing user's request;
Sqlite Database Unit, for storing up-to-date detection data;
Flow-control module, for solving the high bandwidth of channel and the low bandwidth mismatch accessing network channel in Information Network in gateway Easily cause network congestion problem;
The Configuration Manager of access network, the hardware driving for management of sensor node and subnetwork communicating module, and it is responsible for handle The data being written in device file is sent in access subnet by sensor node and receives response message from subnet.
CN201410118841.2A 2014-03-27 2014-03-27 Heterogeneous WEB service gateway realizing method and device Expired - Fee Related CN103916891B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410118841.2A CN103916891B (en) 2014-03-27 2014-03-27 Heterogeneous WEB service gateway realizing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410118841.2A CN103916891B (en) 2014-03-27 2014-03-27 Heterogeneous WEB service gateway realizing method and device

Publications (2)

Publication Number Publication Date
CN103916891A CN103916891A (en) 2014-07-09
CN103916891B true CN103916891B (en) 2017-02-08

Family

ID=51042202

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410118841.2A Expired - Fee Related CN103916891B (en) 2014-03-27 2014-03-27 Heterogeneous WEB service gateway realizing method and device

Country Status (1)

Country Link
CN (1) CN103916891B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282019B (en) * 2014-12-29 2018-11-02 中国科学院沈阳自动化研究所 Data gateway based on service can configure method and system
CN105117284B (en) * 2015-09-09 2020-09-25 厦门雅迅网络股份有限公司 Method for scheduling work threads based on priority proportion queue
CN105227276B (en) * 2015-09-30 2018-07-27 河南大学 A kind of peer-to-peer network data transmission method based on UDT
CN106776075A (en) * 2016-12-27 2017-05-31 北京五八信息技术有限公司 Message treatment method and equipment
CN108989234A (en) * 2018-06-04 2018-12-11 重庆工商职业学院 Gateway of internet of things communication system
US10951638B2 (en) * 2018-06-27 2021-03-16 International Business Machines Corporation Security of server hosting remote application

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007125421A2 (en) * 2006-04-27 2007-11-08 Alcatel Lucent Mobile gateway device
CN101272400A (en) * 2008-05-05 2008-09-24 深圳华强信息产业有限公司 WEB monitoring application service platform and communication method thereof
CN101668032A (en) * 2008-09-05 2010-03-10 华为技术有限公司 Method, system and equipment for WEB service communication
CN102035890A (en) * 2010-12-08 2011-04-27 中国科学院声学研究所 Web service concurrency control method and system based on IOT (Internet of Things)-oriented application
CN102546590A (en) * 2010-12-02 2012-07-04 瑞科网信科技有限公司 System and method for distributing application traffic to servers based on dynamic service response time

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007125421A2 (en) * 2006-04-27 2007-11-08 Alcatel Lucent Mobile gateway device
CN101272400A (en) * 2008-05-05 2008-09-24 深圳华强信息产业有限公司 WEB monitoring application service platform and communication method thereof
CN101668032A (en) * 2008-09-05 2010-03-10 华为技术有限公司 Method, system and equipment for WEB service communication
CN102546590A (en) * 2010-12-02 2012-07-04 瑞科网信科技有限公司 System and method for distributing application traffic to servers based on dynamic service response time
CN102035890A (en) * 2010-12-08 2011-04-27 中国科学院声学研究所 Web service concurrency control method and system based on IOT (Internet of Things)-oriented application

Also Published As

Publication number Publication date
CN103916891A (en) 2014-07-09

Similar Documents

Publication Publication Date Title
CN103916891B (en) Heterogeneous WEB service gateway realizing method and device
CN104052759B (en) System for realizing add-and-play technology of internet of things
CN104954242B (en) Uniform data for migrating industrial data to cloud platform absorbs adapter
US9172738B1 (en) Collaborative logistics ecosystem: an extensible framework for collaborative logistics
CN107113232A (en) The method and apparatus that NFV manages layout
Leu et al. Improving heterogeneous SOA-based IoT message stability by shortest processing time scheduling
Wan et al. Cross-network fusion and scheduling for heterogeneous networks in smart factory
Li et al. Smart greenhouse: A real-time mobile intelligent monitoring system based on WSN
CN107465764A (en) Internet of Things network communication system, gateway device and method based on stelliform connection topology configuration
CN103199968A (en) Sending method of messages and system
CN102436371A (en) Method and device for constructing context-aware middleware facing to pervasive environment
CN112910766A (en) Edge computing intelligent gateway for field bus control system
CN109361595A (en) A kind of things-internet gateway and method
CN103973489B (en) A kind of heterogeneous device centralized monitoring system
CN113765825B (en) Planning method and system architecture for chained service flow scheduling
WO2018014883A1 (en) Strategy sending and receiving method, device and controller
Singh et al. Event handling for distributed real-time cyber-physical systems
CN113765777A (en) Equipment control method, message transfer method, equipment, readable medium and Internet of things
Nguyen et al. A software-defined model for IoT clusters: Enabling applications on demand
CN117439959A (en) Traffic scheduling method for industrial heterogeneous network
Barkalov et al. Fault detection variants of the CloudBus protocol for IoT distributed embedded systems
CN105916184B (en) A kind of industrial wireless sensing network termination implementation method meeting ISA100.11a standard
CN110380760A (en) Universal personal health equipment flag bit data transmission method based on low-power consumption bluetooth
CN108564319A (en) A kind of logistics supply chain management system and method
Hayashi et al. A GTS scheduling for consensus problems over IEEE 802.15. 4 wireless networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170208