Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

54 results about "Thread safety" patented technology

Thread safety is a computer programming concept applicable to multi-threaded code. Thread-safe code only manipulates shared data structures in a manner that ensures that all threads behave properly and fulfill their design specifications without unintended interaction. There are various strategies for making thread-safe data structures.

Message processing method and device based on message queue, equipment and medium

The invention provides a message processing method and device based on a message queue, equipment and a medium, and relates to the technical field of computers. The method comprises the steps that two message queues are created in advance and recorded as a first message queue and a second message queue respectively, one of the first message queue and the second message queue serves as a producer queue, and the other one serves as a consumer queue; controlling a producer thread to operate a producer queue according to a producer rule; and controlling the consumer thread to operate the consumer queue according to the consumer rule. Compared with the prior art, two independent message queues are created in advance, and the two message queues can be provided with independent lock mechanisms, which means that lock operation of a producer and a consumer is completely decoupled, and performance loss caused by lock competition can be remarkably reduced, so that a high-performance thread security queue is realized, and the safety of a thread is improved. And the harsh requirements of a modern large-scale distributed system on the data processing speed and the concurrency capability are met.
Owner:厦门天锐科技股份有限公司

River channel confluence stabilization and efficient calculation method of distributed hydrological model CASC2D

The invention relates to a river channel confluence stabilization and efficient calculation method of a distributed hydrological model CASC2D, and the method comprises the steps: employing a semi-implicit local inertial wave method in a river channel unit to carry out the stable solving of a water flow evolution process, effectively inhibiting the numerical oscillation, and improving the model calculation efficiency; meanwhile, parallel computing is carried out on the double-layer nested grid structure of the model through OpenMP, a thread safety control and dynamic scheduling mechanism is matched, synchronous waiting and data competition are remarkably reduced, and the parallel utilization rate is increased. The method is particularly suitable for flood simulation of small and medium-sized watersheds in mountainous and hilly areas, the model calculation efficiency can be improved by 15 times while high-precision simulation is kept, and the risk of numerical instability under the short-time high-intensity rainfall condition is remarkably reduced. The method does not need to depend on a GPU or a distributed cluster platform, has high universality, good portability and engineering realizability, and is suitable for various application scenes such as flood forecasting, risk analysis and real-time scheduling.
Owner:ZHEJIANG INST OF HYDRAULICS & ESTUARY

Method and device for communication between swan gap system equipment and Bluetooth equipment

The invention discloses a method and a device for communication between a piece of swan gap system equipment and Bluetooth equipment. The method comprises the steps that when a communication interface is called by an APP, an SDK stores service parameters transmitted by the communication interface, creates a main thread safety function, starts a sub-thread, generates a Bluetooth communication instruction in the sub-thread according to the service parameters, takes the main thread safety function as a parameter to call a switching interface to switch a currently running thread back to the main thread from the sub-thread, and sends the Bluetooth communication instruction to the main thread; locking the sub-thread, calling the sending interface to send the Bluetooth communication instruction to the Bluetooth device, receiving response data returned by the Bluetooth device within a set time, unlocking the sub-thread, obtaining a response result from the response data in the sub-thread, and sending the response result to the Bluetooth device. And taking the main thread security function as a parameter to call a switching interface to switch the currently running thread back to the main thread from the sub-thread, and returning a response result to the APP by the SDK.
Owner:FEITIAN TECHNOLOGIES CO LTD

Large-scale point cloud management method of point cloud data structure based on three-layer mixed index

The invention discloses a large-scale point cloud management method of a point cloud data structure based on a three-layer mixed index, and belongs to the field of point cloud data processing. Comprising a point cloud pre-segmentation method based on an improved grid method, the time complexity of index establishment is reduced, and the tree establishment efficiency is improved; establishing an index in each grid based on a quadtree method, and reducing the number of point clouds in nodes; retrieval is performed in quadtree nodes based on a k-d tree method, so that the retrieval efficiency is improved; multi-thread concurrent design of a data structure is carried out based on a C + + standard library, the speed of node block building and neighborhood searching is increased, and thread safety maintenance is achieved when multiple threads call the same data structure; based on binary storage and a floating point value compression method, compression storage of the point cloud is realized, and memory occupation of the point cloud is reduced. Compared with a traditional point cloud data structure, the method has the advantages of being high in tree building efficiency, high in search speed, small in memory occupation and the like in large-scale point cloud, and efficient management of large-scale point cloud data can be achieved.
Owner:QINGDAO RES INST OF BEIHANG UNIV

