CN103841051A - Service request control system and method - Google Patents

Service request control system and method Download PDF

Info

Publication number
CN103841051A
CN103841051A CN201210489916.9A CN201210489916A CN103841051A CN 103841051 A CN103841051 A CN 103841051A CN 201210489916 A CN201210489916 A CN 201210489916A CN 103841051 A CN103841051 A CN 103841051A
Authority
CN
China
Prior art keywords
service request
service
control point
unit interval
control
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
CN201210489916.9A
Other languages
Chinese (zh)
Other versions
CN103841051B (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.)
Ambit Microsystems Shanghai Ltd
Original Assignee
Ambit Microsystems Shanghai 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 Ambit Microsystems Shanghai Ltd filed Critical Ambit Microsystems Shanghai Ltd
Priority to CN201210489916.9A priority Critical patent/CN103841051B/en
Publication of CN103841051A publication Critical patent/CN103841051A/en
Application granted granted Critical
Publication of CN103841051B publication Critical patent/CN103841051B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a service request control system which is applied to a router. The service request control system comprises a control point number detection module, a service number calculation module, a service number detection module and a service number limiting module. The control point number detection module is used for detecting the number of control points coupled with the router. The service number calculation module is used for calculating the number of reasonable service requests of the control points within a unit time according to the control point number and the service request response time. The service number detection module is used for detecting the number of the service requests and request sources of all the control points within the unit time. The service number limiting module is used for limiting the number of the service requests of the control points to be within a reasonable request service number within the unit time when the number of the service requests of all the control points exceeds the reasonable service request number within the unit time. The invention further provides a service request control method.

Description

Service request control system and control method thereof
Technical field
The present invention relates to a kind of service request control system and control method thereof.
Background technology
UPnP (Universal Plug and Play, UPnP) be to be connected with smart machine peer-to-peer network for computer and the architecture that designs, the target of UPnP is to realize seamless link between each class of electronic devices such as computer, household electrical appliances, mobile device, make these equipment each other from being dynamically connected and collaborative work, and being connected of realization and Internet.The networking products that comprise UPnP technology only need be linked on network, can start normal work.UPnP is a kind of distributed, open network architecture, give full play to Internet assembly including IP, TCP, UDP, HTTP and XML and the function of network technology, the interactive operation function such as exchange of discovery, interface statement and other information between networking gear is provided under the prerequisite of zero configuration.Use UPnP, an equipment can dynamically add network, automatically obtain an IP address, announce its abilities or know existence and the service of other equipment to other equipment, after this this equipment Direct Communication each other, finally, this equipment can automatically successfully cut off network and connect, and can not cause beyond thought problem.The basic comprising of UPnP networking component is control point, equipment and service.
By the UPnP network architecture, each control point is easy to carry out requirement equipment through UPnP agreement and serves, but in the time having too many irrational service request, can cause burden to equipment, attacks even make equipment be subject to paralysis.
Summary of the invention
In view of this, be necessary to provide a kind of service request control system and control method thereof that limits service request quantity.
The invention provides a kind of service request control system, be applied in router.This service request control system comprises: number of control points detecting module, for detecting the number of control points being coupled with router; Quantity of service computing module, for according to number of control points and the reasonable service request quantity at control point in the service request response Time Calculation unit interval; Quantity of service detecting module, for detecting service request quantity and the request source at all control points in the unit interval; Quantity of service limiting module, in the time that the service request quantity at all control points in the unit interval exceedes reasonable service request quantity, by service request restricted number in control point in the unit interval in reasonable service request quantity.
The invention provides a kind of service request control method, be applied in router; Comprise the following steps:
The number of control points of detecting and router coupling;
According to number of control points and the reasonable service request quantity in the service request response Time Calculation unit interval;
Service request source, control point and quantity in the detecting unit interval; In the time that the control point service request quantity in the unit interval exceedes reasonable service request quantity, by control point service request restricted number in reasonable service request quantity.
Compared to prior art, service request control system of the present invention and control method thereof can be according to number of control points and reasonable service request quantity in the service response time unit of account time, and by control point service request restricted number in reasonable service request quantity, thereby can avoid router to suffer the paralysis sexual assault of Connection Service request.
Accompanying drawing explanation
Fig. 1 is service request control system running environment schematic diagram of the present invention.
Fig. 2 is service request control system one preferred embodiments module diagram of the present invention.
Fig. 3 is the flow chart of service request control method one preferred embodiments of the present invention.
Main element symbol description
Universal plug and play network 10
Router 100
Control point 102、104、106、108、110
The Internet 120
Service request control system 130
Number of control points detecting module 132
Quantity of service computing module 134
Quantity of service detecting module 136
Quantity of service limiting module 138
Processor 150
Memory 170
Following embodiment further illustrates the present invention in connection with above-mentioned accompanying drawing.
Embodiment
Below in conjunction with accompanying drawing, the present invention is done to concrete introduction.
Fig. 1 service request control system of the present invention running environment schematic diagram.In UPnP network, multiple UPnP control point 102,104,106 and 108 and router one 00 are coupled.Router one 00 is of coupled connections through the Internet 120 and UPnP control point 110.The plurality of UPnP control point 102,104,106,108 and 110 may be, but not limited to, the control points such as computer, CD/DVD player, TV, mobile phone, MP3 player, video camera.The plurality of UPnP control point 102,104,106,108,110 can be realized signal by wired or wireless mode and be connected, such as netting twine, telephone wire, Wi-Fi, Ethernet etc.Router one 00 1 input/output interfaces are corresponding with the UPnP control point of at least one access in radio.The plurality of UPnP control point 102,104,106,108,110 and router one 00 are interconnected by transmission control protocol/Internet Interconnection agreement (Transmission Control Protocol/Internet Protocol, TCP/IP) or HTTP(Hypertext Transport Protocol) etc.
In the time of control point access UPnP network 10, this router one 00 arranges agreement (Dynamic Host Configuration Protocol, DHCP) to distributing IP address, control point according to DynamicHost.Network service is realized through router 100 in the plurality of UPnP control point 102,104,106 and 108, service request can be sent through router 100 to other control points 104,106,108 and 110 in control point 102, and router one 00 need to calculate best router and realize the network service between control point 102 and other control points.
Refer to Fig. 2, Fig. 2 is the schematic diagram of a preferred embodiments of service request control system 130 of the present invention.This service request control system 130 runs in the router one 00 shown in Fig. 1.This router one 00 comprises processor 150, memory 170.This service request control system 130 can embed in the operating system of router one 00, also can be directly installed in this memory 170, and control execution by processor 150.This service request control system 130 comprises number of control points detecting module 132, quantity of service computing module 134, quantity of service detecting module 136 and quantity of service limiting module 138.
The number of control points that 132 detectings of number of control points detecting module and router one 00 are coupled.Particularly, in the time that UPnP control point is connected with router one 00 by wired mode, by inquiry DynamicHost, agreement (Dynamic Host Configuration Protocol is set, DHCP) discharging quantity of current IP address is obtained in the lease list in, wherein a corresponding UPnP control point, each IP address.In other embodiments, can obtain in UPnP network access in radio to the access quantity at the UPnP control point of this router one 00 by the address list in inquiry bridge (Bridge).
In the time that UPnP control point is connected with router one 00 by wireless mode, the UPnP control point of wireless access all needs could connect router 100 by certain authentication mechanism, thereby router one 00 can obtain the essential information of wireless access control point as MAC Address etc.This router one 00 can be according to wireless access in the acquisition of information UPnP networks such as MAC Address or IP address to the access quantity at the UPnP control point of this router one 00.
The access quantity at UPnP control point that this UPnP Network access control point total amount is access in radio and the access quantity sum at the UPnP control point of wireless access.
Quantity of service computing module 134 is according to number of control points and the reasonable service request quantity at control point in the service request response Time Calculation unit interval.Particularly, reasonable quantity of service (Reasonable Request Number/second in unit interval, RRN)=access control point total amount (Total Number of control points, TNCP) slow-response time (the slowest Response time of × 1 second/, ms) × environmental parameter (Environment Value, EV).This quantity of service computing module 134 calculates respectively reasonable quantity of service RRN1 and the RRN2 in unit interval at access in radio control point and wireless access control point in UPnP network, and RRN=RRN1+RRN2.This environmental parameter EV is affected by routing capabilities of the network bandwidth, router etc.Wherein under the environment that seldom uses UPnP service, can turn down environmental parameter.
Quantity of service detecting module 136 is detected all control points service request quantity and the service request source in the unit interval.Particularly, the service request quantity at access in radio UPnP control point and the service request quantity at wireless access UPnP control point in these quantity of service detecting module 136 these UPnP networks of detecting, and obtain the service request quantity in all UPnP control point unit interval.This quantity of service detecting module 136 is also distinguished the service request at the service request at access in radio UPnP control point and the UPnP control point of wireless access by the IP address of query service request.
Quantity of service limiting module 138 is for the service request quantity in restricted unit time.In the time that the service request quantity in the unit interval exceedes the reasonable quantity of service RRN in the unit interval, these quantity of service limiting module 138 initiated access limitation functions, are in the reasonable quantity of service RRN in the unit interval by service request restricted number.Particularly, in the time that the service request quantity at the UPnP control point of access in radio in UPnP network exceedes in the unit interval rationally quantity of service RRN1, be the UPnP number of control points that RRN1 × this input/output interface connects by the service request restricted number of input/output interface; In the time that the service request quantity at the UPnP control point of wireless access in UPnP network exceedes in the unit interval rationally quantity of service RRN2, obtain the position at UPnP control point according to MAC Address, and by the service request restricted number at the UPnP control point of this wireless access within the unit interval rationally in service request amount R RN2.
See also Fig. 3, Fig. 3 is the flow chart of service request control method one preferred embodiments of the present invention.
Step S301, the number of control points that these number of control points detecting module 132 detectings and router one 00 are coupled.Particularly, in the time that UPnP control point is connected with router one 00 by wired mode, by inquiry DynamicHost, agreement (Dynamic Host Configuration Protocol is set, DHCP) discharging quantity of current IP address is obtained in the lease list in, wherein a corresponding UPnP control point, each IP address.In other embodiments, can obtain in UPnP network access in radio to the access quantity at the UPnP control point of this router one 00 by the address list in inquiry bridge (Bridge).
In the time that UPnP control point is connected with router one 00 by wireless mode, the UPnP control point of wireless access all needs could connect router 100 by certain authentication mechanism, thereby router one 00 can obtain the essential information of wireless access control point as MAC Address etc.This router one 00 can be according to wireless access in the acquisition of information UPnP networks such as MAC Address or IP address to the access quantity at the UPnP control point of this router one 00.
The access quantity at UPnP control point that this UPnP Network access control point total amount is access in radio and the access quantity sum at the UPnP control point of wireless access.
Step S302, this quantity of service computing module 134 is according to number of control points and the reasonable service request quantity at control point in the service request response Time Calculation unit interval.Particularly, reasonable quantity of service (Reasonable Request Number/second in unit interval, RRN)=access control point total amount (Total Number of control points, TNCP) slow-response time (the slowest Response time of × 1 second/, ms) × environmental parameter (Environment Value, EV).This quantity of service computing module 134 calculates respectively reasonable quantity of service RRN1 and the RRN2 in unit interval at access in radio control point and wireless access control point in UPnP network, and RRN=RRN1+RRN2.This environmental parameter EV is affected by routing capabilities of the network bandwidth, router etc.Wherein under the environment that seldom uses UPnP service, can turn down environmental parameter.
Step S303, quantity of service detecting module 136 is detected control point service request quantity and the service request source in the unit interval.Particularly, the service request quantity at access in radio UPnP control point and the service request quantity at wireless access UPnP control point in these quantity of service detecting module 136 these UPnP networks of detecting, and obtain the service request quantity in all UPnP control point unit interval.This quantity of service detecting module 136 is also distinguished the service request at the service request at access in radio UPnP control point and the UPnP control point of wireless access by the IP address of query service request.
Step S304, judges whether the service request quantity in the unit interval exceedes the reasonable quantity of service in the unit interval.Particularly, judge whether the service request quantity at access in radio UPnP control point in the unit interval exceedes RRN1, and in the unit interval, whether the service request quantity at wireless access UPnP control point exceedes RRN2.In the time that the service request quantity at access in radio UPnP control point in the unit interval or wireless access UPnP control point exceedes the reasonable quantity of service in the unit interval, execution step S305.When in the reasonable quantity of service of the service request quantity in the unit interval within the unit interval, execution step S303.
Step S305, these quantity of service limiting module 138 initiated access limitation functions, are in the reasonable quantity of service RRN in the unit interval by service request restricted number.Particularly, in the time that the service request quantity at the UPnP control point of access in radio in UPnP network exceedes in the unit interval rationally quantity of service RRN1, be the UPnP number of control points that RRN1 × this input/output interface connects by the service request restricted number of input/output interface; In the time that the service request quantity at the UPnP control point of wireless access in UPnP network exceedes in the unit interval rationally quantity of service RRN2, obtain the position at UPnP control point according to MAC Address, and by the service request restricted number at the UPnP control point of this wireless access within the unit interval rationally in service request amount R RN2.
Use above-mentioned service request control system and the control method thereof can be according to number of control points and reasonable service request quantity in the service response time unit of account time, and by control point service request restricted number in reasonable service request quantity, thereby can avoid plug and play network to suffer the paralysis sexual assault of Connection Service request.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to better enforcement, those of ordinary skill in the art is to be understood that, can modify or be equal to replacement technical scheme of the present invention, and not depart from the spirit and scope of technical solution of the present invention.

Claims (15)

1. a service request control system, is applied in router, it is characterized in that, this service request control system comprises:
Number of control points detecting module, for detecting the number of control points being coupled with router;
Quantity of service computing module, for according to number of control points and the reasonable service request quantity at control point in the service request response Time Calculation unit interval;
Quantity of service detecting module, for detecting service request quantity and the request source at all control points in the unit interval;
Quantity of service limiting module, in the time that the service request quantity at all control points in the unit interval exceedes reasonable service request quantity, by service request restricted number in control point in the unit interval in reasonable service request quantity.
2. service request control system as claimed in claim 1, it is characterized in that, described number of control points detecting module is the discharging quantity that lease list in agreement is set is obtained current IP address by inquiry DynamicHost, to obtain and the number of control points of router coupling.
3. service request control system as claimed in claim 1, is characterized in that, described number of control points detecting module obtains the number of control points being coupled with router by the MAC Address at control point.
4. service request control system as claimed in claim 1, is characterized in that, reasonable service request quantity=access control point total amount × 1 unit interval/response time × environmental parameter at control point in the described unit interval.
5. service request control system as claimed in claim 4, is characterized in that, this unit interval is 1 second.
6. service request control system as claimed in claim 4, is characterized in that, this quantity of service computing module calculates respectively and the access in radio control point of router coupling and the reasonable service request quantity in the unit interval of wireless access control point.
7. service request control system as claimed in claim 6, is characterized in that, an input/output interface of router is connected with the control point of at least one access in radio.
8. service request control system as claimed in claim 7, it is characterized in that, in the time exceeding the reasonable quantity of service in unit interval at access in radio control point in the unit interval with the service request quantity at the access in radio control point of router coupling, described quantity of service limiting module is the access in radio number of control points that reasonable service request quantity × this input/output interface connects at access in radio control point in the unit interval by the service request restricted number of the input/output interface of router.
9. service request control system as claimed in claim 6, is characterized in that, router obtains the position of wireless access control point by MAC Address.
10. service request control system as claimed in claim 9, it is characterized in that, in the time exceeding the reasonable quantity of service of wireless access control point in the unit interval with the service request quantity of the wireless access control point of router coupling, obtain the position of wireless access control point according to the MAC Address of wireless access control point, and the service request restricted number of this wireless access control point wireless access control within the unit interval is put in reasonable service request quantity.
11. 1 kinds of service request control methods, are applied in router; Comprise the following steps:
The number of control points of detecting and router coupling;
According to number of control points and the reasonable service request quantity in the service request response Time Calculation unit interval;
Service request source, control point and quantity in the detecting unit interval; In the time that the control point service request quantity in the unit interval exceedes reasonable service request quantity, by control point service request restricted number in reasonable service request quantity.
12. service request control methods as claimed in claim 11, is characterized in that, the reasonable quantity of service=access control point total amount × 1 unit interval/slow-response time × environmental parameter in the unit interval.
13. service request control methods as claimed in claim 12, is characterized in that, this quantity of service computing module calculates respectively and the access in radio control point of router coupling and the reasonable quantity of service in the unit interval of wireless access control point.
14. service request control methods as claimed in claim 13, it is characterized in that, in the time exceeding the reasonable quantity of service in unit interval at access in radio control point in the unit interval with the service request quantity at the access in radio control point of router coupling, described quantity of service limiting module is the access in radio number of control points that reasonable service request quantity × this input/output interface connects at access in radio control point in the unit interval by the service request restricted number of the input/output interface of router.
15. service request control methods as claimed in claim 13, it is characterized in that, in the time exceeding the reasonable quantity of service of wireless access control point in the unit interval with the service request quantity of the wireless access control point of router coupling, obtain the position of wireless access control point according to MAC Address, and the service request restricted number of this wireless access control point wireless access control within the unit interval is put in reasonable service request quantity.
CN201210489916.9A 2012-11-27 2012-11-27 Service request control system and method Active CN103841051B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210489916.9A CN103841051B (en) 2012-11-27 2012-11-27 Service request control system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210489916.9A CN103841051B (en) 2012-11-27 2012-11-27 Service request control system and method

