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

217 results about "Callback" patented technology

In computer programming, a callback, also known as a "call-after" function, is any executable code that is passed as an argument to other code that is expected to call back (execute) the argument at a given time. This execution may be immediate as in a synchronous callback, or it might happen at a later time as in an asynchronous callback. Programming languages support callbacks in different ways, often implementing them with subroutines, lambda expressions, blocks, or function pointers.

Method and system for generating abstract of smart contract based on large language model and semantic enhancement

A method and system for generating an abstract of a smart contract based on a large language model and semantic enhancement. The method includes: parsing a source code of a smart contract to generate an abstract syntax tree; extracting code semantic information; converting a contract function node of the abstract syntax tree into a function callback chart; and generating a high-quality abstract of code of the smart contract by utilizing the code semantic information extracted by the large language model and callback information in the function callback chart. By learning and understanding the semantic information and callback information of the smart contract function, the large language model can accurately understand and reason deep semantic information of the code to generate the high-quality abstract of the code of the smart contract. The a multi-model capability of the large language model to extract, understand, and reason the callback information of the function callback chart improves comprehension capability of the large language model on a code callback structure.
Owner:HAINAN UNIV

Monitoring method and device, verification equipment, medium and program

The embodiment of the invention provides a monitoring method and device, verification equipment, a medium and a program, the monitoring method is applied to a register monitor and comprises the steps that a design path corresponding to a target register and a path character string stored in the register monitor are obtained, and the value of a signal in the design path of the target register is a monitoring object of the register monitor; an update waiting task is called, the update waiting task is used for registering callback functions on a plurality of signals of the design path, and the callback functions are automatically called when the values of the signals change so as to respond to and process the changes of the values of the signals; when the value of the signal in the design path changes, a callback function is executed to trigger a value change occurrence event, the value change occurrence event being used to indicate that the value of the signal in the design path changes. According to the method, the change of the value of the register can be monitored, the value in the register model is updated in real time, state synchronization of the register model and the register in the to-be-tested design is ensured, and the simulation verification accuracy is improved.
Owner:HAIGUANG INTEGRATED CIRCUIT DESIGN (BEIJING) CO LTD

Heterogeneous computing scheduling method, device and equipment based on proxy thread and storage medium

The invention discloses a heterogeneous computing scheduling method and device based on a proxy thread, computer equipment and a storage medium, the scheduling method comprises the steps that a working thread group and the proxy thread are created, the working thread group comprises at least one working thread, and a lockless communication queue is established to connect the working thread group and the proxy thread; in response to the received to-be-processed task of the execution unit, the working thread submits an operation request of the to-be-processed task to the proxy thread through the lock-free communication queue; in response to successful submission of the operation request, performing local data calculation by the working thread, and entering dormancy if the local data calculation is completed; in response to the operation request received by the proxy thread, the proxy thread submits the operation request to an execution unit and polls whether the to-be-processed task is processed or not; in response to completion of processing of the to-be-processed task, the proxy thread wakes up a corresponding working thread through a callback function and returns a processing result; by means of the method, the high concurrency performance and the compatibility of heterogeneous equipment can be remarkably improved.
Owner:JINAN INSPUR DATA TECH CO LTD

File security classification checking method, device and equipment based on windows operating system API HOOK, medium and product

The invention discloses a file security level checking method, device, equipment, medium and product based on an API HOOK of a windows operating system, and relates to the field of computer software application, the method comprises the steps that a callback function is registered by utilizing a driving module, when the windows operating system creates a process, a created process ID is sent to a service module in a user mode in the callback function, and when the process is created, the service module in the user mode is used for checking the security level of the file; receiving a service completion message of the service module; in the service module, based on a dll injection mechanism, injecting a dll injection program of the API HOOK module into the memory space of the created process; after the dll injection program is injected, an API HOOK module is utilized to modify an entry address of a target process API, and the entry address points to a self-defined hook function; the target process is the created process; and when the application opens the file corresponding to the target process, calling the security level judgment logic of the hook function, and judging whether the user security level can open the file corresponding to the target process, thereby avoiding the problem of high-density file leakage.
Owner:XIAN JINGXING RUICHUANG TECHNOLOGY CO LTD

Support API prefix in callback uri

