CN106843847B - Development method of online configurable generalized software based on data transmission between forms - Google Patents

Development method of online configurable generalized software based on data transmission between forms Download PDF

Info

Publication number
CN106843847B
CN106843847B CN201611223171.6A CN201611223171A CN106843847B CN 106843847 B CN106843847 B CN 106843847B CN 201611223171 A CN201611223171 A CN 201611223171A CN 106843847 B CN106843847 B CN 106843847B
Authority
CN
China
Prior art keywords
configuration
interface
test
channel
effective
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.)
Expired - Fee Related
Application number
CN201611223171.6A
Other languages
Chinese (zh)
Other versions
CN106843847A (en
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.)
Harbin Institute of Technology
Original Assignee
Harbin Institute of Technology
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 Harbin Institute of Technology filed Critical Harbin Institute of Technology
Priority to CN201611223171.6A priority Critical patent/CN106843847B/en
Publication of CN106843847A publication Critical patent/CN106843847A/en
Application granted granted Critical
Publication of CN106843847B publication Critical patent/CN106843847B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/10Requirements analysis; Specification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-oriented
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

A development method of online configurable generalized software based on data transmission between forms relates to a development method of generalized software. In order to solve the problem that the conventional software development method has low test efficiency because the software needs to be stored in a third-party software firstly and the general configuration items stored in the third-party software need to be loaded to carry out test work when the software is tested in the software development process, and the online modification of the configuration items is not supported, all hardware resources and corresponding attribute parameters thereof are reasonably distributed on a configuration interface according to numbers, an effective configuration result is transmitted to a test interface on line in real time by using an inter-window data transmission technology when a test task is started, the test interface reconstructs the total hardware resources according to the received current latest effective configuration result, and the test interface performs information interaction with the reconstructed hardware resources to realize and complete the test task, thereby realizing the development of the generalized software. The invention is suitable for the development of generalized software.

Description

