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

17 results about "Duplicate code" patented technology

Duplicate code is a computer programming term for a sequence of source code that occurs more than once, either within a program or across different programs owned or maintained by the same entity. Duplicate code is generally considered undesirable for a number of reasons. A minimum requirement is usually applied to the quantity of code that must appear in a sequence for it to be considered duplicate rather than coincidentally similar. Sequences of duplicate code are sometimes known as code clones or just clones, the automated process of finding duplications in source code is called clone detection.

Multi-terminal code repetition detection and component reconstruction method and device, equipment and medium

The invention relates to the technical field of code analysis, and discloses a multi-terminal code repetition detection and component reconstruction method, device, equipment and medium, and the method comprises the steps: carrying out code analysis on a pre-acquired project code file, and identifying a code mapping relation to obtain an abstract syntax tree and a cross-platform code mapping relation, and according to the abstract syntax tree and the cross-platform code mapping relationship, carrying out repetition logic detection on the project code file to obtain a repetition detection result, according to the repetition detection result, confirming a repetition code in the project code file, carrying out cross-platform code optimization on the repetition code to obtain an optimized code, and carrying out cross-platform code optimization on the optimized code. The method comprises the steps of obtaining duplicated codes, extracting reusable components on the basis of the duplicated codes, generating a multi-end adaptive component template according to a preset condition compiling logic, and reconstructing the optimized codes according to the reusable components and the multi-end adaptive component template to obtain reconstructed codes, so that the code duplicating detection and reconstruction efficiency is improved.
Owner:SHENZHEN LEXIN SOFTWARE TECH CO LTD

Secure flash memory module verification method and system based on parameterized reference model

The invention relates to a security flash memory module verification method and system based on a parameterized reference model, and aims to realize one-time writing and multi-position calling through packaging encryption judgment and data comparison logic, greatly reduce the duplicate code quantity of a test case, and reduce duplicate labor by using a uniform interface. By means of a parameter randomization mechanism in a construction script, automatic and multi-parameter combined verification of the secure flash memory module is realized, and the verification coverage rate is improved by parameterized automatic execution. AES key carrying is used as base class function packaging, case writing is simplified, process consistency is kept, key carrying process modularization is achieved, and maintenance cost is reduced. Various verification processes are executed under a unified framework, manual intervention is reduced, the human error probability is reduced, verification efficiency and stability are improved, meanwhile, stability and expandability of a simulation environment are improved, and the method can adapt to design and verification requirements of various security flash memory modules.
Owner:上海芯钛信息科技有限公司

Method for docking external system in supply chain system

The invention relates to a method for docking an external system in a supply chain system, and the method comprises the steps: designing a unified external system interaction framework based on message driving: defining a BaseHandler base class, and integrating getParams parameter analysis, sendRequest request sending and handleResponse response processing logic; external system configuration is stored through the relational database; the business system generates a standardized message and pushes the standardized message to a corresponding MQ theme; and monitoring Topic by the unified consumption service, querying configuration of an enabled state according to the actionCode in the message, dynamically instantiating and specifying a processor subclass, and sequentially executing parameter analysis, external request calling and response processing flows, so as to realize decoupling and dynamic expansion capabilities of business logic and external interaction. According to the method, through unified management configuration and logic, the code repetition rate is reduced, and the maintenance cost is reduced; dynamic configuration supports a quick start-stop docking function and adapts to business change requirements; the standardized process enables the code structure to be clear, and team cooperation and subsequent expansion are facilitated.
Owner:HEBEI TONGFU SHARING TECHNOLOGY CO LTD

Automatic decryption method and device for encryption configuration of cloud container cluster service, computer equipment and storage medium

The invention discloses a cloud container cluster service encryption configuration automatic decryption method and device, computer equipment and a storage medium, the method comprises the following steps: loading configuration information of a target application from a configuration center, the configuration information comprising at least one encryption configuration field; identifying a target field with a (at) Decrypt annotation in the configuration information, wherein the (at) Decrypt annotation is used for marking a field needing to be decrypted; decrypting the encrypted configuration field based on a preset decryption rule to obtain a decrypted configuration value; and injecting the configuration value into the target field to complete configuration loading of the target application. By implementing the method, the development process can be simplified, code repetition is reduced, and the development efficiency is improved; in addition, different items can share the same decryption logic, code redundancy is reduced, the code reuse rate is improved, and the technical scheme can be applied to the fields of finance and medical health.
Owner:PING AN TECH (SHENZHEN) CO LTD

A method and system for preventing the printing of duplicate product serial numbers

This invention discloses a method and system for printing duplicate product serial numbers, relating to the field of industrial automation technology. The method includes: a host computer responding to a trigger signal from the automatic loading / unloading module of the production line and initiating a real-time request to a serial number management server; the server dynamically generating serial numbers and immediately marking them as "assigned" in the database to ensure uniqueness from the source; and the host computer converting the serial numbers into private instructions for the inkjet printer via a dedicated protocol conversion module and driving the printing. The system includes an automatic loading / unloading module, an inkjet printing module, a host computer, and a serial number management server. This invention, through the coordinated action of event-driven triggering, real-time server-side processing, and host computer protocol conversion, achieves automated printing synchronized with the production cycle, as well as seamless integration between the IT system and OT equipment, solving the problems of duplicate codes and traceability in printing.
Owner:SUZHOU TIANMAI THERMAL TECH

Beverage capsule system with repeated codes

A system comprising a container for containing a precursor material, and a machine for preparing a beverage and / or food or a precursor of a beverage and / or food from the precursor material, wherein the container has a code arrangement comprising a plurality of code repetitions, each code encoding a binary sequence for at least partially encoding preparation information, and the machine comprises a code reading system for reading the code repetitions, a processing unit for processing the precursor material in the container, and an electrical circuit for controlling the processing unit based on the preparation information, wherein the electrical circuit is configured to implement a code decoder to read the code repetitions, obtain a binary sequence for each code, determine the number of bit errors associated with the binary sequence, and determine a recipe based on the binary sequence and the number of bit errors.
Owner:SOCIETE DES PRODUITS NESTLE SA

Circuit board two-dimensional code repeated code monitoring method

The invention discloses a circuit board two-dimensional code repeated code monitoring method, and relates to the technical field of industrial image recognition, and the method comprises the steps: obtaining and processing a global image of a large circuit board, and obtaining a binary image; performing parallel scanning on the binarized image, identifying a locator of the two-dimensional code and determining a boundary and an angle, performing geometric correction on a two-dimensional code area based on the determined boundary and angle, and outputting a corrected standardized two-dimensional code image area; performing parallel decoding on the plurality of corrected standardized two-dimensional code image areas, reading a module sequence, restoring a corresponding data character string, and outputting a data record of a physical position coordinate; and establishing a temporary data cache region for the current large circuit board, and carrying out repeated code judgment on the data record of the physical position coordinate and the record existing in the temporary data cache region. According to the invention, the problem of quality control failure caused by pollution of repeated codes to the traceability system is solved, and the reliability and integrity of the product traceability system in the intelligent manufacturing process are ensured.
Owner:JIANG XI XU SHENG DIAN ZI GU FEN YOU XIAN GONG SI

Anti-counterfeiting product production monitoring and duplicate checking detection method, system and equipment and medium

The invention discloses an anti-counterfeiting product production monitoring and duplicate checking detection method, system and device and a medium, and the method comprises a unique identification generation method which is used for converting product number batch and page number information for identifying the uniqueness of a product into a bar code and drawing the bar code to a printing stock bleeding position; the production monitoring and duplicate checking detection and online comparison method is used for carrying out production whole-process monitoring, duplicate checking detection and online comparison on the unique identification information. According to the technical scheme, the whole production process of the anti-fake product is monitored, the production progress is monitored in real time, duplicate checking detection is achieved for the anti-fake product with one object and one code, and repeated codes are completely eradicated.
Owner:ASYUN TECHNOLOGY (FUJIAN) CO LTD

Multi-data-source data circulation method and device, equipment and storage medium

The embodiment of the invention provides a multi-data-source data circulation method and device, equipment and a storage medium, and is applied to the technical field of data processing. According to the method, a modular and extensible abstract framework is constructed, a task interface, an abstract executor, a data requester and a data converter which are used for standardizing task objects are defined, and a centralized thread pool service is introduced to realize resource isolation and concurrent scheduling. The design supports rapid gap filling type access of a new channel, through unified and standardized operation, a core framework does not need to be modified, the expandability, the code reuse rate and the maintenance efficiency of the system are improved, meanwhile, the concurrent processing capacity and the overall stability of the system are enhanced, and the implementation is easy. The problems that in the multi-source heterogeneous data processing process, expansibility is poor, codes are repeated, and maintenance is difficult are solved.
Owner:LETV NEW GENERATION (BEIJING) CULTURE MEDIA CO LTD

Web page development methods, apparatus, equipment and storage media

This invention relates to the field of computer technology and discloses a method, apparatus, device, and storage medium for developing web pages. The method includes: receiving a web page development request; responding to the request by invoking a pre-built business code library and a pre-built component code library; generating a web page framework based on the business code library; performing conversion processing on the component code library to generate component links corresponding to the component code library; introducing the component links into the web page framework; and generating the web page using the Render function of the Vue framework library. Through this method, the invention can achieve the separation of component code and business code, eliminating the need for further separation of component code, reducing code coupling among multiple developers and departments, lowering communication costs and maintenance management risks, improving page development efficiency, and solving the problem of low web page development efficiency caused by developers repeatedly reviewing code when collaborating with multiple people and departments.
Owner:PING AN HEALTH INSURANCE CO LTD

Method and device for generating small trend picture, computer storage medium and terminal

The invention discloses a method and device for generating a small trend picture, a computer storage medium and a terminal.The method comprises the steps that two or more first combined icon objects are constructed, and each sub-element of the first combined icon objects preconfigures interaction characteristics of button release of a trend panel; the generality composition of small trend pictures of different specifications is abstracted into a unified basic template, and a basis is provided for multiplexing a first combined icon object; according to the method, the second combined icon object is selected from the first combined icon object according to the function requirement of the to-be-generated small-trend picture, so that code repetition for realizing the small-trend picture is eliminated, and redundancy of code development and maintenance is reduced; according to the names of the sub-elements, the input parameters and item values required for configuring points in the DCS, the dynamic characteristics of trend panel updating of the second combined icon object are configured, and the differentiation requirements of different small trend pictures are met; by multiplexing the first combined icon object and differentiated configuration processing, the generation efficiency of the small-trend picture is improved.
Owner:BEIJING HELISHI CONTROL TECH CO LTD

Screen adaptive management method and related equipment

The invention provides a screen adaptive management method and related equipment, which can avoid repeated code development, difficulty in maintenance and low development efficiency. The method comprises the following steps: integrating a PageSystem UI abstraction layer in a business Page, and obtaining the UI management capability of a target system; managing the state of the UI component of the target system through an interface provided by the PageSystem UI; monitoring a state change event of a UI component of the target system, and judging whether the state change event is a preset event or not; and if the state change event is the preset event, calling a service Page to execute a corresponding operation.
Owner:WUHAN MUCANG TECH CO LTD

A laser marking anti-duplicate code device

ActiveCN224475741UComputer hardwareScanner
This utility model provides a laser marking anti-duplicate code device, relating to the technical field of laser marking devices. It includes a positioning chassis, with a marking fixture mounted on the upper end of the chassis. A scanning unit is located on one side of the marking fixture, and an industrial barcode scanner is mounted on one side of the scanning unit. The scanning unit is connected to a marking device mounted on one side of the positioning chassis via a wire. The scanning unit is provided with an independent power supply. The scanning unit is connected in series with a marking signal button. The scanning unit is set to a normally closed state, remaining closed when a QR code is detected and normally open when no QR code is detected. When the scanning unit is normally open, it allows the output of a 24V electrical signal to the marking device for marking. When the product has already been marked, the scanning unit detects the QR code and remains in a normally closed state. At this time, even if the marking button is pressed, the circuit will not close, and no electrical signal will be output to the marking device, thereby preventing duplicate marking.
Owner:苏州奎兢精密电子有限公司

Multi-code decoding method, information matching method and product information management system

The invention provides a multi-code decoding method, an information matching method and a product information management system, and the method comprises the steps: carrying out the first processing of a product image, and obtaining a plurality of image blocks with preset sizes; an improved YOLOv8 multi-target detection model and a TensorRT reasoning acceleration technology are adopted to carry out rapid detection on each image block; eliminating repeated codes in all the image blocks, and cutting each residual code from the image block to which the residual code belongs to obtain a code block of the residual code; and for each residual code, when the confidence coefficient of the residual code exceeds a preset threshold value, calling a plurality of decoding engines according to a priority sequence to analyze the code block of the residual code, judging whether any decoding engine outputs decoding information or not, and if so, determining that decoding succeeds. The invention provides a multi-code decoding method, an information matching method and a product information management system, which are used for solving the problems of management mode lag, high management cost, low management efficiency, asymmetric product information, management errors and the like in the existing product information management.
Owner:WUHAN SANJIANG SPACE NETWORK COMM CO LTD

Code repeatability detection method and related device

PendingCN121387699AError detection/correctionProgramming languageDuplicate content
The invention discloses a code repetition detection method and a related device, relates to the field of software development, and can obtain an online or local modified file list based on a state monitoring instruction. And identifying the type of each code file in the changed file list to obtain the file type of each code file. And according to a repetition degree detection strategy corresponding to the file type, detecting repeated contents of the code file and the target code file to obtain repetition detection result data representing the repeated contents of the code file. And finally, summarizing the repeated detection result data according to a preset generation template to obtain a repetition degree detection report. According to the method, checking can be carried out before local codes are submitted, and the code repetition degree of code changing of developers can be reduced so as to extract or quote public files in advance. And the codes are compared with the target branch codes before being merged, so that developers can be guided to process repeated parts, and the code repetition degree of front-end projects is reduced to a greater extent.
Owner:AGRICULTURAL BANK OF CHINA

Code review method and device, equipment, medium and product

The invention relates to the technical field of software development, in particular to a code review method and device, equipment, a medium and a product, and the method comprises the steps: obtaining a to-be-reviewed code, inputting the to-be-reviewed code and a prompt into a pre-trained artificial intelligence model, and generating a review result and a repair code; wherein the prompt words are used for indicating code review directions; updating the to-be-reviewed code into a repair code, and repeatedly executing the step of inputting the to-be-reviewed code and the prompt word into the pre-trained artificial intelligence model until an iteration stop condition is met, so as to obtain a final repair code; and obtaining a final review result based on the final repair code and the review result generated by each iteration. Through multiple iterative reviews, the repair code output by the artificial intelligence model last time is used as the code to be reviewed next time, the problem that the artificial intelligence model repeatedly outputs the found problem can be avoided, more program defects or problems can be found, and the code review effect is improved.
Owner:SPREADTRUM COMMUNICATION (SHANGHAI) CO LTD