CN102546437B - 一种面向物联网平台的套接字实现方法 - Google Patents
一种面向物联网平台的套接字实现方法 Download PDFInfo
- Publication number
- CN102546437B CN102546437B CN201210038597.XA CN201210038597A CN102546437B CN 102546437 B CN102546437 B CN 102546437B CN 201210038597 A CN201210038597 A CN 201210038597A CN 102546437 B CN102546437 B CN 102546437B
- Authority
- CN
- China
- Prior art keywords
- thread
- pool
- socket
- server
- thread pool
- 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
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000004891 communication Methods 0.000 claims abstract description 31
- 230000006854 communication Effects 0.000 claims abstract description 31
- 238000013461 design Methods 0.000 claims abstract description 28
- 230000008569 process Effects 0.000 claims abstract description 18
- 238000012545 processing Methods 0.000 claims abstract description 13
- 230000006378 damage Effects 0.000 claims abstract description 12
- 230000009897 systematic effect Effects 0.000 claims description 13
- 238000005516 engineering process Methods 0.000 claims description 9
- 230000007246 mechanism Effects 0.000 claims description 8
- 239000000725 suspension Substances 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000012544 monitoring process Methods 0.000 claims description 7
- 238000012423 maintenance Methods 0.000 claims description 5
- 238000000151 deposition Methods 0.000 claims description 4
- 238000009826 distribution Methods 0.000 claims description 4
- 238000003860 storage Methods 0.000 claims description 4
- 238000010921 in-depth analysis Methods 0.000 claims 1
- 239000003550 marker Substances 0.000 claims 1
- 230000004044 response Effects 0.000 abstract description 2
- 238000004088 simulation Methods 0.000 abstract description 2
- 230000000903 blocking effect Effects 0.000 abstract 1
- 238000002474 experimental method Methods 0.000 description 21
- 230000006870 function Effects 0.000 description 18
- 238000010586 diagram Methods 0.000 description 6
- 230000035484 reaction time Effects 0.000 description 5
- 238000012360 testing method Methods 0.000 description 5
- 238000005457 optimization Methods 0.000 description 3
- 230000004083 survival effect Effects 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
线程池开销 | 没有线程池的开销 | 获得提升的***性能 | |
0≤r≤n | C2·n | C1·r | C1·r-C2·n |
r>n | C2·n+C1·(r-n) | C1·r | C1·n-C2·n |
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210038597.XA CN102546437B (zh) | 2012-02-20 | 2012-02-20 | 一种面向物联网平台的套接字实现方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210038597.XA CN102546437B (zh) | 2012-02-20 | 2012-02-20 | 一种面向物联网平台的套接字实现方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102546437A CN102546437A (zh) | 2012-07-04 |
CN102546437B true CN102546437B (zh) | 2014-10-22 |
Family
ID=46352425
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210038597.XA Active CN102546437B (zh) | 2012-02-20 | 2012-02-20 | 一种面向物联网平台的套接字实现方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102546437B (zh) |
Families Citing this family (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102916953B (zh) * | 2012-10-12 | 2016-03-09 | 青岛海信传媒网络技术有限公司 | 基于tcp连接实现并发服务的方法及装置 |
CN105843592A (zh) * | 2015-01-12 | 2016-08-10 | 芋头科技(杭州)有限公司 | 一种在预设嵌入式***中实现脚本操作的*** |
CN104683460B (zh) * | 2015-02-15 | 2019-08-16 | 青岛海尔智能家电科技有限公司 | 一种物联网的通信方法、装置及服务器 |
CN104735077B (zh) * | 2015-04-01 | 2017-11-24 | 积成电子股份有限公司 | 一种使用环形缓存和环形队列实现udp高效并发的方法 |
CN104850460A (zh) * | 2015-06-02 | 2015-08-19 | 上海斐讯数据通信技术有限公司 | 一种服务程序线程管理方法 |
CN105323319A (zh) * | 2015-11-09 | 2016-02-10 | 深圳市江波龙科技有限公司 | 物联网设备的通信方法和*** |
US9923821B2 (en) * | 2015-12-23 | 2018-03-20 | Intel Corporation | Managing communication congestion for internet of things devices |
CN105740326B (zh) * | 2016-01-21 | 2021-01-15 | 腾讯科技(深圳)有限公司 | 浏览器的线程状态监测方法及装置 |
CN106656436B (zh) * | 2016-09-29 | 2020-05-22 | 安徽华速达电子科技有限公司 | 一种基于智能光网络单元的通信管理方法和*** |
CN108121598A (zh) * | 2016-11-29 | 2018-06-05 | 中兴通讯股份有限公司 | 套接字缓存资源管理方法及装置 |
CN106997307A (zh) * | 2017-02-13 | 2017-08-01 | 上海大学 | 一种面向多终端无线通信的Socket线程池设计方法 |
CN107147663A (zh) * | 2017-06-02 | 2017-09-08 | 广东暨通信息发展有限公司 | 一种计算机集群***的同步通讯方法和*** |
CN107332735A (zh) * | 2017-07-04 | 2017-11-07 | 四川长虹技佳精工有限公司 | 断开后自动重连的网络通信方法 |
CN108075947B (zh) * | 2017-07-31 | 2024-02-27 | 北京微应软件科技有限公司 | 存储设备、pc端、通信连接连通性的维护方法及*** |
CN107454177A (zh) * | 2017-08-15 | 2017-12-08 | 合肥丹朋科技有限公司 | 网络通信的动态实现方法 |
CN109428926B (zh) * | 2017-08-31 | 2022-04-12 | 北京京东尚科信息技术有限公司 | 一种调度任务节点的方法和装置 |
CN107783848A (zh) * | 2017-09-27 | 2018-03-09 | 歌尔科技有限公司 | 一种基于套接字通信的json命令处理方法及装置 |
CN108566390B (zh) * | 2018-04-09 | 2020-03-17 | 中国科学院信息工程研究所 | 一种卫星消息监听与分发服务*** |
CN109450838A (zh) * | 2018-06-27 | 2019-03-08 | 北京班尼费特科技有限公司 | 一种基于智能物联网交互平台的智能快递柜网络通讯协议 |
CN109727595B (zh) * | 2018-12-29 | 2021-08-03 | 神思电子技术股份有限公司 | 一种语音识别服务器的软件设计方法 |
CN111859082A (zh) * | 2020-05-27 | 2020-10-30 | 伏羲科技(菏泽)有限公司 | 标识解析方法及装置 |
CN111858046B (zh) * | 2020-07-13 | 2024-05-24 | 海尔优家智能科技(北京)有限公司 | 服务请求的处理方法及装置、存储介质、电子装置 |
CN111917852A (zh) * | 2020-07-23 | 2020-11-10 | 上海珀立信息科技有限公司 | 基于Unity的多人网络同步***及开发方法 |
CN113438247A (zh) * | 2021-06-29 | 2021-09-24 | 四川巧夺天工信息安全智能设备有限公司 | 一种socket通道中数据交互冲突的处理方法 |
CN114785846B (zh) * | 2022-03-23 | 2024-05-24 | 南京邮电大学 | 一种基于ProtoBuf协议的心跳监控方法及*** |
CN116755863B (zh) * | 2023-08-14 | 2023-10-24 | 北京前景无忧电子科技股份有限公司 | 一种面向多终端无线通信的Socket线程池设计方法 |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101527719A (zh) * | 2009-04-27 | 2009-09-09 | 成都科来软件有限公司 | 一种tcp数据流并行分析方法 |
-
2012
- 2012-02-20 CN CN201210038597.XA patent/CN102546437B/zh active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101527719A (zh) * | 2009-04-27 | 2009-09-09 | 成都科来软件有限公司 | 一种tcp数据流并行分析方法 |
Non-Patent Citations (10)
Title |
---|
Analysis of Optimal Thread Pool Size;Yibei Ling,et al;《ACM SIGOPS Operating Systems Review》;20000214;第34卷(第2期);正文第4页至第7页 * |
Yibei Ling,et al.Analysis of Optimal Thread Pool Size.《ACM SIGOPS Operating Systems Review》.2000,第34卷(第2期),正文第4页至第7页. |
刘焱旺.基于Web的实时控制***的研究与设计.《中国优秀硕士学位论文全文数据库 信息科学辑》.2009,(第5期),第I140-231页. |
周凤石.基于Windows Socket的网络通信中的心跳机制原理及其实现.《沙洲职业工学院学报》.2009,第12卷(第3期),第17-21页. |
基于Socket的并发服务器的Java语言实现;赵文清;《现代电子技术》;20020228(第2期);全文 * |
基于Web的实时控制***的研究与设计;刘焱旺;《中国优秀硕士学位论文全文数据库 信息科学辑》;20090515(第5期);第I140-231页 * |
基于Windows Socket的网络通信中的心跳机制原理及其实现;周凤石;《沙洲职业工学院学报》;20090930;第12卷(第3期);正文第1-4页 * |
夏玲.客户端与服务器端的Socket通信.《电脑编程技巧与维护》.2009,(第17期),全文. |
客户端与服务器端的Socket通信;夏玲;《电脑编程技巧与维护》;20091023(第17期);全文 * |
赵文清.基于Socket的并发服务器的Java语言实现.《现代电子技术》.2002,(第2期),全文. |
Also Published As
Publication number | Publication date |
---|---|
CN102546437A (zh) | 2012-07-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102546437B (zh) | 一种面向物联网平台的套接字实现方法 | |
CN102004670B (zh) | 一种基于MapReduce的自适应作业调度方法 | |
CN101917490B (zh) | 一种读取缓存数据的方法及*** | |
CN104243481B (zh) | 一种用电信息采集前置数据处理的方法及*** | |
CN104636957B (zh) | 一种处理高并发数据请求的***和方法 | |
CN102916953A (zh) | 基于tcp连接实现并发服务的方法及装置 | |
CN102929834B (zh) | 众核处理器及其核间通信的方法、主核和从核 | |
CN103164287B (zh) | 基于Web动态参与的分布式并行计算平台*** | |
CN103516744A (zh) | 一种数据处理的方法和应用服务器及集群 | |
CN101652750A (zh) | 数据处理装置、分散处理***、数据处理方法及数据处理程序 | |
CN107493351A (zh) | 一种客户端访问存储***的负载均衡的方法及装置 | |
CN102185860A (zh) | 用于集成电路制造设备的标准化底层控制驱动*** | |
CN104811503A (zh) | 一种r统计建模*** | |
CN103957280A (zh) | 一种物联网中的传感网络连接分配和调度方法 | |
CN101383814B (zh) | 一种实现基于连接池的数据访问的设备和方法 | |
CN115567594A (zh) | 微服务请求处理方法、装置、计算机设备及存储介质 | |
CN108459941A (zh) | 一种分布式数据采集及软件监控的方法及*** | |
CN105893156B (zh) | 存储计算***中的请求处理方法及存储计算*** | |
CN116795647A (zh) | 一种数据库异构资源管理与调度方法、装置、设备及介质 | |
CN111427674A (zh) | 一种微服务管理方法、装置及*** | |
CN114710571A (zh) | 数据包处理*** | |
CN105069029A (zh) | 一种实时etl***及方法 | |
Toczé et al. | Towards edge benchmarking: A methodology for characterizing edge workloads | |
CN104184685A (zh) | 数据中心资源分配方法、装置及*** | |
CN114510361A (zh) | 基于动态规则的物联网实时数据处理方法 |
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 | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20120704 Assignee: Jiangsu Nanyou IOT Technology Park Ltd. Assignor: Nanjing Post & Telecommunication Univ. Contract record no.: 2016320000211 Denomination of invention: Internet of things platform-oriented socket implementation method Granted publication date: 20141022 License type: Common License Record date: 20161114 |
|
LICC | Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model | ||
EC01 | Cancellation of recordation of patent licensing contract | ||
EC01 | Cancellation of recordation of patent licensing contract |
Assignee: Jiangsu Nanyou IOT Technology Park Ltd. Assignor: Nanjing Post & Telecommunication Univ. Contract record no.: 2016320000211 Date of cancellation: 20180116 |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200610 Address after: Room 408, block D, Caiying building, No.99 Tuanjie Road, Jiangbei new district, Nanjing, Jiangsu Patentee after: Jiangsu Jiangxin Electronic Technology Co., Ltd Address before: 210003, No. 66, new exemplary Road, Nanjing, Jiangsu Patentee before: NANJING University OF POSTS AND TELECOMMUNICATIONS |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210507 Address after: 210009 3-1-1902, talent apartment, 32 dingjiaqiao, Gulou District, Nanjing City, Jiangsu Province Patentee after: Wang Kun Address before: Room 408, block D, Yingying building, 99 Tuanjie Road, Jiangbei new district, Nanjing City, Jiangsu Province, 211899 Patentee before: Jiangsu Jiangxin Electronic Technology Co., Ltd |