The invention discloses a fast response system of communication service based on micro-threading technology, which comprises a master port, a parent task execution module and a task logic Association module; the master port is used for receiving external information, and then input the received information into the parent task execution module, which is used for the parent task execution module. The main station port receives the information for data processing, and then outputs the processed data to complete task processing. The task logic association module is used to process multiple groups of data information received by the main station port individually. The communication service rapid response system based on micro-threading technology passes through the main station port and mother. The design of task execution module and task logic association module makes micro-threads not only have the multi-task characteristics of threads, but also support the secondary decomposition and detailing of the more special tasks to form a sub-task group with a certain logical relationship, which can be transformed into a \task sub-task multi-to-multi\ business relationship.
【技术实现步骤摘要】
一种基于微线程技术的通信服务快速响应系统
本专利技术涉及通信服务中微线程
,具体为一种基于微线程技术的通信服务快速响应系统。
技术介绍
通信服务的底层其实就是报文交互,报文到达后会触发一个中断,通知主机CPU处理,如果信息量大,则中断次数就会增加,主机CPU就没有资源去顾及其它任务,所以普通的电脑网卡就集成了报文处理功能,成为CPU的协处理器,专门负责通信报文的组织、校验、收发时机控制及同底层设备交互等工作,主机CPU只需要处理报文的应用即可。这种设计将主机CPU从通信交互的繁琐中断机制中解放出来,但是也引发了另外一个问题,即主机CPU对通信具体过程的控制能力大大减弱。当链路质量良好时,主机CPU同网卡之间的配合性能最佳;当链路质量欠佳时,网卡内部在做什么主机CPU是完全不知道的,只能被动等待,从而引发超时、长时间等待、操作指令不返回、线程假死等问题。鉴于目前多任务、多线程的广泛使用,接入的装置数越多,链路质量越不稳定,则通信服务的响应速度就越慢。在电力系统绝大多数的信息集成类项目都存在通信服务不稳定的情况,同链路质量正相关。链路质量好则通信服务性能好,反之 ...
【技术保护点】
1.一种基于微线程技术的通信服务快速响应系统,包括主站端口(1)、母任务执行模块(2)和任务逻辑关联模块(3);其特征在于:所述主站端口(1)用于对外端信息进行接收,然后将接收的信息输入到母任务执行模块(2)中,所述母任务执行模块(2)用于将主站端口(1)接收的信息进行数据处理,再将处理后的数据进行输出,完成任务处理;所述任务逻辑关联模块(3)用于将主站端口(1)接收的多组数据信息进行单个处理。
【技术特征摘要】
1.一种基于微线程技术的通信服务快速响应系统,包括主站端口(1)、母任务执行模块(2)和任务逻辑关联模块(3);其特征在于:所述主站端口(1)用于对外端信息进行接收,然后将接收的信息输入到母任务执行模块(2)中,所述母任务执行模块(2)用于将主站端口(1)接收的信息进行数据处理,再将处理后的数据进行输出,完成任务处理;所述任务逻辑关联模块(3)用于将主站端口(1)接收的多组数据信息进行单个处理。2.根据权利要求书1所述的一种基于微线程技术的通信服务快速...
【专利技术属性】
技术研发人员:鲍斌,刘家庆,孙正伟,王开白,阴宏民,廖晓春,范凯,陶宇超,孙雨桐,王慧琼,徐志奇,陶冶,孙羽,邓碧青,曾令森,魏自东,罗苏,
申请(专利权)人:国家电网公司东北分部,武汉华电顺承科技有限公司,河海大学,
类型:发明
国别省市:辽宁,21
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。