Development method of online configurable generalized software based on data transmission between forms
Technical Field
The invention relates to a development method of generalized software, in particular to a development method of generalized software capable of realizing online configuration.
Background
With the improvement of the domestic test level, the generalization of the test equipment becomes a development trend. Most of the universal test equipment has the design idea that hardware design meets the maximum configuration requirement, software has universal configurability, and the software reconstructs the hardware according to the test task requirement to realize the generalization of the test equipment.
The development method of the universal test software usually stores the universal configuration items to the third-party software by means of the storage and recording functions of the third-party software, and then loads the universal configuration items stored by the third-party software to carry out the test work. When a user finds that some configuration items are wrong in configuration or some configurations need to be modified, the test task needs to be suspended, and the steps are repeated.
Disclosure of Invention
The invention aims to solve the problems that the conventional software development method needs to firstly store the general configuration item to third-party software and needs to load the general configuration item stored by the third-party software to carry out test work when testing the software in the software development process, and the test efficiency is low because the conventional software development method does not support on-line modification of the configuration item. Therefore, the invention provides a development method of online configurable generalized software based on data transmission between forms in a VC development environment.
The development method of the online configurable generalized software based on data transmission between forms comprises the following steps:
step 1, aiming at equipment of different types in a certain field or a certain aspect which needs software development, collecting total hardware resource information of all the equipment, classifying all the total hardware resources according to interface types, and distributing numbers to a configuration interface according to the number of each interface type and corresponding configurable attribute parameters to ensure that a user can realize arbitrary configuration of all the hardware resources on the configuration interface; the configuration interface is an interface or a dialog box for presenting and changing the configuration information of all the hardware resources;
step 2, completing the configuration of the preliminary hardware resources on a configuration interface by a user according to the test task requirement of software development to obtain an effective configuration result, which is specifically as follows: as shown in figure 2 of the drawings, in which,
step 2.1, presetting the total hardware resources of the distribution numbers on a configuration interface by a user according to the requirement of the test task, and acquiring the total channel number t of a certain interface in the required total hardware resources;
step 2.2, the computer initializes the total path number c of the effective channel to be 0 and the path number serial number i of the channel to be 0; generating a channel number array A [ t ] according to an interface in the total hardware resources set by a user, and initializing the channel number array A [ t ] to be 0; the serial number of the effective channel of the interface is stored in the serial number array A [ t ] according to the size sequence;
step 2.3, the computer detects whether the channel is effective or not by traversing; if the channel is invalid, the serial number i of the channel is made to be i +1, and the next channel is detected; if the channel is valid, the path number i of the channel is made to be i +1, the valid channel number array A [ c ] is made to be i +1, and then the total path number c of the valid channel is made to be c + 1;
step 2.4, judging whether the channel number i of the channel is equal to the total channel number t of the channel, if the channel number i of the channel is not equal to the total channel number t of the channel, the detection is not finished, and returning to the step 2.3 to continue the detection; if the number i of the channel is equal to the total number t of the channel, the detection is completed, the effective total number c of the channel and the effective number array A [ c ] of the channel are recorded and recorded as effective configuration results, and the preliminary configuration is completed;
step 3, when a test task is started, the effective configuration result is transmitted to a test interface in an on-line and real-time manner by using a data transmission technology between windows, and the test interface obtains the current latest effective configuration;
the test interface is a user interaction interface or a dialog box for presenting configuration results and online operation detection and display measurement and control results;
step 4, the test interface reconstructs the total hardware resources according to the received current latest effective configuration result, configures the attribute parameters of the reconstructed hardware, and records the configured attribute parameters as the reconstructed hardware resources;
and 5, performing information interaction on the test interface and the reconstructed hardware resource to realize and complete a test task, and further realizing development of the generalized software.
Preferably, in the process that the test interface in step 5 implements information interaction with the reconstructed hardware resources and completes the test task, if a configuration error is found or there is an optimal configuration, the step 2 is returned to re-perform the configuration of the hardware resources, and then the test interface receives the latest effective configuration after modification in real time on line, reconstructs the total hardware resources, and configures the attribute parameters of the reconstructed hardware, thereby ensuring the on-line configurability of software.
Preferably, in step 2, the user completes the preliminary hardware resource configuration in the configuration interface according to the test task requirement of the software development, wherein the test tasks of the software development include all the test tasks that the user wants to complete, and the hardware resources are required to be reconfigured for each test task. For example, after a test task is performed, a new test task needs to be started, and hardware resources need to be reconfigured.
Preferably, the process of transferring the effective configuration result to the test interface by using the data transfer technology between forms in step 3 is implemented based on a custom message and a message response function, and the specific process includes the following steps:
step (1), defining a custom message macro for sending all effective configuration result items in a header file corresponding to a configuration interface, wherein the macro value must be unique in the whole software;
step (2), adding a message trigger function for sending all effective configuration result information by using a class guide in a configuration interface, wherein the function is to acquire and send all effective configuration results in real time;
step (3), compiling a message trigger function, integrating and packaging all effective configuration result information acquired in a configuration interface according to a user-defined format, and then automatically sending the effective configuration result information of different data types so as to ensure the real-time performance of effective configuration transfer;
step (4), adding a message mapping function for receiving all effective configuration result information by utilizing a class guide of the test interface, wherein the function is used for automatically receiving and processing all effective configuration results sent by a trigger function;
step (5), compiling a message processing function in a test interface source file, wherein the function is to automatically receive all effective configuration result information sent in the step (3), analyze all effective configuration results according to the format defined in the step (3) and perform subsequent processing, and the subsequent processing process comprises hardware reconstruction, test interface display and the like; the whole process of transmitting the configuration information is online transmission, and the online configuration function of the configuration information is realized.
Or, the process of transmitting the effective configuration result to the test interface by using the data transmission technology between forms in step 3 is implemented based on a global static variable defining a response form class, and the specific process includes the following steps:
adding a configuration interface header file in a header file of a software App class to provide a basis for setting a configuration interface as a global variable in the step (b);
setting a class corresponding to the configuration interface as a global static variable in a header file of an App class so that a test interface directly calls all configuration information of the configuration interface;
step (c), declaring a global static variable on the top of a source file of an App class; after the operation is finished, the class corresponding to the configuration interface becomes a global static variable which can be called by other classes (including the class corresponding to the test interface), and only a configuration interface header file needs to be added into a calling class corresponding header file;
adding a configuration interface header file in a header file corresponding to the test interface, calling the configuration interface by using a global static variable defining the configuration interface as a source file corresponding to the test interface calls the test interface, and acquiring all effective configuration items of the configuration interface in real time on line; the whole process of acquiring the configuration information is online and real-time, and the function of online configuration of the configuration information can be realized.
The invention has the advantage of on-line configuration by utilizing the data transmission technology between the forms, can still configure or modify the configuration items of the configuration interface on line according to the requirements of the test task in the running process of the test software, obtains the general configuration items of the configuration interface in each on-line cycle of the test interface, does not need to restart the software after completing the configuration or modifying the configuration, brings convenience to the operation of a user, facilitates the completion of the test task more quickly and improves the test efficiency.
Drawings
FIG. 1 is a schematic diagram of an online configuration generalized software development scenario;
FIG. 2 is a schematic flow chart illustrating the process of completing the configuration of the preliminary hardware resources in the configuration interface according to the requirement of the test task;
FIG. 3 is a configuration interface diagram corresponding to hardware resources having 5 interface types in an embodiment;
FIG. 4 is a diagram of a test interface displaying all valid configuration items in an embodiment.
Detailed Description
The first embodiment is as follows: this embodiment is described in connection with figure 1,
under the VC development environment, the development method of the online configurable generalized software based on data transmission between forms comprises the following steps:
step 1, aiming at equipment of different types in a certain field or a certain aspect which needs software development, collecting total hardware resource information of all the equipment, classifying all the total hardware resources according to interface types, and distributing numbers to a configuration interface according to the number of each interface type and corresponding configurable attribute parameters to ensure that a user can realize arbitrary configuration of all the hardware resources on the configuration interface; the configuration interface is an interface or a dialog box for presenting and changing the configuration information of all the hardware resources;
step 2, completing the configuration of the preliminary hardware resources on a configuration interface by a user according to the test task requirement of software development to obtain an effective configuration result, which is specifically as follows: as shown in figure 2 of the drawings, in which,
step 2.1, presetting the total hardware resources of the distribution numbers on a configuration interface by a user according to the requirement of the test task, and acquiring the total channel number t of a certain interface in the required total hardware resources;
step 2.2, the computer initializes the total path number c of the effective channel to be 0 and the path number serial number i of the channel to be 0; generating a channel number array A [ t ] according to an interface in the total hardware resources set by a user, and initializing the channel number array A [ t ] to be 0; the serial number of the effective channel of the interface is stored in the serial number array A [ t ] according to the size sequence;
step 2.3, the computer detects whether the channel is effective or not by traversing; if the channel is invalid, the serial number i of the channel is made to be i +1, and the next channel is detected; if the channel is valid, the path number i of the channel is made to be i +1, the valid channel number array A [ c ] is made to be i +1, and then the total path number c of the valid channel is made to be c + 1;
step 2.4, judging whether the channel number i of the channel is equal to the total channel number t of the channel, if the channel number i of the channel is not equal to the total channel number t of the channel, the detection is not finished, and returning to the step 2.3 to continue the detection; if the number i of the channel is equal to the total number t of the channel, the detection is completed, the effective total number c of the channel and the effective number array A [ c ] of the channel are recorded and recorded as effective configuration results, and the preliminary configuration is completed;
step 3, when a test task is started, the effective configuration result is transmitted to a test interface in an on-line and real-time manner by using a data transmission technology between windows, and the test interface obtains the current latest effective configuration;
the test interface is a user interaction interface or a dialog box for presenting configuration results and online operation detection and display measurement and control results;
step 4, the test interface reconstructs the total hardware resources according to the received current latest effective configuration result, configures the attribute parameters of the reconstructed hardware, and records the configured attribute parameters as the reconstructed hardware resources;
and 5, performing information interaction on the test interface and the reconstructed hardware resource to realize and complete a test task, and further realizing development of the generalized software.
The second embodiment is as follows:
in the process that the test interface in step 5 performs information interaction with the reconstructed hardware resource and completes the test task, if a configuration error is found or there is an optimal configuration, the step 2 is returned to perform the configuration of the hardware resource again, then the test interface receives the latest effective configuration after modification in real time on line, reconstructs the total hardware resource, and configures the attribute parameters of the reconstructed hardware, thereby ensuring the on-line configurability of software.
In the process, when a test task is carried out, if configuration errors are found or configuration capable of being optimized exists in the test process, the step 2 is returned to carry out configuration of the hardware resources again, the test interface can receive the latest effective configuration after modification in real time on line based on the data transmission technology between the forms, the total hardware resources are reconstructed, and the attribute parameters of the hardware after reconstruction are configured. In this way, on-line configurability can be realized during the test.
Other steps and parameters are the same as in the first embodiment.
The third concrete implementation mode:
in step 2 of this embodiment, the user completes the preliminary hardware resource configuration in the configuration interface according to the test task requirements of the software development, where the test tasks of the software development include all the test tasks that the user wants to complete, and the hardware resources need to be reconfigured for each test task.
For example, after a test task is performed, a new test task needs to be started, and hardware resources need to be reconfigured. In the process, as one test task is completed, a new test task can be started to directly reconfigure hardware resources, and then follow-up operation is carried out based on the data transmission technology between forms, so that online configurability can be realized for multiple test tasks.
Other steps and parameters are the same as in the first or second embodiment.
The fourth concrete implementation mode:
in this embodiment, the process of transferring the effective configuration result to the test interface by using the inter-window data transfer technology in step 3 is implemented based on a custom message and a message response function, and the specific process includes the following steps:
step (1), defining a custom message macro for sending all effective configuration result items in a header file corresponding to a configuration interface, wherein the macro value must be unique in the whole software;
in the development environment of VC, the code defined in its header file is as follows:
#define USRMSG_TCP_RECV(WM_USER+5001)
step (2), adding a message trigger function OnTcpRecv () for sending all effective configuration result information by using a class guide through a configuration interface, wherein the function is to acquire and send all effective configuration results in real time;
in the development environment of VC, part of the code is as follows:
in the header file: LRESULT ontcprev (WPARAM _ idx, lpaaram _ pBuf);
in a source file: ON _ MESSAGE (USRMSG _ TCP _ RECV, & CNETDlg:: OnTcpRecv)
Step (3), compiling a message trigger function, integrating and packaging all effective configuration result information acquired in a configuration interface according to a user-defined format, and then automatically sending the effective configuration result information of different data types so as to ensure the real-time performance of effective configuration transfer;
in the development environment of VC, part of the code is as follows:
Figure GDA0001217769580000061
step (4), adding a message mapping function for receiving all effective configuration result information by utilizing a class guide of the test interface, wherein the function is used for automatically receiving and processing all effective configuration results sent by a trigger function;
in the development environment of VC, part of the code is as follows:
in the header file: LRESULT OnTestMMcAction (WPARAM _ todo, LPARAM _ parm);
in a source file: ON _ MESSAGE (USRMSG _ MMCALL _ ACTION, & CTest:: OnTestMMcAction)
Step (5), compiling a message processing function in a test interface source file, wherein the function is to automatically receive all effective configuration result information sent in the step (3), analyze all effective configuration results according to the format defined in the step (3) and perform subsequent processing, and the subsequent processing process comprises hardware reconstruction, test interface display and the like; the whole process of transmitting the configuration information is online transmission, and the online configuration function of the configuration information is realized.
In the development environment of VC, part of the code is as follows:
Figure GDA0001217769580000071
other steps and parameters are the same as in one of the first to third embodiments.
The fifth concrete implementation mode:
in this embodiment, the process of transmitting the effective configuration result to the test interface by using the inter-form data transmission technology in step 3 is implemented based on a global static variable defining a response form class, and the specific process includes the following steps:
adding a configuration interface header file in a header file of a software App class to provide a basis for setting a configuration interface as a global variable in the step (b);
in the development environment of VC, the code defined in its header file is as follows:
#include"ConfigTab.h"
setting a class corresponding to the configuration interface as a global static variable in a header file of an App class so that a test interface directly calls all configuration information of the configuration interface;
in the development environment of VC, part of the code is as follows:
static CConfigTab g _ ConfigTab; // configuration interface
Step (c), declaring a global static variable on the top of a source file of an App class; after the operation is finished, the class corresponding to the configuration interface becomes a global static variable which can be called by other classes (including the class corresponding to the test interface), and only a configuration interface header file needs to be added into a calling class corresponding header file;
in the development environment of VC, part of the code is as follows:
CConfigTab CSupplyOfSatelliteApp g _ ConfigTab; // configuration interface
Adding a configuration interface header file in a header file corresponding to the test interface, calling the configuration interface by using a global static variable defining the configuration interface as a source file corresponding to the test interface calls the test interface, and acquiring all effective configuration items of the configuration interface in real time on line; the whole process of acquiring the configuration information is online and real-time, and the function of online configuration of the configuration information can be realized.
In the development environment of VC, part of the code is as follows:
Figure GDA0001217769580000081
Figure GDA0001217769580000091
other steps and parameters are the same as in one of the first to third embodiments.
Examples
Assuming that the total hardware resources have 5 interface types, the configuration interface correspondingly sets 5 interfaces, and each interface has its corresponding channel number and several attributes.
Step 1: configuring all hardware names, channel numbers and a plurality of attributes of each interface to a configuration interface, as shown in FIG. 3;
step 2: configuring an effective channel and attribute parameters thereof according to the service condition of a certain model, and finishing primary configuration;
and step 3: after the preliminary configuration is completed, storing a configuration table, and when a test task is started, transmitting an effective configuration result to a test interface in real time on line by using an inter-window data transmission technology in combination with the fourth specific embodiment or the fifth specific embodiment, wherein the test interface displays all effective configuration items and corresponding display and indication, as shown in fig. 4;
and 4, step 4: the test interface reconstructs the total hardware resources and the attributes thereof according to the received current latest effective configuration result;
and 5: and in the software running process, completing a test task, and further realizing the development of the generalized software.
The embodiment reasonably distributes all hardware resources and corresponding attribute parameters thereof on the configuration interface according to the numbers, ensures that a user can realize the random configuration of all hardware resources on the configuration interface, completes the initial configuration on the configuration interface according to the requirement of a test task, tests the data transmission technology between application windows of a program corresponding to the interface, periodically and circularly reads and records the configuration items of the effective hardware resources of the configuration interface on line, and obtains the hardware resources corresponding to the configuration items according to each circulation to reconstruct and configure. Meanwhile, the test interface displays the latest effective configuration item of each circulation on line according to the structure of the test interface, the corresponding program can realize the required functions and operations according to the latest effective configuration item, the hardware and the software of the test equipment can be rapidly configured into the test equipment required by the current task requirement in real time, the test equipment can change the configuration on line in real time in the whole software running process, the test task required by the task requirement can be efficiently completed, and the generalization of the test software is realized. The technical key for realizing the generalization of the test software is to apply the data transmission technology among forms, and the technical key comprises a method for developing the test software capable of being configured on line to realize the generalization of the test software based on a self-defined message and a message response function or based on a global static variable defining a response form class.