Embodiments of the present disclosure relate to supporting API prefix in callback URI. A first first device is provided comprising at least one processor and at least one memory storing instructions. The at least one memory and the instructions are configured to, with the at least one processor, cause the first device at least to: receive, from a second device, a service request message, wherein the service request message comprises a first callback Uniform Resource Identifier, URI, with a first Application Programming Interface, API, prefix; in response to determining that the second device is not reachable, send, to a third device, a discovery request for discovering a further second device instance; receive, from the third device, a discovery response; determine a second callback URI based on the discovery response; and send to the further second device instance a callback request message based on the second callback URI.
Owner:NOKIA TECHNOLOGIES OY

Method, device and equipment for communication between local processes and storage medium

The invention discloses a local inter-process communication method, device and equipment and a storage medium, relates to the technical field of computers, is applied to a first preset platform, and comprises the following steps: if in an asynchronous communication mode at present, executing an asynchronous communication mode through an asynchronous input / output programming library, an I / O object and a local operating system; triggering asynchronous connection between a first local process and a second local process of a second preset platform; after the asynchronous connection is completed, binary serialization format conversion and packaging are carried out on data transmitted in the asynchronous input and output operation execution process based on a preset packaging algorithm, and a determined operation result is stored in a target queue; and performing operation result reading on the target queue through an I / O execution context component and a preset callback function until asynchronous input and output operation in an uncompleted state does not exist between the first local process and the second local process, and completing communication operation. According to the method and the device, cross-platform and asynchronous local process communication can be effectively realized.
Owner:CHENGDU WEISHITONG INFORMATION SECURITY TECH CO LTD

Automatic driving simulation method and device, computer equipment and storage medium

The invention discloses an automatic driving simulation method and device, computer equipment and a storage medium, and relates to the technical field of vehicle simulation. The method comprises the following steps: receiving a simulation instruction; and calling a driving simulation module corresponding to the simulation instruction for simulation through a plurality of preset callback interfaces to obtain simulation result data, the driving simulation module being designed based on the plurality of preset callback interfaces. Namely, a plurality of preset callback interfaces are provided, any driving simulation module can be developed and designed based on the preset callback interface, the problem that software is coupled but interfaces are not matched in an existing simulation system is solved, the convenience and efficiency of algorithm development are improved, and the driving simulation system is suitable for being developed and designed. According to the invention, the plurality of preset callback interfaces are uniformly and synchronously called to carry out driving simulation, so that the problem of mutual calling confusion caused by scheduling logic due to a complex calling process is reduced, the test complexity is reduced, and the simulation effect of the simulation test is guaranteed.
Owner:GUANGZHOU AUTOMOBILE GROUP CO LTD

User interrupt event callback mechanism implementation method

The invention discloses a user interrupt event callback mechanism implementation method, which adopts an implementation method of combining user interrupt event callback caused by hardware interrupt and conventional task scheduling, after system hardware interrupt occurs, kernel interrupt processing codes construct a user mode code running environment, and a user mode is switched to run a user event callback function, so that the user interrupt event callback is realized. After the execution of the user event callback function is finished, the system environment before the execution of the user event callback function is recovered through an undefined instruction falling into a kernel; and when all the user callback event functions are executed, falling into the kernel through the undefined instruction again, and recovering an instruction execution stream before the interruption event occurs by utilizing the stack frame information reserved when the interruption is entered. According to the method, an emergency processing mechanism with determined delay is realized, the constructed interrupt event callback function runs in a user space, and the method has the functions of shielding low-priority interrupt and protecting a memory, is low in overhead, simple to implement and easy to adapt to various processors, and has a good application prospect.
Owner:NANJING PANENG TECHNOLOGY DEVELOPMENT CO LTD

Business response method and device, electronic equipment and storage medium

The embodiment of the invention provides a service response method and device, electronic equipment and a storage medium, and relates to the technical field of data processing, and the specific scheme is as follows: loading an object of a first code unit into a heap memory in response to starting initialization of an application program of a server, establishing a global table containing the corresponding relationship among the business identifiers of the business modules, the memory addresses of the objects of the first code units and the event callback functions, traversing the global table before the main function of the application program is executed, and binding the business identifiers of the same business module, the memory addresses of the objects and the event callback functions; and in response to the received service request, if the identifier of the service requested by the service request is the same as the first service identifier, calling an object of the first code unit corresponding to the first service identifier by calling a callback function corresponding to the first service identifier. By applying the scheme provided by the embodiment of the invention, the applicability of the mode of externally providing services in different operating systems can be improved.
Owner:CSC FINANCIAL CO LTD

