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

69 results about "Subroutine" patented technology

In computer programming, a subroutine is a sequence of program instructions that performs a specific task, packaged as a unit. This unit can then be used in programs wherever that particular task should be performed.

Subroutine neural networks

Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for generating an output sequence from an input sequence. In one aspect, one of the systems includes one or more subroutine neural networks each comprising: an encoder neural network configured to receive an encoder network input comprising i) a subroutine input sequence of the subroutine neural network and ii) an input mask that masks one or more subroutine input elements of the subroutine input sequence and to generate an encoded representation of the encoder network input; a decoder neural network configured to receive the encoded representation and to generate the subroutine network output; and a masking neural network configured to generate an output mask, wherein the output mask will be used as the input mask of the encoder neural network at a subsequence time step of the plurality of time steps.
Owner:GOOGLE LLC

Method and device for generating backtracking video, computer equipment, storage medium and computer program product

The invention relates to a backtracking video generation method and device, computer equipment, a storage medium and a computer program product. The method comprises the following steps: in response to a trigger operation of a target object for a subprogram, generating and reporting a first record identifier matched with a native page of the subprogram under the condition that the subprogram starts a backtracking function; in response to a first interaction event triggered on the native page, generating and reporting native page record data of the native page; responding to a second interaction event triggered on the webpage linked with the subprogram, and generating and reporting webpage record data of the webpage; and under the condition that a backtracking request carrying the first record identifier is received, generating a target backtracking video for the target object based on the native page record data and the web page record data which are stored in association with the first record identifier. By adopting the method, the accuracy of backtracking video generation can be improved.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD

A task scheduling method and system of an electric energy meter, a terminal device, and a medium

This invention provides a task scheduling method, system, terminal device, and medium for electricity meters. The method includes: determining the type of each application of the target electricity meter; obtaining the total time slice to be allocated to all applications; wherein the application types include system applications, business applications, and container applications, and container applications include subroutines; allocating time to each application based on the total time slice according to the application priority, to obtain a first time slice for each application; allocating time to each subroutine based on the first time slice of the container application according to a preset execution time ratio, to obtain a second time slice for each subroutine; and controlling the central processing unit to execute the tasks and subroutines in each application sequentially according to the allocation results of the first and second time slices. This can improve the task processing efficiency of the electricity meter.
Owner:GUANGDONG ELECTRIC POWER SCI RES INST ENERGY TECH CO LTD

Code generation method and system based on large language model

The invention relates to a code generation method and system based on a large language model, and belongs to the technical field of computers. According to the method, dialogue is carried out on the basis of the generated first version code and the large language model to provide more detailed and specific input, so that the large language model generates a corresponding subprogram, and complete code logic is constructed; calling an example code stored in an example code library to further optimize the initial code based on multiple rounds of conversations, and generating a second version of code; and performing comprehensive quality evaluation on the generated second version code based on a preset code quality evaluation standard, automatically generating a repair rule based on an evaluation result, and generating a target code by using the repair rule. According to the method and the device, the repair rule is obtained according to the evaluation result obtained by performing comprehensive quality evaluation on the second-version code, the second-version code is repaired based on the repair, so that the high-quality target code is obtained, and the whole generation process is more intelligent.
Owner:ZHENGZHOU UNIV

Attack tracing method and device based on symbolic execution engine

PendingCN121841677Aprecise derivationSecuring communicationPathPingAlgorithm
The invention relates to the technical field of attack tracing, in particular to an attack tracing method and device based on a symbolic execution engine, and the method comprises the steps: recognizing a plurality of dependent explosion functions of a pre-constructed execution unit sequence, so as to construct an independent subprogram; constructing a system call control flow diagram of a historical event processing cycle by combining static and dynamic analysis; auditing logs containing parameter values are collected in the execution period of the target program so as to construct a thread-level traceability graph; and according to the system call control flow diagram, determining whether a node of dependent explosion exists in the thread-level traceability diagram, if so, reconstructing the independent subprogram by using the node of dependent explosion, and analyzing the reconstructed independent subprogram by using a symbolic execution engine to reconstruct an attack path. Therefore, the problem that a related tracing attack method needs to carry out instrumentation on a system, or depends on static analysis, or depends on an unreliable application log, or needs to use additional auxiliary hardware to realize tracking is solved.
Owner:TSINGHUA UNIVERSITY

Method and system for evaluating a neural network cost model based on class guidance

The application provides a kind of evaluation method and system of neural network cost model based on category guidance, it is related to data processing technical field, the feature of the tensor program to be evaluated is extracted from the perspective of syntax tree, and the tensor program feature is obtained;Tensor program features are processed by dimension reduction and clustering, to obtain the probability that the tensor program feature belongs to different categories;The feature of the tensor program to be evaluated is extracted from the perspective of scheduling primitive, to obtain intermediate features;Based on the probability that the tensor program feature belongs to different categories and the intermediate features, the performance score of the tensor program to be evaluated is obtained.From the perspective of syntax tree, extracting the features of the tensor program and extracting the features from the scheduling primitive can effectively utilize the complex relationship between subprograms, reduce the time of the AI compiler automatic tuning process, so that the neural network model can be deployed on the ground, and only needs less tuning time under the same tuning performance condition, improves the efficiency.
Owner:XI AN JIAOTONG UNIV

Deep learning library API fuzzy testing method based on semantic analysis

The invention discloses a deep learning library API fuzzy testing method based on semantic analysis, and belongs to the field of reliability testing of deep learning systems. The method comprises the following steps of: 1, analyzing an input check logic by using a large language model, extracting an edge condition and forming a structured expression; 2, converting the edge conditions into formalized logic predicates, performing semantic embedding and vectorization processing, and selecting representative conditions to form a variation condition set; 3, generating an executable test program, and automatically repairing a non-running program to form an executable seed program; and 4, generating diversified test input, running at the rear ends of the CPU and the GPU respectively, and identifying potential implementation defects of the deep learning framework by detecting collapse behaviors, running exceptions and cross-device output inconsistency. According to the method, the boundary condition coverage capability can be effectively improved, and the defect detection efficiency of the deep learning library API is improved.
Owner:JIANGSU UNIV

Subprogram instance creation method and device, equipment, medium and program product

The embodiment of the invention provides a subprogram instance creating method and device, equipment, a medium and a program product. The method comprises the following steps: in response to a calling request of a target subprogram in a session between a client and a database, searching a target shared instance from a shared memory; multiplexing the public data in the searched target shared instance, and creating a private instance structure; and generating a private instance stored in the private memory of the session according to the private instance structure and the private data. According to the method, when the session calls the subprogram, the shared instance is searched from the shared memory, and the private instance for the session is created by multiplexing the public data in the shared instance, so that multiple sessions do not need to repeatedly compile and store the same public data, and the memory overhead is reduced, and therefore, in a high-concurrency scene, the session can be quickly and efficiently called. The risk of insufficient memory is avoided, and the stability of database operation is improved.
Owner:CETC JINCANG (BEIJING) TECH CO LTD

Automated accuracy management of quantum programs via symbol resource estimation

Embodiments of the disclosed technology relate to transforming high-level quantum computer programs into one or more symbolic expressions. Because the transformations result in symbolic expressions in the compiled code, one can extract these symbolic expressions to obtain a symbolic resource estimate for the quantum program. In cases where these transformations do not yield a closed-form solution, they can still be evaluated orders of magnitude faster than possibly using other resource estimation tools. Access to such symbolic or near-symbolic expressions not only greatly improves the performance of accuracy management and resource estimation, but also can better inform quantum software developers of potential bottlenecks in the quantum program. In turn, the underlying quantum computer program can be improved as appropriate.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Processor that implements indirect addressing-style conditional jump instructions, program recording medium, and method

