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

50 results about "Common code" patented technology

Software-directed divergent branch target prioritization

A system that includes at least one multi-threaded processor forms a multitude of converged thread sub-groups from a main thread group, wherein each thread sub-group includes a common code block. A loop is configured to jump to a different target address of a branch instruction in an order determined by a priority configured for each different target address.
Owner:NVIDIA CORP

Multi-page application construction method and device, equipment and medium

The invention relates to the technical field of research and development management, can be applied to business scenes of financial science and technology, medical health and the like, and discloses a multi-page application construction method and device, equipment and a medium, and the method comprises the steps: configuring a mapping relation between a template path and a script path; traversing a page module under the source file directory, and extracting a module identifier and a script path parameter; generating an entry script reference and injecting a placeholder of the template engine, and generating a page entry file; setting an entry configuration item of the construction tool and loading a module script file; executing a code compiling process, a dependency analysis process and a static resource packaging process; extracting a public dependency library of the page module and combining the public dependency library with the module script file into a public code block; and packaging the public code block and the compiled product into a deployable application package. According to the method, the mapping relation between the template entry and the script path is uniformly managed, the page entry file is automatically generated, and the construction tool entry is configured, so that the page entry configuration complexity is reduced.
Owner:CHINA PING AN LIFE INSURANCE CO LTD

Application method of water conveyance tunnel BIM (Building Information Modeling) engineering management service

The invention relates to the technical field of engineering digitization and information, and discloses a water conveyance tunnel BIM model engineering management business application method, which comprises the following steps: carrying out management business carding, and determining an engineering unit hierarchical structure; uniformly coding the data information related to the management service and the hierarchical structure data of the engineering unit to form a service data coding result and an engineering division coding result; creating a water conveyance tunnel BIM model, and endowing model components with the codes to form BIM data carrying code information; inputting the business data and the BIM data carrying the coding information into a digital construction and management system, and associating the business data and the BIM data by using a common coding identifier; based on the association, business management digital applications of investment, progress, quality, safety and the like are carried out in a digital construction and management system. Through standardized data sorting and coding, fusion of the BIM model and engineering management business is realized, the problem of data splitting is solved, and the refinement and digitization level of water conveyance tunnel engineering management is improved.
Owner:CHINA SOUTH-TO-NORTH WATER DIVERSION GROUP WATER NETWORK SMART TECHNOLOGY CO LTD

Page code generation method and device, electronic equipment and storage medium

InactiveCN119396394Afusion simpleresolve incompatibilitiesVersion controlNatural language data processingCode generationEnd system
The invention provides a page code generation method and device, electronic equipment and a storage medium, and the page code generation method comprises the steps: determining target component configuration information adaptive to different types of fields in a JSON configuration file of a CRUD page to be developed; performing code generation based on the configuration information of each target component and a preset EJS template, and determining a front-end React Type file code of the CRUD page to be developed; wherein the preset EJS template is an EJS template which is extracted from common codes of different CRUD pages in advance based on React project specifications. By using the method, the code generator can solve the technical problems that an existing low-code development platform does not have a unified standard and is high in learning cost, and existing old project code splitting and customization extension are limited, the development efficiency of an existing reaction front-end system is greatly improved, and project iteration online time is shortened.
Owner:WEBRAY TECH BEIJING CO LTD

Information processing device, method, and program

To support large scale software refactoring by using a language model.SOLUTION: An information processing device is provided with execution control means for extracting a group of a plurality of code blocks including similar description determined by a prescribed language model to have a high similarity of feature information of a program by at least a portion of a set of a plurality of programs constituting prescribed software by using the language mode, and generating a common code block describing common processing based on the similar description and a plurality of partial code blocks corresponding to each code block on the basis of difference between each code block and the similar description from the plurality of code blocks belonging to the group by using the language model.SELECTED DRAWING: Figure 1
Owner:NEC CORP

Learning-based dynamic signal formatting with branch coding

Methods, systems, and devices for wireless communication are described. A transmitter may transmit control signaling indicating a common resource commonly allocated to a set of receivers, a dedicated resource allocated to a first receiver, and a branch coding structure indicating a common code segment of a branch codeword and a dedicated code segment. The transmitter may determine the branch coding structure based on common data for multiple receivers, a number of hierarchical levels, a machine learning model, or any combination thereof. The transmitter may use the branch coding structure to encode common data and dedicated data in a dynamic signaling format into at least one branch codeword, and transmit the at least one branch codeword to the first receiver via the common resource and a dedicated resource. Where the branch coding structure is known, the first receiver may decode the branch codeword transmitted by the transmitter in the dynamic signaling format.
Owner:QUALCOMM INC

Multi-view contrastive learning cross-language source code representation method

The present application relates to a multi-view contrast learning cross-language source code representation method, and belongs to the technical field of computer software information. Firstly, the present application initializes the learnable parameters of the Transformer according to the programming language type using a meta-learning method; secondly, the present application constructs a code feature heterogeneous graph depending on the syntax, structure and other information of the source code segment, aggregates the heterogeneous graph using a GCN to obtain graph node embedding; then, the present application aggregates the same-hop neighborhood information of the nodes according to the meta-path to obtain the serialized representation of the graph nodes, generates the graph node embedding using a Transformer and a hierarchical attention mechanism; finally, the present application establishes a contrast loss function according to the node embedding under two perspectives, and trains a cross-language source code representation model. The present application extracts programming language specific information and constructs a model using multi-view graph node embedding to improve the cross-language code representation effect and improve the accuracy of code summarization, source code vulnerability detection and the like, in view of the fact that the existing method applies general code features of programming languages to affect the representation effect and the model appears to be over-smoothed.
Owner:BEIJING INST OF TECH

Applet code compiling method and device, equipment and medium

The application discloses a kind of applet code compiling method, device, equipment and medium, it is related to financial technology technical field, the method is applied to applet code compiler, which is provided with main package configuration file, subpackage configuration file and processing queue, the applet code compiling method includes: when receiving applet code compiling instruction, the main package configuration file and the file content corresponding to the subpackage configuration file are obtained, wherein the branch code required by different sub-type applets in the applet is set in the subpackage configuration file, and the common code required by different sub-type applets in the applet is set in the main package configuration file;Based on the whole file content, obtain the node to be processed;The node to be processed is placed in the processing queue to be queued and compiled to obtain a compiled file.The application solves the technical problems of poor maintainability and poor code reusability in existing applet code compilation.
Owner:WEBANK (CHINA)

Static detection method for multi-type text files and script files

The invention provides a static detection method for multi-type text files and script files, a storage medium and electronic equipment. The static detection method comprises the following steps: acquiring a to-be-detected file; mapping each character into a predefined character category to obtain a character category sequence; carrying out statistics on similar characters continuously appearing in the character category sequence, and carrying out classification according to the number of continuous appearing times obtained through statistics to obtain a hierarchical coding sequence; combining the character category sequence with the hierarchical coding sequence to generate a structured fuzzy feature character string of the file; and matching the structured fuzzy feature character string with a feature library in a static detection engine, and judging the security of the file according to a matching result. The feature extraction process does not depend on the specific grammar or semantics of the file, so that different types of text and script files can be uniformly processed, the universality is very high, and the method has certain resistance to common code deformation and simple confusion.
Owner:HARBIN ANTIY TECH

Software deployment method, device, electronic device and storage medium

The present application discloses a software deployment method, device, electronic device and storage medium, belonging to the field of software technology, the method comprising: receiving a software deployment request including a software package to be deployed and metadata, parsing the metadata, obtaining interface information of an application program interface in a public code library required by the software package to be deployed at runtime, comparing the interface information with the interface information of the application program interface in a locally installed public code library to determine whether the software package to be deployed is compatible with the local software operating environment, and determining whether to respond to the software deployment request based on the information of whether the software package to be deployed is compatible with the local software operating environment. In this way, the compatibility between the software to be deployed and the local software operating environment is judged before the software is deployed, which can effectively avoid software deployment problems caused by incompatibility.
Owner:ZHEJIANG DAHUA TECH CO LTD