Blockchain-based data processing method and apparatus, device, storage medium, and program product

This application discloses a blockchain-based data processing method performed by a computer device. The method includes: determining a token identification in response to a resource reception request; calling a general callback function in a smart contract of a blockchain and determining M virtual resources having the token identification issued by an issuing object in the blockchain; acquiring a resource attribute of the M virtual resources and determining a token attribute corresponding to the token identification based on the resource attribute of the M virtual resources, the issuing object holding a target virtual resource in the M virtual resources, and the M being a positive integer; and determining a resource identification of the target virtual resource transferred to a receiving object based on the token attribute of the token identification, the resource identifications corresponding to different token attributes being different.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Automatic data calculation method and system based on configuration driving

The invention discloses an automatic data calculation method and system based on configuration driving, relates to the technical field of automation of configuration driving, and solves the problems that although standardized data acquisition of multi-source heterogeneous equipment is realized in the prior art, data calculation modeling depends on hard coding; the same function is difficult to reuse so that the development period is long; computational logic is embedded in a program, debugging and modification are difficult, system retransmission is needed for demand change, and the maintenance cost is high; the technical problems that a large amount of manual intervention exists in a calculation link, rules cannot be dynamically adapted according to field requirements, system universality and expandability are poor, project efficiency is restricted, and multi-scene energy data analysis requirements are difficult to meet are solved. According to the method, common model measuring point configuration is set; after common model measuring point configuration information is read, a function registration mechanism is executed; carrying out callback function binding; and setting a function operation mechanism to solve the technical problem.
Owner:ANHUI UDAN TECH CO LTD

Appointment-based programming method capable of reducing front-end code writing amount

The invention discloses an agreement-based programming method capable of reducing the front-end code writing amount. The agreement-based programming method comprises the following steps of 1, establishing a configuration file; 2, performing initialization rendering and resource loading work on a front-end page through a page rendering and loading analyzer; 3, scanning the whole page through an agreed annotation label analyzer, identifying an annotation label, and analyzing the annotation label according to a preset agreed rule; step 4, unified scheduling and management are carried out on the process of function implementation through an agreed programming engine; 5, configuring an analyzer through agreed programming, and providing accurate operation parameters and instructions for each module of the system; according to the method, the functions of automatically calling the interface, intercepting the request, identifying the operation type, carrying out callback, rendering the page and identifying and filling the corresponding template are realized through the pre-agreed rule, so that the compiling quantity of front-end codes is reduced, the coding efficiency is improved, the joint debugging cost is reduced, and the maintainability and the expandability of the codes are enhanced.
Owner:BEIJING NETRAY TECH CO LTD

Equipment control method and device, computer equipment and storage medium

The invention provides an equipment control method and device, computer equipment and a storage medium, and the method comprises the steps: monitoring whether key value information of an equipment register of to-be-controlled equipment is written into a preset data structure defined by a kernel mode program or not by adopting a user mode program when an equipment drive program corresponding to the to-be-controlled equipment runs, and if the key value information of the device register exists in the preset data structure, reading the key value information of the device register by adopting a callback function defined by the kernel mode program, and executing read-write operation on the device register by adopting the callback function according to the key value information of the device register so as to control the to-be-controlled device. Once the user mode program monitors that the key value information exists in the preset data structure, the callback function defined by the kernel mode program completes reading and writing of the device register, and therefore the purposes that the device drive program does not need to be modified, register reading and writing are dynamically achieved, and the debugging cost is reduced are achieved.
Owner:PHYTIUM TECH CO LTD

A method, apparatus, device, medium, and product for file security level checking based on Windows operating system API hooking.

This application discloses a file security level checking method, apparatus, device, medium, and product based on Windows operating system API hooking, relating to the field of computer software applications. The method includes registering a callback function using a driver module; when the Windows operating system creates a process, the callback function sends the created process ID to a user-mode service module and receives a service completion message from the service module; within the service module, based on a DLL injection mechanism, the DLL injection program of the API hooking module is injected into the memory space of the created process; after the DLL injection program is injected, the API hooking module modifies the entry address of the target process's API and points this entry address to a custom hook function; the target process is the created process; when an application opens a file corresponding to the target process, the security level judgment logic of the hook function is called to determine whether the user's security level allows opening the file corresponding to the target process. This application avoids the problem of high-security file leakage.
Owner:XIAN JINGXING RUICHUANG TECHNOLOGY CO LTD

Virtual block device implementation methods, apparatus, media, and computer program products

This disclosure provides a method, apparatus, medium, and computer program product for implementing a virtual block device. The method includes: creating a virtual block device located between a file system and a physical block device, the virtual block device being used to forward a first block input / output request submitted by the file system to a physical block device bound to the virtual block device, and performing callback management on the first block input / output request; in response to a fault, maintaining the virtual block device's ability to receive the first block input / output request submitted by the file system, and unbinding the virtual block device from the physical block device; and in response to fault recovery, rebinding the virtual block device to the physical block device.
Owner:ZTE CORP

Peripheral data acquisition method and device based on Web environment

The embodiment of the invention provides a peripheral data acquisition method and device based on a Web environment, and the method comprises the steps: taking a Web page input box as an event monitoring carrier, monitoring a code scanning gun or keyboard input event, and capturing input data; judging whether the input data is code scanning gun data or manual input data according to the input speed, the end mark or the data length; if the input data is the code scanning gun data, transmitting the code scanning gun data in the memory cache region to a business logic layer through a callback function; and if the input data is the manual input data, delaying the manual input data for a preset time and then redisplaying the manual input data to the input box.
Owner:四川中仑数科科技有限责任公司

A blockchain smart contract architecture and a design method thereof

The application discloses a kind of blockchain smart contract architecture and its design method, belong to blockchain field, including: the interaction of using generic interface implementation and access layer, consensus algorithm layer and account data, smart contract module is generated independent software function module by integrating standard library, trusted check information packing, the call and callback function of mode are passed through function pointer, the call and interaction of smart contract framework and smart contract dynamic library are realized, the interaction of smart contract library and TA is realized by implementing the core logic of smart contract in the form of TA in trusted execution environment, and using the GP specification of Trustzone;Transaction information handled and generated by smart contract is temporarily stored to the transaction cache area, read by consensus algorithm, consensus and finally form new block and fall disk.The application guarantees the execution safety of the core logic of smart contract, optimizes blockchain software architecture, realizes the trusted check and efficient operation of contract, improves programming efficiency.
Owner:10TH RES INST OF CETC

Safety acquisition software plug-in implementation method and system for power monitoring system

The invention discloses a method and a system for realizing a security acquisition software plug-in with dynamic characteristics for an electric power monitoring system, and aims to solve the problems of difficulty in function extension, insufficient security and poor resource isolation of a traditional electric power monitoring system. According to the system, through a plug-in architecture design, a plug-in function module is realized in a dynamic library form, and dynamic loading, unloading and security isolation operation are supported. The plug-in is started through the sub-process, the main program ensures the legality of the plug-in through SM2 certificate verification, and efficient interaction between the main program and the plug-in is achieved through a callback function mechanism. The plug-in supports dynamic memory allocation, and potential safety hazards caused by predefined field length are avoided. Core rights points of the method comprise plug-in expansion capability, sub-process isolation, SM2 certificate verification, a transparent transmission mechanism and dynamic memory management, and the function expansibility, the safety and the operation stability of the power monitoring system can be remarkably improved.
Owner:NARI INFORMATION & COMM TECH

Method, system and device for automatically analyzing running state of physical layer software

The invention provides a physical layer software running state automatic analysis method, system and device, and the method comprises the steps: implanting statistical dotting information in a key execution node of physical layer software to form a data basis for automatic analysis; in a system initialization stage, a predefined analysis function is registered as a callback function of a user command interface, and the analysis function is configured to be used for collecting and processing statistical dotting information; and during the system operation period, receiving a trigger command through the user command interface to call the analysis function, and outputting the current operation state, the abnormal index and the positioning guidance of the physical layer software based on the processing result of the analysis function on the statistical dotting information. According to the method, the problems of low positioning efficiency, long time consumption and poor accuracy due to dependence on manual analysis of scattered logs in a current baseband physical layer software problem positioning method are solved.
Owner:HUBEI SILANG COMMUNICATION TECHNOLOGY CO LTD

Implementation method and device of js timer

PendingCN122309054AMessage queueCallback
This invention discloses a method for implementing a JS timer, comprising the following steps: Step S1: In a lightweight open-source HarmonyOS system, a JavaScript application creates a JS timer, which specifies a timing period and a callback function. Step S2: The JS timer is added as a task timer in the lightweight open-source HarmonyOS system, and executed by the task management module. Step S3: When the timing period of the task timer expires, an asynchronous message is sent to the JS APP thread, which then executes the asynchronous callback upon receiving the message. This invention automatically stops the JS timer when the device enters a low-power screen-off state, reducing unnecessary system wake-ups and saving device power. If the JS APP thread is busy, the JS timer cannot be scheduled and will not send unprocessable asynchronous messages, avoiding the problem of system crashes due to a full message queue and improving system robustness.
Owner:ASR MICROELECTRONICS CO LTD

A resource leakage monitoring method and terminal

The application discloses a resource leakage monitoring method and a terminal, which records detailed information of operation instructions, and stores the detailed information into a buffer area through format conversion, so as to ensure simple and universal format, optimize storage space, and reduce system resource overhead; the frequency of data writing into a disk is controlled according to a time threshold value or a capacity threshold value, and the data is written into the disk through executing a callback function, so as to realize decoupling between modules, reduce the burden of a main thread, and ensure the integrity and recoverability of the data; disk data is periodically read in an asynchronous loading mode, and pairing judgment is performed according to operation types; if there exist unpaired 'application' and'release' operation types, it is determined that there is a potential resource leakage, so as to identify the resource leakage type and the cause, count resource leakage objects according to type names and reference chain fields, mine the reference relationship between the objects with problems, and improve the accuracy and reliability of resource leakage detection.
Owner:FUJIAN TQ DIGITAL

A command line configuration storage method and a corresponding configuration reading method

The application discloses a configuration storage method of a command line and a corresponding configuration reading method, and relates to the technical field of command lines. When configuration storage is performed, the method does not directly store an entire command string, but first analyzes a target command line format corresponding to a target software module to which the command string belongs, so that data of variable parameters in the command string and callback function identification are stored as configuration data without storing data of fixed parameters. When subsequent configuration reading is performed, data of variable parameters of a command string to be read is transmitted into a callback function corresponding to callback function identification of the command string to be read, so that an execution result can be obtained. Therefore, the method can reduce the occupation of storage space on the basis of ensuring correct configuration reading.
Owner:WUXI TONGXIN HENGTONG TECH

A method for detecting and controlling system-level events in a library operating system

The present invention discloses a method for detecting and controlling system-level events in a library operating system. As a single-core operating system, Unikernel requires a thread in the traditional monitoring method, which will cause resource preemption between the monitoring thread and the main thread, greatly affecting the execution of the main program. However, the present invention is a threadless monitoring method that can collect and analyze the running state of Unikernel in real time without interfering with the main thread, improving the efficiency and accuracy of monitoring. The existing stack monitoring method is not flexible enough. If there are important events on the stack, it is necessary to continuously poll to know the situation. There is no automatic triggering mechanism to notify the stack behavior, and the controllability is not strong. The present invention constructs an event-driven stack monitoring method that can automatically trigger the corresponding callback function when changes occur on the stack, realizing timely response and processing of stack events, and improving the flexibility and controllability of stack monitoring.
Owner:ZHEJIANG UNIV +1

Method for predicting beam expansion curve in compressible turbulence based on LSTM (Long Short Term Memory) model

The invention relates to the field of compressible turbulence, in particular to a method for predicting a beam expansion curve in compressible turbulence based on an LSTM (Long Short Term Memory) model, which comprises the following steps of: extracting multi-dimensional features of an input beam expansion front section curve, and converting the multi-dimensional features into an LSTM model adaptive format; a depth LSTM model is constructed; customizing a callback function based on a cosine annealing principle, and periodically adjusting a learning rate according to the callback function; integrating early stop, optimal model storage and learning rate scheduling callback strategies, dynamically adjusting the learning rate of the LSTM model, and optimizing the LSTM model; and the LSTM model sequentially executes a main training whole process, restores a real scale through reverse normalization, and outputs a prediction result of the beam expansion curve in the compressible turbulence. According to the method, the LSTM neural network model can be stably established, the model stability is good, the prediction result of the beam expansion curve in compressible turbulence is quantified, and the prediction result is accurate.
Owner:SANMING UNIV

Smooer unified authentication access method

The invention discloses a smoother unified authentication access method, and belongs to the technical field of information security. The method comprises the following steps that: an entry control module executes Token existence judgment and address source judgment, and obtains a unified authentication address through a fetch method; the front-end system dynamically creates a hidden iframe loading unified authentication address, and establishes a message monitor; the lightweight callback processing module detects a running environment, extracts code information, and sends the code information to a parent window through a postMessage method; the entry control module receives code information, verifies a source, stores the code information to a temporary variable, and triggers a custom event; and the routing interception authority control module obtains code information, sends an authorized login request to a rear end, stores Token after completing user identity verification, and enters a system. According to the method, authentication is completed in the current page through an iframe and post Message communication mechanism, so that repeated page skipping and repeated resource loading are avoided, non-perception silent authentication is realized, and user experience and system performance are improved.
Owner:云鼎科技股份有限公司

A method and system for logical time management services for federated trials

The application discloses a logical time management service method and system for joint tests, wherein participants set time control strategies and time limited strategies, and initiate logical time advancing requests and request processing callback requests to middleware according to preset time steps, and register callback functions; a time adjuster calculates a timestamp lower limit to provide data guarantee for time advancing; the middleware receives the logical time advancing requests, checks whether the participants have the right of the time control strategies, updates the current timestamp lower limit, receives the processing callback requests, checks FIFO queues and processes queue messages, checks the time limited strategies of the participants, checks TSO queue states and processes queue messages, checks the relationship between the time requested by the participants and the timestamp lower limit, and calls the callback functions allowed by the time advancing to the participants; the application provides an efficient and accurate logical time management mechanism, and solves the problem that the middleware of the existing joint test platform does not support logical time management.
Owner:HARBIN INST OF TECH

Business execution method and device, equipment, medium and program product

The invention provides a service execution method and device, equipment, a medium and a program product, and can relate to the computer network technology, and the method comprises the steps that a service module in a first controller responds to a service execution request for a target service, and arranges the target service into M to-be-executed tasks, selecting a target to-be-executed task needing to wait for an execution result from the M to-be-executed tasks; wherein M is a positive integer; the business module calls a task callback interface to transmit an identifier of the target to-be-executed task to a feedback module in the first controller; the business module inserts the target to-be-executed task into the task queue, so that the second controller obtains the target to-be-executed task from the task queue and executes the target to-be-executed task; and the feedback module obtains the execution result of the target to-be-executed task, and feeds back the execution result of the target to-be-executed task to the business module through the task callback interface, so that on one hand, the resource waste of the controller can be reduced, and on the other hand, the business execution efficiency can be improved.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Intelligent mine management and control platform and method based on whole process optimization large model of mineral processing

The application discloses an intelligent mine management and control platform and method based on a beneficiation whole-process optimization large model, relates to the technical field of industrial control, and comprises the following steps: constructing a unified data warehouse, collecting multi-source heterogeneous data, performing quality verification and space-time alignment, and generating beneficiation data; using the beneficiation data to train a twin prediction sub-model and an optimization decision sub-model respectively, forming a linkage model set; running the linkage model set in the intelligent mine management and control hub node to generate future state trends and candidate set values, and distributing the candidate set values to each business item; each business item forms an optimization instruction according to the candidate set value and a preset optimization target, and issues the optimization instruction to the bottom control layer for execution; and the new beneficiation data generated by the execution is returned to the unified data warehouse. The application constructs a callback closed loop in an application programming interface, prepositions the candidate set value as a twin prediction input, and returns the candidate set value in the same data closed loop, so that the cross-business item execution stability is improved.
Owner:CHANGCHUN GOLD DESIGN INST

Component updating method, device and equipment and computer readable storage medium

The invention discloses a component updating method and device, equipment and a computer readable storage medium, and the method comprises the steps: intercepting a modification operation of a state attribute of a memory address in a target state container instance through a set interceptor of a proxy object, and determining an attribute key value corresponding to the modification operation; searching a component subscription callback function of the target state attribute corresponding to the dependency attribute key value from a subscriber set corresponding to the target state container instance; and obtaining the modified state attribute value by using the component subscription callback function, and updating the target component corresponding to the component subscription callback function according to the modified state attribute value. According to the method, the probability of page jamming is greatly reduced, the problem of global state pollution is avoided, and real component-level sandbox isolation is realized.
Owner:HANGZHOU HONGSHU INFORMATION TECH CO LTD