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

40results about How to "Reduce the number of threads" patented technology

JVM-based non-blocking distributed scheduled task scheduling method

The invention provides a non-blocking distributed scheduled task scheduling method based on a JVM (Java Virtual Machine), which solves the problems that the number of threads is too much and nodes are in a distributed state to run threads on the basis of completely realizing original functions. In order to achieve the purpose, the technical scheme adopted by the invention is as follows: the method is applied to a JVM (Java Virtual Machine) configured with a kotlin language library and a coroutines coroutine library, and comprises a distributed plan task framework and a distributed coordination component, a universal non-blocking addition, deletion, modification and check interface is arranged in the distributed coordination component to serve as a non-blocking asynchronous callback interface of a client where the distributed coordination component is located; packaging a non-blocking asynchronous callback interface of the distributed coordination component through a coroutine, and setting a non-blocking circulating monitor to realize continuous monitoring; and finally, a local node cache is realized again based on the packaged coroutine non-blocking api. Through non-blocking transformation, the performance of task execution is remarkably improved.
Owner:浙江保融科技股份有限公司

Transmission method for publish/subscribe system based on NIO and IO

The invention relates to a transmission method for a publish / subscribe system based on NIO and IO, comprising the following steps: a thread that uniquely receives socket connection is started to use by using NIO at a server terminal, wherein the receiving thread comprises Selector objects, thread reading groups and thread writing groups; the Selector objects capture various events from a client, and the thread reading groups and thread writing groups are used for receiving socket connection from the client and writing data to the client; each thread reading or writing thread corresponds to a socket connection respectively and packages the received socket every time to form an object to read and write data and then registers the object to the unique Selector object. When the client is shutdown, the connection is logged out from the reading and writing threads, and after logout, the reading and writing threads can bind novel connections. The invention has the advantages that thread number is reduced by using NIO at the server terminal based on the mixed use of IO and NIO of java, thereby reducing the resource consumption; and the server terminal is connected at the client by using IO so that the speed for sending send messages can be improved greatly.
Owner:ZHEJIANG UNIV
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