CN110750437A - Equipment debugging method, device, equipment and system - Google Patents

Equipment debugging method, device, equipment and system Download PDF

Info

Publication number
CN110750437A
CN110750437A CN201810813916.7A CN201810813916A CN110750437A CN 110750437 A CN110750437 A CN 110750437A CN 201810813916 A CN201810813916 A CN 201810813916A CN 110750437 A CN110750437 A CN 110750437A
Authority
CN
China
Prior art keywords
behavior simulation
browser
debugging
data
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.)
Granted
Application number
CN201810813916.7A
Other languages
Chinese (zh)
Other versions
CN110750437B (en
Inventor
谢焕榆
熊益群
苏愈红
陈智浩
马兆国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201810813916.7A priority Critical patent/CN110750437B/en
Publication of CN110750437A publication Critical patent/CN110750437A/en
Application granted granted Critical
Publication of CN110750437B publication Critical patent/CN110750437B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software

Abstract

The application discloses a device debugging method, device, equipment and system, which can utilize a browser to receive device behavior simulation data, execute a device behavior simulation program in the browser according to the device behavior simulation data, and further determine the device debugging data. By using the technical scheme recorded in the embodiment of the application, the debugging of the equipment can be directly simulated at the browser end, the development efficiency is improved, and the problem of poor user experience caused by additionally developing and installing the client is solved. This is favorable to the technological development of thing networking.

Description

Equipment debugging method, device, equipment and system
Technical Field
The application relates to the technical field of internet of things, in particular to a method, a device, equipment and a system for debugging equipment.
Background
The Internet of Things (Internet of Things, abbreviated as IoT) is an information carrier such as the Internet and a traditional telecommunication network, and all common objects capable of performing independent functions are interconnected and intercommunicated with each other, and the Internet of Things equipment refers to physical equipment capable of being connected to the Internet of Things by a certain connection protocol.
In the development process of the control program of the IoT equipment, the control program establishes communication connection with the real equipment, and the behavior of the real equipment is controlled by using the control program, so that equipment debugging data is obtained. The device debugging data can be used for evaluating the quality of a device product and the communication condition between the control program and the real device, so that the real device is improved and promoted.
However, the debugging means based on real devices has poor user experience for users.
Disclosure of Invention
The technical problem to be solved by the embodiment of the application is how to solve the problem of poor user experience of a debugging means based on real equipment.
The embodiment of the application adopts the following technical scheme:
the embodiment of the application provides a device debugging method, which comprises the following steps:
receiving device behavior simulation data;
and executing a device behavior simulation program in the browser according to the device behavior simulation data, and determining device debugging data.
An embodiment of the present application further provides an apparatus debugging method, including:
sending the equipment behavior simulation data to a browser;
receiving device debugging data from the browser, the device debugging data being determined by the browser executing a device behavior simulation program according to the device behavior simulation data.
An embodiment of the present application further provides an apparatus debugging device, including:
the receiving module is used for receiving equipment behavior simulation data;
and the determining module executes the equipment behavior simulation program in the browser according to the equipment behavior simulation data and determines equipment debugging data.
An embodiment of the present application further provides an apparatus debugging device, including:
the sending module is used for sending the equipment behavior simulation data to the browser;
and the receiving module is used for receiving equipment debugging data from the browser, wherein the equipment debugging data is determined by the browser executing an equipment behavior simulation program according to the equipment behavior simulation data.
An embodiment of the present application further provides an apparatus debugging system, including:
the browser receives the equipment behavior simulation data, executes an equipment behavior simulation program according to the equipment behavior simulation data, and determines equipment debugging data;
a server to receive the device commissioning data from the browser.
An embodiment of the present application further provides an electronic device, including at least one processor and a memory, where the memory stores a program and is configured to be executed by the at least one processor to:
receiving device behavior simulation data;
and executing a device behavior simulation program in the browser according to the device behavior simulation data, and determining device debugging data.
Embodiments of the present application also provide a computer-readable storage medium, which includes a program for use in conjunction with an electronic device, where the program is executable by a processor to perform the following steps:
receiving device behavior simulation data;
and executing a device behavior simulation program in the browser according to the device behavior simulation data, and determining device debugging data.
An embodiment of the present application further provides an electronic device, including at least one processor and a memory, where the memory stores a program and is configured to be executed by the at least one processor to:
sending the equipment behavior simulation data to a browser;
receiving device debugging data from the browser, the device debugging data being determined by the browser executing a device behavior simulation program according to the device behavior simulation data.
Embodiments of the present application also provide a computer-readable storage medium, which includes a program for use in conjunction with an electronic device, where the program is executable by a processor to perform the following steps:
sending the equipment behavior simulation data to a browser;
receiving device debugging data from the browser, the device debugging data being determined by the browser executing a device behavior simulation program according to the device behavior simulation data. .
The embodiment of the application adopts at least one technical scheme which can achieve the following beneficial effects:
and receiving the equipment behavior simulation data by using the browser, executing an equipment behavior simulation program in the browser according to the equipment behavior simulation data, and further determining equipment debugging data. By using the technical scheme recorded in the embodiment of the application, the debugging of the equipment can be directly simulated at the browser end, and the problem of poor user experience caused by additionally developing and installing the client is solved. This contributes to IoT technology evolution.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a timing diagram of an apparatus debugging method based on an apparatus debugging system according to an embodiment of the present application;
fig. 2 is a timing diagram of another device debugging method based on a device debugging system according to an embodiment of the present application;
fig. 3 is a flowchart of an apparatus debugging method according to an embodiment of the present application;
FIG. 4 is a screenshot of an application example of a web page of a browser in the device debugging method shown in FIG. 3;
fig. 5 is a flowchart of a device debugging method according to an embodiment of the present application;
fig. 6 is a structural diagram of an apparatus debugging device according to an embodiment of the present application;
fig. 7 is a structural diagram of an apparatus debugging device according to an embodiment of the present application.
Detailed Description
The problems existing in the prior art are analyzed and found, and a technical means for simulating the equipment behavior by using a simulation tool based on a client is provided in the prior art to replace a debugging means based on real equipment. The method can simplify the step of debugging the equipment and reduce the cost problem caused by real equipment, but brings inconvenience to the client due to programming development and installation of the client, and the user experience is poor.
Embodiments of the present description provide a device debugging method, apparatus, device, and system, which may receive device behavior simulation data by using a browser, execute a device behavior simulation program in the browser according to the device behavior simulation data, and further determine the device debugging data. By using the technical scheme recorded in the embodiment of the application, the debugging of the equipment can be directly simulated at the browser end, and the problem of poor user experience caused by additionally developing and installing the client is solved.
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. 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 application.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a timing diagram of a device debugging method based on a device debugging system according to an embodiment of the present disclosure.
The device commissioning system may include:
the browser 101 is used for receiving the equipment behavior simulation data, executing an equipment behavior simulation program according to the equipment behavior simulation data and determining equipment debugging data;
and a server 102 for receiving 101 the device debugging data from the browser.
In this embodiment, the device behavior simulation data may be parameter values used for simulating a real device to complete a specified debugging function, including values of an operating current, a voltage, a power value, a debugging time, and the like, and is not limited specifically herein. On the browser 101 side, a device behavior simulation program embedded in the browser 101 is used to perform logic processing on the device behavior simulation data and output device debugging data.
By using the technical scheme provided by the embodiment of the present specification, a device behavior simulation program can be embedded in the browser 101, and the device behavior is simulated by using the browser 101 to obtain device debugging data. Therefore, whether the real equipment function is in accordance with the expectation can be determined by utilizing the equipment debugging data in the server, and the real equipment can be further improved according to the equipment debugging data. Therefore, simulation tools such as additional development and installation of clients can be avoided, convenience and efficiency of equipment simulation are improved, and user experience is improved.
As an application example, the user may input the device behavior simulation data to a web page in the browser 101, so that the browser 101 executes the device behavior simulator according to the device behavior simulation data.
Fig. 2 is a timing diagram of a device debugging method based on another device debugging system according to an embodiment of the present application.
The device debugging system comprises a browser 201, a server 202 and a client 203;
the client 203 is configured to send the device behavior simulation data to the browser 201 through the server 202, and receive the device debugging data from the server 202.
In this case, the client 203 corresponds to a control program side of the real device. The user can input the device behavior simulation data by using the client 203, and the client 203 does not run the device behavior simulation program and does not increase the burden of the debugging end. The client 203 may be an application program APP applied to a mobile terminal or a PC, and implements remote simulation debugging of the device.
Fig. 3 is a flowchart of a device debugging method proposed in an embodiment of the present specification, where the debugging method is as follows. The execution subject of the embodiments of the present disclosure is a browser, which includes a conventional web browser or a mobile browser, and is not limited in particular herein.
Step 301: device behavior simulation data is received.
In this embodiment, receiving device behavior simulation data may include at least one of the following:
1. receiving the equipment behavior simulation data input by a user through a webpage in a browser;
2. receiving the device behavior simulation data from a server.
For the mode 1, receiving the device behavior simulation data input by the user through the web page in the browser may include:
inputting a domain name in a browser;
receiving a webpage corresponding to the domain name from a server;
in this way, user-entered device behavior simulation data may be received via the web page in the browser.
In this embodiment of the present application, receiving, by a web page in a browser, the device behavior simulation data input by a user may include:
receiving at least one debugging parameter input by a user through a webpage in a browser;
determining the device behavior simulation data based on at least one debugging parameter.
Referring to fig. 4, fig. 4 is a screenshot of a webpage in a browser according to an embodiment of the present application, where the webpage displays the following debugging parameter options: the power supply comprises a working voltage, a working current, an active power value, a power factor, a power consumption, a drain voltage, a tilt angle value, a fault power threshold, a fault current threshold, a tilt threshold, an undervoltage threshold, an overcurrent threshold and the like, wherein some options allow a user to input the power supply by himself, and some options are provided for the user to select. According to the function needing debugging, the user can select one or more debugging parameter options to input. The application example shown in fig. 4 is for reference only, and different debugging parameter options can be designed for different devices and different function debugging.
Receiving at least one debugging parameter input by a user through a webpage in a browser may include:
when the first trigger event is detected, at least one debugging parameter input by a user is received through a webpage in the browser.
As shown in fig. 4, when the user clicks "report", the browser may detect that "report" is triggered, and receive at least one debugging parameter input by the user through a web page in the surfer based on the first trigger event.
Thus, detecting the first trigger event may be detecting a user's specified operation on the web page, such as detecting the first trigger event on a specified object, which may include clicking, double clicking, or pressing the specified object, and detecting the first trigger event may also be detecting input speech that is expected.
In an embodiment of the present specification, receiving the device behavior simulation data from the server may include:
monitoring equipment debugging information sent by a server based on an equipment behavior simulator in a browser;
and determining device behavior simulation data according to the monitored device debugging messages.
In practical applications, the device debugging scheme includes not only debugging the functions of the device itself, but also debugging the device control policy. Therefore, the device debugging parameters can be input by using the client corresponding to the control program, the client reports the device debugging parameters to the server, and the server sends a device debugging message to the browser, wherein the device debugging message carries the device debugging parameters.
In the embodiment of the present specification, a WebSocket channel may be established between a browser and a server, where the WebSocket is a network technology provided by HTML5 and used for full-duplex communication between the browser and the server, so that data can be interactively transmitted between the browser and the server. Specifically, a Remote Procedure Call (RPC) interface and an MQ of a server (corresponding to a virtual device background) are exposed to a browser through http and WebSocket protocols, a Software Development Kit (SDK) of a simulation device is packaged by using the http interface and the WebSocket channel, and is issued to the browser and device debugging data is obtained from the browser.
In another embodiment, before receiving the device behavior simulation data from the server, the device commissioning method may further include:
receiving a device attribute value input by a user through a webpage in a browser;
sending a device debugging request according to a device attribute value input by a user;
determining that the slave server receives the device behavior simulation data according to a response based on the device commissioning request.
In this case, according to the device attribute value input by the user, the device function attribute currently debugged may be determined. Device behavior simulation data required for the current debugging function attribute is then requested from the server. The server response to the device commissioning request may include device behavior simulation data.
Step 303: and executing the equipment behavior simulation program in the browser according to the equipment behavior simulation data, and determining equipment debugging data.
And the device behavior simulation program is implanted into the browser, so that the device behavior simulation program can be directly run on the browser.
In this embodiment, before executing the device behavior simulation program in the browser according to the device behavior simulation data, the device debugging method may further include:
receiving a device attribute value input by a user through a device behavior simulation script in a browser;
and generating the equipment behavior simulation program according to the equipment attribute value input by the user.
A scheme for defining the device behavior simulation program is provided, and particularly, a code editor is provided in a webpage of a browser and serves as a device behavior simulation script, so that a user can edit a virtual script, and then an operation script of the device behavior simulation program is generated. In combination with the above contents, the device behavior simulation program is utilized to perform functions such as programming of the device debugging function attribute value, monitoring of the device debugging information of the server, receiving of device behavior simulation data input by the user, and the like, without installing additional programming software and environment, thereby improving the user operation experience.
In this embodiment, generating the device behavior simulation program according to the device attribute value input by the user may include:
and when a second trigger event is detected, generating the equipment behavior simulation program according to the equipment attribute value input by the user.
In this embodiment of the application, the second trigger event may be a specified operation of the web page by the user, where the specified operation may be a specified gesture, or may be a trigger to a specified object in the web page. As an application example, after inputting a device attribute value through a device behavior simulation script in a browser, a user may click a "run" button, and a device behavior simulator may run in the current browser environment. Here, the "run" button or other type of button may be a designated object, and a single click, a touch, or a double click may be considered as a second trigger event.
In an embodiment of the present specification, after executing a device behavior simulation program in a browser according to the device behavior simulation data, the device simulation method may further include:
and sending equipment debugging data, wherein the equipment debugging data is used as a basis for evaluating and improving the performance of the real equipment.
By using the technical scheme recorded in the embodiment of the application, the debugging of the equipment can be directly simulated at the browser end, and the problem of poor user experience caused by additionally developing and installing the client is solved.
Fig. 5 is a flowchart of a device debugging method according to an embodiment of the present application, where the debugging method is as follows. The execution subject of the embodiment of the present application may be a server.
Step 502: and sending the device behavior simulation data to the browser.
In an embodiment of this specification, before sending the device behavior simulation data to the browser, the device debugging method further includes:
receiving a device debug request, the device debug request including the device behavior simulation data.
In practical applications, the application client may send the device behavior simulation data directly to the server.
Step 504: and receiving device debugging data from the browser, wherein the device debugging data is determined by the browser executing a device behavior simulation program according to the device behavior simulation data.
For how to determine the device debugging parameters on the browser side, reference may be made to the device debugging method shown in fig. 3.
When the server sends the device behavior simulation data according to the device debugging request of the application client, after receiving the device debugging data from the browser, the device debugging method may further include:
and feeding back the device debugging data based on the device debugging request.
In this case, the user may query the device on which the application client is located for current device debugging data, thereby improving and upgrading the application client accordingly.
Fig. 6 is a schematic structural diagram of an apparatus debugging device according to an embodiment of the present application.
The device commissioning apparatus may include:
a receiving module 601, configured to receive device behavior simulation data;
the determining module 602 executes a device behavior simulation program in the browser according to the device behavior simulation data, and determines device debugging data.
Optionally, receiving device behavior simulation data, including as at least one of:
receiving the equipment behavior simulation data input by a user through a webpage in the browser;
receiving the device behavior simulation data from a server.
Optionally, receiving, by a web page in the browser, the device behavior simulation data input by a user includes:
receiving at least one debugging parameter input by a user through a webpage in the browser;
determining the device behavior simulation data based on the at least one debugging parameter.
Optionally, receiving, by a web page in the browser, at least one debugging parameter input by a user, includes:
when the first trigger event is detected, receiving at least one debugging parameter input by a user through a webpage in the browser.
Optionally, the detecting a trigger event includes:
a first trigger event is detected for a specified object.
Optionally, receiving the device behavior simulation data from a server includes:
monitoring equipment debugging information sent by a server based on an equipment behavior simulator in the browser;
and determining the equipment behavior simulation data according to the monitored equipment debugging information.
Optionally, before receiving the device behavior simulation data from the server, receiving a device attribute value input by a user through a web page in the browser;
the device debugging apparatus further includes:
a sending module 603, configured to send a device debugging request according to the device attribute value input by the user;
determining to receive the device behavior simulation data from a server according to a response based on the device commissioning request.
Optionally, before executing a device behavior simulation program in a browser according to the device behavior simulation data, receiving a device attribute value input by a user through a device behavior simulation script in the browser;
the device debugging apparatus further includes:
the generating module 604 generates the device behavior simulation program according to the device attribute value input by the user.
Optionally, generating the device behavior simulation program according to the device attribute value input by the user includes:
and when a second trigger event is detected, generating the equipment behavior simulation program according to the equipment attribute value input by the user.
Optionally, the device simulation apparatus further includes:
the sending module 603 is configured to send the device debugging data after executing the device behavior simulation program in the browser according to the device behavior simulation data.
The device simulation apparatus described in the embodiment of the application is a device capable of running a browser, and realizes a simulation device debugging scheme based on a browser environment, thereby improving user experience.
Based on the same inventive concept, embodiments of the present specification further provide an electronic device, including at least one processor and a memory, where the memory stores programs and is configured to be executed by the at least one processor to:
receiving device behavior simulation data;
and executing a device behavior simulation program in the browser according to the device behavior simulation data, and determining device debugging data.
For other functions of the processor, reference may also be made to the contents described in the above embodiments, which are not described in detail herein.
Based on the same inventive concept, embodiments of the present specification further provide a computer-readable storage medium including a program for use in conjunction with an electronic device, the program being executable by a processor to perform the steps of:
receiving device behavior simulation data;
and executing a device behavior simulation program in the browser according to the device behavior simulation data, and determining device debugging data.
Fig. 7 is a schematic structural diagram of an apparatus debugging device according to an embodiment of the present application, where the apparatus debugging device may be a machine corresponding to a server
The device commissioning apparatus may include:
a sending module 701, configured to send the device behavior simulation data to the browser;
a receiving module 702, configured to receive device debugging data from the browser, where the device debugging data is determined by the browser executing a device behavior simulation program according to the device behavior simulation data.
Optionally, before sending the device behavior simulation data to the browser, receiving a device debugging request, where the device debugging request includes the device behavior simulation data;
after receiving device commissioning data from the browser, feeding back the device commissioning data based on the device commissioning request.
By using the device debugging apparatus described in the embodiments of the present specification, a communication connection is established between the server and the browser, and it is possible to receive device debugging data from the browser.
Based on the same inventive concept, embodiments of the present specification further provide an electronic device, including at least one processor and a memory, where the memory stores programs and is configured to be executed by the at least one processor to:
sending the equipment behavior simulation data to a browser;
receiving device debugging data from the browser, the device debugging data being determined by the browser executing a device behavior simulation program according to the device behavior simulation data.
For other functions of the processor, reference may also be made to the contents described in the above embodiments, which are not described in detail herein.
Based on the same inventive concept, embodiments of the present specification further provide a computer-readable storage medium including a program for use in conjunction with an electronic device, the program being executable by a processor to perform the steps of:
sending the equipment behavior simulation data to a browser;
receiving device debugging data from the browser, the device debugging data being determined by the browser executing a device behavior simulation program according to the device behavior simulation data.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Language Description Language), traffic, pl (core unified Programming Language), HDCal, JHDL (Java Hardware Description Language), langue, Lola, HDL, laspam, hardsradware (Hardware Description Language), vhjhd (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (30)

1. A device commissioning method comprising:
receiving device behavior simulation data;
and executing a device behavior simulation program in the browser according to the device behavior simulation data, and determining device debugging data.
2. The device commissioning method of claim 1, receiving device behavior simulation data, comprising, as at least one of:
receiving the equipment behavior simulation data input by a user through a webpage in the browser;
receiving the device behavior simulation data from a server.
3. The device commissioning method of claim 2, receiving user-input of the device behavior simulation data through a web page in the browser, comprising:
receiving at least one debugging parameter input by a user through a webpage in the browser;
determining the device behavior simulation data based on the at least one debugging parameter.
4. The device commissioning method of claim 3, receiving at least one commissioning parameter entered by a user via a web page in said browser, comprising:
when the first trigger event is detected, receiving at least one debugging parameter input by a user through a webpage in the browser.
5. The device commissioning method of claim 4, detecting a triggering event, comprising:
a first trigger event is detected for a specified object.
6. The device commissioning method of claim 2, receiving said device behavior simulation data from a server, comprising:
monitoring equipment debugging information sent by a server based on an equipment behavior simulator in the browser;
and determining the equipment behavior simulation data according to the monitored equipment debugging information.
7. The device commissioning method of claim 2, prior to receiving the device behavior simulation data from a server, further comprising:
receiving a device attribute value input by a user through a webpage in the browser;
sending a device debugging request according to the device attribute value input by the user;
determining that the slave server receives the device behavior simulation data according to a response based on the device commissioning request.
8. The device debugging method of claim 1, prior to executing a device behavior simulation program in a browser in accordance with the device behavior simulation data, further comprising:
receiving a device attribute value input by a user through a device behavior simulation script in the browser;
and generating the equipment behavior simulation program according to the equipment attribute value input by the user.
9. The device commissioning method of claim 8, generating said device behavior simulator based on said user-entered device attribute values, comprising:
and when a second trigger event is detected, generating the equipment behavior simulation program according to the equipment attribute value input by the user.
10. The device commissioning method of claim 1, after executing a device behavior simulator in a browser in accordance with the device behavior simulation data, the device simulation method further comprising:
and sending the equipment debugging data.
11. A device commissioning method comprising:
sending the equipment behavior simulation data to a browser;
receiving device debugging data from the browser, the device debugging data being determined by the browser executing a device behavior simulation program according to the device behavior simulation data.
12. The device commissioning method of claim 11, prior to sending device behavior simulation data to a browser, further comprising:
receiving a device debugging request, wherein the device debugging request comprises the device behavior simulation data;
after receiving device commissioning data from the browser, the device commissioning method further comprises:
feeding back the device debugging data based on the device debugging request.
13. An apparatus commissioning device comprising:
the receiving module is used for receiving equipment behavior simulation data;
and the determining module executes the equipment behavior simulation program in the browser according to the equipment behavior simulation data and determines equipment debugging data.
14. The device commissioning apparatus of claim 13, receiving device behavior simulation data, comprising at least one of:
receiving the equipment behavior simulation data input by a user through a webpage in the browser;
receiving the device behavior simulation data from a server.
15. The device commissioning apparatus of claim 14, receiving user-input of the device behavior simulation data via a web page in the browser, comprising:
receiving at least one debugging parameter input by a user through a webpage in the browser;
determining the device behavior simulation data based on the at least one debugging parameter.
16. The device commissioning apparatus of claim 15, receiving at least one commissioning parameter input by a user via a web page in said browser, comprising:
when the first trigger event is detected, receiving at least one debugging parameter input by a user through a webpage in the browser.
17. The device commissioning apparatus of claim 16, said detecting a triggering event comprising:
a first trigger event is detected for a specified object.
18. The device commissioning apparatus of claim 14, receiving the device behavior simulation data from a server, comprising:
monitoring equipment debugging information sent by a server based on an equipment behavior simulator in the browser;
and determining the equipment behavior simulation data according to the monitored equipment debugging information.
19. The device commissioning apparatus of claim 14, prior to receiving the device behavior simulation data from a server, receiving a user-entered device attribute value through a web page in the browser;
the device debugging apparatus further includes:
the sending module sends a device debugging request according to the device attribute value input by the user;
determining that the slave server receives the device behavior simulation data according to a response based on the device commissioning request.
20. The device debugging apparatus of claim 13, receiving, by a device behavior simulation script in the browser, a device attribute value input by a user before executing a device behavior simulation program in the browser according to the device behavior simulation data;
the device debugging apparatus further includes:
and the generating module is used for generating the equipment behavior simulation program according to the equipment attribute value input by the user.
21. The device commissioning apparatus of claim 20, generating the device behavior simulator in accordance with the user-entered device attribute values, comprising:
and when a second trigger event is detected, generating the equipment behavior simulation program according to the equipment attribute value input by the user.
22. The device commissioning apparatus of claim 13, said device simulation apparatus further comprising:
and the sending module is used for sending the equipment debugging data after executing an equipment behavior simulation program in the browser according to the equipment behavior simulation data.
23. An apparatus commissioning device comprising:
the sending module is used for sending the equipment behavior simulation data to the browser;
and the receiving module is used for receiving equipment debugging data from the browser, wherein the equipment debugging data is determined by the browser executing an equipment behavior simulation program according to the equipment behavior simulation data.
24. The device commissioning apparatus of claim 23, prior to sending device behavior simulation data to a browser, receiving a device commissioning request, the device commissioning request comprising the device behavior simulation data;
after receiving device commissioning data from the browser, feeding back the device commissioning data based on the device commissioning request.
25. A device commissioning system comprising:
the browser receives the equipment behavior simulation data, executes an equipment behavior simulation program according to the equipment behavior simulation data, and determines equipment debugging data;
a server to receive the device commissioning data from the browser.
26. The device commissioning system of claim 25, further comprising:
and the client side sends the equipment behavior simulation data to the browser through the server and receives the equipment debugging data from the server.
27. An electronic device comprising at least one processor and a memory, the memory storing a program and configured to perform, by the at least one processor, the steps of:
receiving device behavior simulation data;
and executing a device behavior simulation program in the browser according to the device behavior simulation data, and determining device debugging data.
28. A computer readable storage medium comprising a program for use in conjunction with an electronic device, the program being executable by a processor to perform the steps of:
receiving device behavior simulation data;
and executing a device behavior simulation program in the browser according to the device behavior simulation data, and determining device debugging data.
29. An electronic device comprising at least one processor and a memory, the memory storing a program and configured to perform, by the at least one processor, the steps of:
sending the equipment behavior simulation data to a browser;
receiving device debugging data from the browser, the device debugging data being determined by the browser executing a device behavior simulation program according to the device behavior simulation data.
30. A computer readable storage medium comprising a program for use in conjunction with an electronic device, the program being executable by a processor to perform the steps of:
sending the equipment behavior simulation data to a browser;
receiving device debugging data from the browser, the device debugging data being determined by the browser executing a device behavior simulation program according to the device behavior simulation data.
CN201810813916.7A 2018-07-23 2018-07-23 Equipment debugging method, device, equipment and system Active CN110750437B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810813916.7A CN110750437B (en) 2018-07-23 2018-07-23 Equipment debugging method, device, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810813916.7A CN110750437B (en) 2018-07-23 2018-07-23 Equipment debugging method, device, equipment and system

Publications (2)

Publication Number Publication Date
CN110750437A true CN110750437A (en) 2020-02-04
CN110750437B CN110750437B (en) 2023-12-22

Family

ID=69275095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810813916.7A Active CN110750437B (en) 2018-07-23 2018-07-23 Equipment debugging method, device, equipment and system

Country Status (1)

Country Link
CN (1) CN110750437B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111901155A (en) * 2020-07-06 2020-11-06 上海庆科信息技术有限公司 Internet of things debugging method, device and system and storage medium
US20210089419A1 (en) * 2019-09-25 2021-03-25 Alibaba Group Holding Limited Debugging unit and processor
CN113760235A (en) * 2021-09-10 2021-12-07 深圳市太美亚电子科技有限公司 BLE development and debugging system and method
CN114915565A (en) * 2022-05-06 2022-08-16 上海哔哩哔哩科技有限公司 Method and system for debugging network
CN114968015A (en) * 2022-05-18 2022-08-30 北京眼神智能科技有限公司 Method, device and medium for information interaction and network communication module control

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1185564A (en) * 1997-09-09 1999-03-30 Toshiba Corp Debugging method and device using web browser
CN104796929A (en) * 2014-01-22 2015-07-22 腾讯科技(深圳)有限公司 Network debugging method and device
CN105094120A (en) * 2015-09-11 2015-11-25 国家电网公司 Testing device capable of simulating action behaviors of primary equipment
CN105450463A (en) * 2014-08-26 2016-03-30 阿里巴巴集团控股有限公司 Hardware equipment debugging method, hardware equipment debugging device and hardware equipment debugging system
US9652364B1 (en) * 2015-03-12 2017-05-16 Amazon Technologies, Inc. Cloud service for mobile testing and debugging
CN107005444A (en) * 2014-09-11 2017-08-01 森特理克联网家居有限公司 Equipment is synchronous and tests
CN107590070A (en) * 2017-08-18 2018-01-16 深圳怡化电脑股份有限公司 A kind of service flow debugging method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1185564A (en) * 1997-09-09 1999-03-30 Toshiba Corp Debugging method and device using web browser
CN104796929A (en) * 2014-01-22 2015-07-22 腾讯科技(深圳)有限公司 Network debugging method and device
CN105450463A (en) * 2014-08-26 2016-03-30 阿里巴巴集团控股有限公司 Hardware equipment debugging method, hardware equipment debugging device and hardware equipment debugging system
CN107005444A (en) * 2014-09-11 2017-08-01 森特理克联网家居有限公司 Equipment is synchronous and tests
US9652364B1 (en) * 2015-03-12 2017-05-16 Amazon Technologies, Inc. Cloud service for mobile testing and debugging
CN105094120A (en) * 2015-09-11 2015-11-25 国家电网公司 Testing device capable of simulating action behaviors of primary equipment
CN107590070A (en) * 2017-08-18 2018-01-16 深圳怡化电脑股份有限公司 A kind of service flow debugging method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
庞钰宁;龙翔;高小鹏;: "SIMSOC模拟器远程调试系统的研究与实现", 微计算机信息, no. 29 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210089419A1 (en) * 2019-09-25 2021-03-25 Alibaba Group Holding Limited Debugging unit and processor
US11755441B2 (en) * 2019-09-25 2023-09-12 Alibaba Group Holding Limited Debugging unit and processor
CN111901155A (en) * 2020-07-06 2020-11-06 上海庆科信息技术有限公司 Internet of things debugging method, device and system and storage medium
CN113760235A (en) * 2021-09-10 2021-12-07 深圳市太美亚电子科技有限公司 BLE development and debugging system and method
CN113760235B (en) * 2021-09-10 2023-12-19 深圳市太美亚电子科技有限公司 BLE development and debugging system and method
CN114915565A (en) * 2022-05-06 2022-08-16 上海哔哩哔哩科技有限公司 Method and system for debugging network
CN114915565B (en) * 2022-05-06 2023-09-19 上海哔哩哔哩科技有限公司 Network debugging method and system
CN114968015A (en) * 2022-05-18 2022-08-30 北京眼神智能科技有限公司 Method, device and medium for information interaction and network communication module control

Also Published As

Publication number Publication date
CN110750437B (en) 2023-12-22

Similar Documents

Publication Publication Date Title
CN110750437B (en) Equipment debugging method, device, equipment and system
CN108345531B (en) Test method, device and system
CN106708899B (en) Automatic point burying method and device
CN110532020B (en) Data processing method, device and system for micro-service arrangement
CN108319547B (en) Test case generation method, device and system
KR102150774B1 (en) Method and apparatus for loading a terminal application
CN108924029B (en) Method and device for sending customer service data
KR20190005855A (en) Page component dynamic layout
US11403196B2 (en) Widget provisioning of user experience analytics and user interface / application management
CN107040574B (en) Screenshot and data processing method and device
CN111694564B (en) Method, device, equipment and medium for compiling Flutter mixed mode
CN101957756A (en) System and method for rapidly generating intelligent mobile terminal program
CN107479868B (en) Interface loading method, device and equipment
CN112506854B (en) Page template file storage and page generation methods, devices, equipment and media
CN111796821A (en) Page updating method and device
CN108304313B (en) Device, client and method for data testing
CN110046100B (en) Packet testing method, electronic device and medium
CN106610845B (en) Information management method, device, server and system
CN111078435A (en) Service processing method and device and electronic equipment
CN113556260A (en) Flow monitoring method and device, storage medium and electronic equipment
CN103064789A (en) Automated testing method by software control
CN116136757A (en) Log output method and device and electronic equipment
JP2022048985A (en) Method and device for generating error notification content of deep learning framework
JP2021140781A (en) Method, device, equipment, program and computer memory medium for source channel determination
CN113254014A (en) Sketch plug-in-based interface development method, device and system

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40022284

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant