[go: up one dir, main page]

CN107995256A - A kind of wireless data collection methods, electronic equipment, storage medium, system - Google Patents

A kind of wireless data collection methods, electronic equipment, storage medium, system Download PDF

Info

Publication number
CN107995256A
CN107995256A CN201711015046.0A CN201711015046A CN107995256A CN 107995256 A CN107995256 A CN 107995256A CN 201711015046 A CN201711015046 A CN 201711015046A CN 107995256 A CN107995256 A CN 107995256A
Authority
CN
China
Prior art keywords
slave
host
connection
module
data collection
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
CN201711015046.0A
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.)
Concord Health Cloud Services Ltd
Original Assignee
Concord Health Cloud Services 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 Concord Health Cloud Services Ltd filed Critical Concord Health Cloud Services Ltd
Priority to CN201711015046.0A priority Critical patent/CN107995256A/en
Publication of CN107995256A publication Critical patent/CN107995256A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

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

Abstract

The present invention provides a kind of wireless data collection methods, slave is searched including step, connect slave, data are collected, connection call request are initiated by host, and search the slave for initiating connection call request, obtain slave to be connected, host distributes ID, host and the slave wireless connection to be connected for having distributed ID to slave to be connected, and host collects the communication bag data for having connected slave upload;The present invention relates to a kind of wireless data collection system;The invention further relates to electronic equipment and readable storage medium storing program for executing, for performing a kind of wireless data collection methods;The present invention realizes host and more slave wireless connections, nothing needs to change host hardware, realize that host collects the data that different types of slave uploads, host is connected automatically with slave and synchronization parameter is set, manual operation is reduced, by host to host assignment host id to be connected, more hosts is realized and even works, the communication bag uploaded by verifying slave ID and slave, solves packet loss, error checking, line abnormal problem.

Description

A kind of wireless data collection methods, electronic equipment, storage medium, system
Technical field
The present invention relates to the communications field, more particularly to a kind of wireless data collection methods, electronic equipment, storage medium, it is System.
Background technology
Subordinate communication system is to be connected by being used as the host of management with directly participating in the slave of control detection, main Machine controls slave, and from slave collection status information, each slave has a unique address, and host is matched somebody with somebody by the address Corresponding slave is put and manages, but in actual application, it is hard because of host when host is connected with slave using wired mode Part device has extension to limit, when host needs to extend connection, it is necessary to replace host hardware;Host uses wireless mode with slave During connection, such as bluetooth radio connection and 2.4GHz/5GHz wireless radiofrequency connection modes, needed in first line artificial The line for carrying out a host and slave is set, main before host and the communication of current slave do not stop after host is connected with slave Machine cannot be attached with other slaves, or because that can not connect more slaves using resources of chip restricting host, and host with from Machine can not achieve automatic connection.
The content of the invention
For overcome the deficiencies in the prior art, it is an object of the present invention to providing a kind of wireless data collection methods, The slave of connection call request is initiated by host lookup, host distributes ID to slave to be connected, and is carried out with slave to be connected Wireless connection, host collect the communication bag data of slave upload, realize that host is connected automatically with more slaves, hard without host is needed to change Part, more hosts simultaneously even work, and reduce manual operation.
The present invention provides a kind of wireless data collection methods, comprises the following steps:
Slave is searched, host initiates connection call request, and searches the slave for initiating connection call request, obtains and waits to connect Slave;
Connect slave, the host to the slave connect distribution ID, the host with distributed ID wait to be connected from Machine wireless connection;
Data are collected, the host collects the communication bag data for having connected slave upload.
Further, step connection slave further includes generation allocation list, the host according to it is described be connected from The link information generation allocation list of machine, the host are attached according to the configuration table search slave with slave.
Further, the step connection slave further includes distribution host id, when the host lookup is waited to connect to some During host, the host is to the host assignment host id to be connected.
Further, the step connection slave further includes connection and checks, slave to be connected described in the host inspection ID, when described when the ID for connecting slave is repeated, the host distributes new ID to the slave to be connected for repeating ID.
Further, the step connection slave further includes verification communication bag, slave to be connected described in the host verification The effective length of the communication bag of upload, form, check code, are verified, then the host is connected with the slave to be connected Connect, verify not by the way that then the host is disconnected with the slave to be connected.
Further, it is specially that the communication of slave upload has been connected described in the host obtains that the step, which collects data, Bag, parses the communication bag, obtains parsing communication bag, extracts the data of the parsing communication bag, and by the number of extraction According to being uploaded to Cloud Server.
A kind of electronic equipment, including:Processor;
Memory;And program, wherein described program is stored in the memory, and is configured to by processor Perform, described program includes being used to perform a kind of above-mentioned wireless data collection methods.
A kind of computer-readable recording medium, is stored thereon with computer program, and the computer program is held by processor A kind of above-mentioned wireless data collection methods of row.
A kind of wireless data collection system, including host, slave, Cloud Server, the slave initiate connection call request; The host includes searching slave module, connection slave module, collects data module, and the host initiates connection call request, The slave module of searching searches the slave for initiating connection call request, obtains slave to be connected;It is described connection slave module to The slave distribution ID to be connected, the host and the slave wireless connection to be connected for having distributed ID;It is described to collect data module Collect the communication bag data for having connected slave upload.
Further, the connection slave module further includes generation allocation list module, distribution host id module, connection inspection Module, the generation allocation list module generates allocation list according to the host with the link information for being connected slave, described Host is attached according to the configuration table search slave with slave;The distribution host id module is divided to host to be connected With host id;The communication bag that the ID of slave to be connected and the slave to be connected described in the connection inspection module inspection upload Effective length, form, check code.
Compared with prior art, the beneficial effects of the present invention are:
The present invention provides a kind of wireless data collection methods, including step searches slave, connects slave, collects data, leads to Cross host and initiate connection call request, and search the slave for initiating connection call request, obtain slave to be connected, host is to the company for the treatment of Slave distribution ID is met, host and the slave wireless connection to be connected for having distributed ID, host collect the communication for having connected slave upload Bag data;The present invention relates to a kind of wireless data collection system;The invention further relates to electronic equipment and readable storage medium storing program for executing, is used for Perform a kind of wireless data collection methods;The present invention realizes host and more slave wireless connections, without host hardware is needed to change, realizes Host collects the data that different types of slave uploads, and the data collected are uploaded to Cloud Server, Cloud Server generation by host Report, by generating allocation list according to the link information of host and slave, host is according to configuration table search slave, realization and slave Automatic connection and synchronization parameter are set, and reduce manual operation, when host lookup to some when host is connected, host is to waiting to connect Host assignment host id, realizes more hosts and even works, and the communication bag uploaded by verifying slave ID and slave, solves and lose Bag, error checking, line abnormal problem.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, below with presently preferred embodiments of the present invention and coordinate attached drawing describe in detail as after. The embodiment of the present invention is shown in detail by following embodiments and its attached drawing.
Brief description of the drawings
Attached drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is a kind of wireless data collection methods flow chart of the present invention;
Fig. 2 is a kind of wireless data collection system structure diagram of the present invention.
Embodiment
In the following, with reference to attached drawing and embodiment, the present invention is described further, it is necessary to which explanation is, not Under the premise of afoul, new implementation can be formed between various embodiments described below or between each technical characteristic in any combination Example.
A kind of wireless data collection methods, as shown in Figure 1, comprising the following steps:
Slave is searched, host initiates connection call request, and searches the slave for initiating connection call request, obtains and waits to connect Slave;
Connect slave, host according to slave request signal power, at random from trend slave connect distribution ID, host and The slave wireless connection to be connected of ID is distributed;Preferably, step connection slave further includes distribution host id, when host lookup arrives It is some when host is connected, host to host assignment host id to be connected, initiate connection and exhale by the host lookup for having distributed host id Be the slave of request, obtain slave to be connected, and ID is distributed to slave to be connected, host with distributed the slave to be connected of ID without Line connects, and host and slave can initiate chain rupture request.
In one embodiment, it is preferable that step connection slave further includes generation allocation list, and host is according to being connected slave Link information generation allocation list, host and is connected according to configuration table search slave automatically with slave, without match again again from Machine, improves the Connection Time.Preferably, step connection slave further includes connection and checks, after host is connected with slave, host is examined and treated The ID of slave is connected, when when the ID for connecting slave is repeated, host distributes new ID to the slave to be connected for repeating ID.It is preferred that Ground, step connection slave further include verification communication bag, and when host lookup is to the slave for initiating connection call request, host verification is treated The effective length for the communication bag that connection slave uploads, form, check code, are verified, then host is connected with slave to be connected Connect, verification is by the way that then host initiates chain rupture request, and host is disconnected with slave to be connected, when host receives abnormal mistake During code, host is disconnected with slave and communicated to connect, and is reconnected.
Data are collected, host collects the communication bag data for having connected slave upload.Preferably, step collects data and is specially Host obtains the communication bag for having connected slave upload, and communication bag is parsed, and obtains parsing communication bag, extraction parsing communication bag Data, and the data of extraction are uploaded to Cloud Server, Cloud Server is spliced the data that host extracts, and generates report Table.
In one embodiment, the first host is used to collect blood pressure detecting data, and the second host is used to collect blood sugar test number According to the first host and the second host initiate connection call request respectively, and total host lookup is divided to the first host and the second host It is not attached to the first host and the second host assignment host id, total host with the first host and the second host, the first host The slave for initiating connection call request, and the power to the slave found according to slave request signal are searched, at random from trend Slave to be connected distributes slave ID, the effective length for the communication bag that the first host verification slave is sent, form, check code, verification By the way that then host is attached with slave to be connected, and generates allocation list, the slave record connection letter being connected with the first host Ceasing, in follow-up connection procedure, the first host is connected automatically according to allocation list with slave, if after the first host is connected with slave, the One host examines the ID to slave to repeat, and the first host redistributes ID to the ID slaves repeated, and the first host is collected on slave Communication bag is passed, communication bag is parsed, extracts blood pressure detecting data, and blood pressure detecting data are uploaded to Cloud Server, phase With ground, the second host lookup initiates the slave of connection call request, and to the slave found according to the strong of slave request signal It is weak, at random from trend slave distribution slave ID to be connected, the effective length for the communication bag that the second host verification slave is sent, lattice Formula, check code, are verified, then host is attached with slave to be connected, and generates allocation list, be connected with the second host from Machine records link information, and in follow-up connection procedure, the second host is connected automatically according to allocation list with slave, if the second host and from After machine connection, the second host examines the ID to slave to repeat, and the second host redistributes ID, the second host to the ID slaves repeated Collect slave and upload communication bag, communication bag is parsed, extract blood sugar test data, and blood sugar test data are uploaded to cloud Server, Cloud Server are spliced monitoring of blood pressure data and blood sugar test data, generate blood pressure and blood sugar examining report.
A kind of electronic equipment, including:Processor;Memory;And program, its Program are stored in memory, and And be configured to be performed by processor, program includes being used to perform a kind of above-mentioned wireless data collection methods;A kind of computer can Storage medium is read, is stored thereon with computer program, computer program is executed by processor a kind of above-mentioned wireless data side of collecting Method.
A kind of wireless data collection system, as shown in Fig. 2, including host, slave, Cloud Server, slave is initiated connection and is exhaled Cry request;Host includes searching slave module, connection slave module, collects data module, and host is initiated connection call request, looked into Look for slave module to search the slave for initiating connection call request, obtain slave to be connected;Slave module is connected to slave to be connected Distribute ID, host and the slave wireless connection to be connected for having distributed ID;Preferably, connection slave module further includes generation allocation list Module, distribution host id module, connection inspection module, generation allocation list module is according to host and the link information for being connected slave Allocation list is generated, host is connected automatically according to configuration table search slave with slave;Host id module is distributed to host to be connected Distribute host id;Connection inspection module examines the ID of slave connect, if slave ID is repeated, connects slave module again to treating Connecting slave distribution ID, connection inspection module examines the effective length of the communication bag of slave connect upload, form, check code, It is verified, then host is attached with slave to be connected, and verification is by the way that then host initiates chain rupture request, host and the company for the treatment of Slave is connect to disconnect.Collect data module and collect the communication bag data for having connected slave upload.
The present invention provides a kind of wireless data collection methods, including step searches slave, connects slave, collects data, leads to Cross host and initiate connection call request, and search the slave for initiating connection call request, obtain slave to be connected, host is to the company for the treatment of Slave distribution ID is met, host and the slave wireless connection to be connected for having distributed ID, host collect the communication for having connected slave upload Bag data;The present invention relates to a kind of wireless data collection system;The invention further relates to electronic equipment and readable storage medium storing program for executing, is used for Perform a kind of wireless data collection methods;The present invention realizes host and more slave wireless connections, without host hardware is needed to change, realizes Host collects the data that different types of slave uploads, and the data collected are uploaded to Cloud Server, Cloud Server generation by host Report, by generating allocation list according to the link information of host and slave, host is according to configuration table search slave, realization and slave Automatic connection and synchronization parameter are set, and reduce manual operation, when host lookup to some when host is connected, host is to waiting to connect Host assignment host id, realizes more hosts and even works, and the communication bag uploaded by verifying slave ID and slave, solves and lose Bag, error checking, line abnormal problem.
More than, it is only presently preferred embodiments of the present invention, not makees limitation in any form to the present invention;All one's own professions The those of ordinary skill of industry can swimmingly implement the present invention shown in by specification attached drawing and above;But all to be familiar with sheet special The technical staff of industry without departing from the scope of the present invention, is made a little using disclosed above technology contents The equivalent variations of variation, modification and evolution, are the equivalent embodiment of the present invention;Meanwhile all substantial technologicals according to the present invention Variation, modification and evolution of any equivalent variations made to above example etc., still fall within technical scheme Within protection domain.

Claims (10)

1. a kind of wireless data collection methods, it is characterised in that comprise the following steps:
Search slave, host initiate connection call request, and search initiate connection call request slave, obtain treat connection from Machine;
Connect slave, the host to the slave connect distribution ID, the host with distributed the slave to be connected of ID without Line connects;
Data are collected, the host collects the communication bag data for having connected slave upload.
A kind of 2. wireless data collection methods as claimed in claim 1, it is characterised in that:The step connection slave further includes Allocation list is generated, the host generates allocation list according to the link information for being connected slave, and the host is according to Table search slave is configured, and is attached with slave.
A kind of 3. wireless data collection methods as claimed in claim 1, it is characterised in that:The step connection slave further includes Distribute host id, when the host lookup to some when host is connected, the host is to the host assignment host to be connected ID。
A kind of 4. wireless data collection methods as claimed in claim 1, it is characterised in that:The step connection slave further includes Connection checks, the host examine described in slave connect ID, when described when the ID repetitions of slave are connected, the host to The slave to be connected for repeating ID distributes new ID.
A kind of 5. wireless data collection methods as claimed in claim 1, it is characterised in that:The step connection slave further includes Verify communication bag, the effective length for the communication bag that slave to be connected described in the host verification uploads, form, check code, verification By the way that then the host is attached with the slave to be connected, and verification is not by the then host and the slave to be connected Disconnect.
A kind of 6. wireless data collection methods as claimed in claim 1, it is characterised in that:The step collects data The host has connected the communication bag that slave uploads described in obtaining, and the communication bag is parsed, and obtains parsing communication bag, carries The data of the parsing communication bag are taken, and the data of extraction are uploaded to Cloud Server.
7. a kind of electronic equipment, it is characterised in that including:Processor;
Memory;And program, wherein described program is stored in the memory, and is configured to be held by processor OK, described program includes being used for the method described in perform claim requirement 1-6 any one.
8. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that:The computer program quilt Processor performs method as claimed in any one of claims 1 to 6.
A kind of 9. wireless data collection system, it is characterised in that:Including host, slave, Cloud Server, the slave initiates connection Call request;The host includes searching slave module, connection slave module, collects data module, and the host initiates connection Call request, the slave module of searching search the slave for initiating connection call request, obtain slave to be connected;It is described connection from Machine module distributes ID, the host and the slave wireless connection to be connected for having distributed ID to the slave to be connected;It is described to collect Data module collects the communication bag data for having connected slave upload.
A kind of 10. wireless data collection system as claimed in claim 9, it is characterised in that:The connection slave module is also wrapped Include generation allocation list module, distribution host id module, connection inspection module, the generation allocation list module according to the host with It is described connected slave link information generation allocation list, the host according to it is described configuration table search slave, and with slave into Row connection;The host id module of distributing is to host assignment host id to be connected;The company for the treatment of described in the connection inspection module inspection Connect the effective length of the communication bag that the ID of slave and the slave to be connected upload, form, check code.
CN201711015046.0A 2017-10-26 2017-10-26 A kind of wireless data collection methods, electronic equipment, storage medium, system Pending CN107995256A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711015046.0A CN107995256A (en) 2017-10-26 2017-10-26 A kind of wireless data collection methods, electronic equipment, storage medium, system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711015046.0A CN107995256A (en) 2017-10-26 2017-10-26 A kind of wireless data collection methods, electronic equipment, storage medium, system

Publications (1)

Publication Number Publication Date
CN107995256A true CN107995256A (en) 2018-05-04

Family

ID=62030500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711015046.0A Pending CN107995256A (en) 2017-10-26 2017-10-26 A kind of wireless data collection methods, electronic equipment, storage medium, system

Country Status (1)

Country Link
CN (1) CN107995256A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111756063A (en) * 2020-06-11 2020-10-09 深圳硕日新能源科技有限公司 Solar control unit and control method thereof, and solar parallel operation system and control method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101601041A (en) * 2006-10-24 2009-12-09 麦德爱普斯股份有限公司 Be used for the wireless processing of medical data and the system and method for transmission
CN103888504A (en) * 2013-09-18 2014-06-25 苏州硕穗光机电科技有限公司 Host computer and slave computer in intelligent household system and communication method thereof
CN104768123A (en) * 2015-03-18 2015-07-08 广东欧珀移动通信有限公司 A Bluetooth connection method, device and system
CN106102184A (en) * 2016-07-15 2016-11-09 杭州赫智电子科技有限公司 A kind of for managing the system and method that bluetooth equipment binding connects
CN106899927A (en) * 2017-03-16 2017-06-27 北京神州视翰科技股份有限公司 A kind of non-matching rapid data transmission method suitable for low-power consumption bluetooth equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101601041A (en) * 2006-10-24 2009-12-09 麦德爱普斯股份有限公司 Be used for the wireless processing of medical data and the system and method for transmission
CN103888504A (en) * 2013-09-18 2014-06-25 苏州硕穗光机电科技有限公司 Host computer and slave computer in intelligent household system and communication method thereof
CN104768123A (en) * 2015-03-18 2015-07-08 广东欧珀移动通信有限公司 A Bluetooth connection method, device and system
CN106102184A (en) * 2016-07-15 2016-11-09 杭州赫智电子科技有限公司 A kind of for managing the system and method that bluetooth equipment binding connects
CN106899927A (en) * 2017-03-16 2017-06-27 北京神州视翰科技股份有限公司 A kind of non-matching rapid data transmission method suitable for low-power consumption bluetooth equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111756063A (en) * 2020-06-11 2020-10-09 深圳硕日新能源科技有限公司 Solar control unit and control method thereof, and solar parallel operation system and control method thereof
CN111756063B (en) * 2020-06-11 2022-05-13 深圳硕日新能源科技有限公司 Solar control unit and control method thereof, and solar parallel operation system and control method thereof

Similar Documents

Publication Publication Date Title
CN103795580B (en) A kind of data monitoring method, system and relevant device
CN109634258B (en) Bus message checking method, device and system for hardware-in-loop test
CN106354634A (en) Interface testing method and device
CN108459850B (en) Method, device and system for generating test script
CN107168877A (en) A kind of method for carrying out remote testing to server based on Python
WO2021035634A1 (en) Remote diagnosis method and system for vehicles
CN108833565A (en) A kind of method, apparatus of monitoring server, server and storage medium
CN103067919B (en) Connection establishment method and authentication method between computing device and mobile device
CN106302025A (en) The automated testing method of communication protocol and device
CN103152113B (en) A kind of method of testing of equipment and testing apparatus
CN103229486B (en) Batch file transmission method and equipment
CN107995256A (en) A kind of wireless data collection methods, electronic equipment, storage medium, system
CN102136964A (en) Website testing method and system
CN107135235A (en) A kind of multistage redirect after SSH connections source method for tracing and device
CN106598793B (en) A test system and test method based on BIOS serial port log data
DE102015017109B3 (en) Integrity checking of news sites during auto-negotiation in automotive networks
CN109495353A (en) A kind of Internet of Things card batch detection device and method
CN110351707A (en) A kind of metering automation terminal, metering system and metering method
CN105120013B (en) The distribution method and system of the network address of probe, central station
CN101714995A (en) Method for completely testing iSCSI target and generating report
CN209057227U (en) A kind of Internet of Things card batch detection device
CN108304203A (en) A kind of more instrument firmware upgrade methods and device
CN114071450B (en) Recognition method and device for the behavior of changing the phone and changing the card
CN107360069A (en) A kind of network equipment recognition methods of intelligent home control system
CN104023086B (en) A kind of WEB cluster codes update method, apparatus and system

Legal Events

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

Application publication date: 20180504