Mass data communication and scheduling system and method of micro-grid

The invention provides a mass data communication and scheduling system and method for a micro-grid, and the system comprises a communication server, the communication server comprises a task scheduling state machine, the task scheduling state machine comprises a multi-layer data container, the data container is configured to be a thread-safe circulating multi-queue used for buffering and distributing data, and the task scheduling state machine comprises a task scheduling state machine; the data structure stored in the data container is a Trie tree structure. According to the method, the task scheduling state machine is designed to process the data, so that the communication blocking problem is reduced, and the flexibility of processing massive real-time data is improved; an asynchronous consumption mode is introduced to solve the problems of performance bottleneck and data congestion of a communication server, the data transmission efficiency is improved, and normal operation of a micro-grid system is ensured; by applying the data container and combining asynchronous multiple tasks and circular multiple queues, the data scheduling precision is improved, efficient processing and management of data scheduling are achieved, the data scheduling efficiency is improved, and the data processing efficiency and management level are improved.
Owner:BEIJING HUAMAO TONGYI TECH CO LTD

Software log processing method supporting thread security, storage medium and equipment

The invention discloses a software log processing method supporting thread security, a storage medium and equipment. The method comprises the following steps: S1, creating a log class; wherein the log data structure uses a message queue mechanism; s2, creating a log system operation thread according to a log thread pointer transmitted by using software, and starting the log system operation thread; wherein the log thread runs in an independent thread when recording a log; s3, newly establishing a current log file path and a historical log file path, opening the current log file path, and if the current log file path is successfully opened, executing a step S4; s4, whether the current log file capacity exceeds the set log file capacity or not is judged, if yes, whether historical log files exist or not is judged, and if yes, the step S5 is executed; s5, deleting the historical log file, renaming the current log file as the historical log file, and creating a new log file; and S6, when the log needs to be written, transmitting the log content as an input parameter to the log writing function, and calling the log writing function to record the log content in the log file. According to the method, smooth data recording of the log system under the high-concurrency condition is ensured, and meanwhile cross-platform transplantation is facilitated.
Owner:SICHUAN AEROSPACE SYST ENG INST

Container log asynchronous streaming transmission method and system based on thread pool and queue

The invention belongs to the technical field of containers, and discloses a container log asynchronous streaming transmission method and system based on a thread pool and a queue, and the method comprises the steps: receiving and analyzing a hypertext transfer protocol request parameter which is initiated by a client and is used for obtaining a target container log, and processing the analyzed hypertext transfer protocol request parameter, generating a log production task; the method comprises the following steps: receiving a log production task based on a pre-configured thread pool, obtaining a log stream of the log production task through a container engine, preprocessing the log stream, and transmitting the preprocessed log stream to a thread security queue for storage; and transmitting the thread security queue to a pre-configured hypertext transfer protocol response header in a block coding format, refreshing to the client, and judging whether the hypertext transfer protocol response header detects a termination signal or a thread event signal. According to the invention, all resources which do not need to be used due to disconnection of the client can be timely and thoroughly released, resource leakage is avoided, and the system stability is improved.
Owner:ZHUOYI ZHINENG

Cross-thread safe communication method and device for game engine based on double-layer type system

The present disclosure relates to the technical field of cross-platform communication, and particularly relates to a game engine cross-thread safe communication method and device based on a double-layer type system, the method comprising: in a main thread where a script engine is located, using a double-layer type system to identify a first abstract logic type and a second specific physical type of a script object; performing deep copy on data of the script object to construct a detached data object independent of a memory space of the script engine; distributing the encapsulated detached data object from the main thread to a native sub-thread through an asynchronous task queue; and in the native sub-thread, restoring the detached data object to a native data object of a target native platform. The present disclosure constructs a detached data object independent of a memory space of a script engine, and uses an asynchronous task queue for cross-thread distribution, thereby eliminating the risk of illegal memory access or engine crash, and significantly improving the running stability and reliability of a game application in a multi-thread communication scenario.
Owner:BEIJING DUODUOJIAYOU INFORMATION TECHNOLOGY CO LTD

Method for driving interrupt controller based on rust language

The invention relates to the technical field of underlying software of a computer system, in particular to an interrupt controller driving method based on a rust language, which comprises the steps of unified hardware abstract interface, strong type interrupt number management, thread safe interrupt distribution, multi-version GIC automatic identification, virtual interrupt mapping, multi-core load balancing and virtualization support. According to the method, a memory security mechanism and a type system of a Rust language are utilized, unified, safe and efficient driving of GICv2 / v3 / v4 under an Arm64 architecture is achieved, memory security defects in traditional C language driving are effectively eliminated, and system reliability and performance under a multi-core and virtualization scene are improved.
Owner:HUNAN ZETIAN ZHIHANG ELECTRONIC TECH CO LTD

Method and device for controlling disk array

The invention relates to a control method and device for a disk array, and belongs to the technical field of new generation information technology industries. In thread pool parallelization, a serial verification step is divided into a plurality of independent tasks, the independent tasks are executed in parallel by different threads, and parallel verification is performed through a thread pool, so that the total delay is reduced, and the requirements of a high-priority module are met; thread blockage and resource competition are avoided, and thread safety of task distribution and result processing is ensured; the DMA transmission mode and the verification type are adjusted according to the request priority, hardware changes such as disk faults and bandwidth fluctuation can be responded through dynamic selection of the DMA transmission mode and the verification type, the real-time performance and the resource utilization rate are balanced, the switching overhead is reduced through thread pre-binding, and the safety is improved through multi-dimensional verification.
Owner:BEIJING GELINK TECHNOLOGY CO LTD

Data processing method and device based on Flink engine, equipment and medium

The invention discloses a data processing method and device based on an Flink engine, equipment and a medium, and relates to the technical field of big data processing.The method comprises the steps that thread security instance creation is conducted on the basis of a preset multi-language serialization framework, and a to-be-serialized object is registered into an obtained target instance; based on a preset integration strategy, integrating the target instance to a data transmission layer and a state management component in the Flink engine to obtain a corresponding integrated calculation engine; and in the process of carrying out data processing by utilizing the integrated calculation engine, triggering serialization operation and / or deserialization operation through a preset character string compression algorithm, a zero copy serialization principle and the target instance so as to complete data transmission operation between corresponding engine nodes and state storage operation at the state rear end of the Flink engine. The efficiency, reliability and applicability of data processing can be effectively improved.
Owner:HANGZHOU DBAPPSECURITY CO LTD

Database connection pool management method and device based on DataX

The invention discloses a database connection pool management method and device based on DataX, and solves the problems of low resource utilization rate, concurrence disorder, thread safety and the like caused by lack of a built-in connection pool in the existing DataX. The method comprises the following steps: deploying an independent connection pool service (CPS), integrating a third-party connection pool and configuring a global maximum connection number; the DataX communicates with the CPS through a network, and each Channel independently applies for connection; the CPS dynamically adjusts the DataX parallelism degree (limitation or waiting when the DataX parallelism degree is insufficient) according to the available connection number, and allocates a unique connection identifier; the DataX sends an SQL request through the identifier, and the CPS calls the third-party connection pool for execution and returns a result; and after the task is completed, notifying the CPS to release the connection. Connection multiplexing is achieved through centralized management, the physical connection sharing risk is avoided, the parallelism degree is dynamically regulated and controlled to guarantee efficient utilization of resources, and DataX task stability and thread safety are improved.
Owner:CHINA ELECTRONICS CLOUD DIGITAL INTELLIGENCE TECH CO LTD

