摘要
为了满足应急呼叫中心的实时性要求,提出了将客户端常用的数据缓存在本地,并实时与服务器端进行同步,同时利用双缓冲技术将本地的读写操作对象分离。读写操作分别操作各自的操作对象,可以使得读写操作完全独立,这样所有的读操作可以并发执行,并且读写操作之间也可以互不影响。实验结果表明,该方法能很好解决当共享数据量大时,应急呼叫中心的效率低、用户界面假死、本地数据更新不及时、容易死锁等问题。
In order to meet the real-time requirement of emergency call center, a method is presented to cache the client commonly used data in the local, and real-time synchronize data with the server. At the same time, the use of double-buffering technolo gy separates the local read and write operation objects. Read and write operations operate respective operation objects, makes the read and write operations completely independent, so that all the read operation can be executed in parallel, and the read and write operations can not influence each other: Experiments show that, the method can well resolve the problems caused by sha ring a large quantity of data , like the low efficiency of emergency call center, user interface stop respond, local data is not updated in time and easily to deadlock and so on.
出处
《计算机工程与设计》
CSCD
北大核心
2012年第11期4366-4371,共6页
Computer Engineering and Design
关键词
呼叫中心
多线程
线程同步
C#
双缓冲技术
call center
multi-thread
thread synchronization
C#
double-buffering