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

31 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.

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

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

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

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

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

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

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

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:广州市玄瞳科技有限公司

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

A multi-instance concurrent sequence segmentation competition method, system and computer readable storage medium based on a TDSQL database

The present application relates to the technical field of database concurrency control, and particularly relates to a multi-instance concurrent sequence segment competition method, system and computer readable storage medium based on a TDSQL database. The method first acquires sequence segment information corresponding to a current instance from a sequence list; then calculates a target sequence segment range based on the sequence segment information, and occupies the target sequence segment in the TDSQL database through an update operation with an original value condition, the update operation including a conditional judgment of whether the starting value of the current sequence segment is consistent with a pre-stored value; finally, it is judged whether the update operation successfully occupies the target sequence segment, the successfully occupied sequence segment is cached to the local instance, and an incremental sequence number is generated one by one through a thread safety mechanism. The present application realizes the generation of a globally unique and strictly incremental sequence number in a multi-instance concurrent environment under the constraint of only using a TDSQL database.
Owner:中国建设银行股份有限公司苏州分行

HashMap implementation method and device supporting concurrency, medium and equipment

The invention discloses a HashMap implementation method and device supporting concurrency, a medium and equipment, and the method comprises the steps: for to-be-processed data and a processing mode thereof, obtaining a hash value corresponding to the to-be-processed data according to a hash function currently adopted by the HashMap; determining a hash bucket to which the to-be-processed data belongs according to the hash value; obtaining an operation lock for the hash bucket corresponding to the processing mode by using the atomic variable; and under the condition that the operation lock is successfully obtained, executing corresponding data processing operation on the data chain table in the Hash bucket according to the to-be-processed data and the processing mode thereof, and releasing the operation lock for the Hash bucket after the data processing operation is successfully executed. According to the technical scheme provided by the invention, the HashMap can support multi-thread concurrent operation and has relatively high data processing efficiency, and the HashMap with safe threads is realized, so that the HashMap can be relatively well applicable to application scenes with high-performance and high-concurrency requirements.
Owner:JOINT WARFARE COLLEGE NAT DEFENSE UNIV OF THE CHINESE PEOPLES LIBERATION ARMY

Method, device and equipment for calling C / C + + function by Java, storage medium and program product

The invention provides a method and device for calling a C / C + + function by Java, equipment, a storage medium and a program product, relates to the technical field of computers, and is used for realizing resource isolation and resource reuse, ensuring thread safety and reducing development difficulty. The method comprises the steps of obtaining a target shell process from a target process pool of a Java proxy based on a calling parameter; the calling parameter is used for reflecting a target function needing to be called and a target C / C + + library where the target function is located; the target process pool is a process pool capable of calling the target C / C + + library; the calling parameters are transmitted to a target shell process through a named pipeline, and calling of a target function in a target C / C + + library is completed through the target shell process; wherein the named pipeline is used for communication between the Java proxy and the shell process; and returning a calling result to the Java proxy through the named pipeline.
Owner:CHINA UNITED NETWORK COMM GRP CO LTD +1

Progressive material caching

With minimal preprocessing of trees of materials in textures, this approach progressively caches outputs of some material nodes that are evaluated while rendering a scene. A node may be the root of a subtree, and the node may generate a value of a texel based on values of other nodes in the subtree. The subtree of a cacheable node contains no shading-point dependent node as a descendant other than texture coordinates. When reaching the cacheable node during a material evaluation for rendering, a descriptor of the node is used as a key to store or reuse the texel value of the cacheable node in a materials cache in memory. By defining cacheable nodes at highest possible levels in a tree, repeated evaluation of most nodes in the tree is avoided. For multithreaded acceleration, a materials cache is designed for thread-safe operation with an atomic instruction.
Owner:ADVANCED MICRO DEVICES INC

Automatic driving multi-sensor data processing method and system

The invention provides an automatic driving multi-sensor data processing method and system, and belongs to the technical field of automatic driving. By performing unified formatting processing on each type of sensor data, adding the sensor data meeting the preset condition into the thread security queue, and based on removing processing on the data in the thread security queue, determining actual frame data, different data formats of various sensors can be intelligently analyzed; the bird's-eye view is drawn based on the actual frame data, and the information list for displaying the data in the bird's-eye view is constructed, so that the data under each timestamp can be ensured to accurately correspond and synchronously display, and the analysis efficiency and accuracy are improved.
Owner:DONGFENG MOTOR GRP

Link processing method and device, electronic equipment and storage medium

The invention discloses a link processing method and device, electronic equipment and a storage medium, and relates to the technical field of distributed file management.According to the link processing method and device, the link state of a client side is detected through a preset period, and invalid link information is stored in a thread safety container and is orderly processed by a working thread; the atomic operation of the single invalid link is controlled through the global lock, a single-thread serial recovery mechanism is replaced, and lock competition and processing delay are reduced, so that the system performance is improved. The technical problems of business message queue accumulation, MON connection overtime interruption, MDS main-standby switching and service unavailability caused by the adoption of a single-thread serial recovery mechanism in an existing step link processing method can be solved, and the technical effects of improving invalid link processing efficiency, avoiding systematic risks and guaranteeing the stability and service continuity of a distributed file system are achieved.
Owner:JINAN INSPUR DATA TECH CO LTD

Dynamic random number collaborative business data unique identifier generation method and system

The invention provides a dynamic random number collaborative business data unique identifier generation method, which comprises the following steps of: S1, querying whether a corresponding unique number exists in a data storage system according to a business unique identifier, if so, directly returning the number, and if not, querying all stored unique numbers under a business type, generating candidate random numbers according to a preset random number range; s2, candidate random numbers repeated with the used numbers are removed, and an available random number set is formed; s3, if the available random number set is null, throwing an exception, otherwise, randomly selecting a candidate number from the available random number set; and S4, trying to obtain a lock through a concurrency control mechanism, if locking succeeds, establishing association between the candidate number and the service data and storing the candidate number and the service data in a data storage system, otherwise, recursively calling the step of regenerating the candidate random number in the step S1. The problems of numbering conflict and thread security in a high-concurrency scene are solved. And the method has high efficiency, stability and expandability.
Owner:CHONGQING KAILINJIAN GUANJIA TECH CO LTD

Factory mode-based connection pool rapid failure response method and device

The invention discloses a connection pool rapid failure response method and device based on a factory mode. The method comprises the following steps: constructing a general connection pool factory parent class based on double generic types, packaging a plurality of target connection pools, and establishing a mapping relationship between connection pool identifiers and factory instances; starting a timed task thread pool to perform periodic active scanning detection on the connection; when the connection failure is detected, performing rapid failure marking on the corresponding connection pool in the memory by adopting a thread-safe atomic variable; and when a connection acquisition request is responded, verifying the failure mark state of the atomic variable, if the mark is failure, skipping, otherwise, normally acquiring the connection. According to the method, through an active scanning and memory level marking mechanism, connection failure detection is converted from passive overtime waiting to active immediate sensing, millisecond-level response is achieved, thread blockage, data transmission interruption and task interruption caused by connection failure in a high-concurrency collection scene are effectively eliminated, and the service life of the system is prolonged. And the real-time performance, the integrity and the system stability of multi-data source monitoring are obviously improved.
Owner:广州海量数据库技术有限公司

A security management policy generation method and system

The application provides a security management strategy generation method and system, obtains a message node with differences between two groups of current thread session in a first current thread session strategy set, obtains an abnormal message through the message node, obtains a second current thread session strategy set through the first current thread session strategy set and the abnormal message, and determines a thread security management result through the second current thread session strategy set when the second thread security quantization result exceeds the first thread security quantization result. The message node with differences between two groups of current thread session in the first current thread session strategy set can obtain the abnormal message, and the first current thread session strategy set can accurately and reliably obtain a current thread session strategy set with a better thread security quantization result without separate analysis, so that the better thread security quantization result can be accurately obtained, and the accuracy and reliability of the thread security management result can be ensured.
Owner:GUANGZHOU BOYITE INTELLIGENT INFORMATION TECH CO LTD

An OpenHarmony hardware acceleration rendering method based on a native GBM

ActiveCN122289495BTerm memoryMultithreading
The application discloses an OpenHarmony hardware acceleration rendering method based on a native GBM, and the method comprises the following steps: when the OpenHarmony system is started, a Mali GPU architecture is recognized, and a memory and a zero-copy mechanism are initialized; a resource management structure body and a hash table are built; a GBM module completes shader pre-compilation caching; an application end builds an EGL rendering running environment and guarantees multi-thread safety; frame buffer resources are dynamically allocated in a rendering stage, shader scheduling is completed after memory checking, a complete rendering link is built to realize data direct writing to a shared memory; a display end maps the shared memory to build a zero-copy layer, an architecture adaptation scaling scheme is adopted, time sequence synchronization is completed to output a picture and uniformly recycle resources, and the whole process realizes efficient and stable hardware acceleration zero-copy rendering.
Owner:北京麟卓信息科技有限公司