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

32 results about "Event loop" patented technology

In computer science, the event loop is a programming construct or design pattern that waits for and dispatches events or messages in a program. The event loop works by making a request to some internal or external "event provider" (that generally blocks the request until an event has arrived), then calls the relevant event handler ("dispatches the event"). The event loop is also sometimes referred to as the message dispatcher, message loop, message pump, or run loop.

Timed Iterator

A computer implemented method for processing tasks is disclosed. The method includes invoking a timed iterator, during an event loop pass, without spawning a new thread, wherein the invoking includes passing a task list and a timeout constraint to the timed iterator. The method further includes executing one or more tasks in the task list for a period of time as specified in the timeout constraint, and relinquishing program control to a caller after the period of time.
Owner:MICROSOFT TECH LICENSING LLC

Method of integrating X window intrinsics based toolkits and widgets with java

A method of integrating an Xt Intrinsics based toolkit with a JAVA application. The application includes a process thread that implements an X event loop and an application thread that suspends execution of the event loop to allow a call to be made through the JAVA Native Interface to a toolkit or a widget to cause something to be displayed. The application thread includes a write socket to communicate a token to a read socket of the event loop, and performs a blocking read suspending the thread. The event loop returns an acknowledgment token via a write socket to a read socket of the thread that unblocks its blocking read and the event loop invokes its own blocking read suspending its execution. The file descriptor function, XtAppAddInput, preferably, is used to read the token and to set the blocking read. After a toolkit call is made, a token is sent from a second write socket of the thread to a second read socket of the event loop that unblocks its blocking read resuming the event loop. JAVA multithreading support services, such as JAVA's wait and notifyAll methods, are employed in multithreaded applications to ensure that only one thread at a time can make a call. Use of a separate Intrinsics application context to service the event loop is employed, windows are managed in separate hierarchies associated with each application context, and a special JAVA Canvas manages native windows transparent to the programmer.
Owner:GENERAL ELECTRIC CO

Monitoring of Node.JS Applications

A system creates and monitors virtual threads within a node.js application. Callbacks executing within an event loop for a node.js system are identified and may be traced. The callbacks are associated with a context, and resources associated with execution flow during each context may be identified. Callback registrations, callback calls, and callback completion messages may each be detected and recorded. Each registration, call, and completion message is associated with a virtual thread or other transaction identifier. The timing information for each virtual thread and other resource usage for each context may then be identified, stitched together for distributed transactions and reported to a user to provide more detail for node.js application processing.
Owner:CISCO TECH INC

Event library, expandable data management system and management method thereof

The invention belongs to the technical field of a computer and discloses an expandable data management system-oriented high performance event library. According to the event library, multithread processing network I / O is realized through adoption of an asynchronous non-blocking technology, I / O intensive short tasks can be processed relatively efficiently and multi-core processor performance undernew hardware trend is exerted sufficiently. According to the event library, in a bottom layer, events are registered and modified through adoption of an event loop model, synchronous and asynchronousnetwork transmission is supported, moreover, a network program and a network protocol are isolated, and packet receiving and transmitting logic is processed by connection between servers in a management system and connected input and output cache areas. According to the event library, configuration is carried out in a mode of mounting the library, so the event library can be applied to developmentof system software. The event library is expandable and the performance of processing the short tasks is improved clearly.
Owner:EAST CHINA NORMAL UNIV

Method of integrating X Window Intrinsics based toolkits and widgets with JAVA

InactiveUS20050060724A1Without risk of data corruptionInterprogram communicationExecution for user interfacesIntrinsicsFile descriptor
A method of integrating an Xt Intrinsics based toolkit with a JAVA application. The application includes a process thread that implements an X event loop and an application thread that suspends execution of the event loop to allow a call to be made through the JAVA Native Interface to a toolkit or a widget to cause something to be displayed. The application thread includes a write socket to communicate a token to a read socket of the event loop, and performs a blocking read suspending the thread. The event loop returns an acknowledgment token via a write socket to a read socket of the thread that unblocks its blocking read and the event loop invokes its own blocking read suspending its execution. The file descriptor function, XtAppAddInput, preferably, is used to read the token and to set the blocking read. After a toolkit call is made, a token is sent from a second write socket of the thread to a second read socket of the event loop that unblocks its blocking read resuming the event loop. JAVA multithreading support services, such as JAVA's wait and notifyAll methods, are employed in multithreaded applications to ensure that only one thread at a time can make a call. Use of a separate Intrinsics application context to service the event loop is employed, windows are managed in separate hierarchies associated with each application context, and a special JAVA Canvas manages native windows transparent to the programmer.
Owner:GENERAL ELECTRIC CO

Centralized scheduling system using event loop for operating autonomous driving vehicles

An event queue is maintained to store IO events generated from a number of sensors and timer events generated for a number of autonomous driving modules. For each of the events pending in the event queue, in response to determining that the event is an IO event, the data associated with the IO event is stored in a data structure associated with the sensor in a global store. In response to determining that the event is a timer event, a worker thread associated with the timer event is launched. The worker thread executes one of the autonomous driving modules triggered or initiated the timer event. Input data is retrieved from the global store and provided to the worker thread to allow the worker thread to process the input data.
Owner:BAIDU USA LLC

Method of integrating X Window Intrinsics based toolkits and widgets with JAVA

InactiveUS7546612B2Without risk of data corruptionProgram synchronisationInterprogram communicationIntrinsicsFile descriptor
A method of integrating an Xt Intrinsics based toolkit with a JAVA application. The application includes a process thread that implements an X event loop and an application thread that suspends execution of the event loop to allow a call to be made through the JAVA Native Interface to a toolkit or a widget to cause something to be displayed. The application thread includes a write socket to communicate a token to a read socket of the event loop, and performs a blocking read suspending the thread. The event loop returns an acknowledgment token via a write socket to a read socket of the thread that unblocks its blocking read and the event loop invokes its own blocking read suspending its execution. The file descriptor function, XtAppAddInput, preferably, is used to read the token and to set the blocking read. After a toolkit call is made, a token is sent from a second write socket of the thread to a second read socket of the event loop that unblocks its blocking read resuming the event loop. JAVA multithreading support services, such as JAVA's wait and notifyAll methods, are employed in multithreaded applications to ensure that only one thread at a time can make a call. Use of a separate Intrinsics application context to service the event loop is employed, windows are managed in separate hierarchies associated with each application context, and a special JAVA Canvas manages native windows transparent to the programmer.
Owner:GENERAL ELECTRIC CO

Lua coroutine-based program concurrent IO optimization method and system

The invention provides a Lua coroutine-based program concurrent IO optimization method and system. The method comprises the following steps: when a service layer needs to execute IO operation, a coroutine running in the service layer circularly submits an IO monitoring request to an IO event through an intermediate interface; and after the IO event circularly waits for an IO handle corresponding to the IO monitoring request to be ready, the IO handle is called to execute a corresponding IO operation. According to the Lua coroutine-based program concurrent IO optimization method and system provided by the invention, a concurrent IO optimization scheme which simultaneously meets high concurrency, maintainability and good expandability can be realized.
Owner:湖南同有飞骥科技有限公司

Method for emergently processing multimedia information records

The invention discloses a method for emergently processing multimedia information records. The method comprises the following steps of: partitioning an emergency into event reporting, event processing, event releasing and event evaluation stages according to the time flow of an event; and recording multimedia information data generated at each stage in a database in a text marking way based on an XML (Extensible Markup Language) according to a time sequence. Compared with the prior art, the method has the beneficial effects that: the multimedia information data are classified in detail and are related with the event by adopting the text marking way based on the XML, and data records are achieved according to the processing time sequence of the event, so that an auxiliary support function is provided for an event emergency rescue decision, the emergency rescue efficiency is increased, event losses are reduced, and the life and property safety of people is ensured; and moreover, the information data at any phase can be looked up and represented, so that multimedia content management which is simple and clear and is convenient to operate is realized.
Owner:GUANGZHOU METRO GRP CO LTD +1

Communication over a wide area network via an application-specific protocol

A automation system, a computer and method for communicating includes exchanging data, between a first computer, a second computer and at least one automation device over a wide area network via an application-specific protocol, wherein one of the computers has a local network connection to the automation device, the application-specific protocol has an application layer, and the first and second computers execute respective first and second automation programs such that a transparent connection is provided for the automation programs and their application-specific protocol beyond local network boundaries which can be it efficiently, where signaling functions from lower communication layers that are missing are simulated by introducing event loops on both sides of the communication.
Owner:SIEMENS AG

Algorithm scheduling method, apparatus and device, and readable storage medium

The invention discloses an algorithm scheduling method, device and equipment and a readable storage medium. The method comprises the following steps: receiving service data sent by a requester, packaging the service data into a to-be-processed service event, and calling an event loop driving engine to send the to-be-processed service event to an algorithm processor; then, an algorithm processor can be called to determine an algorithm chain matched with the to-be-processed business event in a preset algorithm chain set to process the to-be-processed business event, and a processing result of the to-be-processed business event is obtained; and the processing result is fed back to the requester. According to the method and the device, the algorithms can be managed in a unified manner, the to-be-processed business events are scheduled through the event circulation driving engine, the corresponding algorithm chain can be determined according to the business events to process the business events, algorithm reuse can be effectively realized, the problem of difficulty in algorithm compatibility is effectively solved, and further, the efficiency of the business events is improved. And the algorithm research and development cost can be reduced, and the business event processing efficiency can be improved.
Owner:广州钛动科技有限公司

High concurrent communication method and system using Proactor mode for intelligent lighting system

ActiveCN109495484ARealize tcp communication connectionCall clear and conciseInterprogram communicationTransmissionIntelligent lightingMember variable
The invention discloses a high concurrent communication method using a Proactor mode for an intelligent lighting system. The method comprises the steps of: establishing a communication class CmultiServer based on a kernel event notification mechanism Proactor mode, and the communication class CmultiServer encapsulating unified member variables and member methods; providing, according to asynchronous, event driven and callback functions, an event loop and an I / O based callback mechanism; providing an event loop and an I / O-based callback mechanism by using the asynchronous, the event-driven andthe programming style of the callback functions; the communication class encapsulating unified member variables and member methods for different operating systems; and logically sorting each device, designing a hash storage manner, and storing data efficiently and accurately. According to the high concurrent communication method and the system using the Proactor mode for the intelligent lighting system, Tcp connections can be established for thousands of data terminals; the status is maintained, the data is adopted and the control commands are issued to achieve high concurrent communication using Proactor mode of the interface communication layer of landscape lighting systems.
Owner:NARI TECH CO LTD +1

Multi-thread message processing method based on netty framework

The invention provides a multi-thread message processing method based on a netty framework, which relates to the technical field of computer information processing, and comprises the following steps: creating an event loop group to construct a thread pool, creating an udp starting class, binding a user-defined processing class, associating a specified port to monitor, and realizing a loop algorithm for the event loop group in the user-defined processing class. And executing message analysis in a mode of polling the thread pool. According to the method and the device, a single-thread processing mode in the netty is changed into a multi-thread processing mode by polling the netty thread pool at the server side, so that the message processing speed is increased.
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