System and methods for automatic code maintenance and code healing using genai

Example techniques for code modifications are described. In an example, one or more portions of a source code that require modification are identified. Further, for each of the identified portions of the source code, a modification to be performed is identified. Furthermore, a unique identifier corresponding to each of the identified portions is generated. The unique identifier corresponds to the modification to be performed on the respective portions of the source code. Based on the unique identifier corresponding to each of the identified portions, an artificial intelligence (AI) module is selected for each of the respective portions. The selected AI module is triggered to generate a modification code to replace each of the respective portions of the source code.
Owner:HONEYWELL INTERNATIONAL INC

Business function implementation method and device and related product

The embodiment of the invention discloses a business function implementation method and device and a related product, and the method comprises the steps: constructing a function implementation code of a function interface according to a difference point and the content defined by an interface under the same engineering project, and achieving a set of common codes which can be adaptive to application software and also can be adaptive to light applications. The function realization of two forms of products can be realized through one set of codes, and the project development cost and the subsequent maintenance workload are greatly saved; in addition, the function implementation codes of the two forms of products are deployed in the same engineering project, so that the interface effects finally displayed by the products are highly consistent due to existence of more generality.
Owner:SHENZHEN QIANHAI BAIDI NETWORK CO LTD

A code comment generation method and device based on a sequence generation adversarial network

The present invention proposes a method and device for generating code comments based on a sequence generative adversarial network. By introducing reinforcement learning, the effect of code comment generation is further improved. Complete code comments can help developers quickly understand the corresponding code content and greatly improve development efficiency. In order to reduce the workload of developers outside development while ensuring the completeness and quality of code comments, the task of code comment generation is proposed. Since the generation effect of current common code comment generation algorithms is limited, in order to further improve the effect, after constructing a generation network based on a graph neural network and a discriminant network based on a convolutional neural network, the present invention introduces a sequence generative adversarial network, and completes the transfer of the loss function gradient between the generation network and the discriminant network through the policy gradient method to establish an adversarial relationship. The present invention goes through three training stages in total and finally obtains a generation network with a better generation effect.
Owner:ZHEJIANG UNIV

Program running method and device

A program running method and a device are described for improving efficiency of running an application. The method includes obtaining a dynamic image of an application, where the dynamic image includes a trampoline function pointer segment, the trampoline function pointer segment includes at least one trampoline function pointer, the at least one trampoline function pointer corresponds to at least one interface, and the at least one interface includes an interface of a kernel or an interface of a common code library The method also includes calling the interface of the kernel or the interface of the common code library based on the trampoline function pointer segment, to run the application.
Owner:HUAWEI TECH CO LTD

A method for automatically embedding public code into Android App

The present invention discloses a method for automatically implanting public code into Android App, comprising the following steps: S100, extracting public code to main APP, and packaging to form public APP; S200, decompiling the public APP and third-party APP respectively; S300, modifying and correcting the third-party APP decompiled file according to the public APP decompiled file. The method for automatically implanting public code into Android App provided by the present invention is reasonably designed, and realizes interactive communication between APPs by means of decompiled packaged implanted code. The whole process can be realized by automated code written in Python, which greatly reduces the labor cost and time cost compared with the traditional method of manually integrating SDK to realize interactive communication between APPs, and has stronger scalability.
Owner:ANHUI PAMI INTELLIGENT TECH CO LTD

Code bin multiplexing system

The invention relates to the technical field of code warehouse management, in particular to a code warehouse multiplexing system which enables a universal module to be directly multiplexed by a plurality of projects by constructing a universal code warehouse, effectively reduces the repeated coding amount of universal logic, avoids version chaos of the universal module in different projects, and improves the efficiency of code warehouse management. The method can be applied to all projects only by updating in the universal code warehouse, the maintenance cost is effectively reduced, different projects can be flexibly adapted through combined use of the project code warehouse and the universal code warehouse, and the management efficiency of the code warehouse is improved.
Owner:METAX INTEGRATED CIRCUITS (SHANGHAI) CO LTD

Code generation method, device and equipment

The code generation method comprises the steps that a computational graph corresponding to a processing flow of a target service is obtained, and the computational graph comprises a plurality of nodes and connecting edges between the nodes; wherein each node in the plurality of nodes corresponds to at least one processing step in the processing flow, the node comprises a code segment used for executing the processing step corresponding to the node, and the connecting edge is used for representing a data dependency relationship between the nodes connected by the connecting edge; splicing the code segments and the universal code segments included in the plurality of nodes to obtain a code set for processing the target business; wherein the universal code segment comprises a first code segment used for transmitting data between the nodes, and in the code set, the first code segment is inserted between the code segments included in the nodes connected by the connecting edge. The code generated by the method can save a data memory area in a memory.
Owner:HUAWEI TECH CO LTD

A page rendering method and device, electronic equipment and storage medium

The application relates to the computer technical field, in particular to a page rendering method and device, electronic equipment and storage medium, to realize efficient page rendering. The method comprises the following steps: acquiring a sub-code module set called by each page code module according to preset module construction information, each page code module containing exclusive code for realizing corresponding webpage page rendering; each sub-code module containing common code for realizing webpage page rendering; obtaining a page code module set to which each sub-code module belongs based on the sub-code module sets; loading a first page code module used by a to-be-rendered page when the to-be-rendered page is accessed; determining a common module depended by the first page code module based on the page code module sets and preloading the common module, the common module being a sub-code module called by at least two page code modules. The application can effectively guarantee system performance without wasting resources, and realizes efficient page rendering.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Device access method, device, electronic device, system and storage medium

The present invention discloses a device access method, apparatus, electronic device, system and storage medium, the method comprising: downloading a protocol adapter and running the protocol adapter; obtaining an access token from a device server through the protocol adapter; accessing the device server according to the access token to determine the device to be accessed; obtaining attribute information of the device to be accessed from the device server, and reporting the attribute information of the device to be accessed to an Internet of Things platform. The scheme of the present invention implements device access through a protocol adapter developed for the device to be accessed, the protocol adapter is decoupled from the Internet of Things platform, the code coupling is reduced, the workload of device access is reduced, and the labor cost is saved; as many general codes as possible can be placed in the framework of the Internet of Things platform, and the protocol adapter only focuses on the conversion adaptation of the protocol, which can greatly reduce the workload of device protocol adaptation and customization development, shorten the development cycle, and maintain the stability of the platform and increase the robustness of the platform.
Owner:JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD

A method for realizing the conversion of balance certificate to program general code in wind tunnel test

The application discloses a method for realizing code conversion from balance certificate to program in wind tunnel test, which automatically reads the Word balance certificate by using the program, searches the information such as the bridge combination and the coefficient table in the balance certificate, and automatically generates the C language code for balance load calculation according to the balance formula algorithm, so as to be directly used for calculating the load by the data processing program. The method realizes one-key conversion from the balance certificate to the program calling code, solves the problems of low efficiency and high error rate caused by manually inputting the balance formula coefficients, greatly improves the test efficiency, and guarantees the reliability of the calculation result.
Owner:LOW SPEED AERODYNAMIC INST OF CHINESE AERODYNAMIC RES & DEV CENT

Simulation method, device and computer equipment based on general code framework

