Patents
Literature
Hiro is an intelligent assistant for R&D personnel, combined with Patent DNA, to facilitate innovative research.
Hiro

46 results about "Epoll" patented technology

Epoll is a Linux kernel system call for a scalable I/O event notification mechanism, first introduced in version 2.5.44 of the Linux kernel mainline. Its function is to monitor multiple file descriptors to see whether I/O is possible on any of them. It is meant to replace the older POSIX select(2) and poll(2) system calls, to achieve better performance in more demanding applications, where the number of watched file descriptors is large (unlike the older system calls, which operate in O(n) time, epoll operates in O(1) time).

System and method for counting number of online client sides based on TCP/IP communication protocol

The invention provides a system for counting the number of online client sides based on a TCP / IP communication protocol. The system comprises a server and at least one client side connected with the server; the server is used for creating a dynamic link table; the dynamic link table comprises a head node and a plurality of child nodes; various nodes are sequentially connected in series through a pointer field next, so that the dynamic link table is formed; the server judges whether a communication event is triggered at the client side by calling an epoll_wait function; if so, the server quits the epoll_wait function, traverses and processes the communication event; and if not, the server waits for triggering of the communication event of the client side in a blocking manner. According to the system and the method provided by the invention, the number of the online client sides is counted in a dynamic link table manner by utilization of an epoll server communication model; furthermore, a client side heartbeat packet processing mechanism is added; in combination with the dynamic link table, a node, where an abnormally disconnected client side is, can be cleaned in time; and thus, the accuracy of counting the number of the online client sides can be improved.
Owner:SHENZHEN INST OF ADVANCED TECH

Method and device for testing pressure

ActiveCN103544098AMeeting high test pressure demandsSoftware testing/debuggingLevel triggerPressure transmission
The invention provides a method and device for testing pressure. The method comprises the steps that initialization is firstly conducted, wherein a reading connection pool and a writing connection pool of the epoll are initialized, application for a data area cache is conducted according to preset user customized parameters, and a data package is loaded to the cache from a pressure file; with regard to connection established with a module to be tested, data are read and written in a level triggered mode and trigger events of data reading and data writing are arranged and the connection is added to the reading connection pool and the writing connection pool; the pressure condition is counted at regular time through a counting thread and transmission of pressure data is stimulated at regular time through effective global variables which are continuously transmitted through set identification; after the trigger event of data writing is monitored through a pressure transmission thread, if the global variables are effective, the pressure data in the cache are transmitted to the module to be tested in a polling mode until the pressure number of the transmission period is achieved, and then the global variables are set ineffective. According to the method and device for testing the pressure, the high pressure testing requirement can be satisfied and the phenomenon that the tested pressure reaches the limit of a physical network card becomes possible.
Owner:BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD

Method and device for reading and writing serial data, computer device, and storage medium

ActiveCN108470008ASolve the buffer memory problemImprove real-time sending and receiving efficiencyElectric digital data processingDirect memory accessTransfer mode
The invention relates to a method and a device for reading and writing serial data, a computer device, and a storage medium. The method comprises: configuring a direct memory access resource; traversing direct memory access node names and comparing the direct memory access node names with preset node names; when the direct memory access node names are consistent with the preset node names, analyzing the direct memory access resource and configuring a direct memory access transmission mode; establishing a double-ring buffer region memory; establishing a device file descriptor and monitoring thedevice file descriptor; when dynamic conditions are monitored, performing writing-reading operation on a double-ring buffer region. Through a direct memory access transmission module, data rapid transmission is realized. Through establishing the double-ring buffer region to store and manage data, a data buffer storage problem is effectively solved. Through an epoll mechanism to monitor data of serial equipment, system resource cost is saved, data real-time transmitting-receiving efficiency is improved, so as to further solve problems of little overflow, loss, and usurpation in serial data transmission.
Owner:GUANGZHOU HI TARGET SURVEYING INSTRUMENT CO LTD

System for supporting multiple platform network communication processing and method thereof

The invention belongs to the network communication field and relates to a system for supporting multiple platform network communication processing and a method thereof. The system comprises a network database module which is connected with an upper application system. The network database module is provided with the following modules: a channel create module, which is used to request the network database module to create a new channel and execute creating the new channel; a channel closing module, which is used to request the network database module to close the channel and execute closing the channel; a set user data and callback function module, which is used to arrange and store the user data and a callback function pointer and execute calling the callback function; a network event processing module, which is provided with a thread pool and an epoll module and is used to process an epollin event, wherein the thread pool and the epoll module are connected with each other. The channel create module, the channel closing module and the set user data and callback function module are respectively connected with the network event processing module. The set user data and callback function module is connected with the upper application system. By using the system and the method, TCP and UDP can be integrated and portability is strong.
Owner:GOSUNCN TECH GRP

Network request processing system and method

The invention discloses a network processing request system, and relates to the field of Web services. The system comprises a session index unvarnished transmission module, a message metadata item order-preserving module and an active event notification module. The session index unvarnished transmission module and the message metadata item order-preserving module are executed in parallel; the session index unvarnished transmission module takes the session index as a new file descriptor used by the NGINX, and the NGINX takes the original file descriptor of the NGINX as the new session index tofind and access the session; the message metadata item order preserving module comprises a token number and an enqueue number, and checks the consistency of the token number and the enqueue number when the message metadata item is enqueued; the active event notification module comprises a VPP working thread which actively awakens an NGINX working process and an NGINX main process which actively awakens the NGINX working process, and actively inquires a mark in a user mode shared memory to confirm whether an AF_UNIX domain socket epoll event arrives or not. According to the method, the networkrequest processing performance is improved, and when no network request exists or the request amount is small, CPU resources are saved, and energy consumption is reduced.
Owner:SHANGHAI JIAO TONG UNIV

JCTP implementation system and method based on EPOLL model and medium

The invention provides a JCTP implementation system and method based on an EPOLL model and a medium, and the JCTP implementation system comprises any one or more of the following modules: an SOCKET communication connection pool module which performs connection pool initialization, obtains a connection from a connection pool, and releases the connection after the connection is used up; a stream coding and decoding processor module which is used for coding and decoding the data according to the private protocol; a data protocol constructor module which constructs a data protocol and transmits the constructed data protocol to a corresponding processor; and an encryption and decryption security processor module which is used for carrying out security authentication on the communication request sent to the server by the client and carrying out encryption or decryption processing according to the data flow direction. According to the invention, all hardware and operating system platforms are supported, so that a user has a greater degree of freedom in selection of an operating system and the hardware, the technical specification is more comprehensive, the support for enterprise-level applications is stronger, and the method has the advantages of once writing and everywhere running.
Owner:上海金大师网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products