CN115878459A - Method, system, equipment and medium for realizing data function of server - Google Patents

Method, system, equipment and medium for realizing data function of server Download PDF

Info

Publication number
CN115878459A
CN115878459A CN202211475298.2A CN202211475298A CN115878459A CN 115878459 A CN115878459 A CN 115878459A CN 202211475298 A CN202211475298 A CN 202211475298A CN 115878459 A CN115878459 A CN 115878459A
Authority
CN
China
Prior art keywords
instruction
function
management
class
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211475298.2A
Other languages
Chinese (zh)
Inventor
高强
朱言江
安静
马伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Financial Information Technology Co Ltd
Original Assignee
Inspur Financial Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Financial Information Technology Co Ltd filed Critical Inspur Financial Information Technology Co Ltd
Priority to CN202211475298.2A priority Critical patent/CN115878459A/en
Publication of CN115878459A publication Critical patent/CN115878459A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a method, a system, equipment and a medium for realizing data functions of a server, wherein the method comprises the following steps: configuring a metadata management algorithm, a case management algorithm, a test management algorithm and a task detection algorithm at a server; creating an operation end webpage, and issuing a function instruction to a server based on the operation end webpage; realizing operation on the server side according to needs based on a metadata management algorithm, a case management algorithm, a test management algorithm, a task detection algorithm and a function instruction execution function; the invention can design a service strategy which can meet the realization of different functions of the batched intelligent terminal equipment by combining with the NuTest automatic test platform, is convenient for an operator to manage the intelligent terminal equipment by using the NuTest automatic test platform, further realizes the functions of various metadata management, use case, test management and task monitoring, and meets the requirements of different terminal equipment.

Description

Method, system, equipment and medium for realizing data function of server
Technical Field
The invention relates to the technical field of platform function management, in particular to a NuTest platform, and particularly relates to a method, a system, equipment and a medium for realizing a data function of a server.
Background
At present, in each field of modern society, intelligent terminal equipment is widely applied, covers a plurality of fields such as banks, government affairs, education, insurance and the like, and the development trend is achieved by using intelligent terminal equipment to replace manpower.
Although the equipment amount of the intelligent terminal equipment tends to be saturated, due to the development of innovation and the huge number of retained equipment, various testing and maintenance works of software and hardware of the equipment are still huge, and the requirements of a data management function, a testing function and a task monitoring function of the intelligent terminal equipment are large, so that a service method capable of realizing corresponding functions needs to be designed to meet the requirements and facilitate an operator to manage the intelligent terminal equipment.
Disclosure of Invention
The invention aims to provide a method, a system, equipment and a medium for realizing data functions of a server, so as to design a service method capable of meeting different requirements of batched intelligent terminal equipment, and facilitate management of an operator on the intelligent terminal equipment.
In order to achieve the purpose, the specific technical scheme of the invention is as follows:
in one aspect, the present invention provides a method for implementing a data function of a server, including the following steps:
and (3) server side configuration:
configuring a metadata management algorithm, a case management algorithm, a test management algorithm and a task detection algorithm at a server;
issuing a functional instruction:
creating an operation end webpage, and issuing a function instruction to the server based on the operation end webpage;
and (3) realizing data function calling:
and implementing operation on the server side on the basis of the metadata management algorithm, the case management algorithm, the test management algorithm, the task detection algorithm and the function instruction execution function as required.
As an improved solution, the function instruction includes: metadata management instructions, case management instructions, test instructions and task detection instructions;
the functions implement operations as needed, including:
identifying the functional instruction;
when the functional instruction is the metadata management instruction, calling the metadata management algorithm to realize a metadata management function;
when the function instruction is the case management instruction, calling the case management algorithm to realize a case management function;
when the functional instruction is the test instruction, calling the test management algorithm to realize a test management function;
and when the functional instruction is the task detection instruction, calling the task detection algorithm to realize a task detection function.
As an improvement, the metadata management algorithm includes:
acquiring an instruction support list and instruction support parameters;
identifying a first sub-function class of the metadata management instruction;
if the first sub-function class is an instruction group function class, editing or creating an instruction group according to the metadata management instruction, the instruction support list and the instruction support parameter;
if the first sub-function class is an instruction set function class, performing instruction set editing or creating according to the metadata management instruction, the instruction support list and the instruction support parameters;
and if the first sub-function class is an instruction function class, performing instruction editing or creating according to the metadata management instruction, the instruction support list and the instruction support parameter.
As an improved scheme, the use case management algorithm includes:
identifying a second sub-function class of the use case management instruction;
if the second sub-function class is a first case class, executing a first case new operation, a first case editing operation or a first case association operation according to the case management instruction;
and if the second sub-function class is a combined use case class, executing a combined use case new creation operation, a combined use case editing operation or a combined use case correlation operation according to the use case management instruction.
As an improved solution, the test management algorithm includes:
identifying a third sub-function class of the test instruction;
if the third sub-function class is a script generation class, generating a first test script according to the test instruction;
if the third sub-function class is a script display class, outputting a first script list according to the test instruction;
and if the third sub-function class is a script deleting class, deleting the second test script according to the test instruction.
As an improved solution, the task detection algorithm includes:
identifying a fourth sub-function class of the task detection instruction;
if the fourth sub-function class is a task control class, performing start control, pause control, termination control or recovery control on the first task according to the task detection instruction;
and if the fourth sub-function class is a task monitoring class, acquiring a first task list, a first task execution condition or a first task operation log according to the task detection instruction.
On the other hand, the invention also provides a system for realizing the data function of the server, which comprises the following components:
the system comprises a server side configuration module, a functional instruction issuing module and a data function calling implementation module;
the server side configuration module is used for configuring a metadata management algorithm, a case management algorithm, a test management algorithm and a task detection algorithm at the server side;
the function instruction issuing module is used for creating an operation end webpage and issuing a function instruction to the server end based on the operation end webpage;
and the data function calling implementation module is used for implementing operation on the server side according to needs based on the metadata management algorithm, the case management algorithm, the test management algorithm, the task detection algorithm and the function instruction execution function.
As an improved solution, the function instruction includes: metadata management instructions, case management instructions, test instructions and task detection instructions;
the data function calling implementation module comprises: the system comprises an instruction identification submodule, a metadata management submodule, a case management submodule, a test submodule and a task detection submodule;
the instruction identification submodule is used for identifying the functional instruction;
the metadata management submodule is used for calling the metadata management algorithm to realize a metadata management function when the functional instruction is the metadata management instruction;
the use case management submodule is used for calling the use case management algorithm to realize a use case management function when the functional instruction is the use case management instruction;
the test sub-module is used for calling the test management algorithm to realize a test management function when the functional instruction is the test instruction;
and the task detection submodule is used for calling the task detection algorithm to realize a task detection function when the functional instruction is the task detection instruction.
In another aspect, the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps of the data function implementing method of the server.
In another aspect, the present invention further provides a computer device, where the computer device includes a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus; wherein:
the memory is used for storing a computer program;
the processor is used for executing the steps of the data function realization method of the server by running the program stored in the memory.
The technical scheme of the invention has the beneficial effects that:
1. the method for realizing the data function of the server side can design a service strategy which can meet the realization of different functions of batched intelligent terminal equipment by combining with a NuTest automatic test platform, is convenient for an operator to manage the intelligent terminal equipment by using the NuTest automatic test platform, further realizes the functions of various metadata management, use cases, test management and task monitoring, and meets the requirements of different terminal equipment.
2. The data function implementation system of the server can realize the mutual matching of the server configuration module, the function instruction issuing module and the data function calling implementation module, further realize the design of a service strategy which can meet the realization of different functions of batched intelligent terminal equipment by combining with the NuTest automatic test platform, facilitate an operator to manage the intelligent terminal equipment by using the NuTest automatic test platform, further realize the functions of various metadata management, use cases, test management and task monitoring, and meet the requirements of different terminal equipment.
3. The computer-readable storage medium can realize the cooperation of the configuration module of the guide server, the function instruction issuing module and the data function calling realizing module, so as to realize the data function realizing method of the server, and the computer-readable storage medium also effectively improves the operability of the data function realizing method of the server.
4. The computer device can realize the storage and the execution of the computer readable storage medium, thereby realizing the data function realization method of the server side.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart of a data function implementation method of a server according to embodiment 1 of the present invention;
fig. 2 is a detailed flowchart illustrating a data function implementation method of a server according to embodiment 1 of the present invention;
fig. 3 is a schematic structural diagram of a data function implementation system of a server according to embodiment 2 of the present invention;
FIG. 4 is a schematic structural diagram of a computer apparatus according to embodiment 4 of the present invention;
the reference numerals in the drawings are as follows:
1501. a processor; 1502. a communication interface; 1503. a memory; 1504. a communication bus.
Detailed Description
The following detailed description of the preferred embodiments of the present invention, taken in conjunction with the accompanying drawings, will make the advantages and features of the present invention more comprehensible to those skilled in the art, and will thus provide a clear and concise definition of the scope of the present invention.
In the description of the present invention, it should be noted that the described embodiments of the present invention are a part of the embodiments of the present invention, and not all embodiments; all other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
The terms "first," "second," and the like in the description and in the claims, as well as in the drawings, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments herein described are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, apparatus, article, or device that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or device.
Example 1
The embodiment provides a method for implementing a data function of a server, which is applied to a NuTest platform, and as shown in fig. 1 and fig. 2, the method includes the following steps:
s100, server configuration, specifically comprising:
s110, configuring a metadata management algorithm, a case management algorithm, a test management algorithm and a task detection algorithm at a server;
s200, issuing a functional instruction, which specifically comprises the following steps:
s210, creating an operation end webpage, and issuing a function instruction to the server end based on the operation end webpage;
s300, realizing data function calling, specifically comprising:
s310, implementing operation on the server side according to the requirements based on the metadata management algorithm, the use case management algorithm, the test management algorithm, the task detection algorithm and the function instruction execution function.
As an implementation mode of the invention, the NuTest automatic test platform is used as a new generation product of the drive platform, and passes through aspects of hardware introduction, complete machine delivery, software self-test, on-site application joint debugging of customers and the like.
As an embodiment of the present invention, the method is specifically applied to a NuTest platform server, and provides functions such as metadata management, case management, test management, and task monitoring for an operator, so that the functional instruction includes: metadata management instructions, case management instructions, test instructions and task detection instructions;
as an implementation mode of the invention, the operation end webpage is used by an operator so as to facilitate the operator to issue a function calling instruction; the functions implement operations as needed, including: identifying the issued functional instruction; when the functional instruction is the metadata management instruction, calling the metadata management algorithm to realize a metadata management function; when the functional instruction is the use case management instruction, calling the use case management algorithm to realize a use case management function; when the functional instruction is the test instruction, calling the test management algorithm to realize a test management function; when the functional instruction is the task detection instruction, the task detection algorithm is called to realize a task detection function, and in sum, corresponding calling of corresponding functions is realized; in actual operation, the matching of each algorithm is automatically executed through scripts or functions;
as an embodiment of the present invention, the metadata management algorithm includes: the algorithm is mainly used for meeting the requirements of metadata management including instruction groups (groups), instruction sets (Actions), instructions (Actions) and the like, providing functions of creating and editing the instruction groups, instruction sets and instructions, and acquiring supported instruction lists, instruction parameters and the like; therefore, related instruction data which can be supported on the NuTest platform, namely an instruction support list and instruction support parameters, need to be obtained; identifying a first sub-function class of the metadata management instruction, wherein the first sub-function class refers to an instruction class which needs to be operated in the metadata management instruction; if the first sub-function class is an instruction group function class, editing or creating an instruction group according to the metadata management instruction, the instruction support list and the instruction support parameter; if the first sub-function class is an instruction set function class, editing or creating an instruction set according to the metadata management instruction, the instruction support list and the instruction support parameters; if the first sub-function class is an instruction function class, editing or creating an instruction according to the metadata management instruction, the instruction support list and the instruction support parameter; further distinguishing the instruction set, the instruction group and the instruction respectively;
as an embodiment of the present invention, the use case management algorithm includes: the algorithm is mainly used for meeting the requirements that case management comprises a case set (Units), a case (caseUnit), a Process (Process), a Thread (Thread) and the like, and the case comprises a simple case and a combined case, and provides functions of creating, editing, associating and the like; therefore, a second sub-function class of the use case management instruction is identified, wherein the second sub-function class refers to a use case class which needs to be operated in the use case management instruction; the use case types are generally divided into a combined use case and a simple use case (namely, a first use case type), and if the second sub-function type is the first use case type, a first use case new operation, a first use case editing operation or a first use case association operation is executed according to the use case management instruction; if the second sub-function class is a combined use case class, executing a combined use case new creation operation, a combined use case editing operation or a combined use case correlation operation according to the use case management instruction; further distinguishing the simple case and the combined case respectively;
as an embodiment of the present invention, the test management algorithm includes: the algorithm is mainly used for the functions of test management support for generating test scripts, acquiring script lists, deleting and the like; therefore, a third sub-function class of the test instruction is identified, wherein the third sub-function class mainly refers to a specific operation class required to be carried out in test management; if the third subfunction class is a script generation class, generating a first test script according to the test instruction; if the third subfunction class is a script display class, outputting a first script list according to the test instruction; if the third sub-function class is a script deleting class, deleting a second test script according to the test instruction; so as to distinguish different tests or other operations respectively;
as an embodiment of the present invention, the task detection algorithm includes: the algorithm is mainly used for task monitoring to support the starting, pausing, stopping and continuing of tasks and support the functions of acquiring a task list, executing details of each task, deleting the tasks, acquiring historical logs and the like; therefore, a fourth subfunction class of the task detection instruction is identified, wherein the fourth subfunction class is a detailed task control type in the task detection instruction; if the fourth sub-function class is a task control class, performing start control, pause control, termination control or recovery control on the first task according to the task detection instruction; if the fourth sub-function class is a task monitoring class, acquiring a first task list, a first task execution condition or a first task operation log according to the task detection instruction; different task operation modes are distinguished respectively; by the method, the realization of functions such as NuTe st platform metadata management, case management, test management, task monitoring and the like is provided for an operator, the method has strong logic expansibility, can be subsequently expanded according to other functional requirements of a specific NuTest platform, and has strong applicability.
Example 2
The present embodiment provides a system for implementing a data function of a server based on the same inventive concept as the method for implementing a data function of a server in embodiment 1, as shown in fig. 4, the system includes: the system comprises a server side configuration module, a functional instruction issuing module and a data function calling implementation module;
the server side configuration module is used for configuring a metadata management algorithm, a case management algorithm, a test management algorithm and a task detection algorithm at the server side;
the function instruction issuing module is used for creating an operation end webpage and issuing a function instruction to the server end based on the operation end webpage;
the data function calling implementation module is used for implementing operation on the basis of the metadata management algorithm, the case management algorithm, the test management algorithm, the task detection algorithm and the function instruction execution function on the server side as required;
as an embodiment of the present invention, the function instruction includes: metadata management instructions, case management instructions, test instructions and task detection instructions;
as an embodiment of the present invention, the data function call implementation module includes: the system comprises an instruction identification submodule, a metadata management submodule, a case management submodule, a test submodule and a task detection submodule;
the instruction identification submodule is used for identifying the functional instruction;
the metadata management submodule is used for calling the metadata management algorithm to realize a metadata management function when the functional instruction is the metadata management instruction;
the use case management submodule is used for calling the use case management algorithm to realize a use case management function when the functional instruction is the use case management instruction;
the test sub-module is used for calling the test management algorithm to realize a test management function when the functional instruction is the test instruction;
the task detection submodule is used for calling the task detection algorithm to realize a task detection function when the functional instruction is the task detection instruction;
as an embodiment of the present invention, the metadata management algorithm includes: the metadata management submodule acquires an instruction support list and instruction support parameters; the metadata management submodule identifies a first subfunction class of the metadata management instruction; if the first sub-function class is an instruction group function class, the metadata management sub-module edits or creates an instruction group according to the metadata management instruction, the instruction support list and the instruction support parameters; if the first sub-function class is an instruction set function class, the metadata management sub-module edits or creates an instruction set according to the metadata management instruction, the instruction support list and the instruction support parameter; and if the first sub-function class is an instruction function class, the metadata management sub-module carries out instruction editing or new establishment according to the metadata management instruction, the instruction support list and the instruction support parameters.
As an embodiment of the present invention, the use case management algorithm includes: the use case management submodule identifies a second subfunction class of the use case management instruction; if the second sub-function class is a first case class, the case management sub-module executes a first case new-creating operation, a first case editing operation or a first case association operation according to the case management instruction; and if the second sub-function class is a combined use case class, the use case management sub-module executes combined use case new creation operation, combined use case editing operation or combined use case association operation according to the use case management instruction.
As an embodiment of the present invention, the test management algorithm includes: the test submodule identifies a third subfunction class of the test instruction; if the third sub-function class is a script generation class, the test sub-module generates a first test script according to the test instruction; if the third subfunction class is a script display class, the testing submodule outputs a first script list according to the testing instruction; and if the third subfunction class is a script deleting class, the testing submodule deletes the second testing script according to the testing instruction.
As an embodiment of the present invention, the task detection algorithm includes: the task detection sub-module identifies a fourth sub-function class of the task detection instruction; if the fourth subfunction class is a task control class, the task detection submodule performs start control, pause control, termination control or recovery control on the first task according to the task detection instruction; and if the fourth sub-function class is a task monitoring class, the task detection sub-module acquires a first task list, a first task execution condition or a first task operation log according to the task detection instruction.
Example 3
The present embodiments provide a computer-readable storage medium, comprising:
the storage medium is used for storing computer software instructions for implementing the data function implementation method of the server described in embodiment 1, and includes a program for executing the data function implementation method of the server; specifically, the executable program may be embedded in the data function implementation system of the server described in embodiment 2, so that the data function implementation system of the server may implement the data function implementation method of the server described in embodiment 1 by executing the embedded executable program.
Furthermore, the computer-readable storage medium of this embodiment may take any combination of one or more readable storage media, where a readable storage medium includes an electronic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof.
Example 4
The present embodiment provides an electronic device, as shown in fig. 4, the electronic device may include: a processor 1501, a communication interface 1502, a memory 1503 and a communication bus 1504, wherein the processor 1501, the communication interface 1502 and the memory 1503 complete communication with each other through the communication bus 1504.
A memory 1503 for storing a computer program;
the processor 1501 is configured to implement the steps of the data function implementation method of the server described in embodiment 1 above when executing the computer program stored in the memory 1503.
As an embodiment of the present invention, the communication bus mentioned in the terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 4, but that does not indicate only one bus or one type of bus.
As an embodiment of the present invention, the communication interface is used for communication between the terminal and another device.
As an embodiment of the present invention, the Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
As an embodiment of the present invention, the Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components.
Different from the prior art, the data function implementation method, system, equipment and medium of the server side can be combined with a NuTest automatic test platform to design a service strategy capable of meeting different function implementation requirements of batched intelligent terminal equipment, an operator can conveniently manage the intelligent terminal equipment by using the NuTest automatic test platform, and then various metadata management, use case, test management and task monitoring functions are achieved, and different terminal equipment requirements are met.
It should be understood that, in various embodiments herein, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments herein.
It should also be understood that, in the embodiments herein, the term "and/or" is only one kind of association relation describing an associated object, meaning that three kinds of relations may exist. For example, a and/or B, may represent: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter associated objects are in an "or" relationship.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided herein, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the elements may be selected according to actual needs to achieve the objectives of the embodiments herein.
In addition, functional units in the embodiments herein may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions in the present invention substantially or partially contribute to the prior art, or all or part of the technical solutions may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments herein. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an embodiment of the present invention, and is not intended to limit the scope of the present invention, and all equivalent structures or equivalent processes performed by the present invention or directly or indirectly applied to other related technical fields are included in the scope of the present invention.

