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

124 results about "Code readability" patented technology

Code readability is key for large software projects with many developers, and where the source code that is being written will have to be modified by another person. Code readability plays a central part at the Guardian digital department, where the scale of the projects is large and developers are encouraged to rotate teams.

Communication protocol applicable to reliable multi-machine communication, encoding and decoding method and communication device

The invention discloses a communication protocol applicable to reliable multi-machine communication. The frame format of the communication protocol comprises a frame starting field, a frame header field, a load filed, a check field and an ending field, which are arranged in sequence from front to back, wherein the frame header field comprises a frame type field, a source address filed, a destination address filed, a load length filed and a functional codeword field, which are arranged in sequence from front to back; the load filed is expressed as a plurality of continuous data type fields according to the load contents to form a load structure model. According to the communication protocol, the frame header field comprises the source address filed and the destination address filed, thereby being applicable to multi-device communication. The load structure model is used for effectively improving the data framing and analysis efficiency. The frame header field comprises the frame type field, therefore classified analysis can be performed on the load data according to the frame type so as to effectively improve the readability and maintainability of the code.
Owner:一飞智控(天津)科技有限公司

Implementation method for directional crawler based on assigned e-commerce website

The invention discloses an implementation method for a directional crawler based on an assigned e-commerce website, belongs to the field of WEB data collection, and aims at improving the analysis efficiency and the crawling accuracy rate of the crawler, reducing the crawler failure rate caused by change of website content, and increasing the readability and robustness of codes; on the basis of a generalized crawler, the sequence of tasks is managed by utilizing a queue, multi-thread website content analysis is realized by using a thread pool management mechanism, so that the crawling efficiency is improved. Python is used as an implementation language, information of an assigned web page is captured by using a method of combining a CSS (Cascading style sheets) selector and a Regular Expression, the analysis efficiency, the readability and the error-tolerant rate of the crawler are greatly improved, thus the focused crawler specially used for analyzing store commodity information of the assigned e-commerce website is formed,the efficiency and the crawling accuracy rate of the crawler are improved by the method, and the adaptability and the robustness of the crawler are improved. The method provides a stable and convenient data source for e-commerce price analysis.
Owner:HUAIYIN INSTITUTE OF TECHNOLOGY

Method and system for controlling robot through graphical programming

The invention provides a method and a system for controlling a robot through graphical programming. The method comprises the steps of taking a graphical programming interface as a client, and writinga motion program of the industrial robot in the graphical programming interface; editing program source codes through a source code editing tool, and establishing a C++ program library which communicates with the industrial robot serving as a server; generating script codes, executing and outputting the script codes, calling the C++ program library to communicate with the industrial robot, and sending standard instructions to the industrial robot; executing an instruction analysis program by the industrial robot, and converting the standard instructions into specified instruction names; and executing a motion instruction by the server. According to the method, the open graphical programming is adopted; a user drags a module from a module library area to a task area; and the programming canbe realized by performing line connecting or parameter setting operation, so that the programming flexibility and the code readability are greatly improved.
Owner:天津施格自动化科技有限公司

Efficient mobile form designing and rendering method

The invention discloses an efficient mobile form designing and rendering method. The method comprises the following steps of: carrying out step-by-step design on a mobile form; synthesizing design ofoverall configuration; carrying out dynamic rendering and response according to the configuration; and enhancing the rendering and response speeds by utilizing a virtual DOM technology-based front-endUI framework. Compared with generating Html, JSON configuration has higher readability and maintainability; and compared with generating abundant JavaScript files, rendering of a unique dynamic rendering page can greatly reduce repeated maintenance work of a great deal of form pages, so that the loading speed is improved and the data storage space and later-period maintenance time are shortened.By utilizing the virtual DOM technology-based front-end UI framework, the rendering speed of pages and the readability of codes can be greatly improved.
Owner:SHANDONG INSPUR GENESOFT INFORMATION TECH CO LTD

Method for designing DCMFK (Debiased Converted Measurement Kalman filter) based on FPGA (Field Programmable Gate Array)

The invention discloses a method for designing a DCMFK (Debiased Converted Measurement Kalman filter) based on an FPGA (Field Programmable Gate Array). Firstly, a system of the DCMFK based on the FPGA is designed. A gain matrix module comprises an average real covariance submodule and a gain matrix submodule; a state update module comprises a coordinate transformation submodule, an average real deviation submodule, an innovation submodule and a state update submodule; a trigonometric function module, a one-step prediction module, a prediction error covariance module, a filter error covariance module, the average real covariance submodule, the gain matrix submodule, the coordinate transformation submodule, the average real deviation submodule, the innovation submodule and the state update submodule respectively invoke floating adding, subtracting, multiplying and dividing operation modules. A hierarchical design is adopted in the method, modules at the bottom layer realize input by utilizing a VHDL (Very High Speed Integrated Circuit Hardware Description Language), and a schematic diagram input manner is adopted by the modules on the top layer; therefore, the method can improve the readability of codes, is easy to divide modules, and is convenient to simulate during designing.
Owner:NANJING UNIV OF SCI & TECH