High-concurrency multi-thread infusion monitoring method, system, medium and equipment

The invention discloses a high-concurrency multi-thread infusion monitoring method and system, a medium and equipment. The method comprises the steps that infusion monitoring information is collected in real time; according to a preset MQTT protocol, the infusion monitoring information is converted into data packets conforming to the MQTT protocol, and all the data packets are sent and stored in a preset thread security queue; according to a preset multi-thread consumption mechanism, each working thread is controlled to extract and process each data packet in the thread security queue in parallel, an analysis result of each monitoring service is obtained, and infusion information monitoring is completed. According to the invention, the MQTT protocol is adopted to carry out data packet conversion and a multi-thread consumption mechanism is adopted to process infusion monitoring information, so that efficient, real-time and accurate infusion information monitoring and management are realized.
Owner:SHENZHEN LACHESIS MOBILE MEDICAL TECH CO LTD

Streaming data processing method and device

The invention relates to the technical field of streaming data processing, in particular to a streaming data processing method and device.The method comprises the steps that in response to a transmission request of streaming data, at least one collection thread and at least one transmission thread suitable for the transmission request are started; controlling at least one acquisition thread to write the stream data into a corresponding blocking queue, so as to provide the stream data for at least one transmission thread by utilizing the blocking queue; and controlling the corresponding transmission thread to read the stream data from the blocking queue until the stream data meets a certain stop condition. Therefore, the problems of audio lagging, data loss and even system failure caused by tight coupling of data acquisition, processing and transmission under a single thread, blocking of any link and flow stagnation in related technologies are solved; and if a synchronization mechanism is not used for coordinating the difference between the acquisition rate and the transmission rate in multiple threads, the thread security is difficult to guarantee, the data is easy to be disordered, and the stability and integrity of the system are influenced.
Owner:FAW CAR CO LTD

Dag-based swarm intelligence task scheduling method and system

PendingCN122632891AExecution planAlgorithm
The application provides a DAG-based swarm intelligence task scheduling method and system, which comprises the following steps: a leader intelligent agent analyzes production instructions to generate an initial directed acyclic graph task list; a deep-first traversal algorithm is used to calculate the predecessor node set of each process node and to cache, identify and eliminate the transitive redundant dependent edges in the initial DAG; a topological sorting is performed on the reduced task DAG based on the Kahn algorithm to generate a hierarchical execution plan; and the intelligent agent executor calls sub-intelligent agents through asynchronous coroutine groups in an isolated edge computing sandbox to drive industrial execution mechanisms for parallel operation. In addition, the system realizes cooperative cancellation and working condition continuation based on JSON checkpoints through thread-safe event flags. The application eliminates physical dependence redundancy and process hierarchical scheduling, significantly improves the production rhythm of flexible manufacturing, and guarantees hardware pose safety in a multi-machine cooperative environment through a cooperative cancellation mechanism.
Owner:JIUWEI TURING (SHANGHAI) TECHNOLOGY CO LTD

Redis multi-data-source dynamic switching method

The invention relates to a Redis multi-data-source dynamic switching method, which comprises the following steps of: when a system is started, reading and analyzing an external configuration file in a YAML / Properties format by a dynamic configuration analysis module, and constructing configuration data after acquiring a Redis instance connection parameter and a connection pool parameter; in business code execution, when a method with a user-defined annotation is called, an annotation driving interception module triggers and extracts a data source name to a registration center to search for a corresponding instance, the data source name is bound to a current thread context through ThreadLocal, Redis methods such as get and set are called through a unified operation interface module, the thread context is cleaned after operation is completed, and the corresponding instance is stored in the registration center. If abnormity occurs in the whole process, standardized abnormity is thrown out, and detailed error information is recorded for debugging. According to the method, through annotation driving, dynamic configuration analysis and a thread security isolation mechanism, the multi-data source management process is simplified, and the flexibility and maintainability of the system are improved.
Owner:HEBEI TONGFU SHARING TECHNOLOGY CO LTD

A data carryover method