Claims (10)

1. A data function realization method of a server is applied to a NuTest platform and is characterized by comprising the following steps:
and (3) server side configuration:
configuring a metadata management algorithm, a case management algorithm, a test management algorithm and a task detection algorithm at a server side;
issuing a functional instruction:
creating an operation end webpage, and issuing a function instruction to the server end based on the operation end webpage;
and (3) realizing data function calling:
and implementing operation on the server side on the basis of the metadata management algorithm, the case management algorithm, the test management algorithm, the task detection algorithm and the function instruction execution function as required.
2. The method for implementing data function of a server according to claim 1, wherein:
the functional instructions include: metadata management instructions, case management instructions, test instructions and task detection instructions;
the functions implement operations as needed, including:
identifying the functional instruction;
when the functional instruction is the metadata management instruction, calling the metadata management algorithm to realize a metadata management function;
when the functional instruction is the use case management instruction, calling the use case management algorithm to realize a use case management function;
when the functional instruction is the test instruction, calling the test management algorithm to realize a test management function;
and when the functional instruction is the task detection instruction, calling the task detection algorithm to realize a task detection function.
3. The method for implementing data function of a server according to claim 2, wherein:
the metadata management algorithm comprises:
acquiring an instruction support list and instruction support parameters;
identifying a first sub-function class of the metadata management instruction;
if the first sub-function class is an instruction group function class, editing or creating an instruction group according to the metadata management instruction, the instruction support list and the instruction support parameters;
if the first sub-function class is an instruction set function class, editing or creating an instruction set according to the metadata management instruction, the instruction support list and the instruction support parameters;
and if the first sub-function class is an instruction function class, performing instruction editing or creating according to the metadata management instruction, the instruction support list and the instruction support parameter.
4. The method for implementing data function of server end according to claim 3, characterized in that:
the use case management algorithm comprises the following steps:
identifying a second sub-function class of the use case management instruction;
if the second sub-function class is a first case class, executing a first case new operation, a first case editing operation or a first case association operation according to the case management instruction;
and if the second sub-function class is a combined use case class, executing a combined use case new creation operation, a combined use case editing operation or a combined use case correlation operation according to the use case management instruction.
5. The method for implementing data function of a server according to claim 4, wherein:
the test management algorithm comprises the following steps:
identifying a third sub-function class of the test instruction;
if the third subfunction class is a script generation class, generating a first test script according to the test instruction;
if the third sub-function class is a script display class, outputting a first script list according to the test instruction;
and if the third sub-function class is a script deleting class, deleting the second test script according to the test instruction.
6. The method for implementing data function of a server according to claim 5, wherein:
the task detection algorithm comprises the following steps:
identifying a fourth sub-function class of the task detection instruction;
if the fourth sub-function class is a task control class, performing start control, pause control, termination control or recovery control on the first task according to the task detection instruction;
and if the fourth sub-function class is a task monitoring class, acquiring a first task list, a first task execution condition or a first task operation log according to the task detection instruction.
7. A data function implementation system of a server side is characterized by comprising: the system comprises a server configuration module, a functional instruction issuing module and a data function calling implementation module;
the server side configuration module is used for configuring a metadata management algorithm, a case management algorithm, a test management algorithm and a task detection algorithm at the server side;
the function instruction issuing module is used for creating an operation end webpage and issuing a function instruction to the server end based on the operation end webpage;
and the data function calling implementation module is used for implementing operation on the server side according to needs based on the metadata management algorithm, the case management algorithm, the test management algorithm, the task detection algorithm and the function instruction execution function.
8. The system for realizing data function of the server according to claim 7, wherein:
the functional instructions include: metadata management instructions, case management instructions, test instructions and task detection instructions;
the data function calling implementation module comprises: the system comprises an instruction identification submodule, a metadata management submodule, a case management submodule, a test submodule and a task detection submodule;
the instruction identification submodule is used for identifying the functional instruction;
the metadata management submodule is used for calling the metadata management algorithm to realize a metadata management function when the functional instruction is the metadata management instruction;
the use case management submodule is used for calling the use case management algorithm to realize a use case management function when the functional instruction is the use case management instruction;
the test sub-module is used for calling the test management algorithm to realize a test management function when the functional instruction is the test instruction;
and the task detection submodule is used for calling the task detection algorithm to realize a task detection function when the functional instruction is the task detection instruction.
9. A computer-readable storage medium, characterized in that, the computer-readable storage medium stores thereon a computer program, which when executed by a processor implements the steps of the data function implementing method of the server according to any one of claims 1 to 6.
10. A computer device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; wherein:
the memory is used for storing a computer program;
the processor is used for executing the steps of the data function realization method of the server side in any one of claims 1-6 by running the program stored on the memory.
CN202211475298.2A 2022-11-23 2022-11-23 Method, system, equipment and medium for realizing data function of server Pending CN115878459A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211475298.2A CN115878459A (en) 2022-11-23 2022-11-23 Method, system, equipment and medium for realizing data function of server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211475298.2A CN115878459A (en) 2022-11-23 2022-11-23 Method, system, equipment and medium for realizing data function of server

Publications (1)

Publication Number Publication Date
CN115878459A true CN115878459A (en) 2023-03-31

Family

ID=85760694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211475298.2A Pending CN115878459A (en) 2022-11-23 2022-11-23 Method, system, equipment and medium for realizing data function of server

Country Status (1)

Country Link
CN (1) CN115878459A (en)

Similar Documents

Publication Publication Date Title
CN110309051B (en) Method, system, equipment and storage medium for managing test cases
CN109633351B (en) Intelligent IT operation and maintenance fault positioning method, device, equipment and readable storage medium
CN111475417A (en) Automatic testing method, device, equipment and storage medium
CN110659198A (en) Application program test case execution method and device and software test system
CN105159832A (en) Method, apparatus and system for collecting application exception information in application test
CN113434396A (en) Interface test method, device, equipment, storage medium and program product
CN111158806A (en) Interface display method and device, computer equipment and storage medium
CN111767218B (en) Automatic test method, equipment and storage medium for continuous integration
CN112162908B (en) Method and device for realizing program call link monitoring based on byte code injection technology
CN109656810A (en) A kind of adjustment method of image algorithm, debugging system and terminal device
CN111324540B (en) Interface testing method and device
CN115878459A (en) Method, system, equipment and medium for realizing data function of server
CN110232013B (en) Test method, test device, controller and medium
CN115904841A (en) Remote testing method, system, equipment and medium for self-service terminal
CN107423216A (en) Debugging acid collocation method, readable storage medium storing program for executing and debugging acid configuration device
CN111427776A (en) Automatic testing method and device for intelligent equipment
CN111597105A (en) Automatic test system and method based on LV environment
CN115480940A (en) Page calling method, device and medium for financial ratio indexes
CN115495508A (en) Generating method and device of SQL (structured query language) statement for report and electronic equipment
CN115794545A (en) Automatic processing method of operation and maintenance data and related equipment thereof
CN114138253A (en) Test feedback method, device, equipment and storage medium of graphical programming code
CN114328257A (en) Automatic test case execution method and system and electronic equipment
CN114936121A (en) Fault simulation method, device, system and medium
CN104536750B (en) The method and device of cycling among windows object
CN114124769A (en) Base station testing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication