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

6 results about "Current function" patented technology

Current Function. Returns a node set that has the current node as its only member. Remarks. The function returns a node set that has the current node as its only member. For an outermost expression, an expression not occurring within another expression, the current node is always the same as the context node.

Data authority control method and system

The invention discloses a data permission control method and system, belongs to the technical field of digital systems, and aims to solve the technical problems that in an existing scheme, the operation and maintenance cost is high, and data permissions cannot be flexibly configured according to scenes. Comprising the following steps: selecting a menu item which needs to define data permission in a menu, and adding a data permission dimension field in menu configuration; setting a role instance under the role, and defining a data permission range for the role instance; selecting a user needing to configure a role, distributing the role for the user, selecting a specific instance under the role, and appointing an accessible data range through the instance of the role; and according to the function accessed by the user and the role instance corresponding to the current function owned by the user, returning data that the user is authorized to the user.
Owner:SHANDONG INSPUR DIGITAL BUSINESS TECHNOLOGY CO LTD

Method and apparatus for generating code-based module design document

This application provides a method and apparatus for generating code-based module design documents. The method includes: obtaining target code; deleting compiler directives and comments from the target code to obtain code text; identifying and extracting global variables and function structures from the code text; comparing the identifiers in each function structure in parallel with global variables, and comparing the identifiers before the left parenthesis in each function structure in parallel with the function names of other function structures, and associating the global variables and / or function names that match the comparison with the corresponding function structures, wherein the other function structures are the function structures outside the current function structure in each function structure; and generating and outputting a target module design document in a preset format based on each function structure and its associated global variables and / or function names. This achieves efficient and accurate generation of module design documents.
Owner:CASCO SIGNAL (BEIJING) CO LTD

Dynamic analysis instrumentation debugging method and computer application program

The invention discloses a dynamic analysis instrumentation debugging method and a computer application program. The method comprises the following steps: analyzing DWARF mode information of a binary file of a to-be-instrumented analysis point, obtaining associated information of an instruction block and a source code file line number, matching an instrumented code line in a source code, collecting a corresponding program counter for accurate dynamic instrumentation, and collecting the calling condition of a function specified line in the source code by observing the calling condition of the to-be-instrumented analysis point. And obtaining a mapping table of local variable symbols and memory addresses and a mapping table of global variable symbols and memory addresses of the instrumented point function through DWARF debugging information of the binary file, and obtaining local variable and global variable information of the current analysis point to be instrumented. In this way, dynamic instrumentation can be carried out on any line of the code, information of all local variables and global variables stored in the stack of the current function when the line of code is executed can be collected, related information of current program running can be well known, and debugging is greatly helped.
Owner:KYLIN CORP

Coding-free multi-language interface automatic testing method and system

The invention discloses a coding-free multi-language interface automatic testing method and system, and belongs to the technical field of software testing, the realization of the method comprises a recursive traversal crawler algorithm, a crawler tool and a standardized language comparison model, and the method can realize quasi-user operation, traverse a tested product interface and capture internationalized interface element information of multi-language software; through a standardized language comparison model, whether the element information conforms to the context in various language environments and whether translation deviation exists are judged, and semantic accuracy is guaranteed; wherein the recursive traversal crawler algorithm execution logic comprises the following steps: logging in a tested system; opening a function menu; reading a current function title; and judging whether a new interface appears or not according to the function title, and if yes, automatically identifying interactive elements and static text information in the interface. According to the method, manual intervention can be reduced, the test efficiency is effectively improved, meanwhile, the test coverage rate is remarkably increased, and efficient and reliable technical guarantee is provided for internationalized quality control of products.
Owner:INSPUR QILU SOFTWARE IND

Dynamic analysis and debugging method of plug-in and computer application program

Dynamic analysis of the method and computer application program of the debugging method of the debugging method. By analyzing the DWARF debugging information of the binary file to be inserted, the association information of the instruction block and the source code file line number is obtained, the corresponding program counter is matched, the corresponding program counter is collected, the call condition of the function specified line in the source code is collected, and the call condition of the function specified line in the source code is collected. The local variable symbol and the memory address mapping table of the function to be inserted are obtained by the DWARF debugging information of the binary file, and the global variable symbol and the memory address mapping table are obtained. The local variable, global variable information of the current to-be-inserted analysis point is obtained. Thus, dynamic insertion can be performed at any line of the code, and all local variables and global variables saved in the stack of the current function during the execution of the line of code can be collected, and the relevant information of the current program running can be better understood, which is helpful for debugging.
Owner:KYLIN CORP

An industrial switch automation testing method, system, device and storage medium

ActiveCN116668324BPERQAutomatic testing
The application relates to the technical field of switch testing, and provides an industrial switch automatic testing method, system and device and a storage medium, the testing method comprising the following steps: when an automatic platform tests a switch, multiple strategies are comprehensively used to execute an automatic case file of the switch; wherein the automatic case file comprises a plurality of scripts, each script is obtained according to a function characteristic to be tested, and key points in part of the scripts are provided with annotation information; if a script execution error occurs, a function characteristic corresponding to a current script provided with the annotation information is skipped or remaining scripts of the current function characteristic are no longer executed, then the remaining function characteristics are continuously tested, and a test result is generated and saved. The application can improve the automatic testing efficiency of the industrial switch, shorten the testing period and reduce the time cost.
Owner:深圳市三旺通信股份有限公司