The application discloses a data closing method, relates to the technical field of data processing, and aims to solve the problem that thread safety cannot be guaranteed in a multi-thread concurrent processing mode, and comprises the following steps: S1, initializing a resource configuration related class, instantiating a conversion object, instantiating a reading object, initializing a job parameter, and initializing a resource related class; S2, judging whether the total number of records to be processed exceeds a limit; judging whether all reading records have been processed; S3, obtaining a write business object according to the reading records; S4, processing the write business object, and obtaining a task write business object set; and S5, processing the task write business object set, and executing a task. The data closing method can separate business and technology, avoid the increase of development difficulty caused by the interweaving of business and technology, process general logic, solve safety and performance problems, reduce development difficulty, improve development efficiency, and avoid the occurrence of thread safety and resource leakage problems.
Owner:SUPCON TECH CO LTD

A thread pool and queue-based container log asynchronous streaming method and system

The application belongs to the technical field of containers, and discloses a container log asynchronous streaming method and system based on a thread pool and a queue, which comprises the following steps: receiving and analyzing a hypertext transfer protocol request parameter for obtaining target container logs initiated by a client, and processing the analyzed hypertext transfer protocol request parameter to generate a log production task; based on a pre-configured thread pool, receiving the log production task, obtaining a log stream of the log production task through a container engine and pre-processing the log stream, and transmitting the pre-processed log stream to a thread-safe queue for storage; transmitting the thread-safe queue to a pre-configured hypertext transfer protocol response header in a block encoding format, refreshing to the client, and judging whether the hypertext transfer protocol response header detects a termination signal or a thread event signal. The application can timely and completely release all resources that are no longer needed due to disconnection of the client, avoids resource leakage, and improves system stability.
Owner:ZHUOYI ZHINENG

Qt-based asynchronous remote invocation development system and method

The application discloses a development framework and method for asynchronous remote calling based on Qt, the development framework for asynchronous remote calling based on Qt comprises a base class and a public calling function callFunc, the base class realizes a callSelfFunc function, a function is found and called through a reflection mechanism provided by Qt, and a called module inherits the base class, the public calling function "callFunc finds a called module object according to a module name, generates a QEventLoop object, and calls the callSelfFunc function of the called module through an invokeMethod provided by Qt, the development framework for asynchronous remote calling based on Qt is based on a development framework for message transmission based on Qt, a return value of the called module is called through the development framework for message transmission and is synchronously returned to a calling module, the logical splitting problem is solved, the implementation complexity is reduced, meanwhile, a non-thread-safe "called function can be called in a multi-thread environment, and some special application scenarios are adapted.
Owner:GUODIAN NANJING AUTOMATION

Multi-thread disk access method and device for distributed storage system and medium

The invention provides a multi-thread disk access method and device for a distributed storage system and a medium, and is applied to the technical field of disk access. The method comprises: receiving a mapping relationship issued by a monitoring server, the mapping relationship representing a communication connection relationship between each network port and each monitoring endpoint in a disk, and each monitoring endpoint creating for a corresponding disk through a network storage resource component for constructing a communication connection channel with a monitoring endpoint corresponding to the upstream; determining a target communication connection relationship according to a mapping relationship issued by the monitoring server; constructing a target communication connection channel for the target network port and the target monitoring endpoint in the target communication connection relationship through a preset communication protocol; and performing multi-thread access on the disk based on the target communication connection channel. Therefore, after the upstream and the downstream of each monitoring endpoint are connected, a plurality of connecting channels are formed, so that the thread safety problem caused by the fact that a plurality of threads adopt the same channel to directly operate the same equipment is avoided.
Owner:JINAN INSPUR DATA TECH CO LTD

AI tool invocation system and method for resource-constrained embedded devices

This invention relates to the field of embedded systems technology and discloses an AI tool invocation system and method for resource-constrained embedded devices. The system includes a tool list dynamic paging serialization module, a tool permission isolation module, a cross-thread safe scheduling and execution module, a hardware peripheral self-registration and discovery module, a multimodal sensor fusion triggering module, a device state machine, and a protocol communication module. The system generates a tool list response by paging and serializing registered tools; completes tool registration during the hardware peripheral initialization phase; converts multimodal sensor events into semantic tags and participates in scheduling processing; and achieves device state control and communication interaction. By setting up a tool list dynamic paging serialization module, this invention serializes registered tools one by one in a preset order upon receiving a tool list query request, thereby enabling the tool descriptions to be transmitted in batches.
Owner:HANGZHOU PANDA ARTIFICIAL INTELLIGENCE CO LTD

Click anti-shake method and related equipment

The invention discloses a click anti-shake method and related equipment, and relates to the technical field of Android application software, and the method comprises the steps: when a target method is called, detecting the target method through a section type annotation of a section-oriented programming framework, and judging whether the target method is a preset anti-shake object; when the target method is the preset anti-shake object, obtaining a target anti-shake parameter; and judging whether to execute the target method according to the target anti-shake parameter. According to the method, based on a section-oriented programming framework and compiling period code weaving, a non-intrusive and differentiated anti-shake strategy can be realized, code redundancy is avoided, maintainability and readability are improved, and thread safety is ensured through atomic operation.
Owner:VOYAH AUTOMOBILE TECH CO LTD

Bytecode-based thread security monitoring method, apparatus and device, and readable medium

The embodiment of the invention discloses a thread security monitoring method and device based on byte codes, equipment and a readable medium. A specific embodiment of the method comprises the following steps: controlling a monitoring module included in the thread security monitoring system, and monitoring a field access operation for a target thread in real time; performing access analysis processing on the field access operation to generate an access analysis result; determining the thread type of the access thread; thread security problem information corresponding to the field access operation is generated; generating an access report, and recording stack information accessed by the field access operation; adding the stack information into the access report, and sending the added access report to the target terminal for display; and in response to a received stop instruction which is sent by the target terminal and aims at the thread security problem information, performing a stop operation on the target thread. According to the embodiment, the access operation can be terminated in time when the access is abnormal, so that the RSM system can be protected in time, and the running safety of the RSM system is improved.
Owner:中信证券股份有限公司

Bytecode-based thread safety monitoring methods, devices, equipment, and readable media

This disclosure provides embodiments of a bytecode-based thread safety monitoring method, apparatus, device, and readable medium. One specific implementation of the method includes: controlling a monitoring module within a thread safety monitoring system to monitor field access operations on a target thread in real time; performing access analysis processing on the field access operations to generate access analysis results; determining the thread type of the accessing thread; generating thread safety issue information corresponding to the field access operation; generating an access report and recording the stack information accessed by the field access operation; adding the stack information to the access report and sending the added access report to a target terminal for display; and terminating the target thread in response to receiving a stop command from the target terminal indicating a thread safety issue. This implementation can promptly terminate access operations when access anomalies occur, thereby protecting the RSM system and improving its operational security.
Owner:中信证券股份有限公司

Quick data conversion method, system and equipment based on cross-table structure and medium

The invention provides a quick data conversion method, system and device based on a cross-table structure and a medium, a configuration module associatively queries query results of multiple types of configuration tables to generate configuration data for cross-table data conversion, and the configuration data is stored in a cache module to obtain a configuration data cache for determining an association relationship between the tables and fields; the queue module adopts a thread security queue to store external to-be-converted source table data into a read queue to obtain to-be-converted source table data in the read queue; a data conversion module obtains data from the read queue, assigns values through a dynamic field mapping mechanism by utilizing a configuration data cache identification table and a field association relationship, and stores the converted data into a write queue to obtain target table data; and the database operation module obtains the target table data from the write queue, determines a service scene according to the service identifier in the configuration data cache, and stores all the target table data in the scene into a single transaction. By adopting the method, the configuration and data conversion efficiency can be improved, the database load is reduced, and the data storage security and the database falling consistency are guaranteed.
Owner:PICC INFORMATION TECH CO LTD +1

Systems and methods to use non-thread safe apis in threaded programs using thread-safe interfaces

Embodiments of the present disclosure provide a system and method to provide a thread-safe environment for non-thread-safe objects used with multi-thread processes. According to one embodiment, an Information Handling System (IHS) includes at least one processor, and at least one memory having program instructions that upon execution by at least one processor, cause the IHS to create multiple objects including at least one non-thread-safe object, generate a thread-safe interface associated with the non-thread-safe object, and when a task request is received from a multi-threaded process, generate a single thread to perform a task with the non-thread-safe object. The task is associated with the task request.
Owner:DELL PROD LP

Multi-cache and type fingerprint dynamic execution method for verification of flexible drive electric energy meter

The invention discloses a multi-cache and type fingerprint dynamic execution method for verification of a flexible drive electric energy meter, and relates to the field of electric energy information collection and a dynamic library calling and management method, and the method comprises the following steps: loading a dynamic library, obtaining a module handle, and storing the module handle in a cache; dynamically generating a delegation type according to the function signature; calling a delegation function and capturing exceptions; the cache comprises a thread local cache (TLS) and a global module cache, and the step of loading the dynamic library comprises the following steps of: preferentially checking the TLS cache, and directly returning the module handle if the TLS cache exists; if the TLS cache is not hit, checking a global cache lock; and if the global cache lock is not hit, physically loading the dynamic library and updating the double caches. According to the method, the high efficiency of dynamic library loading and the thread security are realized through the quick response of the thread local cache, the atomic protection of the global lock and the double-cache updating of the physical loading.
Owner:HENGYE ELECTRONICS JIAXING CITY

Code debugging method based on low-code platform

The invention relates to the technical field of code debugging, and discloses a code debugging method based on a low-code platform, according to the code debugging method based on the low-code platform, a monitor module is arranged, a debugging mark clearing event is monitored in real time, a thread is interrupted in time when debugging is stopped, resources are recycled, resource occupation is avoided, and the debugging efficiency is improved. The overall performance of the debugging process is improved; meanwhile, a code injection module is used for adding a blocking mark and replacing the blocking mark with a blocking code, so that the code can be accurately paused when running to a breakpoint line, and the limitation that a low-code platform cannot perform line-level debugging is broken through; the debugging thread and the user operation thread are split and managed by the debugging thread module and the debugging operation thread module respectively, decoupling of user operation and code execution is achieved, the thread safety problem in the debugging process is effectively solved, and meanwhile the code execution performance is improved.
Owner:广州市玄瞳科技有限公司

Processing method and device for computing tasks

The embodiment of the present application provides a kind of processing method and device of computing task, wherein, the method comprises: by first thread, first computing task is added to first ring queue in first time;In the case where the target request of first consumer thread in consumer thread queue is received and the consumption starting point of the first ring queue is the cache starting point of the first computing task in the first ring queue, the first computing task is sent to the first consumer thread, to process the first computing task by the first consumer thread;The consumption starting point of the first ring queue is updated to the cache end point of the first computing task in the first ring queue.By the present application, the problem that thread safety cannot be guaranteed in processing computing task in the related art is solved, and the effect of improving thread safety in processing computing task is achieved.
Owner:ZHEJIANG DAHUA TECH CO LTD

LVGL multi-thread security interaction method and electronic equipment

The invention provides an LVGL multi-thread security interaction method and electronic equipment. The method comprises the steps that system tasks of the electronic equipment are divided into work tasks executed by a work thread and UI tasks executed by a UI service thread; lVGL control operations needed when the working thread executes each working task are packaged into atomic transaction blocks one by one to serve as UI tasks, all the atomic transaction blocks are added to a preset working queue, and when the working thread executes each working task, the LVGL control operations are not executed; and calling the UI service thread to execute the atomic transaction blocks in the preset work queue one by one, and feeding back an execution result to the work thread. All UI operations are executed independently and sequentially by the UI threads, the risk that multiple threads access the LVGL at the same time is avoided, and the multi-thread interaction safety is guaranteed while the scene use requirement is met.
Owner:FUJIAN LANDI COMMERCIAL EQUIPMENT CO LTD