CN110446196A - Gateway control method, apparatus and gateway working method, device and electronic equipment - Google Patents

Gateway control method, apparatus and gateway working method, device and electronic equipment Download PDF

Info

Publication number
CN110446196A
CN110446196A CN201910742052.9A CN201910742052A CN110446196A CN 110446196 A CN110446196 A CN 110446196A CN 201910742052 A CN201910742052 A CN 201910742052A CN 110446196 A CN110446196 A CN 110446196A
Authority
CN
China
Prior art keywords
wearable device
gateway
target
target wearable
data
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.)
Granted
Application number
CN201910742052.9A
Other languages
Chinese (zh)
Other versions
CN110446196B (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.)
Beijing Hezheng Medical Technology Co ltd
Xiangya Hospital of Central South University
Original Assignee
Beijing Hezheng Medical Technology Co ltd
Xiangya Hospital of Central South University
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 Beijing Hezheng Medical Technology Co ltd, Xiangya Hospital of Central South University filed Critical Beijing Hezheng Medical Technology Co ltd
Priority to CN201910742052.9A priority Critical patent/CN110446196B/en
Publication of CN110446196A publication Critical patent/CN110446196A/en
Application granted granted Critical
Publication of CN110446196B publication Critical patent/CN110446196B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/11Allocation or use of connection identifiers

Landscapes

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

Abstract

The embodiment of the present invention proposes a kind of gateway control method, apparatus and gateway working method, device and electronic equipment, gateway control method includes: the communication data that backstage gets wearable device to be handed down to, when determining that communication data includes target wearable device ID and target wearable device is needed to provide feedback information, the scan data and target wearable device ID sent according to acquired each gateway determines intended gateway and target wearable device, then generates the link order that instruction intended gateway is connect with target wearable device;Communication data and link order are sent to intended gateway, so that intended gateway and target wearable device establish connection and carry out data interaction.Original scan pattern can be switched to connection mode, initiate the connection request to target wearable device by intended gateway after receiving link order, establish connection with target wearable device to realize.For intended gateway, scanning function and linkage function are successively realized.

Description

Gateway control method, apparatus and gateway working method, device and electronic equipment
Technical field
The application belongs to the Bluetooth communication field BLE (Bluetooth Low Energy), and in particular to a kind of gateway control Method, apparatus and gateway working method, device and electronic equipment.
Background technique
In the prior art, the gateway itself with single BLE bluetooth mould group is provided simultaneously with three kinds of scanning, connection, broadcast moulds Formula, however, the operational capability due to gateway itself is not strong, it is difficult to separate the switching that partial arithmetic resource carrys out control model again, make Must have the function of that the gateway of single BLE bluetooth mould group generally only has one of scanning, connection, broadcast.Therefore, when needs make Gateway when having scanning, connection, at least two functions in broadcast, generally take more bluetooth mould groups (including multiple bluetooth networks It closes, part of Bluetooth gateway realizes scanning function, and part Bluetooth gateway realizes that broadcast capability, part Bluetooth gateway realize connection Function) mode, not only bring the increase of cost, can also there is the interference problem of signal.
Summary of the invention
In view of this, the application's is designed to provide a kind of gateway control method, apparatus and gateway working method, device And electronic equipment, scanning, linkage function are achieved in the gateway with single bluetooth mould group.
Embodiments herein is achieved in that
In a first aspect, the embodiment of the present application provides a kind of gateway control method, be applied to backstage, the backstage with include The communication system of multiple gateways and multiple wearable devices is communicated, and each gateway has single bluetooth mould group, the side Method includes: the communication data obtained wait be handed down to the wearable device;Determining that the communication data includes target wearable device ID and when the target wearable device being needed to provide feedback information is based on scanning to described according to each of acquired gateway The broadcast data of wearable device and the scan data and the target wearable device ID sent determine intended gateway and target wearing Equipment;Generate the link order for indicating that the intended gateway and the target wearable device are attached;By the communication data And the link order is sent to the intended gateway, so that the intended gateway and the target wearable device establish connection simultaneously Carry out data interaction.Original scan pattern can be switched to connection mode, to target after receiving link order by intended gateway Wearable device initiates the connection request, establishes connection with target wearable device to realize.Intended gateway, can after receiving link order Original scan pattern is switched to connection mode, to initiate the connection request to target wearable device, with realization and target Wearable device establishes connection.For intended gateway, formerly realize scanning function scanning wearable device broadcasted it is wide Multicast data, rear and realize linkage function and target wearable device establishes connection.I.e. the gateway including single bluetooth mould group is first After realize scanning function and linkage function.
Embodiment with reference to first aspect, in a kind of possible embodiment, the scan data includes gateway ID, wearing Signal strength between device id and the corresponding gateway of gateway ID wearable device corresponding with the wearable device ID;It is described Broadcast data and the scan data sent and institute according to each of acquired gateway based on scanning to the wearable device It states target wearable device ID and determines intended gateway and target wearable device, comprising: wear the wearable device ID with the target It wears the consistent wearable device of device id and is determined as the target wearable device;It will include institute in the scan data of transmission It states target wearable device ID and the strongest gateway of the signal strength is determined as the intended gateway.When what some gateway was sent sweeps Retouch signal strength in data it is most strong when, it is nearest to characterize gateway distance objective wearing.From the background by the strongest gateway of signal strength It is determined as intended gateway, to save the time of intended gateway transmitting communication data, thereby saving energy consumption.
Embodiment with reference to first aspect, in a kind of possible embodiment, described by the communication data and described Link order is sent to the intended gateway, goes forward side by side line number so that the intended gateway and the target wearable device establish connection After interaction, the method also includes: receive the target wearable device that the intended gateway is sent feedback information or It receives the intended gateway and the result information fed back except its join domain is located at based on the target wearable device.
Embodiment with reference to first aspect receives the intended gateway transmission described in a kind of possible embodiment The target wearable device feedback information or receive the intended gateway and be based on the target wearable device and be located at its connecting After the outer result information fed back of range, the method also includes: Xiang Suoshu intended gateway sends the instruction disconnected, with Reduce the power consumption of intended gateway.
Embodiment with reference to first aspect, in a kind of possible embodiment, the method also includes: it is described logical determining When letter data does not include target wearable device ID, the communication data is sent to the gateway, so that the gateway is to described Wearable device broadcasts the communication data.When i.e. without specified target wearable device, Xiang Suoyou wearable device broadcast communication data.
Second aspect, the embodiment of the present application provide a kind of gateway working method, have list applied in communication system The gateway of a bluetooth mould group, the communication system further include multiple wearable devices, the gateway can with communicated from the background, institute The method of stating includes: the communication data for obtaining the backstage and issuing;It is built get that the backstage issues with target wearable device The link order of vertical connection, and when scanning to the target wearable device broadcast data broadcasted, it dresses and sets with the target It is standby to establish connection and carry out data interaction.
In conjunction with second aspect embodiment, in a kind of possible embodiment, issued on the acquisition backstage logical After letter data, the method also includes: if having not been obtained that the backstage issues in the given time dresses with the target When equipment establishes the instruction of connection, Xiang Suoshu wearable device broadcasts the communication data.
In conjunction with second aspect embodiment, in a kind of possible embodiment, built described with the target wearable device It is vertical connect and carry out data interaction after, the method also includes: by the feedback information of the target wearable device or by institute It states target wearable device and is located at the outer result information fed back of join domain and feed back to the backstage.
In conjunction with second aspect embodiment, in a kind of possible embodiment, described by the target wearable device Feedback information or by the target wearable device be located at the result information fed back outside join domain feed back to the backstage it Afterwards, the method also includes: disconnect and the target wearable device between connection.
In conjunction with second aspect embodiment, in a kind of possible embodiment, the method also includes: scan the wearing The broadcast data of equipment;Scan data and navigation data are generated according to the broadcast data scanned;By the scan data It is sent to the backstage, and the navigation data is sent to the movement for sharing the same wearable device ID with the wearable device Terminal.
The third aspect, the embodiment of the present application provide a kind of gateway control apparatus, the gateway control apparatus with include more The communication system of a gateway and multiple wearable devices is communicated, and each gateway includes single bluetooth mould group, described device It include: acquisition module, for obtaining the communication data wait be handed down to the wearable device;Determining module, for described in the determination When communication data includes target wearable device ID and the target wearable device is needed to provide feedback information, according to acquired every A gateway scan data sent and target wearable device based on the broadcast data scanned to the wearable device ID determines intended gateway and target wearable device;Generation module indicates that the intended gateway and the target are dressed for generating The link order that equipment is attached;Sending module, for the communication data and the link order to be sent to the mesh Gateway is marked, so that the intended gateway and the target wearable device establish connection and carry out data interaction.
In conjunction with third aspect embodiment, in a kind of possible embodiment, the determining module is used for the wearing Device id and the consistent wearable device of target wearable device ID are determined as the target wearable device;By the institute of transmission Stating in scan data includes the target wearable device ID and the strongest gateway of the signal strength is determined as the intended gateway.
In conjunction with third aspect embodiment, in a kind of possible embodiment, described device further includes receiving module, is used for It receives the feedback information for the target wearable device that the intended gateway is sent or receives the intended gateway and be based on the mesh Mark wearable device is located at the result information fed back except its join domain.
In conjunction with third aspect embodiment, in a kind of possible embodiment, the sending module is also used to the mesh Mark gateway sends the instruction disconnected.
In conjunction with third aspect embodiment, in a kind of possible embodiment, the determining module is also used to determining When stating communication data not comprising target wearable device ID, the communication data is sent to the gateway so that the gateway to The wearable device broadcasts the communication data.
Fourth aspect, embodiment itself provide a kind of gateway equipment, are applied to single bluetooth mould group and can With the gateway communicated from the background, described device includes: acquisition module, the communication data issued for obtaining the backstage;Even Connection module in the link order for establishing connection with target wearable device for getting the backstage and issuing, and scans and arrives mesh When the broadcast data that mark wearable device is broadcasted, connection is established with the target wearable device and carries out data interaction.
In conjunction with fourth aspect embodiment, in a kind of possible embodiment, described device further includes broadcast module, is used for Have not been obtained that the backstage issues in the given time when establishing the instruction of connection with the target wearable device, Xiang Suoshu is worn Wear communication data described in device broadcasts.
In conjunction with fourth aspect embodiment, in a kind of possible embodiment, described device further includes feedback module, is used for By the feedback information of the target wearable device or the target wearable device is located to the result fed back outside join domain Information feeds back to the backstage.
In conjunction with fourth aspect embodiment, in a kind of possible embodiment, described device further includes disconnecting module, is used for Disconnect the connection between the target wearable device.
In conjunction with fourth aspect embodiment, in a kind of possible embodiment, described device further include scan module and Generation module.Scan module, for scanning the broadcast data of the wearable device;Generation module, for according to the institute scanned It states broadcast data and generates scan data and navigation data;Sending module is also used to the scan data being sent to the backstage, And the navigation data is sent to the mobile terminal that the same wearable device ID is shared with the wearable device.
5th aspect, the embodiment of the present application also provides a kind of computer-readable storage mediums, are stored thereon with calculating Machine program, the computer program execute above-mentioned first aspect embodiment and/or with reference to first aspect reality when being run by computer The method that any possible embodiment of example provides is applied, or executes above-mentioned second aspect embodiment and/or combines second The method that any possible embodiment of aspect embodiment provides.
6th aspect, the embodiment of the present application provide a kind of electronic equipment, comprising: memory and processor, the memory It is connected with the processor;The memory is for storing program;The processor calls the journey being stored in the memory Sequence, to execute above-mentioned second aspect embodiment and/or any possible embodiment of second aspect embodiment is combined to provide Method.
Other feature and advantage of the application will be illustrated in subsequent specification, also, partly be become from specification It is clear that being understood and implementing the embodiment of the present application.The purpose of the application and other advantages can be by written Specifically noted structure is achieved and obtained in specification and attached drawing.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, below will be to institute in embodiment Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the application Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings Obtain other attached drawings.By the way that shown in attached drawing, above and other purpose, the feature and advantage of the application will be more clear.In whole Identical appended drawing reference indicates identical part in attached drawing.Attached drawing, emphasis deliberately are not drawn by actual size equal proportion scaling It is that the purport of the application is shown.
Fig. 1 shows the flow chart of gateway control method provided by the embodiments of the present application.
Fig. 2 shows backstages provided by the embodiments of the present application and the communication system comprising multiple gateways and multiple wearable devices Between traffic model.
Fig. 3 shows the structural block diagram of gateway control apparatus provided by the embodiments of the present application.
Fig. 4 shows the flow chart of gateway working method provided by the embodiments of the present application.
Fig. 5 shows the structural block diagram of gateway equipment provided by the embodiments of the present application.
Fig. 6 shows the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application is described.
It should be noted that term "and/or" in the application, only a kind of incidence relation for describing affiliated partner, expression can With there are three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three feelings of individualism B Condition.
It will be introduced below for the control method of single bluetooth mould group provided herein.
Referring to Fig. 1, the embodiment of the present application provides a kind of gateway control method applied to backstage, from the background and including more The communication system of a gateway and multiple wearable devices is communicated, and each gateway has single bluetooth mould group, wherein from the background with it is logical The traffic model of letter system can refer to Fig. 2.Backstage can be communicated with gateway, and gateway can be believed with wearable device in bluetooth Number can join domain communicated by bluetooth.
Each gateway and each wearable device have a unique mark (ID:Identifier).
One gateway can scan the broadcast data that multiple wearable devices are broadcasted simultaneously.Gateway is worn in scanning to some After wearing the broadcast data of equipment, the Bluetooth Link Manager Protocol in bluetooth protocol repertory can parse broadcast data, generates and is somebody's turn to do The connection signal intensity communicated between wearable device.Then, gateway can be generated comprising broadcast data, and gateway is worn with corresponding The scan data of the connection signal intensity and gateway ID between equipment is worn, and is sent to backstage, for using from the background.
Above-mentioned gateway control method comprises the steps of.
Step S110: the communication data of wearable device to be handed down to is obtained.
It, from the background can be with when the user for having administration authority wishes to when issuing communication data with the user of wearable device Get the communication data for being handed down to wearable device.
Wherein, as an alternative embodiment, the user for having administration authority can be doctor, correspondingly, wearing The user of wearable device is patient.As another optional embodiment, the user for having administration authority can be prison pipe Reason person, correspondingly, the user for wearing wearable device is prisoner.
Certainly, use above scene is only to illustrate, it will be understood that the example above is not caused to the embodiment of the present application The restriction of application scenarios.
Step S120: determining that the communication data includes target wearable device ID and the needs target wearable device mentions When for feedback information, sent according to each of acquired gateway based on the broadcast data scanned to the wearable device Scan data and the target wearable device ID determine intended gateway and target wearable device.
Wherein, the user for having administration authority may only need to specific user transmitting communication data, and at the same time it is wished that Above-mentioned specific user sends feedback information after receiving communication data.At this point, backstage can monitor in communication data and include Target wearable device ID and the needs target wearable device offer feedback information, correspondingly, backstage is it needs to be determined that target is worn out Wear equipment and intended gateway.Communication data is passed to target wearable device for obtaining communication data by intended gateway.
The determination process of target wearable device and intended gateway is as follows.
As an alternative embodiment, for each gateway, whenever its scanning is broadcasted to a wearable device Broadcast data when, the scan data sent may include itself gateway ID, wearable device ID corresponding with broadcast data And the signal strength between its wearable device corresponding with wearable device ID.At this point, backstage can be by wearable device ID and mesh The mark consistent wearable device of wearable device ID is determined as target wearable device.It, from the background will hair after target wearable device has been determined It include that target wearable device ID and the strongest gateway of signal strength are determined as the intended gateway in the scan data sent.When some When the signal strength in scan data that gateway is sent is most strong, it is nearest to characterize gateway distance objective wearing.Backstage is strong by signal It spends strongest gateway and is determined as intended gateway, to save the time of intended gateway transmitting communication data, thereby saving energy consumption.
As another optional embodiment, for each gateway, whenever its scanning is wide to a wearable device When the broadcast data broadcast, the scan data sent may include the gateway ID of itself, wearable device corresponding with broadcast data ID.At this point, wearable device ID and the consistent wearable device of target wearable device ID can be determined as target wearable device by backstage. After target wearable device has been determined, the gateway in the scan data of transmission including target wearable device ID is determined from the background to be selected Then gateway determines an intended gateway at random from gateway to be selected.
Step S130: the link order for indicating that the intended gateway and the target wearable device are attached is generated.
Step S140: being sent to the intended gateway for the communication data and the link order, so that the target Gateway and the target wearable device establish connection and carry out data interaction.
Original scan pattern can be switched to connection mode after receiving link order by intended gateway, so as to mesh Mark wearable device initiates the connection request, establishes connection with target wearable device to realize.So far, for intended gateway, Formerly realize scanning function, the broadcast data that scanning wearable device is broadcasted is worn with target rear and realize linkage function It wears equipment and establishes connection.
Upon establishment of a connection, the communication data that intended gateway will acquire is sent to target wearable device, dresses with target Data interaction is carried out between equipment.
After communication data is sent to target wearable device by intended gateway, since the communication data needs target wearing to set It is standby to be fed back, therefore, for target wearable device, after getting communication data, user can be inputted anti- Feedback data are sent to intended gateway, and feedback information is then sent to backstage by intended gateway again.Backstage receives intended gateway After the feedback information of feedback, feedback information is shown to the user for having management claim, characterizing this communication process terminates.
Further, since the user for wearing target wearable device is likely to be at moving condition, correspondingly, target wearable device Geographical location is also at moving condition.At this time, in fact it could happen that the distance between target wearable device and intended gateway are too far, so that Target wearable device is located at the case where except the join domain of intended gateway.Optionally, if intended gateway is in preset time range Connection is inside established with target wearable device not successfully, intended gateway can be generated characterization target wearable device and be located at its join domain Except result information, and by result information be sent to backstage.
Optionally, when the feedback information or characterization target wearable device that receive characterization sign off from the background are located at its company When connecing the result information except range, as an alternative embodiment, backstage can also send the company of disconnection to intended gateway The instruction connect, so that intended gateway no longer establishes connection with target labels equipment, to reduce the power consumption of intended gateway.
As an alternative embodiment, backstage may not include mesh when getting communication data in communication data Mark wearable device ID.At this point, communication data can be sent to all gateways by backstage, and controls each gateway and broadcast outward and lead to Letter data.Correspondingly, as long as the wearable device in the broadcast singal coverage in gateway can receive gateway and be broadcasted Communication data.At this point, on the basis of realizing scanning function, also achieving broadcast capability for gateway.
A kind of gateway control method provided by the application first embodiment, backstage are first got wait be handed down to the wearing The communication data of equipment is determining that communication data includes target wearable device ID and the needs target wearable device provides feedback When information, the broadcast data according to each of acquired gateway based on scanning to the wearable device and the scanning number that sends According to and the target wearable device ID determine intended gateway and target wearable device, then generate and indicate the intended gateway and institute State the link order that target wearable device is attached;The communication data and the link order are sent to the target network It closes, so that the intended gateway and the target wearable device establish connection and carry out data interaction.Intended gateway is in the company of receiving After connecing instruction, original scan pattern can be switched to connection mode, to initiate the connection request to target wearable device, with It realizes and establishes connection with target wearable device.For intended gateway, scanning function scanning wearable device is formerly realized The broadcast data broadcasted, rear and realize linkage function and target wearable device establishes connection.
In addition, corresponding to Fig. 1, please refer to Fig. 3, the embodiment of the present application provides a kind of gateway control apparatus 400, the device with Communication system including multiple gateways with single bluetooth mould group and multiple wearable devices is communicated.The apparatus may include Obtain module 410, determining module 420, generation module 430 and sending module 440.
Module 410 is obtained, for obtaining the communication data wait be handed down to the wearable device;
Determining module 420, for determining that the communication data includes target wearable device ID and the needs target is worn When equipment offer feedback information is provided, the broadcast data of the wearable device is arrived based on scanning according to each of acquired gateway And the scan data and the target wearable device ID sent determines intended gateway and target wearable device;
Generation module 430, for generating the connection for indicating that the intended gateway and the target wearable device are attached Instruction;
Sending module 440, for the communication data and the link order to be sent to the intended gateway, so that institute It states intended gateway and the target wearable device establishes connection and carries out data interaction.
Optionally, the determining module 420, for the wearable device ID and the target wearable device ID is consistent The wearable device is determined as the target wearable device;It will include the target wearable device in the scan data of transmission The ID and strongest gateway of the signal strength is determined as the intended gateway.
Optionally, described device further includes receiving module, the target wearing sent for receiving the intended gateway The feedback information or the reception intended gateway of equipment are located at except its join domain based on the target wearable device to be fed back Result information.
Optionally, the sending module 440 is also used to send the instruction disconnected to the intended gateway.
The determining module 420 is also used to when determining that the communication data does not include target wearable device ID, will be described Communication data is sent to the gateway, so that the gateway broadcasts the communication data to the wearable device.
The technical effect of gateway control apparatus 400 provided by the embodiment of the present application, realization principle and generation and aforementioned Corresponding embodiment of the method is identical, and to briefly describe, Installation practice part does not refer to place, can refer to preceding method embodiment Middle corresponding contents.
In addition, please referring to Fig. 4, the embodiment of the present application also provides a kind of gateway working method, applied in communication system Gateway with single bluetooth mould group, communication system further include multiple wearable devices, gateway can with communicated from the background.It is described Method includes the following steps.
Step S210: the communication data that backstage issues is obtained.
Step S220: in link order and the scanning for establishing connection with target wearable device for getting the backstage and issuing When the broadcast data broadcasted to target wearable device, connection is established with the target wearable device and carries out data interaction.
Optionally, after the communication data that the acquisition backstage issues, the method also includes:
If the instruction for establishing connection with the target wearable device that the backstage issues has not been obtained in the given time, The communication data is broadcasted to the wearable device.
Optionally, after the described and target wearable device establishes connection and carries out data interaction, the method is also Include:
It is anti-to be located at institute outside join domain by the feedback information of the target wearable device or by the target wearable device The result information of feedback feeds back to the backstage.
Optionally, it is located at company described by the feedback information of the target wearable device or by the target wearable device It connects after the outer result information fed back of range feeds back to the backstage, the method also includes:
Disconnect the connection between the target wearable device.
Optionally, when the user for wearing wearable device is that first time reaches some scene and user needs using navigation feature When (such as the patient for going to a strange hospital for the first time), user can also open mobile terminal (example after wearing wearable device Such as mobile phone) Bluetooth function so that mobile terminal and wearable device share the same wearable device ID.At this point, wearable device institute It include location information in the broadcast data of broadcast.Gateway can arrive after scanning the broadcast data to wearable device according to scanning The broadcast data generate scan data and navigation data.Subsequent, scan data is sent to backstage by gateway, for making from the background With, and navigation data is sent to the mobile terminal that the same wearable device ID is shared with wearable device, so that mobile terminal is User navigates.
The technical effect and preceding gateway of gateway working method provided by the embodiment of the present application, realization principle and generation Control method embodiment has similar or identical part, to briefly describe, do not refer to it in gateway working method embodiment Place, can refer to corresponding contents in preceding gateway control method embodiment.
In addition, corresponding to Fig. 4, Fig. 5 is please referred to, the embodiment of the present application also provides a kind of gateway equipment 500, is applied to With single bluetooth mould group and can be with the gateway that is communicated from the background.Gateway equipment 500 includes obtaining module 510, connecting Connection module 520.
Module 510 is obtained, the communication data issued for obtaining backstage;
Link block 520, for referring to getting the connection for establishing connection with target wearable device that the backstage issues When the broadcast data that order and scanning are broadcasted to target wearable device, connection is established with the target wearable device and carries out data Interaction.
Optionally, described device further includes broadcast module, is issued for the backstage to have not been obtained in the given time When establishing the instruction of connection with the target wearable device, Xiang Suoshu wearable device broadcasts the communication data.
Optionally, described device further includes feedback module, for by the feedback information of the target wearable device or will The target wearable device is located at the outer result information fed back of join domain and feeds back to the backstage.
Optionally, described device further includes disconnecting module, for disconnecting the connection between the target wearable device.
Optionally, described device further includes scan module and generation module.
Scan module, for scanning the broadcast data of the wearable device;
Generation module, for generating scan data and navigation data according to the broadcast data scanned;
Sending module, is also used to for the scan data being sent to the backstage, and by the navigation data be sent to The wearable device shares the mobile terminal of the same wearable device ID.
The technical effect of gateway equipment 500 provided by the embodiment of the present application, realization principle and generation and aforementioned Corresponding embodiment of the method is identical, and to briefly describe, Installation practice part does not refer to place, can refer to preceding method embodiment Middle corresponding contents.
In addition, the embodiment of the present application also provides a kind of non-volatile computer read/write memory mediums (hereinafter referred to as to count Calculation machine read/write memory medium), computer program is stored in the computer-readable storage medium, which is counted When calculation machine is run, the step of including such as the control method of above-mentioned gateway working method or single bluetooth mould group is executed.
In addition, the embodiment of the present application also provides a kind of electronic equipment 100 referring to Fig. 6, backstage above can be, also It can be gateway above.
When electronic equipment 100 is backstage (data processing centre, server), for realizing the Dan Lan of the embodiment of the present application The control method of tooth mould group, when electronic equipment 100 is gateway, for realizing the gateway working method of the embodiment of the present application.
Wherein, electronic equipment 100 may include: processor 110, memory 120.
It should be noted that the component and structure of electronic equipment 100 shown in fig. 6 are illustrative, and not restrictive, root According to needs, electronic equipment 100 also can have other assemblies and structure.
Processor 110, memory 120 and other be likely to occur in electronic equipment 100 component between each other directly or It is electrically connected indirectly, to realize the transmission or interaction of data.For example, processor 110, memory 120, display screen 130 and Other components being likely to occur can be realized by one or more communication bus or signal wire be electrically connected between each other.
Memory 120 for storing program, such as be stored with occur above method (control method of single bluetooth mould group or Person's gateway working method) (control device or gateway of single bluetooth mould group work for corresponding program or the device that occurs above Device).Optionally, when being stored with device in memory 120, device includes that at least one can be with software or firmware (firmware) form is stored in the software function module in memory 120.
Optionally, software function module included by device can also be solidificated in the operating system of electronic equipment 100 In (operating system, OS).
Processor 110 is for executing the executable module stored in memory 120, such as the software function mould that device includes Block or computer program.When processor 110 receive execute instruction after, computer program can be executed.
Certainly, the control method of the revealed single bluetooth mould group of the embodiment of the present application or gateway working method can answer It is realized in processor 110, or by processor 110.
In conclusion gateway control method, apparatus and gateway working method, device and electronics that the embodiment of the present invention proposes Equipment, gateway control method include: the communication data first got from the background wait be handed down to the wearable device, communicate number determining According to comprising target wearable device ID and when the target wearable device being needed to provide feedback information, according to each of acquired described The gateway scan data sent and target wearable device ID determination based on the broadcast data scanned to the wearable device Then intended gateway and target wearable device generate the company for indicating that the intended gateway and the target wearable device are attached Connect instruction;The communication data and the link order are sent to the intended gateway so that the intended gateway with it is described Target wearable device establishes connection and carries out data interaction.Intended gateway, can be by original scanning after receiving link order Pattern switching is connection mode, to initiate the connection request to target wearable device, is connected with realizing to establish with target wearable device It connects.For intended gateway, the broadcast data that scanning function scanning wearable device is broadcasted formerly is realized, rear and real Linkage function is showed and target wearable device establishes connection.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing Show the device of multiple embodiments according to the application, the architectural framework in the cards of method and computer program product, Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code Part, a part of the module, section or code, which includes that one or more is for implementing the specified logical function, to be held Row instruction.It should also be noted that function marked in the box can also be to be different from some implementations as replacement The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes It can execute in the opposite order, this depends on the function involved.It is also noted that every in block diagram and or flow chart The combination of box in a box and block diagram and or flow chart can use the dedicated base for executing defined function or movement It realizes, or can realize using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each functional module in each embodiment of the application can integrate one independent portion of formation together Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Those familiar with the art within the technical scope of the present application, can easily think of the change or the replacement, and should all contain Lid is within the scope of protection of this application.

Claims (10)

1. a kind of gateway control method, which is characterized in that be applied to backstage, the backstage with include multiple gateways and multiple wearings The communication system of equipment is communicated, and each gateway has single bluetooth mould group, which comprises
Obtain the communication data wait be handed down to the wearable device;
When determining that the communication data includes target wearable device ID and the target wearable device is needed to provide feedback information, Broadcast data and the scan data sent and institute according to each of acquired gateway based on scanning to the wearable device It states target wearable device ID and determines intended gateway and target wearable device;
Generate the link order for indicating that the intended gateway and the target wearable device are attached;
The communication data and the link order are sent to the intended gateway, so that the intended gateway and the target Wearable device establishes connection and carries out data interaction.
2. the method according to claim 1, wherein the scan data includes gateway ID, wearable device ID and Signal strength between the corresponding gateway of gateway ID wearable device corresponding with the wearable device ID;It is described according to being obtained The scan data and the target for each of taking broadcast data of the gateway based on scanning to the wearable device and sending are worn It wears device id and determines intended gateway and target wearable device, comprising:
The wearable device ID and the consistent wearable device of target wearable device ID are determined as the target to dress Equipment;
It will include the target wearable device ID and the strongest gateway determination of the signal strength in the scan data of transmission For the intended gateway.
3. the method according to claim 1, wherein the communication data and the link order are sent out described Give the intended gateway so that the intended gateway and the target wearable device establish connection and carry out data interaction it Afterwards, the method also includes:
It receives the feedback information for the target wearable device that the intended gateway is sent or receives the intended gateway and be based on institute It states target wearable device and is located at the result information fed back except its join domain.
4. according to the method described in claim 3, it is characterized in that, in the target for receiving the intended gateway and sending The feedback information or the reception intended gateway of wearable device are based on the target wearable device and are located at the outer institute of its join domain instead After the result information of feedback, the method also includes:
The instruction disconnected is sent to the intended gateway.
5. the method according to claim 1, wherein the method also includes:
When determining that the communication data does not include target wearable device ID, the communication data is sent to the gateway, with The gateway is set to broadcast the communication data to the wearable device.
6. a kind of gateway working method, applied to the gateway with single bluetooth mould group in communication system, which is characterized in that institute Stating communication system further includes multiple wearable devices, the gateway can with communicated from the background, which comprises
Obtain the communication data that the backstage issues;
In the link order for establishing connection with target wearable device for getting the backstage and issuing, and scanning is worn to the target When wearing the broadcast data that equipment is broadcasted, connection is established with the target wearable device and carries out data interaction.
7. a kind of gateway control apparatus, which is characterized in that the gateway control apparatus is set with including multiple gateways and multiple wearings Standby communication system is communicated, and each gateway includes single bluetooth mould group, and described device includes:
Module is obtained, for obtaining the communication data wait be handed down to the wearable device;
Determining module, for determining that the communication data includes target wearable device ID and the needs target wearable device mentions When for feedback information, sent according to each of acquired gateway based on the broadcast data scanned to the wearable device Scan data and the target wearable device ID determine intended gateway and target wearable device;
Generation module, for generating the link order for indicating that the intended gateway and the target wearable device are attached;
Sending module, for the communication data and the link order to be sent to the intended gateway, so that the target Gateway and the target wearable device establish connection and carry out data interaction.
8. a kind of gateway equipment, which is characterized in that applied to single bluetooth mould group and can with communicated from the background Gateway, described device includes:
Obtain module, the communication data issued for obtaining the backstage;
Link block for establishing the link order of connection with target wearable device get that the backstage issues, and is swept When retouching the broadcast data that target wearable device is broadcasted, connection is established with the target wearable device and carries out data interaction.
9. a kind of computer-readable storage medium, which is characterized in that be stored thereon with computer program, the computer program The method as described in any one of claim 1-5 or 6-10 is executed when being run by computer.
10. a kind of electronic equipment characterized by comprising memory and processor, the memory and the processor connect It connects;The memory is for storing program;The processor calls the program being stored in the memory, to execute such as right It is required that method described in any one of 1-5 or 6.
CN201910742052.9A 2019-08-12 2019-08-12 Gateway control method and device, gateway working method and device and electronic equipment Active CN110446196B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910742052.9A CN110446196B (en) 2019-08-12 2019-08-12 Gateway control method and device, gateway working method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910742052.9A CN110446196B (en) 2019-08-12 2019-08-12 Gateway control method and device, gateway working method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110446196A true CN110446196A (en) 2019-11-12
CN110446196B CN110446196B (en) 2022-11-01

Family

ID=68434826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910742052.9A Active CN110446196B (en) 2019-08-12 2019-08-12 Gateway control method and device, gateway working method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110446196B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111063165A (en) * 2019-12-30 2020-04-24 中南大学湘雅医院 Monitor crisis alarm method and device and electronic equipment
CN111756732A (en) * 2020-06-23 2020-10-09 北京明朝万达科技股份有限公司 Data scanning and control method and device, electronic equipment and readable storage medium
CN112672330A (en) * 2020-12-07 2021-04-16 深圳市晨北科技有限公司 Communication method and system, device and storage medium
CN113409496A (en) * 2021-06-18 2021-09-17 广东好太太智能家居有限公司 Bluetooth intelligent door lock configuration system and method
CN114430544A (en) * 2020-10-29 2022-05-03 美的集团股份有限公司 Information interaction method and device, electronic equipment and storage medium
CN115442754A (en) * 2021-06-04 2022-12-06 菜鸟智能物流控股有限公司 Data processing method and device, electronic equipment and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222245A (en) * 2007-01-08 2008-07-16 中国电信股份有限公司 Method for implementing call forwarding service processing by Bluetooth terminal, and Bluetooth system thereof
CN106793007A (en) * 2016-12-05 2017-05-31 爱国者电子科技有限公司 The interactive communication method of high in the clouds and bluetooth equipment, system and wireless router
CN107592628A (en) * 2016-07-08 2018-01-16 中国电信股份有限公司 For the method for switching working mode, Bluetooth gateway and system
CN107682890A (en) * 2017-09-19 2018-02-09 杭州迪普科技股份有限公司 A kind of terminal access controlling method and device
WO2018048268A1 (en) * 2016-09-11 2018-03-15 엘지전자(주) Method and apparatus for connecting device by using bluetooth technology
CN108366121A (en) * 2018-02-13 2018-08-03 广州云湾信息技术有限公司 The group network system and apparatus control method of the more intelligent gateways of Internet of Things
CN108693779A (en) * 2018-06-08 2018-10-23 广州市威士丹利智能科技有限公司 Intelligent home control system and method
CN108770045A (en) * 2018-06-05 2018-11-06 云丁智能科技(北京)有限公司 Method of network entry, relevant device and network system
CN108900389A (en) * 2018-05-02 2018-11-27 深圳市彬讯科技有限公司 Smart home system and its control method
CN108924806A (en) * 2018-07-19 2018-11-30 廊坊新奥燃气设备有限公司 A kind of family's internet of things data communication means and system using BLE technology
CN109633535A (en) * 2019-01-21 2019-04-16 上海美迪索科电子科技有限公司 A kind of positioning system, method, apparatus and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222245A (en) * 2007-01-08 2008-07-16 中国电信股份有限公司 Method for implementing call forwarding service processing by Bluetooth terminal, and Bluetooth system thereof
CN107592628A (en) * 2016-07-08 2018-01-16 中国电信股份有限公司 For the method for switching working mode, Bluetooth gateway and system
WO2018048268A1 (en) * 2016-09-11 2018-03-15 엘지전자(주) Method and apparatus for connecting device by using bluetooth technology
CN106793007A (en) * 2016-12-05 2017-05-31 爱国者电子科技有限公司 The interactive communication method of high in the clouds and bluetooth equipment, system and wireless router
CN107682890A (en) * 2017-09-19 2018-02-09 杭州迪普科技股份有限公司 A kind of terminal access controlling method and device
CN108366121A (en) * 2018-02-13 2018-08-03 广州云湾信息技术有限公司 The group network system and apparatus control method of the more intelligent gateways of Internet of Things
CN108900389A (en) * 2018-05-02 2018-11-27 深圳市彬讯科技有限公司 Smart home system and its control method
CN108770045A (en) * 2018-06-05 2018-11-06 云丁智能科技(北京)有限公司 Method of network entry, relevant device and network system
CN108693779A (en) * 2018-06-08 2018-10-23 广州市威士丹利智能科技有限公司 Intelligent home control system and method
CN108924806A (en) * 2018-07-19 2018-11-30 廊坊新奥燃气设备有限公司 A kind of family's internet of things data communication means and system using BLE technology
CN109633535A (en) * 2019-01-21 2019-04-16 上海美迪索科电子科技有限公司 A kind of positioning system, method, apparatus and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
乔雷等: "基于Android平台的物联网网关方案设计", 《电子元器件应用》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111063165A (en) * 2019-12-30 2020-04-24 中南大学湘雅医院 Monitor crisis alarm method and device and electronic equipment
CN111756732A (en) * 2020-06-23 2020-10-09 北京明朝万达科技股份有限公司 Data scanning and control method and device, electronic equipment and readable storage medium
CN111756732B (en) * 2020-06-23 2022-07-12 北京明朝万达科技股份有限公司 Data scanning and control method and device, electronic equipment and readable storage medium
CN114430544A (en) * 2020-10-29 2022-05-03 美的集团股份有限公司 Information interaction method and device, electronic equipment and storage medium
CN112672330A (en) * 2020-12-07 2021-04-16 深圳市晨北科技有限公司 Communication method and system, device and storage medium
CN115442754A (en) * 2021-06-04 2022-12-06 菜鸟智能物流控股有限公司 Data processing method and device, electronic equipment and storage medium
CN113409496A (en) * 2021-06-18 2021-09-17 广东好太太智能家居有限公司 Bluetooth intelligent door lock configuration system and method
CN113409496B (en) * 2021-06-18 2022-11-04 广东好太太智能家居有限公司 Bluetooth intelligent door lock configuration system and method

Also Published As

Publication number Publication date
CN110446196B (en) 2022-11-01

Similar Documents

Publication Publication Date Title
CN110446196A (en) Gateway control method, apparatus and gateway working method, device and electronic equipment
CN107071840B (en) Netsurfing switching method and device
CN110035562A (en) Conversation managing method, equipment and system
CN105119787B (en) A kind of public internet access system and method based on software definition
CN108282907A (en) Electronic equipment, wireless networking system, device and its control method and storage device
CN109257822A (en) User apparatus and base station
CN112684995B (en) Cross-screen input method and device
CN103648109A (en) Wireless distributed forwarding system and method thereof
CN105072149A (en) Method and device for building remote communication through proxy gateway
CN105471983A (en) Method and system for establishing internet-of-things communication
CN104254129B (en) Close on the resource allocation method and device of service discovering
CN105025555A (en) Energy-saving compensation control method and apparatus
CN110234175A (en) A kind of ad hoc network coordination approach, device, system, equipment and storage medium
CN116233890A (en) 5G private network configuration method and device, electronic equipment and medium
CN103220283A (en) Method, equipment and system for network sharing
CN109245911B (en) Method and device for realizing BRAS hot standby and computer readable storage medium
Zhang et al. USTB 6G: Key technologies and metaverse applications
CN112788700A (en) Communication method, terminal and readable storage medium
CN108449403A (en) A kind of charge control method
CN103581354A (en) Network address allocation method and system
CN112702748B (en) Data transmission method and device for hybrid networking
CN109257588A (en) A kind of data transmission method, terminal, server and storage medium
CN112188612B (en) Micro base station registration method, server and micro base station
CN108322922B (en) Link switching method and device
CN108307401A (en) Establish the method, apparatus and communication equipment of communication connection

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
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Huang Weihong

Inventor after: Dong Bing

Inventor after: Hu Jianzhong

Inventor after: Yue Liqing

Inventor after: Li Yinglan

Inventor after: Xia Xuebin

Inventor after: Liu Shuo

Inventor before: Dong Bing

Inventor before: Huang Weihong

Inventor before: Hu Jianzhong

Inventor before: Yue Liqing

Inventor before: Li Yinglan

Inventor before: Xia Xuebin

Inventor before: Liu Shuo

GR01 Patent grant
GR01 Patent grant