Patents
Literature
Hiro is an intelligent assistant for R&D personnel, combined with Patent DNA, to facilitate innovative research.
Hiro

45 results about "Programming style" patented technology

Programming style, also known as code style, is a set of rules or guidelines used when writing the source code for a computer program. It is often claimed that following a particular programming style will help programmers read and understand source code conforming to the style, and help to avoid introducing errors.

Parallel-aware, dedicated job co-scheduling method and system

In a parallel computing environment comprising a network of SMP nodes each having at least one processor, a parallel-aware co-scheduling method and system for improving the performance and scalability of a dedicated parallel job having synchronizing collective operations. The method and system uses a global co-scheduler and an operating system kernel dispatcher adapted to coordinate interfering system and daemon activities on a node and across nodes to promote intra-node and inter-node overlap of said interfering system and daemon activities as well as intra-node and inter-node overlap of said synchronizing collective operations. In this manner, the impact of random short-lived interruptions, such as timer-decrement processing and periodic daemon activity, on synchronizing collective operations is minimized on large processor-count SPMD bulk-synchronous programming styles.
Owner:LAWRENCE LIVERMORE NAT SECURITY LLC

System and method for computational unification of heterogeneous implicit and explicit processing elements

A system and method for computational unification of heterogeneous implicit and explicit processing elements which supports the aggregation of any number of such processing elements. The system and method of the present invention supports the generation of a unified executable program through the use of directive statements which are analyzed in conjunction with the semantic structures in the parsed source code to generate appropriate source code targeted to the implicit and explicit processing elements. The computational unification system and method of the present invention further embodies expertise with the particular programming style and idiom of the various processing elements.
Owner:SRC COMP

Parallel-aware, dedicated job co-scheduling within/across symmetric multiprocessing nodes

In a parallel computing environment comprising a network of SMP nodes each having at least one processor, a parallel-aware co-scheduling method and system for improving the performance and scalability of a dedicated parallel job having synchronizing collective operations. The method and system uses a global co-scheduler and an operating system kernel dispatcher adapted to coordinate interfering system and daemon activities on a node and across nodes to promote intra-node and inter-node overlap of said interfering system and daemon activities as well as intra-node and inter-node overlap of said synchronizing collective operations. In this manner, the impact of random short-lived interruptions, such as timer-decrement processing and periodic daemon activity, on synchronizing collective operations is minimized on large processor-count SPMD bulk-synchronous programming styles.
Owner:LAWRENCE LIVERMORE NAT SECURITY LLC

Development cloud platform based on template component

The invention discloses a development cloud platform based on a template component, comprising a plurality of functional modules encapsulated in a cloud service form, wherein the functional modules are respectively arranged in a basic service layer, a platform service layer, an application service layer, a template library and a component library. The invention reduces the initial development workload of an engineer's software project on the one hand, and guides the engineer to use a unified programming style for development on the other hand, thereby improving code stability and code qualityon the other hand by setting front-end frame code and functional components based on a template on the cloud end. The invention organizes software development engineers in the cloud, provides softwaredevelopment services for users in the form of cloud services, users do not need to assign and manage specific developers, but through the cloud platform, sharing software development engineers in a larger range, more flexible scheduling of human resources, thus effectively reducing the cost of software development for users, and improving the utilization of human resources for software development.
Owner:武汉空心科技有限公司

Method and system for exception handling in Java engineering project development

The invention discloses a method and a system for exception handling in Java engineering project development. The method comprises the following steps: defining a program exception subclass and a business exception subclass in a run-time exception class; throwing exceptions belonging to the program exception subclass and the business exception subclass to an upper level by a low level below a top level during the engineering project development; intensively capturing the exceptions, which belong to the program exception subclass and the business exception subclass and are thrown by the low level, by the top level, and converting into corresponding prompt information after the captured exceptions are processed. According to the method and the system disclosed by the invention, the program exception subclass and the business exception subclass are defined in the run-time exception class; exception detection is not performed by the low level, and a corresponding try catch block is correspondingly cancelled, so that the code of the top level and the code of the low level are very simple, code logics are clear, the programming style can be unified, and the reusability of the codes is improved.
Owner:INSPUR BEIJING ELECTRONICS INFORMATION IND

System and method for computational unification of heterogeneous implicit and explicit processing elements

A system and method for computational unification of heterogeneous implicit and explicit processing elements which supports the aggregation of any number of such processing elements. The system and method of the present invention supports the generation of a unified executable program through the use of directive statements which are analyzed in conjunction with the semantic structures in the parsed source code to generate appropriate source code targeted to the implicit and explicit processing elements. The computational unification system and method of the present invention further embodies expertise with the particular programming style and idiom of the various processing elements.
Owner:SRC COMP

Code updating method and device based on data standardization and terminal equipment

The invention is suitable for the technical field of data processing, and provides a code updating method and a dialogue robot configuration device based on data standardization, terminal equipment and a computer readable storage medium. The method comprises the following steps: scanning a preset standard code, and generating a first abstract syntax tree based on the standard code; performing generality analysis on the encoding information in the first abstract syntax tree to obtain a generality encoding rule; obtaining a current code, generating a second abstract syntax tree based on the current code, and judging whether the encoding information in the second abstract syntax tree conforms to the common encoding rule or not; if the encoding information in the second abstract syntax tree does not accord with the common encoding rule, updating the encoding information according to the common encoding rule; and converting the second abstract syntax tree accommodating the updated encodinginformation into an updating code, and outputting the updating code. Unification of code styles is achieved based on the abstract syntax tree, and the code updating efficiency and accuracy are improved.
Owner:深圳赛安特技术服务有限公司

Code similarity detection method and device

The invention discloses a code similarity detection method and a code similarity detection device, and relates to the technical field of computers. A specific embodiment of the method comprises the steps of obtaining a code file to establish an abstract syntax tree corresponding to a code; extracting vocabularies in the abstract syntax tree so as to map the abstract syntax tree into space vectorsaccording to the vocabularies; and calculating the code similarity based on the cosine distance of the space vectors. According to the embodiment, the problem that in the prior art, the situation thatprogramming logic or programming style is not violated, variables, names and types are normal, but a code architecture has obvious problems cannot be detected can be solved.
Owner:BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1

Method, apparatus, electronic device and readable storage medium for generating visual interface

The invention provides a method, a device, an electronic device and a readable storage medium for generating a visual interface, which can quickly generate a visual interface, save foreground development time, unify programming style and save maintenance cost. The method includes producing a component to define a base class of the component; invoking a component, wherein the component is invoked by using background code processing logic; and fine-tuning the component's property information.
Owner:BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1

System and method for computational unification of heterogeneous implicit and explicit processing elements

A system and method for computational unification of heterogeneous implicit and explicit processing elements which supports the aggregation of any number of such processing elements. The system and method of the present invention supports the generation of a unified executable program through the use of directive statements which are analyzed in conjunction with the semantic structures in the parsed source code to generate appropriate source code targeted to the implicit and explicit processing elements. The computational unification system and method of the present invention further embodies expertise with the particular programming style and idiom of the various processing elements.
Owner:SRC COMP

A data simulation method

The invention provides a data simulation method, which relates to a software design technique. The method comprises the following steps of: extracting signal field information from a header file datainterface and storing the information in a header file that can be identified by a compiler; 2, storing the signal field information in the header file in an XML file, and initializing the field variable in the signal field information according to the variable value stored in the XML file; 3, modifying the variable value of the field in the XML file to carry out data simulation. The invention canread and write the simulation data of the XML file very easily, and can be used for the development of the simulation software and the monitoring software. The method for extracting the simulation signal field information from the header file data interface provided by the invention can solve the problem that the interface control file database needs to manually check the interface control file when the interface is inconsistent with the actual airborne code. The method uses code generation technology and thus achieves a standard uniform programming style.
Owner:CHINA HELICOPTER RES & DEV INST

Annotation-based Android injection framework

The present invention discloses an annotation-based Android injection framework, and belongs to the technical field of computer software. The method comprises: by relying on the APT tool, extracting the annotated context in the source program; using the context information to implement the semantics in the annotation; adding the annotations for the member variables or methods; and describing the dependencies in the annotations to complete the binding of the relevant dependencies. According to the annotation-based Android injection framework disclosed by the present invention, by using the framework bounded with the annotation execution view and the sound monitor, not only development efficiency can be speeded up, but also the readability of the code can be improved, so that the code styleis more elegant, and the framework can be applied to most Android projects.
Owner:SHANDONG CHAOYUE DATA CONTROL ELECTRONICS CO LTD

A quality detection method for multi-person collaborative development of programming code and an electronic device

InactiveCN109284225ANormative styleLimit submissionSoftware testing/debuggingMain branchDEVS
The invention discloses a quality detection method for multi-person collaborative development programming code and an electronic device. The method comprises the following steps: A, pre-configuring code specification file rules and configuration code format file rules; B, automatically format that code through the code formatting file rule when the code is submitted; C, detecting that code throughthe rules of the code specification file; D, when passing that detection, the code is merged into the main branch; when failing the detection, the code is prompted to be modified and the modified code is resubmit. Through the invention, the code style is standardized, and the development cost of multi-person cooperation is reduced. Restricting the delivery of low-quality code allows developers toimprove their requirements, reduce the likelihood of bugs, and speed up problem localization.
Owner:SHENZHEN DIANMAO TECH CO LTD

Meta-learning-based code self-adaptive generation method

The invention discloses a meta-learning-based code self-adaptive generation method, which comprises the following steps of firstly, constructing a data set containing different code styles, training abasic code generation model which adopts an encoder decoder structure, and calculating the state vector of a code graph by using a graph neural network through an encoder; representing current context information of the program; enabling the decoder to generate a target code expression according to the context information by using a generation rule in the language grammar; learning different codestyles through meta-learning, so that a self-adaptive code generation model capable of quickly and accurately learning new style codes is trained; and finally, enabling the user to specify a target style code, carrying out a meta-training process on the adaptive code generation model, thus the model can generate a code with a target style. According to the code generation method, a meta-learningtechnology is introduced, and codes can be generated correctly and efficiently according to different personalized code styles of programmers.
Owner:NANJING UNIV OF AERONAUTICS & ASTRONAUTICS

Android application development system

The invention discloses an Android application development system, which comprises an upper-layer function module and a lower-layer interface module, wherein the upper-layer function module and the lower-layer interface module are used for page development; the upper-layer function module is used for interacting with a developer and comprises a button module, a gesture module and a page animation module; and the lower-layer interface module is used for generating an Android bottom layer code associated with the upper-layer function module and comprises a configuration interface, a parameter transmission interface, an event interface, a layout interface, an association interface, an operation interface and a restarting interface. The Android application development system provided by the invention can cause a developer to eliminate programming conflicts caused by different programming styles to an extremely high degree, and greatly simplifies a process that the developer calls the functions.
Owner:WUHAN DOUYU NETWORK TECH CO LTD

Character string look-up method and device

The invention discloses a character string look-up method and device, and belongs to the field of program development. The method comprises the steps that state machine configuration information is read, wherein the state configuration information comprises at least two sub-states, each sub-state is used for looking up a corresponding character string, and the character strings corresponding to at least two sub-states have a context relation; the target character string according with the predetermined contextual feature is looked up in a target text through a state machine according to the state machine configuration information. According to the method and device, the problems that a code style needs to be audited by a professional auditor, the audit efficiency is low, and the error rate is high are solved; the purpose that when the target character string with the complex contextual feature is looked up, only corresponding state machine configuration needs to be generated according to the target character string, and the state machine is indicated to automatically look up the target character string according to the state machine configuration, so that the look-up error rate is decreased while the look-up efficiency is improved.
Owner:GUANGZHOU HUADUO NETWORK TECH

Server and control method thereof

A control method of a server is provided. The method includes acquiring code information about a program, identifying at least one error with respect to a code style included in the code information based on a predetermined code style rule, acquiring at least one error information with respect to the identified code style, and modifying the code style by inputting the code information and the error information to an artificial intelligence model in which the code style rule is trained.
Owner:SAMSUNG ELECTRONICS CO LTD

Code detection method, device, equipment and storage medium

The invention provides a code detection method, a device, electronic equipment and a storage medium, and relates to the technical field of computers, and the method comprises the steps: analyzing a to-be-detected source code, and obtaining function name information in the source code; judging whether the source code contains a specified event namespace function name based on the function name information; if not, determining that a first code defect exists in the source code, and generating first defect report information corresponding to the first code defect; according to the method and device, the electronic equipment and the storage medium, automatic detection of the source code can be achieved, the triggering scene of the current function can be clearly determined and detected, the code style is unified outwards, and risks and problems existing in codes are effectively prevented; the source code quality is improved, the system operation safety is improved, and the subsequent maintenance cost is reduced; the detection efficiency of the source code is improved, and the workload of manual auditing of the source code is reduced.
Owner:BEIKE TECH CO LTD

Code generation method and code generation device

The invention is suitable for the technical field of computers, and provides a code generation method and a code generation device. The code generation method comprises: displaying a data table corresponding to a data source on a first interface in response to the operation of selecting the data source on the first interface, and obtaining table field information of the selection operation is obtained in response to the selection operation on the data table; and reading the corresponding code template from the first storage position according to the table field information, updating the target variable in the code template according to the table field information, and finally converting the code template after the target variable is updated to obtain a target code. According to the embodiment of the invention, various code templates with variables can be provided, the code template can be determined according to the selection result after the user selects the corresponding data source and the table field information, and the target code can be obtained after the variables in the code template are updated into the table field information, so that the development time is greatly saved, the code style is unified, and later maintenance is easy.
Owner:深圳市蜜蜂互联网络科技有限公司

Code template generation method and device, electronic equipment and storage medium

InactiveCN109582297AAvoid the problem of difficult maintenance in the later periodCreation/generation of source codeTemplate libraryComputer engineering
The embodiment of the invention provides a code template generation method and device, electronic equipment and a storage medium, and the method and device specifically comprise the steps: respondingto a page name input request, and receiving an input page name; Copying the required page content from the template library according to the page name; And filling a preset information slot with the page information in response to an information input request of the user. Through the operation, the support file of the corresponding new page can be automatically generated, so that the problems of different content styles and non-uniform code styles caused by human factors when the corresponding file is manually established can be avoided, and the problem of difficulty in later maintenance is also avoided.
Owner:BEIJING DAJIA INTERNET INFORMATION TECH CO LTD

Program operation evaluation method and apparatus

InactiveCN107678954AThe final score value is humanizedSoftware testing/debuggingResourcesError checkingComputer science
The invention discloses a program operation evaluation method and apparatus. Program codes of a student are subjected to code style check and code style score values are calculated; code error score values are calculated through code error check; test cases are executed to calculate code dynamic score values after the program codes are loaded; and the code style score values, the code error scorevalues and the code dynamic score values are subjected to weighted summation to obtain a final evaluation score value. Compared with the prior art, the method and the apparatus have the advantages that the final evaluation score value combines the code style check and the code error check, so that the final score value is more humanized and more objective, and is fairer for the student.
Owner:JIANGSU MARITIME INST

Web service based simulating functional information clustering method

The invention relates to a Web service based simulating functional information clustering method. According to the method, a large quantity of available simulating services at a simulating service registration center are clustered and analyzed according to the functional information, and a measuring method for functional similarity of layered simulating services and a preprocessing method for service description information according to a programming style and a naming rule are respectively provided. Besides, a similarity chart is constructed by setting a functional threshold parameter, so that a simulating service functional similarity network is obtained. Lastly, a structuring network clustering algorithm is combined for clustering the simulating services at the simulating service registration center. An experimental result shows that the provided clustering method can effectively promote the Web service clustering effect, can improve the detecting property of the simulating services and can realize the quick and accurate searching for the required services from the large quantity of available simulating services.
Owner:BEIJING SIMULATION CENT

Method for self-making eclipse development platform plug-in

The invention provides a method for self-making an eclipse development platform plug-in, and belongs to the field of computers. The method is used for code calling, and comprises the following steps:storing a corresponding normalized code in an eclipse plug-in project; making a configuration view of a database on eclipse, storing database configuration locally, obtaining table information, and corresponding codes such as DO and codes, convenient to develop, of mybates can be generated according to tables; some codes can be generated according to class information and a defined model by selecting a certain class in an eclipse working space. On the premise of the technical scheme, the code can be simply and quickly generated, and a standard and unified code style can be realized according to the project skeleton of the application.
Owner:重庆天蓬网络有限公司

Operation body time monitoring method and device of software part and electronic equipment

The invention provides a running body time monitoring method and device of a software part and electronic equipment. The method comprises the steps that an RTE configuration file corresponding to a target software part is generated through an AUTOSAR tool; the target software part comprises at least one running body; calling a preset script to execute the following operations: running the custom script based on the RTE configuration file, and generating a running body monitoring program corresponding to the target software part; compiling the running body monitoring program to obtain an executable file; and executing the executable file through the MCU, and obtaining an operation body time monitoring result corresponding to the target software part. According to the method, the time monitoring program of the running body needing to be monitored can be automatically generated through the RTE configuration file and the pre-edited self-defined script, then time monitoring of all the running bodies can be achieved based on the time monitoring program, the script code style is unified, and code maintenance and unified management are facilitated.
Owner:苏州挚途科技有限公司

Method and system for generating front-end UI script framework plug-in by one button

The present invention provides a method for generating a front-end UI script framework plug-in by one button. The method comprises: creating a plurality of UI framework templates with unified code style; storing the created UI framework templates into a script data storage unit; and calling the UI framework template of the required type from the script data storage unit, and carrying out development and maintenance on this basis. According to the method and system for generating a general UI script framework provided by the present invention, by extracting the common point in the UI module, the UI plug-in is generated, and the UI module containing the common point is automatically generated to maintain the consistent code style in the company product development, so that the later receiveror maintenance personnel can maintain all UI scripts as long as they are familiar with the UI framework templates of the company, and the development time is saved.
Owner:上海易联网络技术有限公司

Front-end development code detection method and device and storage medium

The invention relates to a front-end development code detection method and device and a storage medium, and the method comprises the steps: installing a code specification detection tool in a front-end development environment; in response to a first instruction input by a user, detecting a code quality problem of a front-end development code input in the front-end development environment based on the code specification detection tool; installing a code formatting tool in the front-end development environment; in response to a second instruction input by the user, detecting a code style problem of a front-end development code input in the front-end development environment based on the code formatting tool; a code editor plug-in is installed in the front-end development environment; and in response to a third instruction input by the user, repairing the code quality problem and the code style problem based on the code editor plug-in, and outputting the repaired front-end development code. According to the embodiment of the invention, the code detection efficiency can be improved.
Owner:联通智网科技股份有限公司

Method for detecting quality of front-end codes

The invention discloses a front-end code quality detection method, relates to the technical field of Web application, and aims to unify code styles and detect code quality based on static type inspection through a Ts technology stack. Blocking type development is used, development steps are executed step by step, and quick positioning of problems is achieved. The method is developed on the basis of a unified specification, the unified coding style is beneficial to code reading, and the error rate is reduced; blocking type development is adopted, it is guaranteed that development of new functions of a project is smoother, the readability, maintainability and expandability of code quality are improved, and the development efficiency is guaranteed while the code quality is improved.
Owner:山东健康医疗大数据有限公司

Code verification method and device, computer equipment and storage medium

PendingCN113495835AComply with the writing specificationReduce error rateSoftware testing/debuggingSoftware engineeringComputer engineering
The invention relates to a code verification method and device, computer equipment and a storage medium. The method comprises the following steps: displaying an interface code on an interface; in response to a trigger operation on the interface code, performing code style verification on the interface code according to a preset style verification rule to obtain a verification result; and displaying a verification report, wherein the verification report is generated according to the verification result. By adopting the method, the error rate of submitted codes can be reduced.
Owner:TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products