CN114281563A - Application program reconstruction method and device - Google Patents

Application program reconstruction method and device Download PDF

Info

Publication number
CN114281563A
CN114281563A CN202111117095.1A CN202111117095A CN114281563A CN 114281563 A CN114281563 A CN 114281563A CN 202111117095 A CN202111117095 A CN 202111117095A CN 114281563 A CN114281563 A CN 114281563A
Authority
CN
China
Prior art keywords
program
instruction
input
monitoring port
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111117095.1A
Other languages
Chinese (zh)
Inventor
张运强
武昊
赵安安
许玲玲
张志鹏
郑志敏
刘龙
张楠乔
蔚彦昭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRSC Urban Rail Transit Technology Co Ltd
Original Assignee
CRSC Urban Rail Transit Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CRSC Urban Rail Transit Technology Co Ltd filed Critical CRSC Urban Rail Transit Technology Co Ltd
Priority to CN202111117095.1A priority Critical patent/CN114281563A/en
Publication of CN114281563A publication Critical patent/CN114281563A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention provides an application program reconstruction method and device, wherein the application program reconstruction method comprises the following steps: establishing a communication connection channel with a server side based on a monitoring port; starting a single-machine program based on a program starting instruction under the condition that the program starting instruction is received through a monitoring port; under the condition that an input parameter instruction is received through a monitoring port, a single-machine program is operated based on the input parameter instruction to obtain a program operation result; and under the condition that the instruction for obtaining the result is received through the monitoring port, the program operation result is sent to the server side through the monitoring port. According to the application program reconstruction method and device provided by the invention, the monitoring port which is in communication interaction with the server side is constructed, and the networking communication program step is added to the existing single-machine program, so that the networked transmission and sharing of data can be realized on the basis of ensuring the integrity of the single-machine program, the requirement of remote operation of the application program is met, and the high-efficiency networking of the single-machine program is realized.

Description

Application program reconstruction method and device
Technical Field
The invention relates to the technical field of computers, in particular to an application program reconstruction method and device.
Background
With the development of computer and internet technologies, various applications play an important role in human life. An application, which refers to a computer program for performing one or more specific tasks, operates in a user mode, can interact with a user, can have a visual user interface, and can be divided into a web-based application and a stand-alone application.
The network version application program can realize data transmission among a plurality of devices, and the single version application program can only run on a local computer. The current single-edition application program is difficult to access to the internet, cannot realize networked transmission and sharing of data, cannot meet the requirement of remote operation, and has limitations.
Disclosure of Invention
The invention provides an application program reconstruction method and device, which are used for solving the defects that in the prior art, a single-machine application program is difficult to access to the Internet, cannot realize networked transmission and sharing of data, cannot meet the requirement of remote operation and has limitation, realizing networked transmission and sharing of data, meeting the requirement of remote operation of the application program and realizing high-efficiency networking of the single-machine application program.
The invention provides an application program reconstruction method, which comprises the following steps: establishing a communication connection channel with a server side based on a monitoring port; starting a single-machine program based on a starting program instruction under the condition that the starting program instruction is received through the monitoring port; under the condition that an input parameter instruction is received through the monitoring port, the single-machine program is operated based on the input parameter instruction, and a program operation result is obtained; and under the condition that a result obtaining instruction is received through the monitoring port, the program running result is sent to a server side through the monitoring port.
According to the application program reconstruction method provided by the invention, the operation of the single-machine program based on the input parameter instruction to obtain a program operation result comprises the following steps: analyzing the input parameter instruction to obtain a target parameter, inputting the target parameter into the single-machine program, and outputting a program operation result.
According to the application program reconfiguration method provided by the invention, after the single-machine program is operated based on the input parameter instruction to obtain a program operation result, the method further comprises the following steps: and storing the program operation result to a target position.
According to the application program reconstruction method provided by the invention, the establishment of the communication connection channel with the server based on the monitoring port comprises the following steps: and establishing an HTTP communication connection channel with the server side based on the monitoring port.
According to the application program reconstruction method provided by the invention, the single program is a C # program.
The invention also provides an application program reconstruction method, which comprises the following steps: establishing a communication connection channel with the client based on the monitoring interface; under the condition of receiving a first input of a user, responding to the first input, and sending a starting program instruction to a client through the monitoring port so that the client can start a single-machine program based on the starting program instruction; under the condition of receiving a second input of a user, responding to the second input, sending an input parameter instruction to the client through the monitoring port so that the client can operate the single-machine program based on the input parameter instruction to obtain a program operation result; under the condition that a third input of a user is received, responding to the third input, and sending an acquisition result instruction to the client through the monitoring port so that the client can send the program running result; and receiving the program operation result.
The present invention also provides an application program reconstructing apparatus, including: the first communication module is used for establishing a communication connection channel with the server side based on the monitoring port; the starting module is used for starting a single-machine program based on the starting program instruction under the condition that the starting program instruction is received through the monitoring port; the operation module is used for operating the single-machine program based on the input parameter instruction under the condition that the input parameter instruction is received through the monitoring port to obtain a program operation result; and the first sending module is used for sending the program running result to the server end through the monitoring port under the condition that a result obtaining instruction is received through the monitoring port.
The present invention also provides an application program reconfiguration device, including: the second communication module is used for establishing a communication connection channel with the client based on the monitoring interface; the second sending module is used for responding to the first input under the condition of receiving the first input of a user, sending a starting program instruction to the client through the monitoring port so that the client can start a single-machine program based on the starting program instruction; the third sending module responds to a second input of a user under the condition of receiving the second input, sends an input parameter instruction to the client through the monitoring port so that the client can operate the single-machine program based on the input parameter instruction to obtain a program operation result; the fourth sending module responds to the third input under the condition that the third input of the user is received, and sends a result obtaining instruction to the client through the monitoring port so that the client can send the program running result; and the receiving module is used for receiving the program operation result.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and operable on the processor, wherein the processor implements the steps of any of the above application reconstruction methods when executing the program.
The invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the application reconstruction method as described in any one of the above.
According to the application program reconstruction method and device provided by the invention, the monitoring port which is in communication interaction with the server side is constructed, and the networking communication program step is added to the existing single-machine program, so that the networked transmission and sharing of data can be realized on the basis of ensuring the integrity of the single-machine program, the requirement of remote operation of the application program is met, and the high-efficiency networking of the single-machine program is realized.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flow chart of an application reconfiguration method according to the present invention;
FIG. 2 is a schematic diagram of the application reconfiguration method provided by the present invention;
FIG. 3 is a schematic structural diagram of an application reconfiguration device according to the present invention;
FIG. 4 is a second flowchart illustrating an application reconfiguration method according to the present invention;
FIG. 5 is a second schematic structural diagram of an application reconfiguration device according to the present invention;
fig. 6 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The application reconfiguration method and apparatus of the present invention are described below with reference to fig. 1 to 6.
As shown in fig. 1 and fig. 2, the present invention provides an application reconfiguration method, where an execution subject of the application reconfiguration method is a client, and the client can communicate with a server, and the application reconfiguration method includes the following steps 110 to 150.
And step 110, establishing a communication connection channel with the server side based on the monitoring port.
It can be understood that the monitoring port can be written based on http listener, and a communication connection channel is established between the monitoring port and the server, that is, data interaction between the client and the server can be realized through the monitoring port, and a message sent by the server to the client is monitored in real time through the monitoring port.
And step 120, starting the single-machine program based on the opening program instruction under the condition that the opening program instruction is received through the monitoring port.
It can be understood that the stand-alone program is an existing application program which can only be independently run on a local computer, the stand-alone program is lack of program statements related to communication and data transmission and cannot be directly networked, and when the stand-alone program is used, a user is required to install a corresponding running environment, and the stand-alone program can be used after running.
After receiving the start program instruction sent by the server through the monitor port, the client can respond to the start program instruction to start the stand-alone program, and at this time, the stand-alone program can automatically execute initialization operation to start a function module in the stand-alone program to prepare for receiving an input parameter instruction of a user, and the stand-alone program is in a standby state after being started to wait for receiving the input parameter instruction.
And step 130, under the condition that the input parameter instruction is received through the monitoring port, operating the single-machine program based on the input parameter instruction to obtain a program operation result.
It can be understood that, after receiving the input parameter instruction sent by the server through the monitor port, the client may analyze the input parameter instruction to obtain the target parameter, and transmit the target parameter to the input end of the stand-alone program, and the function module inside the stand-alone program may process the input parameter and output the program operation result.
And step 140, sending the program running result to the server side through the monitoring port under the condition that the instruction for obtaining the result is received through the monitoring port.
It can be understood that, after receiving the instruction of obtaining result sent by the server through the monitor port, the client can send the program running result to the server through the monitor port, thus realizing the networking running of the single-machine program.
That is, the functional module inside the stand-alone program can complete the corresponding program operation function, and here, the completeness of the stand-alone program is still maintained, and the networking transmission process and the function module operation of the stand-alone program are performed separately, which is equivalent to that, on the basis of the stand-alone program in the prior art, the functions related to the communication networking are added, but the integrity of the stand-alone program is not destroyed.
The application program reconstruction method is actually an encapsulation process of a single-machine program, the encapsulation process does not change the core function of the original single-machine program, and only realizes the receiving and analysis of remote port transmission parameters on the basis of the functional module of the original single-machine program, so that the remote calling of the single-machine version application program is realized.
The application program reconstruction method overcomes the limitation that the current single-machine version application program can be used only when a user installs an operation environment, realizes the networked remote calling of the single-machine program, greatly shortens the operation steps of users, ensures the integrity of the single-machine program, can be suitable for the single-machine programs of various categories, has universality and universality, does not need to reprogram the single-machine program when the single-machine program is networked, can reduce the workload of the user, and improves the working efficiency.
The application program reconstruction method provided by the invention adds a program step of networking communication to the existing single-machine program by constructing the monitoring port which is in communication interaction with the server, can realize networked transmission and sharing of data on the basis of ensuring the integrity of the single-machine program, meets the requirement of remote operation of the application program, and realizes efficient networking of the single-machine program.
In some embodiments, the step 130 of executing the stand-alone program based on the input parameter instruction to obtain the program execution result includes: analyzing the input parameter instruction to obtain a target parameter, inputting the target parameter into the single-machine program, and outputting a program operation result.
It can be understood that, after receiving the input parameter instruction sent by the server, the client may analyze the input parameter instruction to obtain the target parameter, and at this time, the target parameter is input to the stand-alone program, and the functional module of the stand-alone program may operate the target parameter, thereby outputting the program operation result.
In some embodiments, after the step 130, executing the stand-alone program based on the input parameter instruction to obtain the program execution result, the method further includes:
and storing the program operation result to the target position.
It is understood that after the program running result is obtained, the program running result may be stored in a storage component of the client, and may be stored in a target location, where the target location may be a storage directory address in a preset storage component.
In some embodiments, the step 110 of establishing a communication connection channel with the server side based on the listening port includes: and establishing an HTTP communication connection channel with the server side based on the monitoring port.
It is understood that hypertext Transfer Protocol (HTTP) is a simple request-response Protocol that typically runs on top of TCP. It specifies what messages the client may send to the server and what responses to get. The headers of the request and response messages are given in ASCII form; and the message content has a MIME-like format.
Here, the communication connection channel established between the listening port of the client and the server is constructed based on the HTTP protocol, which can improve the efficiency of information transmission.
In some embodiments, the stand-alone program is a C # program.
C # is a secure, stable, simple and elegant object-oriented programming language derived from C and C + +. It removes some of their complex properties (e.g., no macros and no multiple inheritance allowed) while inheriting the powerful functions of C and C + +. The C # integrates VB simple visual operation and C + + high operating efficiency, and becomes a preferred language for NET development with strong operation capability, elegant grammar style, innovative language characteristics and convenient component-oriented programming support.
C # is an object oriented programming language. NET platform based application programs can be quickly written by programmers, and a series of tools and services are provided by the MICROSOFT.
C # enables C + + programmers to develop programs efficiently, and native functions written by C/C + + can be called without losing the original powerful functions of C/C + +. Because of this inheritance relationship, C # has great similarity to C/C + +, and developers familiar with similar languages can quickly turn to C #.
The communication transmission function is added to the C # program, the problem of networking of a general computer single-machine program is solved, and the method has a wide application scene.
The following describes the application reconstruction device provided by the present invention, and the application reconstruction device described below and the application reconstruction method described above may be referred to correspondingly.
As shown in fig. 3, the present invention provides an application reconstruction apparatus including: a first communication module 310, an initiation module 320, an execution module 330, and a first transmission module 340.
The first communication module 310 is configured to establish a communication connection channel with a server side based on a listening port;
a starting module 320, configured to start the single-machine program based on the start program instruction when the start program instruction is received through the monitor port;
the running module 330 is configured to run the single-machine program based on the input parameter instruction to obtain a program running result when the input parameter instruction is received through the monitoring port;
the first sending module 340 is configured to send the program running result to the server side through the monitor port when the instruction for obtaining the result is received through the monitor port.
The application program reconfiguration device provided in the embodiment of the present application is used to execute the above application program reconfiguration method, and the specific implementation manner thereof is consistent with the method implementation manner and can achieve the same beneficial effects, which is not described herein again.
The invention also provides an application program reconstruction method, the execution subject of the application program reconstruction method is a server side, and the application program reconstruction method comprises the following steps 410 to 450.
The server side can be provided with a display, a display panel on the display can display a human-computer interaction interface, the interface side can comprise a remote control opening part, a parameter input part and a result obtaining part, and a user can operate the remote control opening part, the parameter input part and the result obtaining part, for example, the remote control opening part can be clicked to give an opening program instruction, the parameter input part can be clicked to give an input parameter instruction, and the result obtaining part can be clicked to give an result obtaining instruction.
Step 410, establishing a communication connection channel with the client based on the listening interface.
It can be understood that the client listening port may be written based on http listener, and the client establishes a communication connection channel with the server through the listening port, that is, data interaction between the client and the server may be implemented through the listening port, and a message sent by the server to the client is monitored in real time through the listening port.
Step 420, under the condition that the first input of the user is received, responding to the first input, and sending the opening program instruction to the client through the monitoring port, so that the client starts the single-machine program based on the opening program instruction.
It can be understood that a user can give a first input to the server terminal through the man-machine interaction interface of the server terminal, the first input corresponds to a program starting instruction, after receiving the first input, the server terminal responds to start the stand-alone program, and at this time, the stand-alone program can automatically execute an initialization operation to start a function module inside the stand-alone program to prepare for receiving an input parameter instruction of the user, and the stand-alone program is in a standby state after being started to wait for receiving the input parameter instruction.
And 430, under the condition that the second input of the user is received, responding to the second input, sending the input parameter instruction to the client through the monitoring port so that the client can run the single-machine program based on the input parameter instruction to obtain a program running result.
It can be understood that the user can give a second input to the server end through the human-computer interaction interface of the server end, the second input corresponds to the input parameter instruction, after receiving the second input, the server end responds, can analyze the input parameter instruction to obtain the target parameter, and transmits the target parameter to the input end of the single-machine program, and the functional module in the single-machine program can process the input parameter and output the program operation result.
And step 440, under the condition that the third input of the user is received, responding to the third input, and sending the result obtaining instruction to the client through the monitoring port so that the client can send the program running result.
It can be understood that the user can give a third input to the server terminal through the human-computer interaction interface of the server terminal, the third input corresponds to the result obtaining instruction, and after receiving the third input, the program running result can be sent to the server terminal through the monitoring port, so that the networked running of the single-machine program is realized.
And step 450, receiving a program operation result.
The server side can receive the program operation result sent by the client side.
That is, the functional module inside the stand-alone program can complete the corresponding program operation function, and here, the completeness of the stand-alone program is still maintained, and the networking transmission process and the function module operation of the stand-alone program are performed separately, which is equivalent to that, on the basis of the stand-alone program in the prior art, the functions related to the communication networking are added, but the integrity of the stand-alone program is not destroyed.
The application program reconstruction method is actually an encapsulation process of a single-machine program, the encapsulation process does not change the core function of the original single-machine program, and only realizes the receiving and analysis of remote port transmission parameters on the basis of the functional module of the original single-machine program, so that the remote calling of the single-machine version application program is realized.
The application program reconstruction method overcomes the limitation that the current single-machine version application program can be used only by installing the operating environment, realizes the networked remote calling of the single-machine program, greatly shortens the operation steps of users, ensures the integrity of the single-machine program, can be suitable for the single-machine programs of various categories, has universality and universality, does not need to reprogram the single-machine program when the single-machine program is networked, can reduce the workload of users, and improves the working efficiency.
The application program reconstruction method provided by the invention adds a program step of networking communication to the existing single-machine program by constructing the monitoring port which is in communication interaction with the server, can realize networked transmission and sharing of data on the basis of ensuring the integrity of the single-machine program, meets the requirement of remote operation of the application program, and realizes efficient networking of the single-machine program.
The following describes the application reconstruction device provided by the present invention, and the application reconstruction device described below and the application reconstruction method described above may be referred to correspondingly.
As shown in fig. 5, the present invention provides an application reconstruction apparatus including: a second communication module 510, a second transmission module 520, a third transmission module 530, a fourth transmission module 540, and a reception module 550.
And a second communication module 510, configured to establish a communication connection channel with the client based on the listening interface.
The second sending module 520 is configured to, in response to the first input, send the start program instruction to the client through the monitor port under the condition that the first input of the user is received, so that the client starts the stand-alone program based on the start program instruction.
The third sending module 530, in response to the second input when receiving the second input of the user, sends the input parameter instruction to the client through the monitor port, so that the client can run the stand-alone program based on the input parameter instruction to obtain a program running result.
The fourth sending module 540, under the condition that the third input of the user is received, responds to the third input, and sends the result obtaining instruction to the client through the monitoring port, so that the client sends the program running result.
And a receiving module 550, configured to receive a program running result.
The application program reconfiguration device provided in the embodiment of the present application is used to execute the above application program reconfiguration method, and the specific implementation manner thereof is consistent with the method implementation manner and can achieve the same beneficial effects, which is not described herein again.
Fig. 6 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 6: a processor (processor)610, a communication Interface (Communications Interface)620, a memory (memory)630 and a communication bus 640, wherein the processor 610, the communication Interface 620 and the memory 630 communicate with each other via the communication bus 640. The processor 610 may call logic instructions in the memory 630 to perform an application reconfiguration method comprising: establishing a communication connection channel with a server side based on a monitoring port; starting a single-machine program based on a program starting instruction under the condition that the program starting instruction is received through a monitoring port; under the condition that an input parameter instruction is received through a monitoring port, a single-machine program is operated based on the input parameter instruction to obtain a program operation result; and under the condition that the instruction for obtaining the result is received through the monitoring port, the program operation result is sent to the server side through the monitoring port.
In addition, the logic instructions in the memory 630 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the 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 Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the application reconstruction method provided by the above methods, the method comprising: establishing a communication connection channel with a server side based on a monitoring port; starting a single-machine program based on a program starting instruction under the condition that the program starting instruction is received through a monitoring port; under the condition that an input parameter instruction is received through a monitoring port, a single-machine program is operated based on the input parameter instruction to obtain a program operation result; and under the condition that the instruction for obtaining the result is received through the monitoring port, the program operation result is sent to the server side through the monitoring port.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor is implemented to perform the method for application reconstruction provided above, the method comprising: establishing a communication connection channel with a server side based on a monitoring port; starting a single-machine program based on a program starting instruction under the condition that the program starting instruction is received through a monitoring port; under the condition that an input parameter instruction is received through a monitoring port, a single-machine program is operated based on the input parameter instruction to obtain a program operation result; and under the condition that the instruction for obtaining the result is received through the monitoring port, the program operation result is sent to the server side through the monitoring port.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An application reconfiguration method, comprising:
establishing a communication connection channel with a server side based on a monitoring port;
starting a single-machine program based on a starting program instruction under the condition that the starting program instruction is received through the monitoring port;
under the condition that an input parameter instruction is received through the monitoring port, the single-machine program is operated based on the input parameter instruction, and a program operation result is obtained;
and under the condition that a result obtaining instruction is received through the monitoring port, the program running result is sent to a server side through the monitoring port.
2. The method for reconstructing an application program according to claim 1, wherein said instructing the stand-alone program to run based on the input parameters to obtain a program running result comprises:
analyzing the input parameter instruction to obtain a target parameter, inputting the target parameter into the single-machine program, and outputting a program operation result.
3. The method for reconstructing an application program according to claim 1, wherein after the step of executing the stand-alone program based on the input parameter instruction to obtain a program execution result, the method further comprises:
and storing the program operation result to a target position.
4. The method for reconstructing an application according to claim 1, wherein the establishing a communication connection channel with a server based on a listening port includes:
and establishing an HTTP communication connection channel with the server side based on the monitoring port.
5. The method of claim 1, wherein the stand-alone program is a C # program.
6. An application reconfiguration method, comprising:
establishing a communication connection channel with the client based on the monitoring interface;
under the condition of receiving a first input of a user, responding to the first input, and sending a starting program instruction to a client through the monitoring port so that the client can start a single-machine program based on the starting program instruction;
under the condition of receiving a second input of a user, responding to the second input, sending an input parameter instruction to the client through the monitoring port so that the client can operate the single-machine program based on the input parameter instruction to obtain a program operation result;
under the condition that a third input of a user is received, responding to the third input, and sending an acquisition result instruction to the client through the monitoring port so that the client can send the program running result;
and receiving the program operation result.
7. An application reconstruction apparatus, comprising:
the first communication module is used for establishing a communication connection channel with the server side based on the monitoring port;
the starting module is used for starting a single-machine program based on the starting program instruction under the condition that the starting program instruction is received through the monitoring port;
the operation module is used for operating the single-machine program based on the input parameter instruction under the condition that the input parameter instruction is received through the monitoring port to obtain a program operation result;
and the first sending module is used for sending the program running result to the server end through the monitoring port under the condition that a result obtaining instruction is received through the monitoring port.
8. An application reconstruction apparatus, comprising:
the second communication module is used for establishing a communication connection channel with the client based on the monitoring interface;
the second sending module is used for responding to the first input under the condition of receiving the first input of a user, sending a starting program instruction to the client through the monitoring port so that the client can start a single-machine program based on the starting program instruction;
the third sending module responds to a second input of a user under the condition of receiving the second input, sends an input parameter instruction to the client through the monitoring port so that the client can operate the single-machine program based on the input parameter instruction to obtain a program operation result;
the fourth sending module responds to the third input under the condition that the third input of the user is received, and sends a result obtaining instruction to the client through the monitoring port so that the client can send the program running result;
and the receiving module is used for receiving the program operation result.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the application reconstruction method according to any of claims 1 to 6 are implemented when the program is executed by the processor.
10. A non-transitory computer readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the application reconstruction method according to any one of claims 1 to 6.
CN202111117095.1A 2021-09-23 2021-09-23 Application program reconstruction method and device Pending CN114281563A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111117095.1A CN114281563A (en) 2021-09-23 2021-09-23 Application program reconstruction method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111117095.1A CN114281563A (en) 2021-09-23 2021-09-23 Application program reconstruction method and device

Publications (1)

Publication Number Publication Date
CN114281563A true CN114281563A (en) 2022-04-05

Family

ID=80868561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111117095.1A Pending CN114281563A (en) 2021-09-23 2021-09-23 Application program reconstruction method and device

Country Status (1)

Country Link
CN (1) CN114281563A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117389615A (en) * 2023-12-12 2024-01-12 山东科技大学 Program reconstruction method of industrial control board

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117389615A (en) * 2023-12-12 2024-01-12 山东科技大学 Program reconstruction method of industrial control board
CN117389615B (en) * 2023-12-12 2024-03-01 山东科技大学 Program reconstruction method of industrial control board

Similar Documents

Publication Publication Date Title
Lekić et al. IoT sensor integration to Node-RED platform
CN110198247B (en) Interface test method and system
US10802906B2 (en) Monitoring method and apparatus of server, and storage medium
CN108733738B (en) Page loading method, system, server and terminal
EP2649533B1 (en) Methods and systems for facilitating a remote desktop session utilizing long polling
US11340859B2 (en) Synchronous display method, storage medium and electronic device
CN110224896B (en) Network performance data acquisition method and device and storage medium
CN112437047A (en) Remote server management method, system and related device
CN112087499A (en) Internet of things cloud management method and system
CN113821352A (en) Remote service calling method and device
CN111159019A (en) Application program testing method, testing control terminal and testing terminal
CN113572822A (en) Cloud terminal simulation control method and device, storage medium and electronic equipment
CN111786939A (en) Method, device and system for testing management platform of Internet of things
CN113064735A (en) Service processing method and device
CN115118794A (en) Data standardization processing method and device and electronic equipment
CN114281563A (en) Application program reconstruction method and device
WO2022156316A1 (en) Configuration method and system supporting heterogeneous environment
WO2018072095A1 (en) Load testing management method and system
CN116933551A (en) Combined simulation system, method, equipment and storage medium
CN112565458B (en) Platform remote control method and device, storage medium and electronic equipment
CN108270803B (en) Method and system for realizing transmission of network file and desktop application through webpage technology
CN115865974A (en) Edge device, cloud device, edge computing system and method, and storage medium
CN113761745B (en) Joint simulation method and device, storage medium and electronic equipment
CN108737337B (en) Equipment processing method, device, server and system
CN112433938A (en) Method and device for testing application of mobile terminal

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