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.

Method and apparatus for sharing stack space between multiple processes in a network device

Network processes within a group of network processes are configured to share stack space by controlling when a context switch may be performed between processes in the group. Since a context switch will not be performed between group members during execution of the event loop, the dedicated stack requirements of the process are limited to that required to store state information when the process is idling on a select function. This reduces system stack requirements by allowing a large portion of the stack to be shared by multiple network processes without creating unintended dependencies between the processes. A semaphore may be used to control access to the shared stack space to prevent unintended context switches between group members. If there is more than one group of processes, the operating system may perform context switches between processes in different groups since each group has its own dedicated area of shared stack.
Owner:AVAYA MANAGEMENT LP

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

Multi-threaded virtual machine processing on a web page

A system, method and a computer-readable medium for processing resources on a multithreaded browser. The browser includes a main thread and receives a resource. The browser initializes the main thread, the main thread includes an event loop and initializes a plurality of virtual machines, one virtual machine for each code segment within the resource. Each virtual machine includes a UI thread and is configured to share the main thread within the browser with the UI thread. Each UI thread is further configured to execute an event scheduled on the event loop on the virtual machine.
Owner:GOOGLE 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

Object-Based System and Language for Dynamic Data or Network Interaction Including Learning Management

A system including an object-oriented programming language for building state-based applications with flow control, event loops, measures of similarity, and Boolean logic to dynamically control the interaction between members in a social network around content and, in particular, project-based activities, where the system collects and groups individuals who are members of a social network, projects or assignments and their content, and activities or processes within projects based on the attributes of the objects and runtime events to create a social context for learning or for other interaction.
Owner:CRICKET MEDIA SERVICES 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

Object-based system and language for dynamic data or network interaction including learning management

A system including an object-oriented programming language for building state-based applications with flow control, event loops, measures of similarity, and Boolean logic to dynamically control the interaction between members in a social network around content and, in particular, project-based activities, where the system collects and groups individuals who are members of a social network, projects or assignments and their content, and activities or processes within projects based on the attributes of the objects and runtime events to create a social context for learning or for other interaction.
Owner:CRICKET MEDIA SERVICES INC

Thread pool management method and device thereof, computer terminal and storage medium

The invention discloses a thread pool management method and a device thereof, a terminal and a storage medium, and the method comprises the steps: creating a plurality of task threads, then adding the plurality of task threads into a thread pool management queue, and monitoring whether there is a task request message; when a task request message is received, creating a corresponding task object, wherein the task object comprises an object event loop and an execution function related to a current task; distributing a task thread for the task object from a thread pool management queue, and cyclically hosting an object event to the task thread, so that the task thread calls the execution function to execute the current task. Through the object-oriented thread pool management method, the threads can better serve upper-layer applications.
Owner:UBTECH ROBOTICS CORP LTD

Multi-threaded virtual machine processing on a web page

A system, method and a computer-readable medium for processing resources on a multithreaded browser. The browser includes a main thread and receives a resource. The browser initializes the main thread, the main thread includes an event loop and initializes a plurality of virtual machines, one virtual machine for each code segment within the resource. Each virtual machine includes a UI thread and is configured to share the main thread within the browser with the UI thread. Each UI thread is further configured to execute an event scheduled on the event loop on the virtual machine.
Owner:GOOGLE LLC

Method and system for designing connection equipment based on reactive architecture

The invention discloses a system and a method for designing connection equipment based on a reactive architecture. The system comprises a message queue module, an event circulation module, a task scheduling module and a data storage module; the message queue module is used for receiving a data request sent by equipment, creating a plurality of task queues with different priorities as required, and notifying the event circulation module when a new task is added or deleted every time based on an event triggering mechanism; the task scheduling module is used for managing interaction between a task queue and thread pool resources of the message queue module and managing priority strategies of tasks; the event circulation module is used for monitoring changes of a cluster and a task queue, matching runnable tasks, taking out related tasks from the task queue and distributing the related tasks to the thread pool for execution; and the data storage module is used for receiving and storing the equipment data processed by the thread. According to the invention, the system resource utilization rate under the distributed deployment architecture can be improved, and the throughput is improved.
Owner:大唐互联科技(武汉)有限公司 +1

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:广州钛动科技有限公司

Process upgrading method, device and electronic equipment

The application provides a method for upgrading a process, a device and electronic equipment; the method for upgrading a Redis process includes: after determining the upgrade, exit the asynchronous event loop of the dynamic library corresponding to the current version of the kernel; wherein, the dynamic library includes each of the Redis process Business logic; transfer the kernel environment data in the current Redis instance to the new version kernel; trigger the new version kernel to use the kernel environment data to initialize; enter the asynchronous event loop in the dynamic library corresponding to the new version kernel. At least one embodiment of the present application can implement hot upgrade of processes.
Owner:ALIBABA GRP HLDG LTD

Method and system for performing 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

A privacy-preserving routing method for multi-path source node location based on dynamic token

ActiveCN112492588BExtended safety timeReduce energy consumptionTransmissionSecurity arrangementPathPingAttacker model
The invention discloses a dynamic token-based multi-path source node location privacy protection routing method, which is characterized by comprising the following steps: 1) defining a network structure; 2) defining an attacker model; 3) token link transmission; 4) Event loop and interference loop transmission path; 5) Multi-path transmission. This method makes it difficult for attackers to backtrack to the source node, can prolong and resist backtracking attacks, increase the security time of the network, and realize the privacy protection of the source node location. In the loop transmission stage, the participation of some nodes can save network energy. power consumption and improve network life.
Owner:GUILIN UNIV OF ELECTRONIC TECH

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:北京理工大学重庆创新中心

A high-concurrency communication method and system for proactor mode in a smart lighting system

ActiveCN109495484BRealize tcp communication connectionCall clear and conciseInterprogram communicationTransmissionData terminalOperational system
The invention discloses a high-concurrency communication method using Proactor mode in a smart lighting system, establishes a communication class CmultiServer based on a kernel event notification mechanism Proactor mode, and the communication class CmultiServer encapsulates unified member variables and member methods; based on asynchronous, event-driven and Callback function, providing event loop and I / O-based callback mechanism; using asynchronous, event-driven, callback function programming style, providing event loop and I / O-based callback mechanism. This class encapsulates uniform member variables and member methods for different operating systems; logically sorts each device, designs Hash storage methods, and stores data efficiently and accurately. It can establish Tcp connection to thousands of data terminals, maintain the status, take data and issue control commands, and realize high concurrent communication in the Proactor mode of the interface communication layer of the landscape lighting system.
Owner:NARI TECH CO LTD +1

Invoking timed iterator for executing tasks within timeout constraint without spawning new thread

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
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products