CN110276191A - A kind of equipment configuration method, device and electronic equipment - Google Patents

A kind of equipment configuration method, device and electronic equipment Download PDF

Info

Publication number
CN110276191A
CN110276191A CN201910369876.6A CN201910369876A CN110276191A CN 110276191 A CN110276191 A CN 110276191A CN 201910369876 A CN201910369876 A CN 201910369876A CN 110276191 A CN110276191 A CN 110276191A
Authority
CN
China
Prior art keywords
configuration
equipment
information
verification information
connection
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
CN201910369876.6A
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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910369876.6A priority Critical patent/CN110276191A/en
Publication of CN110276191A publication Critical patent/CN110276191A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Telephone Function (AREA)

Abstract

This specification embodiment discloses a kind of equipment configuration method, device and electronic equipment, its scheme is, when monitoring to come the verification information of self-configuring device, judge whether verification information matches with preset authentication policy, whether configuration is received with determination equipment to be configured;If matching, configuration connection is established by preset connection strategy and configuration equipment;It is connected based on configuration and obtains configuration information, configuration information is for configuring equipment to be configured.

Description

A kind of equipment configuration method, device and electronic equipment
Technical field
This specification embodiment is related to field of computer technology more particularly to a kind of equipment configuration method, device and electricity Sub- equipment.
Background technique
Before the use of equipment, in use process and in the maintenance process of equipment, it often can all need to carry out equipment Configuration, the as correct parameter of device configuration, to guarantee the normal operation of equipment.
At present when configuring to equipment, usually pass through the input unit in equipment to be configured, such as keyboard, touch Screen, function button etc., configuration information is input in equipment to be configured, or by dedicated configuration equipment, first with to Configuration equipment establishes connection, and then by the connection, configuration information is imported into equipment to be configured, and last equipment to be configured is again According to configuration information, configuration is completed.
Summary of the invention
In view of this, this specification embodiment provides a kind of equipment configuration method, device and electronic equipment, for setting It is standby to be configured.
This specification embodiment adopts the following technical solutions:
This specification embodiment provides a kind of equipment configuration method, is used for equipment to be configured, comprising:
When monitoring to come the verification information of self-configuring device, judge the verification information whether with preset authentication policy Match, whether configuration is received with the determination equipment to be configured;
If matching, configuration connection is established by preset connection strategy and the configuration equipment;
It is connected based on the configuration and obtains configuration information, the configuration information is for configuring the equipment to be configured.
This specification embodiment provides a kind of equipment configuration method, for configuring equipment, comprising:
Verification information is sent to equipment to be configured, verification information is used for equipment to be configured;
Judge whether verification information matches with preset authentication policy, whether configuration is received with determination equipment to be configured;
Configuration connection is established by preset connection strategy and equipment to be configured;
Configuration information is sent to equipment to be configured based on configuration connection, configuration information is for configuring equipment to be configured.
This specification embodiment provides a kind of device configuration device, is used for equipment to be configured, comprising: authentication unit, connection Unit and configuration unit,
The authentication unit, when monitoring to come the verification information of self-configuring device, judge the verification information whether with Preset authentication policy matches, and whether receives configuration with the determination equipment to be configured,
If the authentication unit judges that the verification information is matched with the authentication policy, the connection unit is by default Connection strategy and the configuration equipment establish configuration connect,
The configuration unit obtains configuration information based on configuration connection, the configuration information for described in configuring to Configure equipment.
This specification embodiment provides a kind of device configuration device, for configuring equipment, comprising:
Transmission unit sends verification information to equipment to be configured, and verification information is used for equipment to be configured;
Whether judging unit, judges whether verification information matches with preset authentication policy, connect with determination equipment to be configured It is configured,
Connection unit establishes configuration connection by preset connection strategy and the equipment to be configured,
The transmission unit is based on configuration connection and configuration information is sent to the equipment to be configured, described to match confidence Breath is for configuring the equipment to be configured.
This specification embodiment provides a kind of electronic equipment, comprising: at least one processor and memory, the memory It is stored with program, and is configured to execute following steps by least one processor:
When monitoring to come the verification information of self-configuring device, judge the verification information whether with preset authentication policy Match, whether configuration is received with the determination equipment to be configured;
If matching, configuration connection is established by preset connection strategy and the configuration equipment;
It is connected based on the configuration and obtains configuration information, the configuration information is for configuring the equipment to be configured.
This specification embodiment provides a kind of electronic equipment, comprising: at least one processor and memory, the memory It is stored with program, and is configured to execute following steps by least one processor:
Verification information is sent to equipment to be configured, verification information is used for equipment to be configured;
Judge whether verification information matches with preset authentication policy, whether configuration is received with determination equipment to be configured;
Configuration connection is established by preset connection strategy and equipment to be configured;
Configuration information is sent to equipment to be configured based on configuration connection, configuration information is for configuring equipment to be configured.
At least one above-mentioned technical solution that this specification embodiment uses can reach following the utility model has the advantages that by connecing When receiving from verification information, using preset authentication policy, quickly and reliably determine whether to carry out configuration equipment to be configured The configuration of equipment is connected in the case where being able to carry out configuring condition by configuration is established between preset connection strategy and configuration equipment, this The configuration connection that sample was established go out is not only simple rapidly but also safe and reliable, is then based on safe and reliable configuration connection acquisition and matches Confidence breath, ensure that the configuration information got be it is safe, reliable, to ensure that equipment to be configured can match according to this Confidence breath completes correctly configuration.By in the preset authentication policy of equipment to be configured, and established based on the authentication policy logical Letter configuration connection, can either guarantee the safety and reliability of configuration process, improve the accuracy of configuration, and can simplify configuration Process improves allocative efficiency, so that configured in one piece scheme is simpler, it is easier to realize, the cost of configuration is lower, and applicability is more Extensively.
Detailed description of the invention
Attached drawing described herein is used to provide to further understand this specification embodiment, constitutes this specification and implements A part of example, the illustrative embodiments and their description of this specification are not constituted to the application not for explaining the application Work as restriction.In the accompanying drawings:
Fig. 1 is a kind of application schematic diagram for equipment configuration method that this specification embodiment proposes.
Fig. 2 is a kind of flow chart for equipment configuration method that this specification embodiment proposes.
Fig. 3 is a kind of application schematic diagram for equipment configuration method that this specification embodiment proposes.
Fig. 4 is a kind of flow chart for equipment configuration method that this specification embodiment proposes.
Fig. 5 is a kind of application schematic diagram for equipment configuration method that this specification embodiment proposes.
Fig. 6 is a kind of application schematic diagram for equipment configuration method that this specification embodiment proposes.
Fig. 7 is a kind of application schematic diagram for equipment configuration method that this specification embodiment proposes.
Fig. 8 is a kind of application schematic diagram for equipment configuration method that this specification embodiment proposes.
Fig. 9 is a kind of flow chart for equipment configuration method that this specification embodiment proposes.
Figure 10 is a kind of structural schematic diagram for device configuration device that this specification embodiment proposes.
Figure 11 is a kind of structural schematic diagram for device configuration device that this specification embodiment proposes.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with this specification specific embodiment And technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application A part of the embodiment, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not having Every other embodiment obtained under the premise of creative work is made, shall fall in the protection scope of this application.
When configuring to equipment to be configured, following manner is generallyd use:
For example, connection is established in pairing between configuration device and equipment to be configured by Bluetooth (bluetooth) device, It is then based on pairing connection, configuration information is imported into equipment to be configured, completes configuration.But the disadvantage is that, Bluetooth Communication range is wider, can simultaneously scan for many equipment, and the operating time for needing user to match in this way is longer, to the technology of user Skill requirement is also high, is also easy to malfunction.
For another example, by customized agreement, customized connection is established between configuration device and equipment to be configured, such as Customized Wi-Fi agreement, infrared communication protocol etc. are then based on the connection and configure to equipment.But the disadvantage is that, using Customized agreement, poor universality, using restricted big, and and not all scene all have solution.
Also such as, pass through the communication interface of profession, such as Webpage, serial ports, Telnet (such as telnet/ssh) Mode is configured by logging in equipment to be configured.But the disadvantage is that, such mode is high for the skill requirement of user, General user is difficult with, and implements software/hardware higher cost, is also easy to leave by the attack face of assault.
And this specification embodiment proposes a kind of equipment configuration method, device and electronic equipment, the application of configuration process is shown Being intended to can be as shown in Figure 1, includes equipment 10 to be configured and configuration equipment 20, equipment 10 to be configured so just presses preset connection plan Slightly, configuration connection is established by communication unit and configuration equipment 20, and then gets configuration information, to complete to configure.It is specific real Shi Zhong, communication unit can be selected according to the actual application, such as can be original logical based on equipment 10 to be configured itself Believe unit, or communication unit can be increased newly in equipment 10 to be configured;In addition, the concrete mode of communication can also be according to actually answering It is selected with needing, for example selection is mature, the communication mode of standard, such as can use bluetooth, Wi-Fi (WIreless- Fidelity, WLAN), the nothings such as infrared or NFC (Near Field Communication, wireless near field communication) Customized communication mode can also be used in line communication mode.
As shown in Figure 1, the equipment configuration method that this specification embodiment proposes, core concept is, in M2M (Machine To Machine, Machine To Machine) application scenarios in, i.e., in the process that is configured to equipment 10 to be configured of configuration equipment 20 In, by equipment 10 to be configured, for example before equipment 10 to be configured factory, it is just prefixed the authentication policy for configuration, And it is provided with the state for monitoring whether configuration, in this way when being configured, it is only necessary to configure equipment 20 and pass through communication unit Member sends a verification information to equipment 10 to be configured, and the verification information is for verifying whether to carry out configuration equipment 20 to be configured The configuration of equipment 10, and foundation is connected for configuring the configuration of equipment 10 to be configured after being verified, equipment to be configured in this way 10 once receive verification information, it will be able to utilize preset authentication policy, can quickly determine out be configured, that is, be verified Whether information meets preset authentication policy in equipment 10 to be configured, if meeting, just according to preset connection strategy with installing Standby 20, it establishes the configuration for configuring equipment 10 to be configured and connects, for example determine that verifying has by sending one to configuration equipment 20 The verifying return information of effect.It, can be rapidly in equipment 10 to be configured and configuration equipment 20 in this way by preset authentication policy Between, the communication process for configuring equipment 10 to be configured is established out, is not only able to effectively simplify communication process, Er Qieneng Enough guarantee that communication process is safe and reliable.Then, equipment 10 to be configured can be connected based on the configuration of safety, get safety, can The configuration information leaned on, so guarantee equipment 10 to be configured configuration process be it is safe, reliable, configuration result be it is correct, can It leans on.
The equipment configuration method that this specification embodiment proposes, it is preset for configuration by equipment 10 to be configured Authentication policy, and then can receive what configuration equipment 20 was sent, with the verification information to be matched according to preset verification information When, the communication process of safety quickly, is simply and reliably established out with configuration equipment 20, is then based on safe communication process, it can Guarantee accessed configuration information be it is safe, reliable, finally ensure that correctness, the safety of configuration, and for For equipment 10 to be configured and configuration equipment 20, configuration process is simplified, so that entire configuration flow also obtains Simplify, simple in this way, safe and reliable configuration process, the information configuration being highly suitable between M2M, for example can accomplish " to touch one Touch " just complete the process configured.
It should be noted that in this specification embodiment, before establishing configuration connection, configuration equipment and equipment to be configured Between can be using and configuration connect the mode that identical mode communicated, be also possible to using different from configuration connection Other modes are communicated.
Equipment to be configured includes the equipment configured.The equipment may include need to configure certain function could just The equipment being often used, for example, the equipment in Internet of Things, these equipment just can be carried out networking and use after needing distribution to be arranged;For another example, Break down the faulty equipment for needing to diagnose, and when device fails are diagnosed, faulty equipment needs, which are acquired, matches It sets, fault message could be acquired, to be diagnosed;For another example, the operating parameter of equipment in use, equipment needs more Change, to adapt to new operation demand.
Configuration equipment includes the equipment for being configured to equipment to be configured, is previously stored with and is used in the configuration equipment The configuration information that equipment to be configured is configured.Pre-stored configuration information may include in configuration equipment production process The configuration information being preset in configuration equipment also may include the configuration according to actual needs before configuration in input configuration equipment Information.
Above-mentioned application scenarios are merely for convenience of understanding the application and showing, and the embodiment of this specification is in this regard not It is restricted.On the contrary, the embodiment of this specification can be applied to applicable any scene.
Hereinafter, being described in detail referring to a kind of equipment configuration method, device and electronic equipment of the attached drawing to this specification.
Embodiment 1
Executing subject in the present embodiment is equipment to be configured, can realize documented technical solution in the present embodiment In equipment configuration method equipment to be configured.
Fig. 2 is a kind of flow chart for equipment configuration method that this specification embodiment proposes.
As shown in Fig. 2, in this specification embodiment equipment configuration method the following steps are included:
Step S201 judges whether the verification information for monitoring to come self-configuring device, and when monitoring verification information, holds Row step S203.
Wherein, verification information is described wait match to determine for being matched with preset authentication policy in equipment to be configured Install for whether configuration is received.
In a kind of application example, in order to effectively be initially configured, may include before receiving verification information Verification information is monitored, when the verification information of equipment monitoring arrival self-configuring device to be configured, equipment to be configured enters Proofing state is ready for verifying.
It should be noted that equipment to be configured may include receiving to come from equipment to be configured to the monitoring of verification information After the configuring request for configuring equipment, start the monitoring for carrying out verification information;It also may include that equipment to be configured is in real time to testing Demonstrate,prove the monitoring state of information;A certain range of configuration equipment can also be monitored in real time including equipment to be configured, once It monitors that configuration equipment then sends configuring request to configuration equipment, and starts the monitoring to verification information is carried out.Wherein, configuration is asked Ask the request including needing to configure equipment to be configured.
Step S203, judges whether verification information matches with preset authentication policy, if matching, thens follow the steps S205。
Wherein, authentication policy is set in advance in equipment to be configured, for verifying to verification information, to confirm wait match Install the standby configuration whether received to equipment to be configured.For example, authentication policy can be in equipment production process to be configured just The strategy being preset in equipment to be configured.
In a kind of application example, the mode of password authentification is can be used in authentication policy, at this moment can be by configuration equipment one Side, in advance will information related with password preset in equipment to be configured, be arranged in verification information, equipment to be configured in this way exists After receiving the verification information, so that it may be verified using preset password to verification information.Specifically, determining that verification information is It is no to meet in preset authentication policy, i.e. step S203 can include: judge verification information whether with preset verifying password phase Match, if matching, thens follow the steps S205.
In this way, not only increasing configuration process by using simple, safe, reliable preset password is verified again Safety avoids influence of the invalid information to configuration process, and efficiently avoids unnecessary communication process, so that whole A verification process is simple and efficient.Meanwhile being verified using the mode of preset password, equipment to be configured can have both been reduced to configuration The performance requirement of process, and can simply and reliably establish out and communicate to connect between equipment to be configured and configuration equipment, it improves Allocative efficiency.
In a kind of application example, authentication policy can be according to the whether legal progress in source of the verification information to verification information Verifying, to better ensure that the safety of configuration.For example, may include testing the configuration equipment for sending the verification information Card, at this moment authentication policy may include the strategy verified to configuration equipment.
Specifically, can be includes device code in verifying password, has in verification information and sets with what device code matched Standby identification code, in this way by judging whether EIC equipment identification code matches with device code, and in EIC equipment identification code and device code phase Timing, it may be determined that going out the configuration equipment is legal, the acceptable configuration of the at this moment described equipment to be configured.Wherein, EIC equipment identification code Equipment is configured for identifying, device code to whether EIC equipment identification code matches for verifying.
In a kind of application example, authentication policy can also be according to verification information to of configuration information and equipment to be configured It is verified with property, configuration failure, even configuration error occurs to avoid because configuration information and equipment to be configured mismatches Situation.For example, may include verifying to the version of configuration information in configuration equipment, at this moment authentication policy further includes to matching Whether confidence breath matches the strategy verified with equipment to be configured.
Specifically, can be includes version code in verifying password, has the version to match with version code in verification information This identification code, in this way by judging whether version recognition code matches with version code, and in version recognition code and version code phase Timing, it may be determined that going out the configuration information is legal, the acceptable configuration of the at this moment described equipment to be configured.Wherein, version recognition code For identifying configuration information, version code to whether version recognition code matches for verifying.
In a kind of application example, original configuration information may be stored in equipment to be configured, at this point, configuring in judgement Information may include such as under type with whether equipment to be configured matches:
If when in equipment to be configured without configuration information, judging whether version recognition code matches including according to version with version code Identification code judge the version configuration information whether with preset version match in equipment to be configured.
For example, the configuration information that equipment to be configured is able to use includes A version, B version and C version, what is received matches It is A version that confidence, which ceases configuration information representated by verification information, then it is assumed that the configuration information verification information and equipment to be configured Match.
If equipment to be configured has preserved original configuration information, judge whether version recognition code matches packet with version code Include according to version recognition code judge the version configuration information whether with preset version match in equipment to be configured, further include root According to version recognition code judge the version configuration information and stored original configuration information in equipment to be configured version whether Matching.
For example, it is A1 version that original configuration information has been stored in equipment to be configured, the configuration information verifying letter received The representative configuration information of breath is A2 version, if the A2 version is the upgrade version of A1 version, i.e. A2 version is greater than or equal to A1 editions This, then determine that the configuration information verification information is matched with equipment to be configured, and original matches with stored in equipment to be configured The version match of confidence breath.
It should be noted that if the version of configuration information is lower than the version of original configuration information, then basis is needed to carry out autogamy It installs standby confirmation message and determines that the configuration information meets authentication policy.
The accuracy that ensure that subsequent configuration to the verifying of configuration information and equipment matching to be configured, effectively prevent by The configuration failure caused by configuration information mismatches, and then the influence to equipment operation is avoided, simultaneously as to matching before configuration The content of confidence breath is verified, and enables once and mistake occurs and modify in time, improves allocative efficiency.
In a kind of application example, in order to avoid information is trapped and leaks during communication, it can use The mode of encryption come guarantee configuration safety, for example, verification information is encrypted.
For example, can be encrypted by the way of asymmetric encryption to verification information, a pair of of public key and private key are set, made The verification information in configuration equipment is encrypted with public key, equipment is configured by encrypted verification information and is sent to be configured set Standby, equipment to be configured is decrypted verification information using private key.
Step S205 establishes configuration connection by preset connection strategy and configuration equipment.
Wherein, connection strategy is pre-set for establishing configuration connection between equipment to be configured and configuration equipment Strategy.
Configuration connection includes the communication connection used when configuring equipment and configuring to equipment to be configured specifically can To include the wireless communication connection for meeting preset distance, which can be selected according to actual needs, such as NFC logical Letter connection (wireless near field communication connection).
Specifically, connection strategy may include for establishing the logical of configuration connection between equipment to be configured and configuration equipment Agreement is believed, for example, at least one of Bluetooth communication protocol, Wi-Fi communication protocol, infrared communication protocol, NFC communications protocol etc. Communication protocol.
It,, can be using wait match after being verified in order to further increase the safety of configuration in a kind of application example It installs the standby mode for sending verifying return information to configuration equipment and establishes configuration connection, at this moment in configuration equipment side, can be It is established and is configured based on the verifying return information and equipment to be configured received from equipment to be configured, for indicating to be verified Connection.
For example, may include in equipment to be configured it is preset be verified code, when being verified, equipment to be configured tests this Card is sent to configuration equipment by code, at this moment, configures equipment side and can be verified code based on this and configure equipment and establish and lead to Letter connection.
In a kind of application example, after the completion of verifying, in order to guarantee the smooth execution of subsequent configuration, configuration effect is improved Rate, it is when verification information does not meet preset authentication policy in equipment, i.e., to be configured when verification information and verifying password mismatch Equipment sends the verifying return information for indicating authentication failed to configuration equipment, in order to re-start configuration.
It should be noted that in order to avoid during communication information be trapped and leak, for verifying reply Information can also guarantee safety by the way of encryption.
Step S207 obtains configuration information based on configuration connection, and configuration information is for configuring equipment to be configured.
Wherein, configuration information includes the information for being configured to equipment to be configured.For example, when equipment to be configured is to want When configuring the equipment of certain function ability normal use, configuration information may include device parameter;When equipment to be configured is to encounter When the equipment that failure is diagnosed, configuration information may include acquisition instructions, which is used for equipment to be configured Information collection controlled.
Since the configuration of equipment to be configured is that the configuration information obtained based on the configuration connection being verified is performed, no But it can be avoided influence of the invalid information to configuration process, guarantee that the configuration of equipment to be configured is correct, safe and reliable , and entire configuration process operation is very simple, and allocative efficiency can be improved.
In a kind of application example, the process configured may include write-in configuration information, change configuration information and Read one of configuration information or a variety of.
In a kind of application example, according to practical application scene, flexible set-up mode setting configuration information can be used, than Such as using the interactive interface of configuration equipment, configuration information directly is inputted in configuration equipment, can for another example be preset at configuration equipment Middle setting configuration information can come that configuration information flexibly is arranged as needed, configure in this way by flexible set-up mode Journey is more flexible, and configuration application is more extensive.
In a kind of application example, the method further include: send configuration result information to configuration equipment.Specifically, Equipment to be configured is completed to send configuration result information to configuration equipment with postponing according to the configuration information received, in order to Configure equipment side according to configuration result information carry out respective handling, such as configuration result information be configuration successful when, can terminate This configuration process prompts successfully etc., when for another example configuration result information is configuration failure, collects failure information, prompt Failure etc..
S201 to step S207 through the above steps, when receiving the verification information for carrying out self-configuring device, using default Authentication policy, quickly and reliably determine whether to carry out configuration of the configuration equipment to equipment to be configured, be able to carry out configuration feelings Under condition, by configuration connection is established between preset connection strategy and configuration equipment, the configuration connection gone out being built such that was both simple It is rapidly and safe and reliable, it is then based on the safe and reliable configuration connection and obtains configuration information, ensure that is got matches confidence Breath is safe, reliable, to ensure that equipment to be configured can complete correctly configuration according to the configuration information.By The preset authentication policy of equipment to be configured, and communication configuration connection is established based on the authentication policy, it can either guarantee to configure The safety and reliability of journey improves the accuracy of configuration, and can simplify configuration process, improves allocative efficiency, so that whole Allocation plan is simpler, it is easier to realize, the cost of configuration is lower, and applicability is wider.
Embodiment 2
In example 2, for method in the same manner as in Example 1, using identical symbol and identical explanation is omitted.
The equipment configuration method provided in the present embodiment is on the basis of embodiment 1, to be established using NFC mechanics of communication Configure the equipment configuration method of connection.
Fig. 3 is a kind of application schematic diagram for equipment configuration method that this specification embodiment proposes.
As shown in figure 3, being respectively arranged with corresponding NFC communication unit (low coverage in equipment 30 to be configured and configuration equipment 40 From wireless communication unit), NFC communication agreement can be used in such connection strategy, thus in equipment 30 to be configured and configuration equipment 40 Between, low in energy consumption, highly-safe, high reliablity, point-to-point NFC communication are established out, to connect as the configuration.
In specific implementation, if functions of the equipments to be configured are simple, the NFC communication unit in equipment to be configured can be will be whole A service code and NFC communication function are all integrated in the SOC chip with NFC communication function;If equipment function to be configured Energy is complicated or can not be integrated in single NFC function SOC chip, then is also possible to the configuration NFC except mainly control chip and leads to Chip is believed, dedicated for NFC communication.
Configuring equipment may include the mobile terminal with NFC communication function, also may include other with NFC communication function The electronic equipment of energy.If desired the configuration information configured is complicated, then configuring equipment can be feature-rich configuration equipment, such as Mobile terminal;If configuration information is simple, configuring equipment can be the simple low-cost equipment of function.
Due to carrying out device configuration using NFC communication technology, NFC self communication can make full use of apart from short, cost It is low, it low in energy consumption, the features such as safety and reliability is high, avoids executing unstable factor present in configuration process, example at a distance Such as, the configuration of short distance can omit the operation that configuration object is selected in configuration process, and then avoid configuration Object Selection mistake Deng unstable factor;And for NFC communication using standard communication protocol, greatly improve the configuration method applies model It encloses;Further, requirement of the NFC communication to configuration equipment and equipment to be configured is low, it is only necessary in configuration equipment and to be configured set Standby middle configuration NFC chip, can be communicated.
Fig. 4 is a kind of flow chart for equipment configuration method that this specification embodiment proposes.
As shown in figure 4, the equipment configuration method of this specification embodiment the following steps are included:
Step S401, equipment to be configured are received by NFC chip built-in in equipment come the verification information of self-configuring device.
Specifically, when configure equipment and equipment to be configured close to when, the NFC chip configured in equipment issues radiofrequency field, to State to be configured can be entered under the wake-up of the radiofrequency field by configuring the NFC chip in equipment, and configuration equipment is sent out to equipment to be configured Verification information is sent, the NFC chip in equipment to be configured receives verification information by load modulation technique.
It should be noted that can also be in above-mentioned wakeup process when equipment to be configured sense configuration equipment close to when, NFC chip in equipment to be configured issues radiofrequency field, configures the NFC chip in equipment under the wake-up of the radiofrequency field in configuration State.
Step S403, equipment to be configured judge whether verification information matches with preset authentication policy, if matching, executes Step S405.
In this specification embodiment, in order to improve allocative efficiency, whether when verifying legal to configuration equipment verified with And configuration information is verified with whether equipment to be configured matches.
It include that EIC equipment identification code and version identify in verification information for example, including device code and version code in verifying password Code, in this way when device code is matched with EIC equipment identification code, version code with version recognition code, it may be determined that the configuring request is legal 's.
While using NFC communication technology, communication connection is established using password authentification, is made it possible to be effectively reduced and is set A possibility that in communication process between standby by assault.
Step S405, equipment to be configured are verified information to configuration equipment transmission by NFC chip, build with configuration equipment Vertical configuration connection.
Step S407, equipment to be configured obtain configuration information from configuration equipment by NFC chip.
Step S409, equipment to be configured are configured according to configuration information.
Step S4011, equipment to be configured send configuration result information to configuration equipment by NFC chip.
Wherein, configuration result information includes configuration status, such as configuration successful or configuration failure.
It can also include failure cause information in configuration result information if configuration failure.
In a kind of application example, equipment to be configured include encounter the equipment diagnosed after failure needs to configure, at this point, It can also include acquisition instructions in configuration information, which controls for table in the information collection to equipment to be configured System.
For example, being received in acquisition instructions comprising the information for needing to acquire in equipment and acquisition initiation command, faulty equipment After acquisition instructions, the acquisition of information is carried out according to acquisition instructions, collected information is sent to diagnostic device, to be examined It is disconnected.
Due to containing acquisition instructions in configuration information, the information of faulty equipment can be obtained in advance before repairing, To determine maintenance program according to collected facility information, maintenance efficiency is improved, maintenance cost is reduced.
In this specification embodiment, carried out data transmission using NFC communication technology, and in the verifying by equipment to be configured After establish secure connection, and then configuration information is obtained based on secure connection and is configured, it is only necessary to it is simply close to configure equipment Or contact equipment to be configured can complete the configuration of equipment, entire configuration process is easy to operate, and has good safety.
Further, the equipment configuration method proposed in this specification embodiment can for different equipment to be configured and Configuration equipment is configured, and specific configuration method is described as follows:
For ease of understanding, below with Application Scenarios-Example, to the equipment configuration method proposed in this specification embodiment into Row is schematically illustrate:
Application scenarios one: the configuration of speaker networking parameter
Speaker is the equipment of outer sound reproduction sound, does not have the setting device of running parameter usually, such as human-computer interaction interface, Input keyboard etc., at this moment running parameter often can only speaker factory before, just carry out it is preset, and dispatch from the factory after can not change, but In some applications, some running parameters must be configured again according to practical application, such as intelligent sound box, in consumer When needing to access the Wi-Fi network of oneself family, just need to network parameter configuration into speaker, such as SSID (Service Set Identifier, service set), password etc., this just needs a kind of flexible, efficient configuration method.Therefore, using this theory The equipment configuration method that bright book embodiment provides, to configure the networking parameter of speaker.
As shown in figure 5, if speaker has NFC communication unit, at this moment using the equipment of this specification embodiment offer Configuration method, by the way that in the mobile terminal (such as smart phone) with NFC communication unit, networking parameter is input to configuration Networking parameter is transmitted to speaker then by the APP and NFC communication unit in mobile terminal by APP (application program) In NFC communication unit (such as NFC chip), such speaker can get networking parameter, and then achievable networking configures.
Specifically, first networking parameter is input in APP, then by mobile terminal close to speaker, at this moment mobile terminal is logical It crosses NFC chip and verification information is sent to speaker, when speaker determines that the verification information received meets preset authentication policy Generation is verified information, and the information being verified is sent to mobile terminal by NFC chip by speaker, and mobile terminal is according to connecing The information that is verified received is established NFC with speaker and is connect, and configuration information is sent to speaker by configuration connection, in speaker The configuration information that is received according to NFC chip of MCU (micro-control unit) execute networking configuration, configuration complete after to mobile terminal It sends configuration and completes information, prompt configuration successful.
In this application scene, by the NFC communication function and APP cooperation in mobile terminal, only need gently one touch It realizes and the operations such as write-in configuration/change configuration/reading configuration is carried out to the networking parameter of speaker, configuration process is simple, and speed is fast, Safety is also high.
It should be noted that the application here by taking speaker as an example, to the equipment configuration method that this specification embodiment provides Process is illustrated, therefore does not have the equipment to be configured of parameter setting apparatus, and the networking parameter that can also refer to speaker is matched Process is set, realizes configuration using the equipment configuration method that this specification provides, which is not described herein again.
Application scenarios two: the configuration of controlled device remote control code.
When using universal remote control device controlled device, remote controler is based on remote control code and sends control to controlled device System instruction, and then the operation of controlled device is controlled, therefore the remote control code that remote controler and controlled device need to have unified.Due to The remote control code of the offer of each manufacturer is not communicated with use so that general remote controller generallyd use when being adapted to different controlled devices by The method of a agreement test configures controlled device, and when every secondary control new controlled device requires to re-start test, Complicated for operation, applicability is low, thus need a kind of simple, effective configuration method be remotely controlled the configuration of control code therefore can The equipment configuration method provided using this specification embodiment, the configuration of control code is remotely controlled to controlled device.
As shown in fig. 6, if controlled device and remote controler all have NFC communication unit, at this moment using this specification reality The equipment configuration method that example offer is provided, by the NFC communication unit in remote controler, the remote control code that will be preset in remote controler It is transmitted in the NFC communication unit (such as NFC chip) of controlled device, such controlled device can get remote control code, Jin Erke Complete remote control configuration.
Specifically, when configuring to controlled device, by remote controler close to controlled device, remote controler will by NFC chip Verification information is sent to controlled device, the generation when controlled device determines that the verification information received meets preset authentication policy It is verified information, controlled device will be verified information by NFC chip and be sent to remote controler, and remote controler is according to receiving It is verified information and controlled device establishes configuration connection, connected by the configuration and configuration information is sent to controlled device, quilt MCU (micro-control unit) in control equipment executes control configuration according to the configuration information that NFC chip receives, and configuration is completed backward Remote controler sends configuration and completes information, prompts configuration successful.
In this application scene, by the NFC communication function in remote controler, only remote controler is needed to touch controlled device Complete remote control configuration, simplify configuration process, improve allocative efficiency, improve experience sense by.
It should be noted that here by taking remote controler as an example, the equipment configuration method that provides to this specification embodiment is answered It is illustrated with process, since remote controler and controlled device do not have the setting device of remote control code, remote control Code would generally be carried out before factory it is preset, and dispatch from the factory after without change, therefore, the configuration equipment without parameter setting apparatus, The configuration process that can also refer to controlled device remote control code realizes configuration using the equipment configuration method that this specification provides, Which is not described herein again.
It should also be noted that, being also possible to controlled device as configuration equipment, remote controler conduct in this application scene Equipment to be configured, preset remote control code is sent to remote controler by NFC chip by controlled device, and then is completed remote control and matched It sets.Specific configuration process can realize that details are not described herein again using configuration method of the remote controler to controlled device.
Application scenarios three: blender mixing parametric configuration.
When blender is stirred different material, different stirring containers can be used, different mixing parametrics is set It is stirred, for example, mixing parametric may include dynamics, time, stirring range etc..Although the configuration of blender mixing parametric It can be carried out, but such configuration process low efficiency, complicated for operation, poor user experience, therefore needed by key, the modes such as knob A kind of efficient, accurate configuration method, enables blender rapidly to configure correct mixing parametric.Therefore, using this The equipment configuration method that specification embodiment provides, to configure the mixing parametric of blender.
If at this moment being set using what this specification embodiment provided as shown in fig. 7, blender has NFC communication unit Standby configuration method, is monitored the equipment of attachment by the NFC communication unit on blender, once it has monitored to be provided with The stirring container of NFC communication unit is close, just wakes up corresponding NFC communication unit in stirring container by NFC communication unit, leads to It crosses NFC communication unit and obtains mixing parametric preset in stirring container, and then achievable stirring configures.
Specifically, when being configured to blender, when blender sense stirring container close to when, blender passes through NFC Chip wakes up the NFC chip in stirring container, and sends configuring request to stirring container, and stirring container is received by NFC chip To after configuring request, verification information is sent to blender, when blender determines that the verification information received meets preset test It is generated when card strategy and is verified information, blender will be verified information by NFC chip and be sent to stirring container, and stirring is held Device is verified information and blender foundation configuration connection according to what is received, is connected by the configuration and is sent to configuration information Blender, the MCU (micro-control unit) in blender execute stirring configuration, configuration according to the configuration information that NFC chip receives Configuration is sent to container after completion and completes information, prompts configuration successful.
In this application scene, blender by NFC function can stirring container close to when read mixing parametric, in turn It realizes and stirs configuration, simplify the configuration process of equipment, both without inputting complicated configuration parameter, without using extra dress Set and configured, and due to configuration information with configuration equipment be it is mutual corresponding, can determine it by configuring equipment Included in configuration information, further increase the accuracy of configuration, reduce a possibility that configuration error occurs.
It should be noted that here by taking blender as an example, the equipment configuration method that provides to this specification embodiment is answered It is illustrated with process, blender has the function of similar card reader, by reading the configuration information in stirring container, comes It is configured, it is therefore desirable to realize that the equipment to be configured for reading configuration information function, the mixing parametric that can also refer to blender are matched Process is set, realizes configuration using the equipment configuration method that this specification provides, which is not described herein again.
Application scenarios four: the configuration of faulty equipment Diagnostic parameters.
When device fails, it usually needs equipment is transported maintenance or asks the maintenance of showing up of professional person, however, real Most of faulty equipments can be completed to tie up under the guidance of professional person after being collected into fault message by ordinary user on border It repairs, even if professional person must be transferred to repair, the fault message of prior collecting device can also greatly shorten maintenance process, because This carrys out the Diagnostic parameters of config failure equipment using the equipment configuration method that this specification embodiment provides.
If at this moment being provided using this specification embodiment as shown in figure 8, diagnostic device has NFC communication unit Equipment configuration method will be comprising needing the information acquired and acquisition to start by the faulty equipment with NFC communication unit The acquisition instructions of order are input to the APP (application program) of configuration, then pass through the APP and NFC communication list in diagnostic device Acquisition instructions are transmitted in the NFC communication unit (such as NFC chip) of faulty equipment by member, and such faulty equipment can get acquisition Instruction, and then achievable acquisition configuration.
Specifically, by diagnostic device close to faulty equipment, verification information is sent to failure by NFC chip by diagnostic device Equipment generates when faulty equipment determines that the verification information received is asked and meets preset authentication policy and is verified information, therefore Barrier equipment will be verified information by NFC chip and be sent to diagnostic device, and diagnostic device is verified letter according to what is received Breath establishes configuration connection with faulty equipment, configuration information is sent to faulty equipment by configuration connection, in faulty equipment MCU (micro-control unit) is configured according to the acquisition that NFC chip receives.At this point, the configuration information that faulty equipment receives In include acquisition instructions, which includes the information that needs to acquire in equipment and acquisition initiation command, faulty equipment according to Acquisition instructions carry out the acquisition of information according to acquisition instructions, and collected information is sent to diagnostic device, for diagnostic device Diagnosis uses.
It is preset in equipment generally directed to the information to be collected of the fault information acquisition of equipment, such mode makes Information to be collected is not easy to adjust, and the configuration of whole equipment is needed to be adjusted if going wrong, complicated for operation, and repairs Journey of correcting one's mistakes easily causes unnecessary problem.In this application scene, in the event of a failure, the information acquired will be needed by examining Disconnected device configuration carries out information collection in time, ensure that going on smoothly for follow-up diagnosis, simultaneously as needing into faulty equipment The information to be acquired is to input equipment to be configured by the way of configuration, can be adjusted, ensure that according to actual needs The flexibility of device diagnostic simplifies the configuration process of equipment, improves diagnosis efficiency.
It should be noted that here by taking faulty equipment as an example, equipment configuration method that this specification embodiment is provided Application process is illustrated, it is therefore desirable to which the equipment to be configured for realizing information collection can also refer to the diagnosis of faulty equipment Parameter Configuration process realizes configuration using the equipment configuration method that this specification provides, and which is not described herein again.
Embodiment 3
The executing subject of the present embodiment is equipment to be configured, can realize documented skill in this specification embodiment 3 The configuration equipment of the configuration method of equipment in art scheme.
Fig. 9 is a kind of flow chart for equipment configuration method that this specification embodiment proposes.
As shown in figure 9, in this specification embodiment equipment configuration method the following steps are included:
Step S901 sends verification information to equipment to be configured.
Wherein, equipment to be configured may include the equipment configured;Configuring equipment includes for setting to be configured The standby equipment configured;Verification information is used for equipment to be configured.
Whether step S903, judges whether verification information matches with preset authentication policy, connect with determination equipment to be configured It is configured.
Step S905 establishes configuration connection by preset connection strategy and equipment to be configured.
In a kind of application example, configuration equipment can be replied using according to the verifying from equipment to be configured received The mode of information, such as it is verified information, establish configuration connection.
Configuration information is sent to equipment to be configured based on configuration connection by step S907, and configuration information is for configuring wait match It installs standby.
Embodiment 4
Figure 10 is a kind of structural schematic diagram for device configuration device that this specification embodiment proposes.
Conceived based on the same application, the device configuration device that this specification embodiment is recorded may include: authentication unit 1001, connection unit 1003 and configuration unit 1005
Authentication unit 1001, when monitoring to come the verification information of self-configuring device, judge verification information whether with it is default Authentication policy match, whether configuration is received with determination equipment to be configured,
If authentication unit 1001 judges that verification information matches with authentication policy, connection unit 1003 presses preset connection Strategy establishes configuration connection with configuration equipment,
Configuration unit 1005 obtains configuration information based on configuration connection, and configuration information is for configuring equipment to be configured.
Optionally, authentication policy includes the authentication policy verified to configuration equipment;
And/or authentication policy includes whether matching the authentication policy verified with equipment to be configured to configuration information.
It optionally, include preset verifying password in authentication policy,
Judging whether verification information matches with preset authentication policy includes:
Judge whether verification information matches with verifying password.
Optionally, verifying password includes device code and/or version code,
It include EIC equipment identification code in verification information when verifying in password includes device code,
Judging whether verification information matches with preset authentication policy includes:
Judge whether EIC equipment identification code matches with device code;
It include version recognition code in verification information when verifying in password includes version code,
Judging whether verification information matches with preset authentication policy includes:
Judge whether version recognition code matches with version code.
Optionally, configuration connection includes meeting the wireless communication connection of preset distance.
Optionally, the wireless communication connection for meeting preset distance includes that wireless near field communication connects.
Optionally, configuration information includes the configuration information that inputs or the configuration being preset in configuration equipment in configuration equipment Information.
Optionally, the device further include:
Configuration result information is sent to configuration equipment.
Based on the same inventive concept, this specification embodiment also provides a kind of electronic equipment, including at least one processor And memory, the memory are stored with program, and are configured to execute following steps by least one processor:
When monitoring to come the verification information of self-configuring device, judge verification information whether with preset authentication policy phase Match, whether configuration is received with determination equipment to be configured;
If matching, configuration connection is established by preset connection strategy and configuration equipment;
It is connected based on configuration and obtains configuration information, configuration information is for configuring equipment to be configured.
Wherein, the other function of processor is no longer gone to live in the household of one's in-laws on getting married one by one here referring also to the content recorded in above-described embodiment It states.
Based on the same inventive concept, this specification embodiment also provides a kind of computer readable storage medium, including with electricity The program that sub- equipment is used in combination, program can be executed by processor to complete following steps:
When monitoring to come the verification information of self-configuring device, judge verification information whether with preset authentication policy phase Match, whether configuration is received with determination equipment to be configured;
If matching, configuration connection is established by preset connection strategy and configuration equipment;
It is connected based on configuration and obtains configuration information, configuration information is for configuring equipment to be configured.
At least one above-mentioned technical solution that this specification embodiment uses can reach following the utility model has the advantages that by connecing When receiving the verification information for carrying out self-configuring device, using preset authentication policy, quickly and reliably determine whether match to install The standby configuration to equipment to be configured is established in the case where being able to carry out configuring condition as between preset connection strategy and configuration equipment Configuration connection, the configuration connection gone out being built such that was not only simple rapidly but also safe and reliable, was then based on the safe and reliable configuration Connection obtains configuration information, ensure that the configuration information got be it is safe, reliable, to ensure that equipment energy to be configured It is enough that correctly configuration is completed according to the configuration information.By in the preset authentication policy of equipment to be configured, and it is based on the verifying plan It is slightly connected to establish communication configuration, can either guarantee the safety and reliability of configuration process, improve the accuracy of configuration, and energy Enough simplify configuration process, allocative efficiency is improved, so that configured in one piece scheme is simpler, it is easier to it realizes, the cost of configuration is lower, Applicability is wider.
Embodiment 5
Figure 11 is a kind of structural schematic diagram for device configuration device that this specification embodiment proposes.
Conceived based on the same application, the device configuration device that this specification embodiment is recorded may include:
Transmission unit 1101 sends verification information to equipment to be configured, and verification information is used for equipment to be configured,
Judging unit 1103, judges whether verification information matches with preset authentication policy, is with determination equipment to be configured No receiving configuration,
Connection unit 1105 establishes configuration connection by preset connection strategy and equipment to be configured,
Transmission unit 1101 is based on communication connection and configuration information is sent to equipment to be configured, configuration information for configure to Configure equipment.
Based on the same inventive concept, this specification embodiment also provides a kind of electronic equipment, including at least one processor And memory, the memory are stored with program, and are configured to execute following steps by least one processor:
Verification information is sent to equipment to be configured, verification information is used for equipment to be configured;
Judge whether verification information matches with preset authentication policy, whether configuration is received with determination equipment to be configured;
Configuration connection is established by preset connection strategy and equipment to be configured;
Configuration information is sent to equipment to be configured based on configuration connection, configuration information is for configuring equipment to be configured.
Wherein, the other function of processor is no longer gone to live in the household of one's in-laws on getting married one by one here referring also to the content recorded in above-described embodiment It states.
Based on the same inventive concept, this specification embodiment also provides a kind of computer readable storage medium, including with electricity The program that sub- equipment is used in combination, program can be executed by processor to complete following steps:
Verification information is sent to equipment to be configured, verification information is used for equipment to be configured;
Judge whether verification information matches with preset authentication policy, whether configuration is received with determination equipment to be configured;
Configuration connection is established by preset connection strategy and equipment to be configured;
Configuration information is sent to equipment to be configured based on configuration connection, configuration information is for configuring equipment to be configured.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example, Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit. Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device (Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " is patrolled Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development, And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language (Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL (Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL (Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages, The hardware circuit for realizing the logical method process can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can Read medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit, ASIC), the form of programmable logic controller (PLC) and insertion microcontroller, the example of controller includes but is not limited to following microcontroller Device: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320 are deposited Memory controller is also implemented as a part of the control logic of memory.It is also known in the art that in addition to Pure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logic Controller is obtained to come in fact in the form of logic gate, switch, specific integrated circuit, programmable logic controller (PLC) and insertion microcontroller etc. Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in it The device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functions For either the software module of implementation method can be the structure in hardware component again.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment The combination of equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this The function of each unit can be realized in the same or multiple software and or hardware when application.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method of element, commodity or equipment.
The application can describe in the general context of computer-executable instructions executed by a computer, such as program Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, group Part, data structure etc..The application can also be practiced in a distributed computing environment, in these distributed computing environments, by Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with In the local and remote computer storage media including storage equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal Replacement, improvement etc., should be included within the scope of the claims of this application.

Claims (21)

1. a kind of equipment configuration method is used for equipment to be configured, comprising:
When monitoring to come the verification information of self-configuring device, judge the verification information whether with preset authentication policy phase Match, whether configuration is received with the determination equipment to be configured;
If matching, configuration connection is established by preset connection strategy and the configuration equipment;
It is connected based on the configuration and obtains configuration information, the configuration information is for configuring the equipment to be configured.
2. according to the method described in claim 1, the authentication policy includes the strategy verified to the configuration equipment;
And/or the authentication policy includes whether matching the plan verified with the equipment to be configured to the configuration information Slightly.
3. according to the method described in claim 1, in the authentication policy include preset verifying password,
It is described to judge whether the verification information matches with preset authentication policy and include:
Judge whether the verification information matches with the verifying password.
4. according to the method described in claim 3, the verifying password includes device code and/or version code,
It include EIC equipment identification code in the verification information in the verifying password when including device code,
It is described to judge whether the verification information matches with preset authentication policy and include:
Judge whether the EIC equipment identification code matches with the device code;
It include version recognition code in the verification information in the verifying password when including version code,
It is described to judge whether the verification information matches with preset authentication policy and include:
Judge whether the version recognition code matches with the version code.
5. according to the method described in claim 1, the configuration connection includes meeting the wireless communication connection of preset distance.
6. according to the method described in claim 5, the wireless communication connection for meeting preset distance is logical including near radio Letter connection.
7. according to the method described in claim 1, the configuration information includes the configuration information inputted in the configuration equipment Or it is preset in the configuration information in the configuration equipment.
8. the acquisition instructions are used for described according to the method described in claim 1, the configuration information includes acquisition instructions The information collection of equipment to be configured is controlled.
9. according to the method described in claim 1, further include:
Configuration result information is sent to the configuration equipment.
10. a kind of equipment configuration method, for configuring equipment, comprising:
Verification information is sent to equipment to be configured, the verification information is used for the equipment to be configured;
Judge whether the verification information matches with preset authentication policy, whether receives to match with the determination equipment to be configured It sets;
Configuration connection is established by preset connection strategy and the equipment to be configured;
Configuration information is sent to the equipment to be configured based on configuration connection, the configuration information for configure it is described to Configure equipment.
11. a kind of device configuration device is used for equipment to be configured, comprising: authentication unit, connection unit and configuration unit,
The authentication unit, when monitoring to come the verification information of self-configuring device, judge the verification information whether with it is default Authentication policy match, whether configuration is received with the determination equipment to be configured;
If the authentication unit judges that the verification information is matched with the authentication policy, the connection unit presses preset company It connects strategy and establishes configuration connection with the configuration equipment;
The configuration unit obtains configuration information based on configuration connection, and the configuration information is described to be configured for configuring Equipment.
12. device according to claim 11, the authentication policy includes the strategy verified to the configuration equipment;
And/or the authentication policy includes whether matching the plan verified with the equipment to be configured to the configuration information Slightly.
It include preset verifying password in the authentication policy 13. device according to claim 11,
It is described to judge whether the verification information matches with preset authentication policy and include:
Judge whether the verification information matches with the verifying password.
14. device according to claim 13, the verifying password includes device code and/or version code,
It include EIC equipment identification code in the verification information in the verifying password when including device code,
It is described to judge whether the verification information matches with preset authentication policy and include:
Judge whether the EIC equipment identification code matches with the device code,
It include version recognition code in the verification information in the verifying password when including version code,
It is described to judge whether the verification information matches with preset authentication policy and include:
Judge whether the version recognition code matches with the version code.
15. device according to claim 11, the configuration connection includes meeting the wireless communication connection of preset distance.
16. device according to claim 15, the wireless communication connection for meeting preset distance includes near radio Communication connection.
17. device according to claim 11, the configuration information includes being inputted in the configuration equipment with confidence The configuration information for ceasing or being preset in the configuration equipment.
18. device according to claim 11, further includes:
Configuration result information is sent to the configuration equipment.
19. a kind of device configuration device, for configuring equipment, comprising:
Transmission unit sends verification information to equipment to be configured, and the verification information is used for the equipment to be configured;
Judging unit, judges whether the verification information matches with preset authentication policy, is with the determination equipment to be configured No receiving configuration;
Connection unit establishes configuration connection by preset connection strategy and the equipment to be configured,
The transmission unit is based on configuration connection and configuration information is sent to the equipment to be configured, and the configuration information is used In the configuration equipment to be configured.
20. a kind of electronic equipment, comprising: at least one processor and memory, the memory is stored with program, and is matched It is set to and following steps is executed by least one processor:
When monitoring to come the verification information of self-configuring device, judge the verification information whether with preset authentication policy phase Match, whether configuration is received with the determination equipment to be configured;
If matching, configuration connection is established by preset connection strategy and the configuration equipment;
It is connected based on the configuration and obtains configuration information, the configuration information is for configuring the equipment to be configured.
21. a kind of electronic equipment, comprising: at least one processor and memory, the memory is stored with program, and is matched It is set to and following steps is executed by least one processor:
Verification information is sent to equipment to be configured, the verification information is used for the equipment to be configured;
Judge whether the verification information matches with preset authentication policy, whether receives to match with the determination equipment to be configured It sets;
Configuration connection is established by preset connection strategy and the equipment to be configured;
Configuration information is sent to the equipment to be configured based on configuration connection, the configuration information for configure it is described to Configure equipment.
CN201910369876.6A 2019-05-06 2019-05-06 A kind of equipment configuration method, device and electronic equipment Pending CN110276191A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910369876.6A CN110276191A (en) 2019-05-06 2019-05-06 A kind of equipment configuration method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910369876.6A CN110276191A (en) 2019-05-06 2019-05-06 A kind of equipment configuration method, device and electronic equipment

Publications (1)

Publication Number Publication Date
CN110276191A true CN110276191A (en) 2019-09-24

Family

ID=67959691

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910369876.6A Pending CN110276191A (en) 2019-05-06 2019-05-06 A kind of equipment configuration method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110276191A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110868720A (en) * 2019-12-24 2020-03-06 西安闻泰电子科技有限公司 Method and device for identifying base station message, mobile terminal and storage medium
CN112255555A (en) * 2020-10-15 2021-01-22 中国人民解放军陆军工程大学 Battery monitoring system based on awakening mechanism

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6782474B1 (en) * 1998-06-10 2004-08-24 Ssh Communication Security Ltd. Network connectable device and method for its installation and configuration
CN102185864A (en) * 2011-05-13 2011-09-14 北京星网锐捷网络技术有限公司 Security authentication strategy configuration method, device and system
CN105009618A (en) * 2013-04-28 2015-10-28 华为终端有限公司 Method, device and system for configuring wireless terminal
US20150358820A1 (en) * 2013-05-07 2015-12-10 Huawei Device Co., Ltd. Method for Establishing Connection Between Devices, Configuration Device, and Wireless Device
CN105553964A (en) * 2015-12-10 2016-05-04 小米科技有限责任公司 Method and apparatus for controlling Bluetooth device
EP3113407A1 (en) * 2015-07-02 2017-01-04 GN ReSound A/S Client device with certificate and related method
CN106878462A (en) * 2017-03-28 2017-06-20 上海与德科技有限公司 The means of communication and device of equipment room
CN108337210A (en) * 2017-01-19 2018-07-27 阿里巴巴集团控股有限公司 Equipment configuration method and device, system
CN108594731A (en) * 2018-07-12 2018-09-28 上海上晟电子科技有限公司 A kind of intelligent electric appliance control method based on NFC

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6782474B1 (en) * 1998-06-10 2004-08-24 Ssh Communication Security Ltd. Network connectable device and method for its installation and configuration
CN102185864A (en) * 2011-05-13 2011-09-14 北京星网锐捷网络技术有限公司 Security authentication strategy configuration method, device and system
CN105009618A (en) * 2013-04-28 2015-10-28 华为终端有限公司 Method, device and system for configuring wireless terminal
US20150358820A1 (en) * 2013-05-07 2015-12-10 Huawei Device Co., Ltd. Method for Establishing Connection Between Devices, Configuration Device, and Wireless Device
EP3113407A1 (en) * 2015-07-02 2017-01-04 GN ReSound A/S Client device with certificate and related method
CN105553964A (en) * 2015-12-10 2016-05-04 小米科技有限责任公司 Method and apparatus for controlling Bluetooth device
CN108337210A (en) * 2017-01-19 2018-07-27 阿里巴巴集团控股有限公司 Equipment configuration method and device, system
CN106878462A (en) * 2017-03-28 2017-06-20 上海与德科技有限公司 The means of communication and device of equipment room
CN108594731A (en) * 2018-07-12 2018-09-28 上海上晟电子科技有限公司 A kind of intelligent electric appliance control method based on NFC

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110868720A (en) * 2019-12-24 2020-03-06 西安闻泰电子科技有限公司 Method and device for identifying base station message, mobile terminal and storage medium
CN112255555A (en) * 2020-10-15 2021-01-22 中国人民解放军陆军工程大学 Battery monitoring system based on awakening mechanism

Similar Documents

Publication Publication Date Title
CN109564539A (en) Remote debugging and management
CN105338550B (en) A kind of management method and device of the connection for wireless network
CN110505616A (en) The method and apparatus of wireless device are registered in a wireless communication system
CN109525976A (en) With network method, system and readable storage medium storing program for executing
CN109388213A (en) Server system, computer implemented method and non-transitory computer-readable medium
CN103198265B (en) A kind of method for opening mobile device root authority
CN104410986A (en) Method and device for testing WIFI (Wireless Fidelity) compatibility of terminal
CN104899532B (en) ID card information acquisition methods, apparatus and system
US10524299B1 (en) Peer-to-peer configuration
CN110324193B (en) Terminal upgrade management method and device
CN113407393B (en) Chip verification method, terminal device, verification platform and storage medium
CN109981360A (en) Internet of things equipment website activating method, device, system and storage medium
CN110276191A (en) A kind of equipment configuration method, device and electronic equipment
CN103957580A (en) Rapid WIFI networking matching method and module for smart hardware
CN110430280A (en) Account automatic logging method and system, storage medium and cloud desktop server
CN106100939A (en) The network equipment starts time test method and test console
CN111400167A (en) Redfish service compliance verification method, device, equipment and medium
CN107645428A (en) A kind of automatic test approach and device
CN108293199A (en) The electronic device and method of event management service are provided
CN105592459B (en) Safety certification device based on wireless communication
CN108322366A (en) Access the methods, devices and systems of network
CN105281930A (en) Embedded monitoring equipment management method and system
CN107181606B (en) Method and apparatus for controlling network nodes
CN106445479A (en) Information pushing method and apparatus
WO2014036902A1 (en) Method and apparatus for gateway management terminal

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200930

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200930

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.