CN110334791A - A kind of identification method and device, control system and its application method of smart machine - Google Patents

A kind of identification method and device, control system and its application method of smart machine Download PDF

Info

Publication number
CN110334791A
CN110334791A CN201910629481.5A CN201910629481A CN110334791A CN 110334791 A CN110334791 A CN 110334791A CN 201910629481 A CN201910629481 A CN 201910629481A CN 110334791 A CN110334791 A CN 110334791A
Authority
CN
China
Prior art keywords
smart machine
dimensional code
identifier
character
identified
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910629481.5A
Other languages
Chinese (zh)
Inventor
袁龙刚
郭海峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Hongmei Intelligent Technology Co Ltd
Original Assignee
Sichuan Hongmei Intelligent 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 Sichuan Hongmei Intelligent Technology Co Ltd filed Critical Sichuan Hongmei Intelligent Technology Co Ltd
Priority to CN201910629481.5A priority Critical patent/CN110334791A/en
Publication of CN110334791A publication Critical patent/CN110334791A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06046Constructional details
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud

Landscapes

  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Automation & Control Theory (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Factory Administration (AREA)

Abstract

The present invention provides a kind of identification method of smart machine and devices, control system and its application method, the identification method of the smart machine includes: the download link for obtaining control application corresponding to the identifier and the smart machine to be identified of smart machine to be identified;According to the identifier and the download link, two dimensional code is generated;The two dimensional code is written in the smart machine to be identified.This programme can save human and material resources resource, and can improve the production efficiency of smart machine.

Description

A kind of identification method and device, control system and its application method of smart machine
Technical field
The present invention relates to intelligent appliance technical field, in particular to the identification method and device, control of a kind of smart machine System and its application method.
Background technique
In the production procedure of smart machine, in order to which the smart machine to the different production phases is identified, and it is convenient for Control of the user to smart machine in the future generally requires the label that setting on intelligent devices has mark action.
Specifically, in order to which the smart machine to the different production phases is identified, generally smart machine rise paste it is multi-joint Bar code, every barcode corresponding production phase.In addition, can also be glued on intelligent devices for the ease of the control of user Patch corresponds to the downloading mark of control application and the identifier of the smart machine.That is, the smart machine of factory state Fuselage cover at least post bar code for characterizing factory state, downloading mark and intelligence corresponding to control application The identifier of equipment.
Above-mentioned identification procedure is pasted with multiple paper labels on the fuselage cover of smart machine, not only wastes papery money Source, and by the way of artificial adhesive label, once staff pastes mistake, the production efficiency of smart machine will be reduced.
Summary of the invention
The embodiment of the invention provides a kind of identification method of smart machine and device, control system and its application method, Can save human and material resources resource, and can improve the production efficiency of smart machine.
In a first aspect, the embodiment of the invention provides a kind of identification methods of smart machine, comprising:
It obtains under control application corresponding to the identifier and the smart machine to be identified of smart machine to be identified Carry link;
According to the identifier and the download link, two dimensional code is generated;
The two dimensional code is written in the smart machine to be identified.
Preferably,
It is described according to the identifier and the download link, generate two dimensional code, comprising:
The identifier is verified, when verifying qualified, according to the identifier and the download link, generates institute State two dimensional code;
Preferably,
The two dimensional code is written in the smart machine to be identified, comprising:
The smart machine to be identified is detected, when detecting qualified, the two dimensional code is written described to be identified In smart machine.
Preferably,
It is described that the identifier is verified, comprising:
Judge whether the length of the corresponding character string of the identifier is equal to pre-set length threshold, if so, described in judgement Whether the queueing discipline of character string meets preset standard rule, if so, judging whether the identifier is unused state, such as Fruit is, it is determined that the identifier verification is qualified.
Preferably,
Whether the queueing discipline for judging the character string meets preset standard rule, comprising:
It determines the corresponding ASCII character value of each character in the character string, calculates the word using following calculation formula The corresponding arrangement value of symbol string determines that the queueing discipline of the character string meets institute when the arrangement value is equal to preset standard value State standard rule;
Wherein, K characterizes the arrangement value, aiCharacterize the corresponding ASCII character value of i-th of character in the character string, Ai0Table Levy the minimum value in the corresponding ASCII character range of i-th of character specified in the preset standard rule, Ai1It characterizes described default Maximum value in the corresponding ASCII character range of i-th of character specified in standard rule, n characterize the length of the character string.
Preferably,
It is described that the two dimensional code is written in the smart machine to be identified, comprising:
The two dimensional code is written in the smart machine to be identified with picture format.
Second aspect, the embodiment of the invention provides a kind of identity devices of smart machine, comprising: data obtaining module, Two-dimensional code generation module and mark module;Wherein,
The data obtaining module, identifier and the intelligence to be identified for obtaining smart machine to be identified are set The download link of standby corresponding control application;
The two-dimensional code generation module, for generating two dimensional code according to the identifier and the download link;
The mark module, for the two dimensional code to be written in the smart machine to be identified.
Preferably,
The two-dimensional code generation module, for judging whether the length of the corresponding character string of the identifier is equal to default length Threshold value is spent, if so, judging whether the queueing discipline of the character string meets preset standard rule, if so, judging the mark Know whether symbol is unused state, if it is, determining that the identifier verification is qualified, according to the qualified identifier of verification With the download link, the two dimensional code is generated.
Preferably,
The two-dimensional code generation module is utilized for determining the corresponding ASCII character value of each character in the character string Following calculation formula calculates the corresponding arrangement value of the character string, when the arrangement value is equal to preset standard value, described in determination The queueing discipline of character string meets the standard rule;
Wherein, K characterizes the arrangement value, aiCharacterize the corresponding ASCII character value of i-th of character in the character string, Ai0Table Levy the minimum value in the corresponding ASCII character range of i-th of character specified in the preset standard rule, Ai1It characterizes described default Maximum value in the corresponding ASCII character range of i-th of character specified in standard rule, n characterize the length of the character string.
The third aspect, the embodiment of the invention provides a kind of control systems of smart machine, comprising: smart machine and on The identity device of the smart machine of any embodiment offer is provided;Wherein,
The identity device of the smart machine, for two dimensional code to be written in the smart machine;
The smart machine, on startup, showing the two dimensional code.
Fourth aspect, the embodiment of the invention provides a kind of control systems of smart machine that any of the above-described embodiment provides Application method, comprising:
Control application is downloaded according to the two dimensional code, and obtains identifier;
It is applied by the control, smart machine corresponding with the identifier is controlled.
The embodiment of the invention provides a kind of identification method of smart machine and device, control system and its application method, It is written in a two dimensional code by the download link of control application corresponding to the identifier and smart machine by smart machine, And the two dimensional code is written in smart machine, so that user can be answered by the two dimensional code downloading control that smart machine is shown With, and by two dimensional code obtain smart machine identifier, with by control application to smart machine corresponding to identifier into Row control.Paper labels are pasted on intelligent devices therefore without by manual type, also avoid pasting mistake and causing to prolong The case where accidentally producing, to improve the production efficiency of smart machine while having saved manpower and material resources.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow chart of the identification method for smart machine that one embodiment of the invention provides;
Fig. 2 be another embodiment of the present invention provides a kind of smart machine identification method flow chart;
Fig. 3 is a kind of structural schematic diagram of the identity device for smart machine that one embodiment of the invention provides;
Fig. 4 be another embodiment of the present invention provides a kind of smart machine identity device structural schematic diagram;
Fig. 5 is a kind of structural schematic diagram of the control system for smart machine that one embodiment of the invention provides;
Fig. 6 is a kind of flow chart of the application method of the control system for smart machine that one embodiment of the invention provides;
Fig. 7 is a kind of flow chart of the application method for smart machine that one embodiment of the invention provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments, based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, this method may include following the embodiment of the invention provides a kind of identification method of smart machine Step:
Step 101: obtaining control corresponding to the identifier and the smart machine to be identified of smart machine to be identified The download link of application;
Step 102: according to the identifier and the download link, generating two dimensional code;
Step 103: the two dimensional code is written in the smart machine to be identified.
In above-described embodiment, pass through the downloading of control application corresponding to the identifier and smart machine by smart machine In link one two dimensional code of write-in, and the two dimensional code is written in smart machine, so that user can be aobvious by smart machine The two dimensional code downloading control application shown, and by the identifier of two dimensional code acquisition smart machine, to pass through control application to mark The corresponding smart machine of symbol is controlled.Paper labels are pasted on intelligent devices therefore without by manual type, are also kept away The case where pasting mistake and delay is caused to produce is exempted from, to improve smart machine while having saved manpower and material resources Production efficiency.
Wherein, smart machine can be large-size screen monitors refrigerator or large-size screen monitors smoke machine etc. with the smart machine shielded.
In one embodiment of the invention, the specific embodiment of step 102 may include: to carry out school to the identifier It tests, when verifying qualified, according to the identifier and the download link, generates the two dimensional code.
Wherein, identifier can be the product ID (Serial Number, SN) of smart machine.
Before generating two dimensional code according to identifier, it can first judge whether the format of the identifier meets the requirements, specifically, sentence Whether the length for the corresponding character string of the identifier of breaking is equal to pre-set length threshold, if so, judging the row of the character string Whether column rule meets preset standard rule, if so, judging whether the identifier is unused state, if it is, really The fixed identifier verification is qualified.
That is, can determine whether that the length of identifier is by judging whether string length is equal to pre-set length threshold It is no to meet the requirements, by judging whether the queueing discipline of character string meets preset standard rule, it can determine whether that the name of identifier is No specification, and further by being compared with the relevant information being stored in the local data base, to judge character string Whether it is in unused state, if character string is in use state, illustrates that the identifier is opposite with another smart machine It answers, then the identifier cannot be written in current smart machine to be identified again at this time, that is, cannot be further according to the identifier Generate two dimensional code.Judged by the use state to identifier, can avoid an identifier and be written in multiple smart machines Situation, in conjunction with to identifier length and Naming conventions judge, can ensure that the format of identifier meets the requirements, that is, It says, by the judgement of length, naming rule and use state to above-mentioned identifier, is generated according only to satisfactory identifier Two dimensional code, to effectively reduce the error generation rate of identification procedure.
In order to which whether the corresponding character string of accurate judgement identifier meets naming rule, in an embodiment of the invention, Whether the queueing discipline for judging the character string meets preset standard rule, comprising:
It determines the corresponding ASCII character value of each character in the character string, calculates the word using following calculation formula The corresponding arrangement value of symbol string determines that the queueing discipline of the character string meets institute when the arrangement value is equal to preset standard value State standard rule;
Wherein, K characterizes the arrangement value, aiCharacterize the corresponding ASCII character value of i-th of character in the character string, Ai0Table Levy the minimum value in the corresponding ASCII character range of i-th of character specified in the preset standard rule, Ai1It characterizes described default Maximum value in the corresponding ASCII character range of i-th of character specified in standard rule, n characterize the length of the character string.
By above-mentioned calculation formula, the arrangement value of the corresponding character string of identifier can be accurately calculated, when arrangement value is equal to When preset standard value, just determine that the queueing discipline of character string complies with standard rule, that is, determine that identification code meets naming rule, The accuracy of character string naming rule is improved by the exact arithmetic of formula.
In order to ensure that user can control smart machine by the way that the two dimensional code of smart machine is written, at the present invention one In embodiment, the specific embodiment of step 103 may include: to detect to the smart machine to be identified, when detection is closed When lattice, the two dimensional code is written in the smart machine to be identified.
Herein, before two dimensional code being written, first smart machine is detected, when detecting qualified, illustrates smart machine The functions such as communication and display are normal, and two dimensional code is written in smart machine again at this time, and this aspect guarantees that two dimensional code can successfully be write Enter in smart machine, on the other hand also can guarantee that smart machine normally shows two dimensional code, so that user can be according to two dimension Code controls smart machine.
For the ease of being managed to the two dimensional code of generation and two dimensional code batch being written in smart machine, in the present invention In one embodiment, the specific embodiment of step 103, may include: by the two dimensional code with picture format write-in it is described to It identifies in smart machine.
It herein, can will be each after multiple two dimensional codes being generated according to the sequence number and download link of different intelligent equipment Two dimensional code is stored in the file of specified path with the graphic form of SN.JPG, then in the serial communication process with smart machine In, picture is extracted from the file of specified path, and by serial communication that the two dimensional code write-in of graphic form is corresponding It, thus can be convenient for being managed collectively to multiple two dimensional codes in smart machine, and be conducive to the two dimensional code batch intelligent set is written In standby, so that the mark efficiency of smart machine is improved, in addition, the two dimensional code of write-in smart machine is picture format, it is difficult to it distorts, The safety in transmission process can be improved.
Below for being identified to band screen intelligent refrigerator, to the mark side of smart machine provided in an embodiment of the present invention Method is described in detail, and in this instance, generating two dimensional code, write-in two dimensional code and sending sense command to intelligent refrigerator is PC Software is held, the end the PC software based on C# language to develop.As shown in Fig. 2, this method may comprise steps of:
Step 201: obtaining control application corresponding to the identifier and intelligent refrigerator to be identified of intelligent refrigerator to be identified Download link.
The identifier of intelligent refrigerator to be identified can be the SN of intelligent object in intelligent refrigerator, can be swept into intelligence by barcode scanning gun The SN of energy module, so that the end PC gets the identifier of intelligent refrigerator to be identified, the SN that the end PC is got can be as follows: Card.Append (" sn="+this.SNTextBox.Text).
In addition, since multiple intelligent refrigerators are corresponding to same control application, the download link that control can be applied It can be stored in advance in the end PC, when being identified, directly extract the downloading of control application corresponding to intelligent refrigerator to be identified Link, the download link address information extracted can be as follows: card.Append (" http: // Superapp.changhong.com:8080/saserver/views/index.html?.
Step 202: judge whether the length of the corresponding character string of the identifier is equal to pre-set length threshold, if so, Step 203 is executed, it is no to then follow the steps 204.
Step 203: judging whether the queueing discipline of the character string meets preset standard rule, if so, executing step 205, it is no to then follow the steps 204.
Step 204: output error prompt information, and terminate current process.
Step 205: judging whether the identifier is unused state, if so, executing step 206, otherwise execute step Rapid 204.
Pass through the judgement to identifier corresponding string length, queueing discipline and use state, it is ensured that be written wait mark The identifier for knowing refrigerator is that format is correct and original, to avoid mark mistake.
Step 206: according to the identifier and the download link, generating two dimensional code, and by the two dimensional code with picture Form is stored under specified path.
Wherein, it generates and such as minor function can be used in two-dimensional code display:
Bitmap b=GetTwoDimensionCode (card.ToString (), " ",
This.pictureBox1.Width, this.pictureBox1.Height, " Microsoft is refined black ");
Saving two dimensional code to specified path and being renamed can at least be realized by following code:
This.pictureBox1.Image=b;
This.pictureBox1.Image.Save (Application.StartupPath+ " two dimensional code file "+ this.SNTextBox.Text+".GIF")。
Step 207: exporting detection instruction to intelligent refrigerator to be identified, receive the intelligent refrigerator to be identified according to the inspection Survey the testing result that instruction returns.
The end PC can first pass through test fixture in advance and be attached with intelligent refrigerator to be identified, the purposes of test fixture so as to The intelligent object power supply in intelligent refrigerator is identified, second is that establishing the serial communication of intelligent object Yu the end PC.Then the end PC can pass through string Mouthful to intelligent object send test instruction, intelligent object receive test instruction after, software and hardware detection can be carried out, and will test knot Fruit returns to the end PC by serial ports, which includes the radio-frequency performance detection of intelligent object, software version, Mike's air horn Circuit detection of equal hardware interfaces etc..Certainly, which can also carry out again after two dimensional code is written, then detection process is also Whether it is successfully written to including two-dimension code image.After testing process, the end PC software interface can be in the form of making hook or cross Show test result, wherein successful test record can be stored in this, consequently facilitating user's statistics produced can only equipment Quantity.
Step 208: it is qualified to judge whether the testing result characterizes detection, if so, execution step 209, otherwise executes Step 204.
Step 209: searching two-dimension code image corresponding with the intelligent refrigerator to be identified, and general from the specified path Two-dimension code image is written in the smart machine to be identified.
During serial communication, the two-dimension code image named with SN is read at the end PC from the file of specified path, so Intelligent refrigerator to be identified is sent in the form of serial data afterwards to pass through after intelligent refrigerator to be identified receives serial data Parsing obtains two-dimension code image, and is presented on the display screen of itself, to complete the write-in process of two dimensional code.
In above-described embodiment, pass through the downloading of control application corresponding to the identifier and smart machine by smart machine In link one two dimensional code of write-in, and the two dimensional code is written in smart machine, so that user can be aobvious by smart machine The two dimensional code downloading control application shown, and by the identifier of two dimensional code acquisition smart machine, to pass through control application to mark The corresponding smart machine of symbol is controlled.Paper labels are pasted on intelligent devices therefore without by manual type, are also kept away The case where pasting mistake and delay is caused to produce is exempted from, to improve smart machine while having saved manpower and material resources Production efficiency.
As shown in Figure 3, Figure 4, the embodiment of the invention provides a kind of identity devices of smart machine.Installation practice can be with By software realization, can also be realized by way of hardware or software and hardware combining.For hardware view, as shown in figure 3, For smart machine provided in an embodiment of the present invention identity device where equipment a kind of hardware structure diagram, in addition to shown in Fig. 3 Except processor, memory, network interface and nonvolatile memory, equipment in embodiment where device usually can be with Including other hardware, such as it is responsible for the forwarding chip of processing message.Taking software implementation as an example, as shown in figure 4, being patrolled as one The device in meaning is collected, is to be read computer program instructions corresponding in nonvolatile memory by the CPU of equipment where it Get what operation in memory was formed.A kind of identity device of smart machine provided in this embodiment, comprising: data obtaining module 401, two-dimensional code generation module 402 and mark module 403;Wherein,
The data obtaining module 401, for obtain smart machine to be identified identifier and the intelligence to be identified The download link of control application corresponding to equipment;
The two-dimensional code generation module 402, for generating two dimensional code according to the identifier and the download link;
The mark module 403, for the two dimensional code to be written in the smart machine to be identified.
In an embodiment of the invention, the two-dimensional code generation module 402, for judging the corresponding word of the identifier Whether the length of symbol string is equal to pre-set length threshold, if so, judging whether the queueing discipline of the character string meets pre- bidding Quasi-regular, if so, judge whether the identifier is unused state, if it is, determine that the identifier verification is qualified, According to the qualified identifier of verification and the download link, the two dimensional code is generated.
In an embodiment of the invention, the two-dimensional code generation module 402, for determining each in the character string The corresponding ASCII character value of character calculates the corresponding arrangement value of the character string using following calculation formula, when described arrangement value etc. When preset standard value, determine that the queueing discipline of the character string meets the standard rule;
Wherein, K characterizes the arrangement value, aiCharacterize the corresponding ASCII character value of i-th of character in the character string, Ai0Table Levy the minimum value in the corresponding ASCII character range of i-th of character specified in the preset standard rule, Ai1It characterizes described default Maximum value in the corresponding ASCII character range of i-th of character specified in standard rule, n characterize the length of the character string.
As shown in figure 5, the embodiment of the invention provides a kind of control systems of smart machine, comprising: smart machine 501 with And the identity device 502 of the smart machine of any of the above-described embodiment offer;Wherein,
The identity device 502 of the smart machine, for two dimensional code to be written in the smart machine 501;
The smart machine 501, on startup, showing the two dimensional code.
The contents such as the information exchange between each unit, implementation procedure in above-mentioned apparatus, due to implementing with the method for the present invention Example is based on same design, and for details, please refer to the description in the embodiment of the method for the present invention, and details are not described herein again.
As shown in fig. 6, the embodiment of the invention also provides a kind of controls of smart machine that any of the above-described embodiment provides Systematic difference method, this method may comprise steps of:
Step 601: control application being downloaded according to the two dimensional code, and obtains identifier;
Step 602: being applied by the control, smart machine corresponding with the identifier is controlled.
When user uses smart machine for the first time, the control panel by triggering smart machine is instructed, to set intelligently Two dimensional code is showed on standby screen, then user can scan the electronic two-dimensional code under phone network state, and downloading control is answered With (control APP), the two dimensional code then is continued to scan on control APP, obtains the identifier of smart machine, set with carrying out intelligence Standby distribution operating process, the electronic two-dimensional code contain the relevant information of APP download link Yu equipment sequence number SN, distribution After smart machine can cancel the display of the two dimensional code on the screen automatically.Reduce papery two dimensional code or bar shaped as a result, The printing of code, user is in distribution again, it is not necessary to find the subsidiary bar code of product description or worry the bar code mark on fuselage Label fall off, while avoiding the patch of product bar code in process of production wrong, for band screen smart machine can with it is effectively save manually at Originally, Material Cost has very big application prospect especially in the case where band screen smart machine appearance pastes insufficient space.
In conclusion this method may include such as Fig. 7 the embodiment of the invention provides a kind of application method of smart machine Shown step:
Step 701: obtaining control corresponding to the identifier and the smart machine to be identified of smart machine to be identified The download link of application;
Step 702: according to the identifier and the download link, generating two dimensional code;
Step 703: the two dimensional code is written in the smart machine to be identified;
Step 704: control application being downloaded according to the two dimensional code, and obtains identifier;
Step 705: being applied by the control, smart machine corresponding with the identifier is controlled.
The embodiment of the invention provides a kind of readable mediums, including execute instruction, when the processor of storage control executes It is described when executing instruction, the storage control execute it is provided in an embodiment of the present invention it is any can equipment identification method.
The embodiment of the invention provides a kind of storage controls, comprising: processor, memory and bus;
The memory is executed instruction for storing, and the processor is connect with the memory by the bus, when When the storage control is run, the processor executes the described of memory storage and executes instruction, so that the storage Controller executes the identification method of any energy equipment provided in an embodiment of the present invention.
The each embodiment of the present invention at least has the following beneficial effects:
1, in embodiments of the present invention, pass through control application corresponding to the identifier and smart machine by smart machine Download link be written a two dimensional code in, and by the two dimensional code be written smart machine in so that user can pass through intelligence The two dimensional code downloading control application that equipment is shown, and by the identifier of two dimensional code acquisition smart machine, to pass through control application Smart machine corresponding to identifier is controlled.Papery mark is pasted on intelligent devices therefore without by manual type Label also avoid the case where pasting mistake and delay is caused to produce, to improve intelligence while having saved manpower and material resources The production efficiency of equipment.
2, in embodiments of the present invention, judged by the use state to identifier, can avoid an identifier and write Enter situation in multiple smart machines, in conjunction with the judgement of length, naming rule and use state to identifier, according only to conforming to The identifier asked generates two dimensional code, to effectively reduce the error generation rate of identification procedure.
3, before two dimensional code in embodiments of the present invention, is written, first smart machine is detected, when detecting qualified, then Two dimensional code is written in smart machine, this aspect guarantees that two dimensional code can be successfully written in smart machine, on the other hand can also protect Card smart machine normally shows two dimensional code, so that user can control smart machine according to two dimensional code.
4, in embodiments of the present invention, by two dimensional code thus can be convenient for multiple in picture format write-in smart machine Two dimensional code is managed collectively, and is conducive to two dimensional code batch be written in smart machine, to improve the mark of smart machine Efficiency, in addition, the two dimensional code of write-in smart machine is picture format, it is difficult to distort, the safety in transmission process can be improved.
5, in embodiments of the present invention, reduce the printing of papery two dimensional code or bar code, user in distribution again, The subsidiary bar code of product description need not be found or worry that the bar-code label on fuselage falls off, while product being avoided to produce The patch of bar code is wrong in journey, can be with effectively save cost of labor, Material Cost, especially in band screen intelligence for band screen smart machine In the case that equipment appearance pastes insufficient space, there is very big application prospect.
It should be noted that, in this document, such as first and second etc relational terms are used merely to an entity Or operation is distinguished with another entity or operation, is existed without necessarily requiring or implying between these entities or operation Any actual relationship or order.Moreover, the terms "include", "comprise" or its any other variant be intended to it is non- It is exclusive to include, so that the process, method, article or equipment for including a series of elements not only includes those elements, It but also including other elements that are not explicitly listed, or further include solid by this process, method, article or equipment Some elements.In the absence of more restrictions, the element limited by sentence " including one ", is not arranged Except there is also other identical factors in the process, method, article or apparatus that includes the element.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can store in computer-readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light In the various media that can store program code such as disk.
Finally, it should be noted that the foregoing is merely presently preferred embodiments of the present invention, it is merely to illustrate skill of the invention Art scheme, is not intended to limit the scope of the present invention.Any modification for being made all within the spirits and principles of the present invention, Equivalent replacement, improvement etc., are included within the scope of protection of the present invention.

Claims (10)

1. a kind of identification method of smart machine characterized by comprising
Obtain the downloading chain of control application corresponding to the identifier and the smart machine to be identified of smart machine to be identified It connects;
According to the identifier and the download link, two dimensional code is generated;
The two dimensional code is written in the smart machine to be identified.
2. the method according to claim 1, wherein
It is described according to the identifier and the download link, generate two dimensional code, comprising:
The identifier is verified, when verifying qualified, according to the identifier and the download link, generates described two Tie up code;
And/or
The two dimensional code is written in the smart machine to be identified, comprising:
The smart machine to be identified is detected, when detecting qualified, the intelligence to be identified is written into the two dimensional code In equipment.
3. according to the method described in claim 2, it is characterized in that,
It is described that the identifier is verified, comprising:
Judge whether the length of the corresponding character string of the identifier is equal to pre-set length threshold, if so, judging the character Whether the queueing discipline of string meets preset standard rule, if so, judge whether the identifier is unused state, if It is, it is determined that the identifier verification is qualified.
4. according to the method described in claim 3, it is characterized in that,
Whether the queueing discipline for judging the character string meets preset standard rule, comprising:
It determines the corresponding ASCII character value of each character in the character string, calculates the character string using following calculation formula Corresponding arrangement value determines that the queueing discipline of the character string meets the mark when the arrangement value is equal to preset standard value Quasi-regular;
Wherein, K characterizes the arrangement value, aiCharacterize the corresponding ASCII character value of i-th of character in the character string, Ai0Characterization institute State the minimum value in the corresponding ASCII character range of i-th of character specified in preset standard rule, Ai1Characterize the preset standard Maximum value in the corresponding ASCII character range of i-th of character specified in rule, n characterize the length of the character string.
5. the method according to claim 1, wherein
It is described that the two dimensional code is written in the smart machine to be identified, comprising:
The two dimensional code is written in the smart machine to be identified with picture format.
6. a kind of identity device of smart machine characterized by comprising data obtaining module, two-dimensional code generation module and mark Know module;Wherein,
The data obtaining module, for obtain smart machine to be identified identifier and the smart machine institute to be identified The download link of corresponding control application;
The two-dimensional code generation module, for generating two dimensional code according to the identifier and the download link;
The mark module, for the two dimensional code to be written in the smart machine to be identified.
7. device according to claim 6, which is characterized in that
The two-dimensional code generation module, for judging whether the length of the corresponding character string of the identifier is equal to preset length threshold Value, if so, judging whether the queueing discipline of the character string meets preset standard rule, if so, judging the identifier It whether is unused state, if it is, determining that the identifier verification is qualified, according to the qualified identifier of verification and institute Download link is stated, the two dimensional code is generated.
8. device according to claim 7, which is characterized in that
The two-dimensional code generation module, for determining, the corresponding ASCII character value of each character, utilization are following in the character string Calculation formula calculates the corresponding arrangement value of the character string, when the arrangement value is equal to preset standard value, determines the character The queueing discipline of string meets the standard rule;
Wherein, K characterizes the arrangement value, aiCharacterize the corresponding ASCII character value of i-th of character in the character string, Ai0Characterization institute State the minimum value in the corresponding ASCII character range of i-th of character specified in preset standard rule, Ai1Characterize the preset standard Maximum value in the corresponding ASCII character range of i-th of character specified in rule, n characterize the length of the character string.
9. a kind of control system of smart machine characterized by comprising smart machine and claim 6 to 8 are any described Smart machine identity device;Wherein,
The identity device of the smart machine, for two dimensional code to be written in the smart machine;
The smart machine, on startup, showing the two dimensional code.
10. a kind of application method of the control system of smart machine as claimed in claim 9 characterized by comprising
Control application is downloaded according to the two dimensional code, and obtains identifier;
It is applied by the control, smart machine corresponding with the identifier is controlled.
CN201910629481.5A 2019-07-12 2019-07-12 A kind of identification method and device, control system and its application method of smart machine Pending CN110334791A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910629481.5A CN110334791A (en) 2019-07-12 2019-07-12 A kind of identification method and device, control system and its application method of smart machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910629481.5A CN110334791A (en) 2019-07-12 2019-07-12 A kind of identification method and device, control system and its application method of smart machine

Publications (1)

Publication Number Publication Date
CN110334791A true CN110334791A (en) 2019-10-15

Family

ID=68146647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910629481.5A Pending CN110334791A (en) 2019-07-12 2019-07-12 A kind of identification method and device, control system and its application method of smart machine

Country Status (1)

Country Link
CN (1) CN110334791A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112434770A (en) * 2020-09-10 2021-03-02 张家港市爱上旅途网络科技有限公司 Two-dimensional code display method and system based on dot matrix screen
CN113448296A (en) * 2021-06-08 2021-09-28 东风柳州汽车有限公司 Vehicle production control method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102882993A (en) * 2012-10-19 2013-01-16 北京奇虎科技有限公司 Computing device and downloading method thereof
CN103605531A (en) * 2013-09-12 2014-02-26 广东美的制冷设备有限公司 Household appliance control method and device and mobile terminal
CN106156019A (en) * 2015-03-23 2016-11-23 北京万方数据股份有限公司 The method and apparatus generating identifier
CN107343084A (en) * 2017-06-08 2017-11-10 宁波市美之净环保科技有限公司 A kind of mobile terminal and water dispenser plateform system and its control method
CN108154208A (en) * 2016-12-06 2018-06-12 上海众人信息技术有限公司 A kind of article mark method, recognition methods and system based on Quick Response Code

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102882993A (en) * 2012-10-19 2013-01-16 北京奇虎科技有限公司 Computing device and downloading method thereof
CN103605531A (en) * 2013-09-12 2014-02-26 广东美的制冷设备有限公司 Household appliance control method and device and mobile terminal
CN106156019A (en) * 2015-03-23 2016-11-23 北京万方数据股份有限公司 The method and apparatus generating identifier
CN108154208A (en) * 2016-12-06 2018-06-12 上海众人信息技术有限公司 A kind of article mark method, recognition methods and system based on Quick Response Code
CN107343084A (en) * 2017-06-08 2017-11-10 宁波市美之净环保科技有限公司 A kind of mobile terminal and water dispenser plateform system and its control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112434770A (en) * 2020-09-10 2021-03-02 张家港市爱上旅途网络科技有限公司 Two-dimensional code display method and system based on dot matrix screen
CN112434770B (en) * 2020-09-10 2024-04-12 张家港市爱上旅途网络科技有限公司 Two-dimensional code display method and system based on dot matrix screen
CN113448296A (en) * 2021-06-08 2021-09-28 东风柳州汽车有限公司 Vehicle production control method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110380939B (en) Consistency test method and system for local communication protocol in electricity consumption information acquisition system
CN110334791A (en) A kind of identification method and device, control system and its application method of smart machine
CN107066377B (en) Page element obtaining method based on Android system and terminal equipment
CN103293466A (en) Method and system for testing communication module on embedded printed circuit board assembly (PCBA)
CN110708214B (en) Service data display method, device, equipment and computer readable storage medium
CN111258913A (en) Automatic algorithm testing method and device, computer system and readable storage medium
CN111104108B (en) Display interface WPF generation method and device
CN107329791A (en) Method, device and the computer-readable recording medium of application are installed in scanning
CN115658529A (en) Automatic testing method for user page and related equipment
CN113377667A (en) Scene-based testing method and device, computer equipment and storage medium
CN113268416A (en) Application program testing method and device, storage medium and terminal
CN112269746A (en) Automatic testing method and related equipment
CN108170600A (en) The coverage rate statistical method of front-end code test, apparatus and system
CN108717357B (en) Page display code conversion method, device, equipment and computer storage medium
CN104765630B (en) Software installation method and device
CN106201787A (en) Terminal control method and device
CN107632909A (en) Method and system for ATE function
CN103323767A (en) Method and system for testing bluetooth module on embedded type PCBA
CN109543122B (en) Content synchronization method, device, storage medium and electronic device
CN107797927B (en) Application automation test method, device, equipment and readable storage medium
CN111078529A (en) Client write-in module testing method and device and electronic equipment
CN109635552A (en) Electronic equipment identity information verification method and device
CN114428747A (en) User interface testing method, device, server and storage medium
CN109816462A (en) A kind of recognition methods of invoice information and device
CN114564903A (en) Chip simulation design verification method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191015