CN115794595A - Visual programming debugging method, device, storage medium and device - Google Patents

Visual programming debugging method, device, storage medium and device Download PDF

Info

Publication number
CN115794595A
CN115794595A CN202111058669.2A CN202111058669A CN115794595A CN 115794595 A CN115794595 A CN 115794595A CN 202111058669 A CN202111058669 A CN 202111058669A CN 115794595 A CN115794595 A CN 115794595A
Authority
CN
China
Prior art keywords
debugging
page
debugged
configuration
equipment
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
CN202111058669.2A
Other languages
Chinese (zh)
Inventor
徐晓晴
郭志伟
王恒
陈伟
金苏磊
黄鸣丰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Huichuan Control Technology Co Ltd
Original Assignee
Suzhou Huichuan Control 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 Suzhou Huichuan Control Technology Co Ltd filed Critical Suzhou Huichuan Control Technology Co Ltd
Priority to CN202111058669.2A priority Critical patent/CN115794595A/en
Publication of CN115794595A publication Critical patent/CN115794595A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a visual programming debugging method, equipment, a storage medium and a device, wherein the method is used for acquiring a background page when the method is connected to equipment to be debugged; acquiring configuration conversion information of each function code of equipment to be debugged; rendering the configuration conversion information to a background page to obtain a debugging page, and displaying the debugging page; and debugging the equipment to be debugged according to the debugging page. According to the invention, the configuration conversion information of each functional code is rendered to the background page, displayed on the background page and debugged on the background page, so that the debugging of the multifunctional codes is realized at the same time, and the debugging efficiency is improved.

Description

Visual programming debugging method, device, storage medium and device
Technical Field
The invention relates to the technical field of elevators, in particular to a visual programming debugging method, visual programming debugging equipment, a visual programming debugging storage medium and a visual programming debugging device.
Background
In the elevator industry, there are two broad categories of equipment commissioning: keyboard debugging and cell phone debugging. Debugging by using a keyboard needs to be used together with a use instruction. Its advantages are high operation speed, less contents related to displayed function code, and no environmental pollution. The speed of debugging and operating by using the mobile phone is slower than that of the keyboard. However, more parameter descriptions and prompts exist, and processing can be performed in a one-key mode aiming at the application in a specific scene, so that the method is more intelligent than keyboard debugging.
Most of debugging on the market can only debug a single function code, and the debugging of the function can not be carried out combinatively, so that the debugging efficiency is low one by one. The method is dependent on a debugger and needs a certain professional ability.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a visual programming debugging method, equipment, a storage medium and a device, and aims to solve the technical problem that the multifunctional codes cannot be simultaneously debugged in the prior art.
In order to achieve the above object, the present invention provides a visual programming debugging method, including:
when the device to be debugged is connected, a background page is obtained;
acquiring configuration conversion information of each function code of equipment to be debugged;
rendering the configuration conversion information to the background page to obtain a debugging page, and displaying the debugging page;
and debugging the equipment to be debugged according to the debugging page.
Optionally, the step of obtaining configuration conversion information of each function code of the device to be debugged includes:
acquiring configuration attribute information of each function code of equipment to be debugged;
and adding the configuration attribute information to a preset configuration page, and converting the configuration attribute information into configuration conversion information matched with the background page on the preset configuration page.
Optionally, the step of obtaining configuration attribute information of each function code of the device to be debugged includes:
acquiring address information of each function code of the equipment to be debugged;
and reading the current configuration attribute information in the address information at intervals of a preset time period.
Optionally, the rendering the configuration conversion information to the background page to obtain a debugging page, and the displaying the debugging page includes:
sending the configuration conversion information to a preset web page, and analyzing the configuration conversion information into a corresponding service control through an analysis component on the preset web page;
and adding the service control to the background page to obtain a debugging page, and displaying the debugging page.
Optionally, the step of debugging the device to be debugged according to the debugging page includes:
determining a debugging event to be executed by the equipment to be debugged according to the debugging page;
combining preset logic controls according to the debugging event to obtain logic combination controls;
and debugging the equipment to be debugged through the logic combination control.
Optionally, the step of debugging the device to be debugged through the logic combination control includes:
binding the control corresponding to the debugging event with the logic combination control;
and debugging the equipment to be debugged through the logic combination control when the control is triggered.
Optionally, before the step of debugging the device to be debugged according to the debugging page, the method further includes:
acquiring a debugging program list, and displaying the debugging program list on the background page so that a debugging person selects a corresponding debugging program according to the debugging program list;
acquiring the debugging program selected by the debugging personnel;
correspondingly, the step of debugging the device to be debugged according to the debugging page comprises the following steps:
and debugging the equipment to be debugged through the debugging program according to the debugging page.
In addition, to achieve the above object, the present invention also provides a visual programming debugging device, which includes a memory, a processor, and a visual programming debugging program stored in the memory and capable of running on the processor, where the visual programming debugging program is configured to implement the steps of the visual programming debugging method as described above.
In addition, to achieve the above object, the present invention further provides a storage medium, on which a visual programming debugging program is stored, and the visual programming debugging program, when executed by a processor, implements the steps of the visual programming debugging method as described above.
In addition, in order to achieve the above object, the present invention further provides a visual programming debugging apparatus, including:
the background generation module is used for acquiring a background page when the device to be debugged is connected;
the information acquisition module is used for acquiring configuration conversion information of each functional code of the equipment to be debugged;
the information display module is used for rendering the configuration conversion information to the background page to obtain a debugging page and displaying the debugging page;
and the programming debugging module is used for debugging the equipment to be debugged through the debugging page.
The invention provides a visual programming debugging method, equipment, a storage medium and a device, wherein the method is used for acquiring a background page when the method is connected to equipment to be debugged; acquiring configuration conversion information of each function code of equipment to be debugged; rendering the configuration conversion information to the background page to obtain a debugging page, and displaying the debugging page; and debugging the equipment to be debugged according to the debugging page. According to the invention, the configuration conversion information of each functional code is rendered to the background page, displayed on the background page and debugged on the background page, so that the debugging of the multifunctional codes is realized at the same time, and the debugging efficiency is improved.
Drawings
Fig. 1 is a schematic structural diagram of a visual programming debugging device of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a visual programming debugging method according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a visual programming debugging method according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating a visual programming debugging method according to a third embodiment of the present invention;
FIG. 5 is a debugging diagram of a visual programming debugging method according to a third embodiment of the present invention;
FIG. 6 is a flowchart illustrating a visual programming debugging method according to a fourth embodiment of the present invention;
FIG. 7 is a debugging page diagram of a visual programming debugging method according to a fourth embodiment of the present invention;
fig. 8 is a block diagram illustrating a first embodiment of a visual programming debugging apparatus according to the present invention.
The objects, features and advantages of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a visual programming debugging device of a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the visual programming debugging device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), and the optional user interface 1003 may further include a standard wired interface and a wireless interface, and the wired interface for the user interface 1003 may be a USB interface in the present invention. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) or a Non-volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the visual programming debugging device and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
As shown in FIG. 1, memory 1005, identified as one type of computer storage medium, may include an operating system, a network communications module, a user interface module, and a visual programming debugger.
In the visual programming debugging device shown in fig. 1, the network interface 1004 is mainly used for connecting a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting user equipment; the visual programming debugging device calls a visual programming debugging program stored in the memory 1005 through the processor 1001 and executes the visual programming debugging method provided by the embodiment of the invention.
Based on the hardware structure, the embodiment of the visual programming debugging method is provided.
Referring to fig. 2, fig. 2 is a schematic flowchart of a visual programming debugging method according to a first embodiment of the present invention, and the first embodiment of the visual programming debugging method is provided.
In a first embodiment, the visual programming debugging method includes the following steps:
step S10: and when the device to be debugged is connected, acquiring a background page.
It should be understood that the main execution body of the present invention is a debugging device, and the debugging device may be a smart phone, a tablet, a computer, a server, and other devices. The elevator can be debugged by installing corresponding debugging software on the elevator debugging device.
It should be noted that, in the process of debugging the device, a debugging background page is mainly established, then the relevant parameter information of the device to be debugged is added to the background page for displaying, and the debugging personnel can configure the debugging logic through the corresponding logic control to debug the device to be debugged under the condition that the debugging personnel can know the specific parameter information. The equipment to be debugged is equipment which needs to adjust the operation parameters. The equipment needs to be debugged when the equipment is installed or used for a certain time so as to ensure that the working state of the equipment can meet the formulated requirement and avoid generating faults. Background pages refer to pages used to carry data. The background page is equivalent to a blank piece of white paper, and in the subsequent steps, the relevant parameters of the equipment to be debugged can be displayed on the background page. The data on the background page may be text data, image data, or other data, and is not limited in any way. The background page can be an html application with svg as a background board, and the debugging equipment can display and debug the parameters of the elevator on the application.
In specific implementation, when the debugging device monitors that the connection with the equipment to be debugged is established, a background page for bearing the operation parameters of the equipment to be debugged can be established through the basic graphic control. Certainly, the background page may be a square page, a rectangular page, or even a circular page, the specific shape of the page may be set by a developer, and certainly, a debugger may also adjust the shape of the background page.
Step S20: and acquiring configuration conversion information of each function code of the equipment to be debugged.
Each function code is a set of function codes that need to be debugged. And each function code is determined according to the configuration attribute of the specific control of the equipment to be debugged. The number of function codes of different debugging devices is not the same. The configuration conversion information refers to data obtained by converting specific configuration attribute parameters of the device to be debugged. The configuration conversion information can intuitively show the specific information of the parameters, for example, the specific logic codes are all on the bottom layer of the debugging logic, and the specific parameters are also shown in a logic code mode, so that a part of non-professional persons cannot read the specific information at all, and specific values which can be read and understood by the non-professional persons can be obtained after data exchange. Some concise and clear data formats can be used for conversion during specific data conversion, so that a non-professional person can clearly observe configuration conversion information. For example, the JSON data format, a compact and clear hierarchy makes JSON an ideal data exchange language. The method is easy for human reading and writing, and is also easy for machine analysis and generation, and the network transmission efficiency is effectively improved. The configuration conversion information includes an operation attribute of the structure to be debugged and a specific parameter value of the attribute, for example, a device current value may be used as the operation attribute, and a current 1A may be used as the specific parameter value. The number of the function codes is determined by the specific control of the device to be debugged, referring to fig. 3, for example, in the express debugging process, four function codes of state monitoring, test limitation, random operation limitation and call calling test need to be debugged, and at this time, the configuration conversion information of the four function codes can be acquired.
In specific implementation, the attribute parameters corresponding to each function code of the device to be debugged may be obtained, and the format of the obtained attribute parameters may be converted to obtain the configuration conversion information.
Step S30: rendering the configuration conversion information to the background page to obtain a debugging page, and displaying the debugging page.
It should be noted that rendering is a process of converting configuration conversion information into an image. When the rendering step is performed, specific parameter information of the rendered image, such as the shape of the image, the size of the image, the position of the image, the color of the image, and the like, needs to be obtained in advance, and then the graph rendered by the configuration conversion information is added to a debugging page to form the debugging page. Specific parameter values of configuration conversion information need to be acquired in the rendering process, for example, the size parameter of a rectangle is 20 long and 10 wide; or a circular position parameter is the coordinates (0, 0) of the center of a circle; or the color depth parameter 100 of the graphic, the color depth parameter 100 is in the red range, and it can be determined that the color of the image is red, and the color shown by the graphic is red. Parameters such as whether visible, text content, color, etc. may also be dynamically modified by logic. These variables can be used directly in the logic control, for example, the color of the text can be dynamically modified according to the read function code value, or the text content can be modified. The setting of specific parameter values is of course set by the developer. And the page is used for debugging the specific attribute parameter information of the equipment to be debugged when the page is debugged. The debugging page can display the configuration attribute information of the equipment to be debugged in a mode of configuration conversion information, and debugging personnel can debug the equipment to be debugged according to the displayed configuration conversion information.
In specific implementation, the debugging device may render the configuration conversion information into a corresponding image in a rendering manner, then add the image to the background page, and display the configuration conversion information on the background page in an image data manner.
Step S40: and debugging the equipment to be debugged according to the debugging page.
It should be noted that, the logic controls that need to be used may be determined according to the debugging page, and the logic controls are combined to form a set logic combination control, and then the generated logic combination control is used to debug the device to be debugged. For example, the debugging device can compare and determine whether the configuration conversion information displayed on the debugging page meets the normal use requirement of the device according to the visual parameter attribute on the debugging page, when the configuration conversion information does not meet the normal use requirement of the device, the debugging device can determine the debugging mode according to the configuration conversion information, combine and form a logic combination control by calling corresponding logic controls, and debug the device to be debugged through the logic combination control, so that the device to be debugged meets the normal work requirement.
The embodiment provides a visual programming debugging method, which is used for acquiring a background page when the method is connected to equipment to be debugged; acquiring configuration conversion information of each function code of equipment to be debugged; rendering the configuration conversion information to the background page to obtain a debugging page, and displaying the debugging page; and debugging the equipment to be debugged according to the debugging page. According to the method and the device, the configuration conversion information of each functional code is rendered to the background page, the functional code is displayed on the background page and debugged on the background page, the multifunctional code is debugged at the same time, the debugging efficiency is improved, in addition, the configuration conversion information is displayed, the professional skill requirements of debugging personnel can be effectively reduced, and the debugging of the device to be debugged can be completed under the condition that the professional skill is not sufficient.
Referring to fig. 3, fig. 3 is a schematic flowchart of a second embodiment of the visual programming debugging method according to the present invention, and based on the first embodiment shown in fig. 2, a second embodiment of the visual programming debugging method according to the present invention is provided.
In the second embodiment, the step S20 includes:
step S21: and acquiring configuration attribute information of each function code of the equipment to be debugged.
It should be noted that the configuration attribute information refers to information that shows an operating state of the device to be debugged after the device to be debugged is subjected to certain programs such as installation and configuration. The configuration attribute information is subjected to format conversion to obtain the configuration conversion information. In the process of installing the equipment, in the process of setting the configuration attribute information of the equipment, professional technicians configure the equipment through the underlying logic codes, and non-professional technicians may not know specific attribute parameters intuitively.
In specific implementation, after the debugging device is connected to the device to be debugged, the configuration attribute information may be obtained by extracting the current running state of the device to be debugged, the configuration attribute information may also be obtained by measuring the configuration attribute information in a measuring manner, and the configuration attribute information may also be obtained by analyzing the underlying logic of the device to be debugged in the running state, which is not specifically limited herein.
Step S22: and adding the configuration attribute information to a preset configuration page, and converting the configuration attribute information into configuration conversion information matched with the background page on the preset configuration page.
It should be noted that, after the configuration attribute information is added to the preset configuration interface, the configuration attribute information needs to be format-converted into configuration conversion information that can be displayed on the background page, and the configuration conversion information is presented on the background page in a rendering manner. The preset configuration page is a page for format conversion of the configuration attribute information. The preset configuration page is provided with a processing logic for data conversion, and when the configuration attribute information is added to the preset configuration page, the processing logic for data conversion on the preset configuration page can convert the configuration attribute information into the configuration conversion information according to a preset processing mode. The converted configuration conversion information is matched with the background page, and the configuration conversion information can be displayed on the background page.
In specific implementation, the debugging device may add the acquired configuration attribute information to a preset configuration interface, the processing logic of data conversion on the preset configuration page converts the configuration attribute information into configuration conversion information, and then the debugging device may use the acquired configuration conversion information to describe parameters, specific numerical values, or eye-catching whether the configuration conversion information is correct or not, and the like, which are debugged in the configuration conversion information, with the basic graphic control and the elevator service control, and the specific configuration may be displayed on the background page in a rendering manner through a free combination of the basic graphic control and the elevator service control.
Wherein the step S21 includes:
step S211: and acquiring address information of each function code of the equipment to be debugged.
The address information is position information of each functional code data. The address information may be a detailed address where each function code is stored. In a specific implementation process, the debugging device may determine a specific storage location of each function code according to the storage location information of the device to be debugged, and then use the path information of the storage location as the address information.
Step S212: and reading the current configuration attribute information in the address information at intervals of a preset time period.
It should be noted that the preset time period is a preset collection period of the configuration attribute information. The preset time period can be specifically set according to needs, such as 1S, 2S and the like. The time period may be set in the load logic of the background page. In a specific implementation process, the debugging device may set and load a certain data reading logic on a background page, where the logic may read configuration attribute information of the device to be debugged at a certain time period, and then perform data format conversion and rendering processes to implement update and display of configuration conversion information.
The embodiment provides a visual programming debugging method, which includes determining address information of configuration attribute information, acquiring the configuration attribute information according to the address information and a certain preset time period, and displaying configuration conversion information obtained after data format conversion, so that the configuration conversion information of a device to be debugged can be updated and displayed in real time.
Referring to fig. 4, fig. 4 is a flowchart illustrating a visual programming debugging method according to a third embodiment of the present invention, and the third embodiment of the visual programming debugging method is provided based on the second embodiment shown in fig. 3.
In the third embodiment, the step S30 includes:
step S31: and sending the configuration conversion information to a preset web page, and analyzing the configuration conversion information into a corresponding service control through an analysis component on the preset web page.
It should be noted that the preset web page is a preset web page. The preset web page has certain processing logic, and can bind the configuration conversion information analysis and the related processing method to generate a control corresponding to the configuration conversion information. Controls refer to the encapsulation of data and methods. The business control can have its own attributes and methods, wherein the attributes are simple visitors of the control data, and the methods are some simple and visible functions of the business control, and the control creating process comprises design, development and debugging work. And directly displaying the information, the contact persons and the like on related debugging pages, such as information and the contact persons directly displayed on a display of a mobile phone.
In specific implementation, when a preset web page is opened by the debugging equipment, the guided html application is loaded and completed, namely, the preset web page is opened in the debugging equipment, visual configuration information of a specific page applied in the equipment to be debugged is assigned to the preset web page, and after the preset web page receives the subsequent visual configuration information, the visual configuration information can be analyzed into different service controls through related processing algorithms set on the preset web page.
Step S32: and adding the service control to the background page to obtain a debugging page, and displaying the debugging page.
It should be noted that, referring to fig. 5, the debug page is a page for debugging the device to be debugged. The debugging personnel can send out related debugging instructions on the debugging page to realize the debugging process of the equipment to be debugged. The service control on the debugging page comprises attribute information of running of the equipment to be debugged, and debugging personnel can judge the current working state of the equipment to be debugged according to the attribute information so as to debug the equipment to be debugged.
Referring to fig. 6, in a specific implementation, the debugging device may add the generated service control to a background page, use the background page to which the service control is added as a debugging page, and then display the debugging page through a display module of the debugging device. The display module can be a display screen of debugging equipment such as a mobile phone, a computer and the like. In the process of adding the business control, the position information of the business control can be determined according to the size, the shape and other information of the specific business control, so that the business control can have enough display space on a background page, and the business control can trigger a related instruction.
In this embodiment, the step S40 includes:
step S41: and determining a debugging event to be executed by the equipment to be debugged according to the debugging page.
It should be noted that the debug event refers to a specific event for debugging the device to be debugged. Such as a fault reset, parameter write, etc. When the debugging device displays the debugging page, a debugging person can visually observe the configuration attribute information of the device to be debugged, and determine a specific debugging event to be performed on the device to be debugged according to the current configuration attribute information, for example, when the information displayed on a rendered image has a fault, the debugging event needs to execute fault reset on the device to be debugged, or when a certain parameter on the rendered image is not written, the debugging event needs to execute parameter writing on the device to be debugged. The debugging event to be executed is an event for debugging the abnormality when the related parameter of the device to be debugged is abnormal.
In a specific implementation, the debugging device may display the configuration conversion information and the related service control through a debugging page. The debugging personnel can determine the current state of the equipment to be debugged according to the displayed configuration conversion information, and can debug the equipment to be debugged through the corresponding service control triggering instruction under the condition that the parameters are abnormal.
Step S42: and combining preset logic controls according to the debugging event to obtain a logic combination control.
Step S43: and debugging the equipment to be debugged through the logic combination control.
It should be noted that, referring to fig. 5, the logic combination control refers to a specific debugging manner for debugging the device to be debugged. By means of a logical processing mode, abnormal parts of the device to be debugged can be debugged and trimmed. When the debugging event is determined, the corresponding logic combination control is needed to debug the debugging event. The preset logic control is a logic control preset in the debugging page, the preset logic control can be combined according to debugging events required by a professional in a mode set by a professional, and the combined preset logic control can debug the debugging events corresponding to the abnormal parameters of the equipment to be debugged. The preset logic control can be a cycle class control, a math class control, a function class control, and the like. Through the combination of the preset logic controls, various logic judgments can be realized.
In specific implementation, after the debugging device determines the debugging event, the preset logic controls may be combined according to a manner set by a professional, and the combined preset logic controls are used as logic combination controls. And when the relevant debugging instruction of the debugging personnel is obtained, the ro processing mode is started to debug the equipment to be debugged.
Wherein the step S43 includes:
step S431: and binding the control corresponding to the debugging event with the logic combination control.
It should be noted that, after the logical combination control is generated, in order to avoid the inconsistency between the logical combination control and the corresponding space and the occurrence of a process of error debugging, the logical combination control needs to be set in a one-to-one correspondence with the control corresponding to the logical combination control, and certainly, the control corresponding to the same debugging event can be directly bound with the logical combination control, so as to ensure that the logical combination control corresponding to the control is executed when the control is triggered.
In specific implementation, the debugging device may bind the control that needs the same debugging event with the logic combination control after generating the logic combination controls corresponding to different debugging events, and when the control is triggered, the logic combination control bound with the control is started to debug the device to be debugged.
Step S432: and debugging the equipment to be debugged through the logic combination control when the control is triggered.
It should be understood that when a debugger finds that the configuration conversion information is abnormal, the debugger can directly click the control, and then the debugging device starts the logic combination control corresponding to the control to debug the device to be debugged, so as to solve the abnormality. For example, when the current parameter information in the configuration conversion information has a fault, debugging personnel can click corresponding fault reset controls, and then the debugging equipment resets the fault through the fault reset logic combination control corresponding to the fault reset control, so as to complete the debugging of the fault reset.
In this embodiment, the debugging device may obtain whether the preset web page of the current loading control is updated. And under the condition that a new preset web page exists, downloading the installation package corresponding to the new preset web page, decompressing and adding the installation package to the background page to be used as the new preset web page.
In this embodiment, a certain logic combination control is formed by the combination of preset logic controls, when there is an abnormality in configuration conversion information displayed on a debugging page, a debugging person can directly debug through the control, and a debugging device can debug a device to be debugged through the corresponding logic combination control, thereby realizing that the device to be debugged is debugged according to a control trigger instruction of the debugging person.
Referring to fig. 7, fig. 7 is a flowchart illustrating a visual programming debugging method according to a fourth embodiment of the present invention, and the fourth embodiment of the visual programming debugging method is provided based on the first embodiment shown in fig. 2.
In this embodiment, before the step S40, the method further includes:
step S401: and acquiring a debugging program list, and displaying the debugging program list on the background page so that a debugging person selects a corresponding debugging program according to the debugging program list.
It should be noted that the debugging program list is a program list that is pre-stored by a professional and is used for directly debugging the device to be debugged. After the debugging equipment is connected with the equipment to be debugged, a debugging person can directly select a debugging program for debugging the equipment to be debugged from the debugging program list.
In a specific implementation, the debugging device may obtain a debugging program set by a professional, and generate a debugging program list according to the extracted debugging program. The debugging device may also display the obtained debugging program list on a background page, and a debugger may select the displayed debugging program in the debugging list and send an instruction for selecting the debugging program, for example, click on a certain debugging program in the debugging program list.
Step S402: and acquiring the debugging program selected by the debugging personnel.
It should be noted that, after the debugger selects the corresponding debugger, the debugging device may determine, according to the instruction sent by the debugger, that the debugger is the debugger selected by the debugger. For example, a debugger selects a needed debugging program through a display screen of the touch debugging device in a clicking mode, the debugging device can acquire position information of the display screen clicked by the debugger, and then the position information is acquired according to the debugging program displayed on the position. Certainly, in the specific implementation process, the debuggeable device may extract the debugging program selected by the debugger from the pre-storage module to obtain the debugging program, or may obtain the debugging program selected by the debugger in a manner of downloading from the cloud.
The corresponding step S40 is step S40': and debugging the equipment to be debugged through the debugging program according to the debugging page.
It should be noted that after the debugging program is obtained, the debugging device needs to add the debugging program to the debugging interface, and when the debugging interface receives the debugging program, the debugging interface may run the debugging program to debug the device to be debugged, and of course, the debugging interface may also store the received debugging program, and after receiving a debugging instruction sent by a debugger, the debugging program is analyzed and run to debug the device to be debugged.
In specific implementation, after the debugging page obtains the debugging program, the debugging device controls the debugging page to analyze the debugging program, and debugs the device to be debugged according to the relevant steps obtained after running analysis.
In this embodiment, the debugging program is displayed, and the debugging program selected by the debugging personnel is analyzed and run to debug the device to be debugged, so that the debugging efficiency of the device can be effectively improved.
In addition, an embodiment of the present invention further provides a storage medium, where a visual programming debugging program is stored on the storage medium, and the visual programming debugging program, when executed by a processor, implements the steps of the visual programming debugging method described above.
In addition, referring to fig. 8, an embodiment of the present invention further provides a visual programming debugging apparatus. In this embodiment, the visual programming debugging apparatus includes:
the background generation module 10 is configured to obtain a background page when the device to be debugged is connected to the device;
the information acquisition module 20 is configured to acquire configuration conversion information of each function code of the device to be debugged;
the information display module 30 is configured to render the configuration conversion information to the background page to obtain a debugging page, and display the debugging page;
and the programming debugging module 40 is used for debugging the equipment to be debugged through the debugging page.
In this embodiment, a visual programming debugging apparatus is provided, where a background generation module 10 of the apparatus acquires a background page when being connected to a device to be debugged; the information obtaining module 20 obtains configuration conversion information of each function code of the device to be debugged; the information display module 30 renders the configuration conversion information to the background page to obtain a debugging page, and displays the debugging page; and the programming debugging module 40 debugs the device to be debugged according to the debugging page. According to the method and the device, the configuration conversion information of each functional code is rendered to the background page, displayed on the background page and debugged on the background page, so that the multifunctional codes are debugged at the same time, and the debugging efficiency is improved.
In an embodiment, the information obtaining module 20 is further configured to obtain configuration attribute information of each function code of the device to be debugged; and adding the configuration attribute information to a preset configuration page, and converting the configuration attribute information into configuration conversion information matched with the background page in the preset configuration page.
In an embodiment, the information obtaining module 20 is further configured to obtain address information of each function code of the device to be debugged; and reading the current configuration attribute information in the address information at intervals of a preset time period.
In an embodiment, the information presentation module 30 is further configured to send the configuration conversion information to a preset web page, and analyze the configuration conversion information into a corresponding service control through an analysis component on the preset web page; and adding the service control to the background page to obtain a debugging page, and displaying the debugging page.
In an embodiment, the programming debugging module 40 is further configured to determine, according to the debugging page, a debugging event that needs to be executed by the device to be debugged; combining preset logic controls according to the debugging event to obtain logic combination controls; and debugging the equipment to be debugged through the logic combination control.
In an embodiment, the programming debugging module 40 is further configured to bind a control corresponding to the debugging event with the logical combination control; and debugging the equipment to be debugged through the logic combination control when the control is triggered.
In an embodiment, the program debugging module 40 is further configured to obtain a debugging program list, and display the debugging program list on the background page, so that a debugger selects a corresponding debugging program according to the debugging program list; acquiring the debugging program selected by the debugging personnel; and debugging the equipment to be debugged through the debugging program according to the debugging page.
Other embodiments or specific implementation manners of the visual programming debugging device according to the present invention may refer to the above method embodiments, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order, but rather the words first, second, third, etc. are to be interpreted as names.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g., a Read Only Memory (ROM)/Random Access Memory (RAM), a magnetic disk, or an optical disk), and includes several instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all equivalent structures or equivalent processes performed by the present invention or directly or indirectly applied to other related technical fields are also included in the scope of the present invention.

Claims (10)

1. A visual programming debugging method, characterized in that the method comprises:
when the device is connected to the device to be debugged, a background page is obtained;
acquiring configuration conversion attribute information of each function code of equipment to be debugged;
rendering the configuration conversion information to the background page to obtain a debugging page, and displaying the debugging page;
and debugging the equipment to be debugged according to the debugging page.
2. The method of claim 1, wherein the step of obtaining configuration conversion information of each function code of the device to be debugged comprises:
acquiring configuration attribute information of each function code of equipment to be debugged;
and adding the configuration attribute information to a preset configuration page, and converting the configuration attribute information into configuration conversion information matched with the background page in the preset configuration page.
3. The method according to claim 2, wherein the step of obtaining configuration attribute information of each function code of the device to be debugged comprises:
acquiring address information of each function code of the equipment to be debugged;
and reading the current configuration attribute information in the address information at intervals of a preset time period.
4. The method of claim 1, wherein the rendering the configuration transformation information to the background page to obtain a debug page, and the exposing the debug page comprises:
sending the configuration conversion information to a preset web page, and analyzing the configuration conversion information into a corresponding service control through an analysis component on the preset web page;
and adding the service control to the background page to obtain a debugging page, and displaying the debugging page.
5. The method of claim 4, wherein the debugging the device to be debugged according to the debugging page comprises:
determining debugging events to be executed by the equipment to be debugged according to the debugging page;
combining preset logic controls according to the debugging event to obtain logic combination controls;
and debugging the equipment to be debugged through the logic combination control.
6. The method of claim 5, wherein the step of debugging the device to be debugged through the logical combination control comprises:
binding a control corresponding to the debugging event with the logic combination control;
and debugging the equipment to be debugged through the logic combination control when the control is triggered.
7. The method of claim 1, wherein the step of debugging the device to be debugged according to the debugging page is preceded by:
acquiring a debugging program list, and displaying the debugging program list on the background page so that a debugging person selects a corresponding debugging program according to the debugging program list;
acquiring the debugging program selected by the debugging personnel;
correspondingly, the step of debugging the device to be debugged according to the debugging page comprises the following steps:
and debugging the equipment to be debugged through the debugging program according to the debugging page.
8. A visual programming debugging device characterized in that it comprises: a memory, a processor and a contactor state detection program stored on the memory and executable on the processor, the visual programming debugging program, when executed by the processor, implementing the steps of the visual programming debugging method of any one of claims 1 to 7.
9. A storage medium, wherein a contactor state detection program is stored on the storage medium, and the visual programming debugging program, when executed by a processor, implements the steps of the visual programming debugging method according to any one of claims 1 to 7.
10. A visual programming debugging apparatus, comprising:
the background generation module is used for acquiring a background page when the device to be debugged is connected;
the information acquisition module is used for acquiring configuration conversion information of each functional code of the equipment to be debugged;
the information display module is used for rendering the configuration conversion information to the background page to obtain a debugging page and displaying the debugging page;
and the programming debugging module is used for debugging the equipment to be debugged through the debugging page.
CN202111058669.2A 2021-09-09 2021-09-09 Visual programming debugging method, device, storage medium and device Pending CN115794595A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111058669.2A CN115794595A (en) 2021-09-09 2021-09-09 Visual programming debugging method, device, storage medium and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111058669.2A CN115794595A (en) 2021-09-09 2021-09-09 Visual programming debugging method, device, storage medium and device

Publications (1)

Publication Number Publication Date
CN115794595A true CN115794595A (en) 2023-03-14

Family

ID=85473550

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111058669.2A Pending CN115794595A (en) 2021-09-09 2021-09-09 Visual programming debugging method, device, storage medium and device

Country Status (1)

Country Link
CN (1) CN115794595A (en)

Similar Documents

Publication Publication Date Title
CN107688529B (en) Component debugging method and device
CN107577622B (en) Method, device and storage medium for simulating rear-end interface
CN102591696A (en) Method and system for extracting behavioral data of mobile phone software
CN111475390A (en) Log collection system deployment method, device, equipment and storage medium
CN105808257B (en) Application popup identification method and device
CN111309505A (en) Page exception handling method and device and electronic equipment
CN112416775A (en) Software automation testing method and device based on artificial intelligence and electronic equipment
CN110908915A (en) Test coverage rate display method and device and computer system
CN108170592B (en) Remote testing method and terminal for virtual reality software performance
CN113900922A (en) Method, device, equipment and medium for testing application program interface of multi-platform application
CN109656826B (en) Application testing method, system, device and computer readable storage medium
CN115794595A (en) Visual programming debugging method, device, storage medium and device
CN111596905A (en) Method, device, storage medium and terminal for generating java object
CN111797008A (en) Automatic verification method, equipment and storage medium for mobile terminal buried point data
CN108304230B (en) Implementation method and device for adjusting application attribute and readable storage medium
CN108563578B (en) SDK compatibility detection method, device, equipment and readable storage medium
CN112866312A (en) Script generation method, remote operation method and related equipment
CN112231234B (en) Cross-platform user interface automatic testing method, device, equipment and storage medium
CN114756183A (en) Data printing method, device, equipment and storage medium
CN113010434A (en) System and method for realizing lightweight application point burying
CN115016968A (en) Exception handling method, device, equipment and medium
CN108536607B (en) UI test method, device and readable storage medium
CN113934644B (en) Version difference comparison method and device, intelligent terminal and readable storage medium
JPH10301809A (en) Method for automatically generating gui operation procedure
CN112948239B (en) Application program testing method, system, terminal equipment and computer 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