Method and module for saving transmission flow during interaction of client and server

The invention is applicable to the field of Internet communication, and provides a method and a module for saving transmission flow during interaction of a client and a server. The method and the module provided by the invention saves the transmission flow by mapping a dictionary to a client side and a server side synchronously and transmitting data according to compression optimization of the mapping dictionary, and maintains readability and maintainability of codes of the client side and the server side.
Owner:杭州雾隐美地传媒有限公司

Method and system for confusing scripts

The invention discloses a method and a system for confusing scripts. The method for confusing the scripts includes confusing specific information in source codes of script engines according to preset corresponding relation libraries to obtain source codes of feature engines, and compiling the source codes of the feature engines to obtain the feature engines; confusing specific information in target script codes according to preset corresponding relation libraries to obtain first script codes; embedding the feature engines and the first script codes into application programs. The system for confusing the scripts comprises an engine confusing unit, a code confusing unit and an embedding unit. The method and the system for confusing the scripts have the advantages that keywords, grammar and operators in the script engines and the target script codes are confused, so that the compiled script codes are poor in readability, actuating logics of the scripts are difficult to distinguish from the script codes, and accordingly the script codes can be effectively protected.
Owner:ZHUHAI BAOQU TECH CO LTD

Data processing method and device, electronic equipment and computer readable storage medium

ActiveCN109582310AModifications do not affect each otherEasy maintenanceCode refactoringSoftware reuseSource code fileInterface layer
The invention provides a data processing method and device, electronic equipment and a computer readable storage medium, and the method comprises the steps: obtaining a source code file which comprises a user interface source code and a service logic source code of an application program; Generating at least one user interface function module and at least one service logic function module based onthe source code file; And generating an application program according to the at least one user interface function module and the at least one service logic function module. According to the invention, at least one user interface function module and at least one service logic function module are generated based on the source code file, Decoupling of the service layer and the interface layer is achieved, modification of two types of codes can be not influenced mutually, maintenance and modification of the codes are facilitated, readability of the codes is improved, and maintenance time and labor cost can be greatly reduced.
Owner:BEIJING MICROLIVE VISION TECH CO LTD

SDK packaging method using packaging plug-in, packaging plug-in and corresponding terminal

The invention provides an SDK packaging method using a packaging plug-in, the packaging plug-in and a corresponding terminal, and the method comprises the steps: obtaining plug-in configuration information through the packaging plug-in when a packaging operation on a host project is detected; determining a corresponding target file in the host project according to the plug-in configuration information, and packaging and generating a kernel package based on the target file; According to the method, the package plug-in is used for executing project package, only simple plug-in configuration information is needed, script files do not need to be dispersed one by one, the script files can be conveniently introduced, inter-project transplantation can be easily carried out, and meanwhile maintenance is convenient; the plug-in can uniformly manage the task stack Task, a user does not need to pay attention to the actual functions of all the Tasks, only parameters need to be configured, the readability of codes is remarkably improved, and compared with an existing packaging script packaging mode, the running time of SDK packaging is remarkably shortened, and the SDK packaging efficiency is improved.
Owner:BEIJING QIHOO TECH CO LTD

Data filling method and device

The invention discloses a data filling method and device. The data filling method comprises the following steps: a data filling request is acquired, wherein the data filling request carries data sources, a preset name and a preset type, the preset name is the name of the column of the data sources, and the preset type is the data type of the preset name; data column objects are created according to the preset name and the preset type; an incidence relation between index subscripts of the data column objects and the preset name is established; the data sources are used for filling data into an object array in rows according to the incidence relation. By the adoption of the data filling method and device, the problems that the error rate is high and filling efficiency is low when a data table in a memory is filled with data in the prior art are solved, and the effects that the execution efficiency is improved, the readability of codes is improved at the same time, and the data are easy to modify when the data of the data sources change are achieved.
Owner:BEIJING GRIDSUM TECH CO LTD

Method for building intelligent terminal application program, device for building intelligent terminal application program and intelligent terminal

The invention discloses a method for building an intelligent terminal application program, a device for building an intelligent terminal application program and an intelligent terminal. According to the method, the following types of files including an application program data file, a program executing file and a loading file are configured at the intelligent terminal, wherein the application program data file in the type provides description of an operation mode of the application program; the program executing file is used for executing the operation mode described by the application program data file, and the executing process comprises the steps of reading the application program data file, displaying a graphical user interface according to the application program data file, receiving input provided by a user and feeding back the input of the user; and the loading file provides a method for executing and updating the application program data file. When the method provided by the invention is adopted, through segmenting application program logics and executing the application program, the application program can be subjected to partial updating, and the flow waste of the user is avoided; the updating modes of application programs of different operation systems are unified; the workload of program development personnel is reduced; and the readability and the maintainability of codes are improved.
Owner:ALIBABA GRP HLDG LTD

Buried point data processing method and system, computer equipment and readable storage medium

The embodiment of the invention provides a buried point data processing method based on computer equipment, and the method comprises the steps: configuring a buried point program for the computer equipment in advance, wherein the buried point program is used for processing buried point data; monitoring at least one business process running in the computer equipment, wherein the business process isused for executing a plurality of associated businesses of a target application, and the plurality of associated businesses comprises a target business preset with a data burying point demand; when it is monitored that the target service is executed, starting a corresponding target burying point process through the burying point program; acquiring burying point data through the target burying point process; and reporting the burying point data to a server through the target burying point process. The embodiment of the invention further provides a system, computer equipment and a readable storage medium. According to the embodiment of the invention, the code readability can be improved, the problem that the buried point data cannot be reported is avoided, and the problem that the corresponding process is blocked in the buried point logic when the communication with the server is abnormal is avoided.
Owner:ONE CONNECT SMART TECH CO LTD SHENZHEN

Data flow modularization method and device

InactiveCN108196964ASolve the problem of verbosity, low readability and high couplingImprove readabilityInterprogram communicationWebsite content managementRedundant codeCoupling
Embodiments of the invention provide a data flow modularization method and device. The method comprises the following steps of: when a data loading request is detected from a page entry of a webpage,creating a data flow processing instance; sending the data loading request to a server through the data flow processing instance; receiving webpage data returned by the server; and processing the webpage data through the data flow processing instance so as to obtain target webpage data. According to the method and device, data request, reception and processing are realized by a plurality of modules of the data flow processing instance, so that the problems of redundant code, low readability and high coupling degree caused by realizing above process by interacting front-end data and rear-end data to serve as a complete module is solved, the whole process is divided into independent small modules of the data flow processing instance, and through the code decoupling therein, the code readability and reusability are improved.
Owner:BEIJING QIHOO TECH CO LTD

Front-end template processing method and device

The invention discloses a front-end template processing method and device applied to the first code processing process of Html. The method includes: acquiring a first code of the Html; acquiring a front-end template of the Html; analyzing the corresponding relation between the first code and the front-end template; according to the corresponding relation, converting the first code into a second code which is different from the first code. The first code is converted into the second code through the corresponding relation between the first code and the front-end template of the Html, further the front-end template is utilized to separate the Html from Javascript, and accordingly the technical effect of good code readability and maintainability is achieved.
Owner:BEIJING QIHOO TECH CO LTD

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

Response data processing method and device, storage medium and terminal equipment

The invention relates to the technical field of computers, in particular to a response data processing method and device, a storage medium and terminal equipment. The method comprises the following steps: receiving an access request of an application terminal, and determining a language type requested by the application terminal according to the access request; analyzing the access request, and sending the analyzed access request to each micro-service, so that each micro-service responds to the received access request, and returns corresponding first response data; obtaining first response data returned by each micro-service, and searching second response data corresponding to each first response data and matched with the language type from a preset database; and returning the second response data to the application terminal so as to avoid performing respective internationalization processing in each micro-service by performing unified internationalization processing on all the response data, thereby improving the internationalization processing efficiency, reducing code redundancy, enhancing the readability and modifiability of codes and facilitating code maintenance.
Owner:PING AN TECH (SHENZHEN) CO LTD

Visual configuration rendering method and system based on Vue modularizationand terminal

PendingCN112711408AImplement the visual configuration rendering methodImprove readabilityVisual/graphical programmingProgram loading/initiatingProgramming languageEngineering
The invention belongs to the technical field of data analysis and processing, and discloses a visual configuration rendering method and system based on Vue modularization, and a terminal. The method comprises: configuring a mapping relation of component names; analyzing the configuration; instantiating a construction function of the component in the presence of the module name or in the case of meeting a rendering condition; developing single file components corresponding to the visual area and the attribute configuration area; data initialization, service interaction of a visual area and an attribute configuration area, and dynamic mounting of components are carried out; and data initialization backfilling, binding, interaction between the two regions and outward provision of an object for acquiring the component configuration data in a prototype mode are carried out. According to the method, the problems that a traditional template engine or a spliced html character string rendering mode is poor in code readability and leads to the whole body are solved, the problem of high coupling degree is also solved, and the code readability is improved; and the responsibility of developers is clearer, the development efficiency is greatly improved, and the user experience is improved.
Owner:LINEWELL SOFTWARE +1

Business numerical calculation method and device, computer equipment and storage medium

The invention relates to a business numerical value calculation method and device, computer equipment and a storage medium. The method comprises the steps of receiving a service numerical value calculation request of a to-be-processed service, wherein the service numerical value calculation request carries variable parameters; obtaining a demand user identifier from the service numerical calculation request, and searching user service data corresponding to the demand user identifier; reading a variable parameter value corresponding to the variable parameter in the user service data; convertingthe business numerical calculation request into a numerical calculation formula according to the variable parameter value; and calculating and solving the numerical calculation formula to obtain a service numerical value, and returning the service numerical value to the user terminal. The variable parameter values are uniformly acquired and converted into the numerical calculation formula. Aunified method is adopted for calculation and solution, independent encoding does not need to be carried out on each service numerical value calculation request, unnecessary redundant codes are reduced, the workload of service encoding personnel is reduced, the readability of service codes is improved, and the storage space of a computer is saved.
Owner:浙江大搜车软件技术有限公司

Method for translating a cobol source program into readable and maintainable program code in an object oriented second programming language

A method is disclosed for translating by a computer system of a COBOL computer program into a translated computer program in a readable and maintainable syntax in an object oriented programming language. The translated program including variable names equivalent to the original COBOL variable names and with attributes described in COBOL syntax. The translating method further providing for memory allocation in the translated computer program for storage of “COBOL” variables compatible with that of the original COBOL program; a description of program flow that is readable, and utilizing arithmetic operators to describe operations between COBOL variables. Also disclosed is a special object oriented run-time library for creating and performing operations between COBOL numeric objects, including maintaining storage of variable content in the original COBOL format, and for enabling readability of the translated source code by allowing arguments for variable type descriptions to be expressed in COBOL syntax.
Owner:BULL HN INFORMATION SYST INC

Method for automatically generating system object graph based on code analysis

The invention provides a method for automatically generating a system object graph based on code analysis, which is characterized by comprising the following steps: step S1: obtaining a class name, amethod name and a statement set through soot analysis; step S2: processing an object creation statement and generating an object set, processing an object declaration statement and generating an attribute-value corresponding set, using a symbol executed idea to acquire a method calling statement and the calling process and generating an object calling relationship set; step S3: using a plantuml language rule to convert the aforementioned set into an object graph generating statement, thereby obtaining an automatically generated uml object graph. The system object graph automatic generation technology based on code analysis in the invention can directly reflect the characteristics of the runtime software architecture; the user can obtain object information (class attribute, object attribute) and object relationship (object call chain) by using the technology without having to view the cumbersome code, thereby enhancing the readability and maintainability of the code.
Owner:FUZHOU UNIV

Paintbrush width control method and device based on Android

The invention discloses a paintbrush width real-time control method based on Android. The paintbrush width real-time control method comprises the following steps of S1, capturing and recording the moving distance and interval time of a finger or a touch pen of a user in real time; S2, calculating the moving speed of the finger or the touch pen of the user; S3, converting the moving speed into thewidth of a painting brush; and S4, smoothing the handwriting by using a transition function. A speed and brush width conversion model is established through linear interpolation, and the change of thebrush tip of the writing brush is realized. Required functions can be quickly realized by using a drawing API of Android, mobile terminal equipment can be better adapted, the code readability is increased, and a mathematical model is established through linear interpolation; on basis of a speed-time model, the algorithm for converting speed and brush width is optimized,, and the change of handwriting with different thicknesses of writing brushes can be better simulated on the premise of not increasing the code complexity and the calculated amount.
Owner:GUANGDONG UNIV OF EDUCATION

Independent cooling system control system

The invention belongs to the technical field of control system development and model development of independent cooling systems for engineering machines and special vehicles, and particularly relatesto an independent cooling system control system. The independent cooling system control system includes an input module, a calibration parameter setting module, a diagnostic module, a function management module, a rotational speed estimation module and a solenoid valve control module. By means of the independent cooling system control system, through independent cooling system control model framework dividing and designing, the system function implementation process is clear and smooth, sub-function module task definition is clear, the code readability is high, maintainability is good, the versatility and modularity of the control system are greatly improved, and the development efficiency and portability of the control system are improved.
Owner:BEIJING FENGKAI HEAT EXCHANGER +1

Single-test assertion program configuration method, device, equipment and storage medium

The invention discloses a single-test assertion program configuration method, a device, equipment and a storage medium. The method comprises the steps of receiving a current unit test module and a configuration file input by a user; determining a target data expression according to a target class name in the configuration file, and obtaining to-be-asserted object data in a database through the target data expression; and obtaining a to-be-executed asserted statement in the configuration file, calling a corresponding grammar executor to assert the to-be-asserted object data, and outputting an asserted execution result corresponding to the to-be-asserted object data. According to the method, the assertion statement is separated from the unit test module, and the assertion program is flexiblyconfigured through the configuration file registered by the annotation statement, so that the writing efficiency of the assertion code is improved, repeated writing of the assertion statement is avoided, the assertion code content is simplified, and the readability and maintainability of the assertion test code are improved.
Owner:WEBANK (CHINA)

OVSDB client code automatic generation method, system and device and medium

The invention discloses an OVSDB client code automatic generation method, system and device and a medium. The method comprises the steps: acquiring a to-be-analyzed Schema file and performing validitycheck; defining an analyzed data format, and analyzing the content in the valid Schema file into the data format; generating a database Go language code based on the analyzed data, comprising: generating a public code in combination with a template code file; generating a code of each table item in combination with the template code file; and formatting the generated code. According to the method, all codes are generated by using a pre-written template code file, a user is prevented from directly constructing database operation codes by generating the table entries of the OVSDB to achieve addition, deletion, modification and query, and unstructured character string mapping is avoided by using structured table entry data, so that the difficulty of integrating the OVSDB in a Go language project is reduced, and the code readability and maintainability are improved.
Owner:PURPLE MOUNTAIN LAB

Cache operation implementation method, calling method of business layer method and device

The embodiment of the invention discloses a cache operation implementation method. The cache operation implementation method comprises the steps that at least one semantic rule is set, and each semantic rule corresponds to one kind of cache operation; implementation codes which correspond to the semantic rules and are used for conducting cache operations for parameters are generated; the semantic rules corresponding to the cache operations needed by business layer method calling are bound with a business layer method, so that when the business layer method is called, the implementation codes of the cache operations corresponding to the semantic rules bound with the business layer method are executed. The invention further discloses a calling method of the business layer method and a correlation device. Accordingly, configurable management based on the redis cache operations is achieved, automation of the correlation codes is achieved through the configurable property of the cache operations, the functional cohesiveness of the codes is improved, the readability and reusability of the codes are further improved, the coding quantity of developers can be significantly decreased, the project developing efficiency is improved, and the project maintenance cost is reduced.
Owner:GUANGZHOU HUADUO NETWORK TECH

A method and apparatus for providing front-end pages

One or more embodiments of the present specification provide a front-end page providing method and apparatus. The method comprises: for access requests from the client's front-end pages, the target obfuscation code based on the dynamic obfuscation of the original code of the front-end page is obtained, the target obfuscation code is sent to the appropriate client, so that the client renders the front-end page it needs to access based on the target obfuscated code, which reduces the readability of the code exposed to the user for rendering front-end pages, and for multiple access requests of the same client to a certain front-end page in a preset period of time, the target obfuscation code returned to the client can be different, further increasing the difficulty for illegal elements to crack the code used for rendering the front-end page, avoiding the malicious attack of illegal elements on the code used for rendering the front-end page to seek private benefits, and achieving the purpose of improving the security of executing the front-end page on the front-end.
Owner:ADVANCED NEW TECH CO LTD

Fixed asset code generation system and method

The invention relates to a code generation system and method, belongs to the field of asset management, and particularly relates to a fixed asset code generation system and method. According to the system and the method, an interface for a fixed asset code external service is provided, and material codes are generated by utilizing coding rules according to parameters provided by users; all the fixed asset codes and asset numbers are combined to generate simple and easy codes based on the idea of separation of the material codes and accounts of finance in code generation so that working efficiency of related work personnel can be enhanced in daily work; besides, life failure codes of the asset codes are innovatively put forward. The information meaning of the asset codes is increased so that the effect of the code information is enabled to be more obvious, code readability can be enhanced and convenience of daily management can be enhanced.
Owner:WUHAN DOUYU NETWORK TECH 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