CN109548045A - Apparatus debugging method, device, system and storage medium - Google Patents
Apparatus debugging method, device, system and storage medium Download PDFInfo
- Publication number
- CN109548045A CN109548045A CN201811345108.9A CN201811345108A CN109548045A CN 109548045 A CN109548045 A CN 109548045A CN 201811345108 A CN201811345108 A CN 201811345108A CN 109548045 A CN109548045 A CN 109548045A
- Authority
- CN
- China
- Prior art keywords
- equipment
- wireless network
- debugged
- debugging
- matching rule
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000004891 communication Methods 0.000 claims abstract description 31
- 238000012360 testing method Methods 0.000 claims abstract description 16
- 238000004590 computer program Methods 0.000 claims description 21
- 235000013399 edible fruits Nutrition 0.000 claims description 2
- 230000008569 process Effects 0.000 abstract description 8
- 230000005540 biological transmission Effects 0.000 abstract description 7
- 230000006870 function Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 5
- 230000001174 ascending effect Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000004378 air conditioning Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W74/00—Wireless channel access
- H04W74/04—Scheduled access
- H04W74/06—Scheduled access using polling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Debugging And Monitoring (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a kind of apparatus debugging method, device, system and storage mediums, this method comprises: scanning wireless network, and obtain the identification information of current attachable wireless network;According to preset matching rule, the identification information of acquisition is identified, obtains the corresponding wireless network of equipment to be debugged for meeting matching rule;Wherein, the corresponding wireless network of equipment to be debugged is the hotspot for using wireless communication module to set up by equipment to be debugged;Connection is polled to the wireless network for meeting matching rule, and sends debugging instruction to the corresponding equipment to be debugged of wireless network for meeting matching rule, so that the equipment to be debugged carries out commissioning test according to the debugging instruction.Client and equipment are without connecting internet, data transmission bauds and debugging efficiency can be effectively improved, entire debugging process is participated in without artificial simultaneously, realizes the automated communications connection and automatic debugging of client and commissioning device, the high degree of automation of equipment debugging.
Description
Technical field
The present invention relates to equipment debugging technical fields, and in particular to a kind of apparatus debugging method, device, system and storage are situated between
Matter.
Background technique
In the prior art, the debugging of household appliance is generally first communicatively coupled using Signal Transparent Transmission Technology, as shown in Figure 1, i.e.
Wireless network or the shifting of internet are connected to by the radio function that the APP client of equipment and user passes through itself first
Dynamic data network, has been established the connection of APP client and equipment;APP client is issued debugging instruction by internet later
Cloud;Cloud is transmitted to equipment after receiving the debugging instruction of APP client;Equipment receives the debugging instruction that APP client is sent
Afterwards, it is run according to debugging instruction, and sends cloud for operation result;Cloud receive equipment upload operation result after again
It is transmitted to APP client, to realize debugging of the APP client to equipment;And entirely leads to debugging process and have to specifically
It is just able to achieve under the internet of connection, data transmission bauds is slow, and time-consuming, complex procedures, low efficiency and it is necessary to by artificial
Operation is sequentially ingressed into internet to individual device one by one, and the degree of automation is low.
Summary of the invention
Technical problem solved by the invention is to provide for a kind of apparatus debugging method, device, system and storage medium,
Be able to achieve the automated communications connection and automatic debugging of client and commissioning device, and effectively improve data transmission bauds and
Debugging efficiency.
Above-mentioned technical problem is solved by the following technical programs:
A kind of apparatus debugging method, comprising:
Wireless network is scanned, and obtains the identification information of current attachable wireless network;
According to preset matching rule, the identification information of acquisition is identified, obtain meeting the matching rule and with
The corresponding wireless network of equipment to be debugged;Wherein, the corresponding wireless network of equipment to be debugged is used by the equipment to be debugged
The hotspot that wireless communication module is set up;
Connection is polled to the wireless network for meeting the matching rule, and to meet the wireless of the matching rule
The corresponding equipment to be debugged of network sends debugging instruction, so that the equipment to be debugged is debugged according to the debugging instruction
Operation.
Apparatus debugging method of the present invention, it is generated compared with the background art the utility model has the advantages that client passes through in advance
If matching rule match cognization is carried out to Current Scan to attachable wireless network, set up to search out equipment to be debugged
Wireless network, client is polled with the wireless network for searching equipment to be debugged and connect, and to currently connecting wait adjust
It tries equipment and sends corresponding debugging instruction to debug to the equipment to be debugged, realized between client and equipment to be debugged
Point-to-point connection type can effectively improve data transmission bauds and debugging efficiency, while whole without connecting internet
A debugging process is participated in without artificial, realizes the automated communications connection and automatic debugging of client and commissioning device, equipment tune
The high degree of automation of examination, it is more convenient to debug.
The matching rule is that the identification information of wireless network is with preset characteristic character in one of the embodiments,
Beginning.
It is described according to preset matching rule in one of the embodiments, the identification information of acquisition is identified, is obtained
To meeting the matching rule and wireless network corresponding with equipment to be debugged, comprising the following steps:
According to preset matching rule, searches for from the identification information of acquisition and believed with the mark that the characteristic character is beginning
Breath, obtains the wireless network for meeting the matching rule;
Wherein, the identification information of the wireless network of the equipment to be debugged is the equipment type according to the equipment to be debugged
Number, equipment unique identifier and preset characteristic character generate be the character string started with the characteristic character.
The equipment unique identifier is that the equipment to be debugged is drawn using JavaScript in one of the embodiments,
Hold up the current time stamp of generation.
The described pair of wireless network for meeting the matching rule is polled connection in one of the embodiments, and to
Equipment to be debugged corresponding with the wireless network for meeting the matching rule sends debugging instruction, so that the equipment to be debugged
Commissioning test is carried out according to the debugging instruction, specifically includes the following steps:
The wireless network of the matching rule will be met according to equipment exclusive identification code in its corresponding identification information by pre-
If ordering rule be ranked up;
Connection is successively polled to the wireless network after sequence;
After client and the wireless network establish connection, equipment to be debugged corresponding with the wireless network is searched for
The corresponding debugging instruction of device model, and the debugging instruction searched is sent to described to be debugged set by the wireless network
It is standby, so that the equipment to be debugged carries out commissioning test according to the debugging instruction and returns to operation by the wireless network
As a result.
In one of the embodiments, the method also includes:
When receiving the operation result that equipment to be debugged returns, it is corresponding to disconnect the equipment to be debugged currently connected
Wireless network.
Above-mentioned technical problem can also be solved by the following technical programs:
A kind of equipment debugging device, comprising:
Network sweep module for scanning wireless network, and obtains the identification information of current attachable wireless network;
Information identification module, for identifying, being met to the identification information of acquisition according to preset matching rule
The matching rule and wireless network corresponding with equipment to be debugged;Wherein, wireless network corresponding with equipment to be debugged be by
The hotspot that the equipment to be debugged uses wireless communication module to set up;
Network connecting module, for being polled connection to the wireless network for meeting the matching rule, and to meet
The corresponding equipment to be debugged of the wireless network of the matching rule sends debugging instruction, so that the equipment to be debugged is according to institute
It states debugging instruction and carries out commissioning test.
Above-mentioned technical problem can also be solved by the following technical programs:
A kind of equipment debugging system, comprising: be equipped with the terminal device of client, equipment to be debugged;
The client for scanning wireless network, and obtains the identification information of current attachable wireless network;Its
In, the wireless network is the hotspot for using wireless communication module to set up by equipment to be debugged;
The client, for being identified to the identification information of acquisition, obtaining meeting institute according to preset matching rule
State matching rule and wireless network corresponding with equipment to be debugged;
The client, for being polled connection to the wireless network for meeting the matching rule, and it is described to meeting
The corresponding equipment to be debugged of the wireless network of matching rule sends debugging instruction;
The equipment to be debugged, for setting up hotspot as wireless network and according to described using wireless communication module
Debugging instruction carries out commissioning test and returns to operation result by the wireless network.
Above-mentioned technical problem can also be solved by the following technical programs:
A kind of equipment debugging device, including processor, memory and storage in the memory and be configured as by
The computer program that the processor executes, the processor realize such as above-mentioned equipment debugging when executing the computer program
Method.
Above-mentioned technical problem can also be solved by the following technical programs:
A kind of computer readable storage medium, the computer readable storage medium include the computer program of storage,
In, equipment where controlling the computer readable storage medium in computer program operation executes such as above-mentioned equipment tune
Method for testing.
Detailed description of the invention
Fig. 1 is the schematic diagram of the commissioning device communication connection of the prior art;
Fig. 2 is a kind of flow chart for apparatus debugging method that first embodiment of the invention provides;
Fig. 3 is the flow chart that poll connects in first embodiment of the invention;
Fig. 4 is a kind of schematic block diagram of equipment debugging device provided by Embodiment 2 of the present invention;
Fig. 5 is a kind of connection schematic diagram for equipment debugging system that the embodiment of the present invention three provides;
Fig. 6 is a kind of schematic block diagram for equipment debugging device that the embodiment of the present invention four provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.This hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Referring to Fig. 1, first embodiment of the invention provides a kind of apparatus debugging method, by the end for being equipped with client
End equipment executes, specifically includes the following steps:
In embodiments of the present invention, client is mounted in the application program on terminal device, and the terminal device can be
Computer, mobile phone, tablet computer, laptop or server etc. have the calculating equipment of WIFI communication module, the equipment
Adjustment method can be used as one of functional module and be integrated on the terminal device, be executed by the terminal device.Wait adjust
Examination equipment can be equipped with for air-conditioning, water heater etc. the household electrical appliance of WIFI communication module or be provided with WIFI communication module its
His electrical equipment, herein without specifically limiting.
Before client is communicatively coupled, equipment to be debugged uses wireless communication module, such as WIFI communication module to set up
Wireless network (i.e. hotspot).
S100: scanning wireless network, and obtain the identification information of current attachable wireless network;
After opening the client for being debugged to commissioning device on the terminal device, client is set automatically by terminal
Standby upper wireless communication module, such as WIFI communication module scan and obtain current attachable wireless network, and scanning is arrived
The identification informations of all wireless networks be saved in local data base.The identification information can be the title of wireless network.
S200: according to according to preset matching rule, the identification information of acquisition is identified, obtains meeting the matching
Rule and wireless network corresponding with equipment to be debugged;Wherein, wireless network corresponding with equipment to be debugged is by described wait adjust
Try the hotspot that equipment uses wireless communication module to set up;
Client identifies according to identification information of the preset matching rule to the wireless network saved in step S100,
With judgement be whether have in all wireless networks scanned can matched wireless network, if not having, communication connection terminate;If
Have, then performs the next step S300.
S300: being polled connection to the wireless network for meeting the matching rule, and to meeting the matching rule
The corresponding equipment to be debugged of wireless network sends debugging instruction, so that the equipment to be debugged is carried out according to the debugging instruction
Commissioning test.
Poll (Polling) is how a kind of CPU decision provides the mode of peripheral equipment service, also known as " program-controlled import and export "
(Programmed I/O).The concept of polling method is to be issued by CPU timing and inquire whether sequentially inquire each peripheral equipment
Its service is needed, has to give and services, next periphery is inquired again after service, then constantly in cycles.
In the present embodiment, by being polled connection to all wireless networks for meeting the matching rule, and one by one
Debugging instruction is sent to equipment to be debugged corresponding with the wireless network currently connected, so that equipment foundation to be debugged received
Debugging instruction is run, and returns to operation result, and when client receives the operation result that equipment to be debugged returns, disconnection is worked as
The wireless network of preceding connection, to complete to carry out connection debugging one by one to all equipment to be debugged.
Apparatus debugging method of the present invention, it is generated compared with the background art the utility model has the advantages that client passes through in advance
If matching rule match cognization is carried out to Current Scan to attachable wireless network, set up to search out equipment to be debugged
Wireless network, client is polled with the wireless network for searching one or more equipment to be debugged and connect, and to current
The equipment to be debugged of connection sends corresponding debugging instruction to debug to the equipment to be debugged, and client is set with to be debugged
Point-to-point connection type is realized between standby, without connecting internet, can effectively improve data transmission bauds and debugging
Efficiency, while entire debugging process is participated in without artificial realizes the automated communications connection of client and commissioning device and automatic
Debugging, the high degree of automation of equipment debugging, it is more convenient to debug.
In an alternative embodiment, the matching rule is the identification information of wireless network with preset characteristic character
For beginning.
It is in an alternative embodiment, described that the identification information of acquisition is identified according to preset matching rule,
It obtains meeting the matching rule and wireless network corresponding with equipment to be debugged, comprising the following steps:
According to preset matching rule, searches for from the identification information of acquisition and believed with the mark that the characteristic character is beginning
Breath, obtains the wireless network for meeting the matching rule;
Wherein, the identification information of the wireless network of the equipment to be debugged is the equipment type according to the equipment to be debugged
Number, equipment unique identifier and preset characteristic character generate be the character string started with the characteristic character.
In the present embodiment, it is sequentially connected to be characterized character, device model, equipment exclusive identification code for the identification information
Character string, characteristic character, device model are separated with line under or beside a word to show that it is a proper noun between equipment exclusive identification code.
In an alternative embodiment, the equipment unique identifier is that the equipment to be debugged uses JavaScript
The current time stamp that engine generates.
In the present embodiment, equipment to be debugged uses Date.parse (new Date ()) function of JavaScript engine
10 timestamps are generated, as the equipment unique identifier of itself.In other embodiments, the digit of timestamp can be less than 10
Or it is more than 10.
In an alternative embodiment, the described pair of wireless network for meeting the matching rule is polled connection, and
Debugging instruction is sent to the corresponding equipment to be debugged of wireless network for meeting the matching rule, so that the equipment to be debugged
Commissioning test is carried out according to the debugging instruction, specifically includes the following steps:
The wireless network of the matching rule will be met according to equipment exclusive identification code in its corresponding identification information by pre-
If ordering rule be ranked up;
Equipment unique identifier is the current time stamp that equipment to be debugged uses JavaScript engine to generate, preset row
Sequence rule can be descending;In other embodiments, it can also will meet the wireless network of the matching rule according to it
Equipment exclusive identification code in corresponding identification information is ranked up by ascending preset ordering rule;Or it combines
Device model in identification information is ranked up;
In addition, in other embodiments, the equipment unique identifier can be the character being preset in equipment to be debugged
String, character string by letter, number, one of symbol or a variety of can be constituted.The ordering rule of the equipment unique identifier can
It is determined with being successively compared by the ascending or descending order of letter, the ascending or descending order of number, the defined arrangement order of character
The sequence of each wireless network.
Connection is successively polled to the wireless network after sequence;
After client and the wireless network establish connection, equipment to be debugged corresponding with the wireless network is searched for
The corresponding debugging instruction of device model, and the debugging instruction searched is sent to described to be debugged set by the wireless network
It is standby, so that the equipment to be debugged carries out commissioning test according to the debugging instruction and returns to operation by the wireless network
As a result.
In the present embodiment, the corresponding debugging instruction of distinct device model is previously stored in local data base.Client
According to the device model of the equipment to be debugged currently connected, the debugging instruction for being sent to the equipment to be debugged is determined.Such as it is pre-
If debugging instruction in parameter from action:1. to APP pushing equipment or 2.APP control equipment;Equipment to be debugged receives this
After debugging instruction, it may be selected to control equipment to be debugged from the ginseng or authorized client of trend client push equipment, later, use
Family can be directly viewable modification various tuning parameters, such as restarting, mode, temperature, power etc. by client, with
Realization treats commissioning device and carries out debugging control.
In an alternative embodiment, the method also includes:
When receiving the operation result that equipment to be debugged returns, it is corresponding to disconnect the equipment to be debugged currently connected
Wireless network.
In order to facilitate understanding, referring to Fig. 3, below to characteristic character tz, equipment unique identifier be equipment to be debugged
To the process and original of the poll connection of the apparatus debugging method for the current time stamp generated using JavaScript engine
Reason is described in detail:
1, equipment to be debugged by WIFI communication module set up wireless network, and according to characteristic character tz, device model, set
Standby unique identifier generates the title of wireless network, such as tz_12ET11_1537429807;
2, the WIFI function of client call terminal device (such as mobile phone) scans and obtains current attachable wireless network
Network (may include the wireless network that non-equipment to be debugged is set up, such as router etc.), and all wireless networks that will be scanned
Title be saved in local data base, it is all to all wireless network searchs scanned with tz start wireless networks;Tool
Body, the title of the wireless network of preservation is carried out by preset matching rule (i.e. the title of wireless network is beginning with tz)
Identification searches out all wireless networks started with tz;
3, descending according to equipment exclusive identification code in wireless network or have small to being ranked up greatly, it is possible to use other
Rule replaces;And connection is polled to all wireless networks in sequence;
4, the connection debugging process with each equipment to be debugged specifically includes:
Establish the connection of wireless network corresponding with equipment to be debugged;
Client sends debugging instruction corresponding with device model according to device model in the title of wireless network;For example,
Network name is the equipment to be debugged of tz_12ET11_1537429807, model 12ET11, corresponding debugging instruction packet
It includes
It after equipment to be debugged receives debugging instruction, is run by above-mentioned debugging instruction, and back-to-back running result is to client;
After client receives operation result, the wireless network of equipment to be debugged is disconnected, completes the equipment to be debugged
Debugging.
Compared with the existing technology, a kind of beneficial effect of apparatus debugging method provided by the invention is: by debugging
Addition characteristic character (such as tz), device model, equipment unique identifier (can use 10 in the title of the wireless network of equipment
Timestamp indicates), client passes through preset matching rule (title of wireless network is beginning with tz) identification wireless network
Title, completes identification, the sequence of equipment to be debugged, and determines corresponding debugging instruction, with complete to the equipment to be debugged into
Row debugging, realizes point-to-point connection type, without connecting internet, can effectively mention between client and equipment to be debugged
High data transmission bauds and debugging efficiency, while entire debugging process is participated in without artificial, realizes client and commissioning device
Automated communications connection and automatic debugging, the high degree of automation of equipment debugging, it is more convenient to debug.
Referring to Fig. 4, second embodiment of the invention provides a kind of equipment debugging device, comprising:
Network sweep module 1 for scanning wireless network, and obtains the identification information of current attachable wireless network;
Information identification module 2, for identifying, being accorded with to the identification information of acquisition according to preset matching rule
Close the matching rule and wireless network corresponding with equipment to be debugged;Wherein, wireless network corresponding with equipment to be debugged is
The hotspot for using wireless communication module to set up by the equipment to be debugged;
Network connecting module 3, for being polled connection to the wireless network for meeting the matching rule, and to meeting
The corresponding equipment to be debugged of wireless network for stating matching rule sends debugging instruction, so that the equipment to be debugged is according to
Debugging instruction carries out commissioning test.
In an alternative embodiment, the matching rule is the identification information of wireless network with preset characteristic character
For beginning.
In an alternative embodiment, the information identification module 2, is specifically used for according to preset matching rule, from
Being searched in the identification information of acquisition with the characteristic character is the identification information started, obtains meeting the wireless of the matching rule
Network;
Wherein, the identification information of the wireless network of the equipment to be debugged is the equipment type according to the equipment to be debugged
Number, equipment unique identifier and preset characteristic character generate be the character string started with the characteristic character.
In an alternative embodiment, the equipment unique identifier is that the equipment to be debugged uses JavaScript
The current time stamp that engine generates.
In an alternative embodiment, the network connecting module 3 includes:
Sequencing unit, for the wireless network of the matching rule will to be met according to equipment in its corresponding identification information only
One identification code is ranked up by preset ordering rule;
Poll connection unit, for being successively polled connection to the wireless network after sequence;
Debugging instruction determination unit, for after client and the wireless network establish connection, search with it is described wireless
The corresponding debugging instruction of device model of the corresponding equipment to be debugged of network, and the debugging instruction searched passed through described wireless
Network is sent to the equipment to be debugged, so that the equipment to be debugged carries out commissioning test according to the debugging instruction and leads to
It crosses the wireless network and returns to operation result.
In an alternative embodiment, described device further include:
Network disconnects module, for disconnecting the institute currently connected when receiving the operation result that equipment to be debugged returns
State the corresponding wireless network of equipment to be debugged.
The principle of above-mentioned apparatus is identical with apparatus debugging method described in first embodiment, is not repeating to say herein
It is bright.
It should be noted that the apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
It needs that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.In addition, device provided by the invention
In embodiment attached drawing, the connection relationship between module indicate between them have communication connection, specifically can be implemented as one or
A plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, it can understand
And implement.
Referring to Fig. 5, third embodiment of the invention provides a kind of equipment debugging system, comprising: be equipped with client 101
Terminal device 100, equipment to be debugged 200;
The client 101 for scanning wireless network, and obtains the identification information of current attachable wireless network;
The client 101, for identifying, being accorded with to the identification information of acquisition according to preset matching rule
Close the matching rule and wireless network corresponding with equipment to be debugged;
The client 101, for being polled connection to the wireless network for meeting the matching rule, and to meeting
The corresponding equipment to be debugged of wireless network for stating matching rule sends debugging instruction;
The equipment to be debugged 200, for using wireless communication module set up hotspot as wireless network and according to
The debugging instruction, which runs and passes through the wireless network, returns to operation result.
In an alternative embodiment, the matching rule is the identification information of wireless network with preset characteristic character
For beginning.
In an alternative embodiment, the client 101 is specifically used for according to preset matching rule, from acquisition
Identification information in search with the characteristic character be start identification information, obtain the wireless network for meeting the matching rule
Network;
Wherein, the identification information of the wireless network of the equipment to be debugged is the equipment type according to the equipment to be debugged
Number, equipment unique identifier and preset characteristic character generate be the character string started with the characteristic character.
In an alternative embodiment, the equipment unique identifier is that the equipment to be debugged uses JavaScript
The current time stamp that engine generates.
In an alternative embodiment, the client 101, for will meet the wireless network of the matching rule by
It is ranked up according to equipment exclusive identification code in its corresponding identification information by preset ordering rule;
The client 101, for being successively polled connection to the wireless network after sequence;
After client and the wireless network establish connection, the client 101, for searching for and the wireless network
The corresponding debugging instruction of device model of corresponding equipment to be debugged, and the debugging instruction searched is passed through into the wireless network
It is sent to the equipment to be debugged, so that the equipment to be debugged carries out commissioning test according to the debugging instruction and passes through institute
It states wireless network and returns to operation result.
In an alternative embodiment, the client 101, for when the operation knot for receiving equipment return to be debugged
When fruit, the corresponding wireless network of the equipment to be debugged currently connected is disconnected.
The principle of above system is identical with apparatus debugging method described in first embodiment, is not repeating to say herein
It is bright.
Referring to Fig. 6, fourth embodiment of the invention provides a kind of equipment debugging device;The equipment debugging device include: to
A few processor 11, such as CPU, at least one network interface 14 or other users interface 13, memory 15, at least one
Communication bus 12, communication bus 12 is for realizing the connection communication between these components.Wherein, user interface 13 optionally can be with
Including USB interface and other standards interface, wireline interface.Network interface 14 optionally may include Wi-Fi interface and its
His wireless interface.Memory 15 may include high speed RAM memory, it is also possible to further include non-labile memory (non-
Volatilememory), a for example, at least magnetic disk storage.Memory 15 optionally may include at least one and be located remotely from
The storage device of aforementioned processor 11.
In some embodiments, memory 15 stores following element, executable modules or data structures, or
Their subset or their superset:
Operating system 151 includes various system programs, for realizing various basic businesses and hardware based of processing
Business;
Program 152.
Specifically, processor 11 is executed and is set described in above-described embodiment for calling the program 152 stored in memory 15
Standby adjustment method, such as step S11 shown in FIG. 1.Alternatively, being realized when the processor execution computer program above-mentioned each
The function of each module/unit in Installation practice, such as network sweep module.
Illustratively, the computer program can be divided into one or more module/units, one or more
A module/unit is stored in the memory, and is executed by the processor, to complete the present invention.It is one or more
A module/unit can be the series of computation machine program instruction section that can complete specific function, and the instruction segment is for describing institute
State implementation procedure of the computer program in the equipment debugging device.
The equipment debugging device can be the calculating such as desktop PC, notebook, palm PC and cloud server
Equipment.The equipment debugging device may include, but be not limited only to, processor, memory.It will be understood by those skilled in the art that
The schematic diagram is only the example of equipment debugging device, does not constitute the restriction to equipment debugging device, may include than figure
Show more or fewer components, perhaps combines certain components or different components.
Alleged processor 11 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng the processor 11 is the control centre of the equipment debugging device, utilizes various interfaces and connection whole equipment tune
The various pieces that trial assembly is set.
The memory 15 can be used for storing the computer program and/or module, the processor 11 by operation or
Computer program and/or the module stored in the memory is executed, and calls the data being stored in memory, is realized
The various functions of the equipment debugging device.The memory 15 can mainly include storing program area and storage data area, wherein
Storing program area can application program needed for storage program area, at least one function (for example WIFI function, sound play function
Energy, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as audio data,
Phone directory etc.) etc..In addition, memory 15 may include high-speed random access memory, it can also include nonvolatile memory,
Such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other volatibility are solid
State memory device.
Wherein, if module/unit that the equipment debugging device integrates is realized in the form of SFU software functional unit and makees
It is independent product when selling or using, can store in a computer readable storage medium.Based on this understanding,
The present invention realizes all or part of the process in above-described embodiment method, can also be instructed by computer program relevant hard
Part is completed, and the computer program can be stored in a computer readable storage medium, the computer program is processed
When device executes, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program generation
Code, the computer program code can be source code form, object identification code form, executable file or certain intermediate forms
Deng.The computer-readable medium may include: any entity or device, record that can carry the computer program code
Medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), with
Machine access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..
It should be noted that the content that the computer-readable medium includes can be according to legislation and patent practice in jurisdiction
It is required that carrying out increase and decrease appropriate, such as in certain jurisdictions, do not wrapped according to legislation and patent practice, computer-readable medium
Include electric carrier signal and telecommunication signal.
Fifth embodiment of the invention provides a kind of computer readable storage medium, the computer readable storage medium packet
Include the computer program of storage, wherein where controlling the computer readable storage medium in computer program operation
Equipment executes such as above-mentioned apparatus debugging method.
It is the preferred embodiment of the present invention above, it is noted that for those skilled in the art,
Various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as this hair
Bright protection scope.
Claims (10)
1. a kind of apparatus debugging method characterized by comprising
Wireless network is scanned, and obtains the identification information of current attachable wireless network;
According to preset matching rule, the identification information of acquisition is identified, obtain meeting the matching rule and with wait adjust
Try the corresponding wireless network of equipment;Wherein, wireless network corresponding with equipment to be debugged is by the equipment to be debugged using nothing
The hotspot that line communication module is set up;
Connection is polled to the wireless network for meeting the matching rule, and to the wireless network that meets the matching rule
Corresponding equipment to be debugged sends debugging instruction, so that the equipment to be debugged carries out debugging fortune according to the debugging instruction
Row.
2. apparatus debugging method as described in claim 1, which is characterized in that the matching rule is that the mark of wireless network is believed
Breath is beginning with preset characteristic character.
3. apparatus debugging method as claimed in claim 2, which is characterized in that it is described according to preset matching rule, to acquisition
Identification information identified, obtain meeting the matching rule and wireless network corresponding with equipment to be debugged, including following
Step:
According to preset matching rule, being searched for from the identification information of acquisition with the characteristic character is the identification information started,
Obtain the wireless network for meeting the matching rule;
Wherein, the identification information of the wireless network of the equipment to be debugged is according to the device model of the equipment to be debugged, sets
What standby unique identifier and preset characteristic character generated take the characteristic character as the character string of beginning.
4. apparatus debugging method as claimed in claim 3, which is characterized in that the equipment unique identifier is described to be debugged
The current time stamp that equipment uses JavaScript engine to generate.
5. apparatus debugging method as claimed in claim 3, which is characterized in that the described pair of wireless network for meeting the matching rule
Network is polled connection, and sends debugging instruction to equipment to be debugged corresponding with the wireless network for meeting the matching rule,
So that the equipment to be debugged carries out commissioning test according to the debugging instruction, specifically includes the following steps:
The wireless network of the matching rule will be met according to equipment exclusive identification code in its corresponding identification information by preset
Ordering rule is ranked up;
Connection is successively polled to the wireless network after sequence;
After client and the wireless network establish connection, the equipment of search equipment to be debugged corresponding with the wireless network
The corresponding debugging instruction of model, and the debugging instruction searched is sent to the equipment to be debugged by the wireless network,
So that the equipment to be debugged carries out commissioning test according to the debugging instruction and returns to operation knot by the wireless network
Fruit.
6. apparatus debugging method as claimed in claim 5, which is characterized in that the method also includes:
When receiving the operation result that equipment to be debugged returns, it is corresponding wireless to disconnect the equipment to be debugged currently connected
Network.
7. a kind of equipment debugging device characterized by comprising
Network sweep module for scanning wireless network, and obtains the identification information of current attachable wireless network;
Information identification module obtains meeting described for identifying the identification information of acquisition according to preset matching rule
Matching rule and wireless network corresponding with equipment to be debugged;Wherein, wireless network corresponding with equipment to be debugged is by described
The hotspot that equipment to be debugged uses wireless communication module to set up;
Network connecting module, for being polled connection to the wireless network for meeting the matching rule, and to meet it is described
The corresponding equipment to be debugged of the wireless network of matching rule sends debugging instruction, so that the equipment to be debugged is according to the tune
Examination instruction carries out commissioning test.
8. a kind of equipment debugging system characterized by comprising be equipped with the terminal device of client, equipment to be debugged;
The client for scanning wireless network, and obtains the identification information of current attachable wireless network;
The client obtains meeting described for identifying the identification information of acquisition according to preset matching rule
With rule and wireless network corresponding with equipment to be debugged;
The client, for being polled connection to the wireless network for meeting the matching rule, and to meet described
The corresponding equipment to be debugged of wireless network with rule sends debugging instruction;
The equipment to be debugged, for setting up hotspot as wireless network and according to the debugging using wireless communication module
Instruction carries out commissioning test and returns to operation result by the wireless network.
9. a kind of equipment debugging device, which is characterized in that including processor, memory and storage in the memory and by
It is configured to the computer program executed by the processor, is realized when the processor executes the computer program as right is wanted
Seek the described in any item apparatus debugging methods of 1-6.
10. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium includes the calculating of storage
Machine program, wherein equipment where controlling the computer readable storage medium in computer program operation is executed as weighed
Benefit requires the described in any item apparatus debugging methods of 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811345108.9A CN109548045B (en) | 2018-11-13 | 2018-11-13 | Equipment debugging method, device, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811345108.9A CN109548045B (en) | 2018-11-13 | 2018-11-13 | Equipment debugging method, device, system and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109548045A true CN109548045A (en) | 2019-03-29 |
CN109548045B CN109548045B (en) | 2021-12-10 |
Family
ID=65847015
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811345108.9A Active CN109548045B (en) | 2018-11-13 | 2018-11-13 | Equipment debugging method, device, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109548045B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110380926A (en) * | 2019-07-01 | 2019-10-25 | 珠海格力电器股份有限公司 | Network automatic test method, terminal and computer readable medium of networking equipment |
CN110474811A (en) * | 2019-08-21 | 2019-11-19 | 杭州安恒信息技术股份有限公司 | A kind of adjustment method of network performance, debugging system and relevant apparatus |
CN110753363A (en) * | 2019-10-29 | 2020-02-04 | 乐鑫信息科技(上海)股份有限公司 | Intelligent device wireless debugging system and method |
CN111309543A (en) * | 2020-02-11 | 2020-06-19 | 广州视源电子科技股份有限公司 | Debugging method and device, electronic equipment and storage medium |
CN111338673A (en) * | 2020-02-21 | 2020-06-26 | Oppo(重庆)智能科技有限公司 | Equipment debugging method and device, electronic equipment and storage medium |
CN112069008A (en) * | 2020-09-02 | 2020-12-11 | 深圳创维-Rgb电子有限公司 | Equipment debugging information acquisition method and device and equipment debugging information generation method |
CN113259996A (en) * | 2021-05-17 | 2021-08-13 | 上海龙旗科技股份有限公司 | IOT wireless debugging method and equipment |
CN113613225A (en) * | 2021-07-29 | 2021-11-05 | 珠海格力电器股份有限公司 | Debugging method, debugging device, electronic equipment and computer readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090082008A1 (en) * | 2007-09-21 | 2009-03-26 | Per Thorell | Mobile Phone Code Debugging Method and Apparatus |
CN105072704A (en) * | 2015-07-22 | 2015-11-18 | 上海斐讯数据通信技术有限公司 | Method and system for obtaining information between strange intelligent terminals |
CN105720380A (en) * | 2014-12-02 | 2016-06-29 | 中兴通讯股份有限公司 | Adjustable multiband antenna and antenna debugging method |
CN106162804A (en) * | 2016-06-24 | 2016-11-23 | 上海连尚网络科技有限公司 | For providing the method and apparatus of the access information of wireless access focus |
CN107241723A (en) * | 2017-06-21 | 2017-10-10 | 山东容弗云信息科技有限公司 | Electric Power Patrol detecting devices, intelligent terminal and network-building method |
CN107332727A (en) * | 2017-05-25 | 2017-11-07 | 福建天晴数码有限公司 | A kind of AP method of testings and system |
CN108564776A (en) * | 2017-12-01 | 2018-09-21 | 深圳市恒扬数据股份有限公司 | Equipment debugging system, apparatus debugging method and computer storage media |
-
2018
- 2018-11-13 CN CN201811345108.9A patent/CN109548045B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090082008A1 (en) * | 2007-09-21 | 2009-03-26 | Per Thorell | Mobile Phone Code Debugging Method and Apparatus |
CN105720380A (en) * | 2014-12-02 | 2016-06-29 | 中兴通讯股份有限公司 | Adjustable multiband antenna and antenna debugging method |
US20170331188A1 (en) * | 2014-12-02 | 2017-11-16 | Zte Corporation | Adjustable multi-band antenna and antenna debugging method |
CN105072704A (en) * | 2015-07-22 | 2015-11-18 | 上海斐讯数据通信技术有限公司 | Method and system for obtaining information between strange intelligent terminals |
CN106162804A (en) * | 2016-06-24 | 2016-11-23 | 上海连尚网络科技有限公司 | For providing the method and apparatus of the access information of wireless access focus |
CN107332727A (en) * | 2017-05-25 | 2017-11-07 | 福建天晴数码有限公司 | A kind of AP method of testings and system |
CN107241723A (en) * | 2017-06-21 | 2017-10-10 | 山东容弗云信息科技有限公司 | Electric Power Patrol detecting devices, intelligent terminal and network-building method |
CN108564776A (en) * | 2017-12-01 | 2018-09-21 | 深圳市恒扬数据股份有限公司 | Equipment debugging system, apparatus debugging method and computer storage media |
Non-Patent Citations (1)
Title |
---|
孙润: "基于WiFi智能家居的网关设计", 《中国优秀硕士论文辑》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110380926A (en) * | 2019-07-01 | 2019-10-25 | 珠海格力电器股份有限公司 | Network automatic test method, terminal and computer readable medium of networking equipment |
CN110474811A (en) * | 2019-08-21 | 2019-11-19 | 杭州安恒信息技术股份有限公司 | A kind of adjustment method of network performance, debugging system and relevant apparatus |
CN110474811B (en) * | 2019-08-21 | 2022-09-23 | 杭州安恒信息技术股份有限公司 | Debugging method, debugging system and related device for network performance |
CN110753363A (en) * | 2019-10-29 | 2020-02-04 | 乐鑫信息科技(上海)股份有限公司 | Intelligent device wireless debugging system and method |
CN111309543A (en) * | 2020-02-11 | 2020-06-19 | 广州视源电子科技股份有限公司 | Debugging method and device, electronic equipment and storage medium |
CN111338673A (en) * | 2020-02-21 | 2020-06-26 | Oppo(重庆)智能科技有限公司 | Equipment debugging method and device, electronic equipment and storage medium |
CN111338673B (en) * | 2020-02-21 | 2023-12-01 | Oppo(重庆)智能科技有限公司 | Equipment debugging method and device, electronic equipment and storage medium |
CN112069008A (en) * | 2020-09-02 | 2020-12-11 | 深圳创维-Rgb电子有限公司 | Equipment debugging information acquisition method and device and equipment debugging information generation method |
CN113259996A (en) * | 2021-05-17 | 2021-08-13 | 上海龙旗科技股份有限公司 | IOT wireless debugging method and equipment |
CN113613225A (en) * | 2021-07-29 | 2021-11-05 | 珠海格力电器股份有限公司 | Debugging method, debugging device, electronic equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109548045B (en) | 2021-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109548045A (en) | Apparatus debugging method, device, system and storage medium | |
CN111885144B (en) | Equipment binding method and device | |
CN108062367B (en) | Data list uploading method and terminal thereof | |
CN112152853A (en) | Equipment network distribution method and device, computer-readable storage medium and electronic device | |
WO2015143794A1 (en) | Creating and upgrading methods, server, terminal, upgrading system, and storage media | |
CN103533165B (en) | Multi-APN (Access Point Name) concurrency method supporting Android applications of handheld equipment and system thereof | |
CN106713004B (en) | Router adaptation method and system | |
CN112202652A (en) | Method and device for displaying information of equipment to be networked, storage medium and electronic device | |
CN107479940A (en) | A kind of method and device for realizing Internet of Things module | |
CN112737816A (en) | Equipment binding method and device | |
CN107368334B (en) | Business plug-in interaction system and method | |
CN112511390A (en) | Intelligent household appliance template scene generation method and device, storage medium and electronic device | |
CN111736938A (en) | Information display method and device, storage medium and electronic device | |
CN110362055A (en) | A kind of industrial data acquisition system that terminal is expansible and method | |
CN108055209A (en) | A kind of router batch terminal upgrading method and system | |
CN112235124A (en) | Method and device for configuring pico-cell, storage medium and electronic device | |
CN110781878B (en) | Target area determination method and device, storage medium and electronic device | |
CN113596835A (en) | Network connection method, device, storage medium and electronic device | |
CN100384285C (en) | Method for testing apparatus management service system | |
CN113396559B (en) | Information configuration method and device, electronic equipment, storage medium and program product | |
CN104836708B (en) | The binding method and device of information | |
CN111737136A (en) | Object testing method and device based on Internet of things platform | |
CN110659060A (en) | In-place distributed FA configuration rapid configuration method and system | |
CN113064926B (en) | Data screening method and device, storage medium and electronic device | |
CN216161086U (en) | Soft number programming device for wireless private network of electric power |
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 |