CN108307405A - A kind of method and device of data acquisition equipment initialization - Google Patents

A kind of method and device of data acquisition equipment initialization Download PDF

Info

Publication number
CN108307405A
CN108307405A CN201610855214.6A CN201610855214A CN108307405A CN 108307405 A CN108307405 A CN 108307405A CN 201610855214 A CN201610855214 A CN 201610855214A CN 108307405 A CN108307405 A CN 108307405A
Authority
CN
China
Prior art keywords
network
equipment
acquisition
end equipment
initialization
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
CN201610855214.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.)
XI'AN LIBANG SCIENCE INSTRUMENT CO LTD
Original Assignee
XI'AN LIBANG SCIENCE INSTRUMENT CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by XI'AN LIBANG SCIENCE INSTRUMENT CO LTD filed Critical XI'AN LIBANG SCIENCE INSTRUMENT CO LTD
Priority to CN201610855214.6A priority Critical patent/CN108307405A/en
Publication of CN108307405A publication Critical patent/CN108307405A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of method and device of data acquisition equipment initialization, and the method for the data acquisition equipment initialization includes the following steps:Step S1, service end device establish preset network;Step S2, acquisition end equipment are established with the preset network and are connected;Step S3, the service end device send initialization information to the acquisition end equipment, and the acquisition end equipment completes initialization.The present invention establishes initialization of the WIFI hot spot realization to acquisition end equipment by service end device, it can automatically switch after the completion, additional hardware need not be increased in acquisition end equipment to realize input, init state need not be established by complicated software function, also it need not realize that physical connection, the hardware cost and system complexity for acquiring end equipment are substantially reduced by additional connection type.

Description

A kind of method and device of data acquisition equipment initialization
Technical field
The present invention relates to a kind of methods that initial method more particularly to a kind of data acquisition equipment initialize, and are related to A kind of device of data acquisition equipment initialization.
Background technology
Mobile data acquisition system is generally made of collecting device and corresponding server end, the former is responsible for adopting for data Collection, the latter are responsible for the processing and management of data, and the two exchanges data by wireless transmission protocol.Collecting device is needed before work The initialization for carrying out work in every parameter first, as above by reference with data transfer mode etc., there are three types of schemes common at present: One, the input of initial parameter is realized on collecting device, this scheme is used supports keyboard and touch screen etc. on collecting device Input equipment directly inputs every initiation parameter and completes initialization;Two, it realizes and initializes by dedicated mode, this Fang Fang Case realizes physical connection first by serial ports, USB etc., is then sent just from server end to collection terminal by above-mentioned physical connection Beginningization parameter completes the initialization of collection terminal;Three, WIFI hot spot is established on collecting device, dedicated for the initial of collecting device Change, restores normal AP client modes after the completion of initialization and carry out data communication.
But in the first scheme, the support for increasing input equipment in collection terminal is needed so that collection terminal volume is difficult to contract It is small, hardware cost is high, input equipment utilization rate is also low;In second scheme, special hardware and connecting line is needed to be set to realize Standby initialization equally exists the high problem of hardware cost;In the third scheme, although not needing additional hardware cost, The connection line of attachment of second scheme is not needed, but collecting device is needed to realize the functions such as WIFI hot spot and DHCP so that acquisition The complexity of equipment greatly increases, and is initializing when the error occurs, it is necessary to restore manually on collecting device to initialization shape State, therefore, there is still a need for providing necessary input mode.
And with the rise of wearable device, collecting device more tends to be miniaturized, at the same in view of power consumption the problems such as, make Obtain the function that collecting device cannot achieve too many complexity.Therefore, in conclusion prior art can not effective solution it is small The initialization matter of the data acquisition equipment of type, the equal existing defects of several schemes of the prior art.
Invention content
The technical problem to be solved by the present invention is to need to provide a kind of hardware that can substantially reduce acquisition end equipment at The method that the data acquisition equipment of this and system complexity initializes, and the device of its data acquisition equipment initialization is provided.
In this regard, the present invention provides a kind of method of data acquisition equipment initialization, include the following steps:
Step S1, service end device establish preset network;
Step S2, acquisition end equipment are established with the preset network and are connected;
Step S3, the service end device send initialization information to the acquisition end equipment, and the acquisition end equipment is completed Initialization.
Further, in the step S2, the preset net of the acquisition end equipment and service end device foundation Network is established before connection, and inquiry current environment whether there is attachable job network, if being built with the job network in the presence of if Vertical connection;Otherwise, then it establishes and connects with the preset network;The job network includes by wireless access point provides hot spot The wireless network of foundation.
Further, further include step S4, the instruction that the acquisition end equipment is sent according to the service end device Carry out data acquisition.
Further, it in the step S4, after the acquisition end equipment for accessing preset network completes initialization, closes pre- Network is set, the network parameter for the job network that the acquisition end equipment is sent according to the service end device carries out network company It connects;The job network includes the wireless network established by providing hot spot by wireless access point.
Further, the initialization information includes SSID, cipher mode, password, IP address acquisition modes, collection terminal Device identification and any one or more in service terminal device address.
Further, in the step S3, the acquisition end equipment is according to default authentication mode and the service terminal Equipment is matched, and until successful match, is then acquired end equipment and is received the initialization information that service end device issues.
Further, in the step S2, the acquisition end equipment and the preset network of service end device offer Network parameter is matched to realize connection.
The present invention also provides a kind of devices of data acquisition equipment initialization, including:
Preset network module is established, service end device establishes preset network;
Preset network module is connected, acquisition end equipment is established with the preset network and connected;
Network module is initialized, the service end device sends initialization information to the acquisition end equipment, the collection terminal Equipment completes initialization.
Further, in the preset network module of connection, the acquisition end equipment is built with the service end device Vertical preset network is established before connection, and inquiry current environment whether there is attachable job network, if in the presence of if with it is described Job network establishes connection;Otherwise, then it establishes and connects with the preset network;The job network includes passing through wireless access point The wireless network that hot spot is provided and is established.
Further, further include data acquisition module, the acquisition end equipment is sent according to the service end device Instruction carry out data acquisition.
Compared with prior art, the beneficial effects of the present invention are:WIFI hot spot is established by service end device to realize To acquiring the initialization of end equipment, service end device automatically switches back into normal operating mode after the completion of initialization, therefore, no It needs to increase additional hardware in acquisition end equipment and carry out input initialization parameter, need not be built by complicated software function Vertical init state also need not realize physical connection so that acquire the hardware cost of end equipment by additional connection type It is substantially reduced with system complexity, and then lacking for miniature or miniaturization acquisition end equipment initialization scheme can be solved It falls into;Simultaneously as acquisition end equipment does not need special manual intervention when being initialized, it can be automatic when initializing failure Re-start initialization.
Description of the drawings
Fig. 1 is the workflow schematic diagram of an embodiment of the present invention;
Fig. 2 is the workflow schematic diagram of the acquisition end equipment of an embodiment of the present invention;
Fig. 3 is the workflow schematic diagram of the service end device of an embodiment of the present invention;
Fig. 4 is the workflow schematic diagram of step S2 in an embodiment of the present invention.
Specific implementation mode
Below in conjunction with the accompanying drawings, the preferably embodiment of the present invention is described in further detail.
Embodiment 1:
As shown in Figure 1, the present embodiment provides a kind of method of data acquisition equipment initialization, include the following steps:
Step S1, service end device establish preset network, and the preset network includes the nothing opened by WIFI shared models Gauze network;
Step S2, acquisition end equipment are established with the preset network and are connected;
Step S3, the service end device send initialization information to the acquisition end equipment, and the acquisition end equipment is completed Initialization.
In step S1 described in the present embodiment, the presupposed information when service end device is according to manufacture establishes preset net Network, the presupposed information include the information such as SSID, cipher mode, password and the server ip address being arranged when manufacture.It is described to adopt Collecting end equipment can be configured after batch production with preset unified working environment, but in final home environment or other specific In use, the network configuration due to wireless network is different under use environment, collecting device is caused to be needed before use initially Change the information such as SSID, cipher mode, password and the server ip address of wireless network.
Service end device described in the present embodiment is established network hotspot using itself wireless network card and is shared, for finding acquisition End equipment, and the job network for issuing acquisition end equipment and its every network parameter needed for operation.The service end device Including any one or more in smart mobile phone, monitoring central server, PAD and home computer;Service end device is general Function is more mature, including network sharing pattern etc., and such as WIFI shared models, server terminal device described in the present embodiment is tool There is the terminal device of WIFI hot spot function.The acquisition end equipment generally comprises monitoring camera, Intelligent bracelet and medical probe Deng.The initialization information includes that SSID, cipher mode, password, IP address acquisition modes, collection terminal device identification and service are whole Any one or more in end equipment address, the SSID is the abbreviation of Service Set Identifier, i.e. wireless network Network title.
Service end device described in the present embodiment first collects the network parameter needed for the job network of acquisition end equipment, network Parameter includes that SSID, password and server address etc. in practical applications can also be by being inputted in operation interface manually And it preserves or obtains automatically and carry out;The present embodiment has the service end device of WIFI hot spot function according to preset network parameter Open WIFI(wireless fidelity)Hot spot forms one using service end device as the network of hot spot, that is, passes through WIFI Shared model open wireless network, and the SSID of the wireless network, cipher mode and password etc. with acquisition end equipment it is pre- The network parameter for setting network is consistent, other acquisition end equipments is allowed to be obtained or directly according to advance by searching for the name of SSID The network parameter of configuration carries out matching connection.The one or more acquisition end equipments for needing to carry out network parameter initialization are waited for connect Enter the preset network.
In the present embodiment, the job network refers mainly to acquisition end equipment needs to be used have existed under working environment Network, for example acquire end equipment and need under the internal network of domestic environment or hospital in use, needing at home or hospital It is used under the wireless network environment that oneself has, which is exactly job network, and the job network includes by wireless Access point provides hot spot and the wireless network established.The preset network, refers mainly to service end device and shares mould by WIFI The wireless network that formula is opened does not obtain the network parameter or working net of final job network acquiring end equipment for solving In the case that the network parameter of network can not be connected there are mistake, service end device is established by the preset network parameter of manufacturer Network connection is established with acquisition end equipment, is acquired issuing for the running parameter of end equipment.
If acquisition end equipment is medical probe, when medical probe switches to another working environment from a working environment When, the network parameter in a working environment is not preserved, therefore, in manufacture work or enters new job network When environment, it is necessary to which first carrying out initialization could work.Therefore.The present embodiment pre-sets preset net in advance in service end device Network connects the upper working environment when medical probe enters the working environment, then eliminate medical probe using other manner into Row initializes cumbersome, and medical probe is directly connected to preset network and carries out initialization information when entering working environment It receives, it is convenient and efficient, do not have to artificial intervention, high degree of automation is suitble to medical field.
It is noted that as shown in figure 4, in step S2 described in the present embodiment, acquisition end equipment is according to preset preset Network parameter and the job network parameter preserved, the collection terminal equipment query current environment whether there is job network, if In the presence of being then attached;If being not present or connection failure, the collection terminal equipment query current environment whether there is preset net Network, if being attached in the presence of if.
Acquisition end equipment can be pre-set in manufacture to match pre- with a preset network, configuration with service end device Set network parameter, i.e., the network parameter of preset network.When acquisition end equipment enters current operating environment, it still can search for and work as Job network present in preceding working environment, and the network of saved job network in end equipment is acquired before utilizing Parameter removes the job network in connection current operating environment.Herein, the job network in working environment may be for one or more It is a, i.e., a WIFI list can be formed, acquisition end equipment can be according to the network parameter connection wifi of the job network pre-saved Wireless network in list.After connection is upper, then the medical probe can normally be worked, namely start gathered data simultaneously It is sent to corresponding service end device.If there is no job network or to job network connection failure, preset net is connected Network.
During acquiring end equipment progress network pairing, network parameter and clothes that acquisition end equipment is stored according to its own Business terminal device is matched;Default and probe was connect from service end device originally when the network parameter of storage includes manufacture SSID, cipher mode, password, server address, server address and collection terminal IP address of equipment of receipts etc..
In step S2 described in the present embodiment, the network for the preset network that the acquisition end equipment is provided with service end device Parameter is matched to realize connection;It is to be in preset network or job network that acquisition end equipment, which need not be distinguished, only needs basis The connection priorities of both networks carries out network connection and work, and system complexity substantially reduces, can be regardless of Additional input equipment;After the network parameter that service end device issues is wrong, it may not be necessary to be carried out in acquisition end equipment Any manual intervention again initializes acquisition end equipment, until acquisition end equipment can be used as stopping.
It is noted that acquiring default authentication mode and the clothes of the end equipment according to communications protocol described in the present embodiment Business terminal device is matched, and until successful match, is then acquired end equipment and is received the initialization information that service end device issues. If matching is unsuccessful, any instruction that acquisition end equipment refusal service end device issues avoids initiation parameter from maliciously being repaiied Change.The default authentication mode can realize that the matching of the preset field can for MAC by the matching of preset field Location matches and message format compares etc., certainly, in practical applications, can also be other preset specific authentication modes.With The prior art is compared, and acquisition end equipment is commonly connected to after network of relation, so that it may directly to be led to service end device News, the matching technology that the present embodiment uses increase the process authenticated with service end device, avoid acquisition end equipment Network parameter ensure that information security by malicious modification, the application field particularly suitable for medical instrument.
In step S3 described in the present embodiment, after realizing connection, the service end device transmission includes connected to it The initialization information of the network parameter of job network gives the acquisition end equipment, the acquisition end equipment to complete initialization;Institute State SSID, cipher mode, password that initialization information includes preset network, IP address acquisition modes, collection terminal device identification and The parameters such as server address.
Initialization information is sent, with after service end device successful matching, service terminal issues just acquisition end equipment automatically Beginningization information gives acquisition end equipment, completes the initialization of collection terminal equipment parameters;Initialization information is received, end equipment is acquired The initialization information that authenticated successful service end device issues is received, and preserves wherein corresponding initiation parameter;Its In, acquisition end equipment and the workflow schematic diagram difference for servicing terminal device are as shown in Figures 2 and 3.
The present embodiment is initialized using wireless network, need not be by third parties' connector such as Serial Port Line and USB line Physical connection is established, while end equipment need not be acquired establishes special WIFI hot spot pattern to be initialized so that is adopted Collection end equipment need to only be connected according to scheduled rule can carry out firstization at any time into wireless network;Meanwhile working as initiation parameter There are when mistake, acquisition end equipment need not carry out additional manual intervention, need to be by application program in service end device only Initialization can be re-started, the fault-tolerance and simplicity of the initial work of acquisition end equipment are greatly improved.
As shown in Figure 1, the present embodiment includes further preferably step S4, the acquisition end equipment is according to the service end device The network parameter of transmission carries out network connection, and carries out data acquisition according to the instruction that service end device is sent.
If job network is not present, the network parameter for the preset network that server is directly established is sent to collection terminal Equipment, acquisition end equipment is directly using preset network as its job network.After completing initialization, service end device reads current The init state for accessing the acquisition end equipment of preset network environment, when the init state for reading acquisition end equipment is to complete When state, then acquisition instructions are sent to current acquisition end equipment, current acquisition end equipment carries out corresponding data acquisition.
It is noted that in the step S4, after the acquisition end equipment for accessing preset network completes initialization, close Preset network, the network parameter of job network that the acquisition end equipment is sent according to the service end device or according to it The network parameter of the job network of itself storage carries out network connection;The job network includes providing heat by wireless access point The wireless network put and established.And the work order of service end device is received upon connection, carry out corresponding data acquisition.
After the completion of initialization information issues, service end device closes WIFI shared models, is connected to the work of job network Make environment;After acquiring the default WIFI network of end equipment disconnection, that is, after disconnecting preset network, it is automatically connected to according to initialization information The job network of the priority class of traffic first, and matched with service end device;Pass through WIFI heat compared to service end device The preset network that point is established, work networking environment generally provide hot spot networks using dedicated wireless aps or same category of device, allow The terminal devices such as the more acquisition end equipments of access, and network performance stable environment is easy to extend, therefore network can be increased Diversity, for example service end device and acquisition end equipment can be connected under different wireless networks, but the two network can lead to Cross the networks such as 3G/4G and Internet composition virtual LAN.
It is noted that in step S4 described in the present embodiment, if in current environment where the acquisition end equipment not There are job networks, then the network parameter of preset network is issued to the acquisition end equipment by the service end device, and is led to Know that the acquisition end equipment directly uploads data by preset network.Job network is substituted temporarily using the environment of preset network Environment can be connected by the 3G/4G network datas of service end device and be worked when needing with extraneous network.
Embodiment 2:
The present embodiment also provides a kind of device of data acquisition equipment initialization, including:
Preset network module is established, service end device establishes preset network, and the preset network includes sharing mould by WIFI The wireless network that formula is opened;
Preset network module is connected, acquisition end equipment is established with the preset network and connected;
Network module is initialized, the service end device sends initialization information to the acquisition end equipment, the collection terminal Equipment completes initialization.
In step S1 described in the present embodiment, the presupposed information when service end device is according to manufacture establishes preset net Network, the presupposed information include the information such as SSID, cipher mode, password and the server ip address being arranged when manufacture.It is described to adopt Collecting end equipment can be configured after batch production with preset unified working environment, but in final home environment or other specific In use, the network configuration due to wireless network is different under use environment, collecting device is caused to be needed before use initially Change the information such as SSID, cipher mode, password and the server ip address of wireless network.
Service end device described in the present embodiment is established network hotspot using itself wireless network card and is shared, for finding acquisition End equipment, and the job network for issuing acquisition end equipment and its every network parameter needed for operation.The service end device Including any one or more in smart mobile phone, monitoring central server, PAD and home computer;Service end device is general Function is more mature, including network sharing pattern etc., and such as WIFI shared models, server terminal device described in the present embodiment is tool There is the terminal device of WIFI hot spot function.The acquisition end equipment generally comprises monitoring camera, Intelligent bracelet and medical probe Deng.The initialization information includes that SSID, cipher mode, password, IP address acquisition modes, collection terminal device identification and service are whole Any one or more in end equipment address, the SSID is the abbreviation of Service Set Identifier, i.e. wireless network Network title.
Service end device described in the present embodiment first collects the network parameter needed for the job network of acquisition end equipment, network Parameter includes that SSID, password and server address etc. in practical applications can also be by being inputted in operation interface manually And it preserves or obtains automatically and carry out;The present embodiment has the service end device of WIFI hot spot function according to preset network parameter Open WIFI(wireless fidelity)Hot spot forms one using service end device as the network of hot spot, that is, passes through WIFI Shared model open wireless network, and the SSID of the wireless network, cipher mode and password etc. with acquisition end equipment it is pre- The network parameter for setting network is consistent, other acquisition end equipments is allowed to be obtained or directly according to advance by searching for the name of SSID The network parameter of configuration carries out matching connection.The one or more acquisition end equipments for needing to carry out network parameter initialization are waited for connect Enter the preset network.
In the present embodiment, the job network refers mainly to acquisition end equipment needs to be used have existed under working environment Network, for example acquire end equipment and need under the internal network of domestic environment or hospital in use, needing at home or hospital It is used under the wireless network environment that oneself has, which is exactly job network, and the job network includes by wireless Access point provides hot spot and the wireless network established.The preset network, refers mainly to service end device and shares mould by WIFI The wireless network that formula is opened does not obtain the network parameter or working net of final job network acquiring end equipment for solving In the case that the network parameter of network can not be connected there are mistake, service end device is established by the preset network parameter of manufacturer Network connection is established with acquisition end equipment, is acquired issuing for the running parameter of end equipment.
If acquisition end equipment is medical probe, when medical probe switches to another working environment from a working environment When, the network parameter in a working environment is not preserved, therefore, in manufacture work or enters new job network When environment, it is necessary to which first carrying out initialization could work.Therefore.The present embodiment pre-sets preset net in advance in service end device Network connects the upper working environment when medical probe enters the working environment, then eliminate medical probe using other manner into Row initializes cumbersome, and medical probe is directly connected to preset network and carries out initialization information when entering working environment It receives, it is convenient and efficient, do not have to artificial intervention, high degree of automation is suitble to medical field.
It is noted that in the preset network module of connection described in the present embodiment, the acquisition end equipment and the service The preset network that terminal device is established is established before connection, and inquiry current environment whether there is attachable job network, if depositing It is connected then being established with the job network;Otherwise, then it establishes and connects with the preset network;The job network includes passing through Wireless access point provides hot spot and the wireless network established.
Acquisition end equipment can be pre-set in manufacture to match pre- with a preset network, configuration with service end device Set network parameter, i.e., the network parameter of preset network.When acquisition end equipment enters current operating environment, it still can search for and work as Job network present in preceding working environment, and the network of saved job network in end equipment is acquired before utilizing Parameter removes the job network in connection current operating environment.Herein, the job network in working environment may be for one or more It is a, i.e., a WIFI list can be formed, acquisition end equipment can be according to the network parameter connection wifi of the job network pre-saved Wireless network in list.After connection is upper, then the medical probe can normally be worked, namely start gathered data simultaneously It is sent to corresponding service end device.If there is no job network or to job network connection failure, preset net is connected Network.
During acquiring end equipment progress network pairing, network parameter and clothes that acquisition end equipment is stored according to its own Business terminal device is matched;Default and probe was connect from service end device originally when the network parameter of storage includes manufacture SSID, cipher mode, password, server address, server address and collection terminal IP address of equipment of receipts etc..
In the preset network module of connection described in the present embodiment, the acquisition end equipment provides preset with service end device The network parameter of network is matched to realize connection;It is to be in preset network or working net that acquisition end equipment, which need not be distinguished, Network only need to carry out network connection and work according to the connection priority of both networks, and system complexity substantially reduces, can With regardless of additional input equipment;After the network parameter that service end device issues is wrong, it may not be necessary to acquire End equipment carries out any manual intervention, is initialized again to acquisition end equipment, until acquisition end equipment can be used as stopping.
It is noted that acquiring default authentication mode and the clothes of the end equipment according to communications protocol described in the present embodiment Business terminal device is matched, and until successful match, is then acquired end equipment and is received the initialization information that service end device issues. If matching is unsuccessful, any instruction that acquisition end equipment refusal service end device issues avoids initiation parameter from maliciously being repaiied Change.The default authentication mode can realize that the matching of the preset field can for MAC by the matching of preset field Location matches and message format compares etc., certainly, in practical applications, can also be other preset specific authentication modes.With The prior art is compared, and acquisition end equipment is commonly connected to after network of relation, so that it may directly to be led to service end device News, the matching technology that the present embodiment uses increase the process authenticated with service end device, avoid acquisition end equipment Network parameter ensure that information security by malicious modification, the application field particularly suitable for medical instrument.
Initialized in network module described in the present embodiment, after realizing and connecting, service end device transmission include with The initialization information of the network parameter of its job network connected gives the acquisition end equipment, the acquisition end equipment to complete just Beginningization;The initialization information includes the SSID of preset network, cipher mode, password, IP address acquisition modes, acquires end equipment The parameters such as mark and server address.
Initialization information is sent, with after service end device successful matching, service terminal issues just acquisition end equipment automatically Beginningization information gives acquisition end equipment, completes the initialization of collection terminal equipment parameters;Initialization information is received, end equipment is acquired The initialization information that authenticated successful service end device issues is received, and preserves wherein corresponding initiation parameter.
The present embodiment is initialized using wireless network, need not be by third parties' connector such as Serial Port Line and USB line Physical connection is established, while end equipment need not be acquired establishes special WIFI hot spot pattern to be initialized so that is adopted Collection end equipment need to only be connected according to scheduled rule can carry out firstization at any time into wireless network;Meanwhile working as initiation parameter There are when mistake, acquisition end equipment need not carry out additional manual intervention, need to be by application program in service end device only Initialization can be re-started, the fault-tolerance and simplicity of the initial work of acquisition end equipment are greatly improved.
The present embodiment further includes data acquisition module, the finger that the acquisition end equipment is sent according to the service end device It enables and carries out data acquisition.
If job network is not present, the network parameter for the preset network that server is directly established is sent to collection terminal Equipment, acquisition end equipment is directly using preset network as its job network.After completing initialization, service end device reads current The init state for accessing the acquisition end equipment of preset network environment, when the init state for reading acquisition end equipment is to complete When state, then acquisition instructions are sent to current acquisition end equipment, current acquisition end equipment carries out corresponding data acquisition.
It is noted that in the data acquisition module, when the acquisition end equipment for accessing preset network completes initialization Afterwards, close preset network, the network parameter for the job network that the acquisition end equipment is sent according to the service end device or Network connection is carried out according to the network parameter of the job network of its own storage;The job network includes passing through wireless access point The wireless network that hot spot is provided and is established.And the work order of service end device is received upon connection, carry out corresponding data Acquisition.
After the completion of initialization information issues, service end device closes WIFI shared models, is connected to the work of job network Make environment;After acquiring the default WIFI network of end equipment disconnection, that is, after disconnecting preset network, it is automatically connected to according to initialization information The job network of the priority class of traffic first, and matched with service end device;Pass through WIFI heat compared to service end device The preset network that point is established, work networking environment generally provide hot spot networks using dedicated wireless aps or same category of device, allow The terminal devices such as the more acquisition end equipments of access, and network performance stable environment is easy to extend, therefore network can be increased Diversity, for example service end device and acquisition end equipment can be connected under different wireless networks, but the two network can lead to Cross the networks such as 3G/4G and Internet composition virtual LAN.
It is noted that in data acquisition module described in the present embodiment, if working as front ring where the acquisition end equipment Job network is not present in border, then the network parameter of preset network is issued to the collection terminal and set by the service end device It is standby, and the acquisition end equipment is notified directly to upload data by preset network.Work is substituted temporarily using the environment of preset network The environment for making network can connect by the 3G/4G network datas of service end device when needing with extraneous network and carry out work Make.
The present embodiment is established WIFI hot spot by service end device and is realized to the initialization of acquisition end equipment, has initialized Normal operating mode is automatically switched back at rear service end device, therefore, there is no need to increase additionally in acquisition end equipment Hardware carrys out input initialization parameter, need not establish init state by complicated software function, also need not be by volume Outer connection type realizes physical connection so that the hardware cost and system complexity for acquiring end equipment are substantially reduced, into And the defect of miniature or miniaturization acquisition end equipment initialization scheme can be solved;Simultaneously as acquisition end equipment carries out just Special manual intervention is not needed when beginningization, and initialization can be re-started automatically when initializing failure.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that The specific implementation of the present invention is confined to these explanations.For those of ordinary skill in the art to which the present invention belongs, exist Under the premise of not departing from present inventive concept, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to the present invention's Protection domain.

Claims (10)

1. a kind of method of data acquisition equipment initialization, which is characterized in that include the following steps:
Step S1, service end device establish preset network;
Step S2, acquisition end equipment are established with the preset network and are connected;
Step S3, the service end device send initialization information to the acquisition end equipment, and the acquisition end equipment is completed Initialization.
2. the method for data acquisition equipment initialization according to claim 1, which is characterized in that in the step S2, institute Before stating the preset network foundation connection that acquisition end equipment is established with the service end device, inquiry current environment whether there is Attachable job network is connected if being established with the job network in the presence of if;Otherwise, then it establishes and connects with the preset network It connects;The job network includes the wireless network established by providing hot spot by wireless access point.
3. the method for data acquisition equipment initialization according to claim 1 or 2, which is characterized in that further include step S4, The acquisition end equipment carries out data acquisition according to the instruction that the service end device is sent.
4. the method for data acquisition equipment initialization according to claim 3, which is characterized in that in the step S4, when The acquisition end equipment for accessing preset network is completed after initializing, and closes preset network, the acquisition end equipment is according to the service The network parameter for the job network that terminal device is sent carries out network connection;The job network includes being carried by wireless access point Heat supply point and the wireless network established.
5. the method for data acquisition equipment initialization according to claim 1 or 2, which is characterized in that the initialization letter Breath includes in SSID, cipher mode, password, IP address acquisition modes, collection terminal device identification and service terminal device address Any one or more.
6. the method for data acquisition equipment initialization according to claim 1 or 2, which is characterized in that in the step S3, The acquisition end equipment is matched according to default authentication mode with the service end device, until successful match, is then acquired End equipment receives the initialization information that service end device issues.
7. the method for data acquisition equipment initialization according to claim 1 or 2, which is characterized in that in the step S2, The network parameter for the preset network that the acquisition end equipment is provided with service end device is matched to be connect with realizing.
8. a kind of device of data acquisition equipment initialization, which is characterized in that including:
Preset network module is established, service end device establishes preset network;
Preset network module is connected, acquisition end equipment is established with the preset network and connected;
Network module is initialized, the service end device sends initialization information to the acquisition end equipment, the collection terminal Equipment completes initialization.
9. the device of data acquisition equipment initialization according to claim 8, which is characterized in that the preset network of connection In module, before the acquisition end equipment establishes connection with the preset network that the service end device is established, front ring is worked as in inquiry Border whether there is attachable job network, be connected if being established with the job network in the presence of if;Otherwise, then with the preset net Network establishes connection;The job network includes the wireless network established by providing hot spot by wireless access point.
10. the device of data acquisition equipment initialization according to claim 8 or claim 9, which is characterized in that further include that data are adopted Collect module, the acquisition end equipment carries out data acquisition according to the instruction that the service end device is sent.
CN201610855214.6A 2016-09-28 2016-09-28 A kind of method and device of data acquisition equipment initialization Pending CN108307405A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610855214.6A CN108307405A (en) 2016-09-28 2016-09-28 A kind of method and device of data acquisition equipment initialization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610855214.6A CN108307405A (en) 2016-09-28 2016-09-28 A kind of method and device of data acquisition equipment initialization

Publications (1)

Publication Number Publication Date
CN108307405A true CN108307405A (en) 2018-07-20

Family

ID=62871295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610855214.6A Pending CN108307405A (en) 2016-09-28 2016-09-28 A kind of method and device of data acquisition equipment initialization

Country Status (1)

Country Link
CN (1) CN108307405A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750767A (en) * 2019-10-18 2020-02-04 神州数码融信软件有限公司 Login initialization method of intelligent terminal device and intelligent terminal device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8830872B2 (en) * 2011-04-08 2014-09-09 Texas Instruments Incorporated Network configuration for devices with constrained resources
CN104918296A (en) * 2014-03-12 2015-09-16 深圳市慧为智能科技有限公司 Network connection assistance system and method
CN104936266A (en) * 2015-05-20 2015-09-23 青岛海尔科技有限公司 Network access method and network access device
CN105007201A (en) * 2015-05-27 2015-10-28 广东欧珀移动通信有限公司 Method for accessing network, wireless sound box and system
CN105429810A (en) * 2016-01-07 2016-03-23 上海斐讯数据通信技术有限公司 Network server parameter batch configuration apparatus and configuration method
CN105554787A (en) * 2015-12-21 2016-05-04 北京奇虎科技有限公司 Data transmission method, intelligent acquisition equipment, intelligent terminal and cloud server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8830872B2 (en) * 2011-04-08 2014-09-09 Texas Instruments Incorporated Network configuration for devices with constrained resources
CN104918296A (en) * 2014-03-12 2015-09-16 深圳市慧为智能科技有限公司 Network connection assistance system and method
CN104936266A (en) * 2015-05-20 2015-09-23 青岛海尔科技有限公司 Network access method and network access device
CN105007201A (en) * 2015-05-27 2015-10-28 广东欧珀移动通信有限公司 Method for accessing network, wireless sound box and system
CN105554787A (en) * 2015-12-21 2016-05-04 北京奇虎科技有限公司 Data transmission method, intelligent acquisition equipment, intelligent terminal and cloud server
CN105429810A (en) * 2016-01-07 2016-03-23 上海斐讯数据通信技术有限公司 Network server parameter batch configuration apparatus and configuration method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750767A (en) * 2019-10-18 2020-02-04 神州数码融信软件有限公司 Login initialization method of intelligent terminal device and intelligent terminal device

Similar Documents

Publication Publication Date Title
US11647548B2 (en) Network access method, device, and system
EP3118700B1 (en) Intelligent home control method and system based on alljoyn technology
CN102137395B (en) Method, device and system for configuring access device
CN102685856B (en) Wireless communication method and Wi-Fi Direct (Wireless Fidelity Direct) communication system
CN105721220B (en) Intelligent terminal and its network bottom layer configuration method
CN103384367A (en) Device searching method
CN106793007B (en) Interactive communication method and system of cloud and Bluetooth device and wireless router
CN103716393A (en) Resource sharing method and device and terminal used for LAN communication
CN103179635A (en) Bluetooth based networking and communication methods for Anddroid mobile equipment
CN108781473A (en) A kind of method and apparatus of the shared file between different terminals
CN112511393B (en) Equipment linkage control method and device and storage medium
WO2009046597A1 (en) Termianl device and method for selectively accessing mobile network or wireless lan
CN105592409A (en) Bluetooth-based WI-FI connection and communication method and system
CN101977382A (en) Audio and video integrated control circuit and method for accessing access point
WO2023024617A1 (en) Method and apparatus for network distribution of device, server, smart household appliance, and terminal device
CN103957580A (en) Rapid WIFI networking matching method and module for smart hardware
CN112566113B (en) Key generation and terminal network distribution method, device and equipment
CN112469055A (en) Equipment network distribution method, related equipment and storage medium
CN103475751A (en) Method and device for IP address switch
CN111163469A (en) Network distribution method of intelligent household appliance, wireless module and intelligent household appliance
WO2010148914A1 (en) Method and apparatus for creating dial-up service
CN104105218A (en) Method and system for achieving Android system mobile phone hotspot WPS connection
US9930048B2 (en) Customer identification for seamless wireless-network access
CN103716865B (en) Commubnication appratus
CN106454903A (en) Method and device for accessing smart terminal equipment into Internet

Legal Events

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

Application publication date: 20180720

RJ01 Rejection of invention patent application after publication