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

34results about How to "Solve concurrency issues" patented technology

System for realizing order management and control, method and scheduling server and processing server

InactiveCN107527171AAvoid Control InaccuraciesEasy to controlLogisticsTime differenceReal-time computing
The present invention discloses a system for realizing order management and control, a method for realizing order management and control, a scheduling server and a processing server system. The method includes the following steps that: when a scheduling system determines that order tasks need to be issued, the order tasks are issued, and the number of the issued order tasks is counted through a first counter; and when the scheduling system learns that the issued order tasks have been successfully processed, the number of the order tasks that have been successfully processed is counted through a second counter. According to system for realizing order management and control, the method for realizing order management and control, and the scheduling server and the processing server of the invention, when a scheduling decision in the scheduling system determines that the orders can be issued, pre-counting is performed for once, namely, the value of the first counter adds one, and therefore, management and control on the issuing of the orders by the total scheduling of the system is realized really; and therefore, when the scheduling system makes scheduling decisions on other orders subsequently, the scheduling system can refer to the value of the first counter so as to determine whether the number of orders issued to warehouses exceeds the capacity of the warehouses timely, and therefore, precise control on order issuance on the basis of a distributed system can be ensured, and the problem of inaccurate control caused by asynchronous time difference can be avoided.
Owner:CAINIAO SMART LOGISTICS HLDG LTD

Resource access control method and device, electronic equipment and storage medium

The invention discloses a resource access control method and device, electronic equipment and a storage medium, and relates to the field of server management. The specific implementation scheme is asfollows: the method comprises the steps of when a current sampling period arrives, obtaining a first accessed flow of a limited flow resource in a master DC and a second accessed flow of the limited flow resource in each slave DC in a previous sampling period; determining sub-page view thresholds corresponding to the master DC and the slave DCs respectively according to the first accessed traffic,the second accessed traffic and the total page view threshold of the limited traffic resources; and performing access control on the limited flow resource according to the sub-page view threshold corresponding to the master DC, and sending the sub-page view threshold corresponding to each slave DC to the corresponding slave DC, so that each slave DC performs access control on the limited flow resource according to the received sub-page view threshold. Therefore, the sub-page view threshold of each DC is calculated based on the actual page view of the limited flow resource in each DC in the previous sampling period, and the concurrency problem caused by resource deployment in a plurality of data centers is solved.
Owner:BEIJING BAIDU NETCOM SCI & TECH CO LTD

Method and device for managing mirror image warehouse, electronic equipment and readable storage medium

The embodiment of the invention discloses a method and device for managing a mirror image warehouse, electronic equipment and a readable storage medium. The method for managing the mirror image warehouse comprises the steps of receiving one or more uploading mirror image layers; storing the uploaded mirror image layer in the mirror image warehouse in a first storage mode; determining a to-be-cleaned mirror image layer in one or more original mirror image layers stored in the mirror image warehouse in a second storage mode, wherein the first storage mode is different from the second storage mode; and cleaning the mirror image layer to be cleaned. According to the technical scheme, the newly uploaded mirror image layer and the original mirror image layer are stored in the mirror image warehouse in the first storage mode and the second storage mode respectively, so that the mirror image layer in the mirror image uploading operation is separated from the mirror image layer in the garbage cleaning operation, and garbage cleaning is possible to be executed while the mirror image uploading operation is carried out; concurrent problems are avoided, and under the condition that other databases or middleware is not introduced, the garbage cleaning problem of the mirror image warehouse is solved.
Owner:ALIBABA GRP HLDG LTD

Simulation method for hardware equipment, simulator, equipment and medium

The invention provides a simulation method for hardware equipment, which can be applied to the technical field of finance or other technical fields. The simulation method comprises the following steps: acquiring information of hardware equipment, and storing the information of the hardware equipment into an equipment information table; collecting interaction data of the hardware equipment and the terminal, and storing the collected interaction data in a data information table, wherein a mapping relation is formed between the interaction data and information of the hardware equipment; actively modifying the interaction data to obtain virtual data; and sending the virtual data and the information of the hardware equipment to the terminal to realize analog communication. According to the simulation method disclosed by the invention, the real interaction data between the hardware equipment and the terminal is replaced by the virtual data in a mode of actively modifying the interaction data, so that the simulation communication with the terminal is realized, and the condition of concurrent conflicts in the process of simultaneously using a plurality of pieces of hardware equipment is avoided. The invention further provides a simulator, electronic equipment, a storage medium and a computer program product.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Communication method of process control system for aluminum plate and strip rolling technology

The invention relates to a communication method of a process control system for an aluminum plate and strip rolling technology. Concurrent and associative access by name is supported by the communication method. Aiming at the concurrence problem and the problem that the type and the size of communication data are uncertain during the cross-process and cross-host communication process of the process control system of an aluminum rolling mill, the invention provides a solution. According to the communication method, the concurrence problem is efficiently solved by adopting a reactor server framework; the associative access is realized by combining a MAP container; a mode of random and concurrent processing access by communication variable name is finally realized; flexible and expanded associative communication is provided, and multi-process concurrent cross-host access and the random access by name of the communication data are supported, and therefore, the flexibility and the efficiency of data communication are greatly improved, the instant communication performance, the flexibility and the expansibility of the process control system of the aluminum rolling mill are effectively improved, and the expansion complexity of the system is reduced.
Owner:CHINA NON-FERROUS METALS PROCESSING TECH CO LTD

Improvement method of Redis distributed lock based on Mysql database

The invention discloses an improvement method and device for a Redis distributed lock based on a Mysql database, and the method comprises the steps: setting a value and expiration time for a business key by using a SetNX command of Redis before a thread 1 carries out an A operation, and if the setting fails, enabling the thread 1 to terminate the operation; if the setting is successful, entering the next step; enabling the thread 1 to update the state of corresponding data t in a table data table a related to the operation A in the Mysql database into an 'in-operation' state, if an updating result returns to 1, determining that no thread carries out the operation related to the data t at the moment, and the next step is carried out; if the update result returns to 0, enabling the thread 1 to terminate the operation; enabling the thread 1 to execute the operation A; wherein no matter whether the thread 1 executes the operation A successfully or not, the state of the data t of the table a is updated to be 'non-operation', and the corresponding Redis key in the first step is deleted. The method has the beneficial effect that the concurrency problem generated when multiple threads simultaneously obtain the Redis distributed lock under the high concurrency condition is solved.
Owner:大唐互联科技(武汉)有限公司 +1
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