Provided is a processor enabling assembly code of a direct-addressing conditional-jump subroutine to be reduced. The processor includes a logic circuit executing a conditional-jump instruction of assembly code, and logically configured to: store, into an index register, an index register number that is an index to a jump-destination effective address; store jump-destination effective addresses differing from one another, or address offsets to jump-destination effective addresses differing from one another, into plural reference registers, respectively; fetch and decode a conditional jump instruction that is one instruction that quotes the index register; and then execute (S1) acquiring a jump-destination effective address or an address offset from the reference register corresponding to the index register number of the content of the index register and (S2) setting the acquired jump-destination effective address, or a jump-destination effective address calculated from the address offset, to a register serving as the program counter.
Owner:TAKEOKA LAB +1

Context-aware inlining based on hybrid profiling

A method implements generating a sampling profile and an instrumentation profile from source code. The method involves identifying a hot subroutine from the source code with the sampling profile. The method further involves executing a hot modifier process with the hot subroutine and one or more of the sampling profile and the instrumentation profile to generate a hot compilation unit. The method further involves executing a cold modifier process with a cold subroutine from the source code and the instrumentation profile to generate a cold compilation unit. The method further involves incorporating the hot compilation unit and the cold compilation unit into a modified compilation schedule.
Owner:ORACLE INT CORP

Reverse analysis method and device for plc program

The application discloses a PLC program reverse analysis method and device. The method comprises the following steps: obtaining a to-be-processed file; performing structural analysis processing on the to-be-processed file to obtain program entry address information and memory initialization information; performing subprogram identification processing on the to-be-processed file according to the program entry address information and the memory initialization information to obtain program flow feature data; performing identification processing on the program flow feature data based on a library function signature to obtain standard function block data; performing parameter extraction processing on the program flow feature data to obtain control behavior parameter data; and performing visual modeling processing on the program entry address information, the memory initialization information, the program flow feature data, the standard function block data and the control behavior parameter data to obtain reverse analysis result data. The automatic and structured control program reverse reconstruction capability is realized.
Owner:NO 15 INST OF CHINA ELECTRONICS TECH GRP

Rights processing method and apparatus

This specification provides a method and apparatus for processing rights and interests. One method includes: obtaining the code value of a store service code uploaded by a program container deployed by an application carrying a subroutine; the code value is obtained by the subroutine collecting and decoding the store service code; querying a store identifier mapped to the code value in a code value-store identifier mapping table; determining the rights and interests information of the target store corresponding to the store identifier and sending it to the program container, so that the program container can send the rights and interests information to the subroutine for display.
Owner:ALIPAY (HANGZHOU) INFORMATION TECH CO LTD

Method and device for de-obfuscating android strings, computer device and medium

The present disclosure provides a method and device for restoring obfuscation of an Android string, a computer device and a medium, comprising: converting intermediate bytecode of an Android application installation package data into a first representation file and a second representation file; performing semantic understanding on the second representation file to obtain a control flow graph corresponding to a target method body; identifying obfuscation points based on the control flow graph corresponding to the target method body to obtain a plurality of target candidate sentences; generating a corresponding slice standard representation for each target candidate sentence; reversely constructing a program dependency chain based on the plurality of target candidate sentences to obtain a data flow graph structure; determining a minimum code subset based on the data flow graph structure and the slice standard representation corresponding to each target candidate sentence; performing a reorganization operation on the minimum code subset to generate a subprogram; embedding the subprogram into a class file to obtain a target class file; and executing the target class file through the first representation file to obtain a decrypted string. Thus, the success rate of string decryption is improved.
Owner:NO 15 INST OF CHINA ELECTRONICS TECH GRP

Laser processing method, device, processing equipment and storage medium for circuit board

This application proposes a laser processing method, apparatus, processing equipment, and storage medium for circuit boards, relating to the field of laser processing technology. The method obtains the processing requirements of the circuit board; these requirements include processing sub-requirements for multiple processing structures within the circuit board; different processing subroutines are then set based on these sub-requirements, forming a processing program; and laser processing is then performed on multiple processing structures according to this processing program. This application customizes processing subroutines for each processing structure based on its specific processing sub-requirements, ensuring that the final processing program includes subroutines that meet different processing sub-requirements. When performing laser processing based on this program, laser processing can be carried out according to the processing sub-requirements of each processing substructure. Only one processing drawing is needed, and a complete processing program can be executed to process the entire circuit board, resulting in higher processing efficiency.
Owner:HANS CNC SCI & TECH

Numerical control machining tool checking method and system and medium

The invention discloses a numerical control machining tool checking method and system and a medium, and relates to the technical field of numerical control machining.The numerical control machining tool checking method comprises the following steps that the structural size of a tool checking block is obtained, a tool checking block model consistent with the structural size of the tool checking block is established, and the tool checking block is a conical tool checking block; a part machining main program is obtained, and a machining main program preposed file is converted into a G code of an NC program through postprocessing; current tool parameters are obtained, the current tool parameters are transmitted to a packaged fixed loop program, and the fixed loop program is used for calling a parameterized preset tool checking block subprogram; and executing an NC program including the fixed loop program, suspending processing when the NC program runs to a selective suspending instruction, and performing integrity check on the tool checking block. Dependence on experience of operators is reduced, human intervention risks are reduced, and machining automation and tool checking efficiency are improved.
Owner:CHENGDU AIRCRAFT INDUSTRY GROUP

A model training method, a program repair method, a device, a storage medium, and a program product

The application provides a model training method, which comprises the following steps: determining a sample abnormal subprogram in a sample program, and determining sample syntax structure information of the sample abnormal subprogram based on the sample abnormal subprogram; constructing an initial program repair model, and setting state information, action information and reward information for the initial program repair model; training the initial program repair model after the setting based on the sample abnormal subprogram and the sample syntax structure information by using a target reinforcement learning algorithm, to obtain a target program repair model, thereby solving the problems of poor efficiency and low accuracy of the related art in repairing the smart contract. The application also discloses a program repair method, an electronic device, a storage medium and a program product.
Owner:CHINA MOBILE (SUZHOU) SOFTWARE TECH CO LTD +1

Interlaced path splitting-based sequentialization method of interrupt drive program

The invention belongs to the field of software model detection, and relates to an interrupt driver sequencing method based on staggered path splitting. Comprising the following steps: inputting a to-be-detected interrupt driver; selecting configuration parameters, and performing function inline preprocessing on the interrupt drive program according to the configuration parameters to obtain a bounded program without function call; staggered path splitting is realized by generating scheduling sequence configuration and code partition configuration, and part of configuration without atomic violation in a scheduling sequence and a code partition is deleted through an optimization process; inserting control codes in the original program according to different scheduling sequences and code partition combinations to generate a plurality of independent sequenced subprograms; executing parallel verification on the plurality of sequenced subprograms according to the number of processor cores in the configuration parameters; and outputting a verification result. According to the method, the large-scale program verification performance can be remarkably improved.
Owner:DALIAN UNIV OF TECH

Interaction processing method and device of subprograms, electronic equipment, computer readable storage medium and computer program product

This application provides a method, apparatus, electronic device, computer-readable storage medium, and computer program product for interactive processing of subroutines. The method includes: displaying a first subroutine, wherein the first subroutine includes at least one creation control corresponding to each interaction; displaying a list of contact objects in response to a trigger operation on the first creation control, wherein the first creation control is any one of the at least one creation control, the first creation control corresponds to a first interaction, and the first interaction is any one of the at least one interaction; highlighting at least one selected contact object in response to a selection operation in the contact object list; and sending a second subroutine to clients corresponding to each of the at least one contact object in response to a send trigger operation, wherein the second subroutine is used to perform the first interaction. This application improves the relevance between the subroutine and the client, enabling rapid creation of interactions.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Selecting a quantum computer

A method, apparatus, and product comprising: obtaining an indication of an execution task, the execution task comprises executing a quantum program a number of times, the number of times is larger than two times; and selecting a quantum computer from a set of two or more quantum computers for performing the execution task, the set of two or more quantum computers comprise a first quantum computer and a second quantum computer, said selecting the quantum computer is performed based on a first value of a performance parameter that is associated with the first quantum computer and based on a second value of the performance parameter that is associated with the second quantum computer.
Owner:CLASSIQ TECH LTD

Method and device for simulating and analyzing dynamic load of nuclear reactor core during decommissioning

This invention discloses a method and apparatus for simulating and analyzing the dynamic loads of nuclear reactor decommissioning and dismantling, comprising: constructing a refined finite element model of the reactor body; developing a custom subroutine for loading moving dynamic loads; setting and calculating multi-dimensional simulation conditions; verifying structural safety thresholds and identifying weak points; and optimizing and analyzing operational parameters. The technical solution of this invention solves the problems of existing technologies being unable to accurately simulate the mechanical response of moving dynamic loads during reactor dismantling, unable to comprehensively cover all operational conditions, and unable to provide accurate safety control parameters for dismantling operations.
Owner:BEIJING UNIV OF TECH

Subprogram sharing method, subprogram sharing device, electronic device, and computer program

An embodiment of the present invention discloses a subprogram sharing method, device, electronic device, and storage medium. In the embodiment of the present invention, a subprogram sharing page of a subprogram is displayed. In response to a trigger operation on a target sharing method selection control among the sharing method selection controls, subprogram-related information of the subprogram can be acquired from a target smart vehicle and a subprogram sharing request can be sent to the target smart vehicle based on a communication method corresponding to the target sharing method selection control. The subprogram sharing page includes at least one sharing method selection control, each of which corresponds to one communication method. The subprogram sharing request includes subprogram-related information, and a target subprogram page corresponding to the subprogram is displayed by the target smart vehicle based on the subprogram-related information.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Method to protect a stack from manipulation in a data processing system

A method is provided to protect a stack of return addresses from manipulation. The return address indicates where to return in a computer program after a subroutine is called. In the method, an encryption key and an initial tweak value is selected. For a return address to be stored on the stack, a first chained address is generated by encrypting the return address with the encryption key and the initial tweak value. The first chained address is provided to the stack instead of the return address. For a subsequent return address that is subsequent to the return address, a second chained address is generated by encrypting the subsequent return address with the encryption key and the first chained address. The second chained address is provided to the stack instead of the subsequent return address. The method provides effective protection without requiring additional memory in a memory limited system.
Owner:NXP BV

Subprogram resource quota management method, device and system for smart meter

The application discloses a subprogram resource quota management method, device and system of a smart meter. The method is applied to a host computer and comprises the following steps: obtaining an executable subprogram, wherein the executable subprogram is written by using a preset resource quota during development; determining a target resource quota, and updating the executable subprogram when the target resource quota is smaller than the preset resource quota; and delivering the updated executable subprogram to the smart meter, so that the smart meter loads and runs the updated executable subprogram according to the target resource quota. The method can limit the resource quota of each executable subprogram, and multiple executable subprograms can work cooperatively, thereby realizing multi-application of the smart meter.
Owner:BEIJING SMARTCHIP MICROELECTRONICS TECHNOLOGY CO LTD +3

An integral field device, an integral distributed controller and a method for integral controlling of an industrial process

