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

33results about How to "Improve concurrency efficiency" patented technology

Synchronous method performing mutual exclusion access on shared resource, device and network equipment

The invention provides a synchronous method performing mutual exclusion access on shared resource, a device and network equipment. The invention accesses the shared resource by introducing shared resource pointer variable, establishes a copy of the shared resource when performing writing on the shared resource to be specially used for resource update, uses two locks to respectively protect the shared resource pointer variable and the shared resource copy, simplifies the introduction of complex shared resource into introduction of pointer variable, thus reducing the complexity of critical region operation, improving the system performance, ensures plural readers and one writer to access the shared resource simultaneously, achieving the effect of self sole occupation of data, and enhancing the system concurrency rate to a great degree.
Owner:BEIJING XINWANG RUIJIE NETWORK TECH CO LTD

Multi-version concurrency control method and device for database, server and storage medium

The invention discloses a multi-version concurrency control method and device for a database, a server and a storage medium. The method comprises the steps of blocking a transaction number of a current transaction in an exclusive lock mode when the current transaction is started; if a current operation of the current transaction is a write operation, generating a transaction save point; searchingfor a target data page corresponding to the write operation, and locking the target data page in the exclusive lock mode; executing the current operation according to a preset rule. Through this blocking mechanism, the number of locks is not directly related to the number of records modified by transactions, the number of the locks can be greatly decreased, blocking conflicts and blocking resourceconsumption are reduced, and the concurrency efficiency of a database management system is improved.
Owner:SHANGHAI DAMENG DATABASE

Multithreading-based web crawler system and web crawling method thereof

The invention discloses a multithreading-based web crawler system, which comprises an URL (Uniform Resource Locator) processing module, a web crawling module, a web analysis module and a web storage module, wherein the URL processing module obtains the host name, the port number and the filename of each URL through URL-class processing; the web crawling module carries out partitioning crawling on web contents and stores a captured web into a temporary storage module; the web analysis module extracts the URL, redirects the URL, carries out repetition judgment processing on the URL and deletes repeated the URL; the web storage module judges whether the file is in the presence or not when the file is stored, and the file is directly crawled if the file is not in the presence; if the file is in the presence, contents obtained by crawling the web at the time are more than the contents crawled in the previous time, and the original file is covered; and otherwise, the file is abandoned. The web matched with a regular expression is firstly input, a web request signal is sent, then, a private function is triggered to obtain matched substance, finally, specific information which contains keywords is finally obtained, crawling speed is high, and efficiency is high.
Owner:泰州市东盛电脑科技有限公司

Workflow scheduling method and device

InactiveCN102455934AOvercome the problem of low concurrency efficiencyImprove concurrency efficiencyMultiprogramming arrangementsWorkflow schedulingDistributed computing
The invention provides a workflow scheduling method and device. The workflow scheduling method comprises the steps of: respectively creating a task queue for each processor, wherein each task queue comprises one or more subqueues with different priorities; inserting a task activity in a workflow example as a task item into the subqueues; extracting a task item from the task queue corresponding to the task item by the processor, wherein the extraction subsequence is realized by extracting the subqueue with high priority; and in the extracted subqueues, extracting the task items at the heads of the subqueue. According to the invention, concurrency efficiency of the workflow system is increased.
Owner:PEKING UNIV FOUNDER GRP CO LTD +1

Cache management method and device

The application aims to provide a cache management method and device. Compared with the prior art, the cache management device provided by the application queries and determines a target cache record matched with main key information in a cache containing a plurality of cache records, wherein each cache record comprises corresponding citation information and latest access information; and updating the citation information and the latest access information corresponding to the target cache record. The citation information and the latest access information are set in the cache records, so that the cache management device can be helped to set a replacement mechanism of the cache records; the cache management device ensures that the cache records active recently are stored in the cache, so that the active cache records are prevented from being replaced; and meanwhile, "the citation information" and "the latest access information" can be modified through only one atomic instruction without the need for performing a lock operation on the cache records, so that global lock contention during modification of an existing cache management algorithm is avoided and the concurrent efficiency is effectively improved.
Owner:ZHEJIANG TMALL TECH CO LTD

System and method for operation log recording and uploading on basis of Active X technique