This invention relates to a simulation method, apparatus, and computer device based on a general code framework. The method includes: editing an object description file; dynamically generating framework code for the general code framework based on the object description file; generating corresponding data structures in the framework code based on object class and interaction class information from the object description file; creating interface classes that inherit from simulation function classes; adding a simulation unit to a co-simulation; calling relevant interface class functions to send and receive object class data and interaction message data in the simulation progress callback; serializing and deserializing the simulation running data input and output by the co-simulation according to the data structures; and calling a stop simulation interface to terminate the simulation when the simulation stops. This method provides a modifiable and reusable code framework for the convenient integration and development of simulation units, enabling automatic invocation of simulation middleware services and reducing the difficulty and workload of integration and development.
Owner:NAT UNIV OF DEFENSE TECH

Recording and reporting of driving characteristics with privacy protection

In a vehicle usage monitoring system, the privacy of the user is protected by performing some coding prior to sending the information from the user. Specific details of the user's driving history are converted to generalized codes that relate to insurance rates. Optionally, different types of vehicle information may be combined into generating the codes to be sent from the user in order to provide even more privacy. The codes may be used to calculate a vehicle insurance rate.
Owner:APPY RISK TECH LTD

Method for determining an absolute position of a transporting mobile device on a workboard arrangement,

The invention relates to a method for determining an absolute position of a transport mobile device (2) on a working table arrangement (3), the working table arrangement (3) having at least two coding segments (6), the two coding segments (6) being arranged directly adjacent to one another, each of the coding segments (6) having a coding of a local position on the coding segment (6), the coding segments (6) being arranged in a manner that the coding segments (6) are arranged in a manner that is not parallel to one another, and the coding segments (6) being arranged in a manner that is not parallel to one another. The at least two coding segments (6) are entered in a common coding map (10) of the worktop arrangement (3) such that a global position on the common coding map (10) can be determined on the basis of a local position on the respective coding segment (6), each of the coding segments (6) providing coding information, the coding information being readable by the transport mobile device (2), the coding information of the at least two coding segments (6) together forms a segment code, the segment code forms an identification of at least one of the coding segments (6) in a common coding map (10), and the coding information of the at least two coding segments (6) is identified on the basis of the identified coding segment (6) and the coding of the local position on the identified coding segment (6). An absolute position of the transport mobile device (2) in the common coded map (10) and / or the work table arrangement (3) is determined.
Owner:ROBERT BOSCH GMBH

Construction index coding method, device, electronic equipment and storage medium

The present invention relates to the field of engineering management technology, and discloses a construction index coding method, device, electronic device and storage medium, including obtaining engineering design documents and engineering codes; the engineering codes include general codes; establishing code associations between labor, material requirements and equipment requirements in the engineering design documents and the engineering codes; establishing code association connections between various engineering sub-projects based on the general codes; establishing code associations between labor, material requirements, equipment requirements and budget funds based on the above code associations; then establishing code advancement relationships between the engineering and engineering sub-projects based on the above code associations; querying the nodes of the engineering and the advancement of the engineering based on the code advancement relationships. The present invention establishes code associations between the engineering design documents and the engineering codes, and can quickly obtain key information in the engineering through code query, so as to carry out effective communication and coordination, and ensure that the engineering is smoothly advanced in accordance with the predetermined direction and progress.
Owner:CHINA THREE GORGES CORPORATION

Computer-implemented method for performing a system assessment

A computer-implemented method including creating at least one run configuration package including at least a specification hierarchy, creating an application protocol interface including a generic code portion and an application-specific code portion, receiving an input for building an assessment environment from the run configuration package referencing an assessment application tool via the application protocol interface, and building the assessment environment based on the input. The assessment environment receives inputs using a standardized format, modifying various aspects of the assessment, based on the information in the specification hierarchy. The specification hierarchy is linked to a plurality of specification data objects for setting the assessment environment. The generic code portion is configured to provide a standardized instruction to the application-specific code portion and the application-specific code portion is configured to modify a format of the plurality of specification data objects linked to the specification hierarchy for the assessment application tool to be utilized.
Owner:VOLVO CAR CORP

High-speed pipelined ADC imbalance and bit weight calibration method and system based on LMS algorithm

The invention discloses a high-speed pipelined ADC (Analog to Digital Converter) imbalance and bit weight calibration method and system based on an LMS (Least Mean Square) algorithm. A threshold approach detection module is arranged for each comparator in a flash type sub-ADC, and when an input value at one end of the comparator is detected to be close to a detection threshold input at the other end of the comparator, the threshold approach detection module is started; an LMS algorithm is utilized to determine the actual common-mode code value of the code value conversion boundary of each comparator and the length of the conversion boundary according to the output signal of the threshold proximity detection module and the post-stage output code DBACK of the ADC so as to calibrate the offset of the comparators and the bit weight error caused by the capacitor mismatch and the inter-stage gain error. According to the system, the misalignment amount and the length of the conversion boundary can be accurately obtained, and comparator misalignment and bit weight errors caused by capacitor mismatch and inter-stage gain errors are calibrated. According to the method, synchronous background calibration of various errors is supported, and the overall linearity and dynamic performance of the ADC are remarkably improved.
Owner:XIDIAN UNIV

Learning-based dynamic signal formatting with ramification coding

Methods, systems, and devices for wireless communications are described. A transmitter may transmit control signaling indicating a common resource commonly allocated to a set of receivers, a dedicated resource allocated to a first receiver, and a ramification coding structure that indicates a common code segment and a dedicated code segment of a ramification codeword. The transmitter may determine the ramification coding structure based on common data for multiple receivers, a quantity of hierarchical levels, a machine learning model, or any combination thereof. The transmitter may encode common and dedicated data into at least one ramification codeword in a dynamic signaling format using the ramification coding structure, and transmit the at least one ramification codeword to the first receiver via the common and dedicated resources. Being aware of the ramification coding structure, the first receiver may decode the ramification codeword transmitted by the transmitter in the dynamic signaling format.
Owner:QUALCOMM INC

Platform software release method, starting method, system, device and medium

This application discloses a method for releasing and launching platform software, a system, an apparatus, a medium, and a product, relating to the field of computer software technology. The method for releasing platform software includes: a server obtaining the source code of software related to a target platform, wherein the source code includes platform common code and project difference code for at least one project on the target platform; compiling the source code to obtain a platform common file for the platform common code and project difference files for the project difference code; constructing a platform software package corresponding to the project based on the platform common file and the project difference files, and outputting the platform software package, wherein the platform software package is a file in image file format. Since the common code and the difference code are compiled separately in this application, all projects on the platform can share the same set of compiled common code results, thereby significantly reducing the compilation workload and saving server computing resources.
Owner:ZHEJIANG GEELY HLDG GRP CO LTD +1

Information processing apparatus, method, and non-transitory computer-readable medium

An information processing apparatus comprises: at least one memory storing instructions; and at least one processor configured to execute the instructions to; extract, using a predetermined language model, a group of a plurality of code blocks including a similar description determined to have high similarity of feature information of a program by the language model from at least a part of a set of a plurality of programs included in predetermined software and generate, from the plurality of code blocks belonging to the group, using the language model, a common code block in which common processing based on the similar description is described and a plurality of partial code blocks corresponding to each code block based on a difference between each code block and the similar description.
Owner:NEC CORP

Interface function acquisition method and device, equipment, storage medium and program product

The invention relates to an interface function obtaining method and device, equipment, a storage medium and a program product, and relates to the field of finance. The method comprises the steps of determining a target interface function corresponding to a to-be-developed business program from a preset universal code library; according to the demand information of the to-be-developed business program, processing private codes in variable codes of the target interface function to obtain processed variable codes; the private code is a code corresponding to a non-callable function in the processed variable code; and according to the processed variable code and an immutable code in the target interface function, obtaining the target interface function meeting the to-be-developed business program. By adopting the method, the code reuse efficiency can be improved.
Owner:BANK OF CHINA