A method for integral controlling of an industrial process can include steps of: (a) dedicating said distributed functional tasks, wherein are each uninterrupted in running thereof by others, each of said dedicated functional tasks is defined by a location label in space of the industrial process; (b) providing a digital interface for each of the dedicated functional tasks to digitally control therefor; (c) providing the corresponding control subprograms to control the dedicated functional tasks via the digital interfaces thereof, respectively, wherein each of the corresponding control subprograms is provided to be uninterrupted by other of the corresponding control subprograms in executing thereof; (d) compiling the corresponding control subprograms in a control program, wherein each of the corresponding control subprograms is defined by a corresponding program label, whereby the corresponding control subprograms are intercommunicated one other for running the control program; (e) providing a subprogram communicating interface for each of said corresponding control subprograms, whereby said corresponding control subprograms are communicativeable; (f) providing a controlling algorithm, whereby said corresponding control subprograms are intercommunicated one other via said control program running environment for running said control program, wherein said corresponding control subprograms are intercommunicated one other by applying said program labels thereof; (g) integrating at least the corresponding digital interface, corresponding control subprogram and subprogram communicating interface defining the corresponding dedicating functional task to configure a corresponding integral field device, IFD, provided with an embedded software executing facilities, whereby each of steps (a) - (g) is accomplished for controlling said corresponding dedicated functional task; (h) embedding IFD controlling interface in said corresponding IFD, whereby each of steps (a) - (g) is controlled; (i) locating said corresponding IFD in the location of said corresponding dedicated functional task to be controlled therefor; (j) integrating a corresponding plurality of said corresponding IFDs, where are each located in the location of the corresponding dedicated functional task, to configure a single integral distributed controller, IDC, wherein the IFD controlling interfaces of said corresponding plurality of said corresponding IFDs is integrated to configure the distributed software runtime operating environment, the subprogram communicating interfaces of said corresponding plurality of said corresponding IFDs is integrated to configure a control program runtime environment, for said integral controlling of said industrial process, respectively; (k) configuring said IFD controlling interface embedded into each of said corresponding IFDs of said IDC to control and acquire data of each of said corresponding IFDs and dedicated functional tasks to be controlled thereby, wherein said data is provided via said software runtime operating environment for controlling other corresponding IFDs and dedicated functional tasks to be controlled thereby, in said IDC for said integral controlling of the industrial process, respectively; (1) providing Integrated Development Environment for developing each of steps (a) - (k). An integral field device, IFD, integrates at least at least the corresponding digital interface, corresponding control subprogram and subprogram communicating interface defining the corresponding dedicating functional task, and IFD controlling interface, for controlling the IFD and corresponding dedicating functional task in its location. An integral distributed controller, IDC, includes at least a plurality of IFD devices neighborly connected one other for configuring a software runtime operating environment and a control program runtime environment providing to accomplish the integral controlling of the industrial process.
Owner:TORJMAN NIYYA NIYYA

Concurrent, multi-cadence update management

The present invention relates to a method for managing updates in a managed network environment. The method includes defining a multiple update subroutines, each with a specific n and cadence for activation. These subroutines are implemented concurrently, allowing for a multi-cadence approach to update management. The method leverages a content feed comprising an enumeration of outstanding product updates and associated metadata to determine the activation of the subroutines. This innovative approach ensures that updates are managed efficiently and effectively, catering to the varying needs of different network components and jurisdictions.
Owner:IVANTI INC

Processor subroutine cache

A processor includes an execution unit and a subroutine cache. The execution unit is configured to execute instructions. The subroutine cache us configured to provide instructions of a subroutine to the execution unit for execution. The subroutine cache includes subroutine instruction storage, a subroutine address register, and subroutine cache control logic. The subroutine control logic is configured to: identify a subroutine call instruction provided to the execution unit; determine whether an instruction of a subroutine invoked by the subroutine call instruction is stored in the subroutine instruction storage by evaluating a subroutine validity indicator that indicates whether at least a portion of the subroutine is stored in the subroutine instruction storage; and provide the instruction of the subroutine to the execution unit based on the subroutine validity indicator indicating that at least a portion of the subroutine is stored in the subroutine instruction storage.
Owner:TEXAS INSTRUMENTS INC

An integrated calibration measurement system

This invention discloses an integrated calibration and measurement system. Its core is to control the parameters of measuring instruments through software, automatically read and save results, and generate calibration certificates, achieving efficient calibration of instrument equipment. The system connects instrument equipment into measuring instrument groups according to calibration specifications. Each group is equipped with a corresponding subroutine, forming a calibration and measurement group. The computer, instruments, and software together constitute the basic calibration and measurement system. The integrated system consists of a server and multiple basic systems, which can be flexibly combined according to task requirements to achieve simultaneous calibration of multiple devices. Measurement parameters are stored in a database in the form of preset values. During measurement, these parameters are automatically read and written to the instruments, and the results are automatically saved and calibration certificates are generated, achieving full automation. Through preset parameters and automation functions, this system reduces manual labor intensity, improves calibration efficiency, reduces human error, and ensures the consistency and reliability of measurement results.
Owner:CHINA ELECTRONICS TECH RUISHI (XIAN) TECH SERVICE CO LTD