The invention relates to a system and method for operation log recording and uploading on the basis of an Active X technique. The system comprises an information showing module used for showing an operation log based on an HTML language, an information processing module which communicates with the information showing module and used for calling the operation log from the information showing module through the Active X technique, carrying out buffer memory, analysis and monitoring on the operation log based on the Active X technique to generate a log file and uploading the log file to an FTP server timely and a log storage module which is built on the FTP server, communicates with the information processing module and used for analyzing the log file uploaded to the FTP server and storing the analyzed log file in a set database module. According to the system and method, by means of the Active X technique, the functions of recording the operation log and uploading the operation log to the server are achieved, the log recording concurrence efficiency is improved, the probability that when an IE passes an AJAX concurrence request server, congestion is caused is reduce, and the use efficiency of the server is improved.
Owner:北京思特奇信息技术股份有限公司

Database record updating control method and device

ActiveCN104376070AAvoid modifying the situationImplement concurrency controlSpecial data processing applicationsConcurrency controlDatabase
The invention discloses a database record updating control method and device. The method includes the steps that a database record to be updated is obtained; the database record is positioned through a main key; a first field to be updated is updated, and the version number of the database record in a memory is controlled to add one to the version number; in the process of updating the first field to be updated, when an updating request for updating a second field to be updated is obtained, the database record is positioned through the main key; the second field to be updated is located in the database record; the version number of the database record in the memory and the version number of the database record in a database are obtained; when the difference value generated by subtracting the version number of the database record in the database from the version number of the database record in the memory is one, the second field to be updated is updated. By the adoption of the technical scheme, the problems that in the prior art, a concurrency control method is prone to causing deadlock and the concurrency efficiency can be lowered can be avoided.
Owner:CHINA CONSTRUCTION BANK

Three-stage optimization method oriented to concurrent acquisition of energy consumption data

The invention discloses a three-stage optimization method oriented to concurrent acquisition of energy consumption data, which is based on a large-scale energy sensing network, and adopts a plurality of energy nodes and an energy management network, wherein the energy management network comprises an energy main controller, a data acquisition terminal and a time processing system; the data acquisition terminal subdivides a data acquisition task DCJ into a plurality of sub-tasks; the time processing system establishes a time Petri network; the energy main controller proposes a three-stage optimization algorithm 3SOA based on a greedy algorithm and a genetic algorithm, so as to solve a dispatching problem of the DCJ; and the 3SOA comprises a first stage optimization, a second stage optimization and a third stage optimization. The three-stage optimization method adopts the 3SOA for solving the dispatching problem of the data acquisition task, obtains the minimal completion time of the DCJ, optimizes a dispatching scheme of the DCJ, can significantly shortens acquisition completion time by adopting the 3SOA, and improves concurrent efficiency; moreover, the application shows that the 3SOA can shorten a data acquisition cycle from 9.8 seconds to 6 seconds and increase the concurrent efficiency by 34.45%.
Owner:黑龙江红河谷汽车测试股份有限公司

Distributed transaction processing method and system

The invention discloses a distributed transaction processing method and system. The method comprises the steps of starting an outermost layer transaction, and allocating a unique outermost layer transaction ID; calling an RPC interface of a multi-business configuration service to allocate resources for different services, and transmitting the outermost layer transaction ID to the multi-business configuration service; nesting multiple layers of new transaction IDs in sequence by taking the outermost layer transaction ID as a main transaction, wherein each layer of the new transaction ID is a sub-transaction of a previous layer; in a direction from the main transaction to the sub-transactions, performing resource allocation for the multi-business configuration service, a network element service and a basic service at the layers of the new transaction IDs in sequence, and uploading corresponding service names and a main transaction ID; and when resource allocation operations in all the transactions are all successful, clicking configuration submitting on a GUI by a user, and calling Commit of a transaction manager to store the whole transaction. The final consistency of data is ensured; the use of a global lock is avoided; and the concurrent efficiency of user operation is greatly improved.
Owner:FENGHUO COMM SCI & TECH CO LTD

Database multi-version concurrency control method, device, server and storage medium

The invention discloses a multi-version concurrency control method and device for a database, a server and a storage medium. The method comprises the steps of blocking a transaction number of a current transaction in an exclusive lock mode when the current transaction is started; if a current operation of the current transaction is a write operation, generating a transaction save point; searchingfor a target data page corresponding to the write operation, and locking the target data page in the exclusive lock mode; executing the current operation according to a preset rule. Through this blocking mechanism, the number of locks is not directly related to the number of records modified by transactions, the number of the locks can be greatly decreased, blocking conflicts and blocking resourceconsumption are reduced, and the concurrency efficiency of a database management system is improved.
Owner:SHANGHAI DAMENG DATABASE

A method and device for acquiring a spin lock

InactiveCN109558241AImprove concurrency efficiencySolve the technical problems of low acquisition efficiencyProgram initiation/switchingResource allocationSpinlockSerial code
The invention discloses a method and device for obtaining a spin lock, and the method comprises the steps of carrying out the queuing of a plurality of tasks through an atomic operation function of aCPU; determining a sequence number queue used for representing the sequence of the plurality of task access critical areas, and a queue head sequence number and a queue tail sequence number of the sequence number queue, the queue head sequence number and the queue tail sequence number being used for representing queuing information of spin locks of the critical areas acquired by corresponding tasks; determining an atomic sequence number corresponding to a first task to be accessed to the critical region based on the queue head sequence number; and if the queue tail serial number is equal to the atomic serial number, controlling the first task to obtain the spin lock of the critical region. According to the present invention, the technical problem that an existing spin lock is low in obtaining efficiency is solved.
Owner:RUIJIE NETWORKS CO LTD

Data reading and writing method and device

ActiveCN111666330AAvoid Out-of-Order ConflictsSolve technical problems with low concurrency efficiencyDatabase distribution/replicationEnergy efficient computingComputer hardwareSoftware engineering
The invention discloses a data reading and writing method and device. The method comprises the steps that a data writing module finds a target storage unit from a storage queue, the storage queue comprises a plurality of storage units, and each storage unit at least comprises a first field used for storing elements and a second field used for storing read-write identifiers; the data writing modulejudges whether the target storage unit is empty or not according to the second field of the target storage unit; and under the condition that the target storage unit is empty, the data writing modulewrites the element to be written into a first field of the target storage unit and changes a second field of the target storage unit into a first preset value, and the first preset value is used forindicating that the element is written into the target storage unit. According to the method and the device, the technical problem of relatively low concurrence efficiency caused by easy out-of-orderconflict of the blocking queue of the JDK under the condition of high concurrence is solved.
Owner:ALIBABA GRP HLDG LTD

Method for safely accessing multiple sets of existing application systems based on middleware system

The invention discloses a method for safely accessing multiple sets of existing application systems based on a middleware system, which is characterized in that the middleware system is embedded in services of the multiple sets of existing application systems, so that a third-party middleware system can be provided for user identity authentication and resource authorization of unified access of the multiple sets of existing application systems; and the middleware system can correctly identify the identity of a visitor, determine the access authority owned by the visitor and periodically detect the operation condition of the system, so that the overall access flow is optimized, the pressure of internal services is relieved, and the concurrency efficiency of the services is improved. Multiple sets of existing application systems only need to be connected with the middleware system, high availability of services and flexible access rule control can be guaranteed, and the utilization rate and stability of internal service resources are effectively improved.
Owner:联通沃音乐文化有限公司

A system and method for recording and uploading operation logs based on activex technology

The present invention relates to a system and method for recording and uploading operation logs based on ActiveX technology, comprising: an information display module for displaying operation logs based on HTML language; an information processing module for communicating with the information display module for The technology calls the operation log from the information display module, and based on the ActiveX technology, the operation log is cached, analyzed, monitored, and a log file is generated, and then the log file is uploaded to the FTP server regularly; the log storage module built on the FTP server, It communicates with the information processing module, and is used for analyzing the log files uploaded to the FTP server, and storing the analyzed log files in the set database module. The invention uses the ActiveX technology to realize the function of recording operation logs and uploading them to the server, which improves the concurrency efficiency of log records, reduces the possibility of congestion caused by IE concurrently requesting the server through AJAX, and improves the use efficiency of the server.
Owner:北京思特奇信息技术股份有限公司

Test method and device

The invention provides a test method and device. The method comprises the following steps: when a system to be tested is tested, determining conflict domains to which test cases needed for testing the system to be tested belong, wherein conflict relations exist between the test cases in the conflict domains, and no conflict relations exist between the test cases belonging to different conflict domains; when the at least two conflict domains are determined, judging whether the at least two conflict domains meet a merging condition or not; when a merging condition is met, merging the test cases in the conflict domain meeting the merging condition to generate a top parent domain; when the combination condition is not met, taking the conflict domain which does not meet the combination condition as a top-layer parent domain; generating a corresponding number of test sub-processes according to the obtained number of the top-layer parent domain; and calling the test case in the top-layer parent domain corresponding to the test sub-process by utilizing each test sub-process so as to test the tested system.
Owner:NEW H3C BIG DATA TECH CO LTD

Java virtual machine implementation method supporting multi-process

The invention discloses a Java virtual machine realization method, which is characterized by the following: managing the integrated procedure in the Java virtual machine; switching the procedure dispatching; corresponding the procedure communication mechanism; controlling the internal memory to operate multiple Java procedures simultaneously; saving system resource; improving the procedure concurrent efficiency; reducing the dispatcher cost; fitting for inserted-type Java operation system.
Owner:ZHEJIANG UNIV

