CN111090578B - Joint debugging method and device for engineering development, computer equipment and storage medium - Google Patents
Joint debugging method and device for engineering development, computer equipment and storage medium Download PDFInfo
- Publication number
- CN111090578B CN111090578B CN201910969973.9A CN201910969973A CN111090578B CN 111090578 B CN111090578 B CN 111090578B CN 201910969973 A CN201910969973 A CN 201910969973A CN 111090578 B CN111090578 B CN 111090578B
- Authority
- CN
- China
- Prior art keywords
- data
- target background
- target
- ark
- address
- 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.)
- Active
Links
- 238000011161 development Methods 0.000 title claims abstract description 48
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000004458 analytical method Methods 0.000 claims abstract description 47
- 238000004806 packaging method and process Methods 0.000 claims abstract description 37
- 230000002452 interceptive effect Effects 0.000 claims abstract description 18
- 238000005538 encapsulation Methods 0.000 claims abstract description 5
- 238000004590 computer program Methods 0.000 claims description 15
- 238000012790 confirmation Methods 0.000 claims description 8
- 238000007405 data analysis Methods 0.000 claims description 4
- 230000004044 response Effects 0.000 description 18
- 238000010586 diagram Methods 0.000 description 11
- 230000003993 interaction Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000012858 packaging process Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 235000019800 disodium phosphate Nutrition 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000000547 structure data Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a joint debugging method, a device, computer equipment and a storage medium for engineering development. The method comprises the steps of connecting with a corresponding target background according to a target address of the target background connected with a ark framework platform; the target address comprises an IP address and a port number of a target background; receiving request data returned and sent by the target background according to a front-end request, and inserting the request data into a pre-stored data packaging template for packaging to obtain packaging data; analyzing the encapsulation data to obtain corresponding analysis data; and sending the analysis data to a display area of the debugging interactive interface for front-end display. The method realizes that the target address of the target background is directly connected with the target background for direct connection, and the target background can be accurately accessed after the target background is appointed so as to carry out joint debugging, thereby improving the joint debugging efficiency.
Description
Technical Field
The present invention relates to the field of functional testing technologies, and in particular, to a joint debugging method and apparatus for engineering development, a computer device, and a storage medium.
Background
In the ARK ARK framework used at present, when a background engineering joint debugging (joint debugging refers to interface debugging between a front-end page and a background service) is carried out in a development stage, the service is deployed into the ARK framework platform when the background engineering is started. The problem of random access exists when the front-end page accesses the background service through the ark framework platform, namely, the front-end page accesses the same interface for multiple times to obtain different feedback results of the background service, rather than accessing the corresponding background service after the interface is designated, so that the joint debugging efficiency is reduced. Specifically, in general, a background engineering has a plurality of front-end engineers to participate in developing different modules, when a plurality of background is started for debugging, a foreground accesses a certain background service randomly, and may not access a service to be accessed, which brings great difficulty to joint debugging.
Disclosure of Invention
The embodiment of the invention provides an engineering development joint debugging method, an engineering development joint debugging device, computer equipment and a storage medium, which aim to solve the problem that in the prior art, random access exists when a front-end page accesses background services through an ARK framework platform, namely, the front-end page accesses the same interface for multiple times to obtain different feedback results of the background services, and the joint debugging efficiency is reduced.
In a first aspect, an embodiment of the present invention provides an engineering development joint debugging method, which includes:
According to the target address of the target background connected with the ark framework platform, connecting with the corresponding target background; the target address comprises an IP address and a port number of a target background;
receiving request data returned and sent by the target background according to a front-end request, and inserting the request data into a pre-stored data packaging template for packaging to obtain packaging data;
Analyzing the encapsulation data to obtain corresponding analysis data; and
And sending the analysis data to a display area of the debugging interactive interface for front-end display.
In a second aspect, an embodiment of the present invention provides an engineering development joint debugging device, including:
The background direct connection unit is used for connecting with a corresponding target background according to a target address of the target background connected with the ark framework platform; the target address comprises an IP address and a port number of a target background;
the data packaging unit is used for receiving request data returned and sent by the target background according to a front-end request, inserting the request data into a pre-stored data packaging template for packaging, and obtaining packaging data;
The data analysis unit is used for analyzing the package data to obtain corresponding analysis data; and
And the data display unit is used for sending the analysis data to a display area of the debugging interactive interface for front-end display.
In a third aspect, an embodiment of the present invention further provides a computer apparatus, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor executes the computer program to implement the engineering development joint debugging method described in the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores a computer program, where the computer program when executed by a processor causes the processor to execute the engineering development joint debugging method described in the first aspect.
The embodiment of the invention provides a method, a device, computer equipment and a storage medium for engineering development joint debugging, which realize that a target address of a target background is directly connected with the target background for direct connection, and the target background can be accurately accessed after the target background is appointed so as to carry out joint debugging, thereby improving the joint debugging efficiency.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments 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 may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an application scenario of an engineering development joint debugging method provided by an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a joint debugging method for engineering development according to an embodiment of the present invention;
FIG. 3 is another schematic flow chart of the joint debugging method for engineering development according to the embodiment of the invention;
FIG. 4 is another schematic flow chart of the joint debugging method for engineering development according to the embodiment of the invention;
FIG. 5 is another schematic flow chart of the joint debugging method for engineering development according to the embodiment of the invention;
FIG. 6 is a schematic view of a sub-flowchart of an engineering development joint debugging method according to an embodiment of the present invention;
FIG. 7 is a schematic block diagram of an engineering development joint debugging device provided by an embodiment of the invention;
FIG. 8 is another schematic block diagram of an engineering development joint debugging device provided by an embodiment of the present invention;
FIG. 9 is another schematic block diagram of an engineering development joint debugging device provided by an embodiment of the present invention;
FIG. 10 is another schematic block diagram of an engineering development joint debugging device provided by an embodiment of the present invention;
FIG. 11 is a schematic block diagram of a subunit of the joint debugging device for engineering development provided by the embodiment of the invention;
Fig. 12 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Referring to fig. 1 and fig. 2, fig. 1 is a schematic diagram of an application scenario of an engineering development joint debugging method according to an embodiment of the present invention; fig. 2 is a schematic flow chart of an engineering development joint debugging method provided by an embodiment of the present invention, where the engineering development joint debugging method is applied to a server, and the method is executed by application software installed in the server.
As shown in fig. 2, the method includes steps S110 to S140.
S110, connecting with a corresponding target background according to a target address of the target background connected with the ark framework platform; the target address comprises an IP address and a port number of a target background.
In this embodiment, in order to more clearly understand the technical solution of the present application, the following description will discuss the related terminal. The application relates to a technical scheme for describing the angle of the front end.
The ARK ARK frame platform is abbreviated as an ARK frame platform and is used for projects of front-end and rear-end separation frames, and can be said to be a set of micro-service frames similar to springcloud.
And secondly, the front end of the ARK ARK framework platform is used by front-end developers of the project to develop the project.
Thirdly, the background of the ARK ARK framework platform is used by background developers of the project to develop the project.
In a general ARK framework platform, a background engineering has a plurality of engineers to participate in developing different modules, each module may have versions (for example, V1.0 and V2.0 versions) in different periods, if different versions of the same module are distributed on different backgrounds, when the plurality of backrests are started simultaneously for debugging, a foreground accesses a certain background service corresponding to the module at random when accessing the service of the module, and the service which is wanted to be accessed may not be accessed, so that great difficulty is brought to joint debugging. For example, if the front-end inputs access module a, feedback may be received from one of the background A1, the background A2, and the background A3, which may result in poor joint debugging efficiency. In order to realize direct connection between the front end and the designated background, the address information of the target background needs to be acquired, and after the acquired address information of the target background is analyzed, the direct connection between the front end and the corresponding target background is realized.
In one embodiment, as shown in fig. 3, step S110 further includes:
s101, acquiring an initial configuration file connected with a ark framework platform;
s102, receiving a target address of a target background, and replacing address information in the initial configuration file with the target address to obtain a current configuration file.
In one embodiment, step S110 includes:
And connecting with the corresponding target background according to the current configuration file.
In this embodiment, for example, the initial configuration file of the connection between the front end and the ark framework platform is:
proxyTable:{
’/admin’:{
target:’https://aaaa.bbbb.com.cn’
pathRewrite:{
’^/admin’:’/’
},
},
}
the address behind the target represents that after the front end is connected with the ARK ARK framework platform corresponding to the aaaa.bbbb.com.cn address, a background is randomly allocated by the ARK ARK framework platform.
When the target address information is obtained from the target background, the address after the target in the initial configuration file can be replaced by the target address information, for example, the target address information is 10.110.110.11:6000, and the aaaa.bbbb.com cn is replaced by 10.110.110.11:6000, so that the current configuration file can be obtained, wherein 10.110.110.11 in the target address information represents the IP address of the target background, and 6000 represents the port number of the target background. When the initial configuration file is modified into the current configuration file, the front end can be designated to be directly connected with the target background.
However, because the communication between the front end and the back end is based on the data format of the ARK ARK framework platform, if the front end directly sends a data request to the back end directly connected with the front end, the data fed back by the back end cannot be analyzed at the front end, and the data needs to be subjected to subsequent packaging processing.
S120, receiving request data returned and sent by the target background according to a front-end request, and inserting the request data into a pre-stored data packaging template for packaging to obtain packaging data.
In this embodiment, the front end generally stores a data package template in advance for performing format conversion on the request data returned and sent by the target background according to the front end request, so that the front end can identify the corresponding request data. The data package template stored in the front end has at least two acquisition modes, one is extracted from the local history request data of the front end, and the other is acquired from the interactive data in the ark framework platform.
In an embodiment, as shown in fig. 4, as a first embodiment of the data package template acquisition, step S110 further includes:
s103, acquiring local history request data, and positioning a first data structure body which is the same as a preset keyword in the history request data;
And S104, deleting the data in the first data structure body to obtain a data packaging template.
In this embodiment, the history request data is the history data stored in the front end when the front end interacts with the back end through the ARK framework platform, for example, the history data has a keyword of response and data, and the data content in the data structure after the response and data is obtained, and the specific data of the data structure is generally within { }, for example, the response and data { } is the obtained data package template.
In one embodiment, as shown in fig. 6, as a second embodiment of the data package template acquisition, step S110 further includes:
S105, acquiring interaction data in the ark framework platform, and positioning a second data structure body which is the same as a preset keyword in the interaction data;
and S106, deleting the data in the second data structure body to obtain a data packaging template.
In this embodiment, when the front end interacts with the background through the ark framework platform, the interaction data is cached or permanently stored in the ark framework platform, and one of the interaction data stored in the ark framework platform is obtained as an analysis sample. For example, the interactive data has a keyword of response and data, the data content in the data structure body after the response and data are acquired, and the specific data of the data structure body is generally within { }, for example, the response and data { } is the acquired data package template.
Through the two embodiments of acquiring the data packaging templates, the data packaging templates can be effectively extracted to package the request data, so that the front end can effectively identify the request data.
S130, analyzing the package data to obtain corresponding analysis data.
In this embodiment, the encapsulated data is parsed, that is, the data content in the data structure of the encapsulated data is parsed, so as to obtain the data fed back in the background. The reason why the request data is packaged through the packaging template is that the front end cannot identify the request data without the processing (because the front end can only identify the data fed back by the ARK ARK frame platform, the request data is packaged by the ARK ARK frame platform before being fed back to the front end from the background, and the packaging process is pre-arranged to the local of the front end at this time), and the request data can be read and analyzed by the front end common sense after being packaged by the packaging template in a local designated area of the front end.
In one embodiment, as shown in fig. 6, step S130 includes:
s131, positioning a data structure body for acquiring the package data;
S132, acquiring data in the data structure body to obtain analysis data.
In this embodiment, the analysis of the package data is the reverse of the package process. For example, the package data has a keyword of response and data, the data content in the data structure body after the response and data are acquired, and the specific data of the data structure body is generally within { }, for example, the data in brackets in the response and data { } arethe acquired analysis data. And analyzing the encapsulated data to obtain the analyzed data corresponding to the front-end request for joint debugging at the front end.
And S140, sending the analysis data to a display area of the debugging interactive interface for front-end display.
In this embodiment, after the front end receives the analysis data (e.g., the code data of the V2.0 version of the module a), in order to facilitate the debugging of the operation user at the front end, the analysis data needs to be sent to the display area of the debugging interactive interface for front-end display. The front end is provided with a debugging platform similar to that in the back end, and the analysis data is displayed in a display area of a debugging interaction interface of the debugging platform, so that a developer of the front end can conveniently check or edit the analysis data.
In an embodiment, step S140 further includes:
And if the confirmation editing instruction is detected, transmitting editing information of the analysis data to a target background.
In this embodiment, after the operation user at the front end views the analysis data, the analysis data may be modified and edited, and after the editing is completed and the storing is clicked, an editing confirmation instruction is issued, at this time, once the front end detects the confirmation editing instruction, the front end sends the editing information of the analysis data (i.e. the updated analysis data) to the target background, so as to realize the joint debugging of the front end and the background.
The method realizes that the target address of the target background is directly connected with the target background for direct connection, and the target background can be accurately accessed after the target background is appointed so as to carry out joint debugging, thereby improving the joint debugging efficiency.
The embodiment of the invention also provides an engineering development joint debugging device which is used for executing any embodiment of the engineering development joint debugging method. Specifically, referring to fig. 7, fig. 7 is a schematic block diagram of an engineering development joint debugging device according to an embodiment of the present invention. The engineering development joint debugging device 100 may be configured in a server.
As shown in fig. 7, the engineering development joint debugging device 100 includes a background direct connection unit 110, a data encapsulation unit 120, a data analysis unit 130, and a data display unit 140.
The background direct connection unit 110 is configured to connect with a corresponding target background according to a target address of the target background connected with the ark framework platform; the target address comprises an IP address and a port number of a target background.
In this embodiment, a background engineering in a general ARK framework platform may have multiple engineers involved in developing different modules, and each module may have versions (for example, V1.0 and V2.0 versions) of different periods, and if different versions of the same module are distributed on different backgrounds, when the multiple backrests are started to debug at the same time, a foreground will randomly access a certain background service corresponding to the module when accessing the service of the module, and may not be able to access the service that wants to access, which makes joint debugging very difficult. For example, if the front-end inputs access module a, feedback may be received from one of the background A1, the background A2, and the background A3, which may result in poor joint debugging efficiency. In order to realize direct connection between the front end and the designated background, the address information of the target background needs to be acquired, and after the acquired address information of the target background is analyzed, the direct connection between the front end and the corresponding target background is realized.
In one embodiment, as shown in fig. 8, the engineering development joint debugging device 100 further includes:
an initial configuration file obtaining unit 101, configured to obtain an initial configuration file connected to the ark framework platform;
And the address replacing unit 102 is configured to receive a target address of a target background, replace address information in the initial configuration file with the target address, and obtain a current configuration file.
In an embodiment, the background direct connection unit S110 is further configured to:
And connecting with the corresponding target background according to the current configuration file.
In this embodiment, for example, the initial configuration file of the connection between the front end and the ark framework platform is:
proxyTable:{
’/admin’:{
target:’https://aaaa.bbbb.com.cn’
pathRewrite:{
’^/admin’:’/’
},
},
}
the address behind the target represents that after the front end is connected with the ARK ARK framework platform corresponding to the aaaa.bbbb.com.cn address, a background is randomly allocated by the ARK ARK framework platform.
When the target address information is obtained from the target background, the address after the target in the initial configuration file can be replaced by the target address information, for example, the target address information is 10.110.110.11:6000, and the aaaa.bbbb.com cn is replaced by 10.110.110.11:6000, so that the current configuration file can be obtained, wherein 10.110.110.11 in the target address information represents the IP address of the target background, and 6000 represents the port number of the target background. When the initial configuration file is modified into the current configuration file, the front end can be designated to be directly connected with the target background.
However, because the communication between the front end and the back end is based on the data format of the ARK ARK framework platform, if the front end directly sends a data request to the back end directly connected with the front end, the data fed back by the back end cannot be analyzed at the front end, and the data needs to be subjected to subsequent packaging processing.
The data packaging unit 120 is configured to receive the request data returned and sent by the target background according to the front-end request, insert the request data into a pre-stored data packaging template, and package the request data to obtain packaged data.
In this embodiment, the front end generally stores a data package template in advance for performing format conversion on the request data returned and sent by the target background according to the front end request, so that the front end can identify the corresponding request data. The data package template stored in the front end has at least two acquisition modes, one is extracted from the local history request data of the front end, and the other is acquired from the interactive data in the ark framework platform.
In one embodiment, as shown in fig. 9, as a first embodiment for obtaining a data package template, the engineering-development joint debugging device 100 further includes:
A first data structure acquiring unit 103, configured to acquire local history request data, and locate a first data structure identical to a preset keyword in the history request data;
And the first data deleting unit 104 is configured to delete the data in the first data structure body to obtain a data package template.
In this embodiment, the history request data is the history data stored in the front end when the front end interacts with the back end through the ARK framework platform, for example, the history data has a keyword of response and data, and the data content in the data structure after the response and data is obtained, and the specific data of the data structure is generally within { }, for example, the response and data { } is the obtained data package template.
In one embodiment, as shown in fig. 10, as a second embodiment for obtaining the data package template, the engineering-development joint debugging device 100 further includes:
A second data structure acquiring unit 105, configured to acquire interactive data in the ark framework platform, and locate a second data structure identical to a preset keyword in the interactive data;
and the second data deleting unit 106 is configured to delete the data in the second data structure body to obtain a data encapsulation template.
In this embodiment, when the front end interacts with the background through the ark framework platform, the interaction data is cached or permanently stored in the ark framework platform, and one of the interaction data stored in the ark framework platform is obtained as an analysis sample. For example, the interactive data has a keyword of response and data, the data content in the data structure body after the response and data are acquired, and the specific data of the data structure body is generally within { }, for example, the response and data { } is the acquired data package template.
Through the two embodiments of acquiring the data packaging templates, the data packaging templates can be effectively extracted to package the request data, so that the front end can effectively identify the request data.
And the data analysis unit 130 is configured to analyze the package data to obtain corresponding analysis data.
In this embodiment, the encapsulated data is parsed, that is, the data content in the data structure of the encapsulated data is parsed, so as to obtain the data fed back in the background. The reason why the request data is packaged through the packaging template is that the front end cannot identify the request data without the processing (because the front end can only identify the data fed back by the ARK ARK frame platform, the request data is packaged by the ARK ARK frame platform before being fed back to the front end from the background, and the packaging process is pre-arranged to the local of the front end at this time), and the request data can be read and analyzed by the front end common sense after being packaged by the packaging template in a local designated area of the front end.
In one embodiment, as shown in fig. 11, the data parsing unit 130 includes:
a structure body positioning unit 131 for positioning a data structure body for acquiring the package data;
and a structure data extraction unit 132, configured to obtain data in the data structure, so as to obtain analysis data.
In this embodiment, the analysis of the package data is the reverse of the package process. For example, the package data has a keyword of response and data, the data content in the data structure body after the response and data are acquired, and the specific data of the data structure body is generally within { }, for example, the data in brackets in the response and data { } arethe acquired analysis data. And analyzing the encapsulated data to obtain the analyzed data corresponding to the front-end request for joint debugging at the front end.
And the data display unit 140 is used for sending the analysis data to a display area of the debugging interactive interface for front-end display.
In this embodiment, after the front end receives the analysis data (e.g., the code data of the V2.0 version of the module a), in order to facilitate the debugging of the operation user at the front end, the analysis data needs to be sent to the display area of the debugging interactive interface for front-end display. The front end is provided with a debugging platform similar to that in the back end, and the analysis data is displayed in a display area of a debugging interaction interface of the debugging platform, so that a developer of the front end can conveniently check or edit the analysis data.
In one embodiment, the engineering development joint debugging device 100 further includes:
And the editing data transmitting unit is used for transmitting editing information of the analysis data to a target background if the confirmation editing instruction is detected.
In this embodiment, after the operation user at the front end views the analysis data, the analysis data may be modified and edited, and after the editing is completed and the storing is clicked, an editing confirmation instruction is issued, at this time, once the front end detects the confirmation editing instruction, the front end sends the editing information of the analysis data (i.e. the updated analysis data) to the target background, so as to realize the joint debugging of the front end and the background.
The device realizes that the target address of the target background is directly connected with the target background for direct connection, and the target background can be accurately accessed after the target background is appointed for joint debugging, so that the joint debugging efficiency is improved.
The engineering development joint debugging device described above may be implemented in the form of a computer program that can be run on a computer device as shown in fig. 12.
Referring to fig. 12, fig. 12 is a schematic block diagram of a computer device according to an embodiment of the present invention. The computer device 500 is a server, and the server may be a stand-alone server or a server cluster formed by a plurality of servers.
With reference to FIG. 12, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032, when executed, may cause the processor 502 to perform an engineering-development joint debugging method.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the execution of a computer program 5032 in the non-volatile storage medium 503, which computer program 5032, when executed by the processor 502, causes the processor 502 to perform the engineering-development joint debugging method.
The network interface 505 is used for network communication, such as providing for transmission of data information, etc. It will be appreciated by those skilled in the art that the structure shown in FIG. 12 is merely a block diagram of some of the structures associated with the present inventive arrangements and does not constitute a limitation of the computer device 500 to which the present inventive arrangements may be applied, and that a particular computer device 500 may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
The processor 502 is configured to execute a computer program 5032 stored in a memory, so as to implement the engineering development joint debugging method disclosed in the embodiment of the present invention.
Those skilled in the art will appreciate that the embodiment of the computer device shown in fig. 12 is not limiting of the specific construction of the computer device, and in other embodiments, the computer device may include more or less components than those shown, or certain components may be combined, or a different arrangement of components. For example, in some embodiments, the computer device may include only a memory and a processor, and in such embodiments, the structure and function of the memory and the processor are consistent with the embodiment shown in fig. 12, and will not be described again.
It should be appreciated that in embodiments of the present invention, the Processor 502 may be a central processing unit (Central Processing Unit, CPU), the Processor 502 may also be other general purpose processors, digital signal processors (DIGITAL SIGNAL processors, DSPs), application SPECIFIC INTEGRATED Circuits (ASICs), off-the-shelf Programmable gate arrays (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In another embodiment of the invention, a computer-readable storage medium is provided. The computer readable storage medium may be a non-volatile computer readable storage medium. The computer readable storage medium stores a computer program, wherein the computer program when executed by a processor implements the engineering development joint debugging method disclosed by the embodiment of the invention.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus, device and unit described above may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein. Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate 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 solution. 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 invention.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the units is merely a logical function division, there may be another division manner in actual implementation, or units having the same function may be integrated into one unit, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices, or elements, or may be an electrical, mechanical, or other form of connection.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment of the present invention.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units may be stored in a storage medium if implemented in the form of software functional units and sold or used as stand-alone products. Based on such understanding, the technical solution of the present invention is essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.
Claims (6)
1. The joint debugging method for engineering development is characterized by comprising the following steps of:
According to the target address of the target background connected with the ark framework platform, connecting with the corresponding target background; the target address comprises an IP address and a port number of a target background;
receiving request data returned and sent by the target background according to a front-end request, and inserting the request data into a pre-stored data packaging template for packaging to obtain packaging data;
Analyzing the encapsulation data to obtain corresponding analysis data; and
The analysis data is sent to a display area of the debugging interactive interface for front-end display;
The method further comprises the following steps before the connection with the corresponding target background according to the target address of the target background connected with the ark framework platform:
acquiring an initial configuration file connected with a square boat architecture platform;
Receiving a target address of a target background, and replacing address information in the initial configuration file with the target address to obtain a current configuration file;
the connecting with the corresponding target background according to the target address of the target background connected with the ark framework platform comprises the following steps:
Connecting with a corresponding target background according to the current configuration file;
wherein the ark framework platform is an item for separating frames at the front end and the rear end;
The method further comprises the following steps before the connection with the corresponding target background according to the target address of the target background connected with the ark framework platform:
acquiring local history request data, and positioning a first data structure body which is the same as a preset keyword in the history request data;
deleting the data in the first data structure body to obtain a data packaging template;
The history request data are history data stored in the front end when the front end interacts with the rear end through the ark framework platform;
after the analysis data is sent to the display area of the debugging interactive interface for front-end display, the method further comprises the following steps:
If a confirmation editing instruction is detected, editing information of the analysis data is sent to a target background;
wherein the editing information is updated analysis data.
2. The joint debugging method of claim 1, wherein the connecting with the corresponding target background according to the target address of the target background connected with the ark framework platform further comprises:
Acquiring interactive data in an ark framework platform, and positioning a second data structure body which is the same as a preset keyword in the interactive data;
and deleting the data in the second data structure body to obtain a data packaging template.
3. The engineering development joint debugging method according to claim 1, wherein the analyzing the package data to obtain corresponding analysis data comprises:
positioning a data structure body for acquiring the package data;
and acquiring data in the data structure body to obtain analysis data.
4. An engineering development joint debugging device, which is characterized by comprising:
The background direct connection unit is used for connecting with a corresponding target background according to a target address of the target background connected with the ark framework platform; the target address comprises an IP address and a port number of a target background;
the data packaging unit is used for receiving request data returned and sent by the target background according to a front-end request, inserting the request data into a pre-stored data packaging template for packaging, and obtaining packaging data;
The data analysis unit is used for analyzing the package data to obtain corresponding analysis data; and
The data display unit is used for sending the analysis data to a display area of the debugging interactive interface for front-end display;
The engineering development joint debugging device further comprises:
The initial configuration file acquisition unit is used for acquiring an initial configuration file connected with the ark framework platform;
the address replacement unit is used for receiving a target address of a target background, replacing address information in the initial configuration file with the target address and obtaining a current configuration file;
the backstage direct connection unit is further used for:
Connecting with a corresponding target background according to the current configuration file;
wherein the ark framework platform is an item for separating frames at the front end and the rear end;
The engineering development joint debugging device further comprises:
a first data structure body acquisition unit, configured to acquire local history request data, and locate a first data structure body that is the same as a preset keyword in the history request data;
the first data deleting unit is used for deleting the data in the first data structure body to obtain a data packaging template;
The history request data are history data stored in the front end when the front end interacts with the rear end through the ark framework platform;
The engineering development joint debugging device further comprises:
The editing data transmitting unit is used for transmitting editing information of the analysis data to a target background if an editing confirmation instruction is detected;
wherein the editing information is updated analysis data.
5. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the engineering-development joint debugging method of any one of claims 1 to 3 when the computer program is executed by the processor.
6. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, causes the processor to perform the engineering-development joint debugging method of any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910969973.9A CN111090578B (en) | 2019-10-12 | 2019-10-12 | Joint debugging method and device for engineering development, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910969973.9A CN111090578B (en) | 2019-10-12 | 2019-10-12 | Joint debugging method and device for engineering development, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111090578A CN111090578A (en) | 2020-05-01 |
CN111090578B true CN111090578B (en) | 2024-05-10 |
Family
ID=70392969
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910969973.9A Active CN111090578B (en) | 2019-10-12 | 2019-10-12 | Joint debugging method and device for engineering development, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111090578B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112363935A (en) * | 2020-11-11 | 2021-02-12 | 平安普惠企业管理有限公司 | Data joint debugging method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9471466B1 (en) * | 2015-05-28 | 2016-10-18 | Sap Se | End-to-end in-browser web-application debugging |
CN206773462U (en) * | 2017-04-28 | 2017-12-19 | 广州市机房宝信息科技有限公司 | A kind of plug and play monitoring system |
CN109491905A (en) * | 2018-11-02 | 2019-03-19 | 北京金山云网络技术有限公司 | Head end test method, apparatus and electronic equipment |
CN110138833A (en) * | 2019-04-12 | 2019-08-16 | 中国平安人寿保险股份有限公司 | Method for rapidly debugging, device, medium and the equipment of React Native module in APP |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012079130A (en) * | 2010-10-01 | 2012-04-19 | Fujitsu Ltd | Debug support program, debug support device and debug support method |
-
2019
- 2019-10-12 CN CN201910969973.9A patent/CN111090578B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9471466B1 (en) * | 2015-05-28 | 2016-10-18 | Sap Se | End-to-end in-browser web-application debugging |
CN206773462U (en) * | 2017-04-28 | 2017-12-19 | 广州市机房宝信息科技有限公司 | A kind of plug and play monitoring system |
CN109491905A (en) * | 2018-11-02 | 2019-03-19 | 北京金山云网络技术有限公司 | Head end test method, apparatus and electronic equipment |
CN110138833A (en) * | 2019-04-12 | 2019-08-16 | 中国平安人寿保险股份有限公司 | Method for rapidly debugging, device, medium and the equipment of React Native module in APP |
Non-Patent Citations (1)
Title |
---|
卫星地面任务联调系统的设计与实现;段勇涛;《中国优秀硕士学位论文全文数据库 (工程科技Ⅱ辑)》;20091115(第11期);C031-113 * |
Also Published As
Publication number | Publication date |
---|---|
CN111090578A (en) | 2020-05-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110457038B (en) | Card display method, device and equipment of auxiliary application terminal and storage medium | |
US7159146B2 (en) | Analyzing system error messages | |
CN110377462B (en) | Interface testing method and device and terminal equipment | |
US20040054991A1 (en) | Debugging tool and method for tracking code execution paths | |
CN111538659B (en) | Interface testing method, system, electronic equipment and storage medium of business scene | |
CN112181522B (en) | Data processing method and device and electronic equipment | |
CN108228444B (en) | Test method and device | |
CN115208951B (en) | Request processing method, request processing device, electronic equipment and computer readable storage medium | |
US9262142B2 (en) | Web application development tool | |
CN113094255A (en) | Simulation test method, device and system for data interface | |
CN113138757B (en) | Front-end code automatic generation method, device, server, system and medium | |
CN112579461B (en) | Assertion processing method, system and storage medium | |
CN111090578B (en) | Joint debugging method and device for engineering development, computer equipment and storage medium | |
CN111046245A (en) | Multi-source heterogeneous data source fusion calculation method, system, equipment and storage medium | |
US20070169004A1 (en) | Automatic failure analysis of code development options | |
CN113553260B (en) | Test method, test apparatus, device, and medium | |
CN109327499B (en) | Service interface management method and device, storage medium and terminal | |
CN112671574B (en) | Front-end and back-end joint debugging method and device, proxy equipment and storage medium | |
CN110609666B (en) | Printer configuration method and device, electronic equipment and readable storage medium | |
CN110188083B (en) | Interface information mining method and device | |
CN113900934B (en) | Multi-mirror hybrid refresh test method, system, terminal and storage medium | |
CN113485855B (en) | Memory sharing method and device, electronic equipment and readable storage medium | |
CN110727537B (en) | Method, device, computer equipment and storage medium for uniformly processing response message | |
CN109408063B (en) | Instruction pile inserting method and device based on virtual machine | |
CN114817024A (en) | Use case generation method and device, equipment and storage medium |
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 |