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

169 results about "Coroutine" patented technology

Coroutines are computer program components that generalize subroutines for non-preemptive multitasking, by allowing execution to be suspended and resumed. Coroutines are well-suited for implementing familiar program components such as cooperative tasks, exceptions, event loops, iterators, infinite lists and pipes.

A service logic execution system and method based on a dynamic language

The invention discloses a service logic execution system and method based on a dynamic language. The system comprises a plurality of service logic execution devices, each service logic execution device comprises a scheduling unit and a plurality of service virtual machines. Each decvie comprises a scheduling unit and a plurality of service virtual machine, the unit is used for receiving command requests, according to the service and a virtual machine mapping table; adding the command request into a command request buffer area of a corresponding service virtual machine; wherein each service virtual machine comprises a service virtual machine thread for regularly checking whether a new command request exists in a command request buffer area or not, extracting a coroutine object from an idlecoroutine queue when the new command request exists and the idle coroutine exists in the idle coroutine queue, and then injecting new command request data into the extracted coroutine; the command request buffer area is used for storing a command request; and the idle coroutine queue is used for storing the idle coroutine of the service virtual machine. The invention belongs to the technical fieldof information, and provides a high-reliability and high-stability service logic execution environment for a large-scale application system.
Owner:EB INFORMATION TECH

Intelligent contract parallel execution method and device

PendingCN111563820AImprove concurrencySolve the problem of low transfer transaction processing speedFinancePayment architectureFinancial transactionSmart contract
The embodiment of the invention provides an intelligent contract parallel execution method and device, and the method comprises the steps: generating a weighted directed graph of a transaction corresponding to each intelligent contract belonging to an account transfer type when each preset coroutine is applied to concurrently execute the intelligent contracts, corresponding to transaction information in each contract channel, belonging to an evidence storage type, wherein the coroutines are in one-to-one correspondence with the contract channels, and each contract channel comprises multiple pieces of transaction information with the same intelligent contract chain code number; and generating an account transfer transaction parallel sequence according to the weighted directed graph, and executing each intelligent contract belonging to the account transfer type, so as to enable the intelligent contracts of which the transaction information in each contract channel belongs to the evidencestorage type and the account transfer type to be executed in parallel. According to the method, the concurrency of the smart contract in the block can be effectively improved, the transaction successrate in the block can be effectively improved on the basis of effectively ensuring the execution efficiency and reducing the execution cost, and particularly, the processing success rate of the transfer transaction can be improved.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Method for carrying out vulnerability early warning aiming at large-scale target

InactiveCN107766730AImprove vulnerability warning speedHigh speedPlatform integrity maintainanceNetwork packetParallel processing
The invention discloses a method for carrying out vulnerability early warning aiming at a large-scale target. The method comprises the following steps that: for a target vulnerability, obtaining the vulnerability detailed information of a target vulnerability, and formulating the vulnerability detection tool of the target vulnerability; on the basis of a coroutine technology, creating a request sending and receiving response system which aims at the large-scale target, then, combining with the vulnerability detection tool to create mass vulnerability detection systems which aim at the large-scale target, and obtaining a target list which has the target vulnerability, wherein the request sending and receiving response system is provided with a plurality of processes, each process is provided with a main thread and a plurality of coroutines for processing a plurality of received requests in parallel and responding to data package contents, and the mass vulnerability detection systems areused for receiving the detection tasks of a plurality of targets to be detected and obtaining the target list which contains the target vulnerability; and on the basis of the vulnerability detailed information of the target vulnerability, vulnerability early warning information is generated. Speed of vulnerability detection, which aims at the large-scale target, can be greatly improved.
Owner:北京知道未来信息技术有限公司

Micro-service request response viewing method and system based on nginx

The invention provides a microservice request response viewing method and system based on nginx. The microservice request response viewing method comprises the steps that the format of an nginx log is self-defined through log_format of the nginx, lua is embedded into the nginx through lua-nginx-module, and configuration for obtaining response data returned by a back-end server is written in a coroutine of the lua; receiving the request data and the response data by the nginx, outputting the request data and the response data by utilizing the access_log of the nginx to generate the nginx log, and outputting the nginx log to a back-end server; the configuration supporting the syslog being written in nginx.conf of the nginx, and then outputting the nginx log to a syslog server; and storing the nginx log in the syslog server in the ElasticSearch, and checking the nginx log in the ElasticSearch. The method does not affect normal operation of online micro-service applications, facilitates data query, is high in applicability, is highly decoupled from back-end applications, and is easy for later maintenance and expansion. Developers can be helped to quickly analyze and diagnose the performance bottleneck under the distributed application architecture, and the development and diagnosis efficiency under the micro-service age is improved.
Owner:BEIJING CHANGYANG TECH CO LTD

Request processing method and device, electronic equipment and computer readable storage medium

The invention provides a request processing method and device, electronic equipment and a computer readable storage medium, and relates to the technical field of data processing. The method comprisesthe steps of obtaining n requests, wherein each request corresponds to a cothread on the thread, and n is an integer greater than 0 and is less than or equal to a preset threshold; determining one dominant coroutine in the n coroutines according to a preset competition rule, and taking the other n-1 coroutines as following coroutines; merging the n requests through the dominant coroutine to obtainmerged request data; and submitting the merge request data to the computing device. According to the embodiment of the invention, when the request processing method is used for processing a pluralityof requests input by a user, the coroutines are introduced to serve as the execution units, the obtained n requests correspond to the coroutines respectively, the dominant coroutines are determined according to the preset competition rule to merge the n requests, server resource consumption caused by cross-thread competition is reduced, and therefore the computing performance of the server can bebrought into full play.
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