Data operating method, data operating device and computer device

The invention provides a data operating method, a data operating device and a computer device. The data operating method includes the steps: receiving a data operating request; applying for adding a relationship lock for a parent object to be operated, and then applying for adding a structure lock for an object to be operated; performing data operation on the object to be operated according to thedata operating request. According to the method, data concurrent operation can be flexibly controlled through the relationship lock and the structure lock by the aid of a thinner control particle size, and the concurrent efficiency of data operation is improved.
Owner:NEUSOFT CORP

A multi-thread-based web crawler system and webpage crawling method thereof

The invention discloses a multithreading-based web crawler system, which comprises an URL (Uniform Resource Locator) processing module, a web crawling module, a web analysis module and a web storage module, wherein the URL processing module obtains the host name, the port number and the filename of each URL through URL-class processing; the web crawling module carries out partitioning crawling on web contents and stores a captured web into a temporary storage module; the web analysis module extracts the URL, redirects the URL, carries out repetition judgment processing on the URL and deletes repeated the URL; the web storage module judges whether the file is in the presence or not when the file is stored, and the file is directly crawled if the file is not in the presence; if the file is in the presence, contents obtained by crawling the web at the time are more than the contents crawled in the previous time, and the original file is covered; and otherwise, the file is abandoned. The web matched with a regular expression is firstly input, a web request signal is sent, then, a private function is triggered to obtain matched substance, finally, specific information which contains keywords is finally obtained, crawling speed is high, and efficiency is high.
Owner:泰州市东盛电脑科技有限公司

A method, device and server for orderly controlling and storing information without lock threads

The invention relates to the technical field of data storage, and provides a method, device and server for orderly controlling and storing information by lock-free threads. The method includes: according to the publishing state of the shared storage node in the circular queue, calling the CAS instruction during the focus thread reading the current data from the shared storage node in the at least two first threads; when the current data reading ends, issuing The state is changed to a non-publishing state, which is used to indicate that the first thread can store the following data after the current data; the first thread is allocated a shared storage node in the non-publishing state; according to the status of the shared storage node in the circular queue The storage location is consistent with the original cursor in the CAS instruction, and the original cursor is updated with a new cursor, which is equal to the sum of the original cursor and the single vector. In this way, the threads can be controlled to access data in an orderly manner, which overcomes the additional overhead of controlling the storage queue and improves the thread concurrency efficiency.
Owner:JUHAOKAN TECH CO LTD

Synchronous method performing mutual exclusion access on shared resource, device and network equipment

The invention provides a synchronous method performing mutual exclusion access on shared resource, a device and network equipment. The invention accesses the shared resource by introducing shared resource pointer variable, establishes a copy of the shared resource when performing writing on the shared resource to be specially used for resource update, uses two locks to respectively protect the shared resource pointer variable and the shared resource copy, simplifies the introduction of complex shared resource into introduction of pointer variable, thus reducing the complexity of critical region operation, improving the system performance, ensures plural readers and one writer to access the shared resource simultaneously, achieving the effect of self sole occupation of data, and enhancing the system concurrency rate to a great degree.
Owner:BEIJING XINWANG RUIJIE NETWORK TECH CO LTD

Method for realizing instant previewing of file

The invention discloses a method for realizing instant previewing of a file, which comprises the following steps: implanting an asynchronous transcoding program into a computer, uploading the file to the computer by a user, and calling the asynchronous transcoding program from a background server of the computer; the method also includes that the asynchronous transcoding program obtains information of an uploaded file and creates an auxiliary thread to analyze the file to obtain a conversion result; the auxiliary thread sends the obtained conversion result to the computer through the asynchronous transcoding program, the computer obtains the conversion result, and the conversion result comprises a webpage preview address; the user opens the webpage preview address on the computer, the first page of the file is quickly loaded, and the auxiliary thread created by the asynchronous transcoding program continues to load subsequent content in the background. According to the method, the user is responded when the request is received, and the user can preview the request in advance, so that the concurrency efficiency is improved.
Owner:YOZOSOFT

A face feature comparison method based on cuda technology

The invention belongs to the field of biometric identification, and specifically relates to a face feature comparison method based on cuda technology. The method includes: firstly, based on the hardware architecture and memory access mechanism of cuda, by modifying the way the thread accesses the global memory, the previous one A thread’s access to a feature block becomes a thread’s access to a byte in a feature block, which realizes combined access to global memory, reduces the number of threads’ access to global memory, and improves the speed of a single facial feature comparison; Each facial feature comparison request is cached, and all comparison requests are combined for feature comparison according to predetermined rules; finally, the comparison results are split into independent results according to predetermined rules and reported to users, thereby improving human performance. Concurrent efficiency of face feature comparison. Under the condition of the same face feature library capacity and concurrent requests, this solution can effectively reduce server resources and save hardware costs.
Owner:GOSUNCN TECH GRP

A Three-Stage Optimization Method for Concurrent Acquisition of Energy Consumption Data

The invention discloses a three-stage optimization method oriented to concurrent acquisition of energy consumption data, which is based on a large-scale energy sensing network, and adopts a plurality of energy nodes and an energy management network, wherein the energy management network comprises an energy main controller, a data acquisition terminal and a time processing system; the data acquisition terminal subdivides a data acquisition task DCJ into a plurality of sub-tasks; the time processing system establishes a time Petri network; the energy main controller proposes a three-stage optimization algorithm 3SOA based on a greedy algorithm and a genetic algorithm, so as to solve a dispatching problem of the DCJ; and the 3SOA comprises a first stage optimization, a second stage optimization and a third stage optimization. The three-stage optimization method adopts the 3SOA for solving the dispatching problem of the data acquisition task, obtains the minimal completion time of the DCJ, optimizes a dispatching scheme of the DCJ, can significantly shortens acquisition completion time by adopting the 3SOA, and improves concurrent efficiency; moreover, the application shows that the 3SOA can shorten a data acquisition cycle from 9.8 seconds to 6 seconds and increase the concurrent efficiency by 34.45%.
Owner:黑龙江红河谷汽车测试股份有限公司

Data storage method and device, electronic equipment and storage medium

The invention discloses a data storage method and device, electronic equipment and a storage medium. The method comprises the steps that according to obtained to-be-stored data of a left child node, amemory space corresponding to the to-be-stored data is determined, the memory space comprises one or more memory slices, and each memory slice corresponds to sub-data in the to-be-stored data; and after the sub-data is stored in the corresponding memory slice, a data loading node is triggered to read the sub-data stored in the corresponding memory slice until the to-be-stored data is completely stored in the corresponding memory space. According to the embodiment of the invention, the concurrence efficiency is effectively improved, and the response time is reduced.
Owner:SHANGHAI DAMENG DATABASE

Batch job scheduling adaptive method based on Redis

The invention discloses a Redis-based batch job scheduling adaptive method, which comprises the following steps: S1, job loading: creating Redis job channels, receiving to-be-processed batch jobs, and pressing the jobs into the corresponding job channels according to the scale of the jobs; S2, job scheduling: corresponding to a Redis job channel, establishing a response task receiving pool for checking a to-be-processed task of the corresponding channel; S3, job processing: receiving the to-be-processed task of the corresponding channel through the response task receiving pool, and performing job processing; and S4, after the current job is processed, releasing the resources, and returning to S3. According to the method, multiple channels are established by means of the redis cache technology, the concurrence efficiency is improved, and a scheduling mechanism of batch switching connection is realized by means of the mature redis technology; the to-be-processed batches are classified and grouped according to the scale of each batch, and each group is processed in parallel, so that long-time waiting of the to-be-processed batches under extreme conditions is prevented.
Owner:中国农业银行股份有限公司四川省分行

Data manipulation method, apparatus and computer equipment

The invention provides a data operating method, a data operating device and a computer device. The data operating method includes the steps: receiving a data operating request; applying for adding a relationship lock for a parent object to be operated, and then applying for adding a structure lock for an object to be operated; performing data operation on the object to be operated according to thedata operating request. According to the method, data concurrent operation can be flexibly controlled through the relationship lock and the structure lock by the aid of a thinner control particle size, and the concurrent efficiency of data operation is improved.
Owner:NEUSOFT CORP

Method for parallel processing of uplink and downlink in rlc AM mode in LTE

The invention discloses an ascending and descending parallel processing method under an RLC AM (radio link control acknowledged mode) in LTE (long-term evolution). An AMD PDU (AM data protocol data unit) is resequenced in an ascending receiving module, and the PDU is recombined into an RLC SDU (signal distribution unit) and is transmitted to a higher level; the recombined RLC PDU and a control structure relevant to the PDU are not deleted at first; when the RLC AM ascending module is awakened at the next time, the relevant RLC PDU and the control structure are deleted; when a state of a descending sending module is reported, only the control structure relevant to the PDU of VR (R)<=SN<VR (MS) is accessed. Therefore, the access time for a PDU receiving queue under a critical resource AM mode can be staggered, the particle size of a lock is reduced to the maximum extent, and the execution efficiency is improved.
Owner:WUHAN HONGXIN TELECOMM TECH CO LTD
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