Claims (5)

1. The development method of the online configurable generalized software based on data transmission between forms is characterized by comprising the following steps:
step 1, aiming at equipment of different types in a certain field or a certain aspect which needs software development, collecting total hardware resource information of all the equipment, classifying all the total hardware resources according to interface types, and distributing numbers to a configuration interface according to the number of each interface type and corresponding configurable attribute parameters to ensure that a user can realize the configuration of all the hardware resources on the configuration interface; the configuration interface is an interface or a dialog box for presenting and changing the configuration information of all the hardware resources;
step 2, completing the configuration of the preliminary hardware resources on a configuration interface by a user according to the test task requirement of software development to obtain an effective configuration result, which is specifically as follows:
step 2.1, presetting the total hardware resources of the distribution numbers on a configuration interface by a user according to the requirement of the test task, and acquiring the total channel number t of a certain interface in the required total hardware resources;
step 2.2, the computer initializes the total path number c of the effective channel to be 0 and the path number serial number i of the channel to be 0; generating a channel number array A [ t ] according to an interface in the total hardware resources set by a user, and initializing the channel number array A [ t ] to be 0; the serial number of the effective channel of the interface is stored in the serial number array A [ t ] according to the size sequence;
step 2.3, the computer detects whether the channel is effective or not by traversing; if the channel is invalid, the serial number i of the channel is made to be i +1, and the next channel is detected; if the channel is valid, the path number i of the channel is made to be i +1, the valid channel number array A [ c ] is made to be i +1, and then the total path number c of the valid channel is made to be c + 1;
step 2.4, judging whether the channel number i of the channel is equal to the total channel number t of the channel, if the channel number i of the channel is not equal to the total channel number t of the channel, the detection is not finished, and returning to the step 2.3 to continue the detection; if the number i of the channel is equal to the total number t of the channel, the detection is completed, the effective total number c of the channel and the effective number array A [ c ] of the channel are recorded and recorded as effective configuration results, and the preliminary configuration is completed;
step 3, when a test task is started, the effective configuration result is transmitted to a test interface in an on-line and real-time manner by using a data transmission technology between windows, and the test interface obtains the current latest effective configuration;
the test interface is a user interaction interface or a dialog box for presenting configuration results and online operation detection and display measurement and control results;
step 4, the test interface reconstructs the total hardware resources according to the received current latest effective configuration result, configures the attribute parameters of the reconstructed hardware, and records the configured attribute parameters as the reconstructed hardware resources;
and 5, performing information interaction on the test interface and the reconstructed hardware resource to realize and complete a test task, and further realizing development of the generalized software.
2. The development method of on-line configurable generalized software based on data transmission between forms according to claim 1, characterized in that, in the process that the test interface in step 5 implements information interaction with the reconstructed hardware resources and completes a test task, if a configuration error or configuration capable of being optimized is found, the process returns to step 2 to re-configure the hardware resources, and then the test interface receives the latest effective configuration after modification in real time on line, reconstructs the total hardware resources, and configures the attribute parameters of the reconstructed hardware, thereby ensuring the on-line configurability of software.
3. The development method of online configurable generalized software based on data transmission between forms according to claim 2, wherein in step 2, the user completes the test tasks of the software development in the configuration interface of the preliminary hardware resources according to the test task requirements of the software development, wherein the test tasks of the software development comprise the test tasks that the user wants to complete, and the hardware resources are required to be reconfigured for each test task.
4. The development method of on-line configurable generalized software based on data transmission between forms as claimed in one of claims 1 to 3, wherein the process of transmitting the effective configuration result to the test interface by using data transmission between forms technique in step 3 is implemented based on custom message and message response function, and the specific process includes the following steps:
step (1), defining a custom message macro for sending all effective configuration result items in a header file corresponding to a configuration interface, wherein the macro value of the custom message macro is only required in the whole software;
step (2), adding a message trigger function for sending all effective configuration result information by using a class guide in a configuration interface, wherein the function is to acquire and send all effective configuration results in real time;
step (3), compiling a message trigger function, integrating and packaging all effective configuration result information acquired in a configuration interface according to a user-defined format, and then automatically sending the effective configuration result information of different data types so as to ensure the real-time performance of effective configuration transfer;
step (4), adding a message mapping function for receiving all effective configuration result information by utilizing a class guide of the test interface, wherein the function is used for automatically receiving and processing all effective configuration results sent by a trigger function;
step (5), compiling a message processing function in a test interface source file, wherein the function is to automatically receive all effective configuration result information sent in the step (3), analyze all effective configuration results according to the format defined in the step (3) and perform subsequent processing, and the subsequent processing process comprises hardware reconstruction and test interface display; the whole process of transmitting the configuration information is online transmission, and the online configuration function of the configuration information is realized.
5. The development method of on-line configurable generalized software based on data transmission between forms as claimed in one of claims 1 to 3, wherein the process of transmitting the effective configuration result to the test interface by using data transmission between forms technique in step 3 is implemented based on global static variables defining response form class, and the specific process includes the following steps:
adding a configuration interface header file in a header file of a software App class to provide a basis for setting a configuration interface as a global variable in the step (b);
setting a class corresponding to the configuration interface as a global static variable in a header file of an App class so that a test interface directly calls all configuration information of the configuration interface;
step (c), declaring a global static variable on the top of a source file of an App class; after the operation is finished, the class corresponding to the configuration interface becomes a global static variable which can be called by other classes, and only a configuration interface header file needs to be added into a calling class corresponding header file;
adding a configuration interface header file in a header file corresponding to the test interface, calling the configuration interface by using a global static variable defining the configuration interface as a source file corresponding to the test interface calls the test interface, and acquiring all effective configuration items of the configuration interface in real time on line; the whole process of acquiring the configuration information is online and real-time, and the function of online configuration of the configuration information can be realized.
CN201611223171.6A 2016-12-26 2016-12-26 Development method of online configurable generalized software based on data transmission between forms Expired - Fee Related CN106843847B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611223171.6A CN106843847B (en) 2016-12-26 2016-12-26 Development method of online configurable generalized software based on data transmission between forms

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611223171.6A CN106843847B (en) 2016-12-26 2016-12-26 Development method of online configurable generalized software based on data transmission between forms

Publications (2)

Publication Number Publication Date
CN106843847A CN106843847A (en) 2017-06-13
CN106843847B true CN106843847B (en) 2020-05-26

Family

ID=59135692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611223171.6A Expired - Fee Related CN106843847B (en) 2016-12-26 2016-12-26 Development method of online configurable generalized software based on data transmission between forms

Country Status (1)

Country Link
CN (1) CN106843847B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008074610A1 (en) * 2006-12-20 2008-06-26 Endress+Hauser Gmbh+Co.Kg Computer-aided method for online configuration and ordering of an appliance
CN103034502A (en) * 2012-12-26 2013-04-10 江苏西电南自智能电力设备有限公司 Method for embedding dynamic real-time monitoring chart in scalable vector graphics (SVG) interface
CN105159374A (en) * 2015-08-31 2015-12-16 东南大学 Online monitoring unit oriented to ultrawide voltage and monitoring window self-adaptive adjusting system
CN105677358A (en) * 2016-01-25 2016-06-15 深圳市同创国芯电子有限公司 Configuration method and system for programmable logic device (PLD)
CN106250204A (en) * 2016-07-21 2016-12-21 北京理工大学 A kind of optimizer developing plug method of multidisciplinary optimization simulation software

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008074610A1 (en) * 2006-12-20 2008-06-26 Endress+Hauser Gmbh+Co.Kg Computer-aided method for online configuration and ordering of an appliance
CN103034502A (en) * 2012-12-26 2013-04-10 江苏西电南自智能电力设备有限公司 Method for embedding dynamic real-time monitoring chart in scalable vector graphics (SVG) interface
CN105159374A (en) * 2015-08-31 2015-12-16 东南大学 Online monitoring unit oriented to ultrawide voltage and monitoring window self-adaptive adjusting system
CN105677358A (en) * 2016-01-25 2016-06-15 深圳市同创国芯电子有限公司 Configuration method and system for programmable logic device (PLD)
CN106250204A (en) * 2016-07-21 2016-12-21 北京理工大学 A kind of optimizer developing plug method of multidisciplinary optimization simulation software

Also Published As

Publication number Publication date
CN106843847A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
WO2020155778A1 (en) Interface automation test method, test apparatus, test device and storage medium
CN109302522B (en) Test method, test device, computer system, and computer medium
CN106095677B (en) The RESTful Webservice automatic interface testing methods realized based on Robot Framework
CN105512029A (en) Method, server and system for testing intelligent terminal
CN106933729A (en) A kind of method of testing and system based on cloud platform
CN107608901B (en) Jmeter-based testing method and device, storage medium and electronic equipment
CN112162753A (en) Software deployment method and device, computer equipment and storage medium
CN105224458A (en) A kind of database method of testing and system
CN105204991A (en) Internet of things test method and device
CN108228444A (en) A kind of test method and device
CN111934908A (en) Internet of things simulation method, device and system and storage medium
CN112631919A (en) Comparison test method and device, computer equipment and storage medium
CN112306471A (en) Task scheduling method and device
US20200349063A1 (en) Probabilistic software testing via dynamic graphs
US11221862B2 (en) Capturing data from a live web application to populate a demo application
CN110888800A (en) Service interaction function test method, device, storage medium and test system
CN111901155B (en) Internet of things debugging method, device and system and storage medium
CN111949536B (en) JAVA application program testing method and system based on byte code technology
CN106843847B (en) Development method of online configurable generalized software based on data transmission between forms
CN113839825A (en) Equipment fault detection method, system, device, computer equipment and storage medium
CN109684196B (en) Test method and device
CN112241356A (en) Page testing method, device, equipment and storage medium
CN107193728A (en) Mobile terminal automation testing method and device
CN113127099B (en) Server configuration method, device, equipment and storage medium
CN111459484B (en) Method for simulating back-end data during separate development of front end and back end of webpage

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200526

Termination date: 20211226

CF01 Termination of patent right due to non-payment of annual fee