CN106452515B - A kind of train apparatus monitoring method and system based on bluetooth - Google Patents

A kind of train apparatus monitoring method and system based on bluetooth Download PDF

Info

Publication number
CN106452515B
CN106452515B CN201610900914.2A CN201610900914A CN106452515B CN 106452515 B CN106452515 B CN 106452515B CN 201610900914 A CN201610900914 A CN 201610900914A CN 106452515 B CN106452515 B CN 106452515B
Authority
CN
China
Prior art keywords
bluetooth
train apparatus
broadcast packet
information
target
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.)
Active
Application number
CN201610900914.2A
Other languages
Chinese (zh)
Other versions
CN106452515A (en
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.)
CRRC Zhuzhou Institute Co Ltd
Original Assignee
CRRC Zhuzhou Institute 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 CRRC Zhuzhou Institute Co Ltd filed Critical CRRC Zhuzhou Institute Co Ltd
Priority to CN201610900914.2A priority Critical patent/CN106452515B/en
Publication of CN106452515A publication Critical patent/CN106452515A/en
Application granted granted Critical
Publication of CN106452515B publication Critical patent/CN106452515B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • H04B5/72
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • H04L43/045Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Abstract

The invention discloses a kind of train apparatus monitoring method and system based on bluetooth, this method comprises: obtaining the Bluetooth broadcast packet that the bluetooth module on each train apparatus issues;Each Bluetooth broadcast packet is parsed, the identity information and running state information of the corresponding train apparatus of each Bluetooth broadcast packet are obtained;Extraneous bluetooth connection trigger signal is obtained, and connects the bluetooth module of corresponding target train apparatus according to bluetooth connection trigger signal;Corresponding operating instruction control target train apparatus movement is sent to target train apparatus by the bluetooth module of target train apparatus, and receives the feedback information of target train apparatus.The identity and operating status of multiple train apparatus can quickly be checked by receiving broadcast packet by the connectionless mode of bluetooth, understand the basic operating condition of each train apparatus;When needing to check more information or being configured and debugged to train apparatus, bluetooth connection, inefficiency when solving the problems, such as while monitoring multiple train apparatus just are carried out with train apparatus.

Description