Publications (2)

Publication Number Publication Date
CN103841051A true CN103841051A (en) 2014-06-04
CN103841051B CN103841051B (en) 2017-05-10

Family

ID=50804194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210489916.9A Active CN103841051B (en) 2012-11-27 2012-11-27 Service request control system and method

Country Status (1)

Country Link
CN (1) CN103841051B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113467314A (en) * 2021-07-15 2021-10-01 广州赛度检测服务有限公司 Information security risk assessment system and method based on big data and edge calculation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004099962A1 (en) * 2003-05-12 2004-11-18 Canon Kabushiki Kaisha Network service system, service proxy processing mehtod, computer-readable storage medium storing program, and program therefor
CN1906604A (en) * 2003-12-19 2007-01-31 微软公司 Routing of resource information in a network
CN101569149A (en) * 2006-12-28 2009-10-28 艾利森电话股份有限公司 Home gateway device for providing multiple services to customer devices
CN102684988A (en) * 2006-04-26 2012-09-19 日本电信电话株式会社 Load control device and method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004099962A1 (en) * 2003-05-12 2004-11-18 Canon Kabushiki Kaisha Network service system, service proxy processing mehtod, computer-readable storage medium storing program, and program therefor
CN1906604A (en) * 2003-12-19 2007-01-31 微软公司 Routing of resource information in a network
CN102684988A (en) * 2006-04-26 2012-09-19 日本电信电话株式会社 Load control device and method thereof
CN101569149A (en) * 2006-12-28 2009-10-28 艾利森电话股份有限公司 Home gateway device for providing multiple services to customer devices

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113467314A (en) * 2021-07-15 2021-10-01 广州赛度检测服务有限公司 Information security risk assessment system and method based on big data and edge calculation
CN113467314B (en) * 2021-07-15 2022-04-26 广州赛度检测服务有限公司 Information security risk assessment system and method based on big data and edge calculation

Also Published As

Publication number Publication date
CN103841051B (en) 2017-05-10

Similar Documents

Publication Publication Date Title
US9774668B2 (en) Communication system for establishing P2P connections and the corresponding devices using the same
CN104113458A (en) Mobile terminal and intelligent household appliance interconnecting method and device
KR101458368B1 (en) Session establishment method using relay server active connection of mobile terminal
CN104363153A (en) Internet of things, communication method oriented to internet of things, bridging device oriented to internet of things and access device
US9219615B2 (en) Remote information communication system and linking method thereof
JP5974931B2 (en) Communication device
Park et al. A dynamic control middleware for cyber physical systems on an IPv6‐based global network
CN104980368A (en) Bandwidth guarantee method and apparatus in software defined network (SDN)
CN101383789B (en) Household gateway device, system and method implementing access to and controlling household network
CN103439934A (en) Intelligent electrical appliance control method, server and system
CN202111864U (en) Distributed wireless gateway system
US9774916B2 (en) Information concentrating center capable of making P2P connections with remote client devices
CN105515962A (en) Information processing method and smart home equipment
KR102009810B1 (en) Method and apparatus for transmitting and receiving a service in a wireless communication system
CN103095535B (en) Operation requests processing method, domestic network system and equipment
CN103841051A (en) Service request control system and method
CN105338654A (en) Network sharing method, apparatus and system
CN102006266B (en) Method for configuring service quality parameter, remote access server and system
US10512026B2 (en) Technique for mediation in a residential network
TWI507076B (en) Wlan access device and method of controlling wireless signals
CN104579967A (en) Transmission path control equipment
US9094319B2 (en) Cross-domain exchange system of equipment lists and method
KR101454999B1 (en) Line sharer
JP5135422B2 (en) Gateway device
CN102572404A (en) Video monitoring method, system and related device based on coaxial cable network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant