CN114168400B - Method and device for debugging equipment, processing equipment and computer storage medium - Google Patents

Method and device for debugging equipment, processing equipment and computer storage medium Download PDF

Info

Publication number
CN114168400B
CN114168400B CN202210132744.3A CN202210132744A CN114168400B CN 114168400 B CN114168400 B CN 114168400B CN 202210132744 A CN202210132744 A CN 202210132744A CN 114168400 B CN114168400 B CN 114168400B
Authority
CN
China
Prior art keywords
equipment
terminal
target link
determining
configuration information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210132744.3A
Other languages
Chinese (zh)
Other versions
CN114168400A (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.)
Wuhan Easylinkin Technology Co ltd
Original Assignee
Wuhan Easylinkin 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 Wuhan Easylinkin Technology Co ltd filed Critical Wuhan Easylinkin Technology Co ltd
Priority to CN202210132744.3A priority Critical patent/CN114168400B/en
Publication of CN114168400A publication Critical patent/CN114168400A/en
Application granted granted Critical
Publication of CN114168400B publication Critical patent/CN114168400B/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/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The embodiment of the disclosure discloses a method for debugging equipment, which is applied to a terminal and comprises the following steps: acquiring target image information by using a camera module, wherein the target image information indicates an equipment identifier; establishing an association relation between the equipment indicated by the equipment identification and the installation area of the equipment; determining a target link based on the incidence relation and a preset mapping relation; wherein the predetermined mapping relationship comprises a mapping relationship between the device, the installation area, and the target link; debugging the device using the target link. In the technical scheme, the operation is simple, and the efficiency of debugging equipment is high.

Description

Method and device for debugging equipment, processing equipment and computer storage medium
Technical Field
The present invention relates to the field of device debugging, and in particular, to a method and an apparatus for debugging a device, a processing device, and a computer storage medium.
Background
In the related art, since the debugging steps are complex, after the equipment is deployed, the equipment needs to be debugged by a computer or a special debugging device. In practical application, at least one installer and one professional debugger are required to install and debug the equipment respectively. The debugging efficiency is low and the operation is complicated; the labor cost required when the project engineering is large is high; the used computer or debugging device is heavy and inconvenient to move; the experience of professional debugging personnel is poor.
Disclosure of Invention
In view of this, the present disclosure discloses a method and an apparatus for debugging a device, a processing device, and a storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for debugging a device, which is applied to a terminal, the method including:
acquiring target image information by using a camera module, wherein the target image information indicates an equipment identifier;
determining an installation area where the equipment indicated by the equipment identification is located;
determining a target link based on the installation area and a predetermined mapping relation; wherein the predetermined mapping relationship comprises a mapping relationship between the device, the installation area, and the target link;
debugging the equipment by utilizing the determined target link.
In one embodiment, the method further comprises:
receiving first configuration information sent by a server; wherein the first configuration information indicates the predetermined mapping relationship.
In one embodiment, the method further comprises:
if a trigger signal acting on a display control of the terminal is detected, sending second configuration information corresponding to the display control to a server side by using the target link; the second configuration information is used for indicating working parameter information used when the equipment is debugged.
In one embodiment, the method further comprises:
acquiring a feedback parameter of the equipment sent by a server by using the target link;
and determining whether the equipment is debugged successfully according to the relation between the value of the feedback parameter and a preset range.
In one embodiment, if the value of the feedback parameter is within the preset range, it is determined that the device is successfully debugged; or if the value of the feedback parameter is out of the preset range, determining that the equipment fails to be debugged.
In one embodiment, the commissioning the device with the target link includes:
and determining whether the information transmission between the terminal and the equipment is abnormal or not according to the query result of querying the historical data of the equipment by using the target link.
In one embodiment, the method comprises:
if the query result indicates that the historical data of the equipment can be queried, determining that the information transmission between the terminal and the equipment is normal; or if the query result indicates that the historical data of the equipment is not queried, determining that the information transmission between the terminal and the equipment is abnormal.
According to a second aspect of the embodiments of the present disclosure, there is provided a method for debugging a device, which is applied to a server, the method including:
sending a predetermined mapping relation to the terminal; the predetermined mapping relation comprises a mapping relation among the equipment, an installation area and a target link, and the predetermined mapping relation enables the terminal to determine the target link for debugging the equipment based on the installation area of the equipment and the predetermined mapping relation.
In one embodiment, the method further comprises:
receiving second configuration information sent by the terminal, wherein the second configuration information is used for indicating working parameter information used when the equipment is debugged;
and sending the second configuration information to the equipment.
In one embodiment, the method further comprises:
receiving feedback parameters after the equipment is debugged; wherein the feedback parameter is used for feeding back the working state of the equipment.
And sending the feedback parameters of the equipment to the terminal.
In one embodiment, the method further comprises:
sending the historical data of the equipment to the terminal; wherein the historical data comprises historical operating data of the device.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for device commissioning, the apparatus including:
a detection module to: acquiring target image information by using a camera module, wherein the target image information indicates an equipment identifier;
a determination module to: determining an installation area where the equipment indicated by the equipment identifier is located;
determining a target link based on the incidence relation and a predetermined mapping relation; wherein the predetermined mapping relationship comprises a mapping relationship between the device, the installation area, and the target link;
and the first transmission module is used for debugging the equipment by utilizing the determined target link.
In one embodiment, the first transmission module is further configured to:
receiving first configuration information sent by a server; wherein the first configuration information indicates the predetermined mapping relationship.
In one embodiment, the first transmission module is further configured to:
if a trigger signal acting on a display control of the terminal is detected, sending second configuration information corresponding to the display control to a server by using the target link; wherein the second configuration information is to cause the device to operate based on the second configuration information.
In one embodiment, the method is characterized in that,
the first transmission module is further configured to: acquiring a feedback parameter of the equipment sent by a server by using the target link;
the determination module is further to: and determining whether the equipment is successfully debugged according to the relation between the value of the feedback parameter and a preset range.
In one embodiment, the determining module is further configured to:
if the value of the feedback parameter is within the preset range, determining that the equipment is successfully debugged;
alternatively, the first and second electrodes may be,
and if the value of the feedback parameter is out of the preset range, determining that the equipment fails to be debugged.
In one embodiment, the first transmission module is further configured to:
and determining whether the information transmission between the terminal and the equipment is abnormal or not according to the query result of the historical data of the equipment queried by using the target link.
In one embodiment, the first transmission module is further configured to:
if the query result indicates that the historical data of the equipment can be queried, determining that the information transmission between the terminal and the equipment is normal;
alternatively, the first and second liquid crystal display panels may be,
and if the query result indicates that the historical data of the equipment is not queried, determining that the information transmission between the terminal and the equipment is abnormal.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an apparatus for device commissioning, the apparatus comprising:
a second transmission module to: sending a predetermined mapping relation to the terminal; the predetermined mapping relation comprises a mapping relation among the equipment, the installation area and a target link, and the predetermined mapping relation enables the terminal to determine the target link for debugging the equipment based on the installation area of the equipment and the predetermined mapping relation.
In one embodiment, the second transmission module is further configured to:
receiving second configuration information sent by the terminal, wherein the second configuration information is used for enabling the equipment to operate based on the second configuration information;
and sending the second configuration information to the equipment.
In one embodiment, the second transmission module is further configured to:
receiving feedback parameters after the equipment is debugged; wherein the feedback parameter indicates an operational state of the device;
and sending the feedback parameters of the equipment to the terminal.
In one embodiment, the second transmission module is further configured to:
sending the historical data of the equipment to the terminal; wherein the historical data comprises historical operating data of the device.
According to a fifth aspect of embodiments of the present disclosure, there is provided a processing apparatus, including:
a memory for storing an executable program;
a processor for implementing the method according to any one of the embodiments of the present disclosure when executing the executable program stored in the memory.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computer storage medium storing an executable program which, when executed by a processor, implements the method as in any one of the embodiments of the present disclosure.
In the embodiment of the present disclosure, the target link is determined based on the association relationship and a predetermined mapping relationship, and here, only target image information needs to be detected, and based on the device identifier indicated by the target image, the association relationship between the device indicated by the device identifier and the installation area of the device is established, so that the target link is determined. Therefore, an additional professional debugging person is not needed, an installer only needs to use the terminal to acquire the target image information after the installation of the equipment is completed, the target link can be determined after the simple operation, and therefore the communication between the terminal and the equipment is achieved. I.e. commissioning the device with the target link. Compared with the mode that at least one installer and one professional debugging personnel are required to install and debug the equipment respectively, the debugging method is high in debugging efficiency, simple to operate and low in labor cost required when the project engineering is large.
Drawings
Fig. 1 is a system architecture diagram of a debugging device according to an exemplary embodiment.
Fig. 2 is a first flowchart illustrating a method for debugging a device according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a method for debugging a device according to an exemplary embodiment.
Fig. 4 is a third flowchart illustrating a method for debugging a device according to an exemplary embodiment.
FIG. 5 is a schematic diagram illustrating a second control interface in accordance with an exemplary embodiment.
Fig. 6 is a fourth flowchart illustrating a method for debugging a device according to an exemplary embodiment.
Fig. 7 is a flowchart illustrating a method of commissioning a device according to an exemplary embodiment.
Fig. 8 is a flowchart illustrating a method of commissioning a device according to an exemplary embodiment.
FIG. 9 is a schematic diagram illustrating historical data for a device, according to an example embodiment.
Fig. 10 is a seventh flowchart illustrating a method of commissioning a device according to an exemplary embodiment.
Fig. 11 is a flowchart illustrating an eighth method of debugging a device according to an exemplary embodiment.
Fig. 12 is a flowchart illustrating a method of commissioning a device according to an exemplary embodiment.
Fig. 13 is a flowchart illustrating a method of commissioning a device according to an exemplary embodiment.
Fig. 14 is an eleventh flowchart illustrating a method of commissioning a device according to an example embodiment.
Fig. 15 is a flowchart illustrating a method of commissioning a device according to an exemplary embodiment.
Fig. 16 is a first structural diagram of an apparatus for debugging a device according to an exemplary embodiment.
Fig. 17 is a second schematic structural diagram of an apparatus for debugging a device according to an exemplary embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail with reference to the accompanying drawings, the described embodiments should not be construed as limiting the present invention, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
In the following description, references to the terms "first \ second \ third" are only to distinguish between similar objects and do not denote a particular order or importance, but rather "first \ second \ third" may, where permissible, be interchanged in a particular order or sequence so that embodiments of the invention described herein can be practiced in other than the order shown or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein is for the purpose of describing embodiments of the invention only and is not intended to be limiting of the invention.
For better understanding of the embodiments of the present disclosure, the following description is made of application scenarios of technical terms and debugging devices in the related art by some exemplary embodiments:
in one embodiment, during the installation and debugging process of the equipment, the point positioning is carried out on a map of a server side, so that a project space corresponding to a project delivered to a client is determined; the project space indicates a geospatial region of the project, which is determined by a design provided by the customer.
In one embodiment, after the installer installs the device, the installer can select the installation area corresponding to the device by scanning the two-dimensional code on the device; wherein the installation area is located within a geospatial region indicated by the project space.
In one embodiment, referring to fig. 1, the system architecture for installation and debugging includes: the terminal comprises a mobile phone end and a computer end. The computer terminal determines a management account and at least one management sub-account; the management account and the management sub-account are used for managing the project to be processed.
In one embodiment, the terminal is a computer, and the computer can monitor and control the equipment; sending an alarm prompt aiming at the equipment with the abnormal condition; a user can prepare a rule engine for controlling equipment at a computer end according to the requirement of the user; wherein the rules engine may be used for batch debugging or timing debugging of the device.
In one embodiment, referring again to fig. 1, the device may be a light controller, a temperature sensor, a smart meter, or an air conditioner controller. The server may be used for device registration, device assignment, and displaying a device overview.
As shown in fig. 2, an embodiment of the present disclosure provides a method for debugging a device, which is applied to a terminal. The method comprises the following steps:
step 21, acquiring target image information by using a camera module, wherein the target image information indicates an equipment identifier;
step 22, establishing an association relationship between the equipment indicated by the equipment identifier and the installation area of the equipment;
step 23, determining a target link based on the association relation and a predetermined mapping relation; wherein the predetermined mapping relationship comprises a mapping relationship between the device, the installation area, and the target link;
and step 24, debugging the equipment by using the target link.
In some embodiments, the terminal may be an electronic device with a display screen, such as a mobile phone, an electronic watch, a wearable device, a debugging device with a camera module, and a computer.
In some embodiments, the device may be an internet of things device, which may include but is not limited to: the intelligent household system comprises a computer, a cash collector, a fan heater, projection equipment, a humidifier, a lamp controller, a temperature sensor, an intelligent ammeter, an air conditioner controller and an intelligent household product.
In one embodiment, the server may be a cloud platform that manages the device; the server can register and authenticate the information of the equipment.
In one embodiment, first configuration information is stored in advance before target image information is acquired by a camera module; wherein the target image information indicates a device identification; the first configuration information indicates the predetermined mapping relationship; the predetermined mapping relationship includes a mapping relationship between the device, an installation area of the device, and a target link.
In one embodiment, before the target image information is acquired by using the camera module, account information sent by the server is acquired; the account information comprises a user name and a password of at least one account; authenticating the input information on the input control based on the account information; the input control is used for inputting a user name and a password of the account to be logged in.
In one embodiment, before the target image information is acquired by using the camera module, the input information on the input control is sent to the server; the input control is used for inputting a user name and a password of an account to be logged in; and the server side authenticates the received input information.
In one embodiment, if the authentication is passed and a trigger signal acting on the login control is detected, determining to display a detection interface after login; the detection interface comprises: acquiring a scanning control of the target image by using the camera module; or, if the authentication is not passed, determining to display prompt information; the prompt message is used for prompting that the authentication is not passed.
In one embodiment, the account information indicates information of one administrator account and at least one administrative sub-account; each administrator account and each management sub-account have a mapping relation with unique project information; the project information comprises project spaces corresponding to projects; the project space indicates at least one installation area of a project. That is, the item information can indicate at least one installation area included in the item.
In one embodiment, the mounting region may comprise multiple levels of sub-regions; wherein the number of stages of the sub-areas within the installation area is inversely proportional to the area range of the sub-areas. The mounting area may also be considered a primary mounting sub-area.
In one embodiment, if the number of levels of the sub-regions is a, the range of the region indicated by all the sub-regions with the number of levels greater than a is within the range indicated by the sub-regions with the number of levels a.
Illustratively, the installation area may be one dormitory building; the dormitory building also comprises a second-stage subregion dormitory building 11 building and a third-stage subregion 11 building 101 house; the number of stages of the tertiary sub-area is larger than that of the secondary sub-area, and the 11-floor 101-size house is in the range of the secondary sub-area.
In one embodiment, the project space is determined based on a customer's design, for example, in the project "dormitory-installed air conditioners" design, where the air conditioners are determined to be installed in dormitory 1, the project space can indicate the geographical installation area where the dormitory-installed air conditioners are installed. The project space only comprises one project space, the project space comprises a root directory, the lower directory of the root directory is a mounting area, and the mounting area can be expanded in a tree shape without limitation. For example, according to the requirement of a client to install equipment in a school, the project space region structure may be: XX school/XX teaching building/XX floor/XX classroom; alternatively, XX school/XX canteen/XX floor/XX window.
In one embodiment, target image information is obtained by a camera module, wherein the target image information indicates an internet of things code of the device, and the internet of things code includes: a device identification and installation area of the device; establishing an association relation between the equipment indicated by the equipment identification and the installation area; determining a target link based on the incidence relation and a predetermined mapping relation; wherein the predetermined mapping relationship comprises a mapping relationship between the device, the installation area, and the target link; debugging the device using the target link.
In this way, the installer identifies the device identifier and the related information of the installation area, which need to be associated with each other, based on the obtained target image information, so as to establish an association relationship between the device indicated by the device identifier and the installation area. And an installation manual or dotting and positioning of the equipment are not required, so that the information of the installation area corresponding to the equipment is determined, and the debugging efficiency is improved.
In one embodiment, the internet of things encoding further comprises: geographic region information of the device; wherein the geographical area information of the device may include: the specific geographic addresses of cities, streets, house numbers and the like of the equipment installation.
In one embodiment, each device has a unique device identification.
In one embodiment, target image information is acquired by a camera module, wherein the target image information indicates an equipment identifier; determining first project information according to a first mapping relation between a login account of the terminal and the project information; determining second item information according to a second mapping relation between the identifier of the equipment and the item information; if the first project information and the second project information are the same project information, determining to establish an association relationship between the equipment indicated by the equipment identification and the installation area of the equipment; and if the first project information and the second project information are not in the same project space, determining not to establish the association relationship.
For example, the login account of the terminal is the management sub-account, and a mapping relationship exists between the management sub-account and the project information of the project A; determining the first project information according to the mapping relation between the login account and the project information; the first item information indicates that the installation area of the item a is a dormitory. A mapping relation exists between the determined equipment identifier and the item B, and the second item information is determined according to the mapping relation between the representation of the equipment and the item information of the item B; and the second item information indicates that the installation area of the item B is a teaching building.
At this time, the first project information and the second project information are not the same project information, and the dormitory indicated by the first project information and the teaching building indicated by the second project information are not the same installation area. The login account is a management sub-account, the management sub-account is used for managing equipment under the corresponding project, the project corresponding to the equipment indicated by the obtained equipment identification is different from the project corresponding to the management sub-account, and at this moment, the association relation is not established. In the embodiment of the disclosure, whether an association relationship between the device and the installation area of the device is established is determined according to a relationship between the first item information and the second item information, and the first item information and the second item information are respectively determined by the login account and the device identifier, so that the login account can efficiently manage the device indicated by the device identifier, and the error rate of the device which is installed incorrectly in the installation area is reduced.
In one embodiment, an identification code on the device is acquired by using a camera module, for example, the identification code may be a two-dimensional code; wherein the target identification code comprises a device identification; each device has a unique corresponding identification code.
In one embodiment, target image information displayed on equipment is acquired by using a camera module; wherein the target image information comprises a device identification of the device.
In one embodiment, if a trigger signal acted on a login control of a terminal and input information of a user are detected, a detection interface after login is displayed; the detection interface is provided with a scanning control for acquiring the target image by using the camera module; if a trigger signal acting on the scanning control is detected and the equipment identifier of the target image is acquired, displaying a control interface; wherein the control interface comprises a first control interface or a second control interface; the first control interface comprises a display control for controlling the equipment to establish an association relation with the installation area of the equipment; the second control interface includes a display control for debugging the device.
In one embodiment, if a trigger signal acting on a first scanning control is detected, the camera module is used for acquiring the target image; wherein the target image information indicates a device identification; determining a displayed first control interface according to the mapping relation between the equipment identifier and the first control interface; if a trigger signal acting on a display control of a first control interface is detected, establishing an association relationship between equipment indicated by the equipment identifier and an installation area of the equipment; wherein the display control of the first control interface indicates an installation area of the device.
In one embodiment, if a trigger signal acting on a second scanning control is detected, the camera module is used for acquiring the target image; wherein the target image information indicates a device identification; determining a second control interface to be displayed according to the mapping relation between the equipment identifier and the second control interface; and debugging the equipment indicated by the equipment identification by using the determined target link through the display control of the second control interface.
For example, the device is an air conditioner, and the functions that the air conditioner can realize are as follows: changing wind speed and regulating temperature. Determining a second control interface to be displayed according to the relation between the equipment identifier of the air conditioner and the second control interface; the second control interface includes at least one of a display control that instructs the device to change wind speed and adjust temperature.
In one embodiment, if a trigger signal acting on a first scanning control is detected, the camera module is used for acquiring the target image; wherein the target image information indicates a device identification; determining a first control interface and a second control interface which are displayed according to the mapping relation between the equipment identifier and the first control interface; wherein the first control interface has an entry display control therein that indicates display of a second control interface.
In one embodiment, if a trigger signal acting on a display control of a first control interface is detected, establishing an association relationship between equipment and an installation area of the equipment; and if the incidence relation and a trigger signal acting on the entrance display control are detected, entering a second control interface.
In one embodiment, if the association is not detected, determining not to display the data of the device received from the server; or determining not to display the second control interface.
Illustratively, if the association is not detected, it is proved that the installer has not successfully installed. At this time, even if the trigger signal acting on the entry display control is detected, the second control interface is not displayed. Therefore, the possibility of safety accidents caused by debugging of the equipment due to incomplete installation is reduced.
In one embodiment, target image information is acquired by a camera module, wherein the target image information indicates an equipment identifier; determining project information according to the mapping relation between the equipment identification and the project information; selecting an installation area of the equipment in a project space indicated by the project information according to the position information of the equipment; establishing an incidence relation between the equipment and an installation area of the equipment; determining a target link based on the incidence relation and a predetermined mapping relation; debugging the device using the target link.
In some embodiments, the location information of the device is determined by dotting positioning; alternatively, the location information of the device is determined based on the regional information determined by the installer on the map.
In one embodiment, please refer to table one and table two, where table one shows an association relationship between the device and an installation area of the device; the second table shows a predetermined mapping relationship among the device, the installation area, and the target link in a certain project space.
Watch 1
Figure GDA0003707445810000121
Figure GDA0003707445810000131
Watch two
Figure GDA0003707445810000132
In one embodiment, an association relationship between the device and the installation area is established; determining a link interval corresponding to the installation area based on the mapping relation between the installation area and the target link; wherein the link section includes: a target link having a mapping relationship with the installation area; and selecting a target link having a mapping relation with the equipment in the link interval.
Illustratively, device A is set up as shown in Table one and Table two1Association relation 1 with the area a; the link interval corresponding to the area a includes a link 1, a link 2, and a link 3. Based on the equipment A1And determining to select a target link in the link interval indicated by the area A according to the association relation 1 between the area A and the target link. And a mapping relation exists between the link 1 in the link interval and the equipment, so that the target link corresponding to the equipment is determined to be the link 1. In the comparison process, it is not necessary to determine whether the links 1 to 6 are the target links one by one, and it is only necessary to determine whether the links 1 to 3 in the link interval are the target links, so that the device a can be determined1The corresponding target link is link 1.
Therefore, the process of selecting the target link is simplified into the process of determining a link interval according to the installation area corresponding to the equipment and selecting the target link in the link interval. Compared with the process of comparing all the target links one by one to determine the target link corresponding to the device, the embodiment of the present disclosure determines the link interval and then selects the target link corresponding to the device from the link interval, so that the comparison time is shortened, and the selection efficiency is high.
In one embodiment, an installation area where a device to be debugged is located is determined; determining a link interval according to a mapping relation between the installation area and the target link; determining a target link based on the relationship between the link in the link interval and the equipment identifier of the equipment; and debugging the equipment included in the installation area by using the target link.
In one embodiment, the server pre-establishes all links in table one; the link is used for transmitting data between the terminal and the equipment; or after the terminal determines the target link, sending prompt information to the server; the prompt information is used for prompting the server to establish a target link.
Exemplarily, determining an installation area where a device to be debugged is located as an area a; the target link interval corresponding to the area A comprises a link 1, a link 2 and a link 3; the equipment included in the area A is equipment A1And equipment B1And equipment C1(ii) a Respectively using the link 1, the link 2 and the link 3 to the device A1And equipment B1And equipment C1And debugging is carried out.
Therefore, after the installation of the equipment is completed, the installer establishes the association relationship between at least two pieces of equipment and the corresponding installation areas, and debugs at least two pieces of equipment in the installation areas in batches based on the association relationship, so that the batch debugging of the equipment is completed, and the debugging efficiency is high.
In the embodiment of the present disclosure, the target link is determined based on the association relationship and a predetermined mapping relationship, and here, only target image information needs to be detected, and based on the device identifier indicated by the target image, the association relationship between the device indicated by the device identifier and the installation area of the device is established, so that the target link is determined. Therefore, a professional debugging person is not needed to participate, an installer only needs to use the terminal to acquire the target image information after the equipment is installed, the target link can be determined after simple operation, and communication between the terminal and the equipment is achieved. I.e. commissioning the device with the target link. Compared with the mode that at least one installer and one professional debugging personnel are required to install and debug the equipment respectively, the debugging method is high in debugging efficiency, simple to operate and low in labor cost required when the project engineering is large.
As shown in fig. 3, the method further comprises:
step 31, receiving first configuration information sent by a server; wherein the first configuration information indicates the predetermined mapping relationship.
In one embodiment, before the camera module is used for acquiring the target image information, the first configuration information sent by the server is received; wherein the target image information indicates a device identification; the first configuration information indicates the predetermined mapping relationship; the predetermined mapping relationship includes a mapping relationship among the device, an installation area of the device, and a target link.
As shown in fig. 4, the method further comprises:
step 41, if a trigger signal acting on a display control of a terminal is detected, sending second configuration information corresponding to the display control to a server by using the target link; wherein the second configuration information is to cause the device to operate based on the second configuration information.
In one embodiment, if a trigger signal acting on a scanning control of a terminal is detected, the target image is acquired by using the camera module; wherein the target image information indicates a device identification; determining a second control interface to be displayed according to the mapping relation between the equipment identifier and the second control interface; the second control interface comprises a display control for debugging the equipment; and if the trigger signal acting on the display control is detected, sending second configuration information corresponding to the display control to a server by using the target link.
In one embodiment, the server sends the second configuration information to the device; wherein the second configuration information comprises information indicating that the device switches between on and off states and information indicating a value of a predetermined operating parameter.
In an embodiment, as shown in fig. 5, the device identifier indicates that the device is an air conditioner, and the second control interface is determined to be an air conditioner control panel according to a mapping relationship between the device identifier and the second control interface; the air conditioner control panel comprises a display control for debugging the air conditioner; if the trigger signal acting on the display control is detected, sending second configuration information corresponding to the display control to a server by using the target link; wherein the second configuration information includes at least one of information indicating a switch setting, an air-conditioning mode, a temperature setting, and a wind speed setting of the air conditioner.
In one embodiment, a feedback parameter of the air conditioner after operation based on the second configuration information is obtained; the feedback parameters comprise at least one of the switch state, the air-conditioning mode, the temperature and the wind speed when the equipment runs; and determining whether the equipment is debugged successfully or not based on the feedback parameters of the air conditioner.
In one embodiment, referring again to fig. 5, the air conditioning mode includes: cooling, heating and ventilating. The temperature setting may be selected within a predetermined temperature range, for example, within 16 ℃ to 30 ℃. The wind speed setting comprises setting the wind speed of the air conditioner to be low wind, medium wind and high wind, wherein the low wind indicates that the wind speed of the air conditioner is lower than a first preset value; the wind stroke indicates that the wind speed of the air conditioner is higher than a first preset value and less than a second preset value; the high wind indicates that the wind speed of the air conditioner is higher than the second predetermined value.
In one embodiment, second configuration information is sent to the server side according to a preset incidence relation; the preset association relationship is an association relationship between a preset installation area and at least two pieces of equipment respectively, wherein the preset association relationship is established in advance; the second configuration information is used for enabling the at least two devices to operate based on the second configuration information; the second configuration information includes at least one of information indicating that the at least two devices are directly switched in the on-off state and information indicating a value of a predetermined operating parameter.
Illustratively, installation area A and device A are pre-established1A predetermined association relationship 1 therebetween; pre-established installation area A and equipment B1A predetermined association relation 2 therebetween; sending second configuration information to the server side based on the preset association relation 1 and the preset association relation 2; wherein the second configuration information is used for the device A1And said apparatus B1Operating based on the second configuration information.
For example, the device a and the device B are air conditioners, and send second configuration information to the server based on a predetermined association relationship and a predetermined association relationship B corresponding to the two air conditioners; wherein the second configuration information may include: the control system comprises two pieces of switch setting information for indicating the two air conditioners to be started, temperature setting information for indicating the two air conditioners to adjust the temperature to 20 ℃, and mode setting information for indicating the two air conditioners to be in a refrigeration mode.
In one embodiment, the device may be a computer, a cash register, a fan heater, a projection device, a humidifier, or the like; and setting a second control interface corresponding to the equipment based on the function requirement of the equipment.
As shown in fig. 6, the method further comprises:
step 61, obtaining the feedback parameters of the equipment sent by the server side by using the target link;
and step 62, determining whether the equipment is successfully debugged according to the relation between the value of the feedback parameter and a preset range.
In one embodiment, the target link is used for acquiring the feedback parameters of the equipment sent by the server after a preset time; determining whether the equipment is successfully debugged according to the relation between the value of the feedback parameter and a preset range; and determining the preset range based on the preset working expected value of the equipment after the preset time.
In one embodiment, if the predetermined expected operating value is greater than a first value, the end value at one end of the preset range is greater than a first predetermined value; if the preset work expected value is smaller than a second value, the end value of the other end of the preset range is smaller than a second preset value; wherein the first predetermined value and the second predetermined value are determined according to a predetermined relation table between a predetermined work expected value and the predetermined values.
For example, please refer to table three, which shows the predetermined relationship between the predetermined operation expected value and the predetermined value of the air conditioner in the case that the device is an air conditioner and the air conditioner performs cooling debugging.
Watch III
Predetermined job expectation Predetermined time First value Second value First predetermined value Second predetermined value
21℃ 60s 20℃ 22℃ 20.5℃ 21.5℃
23℃ 60s 22℃ 24℃ 22.5℃ 23.5℃
25℃ 60s 24℃ 26℃ 24.5℃ 25.5℃
Illustratively, the first predetermined value and the second predetermined value are values different from the expected operation value by a predetermined value. For example, the predetermined value of the phase difference may be 0.5 ℃.
In one embodiment, the device is an air conditioner; the air conditioner is provided with a temperature sensor; the feedback parameters of the air conditioner include: a temperature value detected by the temperature sensor.
When the device runs based on the second configuration information, there is a case that the time for completing the debugging is too long. For example, the second configuration information includes setting information indicating that the cooling temperature of the air conditioner is set to 20 ℃, and the time for achieving the cooling temperature to 20 ℃ is long when the air conditioner operates based on the second configuration information. Assuming that the time from the start of the operation of the air conditioner to the time when the temperature value detected by the temperature sensor reaches 20 ℃ is 3 minutes, a debugging worker needs to send out the second configuration information for 3 minutes and then acquire the feedback parameters of the equipment, so as to determine whether the air conditioner is successfully debugged, and the debugging efficiency is low.
In the embodiment of the disclosure, the feedback parameters of the device sent by the server are acquired after the preset time; and determining a debugging result according to the relation between the value of the feedback parameter and a preset range, wherein the preset range is determined based on the working expected value of the equipment after the preset time. For example, the apparatus operates based on the received second configuration information, which includes setting information indicating that the cooling temperature of the apparatus is set to 20 ℃. At this time, the preset expected work value of the device is as follows: if the temperature value detected by the temperature sensor is 23 ℃ within the predetermined time, the preset range may be a value different from the temperature of 23 ℃ by a predetermined value, for example, the preset range may be a range between 22.5 ℃ and 23.5 ℃. Wherein the predetermined time may be 1 minute. Therefore, the time for waiting for the debugging result is shortened, and the debugging efficiency is high.
In another embodiment, the target link is used for acquiring a change value of a feedback parameter of the equipment sent by a server within a preset time; and determining whether the equipment is successfully debugged according to the relation between the change value and a preset range. Wherein the preset range is determined based on a predetermined expected operating value of the device.
For example, the equipment operates based on the received second configuration information, which includes setting information indicating that the cooling temperature of the equipment is set to 20 ℃, and the temperature value of the room temperature detected by the temperature sensor is 30 ℃. At this time, the preset expected work value of the device is as follows: the preset range may be a value different from the variation value by a predetermined value such that the variation value of the room temperature is 5 ℃ for a predetermined time. For example, the preset range may be a range between 4.5 degrees celsius and 5.5 degrees celsius. Wherein the predetermined time may be 1 minute.
In this way, it is only necessary to determine the relationship between the variation value of the feedback parameter of the device within the predetermined time and the preset range, so as to determine whether the working performance of the device meets the predetermined working expected value of the device, and thus determine the debugging result. Therefore, the time for waiting for the debugging result is shortened, and the debugging efficiency is high.
In one embodiment, as shown in FIG. 7: step 71, if the value of the feedback parameter is within the preset range, determining that the equipment is successfully debugged; step 72, or if the value of the feedback parameter is outside the preset range, determining that the device fails to be debugged.
In one embodiment, if the variation value of the feedback parameter of the device within the predetermined time is within the preset range, it is determined that the device is successfully debugged; or if the variation value of the feedback parameter is out of the preset range, determining that the equipment fails to be debugged.
As shown in fig. 8, the method includes:
step 81, determining whether the information transmission between the terminal and the equipment is abnormal according to the query result of the historical data of the equipment queried by the target link.
In one embodiment, the historical data is historical operating data of the device.
In one embodiment, if a trigger signal acting on a scanning control of a terminal is detected, the target image is acquired by using the camera module; wherein the target image information indicates a device identification; determining a second control interface to be displayed according to the mapping relation between the equipment identifier and the second control interface; the second control interface comprises a query control for querying the historical data; and if the trigger signal acting on the query control is detected, querying the historical data of the equipment.
Illustratively, as shown in fig. 9, the apparatus is an air conditioner, and the historical data indicates historical operation data of the air conditioner, including: the state of an air conditioner switch, equipment ID, air conditioner mode, air conditioner wind speed, air conditioner temperature and total electric quantity.
In one embodiment, as shown in FIG. 10: step 101, if the query result indicates that the historical data of the device can be queried, determining that information transmission between the terminal and the device is normal; step 102, or if the query result indicates that the historical data of the device is not queried, determining that information transmission between the terminal and the device is abnormal.
Therefore, whether the information transmission between the terminal and the equipment is normal or not is determined by determining whether the equipment has the reported historical data or not and inquiring the inquiry result of the historical data by the terminal through the server side.
In one embodiment, as shown in fig. 11, the method includes:
step 111, generating a two-dimensional code when the equipment manufacturer produces the equipment and pasting the two-dimensional code on the equipment; the two-dimensional code comprises a device identification of the device; if the user purchases the equipment, registering the equipment at the service end;
step 112, distributing the equipment to corresponding projects on the Internet of things platform, generating corresponding administrator accounts, and establishing installer accounts;
step 113, importing a project space of the equipment into a terminal according to the information of the installation area of the design scheme of the project; wherein the project space indicates information of the installation area;
step 114, an installer installs the equipment;
115, triggering a first scanning control by an installer, scanning the two-dimensional code by using the camera module, and popping up a first control interface; if a trigger signal of a display control acting on the first control interface is detected, establishing an association relation between the equipment and an installation area of the equipment;
116, triggering a second scanning control by an installer, scanning the two-dimensional code by using the camera module, and popping up a second control interface; if a trigger signal of a display control acting on the first control interface is detected, sending second configuration information corresponding to the display control to a server; the second configuration information is used for determining whether historical data of the equipment can be inquired and whether the equipment can be operated successfully based on the second configuration information;
117, performing spot check test on the equipment by professional debugging personnel, and solving the problem equipment;
and step 118, after all the devices are delivered and installed, deleting the installer account corresponding to the item at the terminal.
Therefore, the two-dimension code label is pasted on the equipment, the process of equipment information configuration is simplified, installation personnel can directly realize the binding of the equipment and a real space address through a terminal, and the installation efficiency is improved; moreover, the debugging personnel can use the terminal to carry out simple equipment debugging by using a debugging personnel only through simple guidance, and the professional debugging personnel only need to debug the equipment with problems, so that the equipment debugging efficiency is high.
As shown in fig. 12, an embodiment of the present disclosure provides a method for debugging a device, which is applied to a server, and the method includes:
step 121, sending a predetermined mapping relation to the terminal; the predetermined mapping relation comprises a mapping relation among equipment, an installation area and a target link, and the predetermined mapping relation enables the terminal to determine the target link for debugging the equipment based on the predetermined mapping relation.
In one embodiment, the server may be a cloud platform that manages the device.
In one embodiment, information such as equipment identification, product model, name and communication key of the equipment is determined; wherein the information is used to complete registration authentication of the device.
In one embodiment, a target project space for the device in a device library is determined; the device library is a set of all registered and authenticated devices.
In one embodiment, information of the device assigned to the target project space is determined, the information comprising: the number of devices, information of areas to be installed, fault conditions, and the like.
In one embodiment, the internet of things coding is carried out on the equipment in the same project according to the equipment identification and the space position information of the equipment; the spatial position information comprises to-be-installed area information of the equipment and geographical area information of the equipment to be installed.
In one embodiment, a plurality of devices may be within an installation area, an item has a plurality of the installation areas, and the geographic area information of the devices may include: the specific geographic addresses of cities, streets, house numbers and the like to be installed by the equipment.
Exemplarily, coding is performed in a coding information domain corresponding to the device according to the device identifier and spatial position information where the device is located; wherein the encoded information field includes: the device comprises an equipment identification information domain, an installation area information domain and a geographic area information domain.
For equipment in the same project, inputting the same geographic area information in an equipment geographic area information domain corresponding to the equipment; inputting the same installation area information into the installation area information domain corresponding to the equipment for the equipment with the same installation area; and inputting the equipment identification of the equipment in an equipment identification information field corresponding to the equipment.
For example, the project is to install an air conditioner in dormitory 1 of the university of industry in Henan; the geographical area information corresponding to the project can be Henan Zheng state lotus street; therefore, when encoding is performed in the encoding information domain corresponding to the device of the same item, the geographical area information domain may be input in a unified manner: zhengzhou lotus street in Henan province. If the installation areas of the device a and the device B are both the installation area C, when encoding is performed in the encoding information domain corresponding to the devices in the same installation area, the installation area information domain may be uniformly input: 1, 13 stories in a Henan university dormitory; wherein, the installation area C is 1-13 stories in the dormitory of the industrial university in Henan province.
In this way, each device has a uniquely determined internet of things device code by performing uniform internet of things coding on the devices under the same project. Under the conditions of numerous projects, complex installation areas and large equipment quantity, the geographical position, the installation area and the corresponding project information of the equipment can be determined through the equipment codes of the Internet of things, the geographical position of the equipment is convenient to determine, and the management efficiency of the equipment is high.
In one embodiment, image information is generated based on the encoding information indicated by the encoding information field; sending the image information to a device; the image information at least comprises equipment identification and installation area information of the equipment.
In one embodiment, an image is included on a device; the image is determined based on image information generated by a server; the image information at least comprises equipment identification and installation area information of the equipment. For example, the image may be an identification code drawing including the device identification and installation area information of the device.
In one embodiment, please refer to table four, which shows a predetermined mapping relationship among the device, the installation area, and the target link in a certain project space.
Watch four
Mounting area Device Target link
Region A Device A1 Link 1
Region A Device B1 Link 2
Region A Device C1 Link 3
Region B Device A2 Link 4
Region B Device B2 Link 5
Region B Device C2 Link 6
In one embodiment, the determining, by the terminal, the target link according to the predetermined mapping relationship sent by the server includes: terminal establishing apparatus A1The association relation with the area A; the target link interval corresponding to the area a includes a link 1, a link 2, and a link 3. Due to the equipment A1Link 1 in the interval with the target linkAnd a mapping relation exists, so that the target link is determined to be the link 1. In the comparison process, the terminal can determine the equipment A according to the preset mapping relation only by comparing for 3 times1The corresponding target link is link 1.
Therefore, the terminal determines the target link according to the predetermined mapping relation sent by the server, and because the number of the target links corresponding to the determined installation area is small, the association relation is established between the equipment indicated by the equipment identifier and the installation area of the equipment, and then the target link corresponding to the equipment is determined according to the mapping relation between the installation area and the target link, so that the process of selecting the target link is simplified into the process of determining the target link interval according to the installation area corresponding to the equipment. Compared with the process of comparing whether the identifier of the device is the device identifier one by one, so as to determine the target link, in the embodiment of the disclosure, the terminal determines the target link interval and then selects the target link corresponding to the device in the target link interval, so that the comparison time is shortened, and the selection efficiency is high.
As shown in fig. 13, the method further includes:
step 131, receiving second configuration information sent by the terminal, where the second configuration information is used to enable the device to operate based on the second configuration information;
step 132, sending the second configuration information to the device.
In one embodiment, the server sends the second configuration information to the device; wherein the second configuration information comprises information indicating that the device switches between on and off states and information indicating a value of a predetermined operating parameter.
In one embodiment, the device identifier indicates that the device is an air conditioner, and the second configuration information includes: information indicating a switch setting, an air conditioning mode, a temperature setting, and a wind speed setting of the air conditioner.
In one embodiment, the air-conditioning mode includes: cooling, heating and ventilating. The temperature setting may be selected within a predetermined temperature range, for example, within 16 ℃ to 30 ℃. The wind speed setting comprises setting the wind speed of the air conditioner to be low wind, medium wind and high wind, wherein the low wind indicates that the wind speed of the air conditioner is lower than a first preset value; the wind stroke indicates that the wind speed of the air conditioner is higher than a first preset value and less than a second preset value; the high wind indicates that the wind speed of the air conditioner is higher than the second predetermined value.
In one embodiment, the device may be a computer, a cash register, a fan heater, a projection device, a humidifier, or the like.
As shown in fig. 14, the method further comprises:
step 141, receiving the feedback parameter after the device is debugged; wherein the feedback parameter indicates an operational state of the device;
and 142, sending the feedback parameters of the equipment to the terminal.
In one embodiment, the feedback parameters sent by the device are received after a predetermined time; wherein the information indicated by the feedback parameter may include: data detected by sensors on the device, power consumption of the device, and on-off state of the device.
In one embodiment, the change value of the feedback parameter of the equipment within a preset time is obtained; wherein the change value of the feedback parameter is indicative of an operational state of the device.
For example, the equipment operates based on the received second configuration information, which includes setting information indicating that the cooling temperature of the equipment is set to 20 ℃, and the temperature value of the room temperature detected by the temperature sensor is 30 ℃. Illustratively, the preset expected operating value of the device is: the change value of the room temperature is made to be 5 ℃ for a predetermined time, for example, the predetermined time may be 1 minute.
In one embodiment, the change value of the feedback parameter of the equipment within 1 minute is obtained; wherein the change value indicates at least: a change value of a temperature value detected by the temperature sensor within 1 minute; and sending the change value to a terminal.
In this way, the terminal can determine whether the operating performance of the device satisfies the predetermined operating expectation value of the device based on the relationship between the variation value and a preset range, for example, whether the variation value of the changed room temperature of the device within 1 minute is within the preset range, so as to determine the debugging result, wherein the preset range may be a range different from the predetermined operating expectation value by a predetermined value of 5 ℃. Therefore, the debugging time is adaptive to the preset time, the time length for waiting for the debugging result is shortened, and the debugging efficiency is high; and the debugging result is adapted to the preset work expected value, and the debugging accuracy is high.
As shown in fig. 15, the method further includes:
step 151, sending the history data of the equipment to the terminal; wherein the historical data comprises historical operating data of the device.
In one embodiment, the historical data is historical operating data of the device.
Exemplarily, as shown in fig. 9, the device is an air conditioner, and history data of the device is sent to the terminal; wherein the historical data includes historical operating data of the air conditioner. For example, the state of an air conditioner switch, a device ID, an air conditioning mode, an air conditioning wind speed, an air conditioning temperature, and a total amount of power.
Therefore, the terminal determines whether the historical data is reported by the equipment or not by inquiring the inquiry result of the historical data, so as to determine whether the information transmission between the terminal and the equipment is normal or not.
As shown in fig. 16, an embodiment of the present disclosure provides an apparatus for debugging a device, where the apparatus includes:
a detection module 161 configured to: acquiring target image information by using a camera module, wherein the target image information indicates an equipment identifier;
an execution module 162 to: establishing an association relation between the equipment indicated by the equipment identification and the installation area of the equipment;
a determining module 163 for: determining a target link based on the incidence relation and a predetermined mapping relation; wherein the predetermined mapping relationship comprises a mapping relationship between the device, the installation area, and the target link;
a first transmission module 164 configured to debug the device using the target link.
In one embodiment, the first transmission module 164 is further configured to:
receiving first configuration information sent by a server; wherein the first configuration information indicates the predetermined mapping relationship.
In one embodiment, the first transmission module 164 is further configured to:
if a trigger signal acting on a display control of the terminal is detected, sending second configuration information corresponding to the display control to a server side by using the target link; wherein the second configuration information is to cause the device to operate based on the second configuration information.
In one embodiment, the first transmission module 164 is further configured to: acquiring a feedback parameter of the equipment sent by a server by using the target link;
the determining module 163 is further configured to: and determining whether the equipment is successfully debugged according to the relation between the value of the feedback parameter and a preset range.
In one embodiment, the determining module 163 is further configured to:
if the value of the feedback parameter is within a preset range, determining that the equipment is successfully debugged;
alternatively, the first and second electrodes may be,
and if the value of the feedback parameter is out of the preset range, determining that the equipment fails to be debugged.
In one embodiment, the first transmission module 164 is further configured to:
and determining whether the information transmission between the terminal and the equipment is abnormal or not according to the query result of querying the historical data of the equipment by using the target link.
In one embodiment, the first transmission module is further configured to:
if the query result indicates that the historical data of the equipment can be queried, determining that the information transmission between the terminal and the equipment is normal;
alternatively, the first and second liquid crystal display panels may be,
and if the query result indicates that the historical data of the equipment is not queried, determining that the information transmission between the terminal and the equipment is abnormal.
As shown in fig. 17, an embodiment of the present disclosure provides an apparatus for debugging a device, where the apparatus includes:
a second transmission module 171, configured to: sending a predetermined mapping relation to the terminal; the predetermined mapping relation comprises a mapping relation among equipment, an installation area and a target link, and the predetermined mapping relation enables the terminal to determine the target link for debugging the equipment based on the predetermined mapping relation.
In one embodiment, the second transmission module 171 is further configured to:
receiving second configuration information sent by the terminal, wherein the second configuration information is used for enabling the equipment to operate based on the second configuration information;
and sending the second configuration information to the equipment.
In one embodiment, the second transmission module 171 is further configured to:
receiving feedback parameters after the equipment is debugged; wherein the feedback parameter indicates an operational state of the device;
and sending the feedback parameters of the equipment to the terminal.
In one embodiment, the second transmission module 171 is further configured to:
sending the historical data of the equipment to the terminal; wherein the historical data comprises historical operating data of the device.
The disclosed embodiment provides a processing device, which comprises:
a memory for storing an executable program;
a processor for implementing the method according to any of the embodiments of the present disclosure when executing the executable program stored in the memory.
It will be appreciated that the memory can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memories described in the embodiments of the present application are intended to comprise, without being limited to, these and any other suitable types of memory.
The method for debugging the device disclosed by the invention can be applied to the processor or realized by the processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the method of debugging a device may be performed by instructions in the form of integrated logic circuits of hardware or software in a processor. The Processor may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. The processor may implement or perform the methods, steps, and logic blocks disclosed in this disclosure. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the invention can be directly implemented by a hardware decoding processor or implemented by combining hardware and software modules in the decoding processor. The software module may be located in a storage medium, where the storage medium is located in a memory, and a processor reads information in the memory and completes, in combination with hardware of the processor, the steps of the method for debugging a device provided in the embodiments of the present application.
The invention also provides a computer storage medium storing an executable program which, when executed by a processor, implements a method of debugging a device as in any of the embodiments of the present disclosure. In particular, a computer readable storage medium may be mentioned, for example, comprising a memory storing a computer program, which is executable by a processor of a processing device to perform the steps of the method according to an embodiment of the present application. The computer readable storage medium may be a ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM, among others.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present invention, and shall cover the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (22)

1. A method for debugging equipment is applied to a terminal, and is characterized in that the method comprises the following steps:
acquiring target image information by using a camera module, wherein the target image information indicates an equipment identifier;
determining an installation area where the equipment indicated by the equipment identification is located;
determining a target link interval based on the installation area and a predetermined mapping relation; wherein the target link interval comprises at least one target link; the predetermined mapping relationship comprises a mapping relationship between the device, the installation area, and the target link;
debugging equipment with a mapping relation with the installation area by using the determined target link in the target link interval;
acquiring a feedback parameter of the equipment sent by a server side after a preset time by using the target link; determining whether the equipment is successfully debugged according to the relation between the value of the feedback parameter and a preset range; and determining the preset range based on a preset work expected value of the equipment after the preset time.
2. The method of claim 1, further comprising:
receiving first configuration information sent by a server; wherein the first configuration information indicates the predetermined mapping relationship.
3. The method of claim 1, further comprising:
if a trigger signal acting on a display control of the terminal is detected, sending second configuration information corresponding to the display control to a server side by using the target link; wherein the second configuration information is used to cause the device to operate based on the second configuration information.
4. The method according to claim 3, wherein the determining whether the device is successfully debugged according to the relationship between the value of the feedback parameter and a preset range comprises:
if the value of the feedback parameter is within the preset range, determining that the equipment is successfully debugged;
alternatively, the first and second electrodes may be,
and if the value of the feedback parameter is out of the preset range, determining that the equipment fails to be debugged.
5. The method of claim 1, wherein the commissioning the device with the target link comprises:
and determining whether the information transmission between the terminal and the equipment is abnormal or not according to the query result of the historical data of the equipment queried by using the target link.
6. The method according to claim 5, wherein the determining whether there is an abnormality in information transmission between the terminal and the device according to the query result of querying the history data of the device by using the target link comprises:
if the query result indicates that the historical data of the equipment can be queried, determining that the information transmission between the terminal and the equipment is normal;
alternatively, the first and second liquid crystal display panels may be,
and if the query result indicates that the historical data of the equipment is not queried, determining that the information transmission between the terminal and the equipment is abnormal.
7. A method for debugging equipment is applied to a server side, and is characterized in that the method comprises the following steps:
sending a predetermined mapping relation to the terminal; the predetermined mapping relation comprises a mapping relation among equipment, an installation area and a target link, and the predetermined mapping relation enables the terminal to determine a target link interval based on the installation area of the equipment and the predetermined mapping relation; the target link interval comprises a target link of a device which can be debugged and has a mapping relation with the installation area;
sending the feedback parameters of the debugged equipment to the terminal after a preset time; wherein the feedback parameters are used to cause the terminal to: determining whether the equipment is successfully debugged according to the relation between the value of the feedback parameter and a preset range; and determining the preset range based on a preset work expected value of the equipment after the preset time.
8. The method of claim 7, wherein the method comprises:
receiving second configuration information sent by the terminal, wherein the second configuration information is used for enabling the equipment to operate based on the second configuration information;
and sending the second configuration information to the equipment.
9. The method of claim 7, wherein the sending the feedback parameters of the debugged device to the terminal comprises:
receiving feedback parameters after the equipment is debugged; wherein the feedback parameter indicates an operational state of the device; and sending the feedback parameters of the equipment to the terminal.
10. The method of claim 7, wherein the method further comprises:
sending the historical data of the equipment to the terminal; wherein the historical data comprises historical operating data of the device.
11. An apparatus for commissioning a device, the apparatus comprising:
a detection module to: acquiring target image information by using a camera module, wherein the target image information indicates an equipment identifier;
a determination module to: determining an installation area where the equipment indicated by the equipment identification is located;
determining a target link interval based on the installation area and a predetermined mapping relation; wherein the target link interval comprises at least one target link; the predetermined mapping relationship comprises a mapping relationship between the device, the installation area, and the target link;
the first transmission module is used for debugging equipment with a mapping relation with the installation area by using the determined target link in the target link interval;
the first transmission module is further configured to: acquiring a feedback parameter of the equipment sent by a server side after a preset time by using the target link;
a determination module to: determining whether the equipment is successfully debugged according to the relation between the value of the feedback parameter and a preset range; and determining the preset range based on a preset work expected value of the equipment after the preset time.
12. The apparatus of claim 11, wherein the first transmission module is further configured to:
receiving first configuration information sent by a server; wherein the first configuration information indicates the predetermined mapping relationship.
13. The apparatus of claim 11, wherein the first transmission module is further configured to:
if a trigger signal acting on a display control of the terminal is detected, sending second configuration information corresponding to the display control to a server by using the target link; wherein the second configuration information is used to cause the device to operate based on the second configuration information.
14. The apparatus of claim 13, wherein the determining module is further configured to:
if the value of the feedback parameter is within the preset range, determining that the equipment is successfully debugged;
alternatively, the first and second electrodes may be,
and if the value of the feedback parameter is out of the preset range, determining that the equipment fails to be debugged.
15. The apparatus of claim 11, wherein the first transmission module is further configured to:
and determining whether the information transmission between the terminal and the equipment is abnormal or not according to the query result of querying the historical data of the equipment by using the target link.
16. The apparatus of claim 15, wherein the first transmission module is further configured to:
if the query result indicates that the historical data of the equipment can be queried, determining that the information transmission between the terminal and the equipment is normal;
alternatively, the first and second electrodes may be,
and if the query result indicates that the historical data of the equipment is not queried, determining that the information transmission between the terminal and the equipment is abnormal.
17. An apparatus for commissioning a device, the apparatus comprising:
a second transmission module to: sending a predetermined mapping relation to the terminal; the preset mapping relation comprises a mapping relation among equipment, an installation area and a target link, and the preset mapping relation enables the terminal to be based on the installation area of the equipment and the target link interval of the preset mapping relation; the target link interval comprises a target link of a device which can be debugged and has a mapping relation with the installation area;
the second transmission module is further configured to send the feedback parameter of the debugged device to the terminal after a predetermined time; wherein the feedback parameters are used to cause the terminal to: determining whether the equipment is successfully debugged according to the relation between the value of the feedback parameter and a preset range; and determining the preset range based on a preset work expected value of the equipment after the preset time.
18. The apparatus of claim 17, wherein the second transmission module is further configured to:
receiving second configuration information sent by the terminal, wherein the second configuration information is used for enabling the equipment to operate based on the second configuration information;
and sending the second configuration information to the equipment.
19. The apparatus of claim 17, wherein the second transmission module is further configured to:
receiving feedback parameters after the equipment is debugged; wherein the feedback parameter indicates an operational state of the device;
and sending the feedback parameters of the equipment to the terminal.
20. The apparatus of claim 18, wherein the second transmission module is further configured to:
sending the historical data of the equipment to the terminal; wherein the historical data comprises historical operating data of the device.
21. A processing device, characterized in that the processing device comprises:
a memory for storing an executable program;
a processor for implementing the method of any one of claims 1 to 6 or 7 to 10 when executing the executable program stored in the memory.
22. A computer storage medium, characterized in that it stores an executable program which, when executed by a processor, implements the method of any one of claims 1 to 6 or 7 to 10.
CN202210132744.3A 2022-02-14 2022-02-14 Method and device for debugging equipment, processing equipment and computer storage medium Active CN114168400B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210132744.3A CN114168400B (en) 2022-02-14 2022-02-14 Method and device for debugging equipment, processing equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210132744.3A CN114168400B (en) 2022-02-14 2022-02-14 Method and device for debugging equipment, processing equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN114168400A CN114168400A (en) 2022-03-11
CN114168400B true CN114168400B (en) 2022-07-22

Family

ID=80489878

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210132744.3A Active CN114168400B (en) 2022-02-14 2022-02-14 Method and device for debugging equipment, processing equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN114168400B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106407118A (en) * 2016-09-27 2017-02-15 珠海市魅族科技有限公司 Method and device for testing user terminal
CN110858175A (en) * 2018-08-24 2020-03-03 优视科技有限公司 Test control method, master control equipment, controlled equipment and test system
CN113138562A (en) * 2021-06-22 2021-07-20 武汉慧联无限科技有限公司 Terminal control system and terminal control method based on Internet of things

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8954933B2 (en) * 2011-05-31 2015-02-10 International Business Machines Corporation Interactive semi-automatic test case maintenance
CN110413329A (en) * 2019-07-29 2019-11-05 北京安云世纪科技有限公司 IOT equipment remote debugging method, apparatus and system
CN112187869A (en) * 2020-09-03 2021-01-05 京东数字科技控股股份有限公司 Remote debugging system and method of IOT device, electronic device and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106407118A (en) * 2016-09-27 2017-02-15 珠海市魅族科技有限公司 Method and device for testing user terminal
CN110858175A (en) * 2018-08-24 2020-03-03 优视科技有限公司 Test control method, master control equipment, controlled equipment and test system
CN113138562A (en) * 2021-06-22 2021-07-20 武汉慧联无限科技有限公司 Terminal control system and terminal control method based on Internet of things

Also Published As

Publication number Publication date
CN114168400A (en) 2022-03-11

Similar Documents

Publication Publication Date Title
CN110057033B (en) Air conditioning system and computer readable storage medium
CN106648669B (en) Product equipment remote firmware upgrading method and system
WO2010013630A1 (en) Remote management device and remote management system
JP6323786B2 (en) Server, control method and program
US11019152B2 (en) Equipment installation support system
CN108958784B (en) Software upgrading control method, household appliance, server, device and medium
CN114168400B (en) Method and device for debugging equipment, processing equipment and computer storage medium
US11499736B2 (en) HVAC equipment settings
US10001430B2 (en) Environmental conditioning unit testing
KR101845396B1 (en) IoT extended build-up system based on BAS network
JP2015124901A (en) Air conditioning system
US20220217009A1 (en) Device management system
WO2020255272A1 (en) Electronic apparatus and method
CN110445784B (en) Display method and device of operation data and energy system
CN114251790B (en) Air conditioner, method of controlling the same, and computer-readable storage medium
US20230044208A1 (en) Air conditioning system and method
US11566806B2 (en) Humidity analytics
AU2020200205B2 (en) Interfaces for resolving maintenance activities
JP2019007632A (en) Air conditioner control server
CN112781070B (en) Method for adjusting parameters of gas equipment and mobile terminal
CN111964222A (en) Air conditioner control method and device, equipment and storage medium
US11438190B2 (en) Remote management apparatus and remote management system
TWI643042B (en) Environmental simulation system, control unit and control method thereof
CN114963444B (en) Air outlet control method, device, terminal and system of air conditioner
WO2020040125A1 (en) Air conditioner system, air conditioner system control method, and air conditioner system control program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Methods, devices, processing equipment, and computer storage media for debugging equipment

Granted publication date: 20220722

Pledgee: CITIC Bank Limited by Share Ltd. Wuhan branch

Pledgor: WUHAN EASYLINKIN TECHNOLOGY CO.,LTD

Registration number: Y2024980000365

PE01 Entry into force of the registration of the contract for pledge of patent right