Movatterモバイル変換


[0]ホーム

URL:


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
CN107995256ACN201711015046.0ACN201711015046ACN107995256ACN 107995256 ACN107995256 ACN 107995256ACN 201711015046 ACN201711015046 ACN 201711015046ACN 107995256 ACN107995256 ACN 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 LtdfiledCriticalConcord Health Cloud Services Ltd
Priority to CN201711015046.0ApriorityCriticalpatent/CN107995256A/en
Publication of CN107995256ApublicationCriticalpatent/CN107995256A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

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 isSystem.
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, mainMachine controls slave, and from slave collection status information, each slave has a unique address, and host is matched somebody with somebody by the addressCorresponding slave is put and manages, but in actual application, it is hard because of host when host is connected with slave using wired modePart device has extension to limit, when host needs to extend connection, it is necessary to replace host hardware;Host uses wireless mode with slaveDuring connection, such as bluetooth radio connection and 2.4GHz/5GHz wireless radiofrequency connection modes, needed in first line artificialThe 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 slaveMachine cannot be attached with other slaves, or because that can not connect more slaves using resources of chip restricting host, and host with fromMachine 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 connectedWireless 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 changePart, 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 connectSlave;
Connect slave, the host to the slave connect distribution ID, the host with distributed ID wait to be connected fromMachine 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 fromThe 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 someDuring 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 inspectionID, 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 verificationThe effective length of the communication bag of upload, form, check code, are verified, then the host is connected with the slave to be connectedConnect, 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 extractionAccording 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 processorPerform, 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 processorA 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 toThe 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 moduleCollect 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 inspectionModule, the generation allocation list module generates allocation list according to the host with the link information for being connected slave, describedHost is attached according to the configuration table search slave with slave;The distribution host id module is divided to host to be connectedWith 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 uploadEffective 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 toCross 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 ofSlave 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 uploadBag 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 forPerform a kind of wireless data collection methods;The present invention realizes host and more slave wireless connections, without host hardware is needed to change, realizesHost collects the data that different types of slave uploads, and the data collected are uploaded to Cloud Server, Cloud Server generation by hostReport, by generating allocation list according to the link information of host and slave, host is according to configuration table search slave, realization and slaveAutomatic connection and synchronization parameter are set, and reduce manual operation, when host lookup to some when host is connected, host is to waiting to connectHost assignment host id, realizes more hosts and even works, and the communication bag uploaded by verifying slave ID and slave, solves and loseBag, 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 hairBright 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, notUnder the premise of afoul, new implementation can be formed between various embodiments described below or between each technical characteristic in any combinationExample.
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 connectSlave;
Connect slave, host according to slave request signal power, at random from trend slave connect distribution ID, host andThe slave wireless connection to be connected of ID is distributed;Preferably, step connection slave further includes distribution host id, when host lookup arrivesIt 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 idBe 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 withoutLine 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 slaveLink information generation allocation list, host and is connected according to configuration table search slave automatically with slave, without match again again fromMachine, improves the Connection Time.Preferably, step connection slave further includes connection and checks, after host is connected with slave, host is examined and treatedThe 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 thatGround, step connection slave further include verification communication bag, and when host lookup is to the slave for initiating connection call request, host verification is treatedThe effective length for the communication bag that connection slave uploads, form, check code, are verified, then host is connected with slave to be connectedConnect, 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 mistakeDuring 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 speciallyHost obtains the communication bag for having connected slave upload, and communication bag is parsed, and obtains parsing communication bag, extraction parsing communication bagData, and the data of extraction are uploaded to Cloud Server, Cloud Server is spliced the data that host extracts, and generates reportTable.
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 numberAccording 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 hostIt 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 hostThe slave for initiating connection call request, and the power to the slave found according to slave request signal are searched, at random from trendSlave to be connected distributes slave ID, the effective length for the communication bag that the first host verification slave is sent, form, check code, verificationBy 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 hostCeasing, 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, theOne 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 slaveCommunication bag is passed, communication bag is parsed, extracts blood pressure detecting data, and blood pressure detecting data are uploaded to Cloud Server, phaseWith ground, the second host lookup initiates the slave of connection call request, and to the slave found according to the strong of slave request signalIt 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, latticeFormula, check code, are verified, then host is attached with slave to be connected, and generates allocation list, be connected with the second host fromMachine 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 fromAfter 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 repeatedCollect slave and upload communication bag, communication bag is parsed, extract blood sugar test data, and blood sugar test data are uploaded to cloudServer, 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, andAnd 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 canStorage medium is read, is stored thereon with computer program, computer program is executed by processor a kind of above-mentioned wireless data side of collectingMethod.
A kind of wireless data collection system, as shown in Fig. 2, including host, slave, Cloud Server, slave is initiated connection and is exhaledCry request;Host includes searching slave module, connection slave module, collects data module, and host is initiated connection call request, looked intoLook 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 connectedDistribute ID, host and the slave wireless connection to be connected for having distributed ID;Preferably, connection slave module further includes generation allocation listModule, distribution host id module, connection inspection module, generation allocation list module is according to host and the link information for being connected slaveAllocation list is generated, host is connected automatically according to configuration table search slave with slave;Host id module is distributed to host to be connectedDistribute host id;Connection inspection module examines the ID of slave connect, if slave ID is repeated, connects slave module again to treatingConnecting 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 ofSlave 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 toCross 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 ofSlave 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 uploadBag 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 forPerform a kind of wireless data collection methods;The present invention realizes host and more slave wireless connections, without host hardware is needed to change, realizesHost collects the data that different types of slave uploads, and the data collected are uploaded to Cloud Server, Cloud Server generation by hostReport, by generating allocation list according to the link information of host and slave, host is according to configuration table search slave, realization and slaveAutomatic connection and synchronization parameter are set, and reduce manual operation, when host lookup to some when host is connected, host is to waiting to connectHost assignment host id, realizes more hosts and even works, and the communication bag uploaded by verifying slave ID and slave, solves and loseBag, 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 professionsThe 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 specialThe technical staff of industry without departing from the scope of the present invention, is made a little using disclosed above technology contentsThe equivalent variations of variation, modification and evolution, are the equivalent embodiment of the present invention;Meanwhile all substantial technologicals according to the present inventionVariation, modification and evolution of any equivalent variations made to above example etc., still fall within technical schemeWithin protection domain.

Claims (10)

CN201711015046.0A2017-10-262017-10-26A kind of wireless data collection methods, electronic equipment, storage medium, systemPendingCN107995256A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201711015046.0ACN107995256A (en)2017-10-262017-10-26A kind of wireless data collection methods, electronic equipment, storage medium, system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201711015046.0ACN107995256A (en)2017-10-262017-10-26A kind of wireless data collection methods, electronic equipment, storage medium, system

Publications (1)

Publication NumberPublication Date
CN107995256Atrue CN107995256A (en)2018-05-04

Family

ID=62030500

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201711015046.0APendingCN107995256A (en)2017-10-262017-10-26A kind of wireless data collection methods, electronic equipment, storage medium, system

Country Status (1)

CountryLink
CN (1)CN107995256A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111756063A (en)*2020-06-112020-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 numberPriority datePublication dateAssigneeTitle
CN101601041A (en)*2006-10-242009-12-09麦德爱普斯股份有限公司Be used for the wireless processing of medical data and the system and method for transmission
CN103888504A (en)*2013-09-182014-06-25苏州硕穗光机电科技有限公司Host computer and slave computer in intelligent household system and communication method thereof
CN104768123A (en)*2015-03-182015-07-08广东欧珀移动通信有限公司 A Bluetooth connection method, device and system
CN106102184A (en)*2016-07-152016-11-09杭州赫智电子科技有限公司A kind of for managing the system and method that bluetooth equipment binding connects
CN106899927A (en)*2017-03-162017-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 numberPriority datePublication dateAssigneeTitle
CN101601041A (en)*2006-10-242009-12-09麦德爱普斯股份有限公司Be used for the wireless processing of medical data and the system and method for transmission
CN103888504A (en)*2013-09-182014-06-25苏州硕穗光机电科技有限公司Host computer and slave computer in intelligent household system and communication method thereof
CN104768123A (en)*2015-03-182015-07-08广东欧珀移动通信有限公司 A Bluetooth connection method, device and system
CN106102184A (en)*2016-07-152016-11-09杭州赫智电子科技有限公司A kind of for managing the system and method that bluetooth equipment binding connects
CN106899927A (en)*2017-03-162017-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 numberPriority datePublication dateAssigneeTitle
CN111756063A (en)*2020-06-112020-10-09深圳硕日新能源科技有限公司Solar control unit and control method thereof, and solar parallel operation system and control method thereof
CN111756063B (en)*2020-06-112022-05-13深圳硕日新能源科技有限公司Solar control unit and control method thereof, and solar parallel operation system and control method thereof

Similar Documents

PublicationPublication DateTitle
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
RU2015140779A (en) DEVICE AND METHOD FOR PROCESSING MANY OPEN APIs
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
CN106302025A (en)The automated testing method of communication protocol and device
CN103152113B (en)A kind of method of testing of equipment and testing apparatus
CN107168873A (en)A kind of network test system and method based on script
CN107995256A (en)A kind of wireless data collection methods, electronic equipment, storage medium, system
CN102801686B (en)Apparatus control method, main equipment, from equipment and master-slave equipment group
CN104333538B (en)A kind of network equipment access method
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
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
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
CN104023086B (en)A kind of WEB cluster codes update method, apparatus and system
CN103067469B (en)A kind of computing device, mobile device and server

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20180504


[8]ページ先頭

©2009-2025 Movatter.jp