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:一飞智控(天津)科技有限公司

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 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

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

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 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

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)

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
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products