A kind of train apparatus monitoring method and system based on bluetooth
Technical field
The present invention relates to train apparatus monitoring field, more particularly to a kind of train apparatus monitoring method based on bluetooth and System.
Background technique
With the fast development of modern society, great variation is had occurred in the trip mode of people.Since price is relatively low The honest and clean and speed of service is very fast, and freight volume is big, and in transportation service field, train has become most basic trip tool, also just Because of that the debugging and maintenance to train apparatus itself seem particularly significant.
Technical staff is in exploitation, debugging or maintenance train apparatus, it is often necessary to the operating status and parameter of monitoring device Deng, and relevant device is configured or debugged.Ethernet or bluetooth are based primarily upon for the monitoring method of train apparatus at present, Computer is connect using wired ethernet with equipment, and the mobile terminals such as smart phone are connect using WiFi or bluetooth with equipment, and one As use one-to-one connection type.For Ethernet connection type, if connecting multiple equipment simultaneously, needs to know and respectively set Standby IP address can just check the state of corresponding equipment;For bluetooth connection mode, due to the limitation of bluetooth connection number, simultaneously It connects multiple bluetooth equipments and be easy to cause disconnecting, thus generally do not use while connecting the side that multiple equipment is monitored Formula;In addition, connection WiFi or bluetooth require the regular hour, if continually disconnecting and connect new equipment can more consume When, and IP address itself does not contain facility information, can not intuitively obtain facility information.
Therefore, staff how is improved to the monitoring efficiency of train apparatus, is those skilled in the art's technology urgently to be resolved Problem.
Summary of the invention
The object of the present invention is to provide a kind of train apparatus monitoring method and system based on bluetooth, can be improved work people Monitoring efficiency of the member to train apparatus.
In order to solve the above technical problems, the present invention provides the following technical scheme that
A kind of train apparatus monitoring method based on bluetooth, comprising:
Obtain the Bluetooth broadcast packet that the bluetooth module on each train apparatus issues;
Each Bluetooth broadcast packet is parsed, the identity letter of the corresponding train apparatus of each Bluetooth broadcast packet is obtained Breath and running state information;
Extraneous bluetooth connection trigger signal is obtained, and corresponding target column is connected according to the bluetooth connection trigger signal The bluetooth module of vehicle device;
Corresponding operating instruction control is sent to the target train apparatus by the bluetooth module of the target train apparatus The target train apparatus movement, and receive the feedback information of the target train apparatus.
Preferably, each Bluetooth broadcast packet is parsed, obtains the corresponding train apparatus of each Bluetooth broadcast packet Identity information and running state information, comprising:
Each Bluetooth broadcast packet is decrypted and is decoded according to preset agreement;
Title, type and the running state information of the corresponding train apparatus of each Bluetooth broadcast packet are obtained, and carries out phase It should show.
Preferably, title, type and the running state information of the corresponding train apparatus of each Bluetooth broadcast packet are obtained, and Accordingly shown, comprising:
Obtain title, type and the running state information of the corresponding train apparatus of each Bluetooth broadcast packet;
The intensity of the signal of each Bluetooth broadcast packet is compared;
The corresponding column of each Bluetooth broadcast packet are shown to weak sequence by strong according to the signal of each Bluetooth broadcast packet Title, type and the running state information of vehicle device.
Preferably, corresponding operating is sent to the target train apparatus by the bluetooth module of the target train apparatus to refer to It enables and controls the target train apparatus movement, and receive the feedback information of the target train apparatus, comprising:
Operating parameter and failure note are sent to the target train apparatus by the bluetooth module of the target train apparatus Inquiry instruction, configuration-direct or debugging instruction are recorded, the target train apparatus is controlled and carries out corresponding movement, and receive the mesh Mark the respective feedback information of train apparatus.
Preferably, the Bluetooth broadcast packet that the bluetooth module obtained on each train apparatus issues, comprising:
Scan all Bluetooth broadcast packets in preset range;
Each Bluetooth broadcast packet is parsed, judges whether each Bluetooth broadcast packet contains corresponding train apparatus Presupposed information;
If so, extracting the Bluetooth broadcast packet.
A kind of train apparatus monitoring system based on bluetooth, comprising: monitor terminal and setting equipped with bluetooth function unit Bluetooth module on each train apparatus;
Wherein, each bluetooth module is for compiling the identity information of corresponding train apparatus and running state information It after code, is sent by Bluetooth broadcast packet, and carries out Bluetooth communication with the monitor terminal and connect;
The monitor terminal is used to obtain the Bluetooth broadcast packet that each bluetooth module issues, and to each Bluetooth broadcast Packet carries out the identity information and running state information that parsing obtains the corresponding train apparatus of each Bluetooth broadcast packet;And response Operator's operation is connected with the bluetooth module of target train apparatus, is sent corresponding operating instruction to the bluetooth module and is controlled the mesh Train apparatus movement is marked, and receives the feedback information of the target train apparatus.
Preferably, the bluetooth module includes:
Coding unit is used for according to preset coding protocol and rule, by the identity information and fortune of corresponding train apparatus Row status information is encoded;
Broadcast packet transmitting unit, for sending the encoded information of the coding unit by Bluetooth broadcast packet;
Encryption unit, for being encrypted to the encoded information in the Bluetooth broadcast packet;
Bluetooth-communication unit, for carrying out bluetooth connection communication with monitor terminal.
Preferably, the monitor terminal includes:
Bluetooth function unit, for carrying out bluetooth connection with each bluetooth module;
Broadcast packet receiving unit, for receiving the Bluetooth broadcast packet in preset range;
Processing unit is conciliate for carrying out correspondingly decoding to the received Bluetooth broadcast packet of the broadcast packet receiving unit It is close, and operator's operation is responded, Xiang Suoshu bluetooth function unit issues corresponding control signal, controls the bluetooth function unit It connects with the bluetooth module of target train apparatus, and is sent described in corresponding operating instruction and parsing to the target train apparatus The feedback information of target train apparatus;
Display unit, information in the Bluetooth broadcast packet and the place for showing processing unit parsing Manage the feedback information of the target train apparatus of unit resolves.
Preferably, the monitor terminal further include:
Broadcast packet screening unit is rejected for screening to the received Bluetooth broadcast packet of the broadcast packet receiving unit Invalid Bluetooth broadcast packet without containing train apparatus identity information and running state information;
Sequencing unit for the signal strength of more each Bluetooth broadcast packet, and issues described in corresponding control signal control Display unit shows that the corresponding train of each Bluetooth broadcast packet is set by strong extremely weak sequence according to the signal of each Bluetooth broadcast packet Standby identity information and running state information.
Preferably, the monitor terminal further include:
Bluetooth upper limit control unit, the connection number for the bluetooth module in the bluetooth function unit and train apparatus When mesh is more than upper limit threshold, the bluetooth mould connecting at first with the bluetooth function unit in each bluetooth module currently connected is controlled Block disconnects;
Bluetooth disconnects control unit automatically, in the current bluetooth module being connect with the bluetooth function unit to described When bluetooth function unit is more than preset time threshold without the time of operation, the bluetooth module and the bluetooth function unit are disconnected Connection.
Compared with prior art, above-mentioned technical proposal has the advantage that
A kind of train apparatus monitoring method based on bluetooth provided by the embodiment of the present invention, comprising: obtain each train and set The Bluetooth broadcast packet that standby upper bluetooth module issues;Each Bluetooth broadcast packet is parsed, it is corresponding to obtain each Bluetooth broadcast packet The identity information and running state information of train apparatus;Extraneous bluetooth connection trigger signal is obtained, and is touched according to bluetooth connection Signalling connects the bluetooth module of corresponding target train apparatus;It is set by the bluetooth module of target train apparatus to target train Preparation send corresponding operating instruction control target train apparatus movement, and receives the feedback information of target train apparatus.In the present invention Technical solution in, bluetooth is installed on each train apparatus, each train apparatus is by the bluetooth of itself by the identity information of itself It is sent in the form of broadcast packet with running state information, user is not necessarily to connect by detection device with each train apparatus, i.e., Only each broadcast packet need to be received by the connectionless mode of bluetooth can quickly check the identity information and correspondence of multiple train apparatus Running state information, understand the basic operating condition of all train apparatus;When user needs to obtain the detailed of some train apparatus When thin parameter and failure logging or needs are configured and debugged to the train apparatus, equipment and the train apparatus just will test Bluetooth module carry out bluetooth connection, carry out information exchange, inefficiency asks when solving while monitoring multiple train apparatus Topic.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is a kind of train apparatus monitoring method process based on bluetooth provided by a kind of specific embodiment of the present invention Figure;
Fig. 2 is a kind of train apparatus monitoring system structure based on bluetooth provided by a kind of specific embodiment of the present invention Schematic diagram.
Specific embodiment
Core of the invention is to provide a kind of train apparatus monitoring method and system based on bluetooth, and work people can be improved Monitoring efficiency of the member to train apparatus.
It is understandable in order to enable the above objects, features and advantages of the present invention to become apparent, with reference to the accompanying drawing to this hair Bright specific embodiment is described in detail.
Detail is elaborated in the following description to fully understand the present invention.But the present invention can with it is a variety of not Other way described herein is same as to implement, those skilled in the art can do class without violating the connotation of the present invention Like popularization.Therefore the present invention is not limited by following public specific embodiment.
Referring to FIG. 1, Fig. 1 is a kind of train apparatus prison based on bluetooth provided by a kind of specific embodiment of the present invention Control method flow diagram.
A kind of specific embodiment of the invention provides a kind of train apparatus monitoring method based on bluetooth, comprising:
S11: the Bluetooth broadcast packet that the bluetooth module on each train apparatus issues is obtained.
In the present embodiment, each train apparatus is equipped with bluetooth module, and each train apparatus is according to the agreement made an appointment The key messages such as the identity information of itself and running state information are encoded, are then sent by Bluetooth broadcast packet. The Bluetooth broadcast packet that the bluetooth module on each train apparatus issues is obtained in the present embodiment.
Define two kinds of roles: Central and Peripheral in low-power consumption bluetooth agreement, that is, central apparatus and outer Peripheral equipment.Central apparatus can send broadcast with active scan and connection peripheral equipment, peripheral equipment or be connected by central apparatus. Peripheral equipment is found by broadcasting by central apparatus, and the relevant information of peripheral equipment itself is had in broadcast.Under normal conditions, extensively The length for broadcasting packet is 31 bytes, is made of several data cells for representing different meanings, such as Bluetooth connected mode, equipment branch The units such as service ID, device name, signal strength, the manufacturer's self-defining data held, if effectively data portion less than 31 bytes, Remaining 0 completion.
S12: parsing each Bluetooth broadcast packet, obtain the corresponding train apparatus of each Bluetooth broadcast packet identity information and Running state information.
What it is due to acquisition is Bluetooth broadcast packet, if it is desired to learn that the information of Bluetooth broadcast packet is also needed to each bluetooth Broadcast packet carries out related resolution, to obtain the key messages such as identity information and the running state information of corresponding train apparatus. In this course, bluetooth connection is carried out without the bluetooth module with train apparatus, the bluetooth module of train apparatus is uni-directionally It is sent out information.
S13: extraneous bluetooth connection trigger signal is obtained, and corresponding target column is connected according to bluetooth connection trigger signal The bluetooth module of vehicle device.
It is closed when user obtains identity information and running state information of the corresponding train apparatus of each Bluetooth broadcast packet etc. After key information, also thinks the detail parameters for further learning a certain train apparatus operation or failure logging information or want to this Train apparatus is debugged or is configured, then the bluetooth module for needing will test equipment/commissioning device and train apparatus is attached, User will do it correspondingly operation and issue a bluetooth connection trigger signal at this time, in the bluetooth connection touching for obtaining user's sending After signalling, the bluetooth module of corresponding target train apparatus is connected, to realize that the connection with train apparatus interacts.
S14: corresponding operating instruction control target is sent to target train apparatus by the bluetooth module of target train apparatus Train apparatus movement, and receive the feedback information of target train apparatus.
Wherein, corresponding operating instruction control target is sent to target train apparatus by the bluetooth module of target train apparatus Train apparatus movement, and receives the feedback information of target train apparatus, comprising: by the bluetooth module of target train apparatus to mesh It marks train apparatus and sends operating parameter and failure logging inquiry instruction, configuration-direct or debugging instruction, control target train apparatus Corresponding movement is carried out, and receives the respective feedback information of target train apparatus.
After carrying out bluetooth connection with target train apparatus, corresponding operating instruction can be issued to the train apparatus, is such as controlled Target train apparatus processed feeds back the detail parameters of itself or failure logging etc., or configures to target train apparatus With debugging etc..
In the present embodiment, two levels are divided into the monitoring of train apparatus, obtain train apparatus in first level The Bluetooth broadcast packet of sending allows user with the identity information of each train apparatus of bluetooth connectionless-mode quick obtaining, fortune The information such as row state and fault condition;And in second level, then it needs to be attached with the bluetooth module of train apparatus, pass through Bluetooth connected mode obtains detail parameters, the failure logging etc. of target train apparatus, or configures to target train apparatus With debugging etc. operation.It not only ensure that user can quickly understand the basic status of all train apparatus in this way, but also facilitated user Its interested train apparatus is further understood and operated, low efficiency when solving while monitoring multiple train apparatus Under problem.
It should be noted that above-mentioned bluetooth connectionless-mode context means that train apparatus by the equipment after coding Key message is sent by Bluetooth broadcast packet, and user parses after receiving Bluetooth broadcast packet by equipment such as detection terminals The key message of train apparatus, and show etc., it is a kind of unidirectional communication mode.
It should also be noted that, above-mentioned Bluetooth connected mode context means that train apparatus bluetooth module and use The equipment such as the detection terminal at family end send operational order by bluetooth connection, to bluetooth module, and bluetooth module receives operation and refers to Corresponding operating is executed to corresponding train apparatus after order, and result is fed back into user terminal, is a kind of two-way communication mode.
In one embodiment of the invention, each Bluetooth broadcast packet is parsed, it is corresponding obtains each Bluetooth broadcast packet Train apparatus identity information and running state information, comprising:
Each Bluetooth broadcast packet is decrypted and is decoded according to preset agreement;
Title, type and the running state information of the corresponding train apparatus of each Bluetooth broadcast packet are obtained, and is accordingly shown Show.
By above embodiment it is found that under bluetooth connectionless-mode, need to define the bodies such as title, the type of train apparatus These information are passed through length by coding protocol or rule of part key messages such as information and running state information in Bluetooth broadcast packet It spends limited Bluetooth broadcast packet to send, in order to guarantee that information is not leaked, then needs further exist for adding these information It is close.Therefore, in the present embodiment, need to be decoded reconciliation to each Bluetooth broadcast packet received according to preset agreement It is close, and then obtain the title of train apparatus and the running state information of the identity informations such as type and train apparatus, and can be into One step shown, understands the basic condition of each train apparatus in order to which user checks.
In the present embodiment, the primitive rule of coding protocol is as follows preferably under bluetooth connectionless-mode: by train apparatus After title (not allowing more than 10 bytes generally) is encoded with Base64, it is placed on device name data cell, train apparatus class The information such as type, operating status need the good coding schedule of predefined (as defined train apparatus type with 8 positions, to be determined with 8 positions Adopted train apparatus state etc.), then corresponding coding is placed in manufacturer's self-defining data unit.
It should be noted that in coding protocol rule, it can also be using other codings to the coding of train apparatus title Mode, such as common ASCII coding, but in order to make it have unreadable property, customized rules are needed, to train apparatus title It does and obscures or encrypt.In addition, the number in coding protocol, in the information coding and Bluetooth broadcast packet of the train apparatus for needing to send There can be other corresponded manners according to unit, such as the coding of the information such as the type of train apparatus, operating status is placed on column Vehicle device name data unit, and the coding of train apparatus title is placed on other data cells.
Further, title, type and the running state information for obtaining the corresponding train apparatus of each Bluetooth broadcast packet, go forward side by side The corresponding display of row, comprising:
Obtain title, type and the running state information of the corresponding train apparatus of each Bluetooth broadcast packet;
The intensity of the signal of each Bluetooth broadcast packet is compared;
The corresponding train apparatus of each Bluetooth broadcast packet is shown to weak sequence by strong according to the signal of each Bluetooth broadcast packet Title, type and running state information.
In the present embodiment, user can check the essential information of train apparatus by the detection device etc. of user terminal, And when being shown to the essential information of each train apparatus, preferably carried out according to the power of the signal of the Bluetooth broadcast packet received Sequence, and successively shown, user can be according to the distance for judging train apparatus, this is because distance is closer The signal of the Bluetooth broadcast packet then received is stronger, and the equipment nearest apart from oneself is quickly found out with this.
In one embodiment of the invention, the Bluetooth broadcast packet that the bluetooth module on each train apparatus issues is obtained, Include:
Scan all Bluetooth broadcast packets in preset range;
Each Bluetooth broadcast packet is parsed, judges whether each Bluetooth broadcast packet contains the default letter of corresponding train apparatus Breath;
If so, extracting the Bluetooth broadcast packet.
In practical applications, can not rule out can receive other invalid Bluetooth broadcast packets in monitoring area, and if to institute There is the Bluetooth broadcast packet received to be parsed, this had undoubtedly not only wasted monitoring resource, but also user is needed therefrom to look for needs The information of the corresponding train apparatus of Bluetooth broadcast packet and waste a large amount of time.Therefore, in the present embodiment, in scanning in advance If first being parsed to each Bluetooth broadcast packet when all Bluetooth broadcast packets in range, judge parsing Bluetooth broadcast packet whether Presupposed information containing corresponding train apparatus, if it is not, then weeding out the Bluetooth broadcast packet and the Bluetooth broadcast packet can be shielded; If so, extracting the Bluetooth broadcast packet, the information for including in the Bluetooth broadcast packet is supplied to user, is checked for user.
Referring to FIG. 2, Fig. 2 is a kind of train apparatus prison based on bluetooth provided by a kind of specific embodiment of the present invention Control system structure diagram.
Correspondingly, one embodiment of the present invention additionally provides a kind of train apparatus monitoring system based on bluetooth, comprising: Monitor terminal 1 equipped with bluetooth function unit and the bluetooth module 2 being arranged on each train apparatus;Wherein, each bluetooth module 2 is used After being encoded the identity information of corresponding train apparatus and running state information, sent by Bluetooth broadcast packet, And Bluetooth communication is carried out with monitor terminal 1 and is connected;Monitor terminal 1 is used to obtain the Bluetooth broadcast packet that each bluetooth module 2 issues, And the identity information and operating status letter that parsing obtains the corresponding train apparatus of each Bluetooth broadcast packet are carried out to each Bluetooth broadcast packet Breath;And the connection of bluetooth module 2 of response operator operation and target train apparatus, corresponding operating is sent to the bluetooth module 2 Instruction control target train apparatus movement, and receive the feedback information of target train apparatus.
In the present embodiment, monitor terminal is mobile terminal bluetooth-capable, such as mobile phone, tablet computer.? Bluetooth module is installed, each train apparatus by the identity information of itself and runs shape by the bluetooth module of itself on each train apparatus State information is sent in the form of broadcast packet, at this point, user is not necessarily to monitor terminal and each train apparatus carrying out bluetooth connection, Each broadcast packet need to be only received by the connectionless mode of bluetooth can quickly check the identity information of multiple train apparatus and right The running state information answered understands the basic operating condition of all train apparatus;When user needs to obtain some train apparatus When detail parameters and failure logging or needs are configured and debugged to the train apparatus, just monitor terminal and the train are set Standby bluetooth module carries out bluetooth connection, carries out information exchange, inefficiency when solving while monitoring multiple train apparatus Problem.And whole system, without increasing radio reception device, extension is convenient.
It can be there are many implementation, such as directly by bluetooth it should be noted that bluetooth module is arranged on train apparatus Inside integrated chip to train apparatus, or in the form of bluetooth USB plug-in unit the USB that bluetooth module is plugged into train apparatus is connect Mouth is first-class.Present embodiment does not limit way of realization between the two, need to only guarantee that bluetooth module and train apparatus can be into Row normal communication.
In one embodiment of the invention, bluetooth module includes: coding unit, for according to preset coding protocol And rule, the identity information of corresponding train apparatus and running state information are encoded;Broadcast packet transmitting unit, being used for will The encoded information of coding unit is sent by Bluetooth broadcast packet;Encryption unit, for believing the coding in Bluetooth broadcast packet Breath is encrypted;Bluetooth-communication unit, for carrying out bluetooth connection communication with monitor terminal.
In the present embodiment, identity information and operation of the bluetooth module according to the agreement and rule made an appointment by itself The key messages such as status information are encoded, and are then sent by Bluetooth broadcast packet, while in order to guarantee principle of secrecy, if Encryption unit is equipped with to encrypt key message.
Further, monitor terminal includes: bluetooth function unit, for carrying out bluetooth connection with each bluetooth module;Broadcast Packet receiving unit, for receiving the Bluetooth broadcast packet in preset range;Processing unit, for received to broadcast packet receiving unit Bluetooth broadcast packet is correspondingly decoded and is decrypted, and responds operator's operation, issues corresponding control to bluetooth function unit Signal, control bluetooth function unit are connected with the bluetooth module of target train apparatus, and send corresponding behaviour to target train apparatus Make the feedback information of instruction and parsing target train apparatus;Display unit, the Bluetooth broadcast for display processing unit parsing The feedback information of the target train apparatus of information and processing unit parsing in packet.
In the present embodiment, user can according to the title of the train apparatus shown on the display unit of monitor terminal, Corresponding train apparatus is found to the identity informations straight tube such as type, without knowing the IP address and IP address of the train apparatus It with the corresponding relationship of train apparatus, facilitates user while multiple train apparatus is monitored, without inputting corresponding IP Corresponding train apparatus is connected, monitoring efficiency is improved.Wherein, user is when operating target train apparatus, can also be with It is operated by display unit, if display unit is touch screen, user need to only click corresponding train in the display interface and set It is standby then can issue and trigger signal that the target train apparatus is attached, to control bluetooth function unit and the target train The bluetooth module of equipment is attached.
In one embodiment of the invention, monitor terminal further include: broadcast packet screening unit, for being connect to broadcast packet It receives the received Bluetooth broadcast packet of unit to be screened, it is invalid without containing train apparatus identity information and running state information to reject Bluetooth broadcast packet;Sequencing unit, for the signal strength of more each Bluetooth broadcast packet, and it is aobvious to issue corresponding control signal control Show unit according to the signal of each Bluetooth broadcast packet by the strong body for showing the corresponding train apparatus of each Bluetooth broadcast packet to weak sequence Part information and running state information.
In the present embodiment, can not rule out can receive other invalid Bluetooth broadcast packets in monitoring area, and if right All Bluetooth broadcast packets received are parsed, this had undoubtedly not only wasted monitoring resource, but also user is needed therefrom to look for needs The corresponding train apparatus of Bluetooth broadcast packet information and waste a large amount of time.Therefore, in scanning to the institute in preset range When having Bluetooth broadcast packet, first each Bluetooth broadcast packet is screened, judges whether received Bluetooth broadcast packet contains corresponding column The presupposed information of vehicle device rejects the invalid Bluetooth broadcast packet for not containing train apparatus identity information and running state information.
And user is when checking the essential information of train apparatus by monitor terminal, preferably according to the Bluetooth broadcast packet received The power of signal be ranked up, and successively shown, user can according to the distance for judging train apparatus, This is because the distance the close, the signal of the Bluetooth broadcast packet received is stronger, and is quickly found out with this apart from oneself nearest setting It is standby.
In one embodiment of the invention, monitor terminal further include: bluetooth upper limit control unit, in bluetooth function When the linking number of energy unit and the bluetooth module on train apparatus is more than upper limit threshold, each bluetooth module currently connected is controlled In the bluetooth module that is connect at first with bluetooth function unit disconnect;Bluetooth disconnects control unit automatically, for currently with When the bluetooth module of bluetooth function unit connection is more than preset time threshold without the time of operation to bluetooth function unit, disconnecting should The connection of bluetooth module and bluetooth function unit.
Since the number of bluetooth connection has upper limit value, in the present embodiment, when the bluetooth module of monitor terminal connection Number be more than the upper limit when (such as 7), then the bluetooth module connected at first is disconnected, to ensure that concurrent connection number is no more than Upper limit value.Meanwhile after monitor terminal and a bluetooth module successful connection, whithin a period of time in (such as 5 minutes) not Any operation is carried out to the bluetooth module, i.e., does not issue any control signal and operational order to the bluetooth module, then automatically The connection of disconnection and the bluetooth module, to save resource.
In conclusion train apparatus monitoring method based on bluetooth provided by the respective embodiments described above of the present invention and being System, is monitored train apparatus in such a way that bluetooth is connectionless and bluetooth connection combines, both ensure that and quickly obtained The key message of train apparatus is taken, and supports the further operating to train apparatus, especially by bluetooth connectionless-mode So that user, which is not necessarily to be attached with train apparatus, can quickly check title, type, operating status of multiple train apparatus etc. Key message.
A kind of train apparatus monitoring method and system based on bluetooth provided by the present invention is described in detail above. Used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only used The present invention and its core concept are understood in help.It should be pointed out that for those skilled in the art, not taking off , can be with several improvements and modifications are made to the present invention under the premise of from the principle of the invention, these improvement and modification also fall into this In invention scope of protection of the claims.

Claims (10)

1. a kind of train apparatus monitoring method based on bluetooth characterized by comprising
Obtain the Bluetooth broadcast packet that the bluetooth module on each train apparatus issues;
Each Bluetooth broadcast packet is parsed, obtain the corresponding train apparatus of each Bluetooth broadcast packet identity information and Running state information;
Extraneous bluetooth connection trigger signal is obtained, and corresponding target train is connected according to the bluetooth connection trigger signal and is set Standby bluetooth module;
It is sent described in corresponding operating instruction control by the bluetooth module of the target train apparatus to the target train apparatus The movement of target train apparatus, and receive the feedback information of the target train apparatus;
When bluetooth module to the target train apparatus is more than preset time threshold without the operating time, disconnect and the mesh Mark the connection of the bluetooth module of train apparatus.
2. obtaining each institute the method according to claim 1, wherein parsing to each Bluetooth broadcast packet State the identity information and running state information of the corresponding train apparatus of Bluetooth broadcast packet, comprising:
Each Bluetooth broadcast packet is decrypted and is decoded according to preset agreement;
Title, type and the running state information of the corresponding train apparatus of each Bluetooth broadcast packet are obtained, and is accordingly shown Show.
3. according to the method described in claim 2, it is characterized in that, obtaining the corresponding train apparatus of each Bluetooth broadcast packet Title, type and running state information, and accordingly shown, comprising:
Obtain title, type and the running state information of the corresponding train apparatus of each Bluetooth broadcast packet;
The intensity of the signal of each Bluetooth broadcast packet is compared;
Show that the corresponding train of each Bluetooth broadcast packet is set to weak sequence by strong according to the signal of each Bluetooth broadcast packet Standby title, type and running state information.
4. according to the method described in claim 3, it is characterized in that, by the bluetooth module of the target train apparatus to described Target train apparatus sends corresponding operating instruction and controls the target train apparatus movement, and receives the target train apparatus Feedback information, comprising:
Operating parameter is sent to the target train apparatus by the bluetooth module of the target train apparatus and failure logging is looked into Instruction, configuration-direct or debugging instruction are ask, the target train apparatus is controlled and carries out corresponding movement, and receive the target column The respective feedback information of vehicle device.
5. method according to claim 1-4, which is characterized in that the bluetooth mould obtained on each train apparatus The Bluetooth broadcast packet that block issues, comprising:
Scan all Bluetooth broadcast packets in preset range;
Each Bluetooth broadcast packet is parsed, it is default to judge whether each Bluetooth broadcast packet contains corresponding train apparatus Information;
If so, extracting the Bluetooth broadcast packet.
6. a kind of train apparatus monitoring system based on bluetooth characterized by comprising the monitoring equipped with bluetooth function unit is whole The bluetooth module held and be arranged on each train apparatus;
Wherein, each bluetooth module is for encoding the identity information of corresponding train apparatus and running state information Afterwards, it is sent by Bluetooth broadcast packet, and carries out Bluetooth communication with the monitor terminal and connect;
The monitor terminal is used to obtain the Bluetooth broadcast packet that each bluetooth module issues, and to each Bluetooth broadcast packet into Row parsing obtains the identity information and running state information of the corresponding train apparatus of each Bluetooth broadcast packet;And response operation Person's operation is connected with the bluetooth module of target train apparatus, is sent corresponding operating instruction to the bluetooth module and is controlled the target column Vehicle device movement, and receive the feedback information of the target train apparatus;And when the bluetooth mould to the target train apparatus When being more than preset time threshold without the operating time of block, disconnects the connection with the bluetooth module of the target train apparatus.
7. system according to claim 6, which is characterized in that the bluetooth module includes:
Coding unit, for by the identity information of corresponding train apparatus and running shape according to preset coding protocol and rule State information is encoded;
Broadcast packet transmitting unit, for sending the encoded information of the coding unit by Bluetooth broadcast packet;
Encryption unit, for being encrypted to the encoded information in the Bluetooth broadcast packet;
Bluetooth-communication unit, for carrying out bluetooth connection communication with monitor terminal.
8. system according to claim 7, which is characterized in that the monitor terminal includes:
Bluetooth function unit, for carrying out bluetooth connection with each bluetooth module;
Broadcast packet receiving unit, for receiving the Bluetooth broadcast packet in preset range;
Processing unit, for the received Bluetooth broadcast packet of the broadcast packet receiving unit correspondingly to be decoded and is decrypted, and Operator's operation is responded, Xiang Suoshu bluetooth function unit issues corresponding control signal, controls the bluetooth function unit and mesh The bluetooth module connection of train apparatus is marked, and sends corresponding operating instruction to the target train apparatus and parses the target The feedback information of train apparatus;
Display unit, the information and processing list in the Bluetooth broadcast packet for showing the processing unit parsing The feedback information of the target train apparatus of element resolution.
9. system according to claim 8, which is characterized in that the monitor terminal further include:
Broadcast packet screening unit, for screening to the received Bluetooth broadcast packet of the broadcast packet receiving unit, rejecting is free of There is the invalid Bluetooth broadcast packet of train apparatus identity information and running state information;
Sequencing unit for the signal strength of more each Bluetooth broadcast packet, and issues corresponding control signal and controls the display Unit shows the corresponding train apparatus of each Bluetooth broadcast packet by strong extremely weak sequence according to the signal of each Bluetooth broadcast packet Identity information and running state information.
10. system according to claim 9, which is characterized in that the monitor terminal further include:
Bluetooth upper limit control unit, the linking number for the bluetooth module in the bluetooth function unit and train apparatus are super When crossing upper limit threshold, it is disconnected to control the bluetooth module connecting at first with the bluetooth function unit in each bluetooth module currently connected Open connection.
CN201610900914.2A 2016-10-17 2016-10-17 A kind of train apparatus monitoring method and system based on bluetooth Active CN106452515B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610900914.2A CN106452515B (en) 2016-10-17 2016-10-17 A kind of train apparatus monitoring method and system based on bluetooth

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610900914.2A CN106452515B (en) 2016-10-17 2016-10-17 A kind of train apparatus monitoring method and system based on bluetooth

Publications (2)

Publication Number Publication Date
CN106452515A CN106452515A (en) 2017-02-22
CN106452515B true CN106452515B (en) 2019-07-05

Family

ID=58174702

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610900914.2A Active CN106452515B (en) 2016-10-17 2016-10-17 A kind of train apparatus monitoring method and system based on bluetooth

Country Status (1)

Country Link
CN (1) CN106452515B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111510863A (en) * 2019-01-31 2020-08-07 北京骑胜科技有限公司 Vehicle fault processing method and device, shared vehicle and readable storage medium
CN110626390A (en) * 2019-08-14 2019-12-31 交控科技股份有限公司 Train positioning system and method
CN110958594B (en) * 2019-12-18 2023-05-12 深圳市芯中芯科技有限公司 Effectiveness filtering method for searching Bluetooth BLE equipment
DE102020201287A1 (en) * 2020-02-03 2021-08-05 BSH Hausgeräte GmbH Method for operating a household appliance, computer program product and arrangement comprising a household appliance and an external operating device
CN115150007A (en) * 2022-06-30 2022-10-04 中国第一汽车股份有限公司 Digital key system monitoring method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103794038A (en) * 2012-10-12 2014-05-14 中国北车股份有限公司 Train equipment wireless measuring system and method
CN104218979A (en) * 2014-07-31 2014-12-17 北京升哲科技有限公司 Sensor for acquiring sensing data in disconnected state and intelligent device and method
CN104348522A (en) * 2013-07-23 2015-02-11 普天信息技术研究院有限公司 Method suitable for heartbeat keeping of low-power consumption Bluetooth device
CN104768123A (en) * 2015-03-18 2015-07-08 广东欧珀移动通信有限公司 Bluetooth connection method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103794038A (en) * 2012-10-12 2014-05-14 中国北车股份有限公司 Train equipment wireless measuring system and method
CN104348522A (en) * 2013-07-23 2015-02-11 普天信息技术研究院有限公司 Method suitable for heartbeat keeping of low-power consumption Bluetooth device
CN104218979A (en) * 2014-07-31 2014-12-17 北京升哲科技有限公司 Sensor for acquiring sensing data in disconnected state and intelligent device and method
CN104768123A (en) * 2015-03-18 2015-07-08 广东欧珀移动通信有限公司 Bluetooth connection method, device and system

Also Published As

Publication number Publication date
CN106452515A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN106452515B (en) A kind of train apparatus monitoring method and system based on bluetooth
CN104243595B (en) A kind of power information acquisition system and its method based on IPv6
CN104467187B (en) A kind of intelligent grid long distance control system based on IOS system
CN102215263B (en) Data transmission and remote control method for self-organizing wireless internet of things (IoT) system
CN105119950B (en) A kind of Distribution Network Communication method
CN103761848A (en) Meter reading and controlling system for intensively acquiring data
CN104881015B (en) A kind of information processing method and smart home control device
CN203135590U (en) Intelligent power grid integrated data acquisition system
CN206470584U (en) A kind of rural sewage treatment equipment monitoring system
CN108769169A (en) The remote fault diagnosis method of electric system measure and control device
CN106100934B (en) A kind of substation information monitoring system and method based on EMS fault warning
CN208458762U (en) Wireless sensor module and the electrical security protection monitoring system of Internet of Things
CN100446585C (en) Distributive information delivery system based on short message
CN201123038Y (en) Electrical power system synthetic short message monitoring system
CN202652532U (en) Embedded information playing system and device based on short message service
CN109920232A (en) Electric power multi service access terminal and management system based on NB-loT
CN108288360A (en) A kind of sewage disposal station-service warning system
CN110763927A (en) In-situ equipment debugging method based on wireless communication
CN102111280A (en) Terminal equipment fault detection device, system and method
CN203205980U (en) High-voltage fault monitoring system based on Internet-of-things technology
CN106254118A (en) A kind of WiFi equipment fast control method
CN207124637U (en) Computer lab management apparatus and system based on Internet of Things
CN105354120A (en) SCD file document check device for intelligent substation
CN104363118A (en) Multi-mode communication hand-held device, management system and method based on community management
CN104917841A (en) Mobile hand-held terminal third party application program system for water supply system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant