CN109274563A - Equipment connection method and device - Google Patents

Equipment connection method and device Download PDF

Info

Publication number
CN109274563A
CN109274563A CN201811180269.7A CN201811180269A CN109274563A CN 109274563 A CN109274563 A CN 109274563A CN 201811180269 A CN201811180269 A CN 201811180269A CN 109274563 A CN109274563 A CN 109274563A
Authority
CN
China
Prior art keywords
equipment
priority
preset
connection
data packet
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
CN201811180269.7A
Other languages
Chinese (zh)
Other versions
CN109274563B (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.)
Yun Shen Information Technology (shanghai) Co Ltd
Original Assignee
Yun Shen Information Technology (shanghai) 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 Yun Shen Information Technology (shanghai) Co Ltd filed Critical Yun Shen Information Technology (shanghai) Co Ltd
Priority to CN201811180269.7A priority Critical patent/CN109274563B/en
Publication of CN109274563A publication Critical patent/CN109274563A/en
Application granted granted Critical
Publication of CN109274563B publication Critical patent/CN109274563B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2858Access network architectures
    • H04L12/2861Point-to-multipoint connection from the data network to the subscribers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the present application provides a kind of equipment connection method and device, wherein this method comprises: response triggering command, obtains the data packet of multiple first device broadcasts in preset range, data packet is included at least: the device numbering of the first equipment and device address;According to data packet and preset priority rule, determine that priority meets the first equipment corresponding to the device numbering of preset requirement as target device;According to the device address of target device, connection request is sent to target device, connection request carries the identity information of the second equipment;Connection confirmation message is obtained, with linking objective equipment.Since the program passes through according to data packet and preset priority rule, determine that priority meets the equipment of preset requirement and establishes connection control as target device from multiple first equipment, so as to intelligence, accurately automatically selected out from multiple attachable equipment meet user requirement equipment be preferentially attached, improve user experience.

Description

Equipment connection method and device
Technical field
This application involves Internet technical field, in particular to a kind of equipment connection method and device.
Background technique
It with the development of smart machine, popularizes, smart machine makes the work of people, life become more and more efficiently, to give People bring more and more conveniences.
For example, user can use hand in the family for being laid with smart machine (including intelligent air condition, smart television etc.) Machine connects smart television by shirtsleeve operation as terminal device, and controls the opening and closing of smart television.
Currently, the application scenarios that the existing equipment connection method for smart machine is considered are directed to family mostly Scape, relatively simple, being often includes a smart machine.When there are multiple attachable smart machines in scene environment When, it is based on existing equipment connection method, terminal device automatically accurately can not choose use from multiple attachable equipment The equipment that family really thinks that connection uses is attached control, causes user experience relatively poor.
In view of the above-mentioned problems, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the present application provides a kind of equipment connection method and device, exists to solve existing equipment connection method Include multiple connectable devices scene under can not accurately determine user want connection equipment, connect it is not smart enough, The technical problem of user experience difference, reach can intelligently, accurately selected automatically from multiple attachable equipment and meet user It is required that equipment be attached control, improve user experience.
The embodiment of the present application provides a kind of equipment connection method, comprising:
Triggering command is responded, obtains the data packet of multiple first device broadcasts in preset range, wherein the data packet It includes at least: the device numbering of the first equipment and device address;
According to the data packet and preset priority rule, determine priority meet preset requirement device numbering institute it is right The first equipment answered is as target device;
According to the device address of the target device, connection request is sent to the target device, wherein the connection is asked Seek the identity information for carrying the second equipment;
Connection confirmation message is obtained, to connect the target device, wherein the connection confirmation message is that the target is set For what is sent in the case where the identity information to second equipment is proved to be successful.
In one embodiment, the connection confirmation message also carries the control authority for the target device.
In one embodiment, after obtaining connection confirmation message, the method also includes:
According to control authority entrained by the connection confirmation message, target device operation is controlled.
In one embodiment, before responding triggering command, the method also includes:
The exercise data of the second equipment is acquired by the monitoring program of running background;
Whether the exercise data for detecting second equipment meets preset exercise data feature;
In the case where determining that the exercise data of second equipment meets preset exercise data feature, generates triggering and refer to It enables.
In one embodiment, according to the data packet and preset priority rule, it is default to determine that priority meets It is required that device numbering corresponding to the first equipment as target device, comprising:
The data packet is parsed, the device numbering of each first equipment in multiple first equipment is obtained;
According to the preset priority rule, determine that first of each first equipment in the multiple first equipment is excellent First grade, wherein the preset priority rule is for characterizing corresponding first priority of each device numbering;
The device numbering of the first highest priority is selected to meet the device number of preset requirement as priority, and will be described excellent First grade meets the first equipment corresponding to the device numbering of preset requirement and is determined as target device.
In one embodiment, the preset priority rule generates in the following way:
User is received to operate the setting of the priority of the first equipment;
The setting of the priority of the first equipment is operated according to the user, generates the preset priority rule.
In one embodiment, the data packet further includes the second priority of the first equipment, wherein described second is excellent First grade is that the first equipment is generated according to preset create-rule and the current operating data of the first equipment.
In one embodiment, according to the data packet and preset priority rule, it is default to determine that priority meets It is required that device numbering corresponding to the first equipment as target device, further includes:
The data packet is parsed, obtains the device numbering and second of each first equipment in multiple first equipment preferentially Grade;
According to the preset priority rule, determine that first of each first equipment in the multiple first equipment is excellent First grade;
According to first priority and second priority, determine that priority meets the equipment volume of preset requirement Number, and the priority is met into the first equipment corresponding to the device numbering of preset requirement and is determined as target device.
The embodiment of the present application also provides a kind of equipment connection methods, comprising:
Obtain the connection request of the second equipment, wherein the connection request carries the identity information of the second equipment;
According to preset user information database, the identity information of second equipment is verified;
In the case where the identity information to second equipment is proved to be successful, connection confirmation is sent to second equipment Information, and establish the connection with the second equipment.
In one embodiment, in the case where obtaining the connection request of multiple second equipment, according to preset user Information bank verifies the identity information of second equipment, comprising:
Determine the receiving time of the connection request of multiple second equipment;
According to the receiving time of the connection request of the multiple second equipment, the second equipment of receiving time earliest is selected Second equipment corresponding to connection request is as request equipment;
According to preset user information database, the identity information of the request equipment is verified.
In one embodiment, after sending connection confirmation message to second equipment, the method also includes:
It goes off the air data packet.
The embodiment of the present application also provides a kind of equipment connecting devices, comprising:
First obtains module, for responding triggering command, obtains the data of multiple first device broadcasts in preset range Packet, wherein the data packet includes at least: the device numbering of the first equipment and device address;
Determining module, for determining that priority meets preset requirement according to the data packet and preset priority rule Device numbering corresponding to the first equipment as target device;
Sending module sends connection request to the target device for the device address according to the target device, In, the connection request carries the identity information of the second equipment;
Second obtains module, for obtaining connection confirmation message, wherein the connection confirmation message is the target device It is sent in the case where the identity information to second equipment is proved to be successful.
In the embodiment of the present application, the data packet by elder generation according to the first equipment and preset priority rule, are determined The priority of the device numbering of each first equipment is determined to use further according to the priority of device numbering from multiple first equipment Family wants the equipment that uses of connection and is attached control as target device, to solve present in existing method and including The equipment that user wants connection can not be accurately determined under the scene of multiple connectable devices, connect not smart enough, user experience Spend difference technical problem, reach can intelligently, accurately be selected automatically from multiple attachable equipment meet user requirement set It is standby to be attached control, improve user experience.
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, 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 only this The some embodiments recorded in application, for those of ordinary skill in the art, in the premise of not making the creative labor property Under, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the process flow diagram of the equipment connection method provided according to the application embodiment;
Fig. 2 is the process flow diagram of the equipment connection method provided according to the application embodiment;
Fig. 3 is the composite structural diagram of the equipment connecting device provided according to the application embodiment;
Fig. 4 is the electronic equipment composed structure schematic diagram based on equipment connection method provided by the embodiments of the present application;
Fig. 5 is to be based on intelligence using equipment connection method provided by the embodiments of the present application and device in a Sample Scenario The flow diagram of equipment side;
Fig. 6 is to be based on terminal using equipment connection method provided by the embodiments of the present application and device in a Sample Scenario The flow diagram of equipment side;
Fig. 7 is a kind of stream that equipment connection method provided by the embodiments of the present application and device are applied in a Sample Scenario Journey schematic diagram;
Fig. 8 is the another kind that equipment connection method and device provided by the embodiments of the present application are applied in a Sample Scenario Flow diagram.
Specific embodiment
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with the application reality The attached drawing in example is applied, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described implementation Example is merely a part but not all of the embodiments of the present application.Based on the embodiment in the application, this field is common The application protection all should belong in technical staff's every other embodiment obtained without making creative work Range.
In view of existing equipment connection method, since targeted usage scenario is relatively simple, for example, being to only include one The application scenarios of a attachable smart machine, thus existing equipment connection method be can for only one in scene environment This relatively simple situation design of the equipment of connection.And for including the use field of multiple attachable smart machines Scape, for example, including the Office Area of multiple attachable intelligence printer.Based on existing equipment connection method, the end of user End equipment (such as user mobile phone) often can not be distinguished and be screened after detecting multiple attachable equipment, cause to have When body is implemented, the equipment that user wants connection can not be accurately determined by existing, and connect technology not smart enough, user experience is poor Problem.
For the basic reason for generating the above problem, the application considers, can be obtained by the terminal device of user default Priority rule, such terminal device when detecting multiple connectable devices, can according to preset priority rule, with And the data packet of multiple connectable devices determines the corresponding priority of each equipment, and then can according to the priority of equipment, Priority is selected from multiple equipment and meets preset requirement, such as the higher equipment of priority is carried out as target device Connection control.It can not be accurately under the scene including multiple connectable devices present in existing method to can effectively solve It determines that user wants the equipment of connection, connects technical problem not smart enough, user experience is poor, reaching can intelligently, accurately Selected automatically from multiple attachable equipment meet user requirement equipment be attached control automatically, improve user's body It tests.
Based on above-mentioned thinking thinking, the embodiment of the present application provides a kind of equipment connection method.Referring specifically to shown in Fig. 1 According to the application embodiment provide equipment connection method process flow diagram.Equipment connection provided by the embodiments of the present application Method specifically can be applied to the second equipment side.When it is implemented, this method may include the following contents.
S11: response triggering command obtains the data packet of multiple first device broadcasts in preset range, wherein the number It is included at least according to packet: the device numbering of the first equipment and device address.
In the present embodiment, above-mentioned first equipment specifically can be understood as being laid in application scenarios in advance, have Data are sent and one or more connectable devices (or smart machine) of the functions such as data receiver.Wherein, above-mentioned application scenarios tool Body can be with household scene, hotel's scene, office scene etc..Certainly it should be noted that it is a variety of different cited by above-mentioned Application scenarios are that one kind schematically illustrates.For the applied field that equipment connection method is applicable in provided by the embodiment of the present application Scape this specification is not construed as limiting.
In the present embodiment, for different application scenarios, above-mentioned first equipment may include a variety of corresponding connect Connect equipment.For example, above-mentioned first equipment specifically can be attachable projector, attachable electricity for scene of handling official business Lamp, attachable printer, attachable electronic lock, attachable intelligent Checking on Work Attendance machine, attachable computer etc..Certainly, above-mentioned Cited is that one kind schematically illustrates for the connectable device in office scene.For the first equipment in office scene Specific equipment this specification is not construed as limiting.You need to add is that for the application scenarios such as office scene, in conjunction with office scene Specific feature, above-mentioned first equipment may include multiple same type of connecting office equipment.For example, may in office More attachable printers are laid, being denoted as No. 1 printer, No. 2 printers and No. 3 printers, above-mentioned printer respectively is all Same type of office equipment can be used as first equipment in multiple first equipment respectively.Certainly, it needs to illustrate It is that above-mentioned cited multiple first equipment for office scene are intended merely to that the application embodiment is better described, no The improper restriction to the application embodiment should be constituted.
It in the present embodiment, can be according to one when it is implemented, each first equipment in above-mentioned multiple first equipment Fixed time interval, for example, broadcasting respective data packet outward using the data sending function of itself every 5 seconds.
In the present embodiment, above-mentioned data packet specifically can be understood as, packet corresponding with the first equipment of data packet is sent The data acquisition system of the facility informations such as device numbering and device address containing the first corresponding equipment.Wherein, above equipment is compiled Number it specifically can be understood as being used to indicate the corresponding title of equipment or the information data of ID.For example, No. 1 XX equipment, or ID1031333 etc..Above equipment address specifically can be understood as the information data of the physical communication address for characterizing equipment.It needs It is noted that each data packet is corresponding with first equipment respectively, in the data packet that the first different equipment is broadcasted The facility informations such as device numbering, device address be different from.
In the present embodiment, above-mentioned data packet at least may include the device numbering and equipment of the first corresponding equipment The facility informations such as address.Wherein, corresponding first equipment of each device numbering, each device address are one first corresponding Equipment.It should be noted that the facility information that above-mentioned cited data packet is included is that one kind schematically illustrates.It is specific real Shi Shi can also include the facility information of other content as the case may be, in above-mentioned data packet.For example, it is also possible to include The information of operating condition etc. of the first corresponding equipment.In this regard, this specification is not construed as limiting.
In the present embodiment, above-mentioned second equipment specifically can be understood as what user used, for connecting control second Equipment, the terminal device with functions such as data receivers is sent with data.Specifically, above-mentioned second equipment specifically can be hand Machine, can also be with the tablet computer of user, laptop, digital assistants, intelligent wearable device etc. electronic equipment.Certainly, Above-mentioned first equipment is also possible to a kind of virtual concept, specifically, can also be can run in above-mentioned electronic equipment Software application or functional module etc..For example, it can be refer to the APP application program installed on user mobile phone.It requires supplementation with It is that above-mentioned the second cited equipment is intended merely to that the application embodiment is better described.When it is implemented, according to specific Application scenarios and implementation require, and neatly select suitable equipment or application as above-mentioned first equipment.In this regard, this specification is not It limits.
In the present embodiment, above-mentioned triggering command specifically can be understood as being used to indicate the second equipment the first equipment of acquisition The packet instruction information broadcasted.
In the present embodiment, above-mentioned response triggering command obtains the number of multiple first device broadcasts in preset range According to packet, when it is implemented, may include: the second equipment after acquiring triggering command, according to above-mentioned triggering command, triggering the The data receiver function acquisition of two equipment utilizations itself obtains the data packet that the first equipment in preset range is broadcasted.
It in the present embodiment, can only when it is implemented, above-mentioned second equipment can be set as according to above-mentioned triggering command The data packet of the first equipment in preset range is acquired, and the number of the first equipment except preset range can not be acquired According to packet.Wherein, above-mentioned preset range specifically can be using the second equipment position as the center of circle, the regional scope that 0.5 meter of radius. Certainly, above-mentioned cited preset range is that one kind schematically illustrates.The improper restriction to this specification should not be constituted.
For example, responding above-mentioned triggering command when user uses mobile phone as the second equipment in meeting room, mobile phone can only be obtained The data packet for taking in preset range the office equipment in i.e. meeting room to be broadcasted, and then subsequent office in meeting room can only be set It is standby to carry out corresponding connection control.Without obtaining outside preset range, for example, the first equipment in the regions such as office, Photocopy Room Data packet, therefore the first equipment of other Administrative Areas other than above-mentioned meeting room will not be mistakenly connected to.It in this way can be effectively It avoids due to maloperation, connection is controlled to outside user region, user is not intended to the connectable device that connection uses, and is reduced wrong Misconnection further improves user experience.
In one embodiment, further contemplate existing equipment connection method it is specifically used when, user is generating Not convenient enough when triggering command, user experience is relatively poor.
For example, being based on existing equipment connection method, user is needed first to light mobile phone screen, then opens corresponding equipment and connect Then the APP program connect connects button in shake mobile phone or click to generate triggering command so that mobile phone obtains data packet.On It is relatively complicated when implementing to state method, when use is complex, relatively inefficient, and user experience is relatively poor.
In addition, also further contemplating office scene is different from home scenarios, have the characteristics that different scenes and user demand. Specifically, in home scenarios, user is in more that leisurely state, time are more abundant mostly;And the control to surrounding devices System instruction requires relatively complicated.For example, involved control instruction may include: beat by taking the TV in family as an example Open and close close, increase volume, reduce volume, zapping etc..And in office scene, user is in more busy state mostly, when Between it is more nervous, to the more demanding of efficiency;And the control instruction of surrounding devices is required by a relatively simple.For example, to do For printer in public room, involved control instruction may only include two kinds: start to print and stop printing.Therefore, For office scene, it is different from home scenarios, user more needs a kind of simple, efficient mode to set to realize that triggering connects It is standby, accordingly controlled.
It is based on above situation, in conjunction with the concrete scene feature and user demand of office scene, in order to further facilitate User uses, and simplifies user's operation, improves the efficiency for generating triggering command, when it is implemented, before responding triggering command, it is described Method is when it is implemented, can also include the following contents: being set by the monitoring program acquisition second of (the second equipment) running background Standby exercise data;Whether the exercise data for detecting second equipment meets preset exercise data feature;Described in determination In the case that the exercise data of second equipment meets preset exercise data feature, triggering command is generated.User is in mobile phone in this way It is in and is put out under the states such as screen or screen locking Deng the second equipment, it may not be necessary to which oneself carries out the operation of a series of complex, such as first point Bright mobile phone screen, then APP program etc. generate triggering command, but can directly pick up mobile phone etc. and carry out as the second equipment It shakes, or mobile phone of taking away carries out drawing the motor performances such as an intended trajectory (such as draw circle, square, straight line etc.), at this moment the Second equipment when two equipment can carry out motor performance to the second equipment by the monitoring program automatic collection user of running background Exercise data;And by judging whether the exercise data of the second equipment meets preset exercise data feature, it is determined whether raw At triggering command, equipment connection control is carried out automatically to obtain data packet.To simplify user's operation, facilitating user makes With also improving efficiency of the practice, further improve user experience.
In the present embodiment, in order to avoid the monitoring program of above-mentioned running background is automatically closed by the second equipment, cause The exercise data of the second equipment can not be acquired.When it is implemented, preset data label can be embedded in above-mentioned monitoring program. Wherein, above-mentioned data label is used to indicate the monitoring program and cannot close.Such second equipment is according to above-mentioned preset data mark Label can determine that the monitoring program needs to be always maintained at operating status, will not voluntarily close the program, above-mentioned monitoring program is timely In the case where the second equipment is in and puts out the dormant states such as screen, can still be obtained in running background so that acquisition in time can be crossed User carries out exercise data caused by motor performance to the second equipment.
Specifically, for example, the white list of the operating system of user mobile phone passes through identification insertion according to corresponding protocol rule Preset data label in monitoring program determines that the monitoring program is need background program to be protected, and then can be the prison Ranging sequence distributes a corresponding demons, to protect the monitoring program in the state from the background always in operation.It is specific real Shi Shi, above-mentioned protective program usually only can consume less system resource, and monitor the operating status of monitoring program always, and It is mutually waken up with monitoring program, in case monitoring program is accidentally closed by backstage.
In the present embodiment, above-mentioned exercise data can specifically include: speed, angular speed and acceleration etc. move number According to.
In the present embodiment, whether the exercise data of above-mentioned detection second equipment it is special meet preset exercise data Sign is when it is implemented, can be by the way that whether the exercise data for detecting the second equipment is greater than preset exercise data threshold value, determination Whether preset exercise data feature is met;It is also possible to whether default rail is met by the motion profile for detecting the second equipment Mark, it is determined whether meet preset exercise data feature, wherein the motion profile of above-mentioned second equipment specifically can be by right The exercise data of second equipment carries out calculating determination.Certainly, it should be noted that above-mentioned cited implementation is one Kind schematically illustrates.When it is implemented, according to specific application scenarios second can also be detected using other suitable modes Whether the exercise data of equipment meets preset exercise data feature.In this regard, this specification is not construed as limiting.
Specifically, to detect whether the exercise data of the second equipment is greater than preset exercise data threshold value, it is determined whether symbol For closing preset exercise data feature, monitoring program can by exercise data collected and preset exercise data threshold value into Row compares, if exercise data collected is greater than above-mentioned preset exercise data threshold value, just generates triggering command.Wherein, on The threshold value for stating exercise data can require setting according to specific application scenarios and user.
For example, mobile phone can be directly picked up, in certain trigger range region when user wants to connect certain office equipment It shakes, the acceleration of at this moment monitoring program mobile phone movement collected is greater than preset exercise data threshold value, then can determine It is that user wants to connect certain equipment, and then generates triggering command.User can be effectively avoided in this way since maloperation leads to hand Machine moves and generates triggering command.For example, mobile phone with it occurs gentle agitation and generates triggering and refer to due to user's normal ambulation It enables.
By the above-mentioned means, can be effectively avoided since user misoperation causes the second equipment moving false triggering to generate touching Send instructions and carry out equipment connection, improves the accuracy and user experience of connection.
S12: according to the data packet and preset priority rule, determine that priority meets the device numbering of preset requirement The first corresponding equipment is as target device.
In the present embodiment, above-mentioned preset priority rule is specifically understood that be pre- by user or the second equipment First it is arranged, characterizes the supplemental characteristic of the corresponding relationship of each device numbering and the first priority.Pass through above-mentioned preset priority Rule can determine the first priority corresponding to the device numbering of each first equipment.Wherein, the first priority can manage It solves to be a kind of priority based on determined by certain characteristic attribute.Specifically, the first priority of device numbering is higher, institute is right The first equipment answered has higher probability by preferential attachment relative to other the first equipment.
For example, by above-mentioned preset priority rule, it can determine that the device numbering of No. 1 equipment is corresponding first excellent First grade is 3 grades, the first highest priority;Corresponding first priority of the device numbering of No. 2 equipment is 2 grades, the first preferential level It;Corresponding first priority number of the device numbering of No. 3 equipment is 1 grade, and the first priority is minimum.At this moment, based on above-mentioned excellent First grade situation, No. 1 equipment can preferentially be connect with other two equipment by the second equipment, and No. 2 equipment can be prior to No. 3 equipment by The connection of two equipment.
In one embodiment, above-mentioned preset priority rule can specifically generate in the following way: receiving and use Family operates the setting of the priority of the first equipment;The setting of the priority of the first equipment is operated according to the user, is generated The preset priority rule.
In the present embodiment, the second equipment can provide for user and show the set interface for priority to be arranged, In above-mentioned set interface, user can be accustomed to according to the routine use of oneself, the priority of the first different equipment is arranged. For example, user gets used to No. 1 printer, the icon of No. 1 printer can be dragged to the first row in set interface, by No. 2 The icon of printer is dragged to the second row, and the icon of No. 2 printers is dragged to the third line.Second equipment can acquire the above-mentioned of user Setting operation, and operated according to above-mentioned setting and determine that corresponding first priority of device numbering of No. 1 printer is 3, No. 2 printings The corresponding priority of the device numbering of machine is that the corresponding priority of device numbering of 2, No. 3 printers is 1, to obtain meeting use The preset priority rule that family requires.Certainly, the second equipment can also first show the priority list of default, user to user It can not change, directly using the priority list of the default shown as preset priority rule.
In the present embodiment, it should be noted that the generating mode of above-mentioned cited preset priority rule is only It is that one kind schematically illustrates.When it is implemented, being required according to specific application scenarios and user, can also give birth to by other means At preset priority rule that is user-friendly, meeting user's requirement.For example, it is also possible to generate in the following way default Priority rule: the second equipment obtain each first equipment in multiple first equipment location information and user position letter Breath;According to the location information of the location information of each first equipment in the multiple first equipment and the user, count respectively Each first equipment in multiple first equipment is calculated at a distance from user;According to each first in the multiple first equipment It is preferential to calculate corresponding to the device numbering of each first equipment in multiple first equipment first at a distance from user for equipment Grade (such as the first priority corresponding to the device numbering of the first equipment farthest with user distance is minimum, most with user distance First highest priority corresponding to the device numbering of the first close equipment), to obtain above-mentioned preset priority rule. Based on above-mentioned preset priority rule, the second equipment can automatically select from multiple first equipment nearest with user distance The first equipment be attached as the equipment of highest priority.It can also be according to the signal of each first device broadcasts data packet Power determines corresponding first priority, and then generates corresponding preset priority rule etc..
In the present embodiment, it is preferential that the device numbering that above-mentioned priority meets preset requirement specifically can be understood as first The device numbering of the highest priority of grade.
In the present embodiment, above-mentioned target device specifically can be understood as highest priority, and user most possibly thinks The first equipment to be connected.
In one embodiment, above-mentioned according to the data packet and preset priority rule, determine that priority meets First equipment corresponding to the device numbering of preset requirement is as target device, when it is implemented, may include the following contents:
S1: parsing the data packet, obtains the device numbering of each first equipment in multiple first equipment;
S2: according to the preset priority rule, of each first equipment in the multiple first equipment is determined One priority, wherein the preset priority rule is for characterizing corresponding first priority of each device numbering;
S3: selecting the device numbering of the first highest priority to meet the device number of preset requirement as priority, and by institute It states priority and meets the first equipment corresponding to the device numbering of preset requirement and be determined as target device.
In the present embodiment, when it is implemented, the acquired multiple data packets of parsing can be passed through in the manner described above, Obtain the facility informations such as the device numbering of each first equipment and device address in multiple first equipment;And then it can be according to each The device numbering of first equipment retrieves the preset priority rule, determines corresponding first priority of each device numbering; The equipment for choosing the device numbering of the first highest priority from multiple first priority as priority again and meeting preset requirement Number, and the first equipment corresponding to the device numbering is determined as target device.It is set to intelligence, accurately from multiple first Standby middle identification simultaneously defines the equipment that user wants connection with greater probability.
S13: according to the device address of the target device, connection request is sent to the target device, wherein the company Connect the identity information that request carries the second equipment.
In the present embodiment, the device address of above-mentioned target device specifically can be the number by broadcasting target device It is parsed according to packet.
In the present embodiment, the identity information of above-mentioned second equipment specifically can be understood as a pair of with the second equipment one It answers, the information data of the second equipment identities can be characterized.For example, specifically can be the device numbering of the second equipment, it is also possible to Account information on the second device is logined, can also be ID number of the second equipment etc..
In the present embodiment, according to the device address of the target device, connection request is sent to the target device, It, can wirelessly (such as WIFI, hand when it is implemented, may include: the second equipment after having selected target device Machine network etc.), according to the device address of target device, the connection for carrying the identity information of the second equipment is sent to target device Request.Wherein, above-mentioned connection request, which specifically can be used for request target equipment, allows to establish connection with the second equipment.It can also use The second equipment is run in request target equipment and uses certain control authority, for example, opening, closing the permission of target device.
S14: connection confirmation message is obtained, to connect the target device, wherein the connection confirmation message is the mesh What marking device was sent in the case where the identity information to second equipment is proved to be successful.
In the present embodiment, above-mentioned connection confirmation message specifically can be understood as target device and determine that sending connection asks In the case that user corresponding to the identity information for the second equipment asked or equipment have permission of the connection using the target device, The connection with the second equipment is established, return to the second equipment is used to indicate the confirmation instruction information for having completed connection.It is logical Cross above-mentioned connection confirmation message, the connection with itself that the second equipment can be established by target device, linking objective equipment, and Control uses target device.
In the present embodiment, when it is implemented, target device second is set receiving carrying for the second equipment transmission After the connection request of standby identity information, the identity information of the second equipment can be first extracted from connection request;It retrieves preset User information database determines in preset user information database with the presence or absence of the matched user information of identity information with the second equipment. When there is user information matched with the identity information of the second equipment in determining preset user information database, determination is set to second Standby identity information is proved to be successful, that is, determines that the second equipment for sending the connection request has the power that connection uses target device Limit;At this moment target device can respond above-mentioned connection request, establish the connection with the second equipment, and send and connect to the second equipment Confirmation message.When user information matched with the identity information of the second equipment being not present in determining preset user information database, It determines the authentication failed of the identity information of the second equipment, that is, determines that the second equipment for sending the connection request does not have connection and uses The permission of target device;At this moment target device refusal establishes the connection with the second equipment, and sends connection failure to the second equipment Information, to prompt the second equipment not have permission connection to use the target device.
In the present embodiment, the record that above-mentioned preset user information database specifically can be understood as pre-establishing has each The identity information of user, and register the database of the information such as the device number used and corresponding access right.
In the present embodiment, target device can also be specifically carried in above-mentioned connection confirmation message according to preset use The identity information of family information bank and the second equipment distributes to the second equipment and uses the control authority of control target device.Wherein, on It states control authority specifically and can be understood as the second equipment and controlled in the extent of competence defined by control authority and use target device Credential data.Specifically, the second equipment can use above-mentioned control authority as voucher, pass through established and target device Between connect, send corresponding control instruction, it is corresponding to be carried out in the control range defined by control authority to target device Control.
For example, determining that control authority corresponding with the identity information of the second equipment is to open according to preset user information database Open the permission of target device.Therefore, target device, which returns to, only carries unlatching permission in the connection confirmation message of the second equipment. Second equipment can use above-mentioned unlatching permission, send open command by the connection established, to control target device unlatching, But it is unable to control target device closing.
In the present embodiment, above-mentioned acquisition connects confirmation message, to connect the target device, when it is implemented, can To include the following contents: target device is established and second in the case where determination is proved to be successful the identity information of the second equipment The connection of equipment, and the connection confirmation carried for the control authority of target device is wirelessly sent to the second equipment Information;Second equipment can lead to after obtaining upper connection confirmation message according to the control authority in above-mentioned connection confirmation message It crosses above-mentioned connection and sends corresponding control instruction, the operation of target device is controlled in the extent of competence defined by control authority.
In the embodiment of the present application, compared to existing method, by elder generation according to the data packet of the first equipment and preset excellent First grade rule, determines the priority of the device numbering of each first equipment, further according to device numbering priority from multiple the Determine that user wants the equipment that connection uses and is attached control as target device in one equipment, to solve existing side The equipment that user wants connection can not be accurately determined present in method under the scene including multiple connectable devices, connection is not Enough intelligence, the technical problem of user experience difference, reach intelligently, accurately to select symbol from multiple attachable equipment automatically The equipment for sharing family requirement is attached control, improves user experience.
In one embodiment, user-friendly in order to be suitable for more complicated application environment.It is above-mentioned pre- If priority rule can generate in the following way: obtain user and the setting of the device type priority of the first equipment grasped Make, obtains the device type priority of the first equipment;The signal strength for obtaining the first device broadcasts data packet, according to signal strength Generate the individual priority of corresponding first equipment;By the device type priority of first equipment and first equipment First priority of the individual priority as the first equipment.Complete the determination of above-mentioned preset priority rule.And then subsequent the Two equipment can be according to above-mentioned preset priority rule, the device type priority of comprehensive first equipment and individual priority, It is more accurate to determine that satisfactory first equipment is attached as target device.User only needs to be simply to set in this way Good device type priority, the second equipment is subsequent voluntarily to determine individual priority with concrete condition, generate above-mentioned default Priority rule.Certainly, the embodiment of the above-mentioned cited preset priority rule of generation is that one kind is schematically said It is bright, the improper restriction to this specification should not be constituted.
Specifically, connecting office equipment there are many different types of for example, laying in advance in certain working environment, such as beat Print the two kinds of equipment of mechanical, electrical lamp.Wherein, each type equipment specifically includes again multiple equipment, such as printer packet Include: No. 1 printer, No. 2 printers, No. 3 printers, electric light include: No. 1 electric light, No. 2 electric lights.At this moment user can lead in advance The priority for crossing the second equipment setting printer is higher than the priority of electric light, i.e. the device type priority of printer is 2, electric light Device type priority be 1.Specifically, the second equipment can show root after the data packet for obtaining above-mentioned multiple first equipment According to the device numbering in data packet, the corresponding device type of each first equipment is determined, since the device type of printer is excellent First grade is the 2 device type priority (for 1) for being higher than electric light, therefore the second equipment can preferentially set device type for printer Standby first equipment, it may be assumed that No. 1 printer, No. 2 printers, No. 3 printers, the analysis for carrying out next step determine;Further, it is possible to Determine the signal strength of the data packet that No. 1 printer, No. 2 printers, No. 3 printers are broadcasted by being respectively as follows: No. 1 to weak by force and beating Print machine, No. 2 printers, No. 3 printers determine that the individual priority of No. 1 printer is higher than 2 according to the power of above-mentioned signal strength The individual priority of number printer, No. 2 printers is higher than No. 1 printer;So as to according to above-mentioned individual priority from multiple No. 1 printer is chosen to send connection request as target printer in printer.
In one embodiment, in order to more intelligently selecting the first equipment being more suitable for as target for user Equipment, when it is implemented, except facility informations such as the device numbering of the first included equipment and device addresses in above-mentioned data packet It outside, specifically can also include the second priority of the first equipment, wherein second priority is the first equipment according to default Create-rule and the first equipment current operating data generate.
In the present embodiment, the current operating data of above-mentioned first equipment specifically can be understood as setting for describing first The supplemental characteristic of standby current operating conditions or operating condition.Specifically, the current operating data of above-mentioned first equipment can be table The status data of the first equipment currently whether normal operation is levied, is also possible to characterize the currently pending task amount of the first equipment Supplemental characteristic can also be the supplemental characteristic etc. of the first equipment current residual available resources of characterization.Certainly, above-mentioned cited Current operating data is that one kind schematically illustrates.The improper restriction to this specification should not be constituted.
In the present embodiment, above-mentioned second priority is different from the first priority.Specifically, above-mentioned second priority is By the first equipment according to itself current operating situation, i.e., determined based on different from characteristic attribute based on the first priority The priority parameters arrived.Second equipment can determine the current operating conditions of the first equipment by above-mentioned second priority, thus The target device of suitable user is preferably chosen for user.
For example, No. 1 printer is not completed according to current operation data discovery there are also a large amount of print out task, it is based on 1 Number current operating status of printer, No. 1 printer are difficult to receive new print out task, and at this moment No. 1 printer can be by itself Second priority is determined as 1, i.e. lowest priority, and above-mentioned second priority is written in broadcasted data packet.No. 2 printings Machine is not completed according to current operation data discovery there are also a small amount of print out task, based on the current operation shape of No. 2 printers State, No. 2 printers can suitably receive new print out task, and at this moment No. 2 printers can determine the second priority of itself It is 2, and above-mentioned second priority is written in broadcasted data packet.No. 3 printers do not have according to current operation data discovery There is remaining print out task not complete, based on the current operating status of No. 3 printers, No. 3 printers can receive a large amount of new Print out task, at this moment the second priority of itself can be determined as 3, i.e. highest priority by No. 3 printers, and excellent by above-mentioned second First grade is written in broadcasted data packet.
In one embodiment, in order to combine the requirement of user and the current carrying out practically state of the first equipment, Intelligence accurately chooses the first equipment of most suitable user as target device for user from multiple attachable first equipment, It is above-mentioned according to the data packet and preset priority rule, determine that priority meets corresponding to the device numbering of preset requirement First equipment is as target device, when it is implemented, can also include the following contents:
S1: parsing the data packet, obtains the device numbering of each first equipment in multiple first equipment and second excellent First grade;
S2: according to the preset priority rule, of each first equipment in the multiple first equipment is determined One priority;
S3: according to first priority and second priority, determine that priority meets the equipment of preset requirement Number, and the priority is met into the first equipment corresponding to the device numbering of preset requirement and is determined as target device.
In the present embodiment, when it is implemented, the second equipment can obtain each first equipment by parsing data packet The second priority, the first priority of each first equipment is obtained by preset priority rule;And then it can integrate State two kinds of priority parameters, select the requirement that can take into account user, but can be suitable for equipment current operation conditions One equipment is as target device.Specifically, can use preset weighted value and corresponding first priority and the second priority The comprehensive priority parameter of each first equipment is calculated, then selects the maximum device numbering of comprehensive priority parameter as excellent First grade meets the device numbering of preset requirement, and says that the first equipment corresponding to the device numbering is determined as target device, carries out Preferential attachment.
For example, can determine that first priority of No. 1 equipment is 3, second according to preset priority rule and data packet Priority is 1;First priority of No. 2 equipment is 2, and the second priority is 2;First priority of No. 3 equipment is 1, and second is excellent First grade is 3.Further, according to the numerical procedure of preset comprehensive priority parameter, the first weight for the first priority is 0.4, the second weight for the second priority is 0.6.First equipment can calculate the synthesis of No. 1 equipment by weighted sum Priority parameters are as follows: 3*0.4+1*0.6=1.8;The comprehensive priority parameter of No. 2 equipment are as follows: 2*0.4+2*0.6=2;No. 3 set Standby comprehensive priority parameter are as follows: 1*0.4+3*0.6=2.2.And then it can be according to the comprehensive priority parameter of three equipment, really The device numbering of maximum No. 3 equipment of comprehensive priority parameter is determined as priority and meets the default device numbering to be gone, and by 3 Number equipment is determined as target device.
You need to add is that above-mentioned preset weight specifically can also be according to the operating parameter and user demand of the first equipment It is adjusted;Further according to weight adjusted and the first priority and the second priority of each equipment, each equipment is calculated Comprehensive priority parameter determine the target device for meeting user demand.
For example, it is desired to which the equipment for connecting control is printer, user is color beat by mobile phone remarks printing demand.According to Preset priority rule and data packet, mobile phone can determine that first priority of No. 1 equipment is 3, and the second priority is 1;No. 2 First priority of equipment is 2, and the second priority is 2;First priority of No. 3 equipment is 1, and the second priority is 3.Into one Step, mobile phone can determine that No. 1 equipment, No. 2 equipment support coloured silk to beat according to No. 1 equipment, No. 2 equipment, the operating parameter of No. 3 equipment, 3 Number equipment does not support color beat.When not considering that coloured silk beats this demand, the preset weight of mobile phone default is as follows: No. 1 equipment, No. 2 Equipment, No. 3 equipment are all 0.4 for the first weight of the first priority, and the second weight for the second priority is all 0.6. But mobile phone can be triggered and be adjusted to the preset weight of above-mentioned default after the coloured silk for receiving user's remarks beats demand.Specifically , mobile phone can will support color No. 1 equipment, the first weight, the second weight of No. 2 equipment beaten to remain unchanged, and will not support coloured silk The first weight, the second weight modification for No. 3 equipment beaten are 0.No. 1 is obtained based on preset weight calculation adjusted again to set Standby, No. 2 equipment, the comprehensive priority parameter of No. 3 equipment are respectively as follows: 1.8,2,0.And then it can determine that No. 2 equipment are to meet The target device of user demand.
Certainly, it should be noted that being determined cited by above-mentioned according to the first priority and the second priority is comprehensive preferential Grade parameter, determines that target device is that one kind is schematically illustrated further according to comprehensive priority parameter.When it is implemented, according to tool The application scenarios of body and user demand, it is also an option that being comprehensively utilized using other feasible modes above two different excellent First grade is determined for compliance with the target device of user demand.In this regard, this specification is not construed as limiting.
It can be seen from the above description that equipment connection method provided by the embodiments of the present application is compared to existing method, Data packet and preset priority rule by elder generation according to the first equipment, determine the excellent of the device numbering of each first equipment First grade determines that user wants to connect the equipment used as mesh further according to the priority of device numbering from multiple first equipment Marking device is attached control, can not under the scene including multiple connectable devices present in existing method to solve Accurately determine the equipment that user wants connection, connect not smart enough, technical problem that user experience is poor, reach can intelligently, Accurately selected automatically from multiple attachable equipment meet user requirement equipment be attached control, improve user's body It tests;The exercise data of the second equipment is acquired, further through the monitoring program of running background so as to put out the state of screen in the second equipment Lower automatic collection and according to the exercise data of the second equipment, generates triggering command, and then connect equipment, further improves user Experience;It is also current by the first priority determined by the comprehensive preset priority rule required based on user and based on equipment The priority parameters of second two kinds of dimensions of priority determined by operation data are connected to be determined for compliance with the target device of requirement Control is connect, improves user experience again.
The embodiment of the present application also provides a kind of equipment connection methods.Referring specifically to shown in Fig. 2 according to the application reality The process flow diagram for the equipment connection method that the mode of applying provides.Equipment connection method provided by the embodiments of the present application, specifically can be with Applied to the first equipment side.When it is implemented, this method may include the following contents.
S21: the connection request of the second equipment is obtained, wherein the connection request carries the identity information of the second equipment;
S22: according to preset user information database, the identity information of second equipment is verified;
S23: it in the case where the identity information to second equipment is proved to be successful, sends and connects to second equipment Confirmation message, and establish the connection with the second equipment.
In the present embodiment, obtain the second equipment connection request before, above-mentioned first equipment according to it is preset when Between be spaced, such as every 5 seconds, broadcast corresponding data packet within a preset range.Wherein, the data packet broadcasted first is set with this It is standby corresponding, including at least facility informations such as the device numberings and device address for having first equipment.
In the present embodiment, the first equipment can also acquire itself current operation data, and root in broadcast data packet Corresponding second priority is generated according to operation data, and by second priority together with above equipment number and device address etc. Facility information is as a data packet overseas broadcast together.
In the present embodiment, when it is implemented, above-mentioned second equipment can collect multiple first in preset range The data packet of equipment can determine that first equipment is target device according to the data packet and preset priority rule, and The connection request for carrying the identity information of the second equipment is sent to the equipment.Second is obtained to which the first equipment is available to set Standby connection request.
In the present embodiment, after the first equipment has acquired connection request, institute can be extracted from connection request The identity information of the second equipment carried, and the identity information of the second equipment is tested by retrieving preset user information database Card, to determine whether the second equipment for sending connection request has connection to use the permission of first equipment.Determining preset use When there is user information matched with the identity information of the second equipment in the information bank of family, the identity information of the second equipment is tested in determination It demonstrate,proves successfully, determines that the second equipment has permission connection and uses first equipment.And then can respond above-mentioned connection request, establish with Connection between second equipment, and connection confirmation message is sent to the second equipment, so that subsequent second equipment can be according to above-mentioned Confirmation message is connected, control instruction is sent by connecting between the first equipment, controls the operation of the first equipment.Wherein, above-mentioned The connection established specifically can be bluetooth connection, be also possible to WIFI connection, also to be NFC connection etc., for above-mentioned company The concrete form connect, this specification are not construed as limiting.
In at this implementation place, determine that there is no the bodies with the second equipment in preset user information database in the first equipment When the user information of part information matches, determines to the identity information authentication failed of the second equipment, determine that the second equipment does not have permission It connects and uses first equipment.Refusal establishes the connection between the second equipment, and sends connection failure letter to the second equipment Breath, to prompt the second equipment temporarily to use first equipment without permission connection.
In the present embodiment, the control for the first equipment can also be specifically carried in above-mentioned connection confirmation message Limit.When it is implemented, above-mentioned first equipment can be according to the determining identity information institute with the second equipment of preset user information database The control authority that corresponding user is enjoyed, and above-mentioned control authority is sent to the first equipment by connecting confirmation message.This The first equipment of sample can use above-mentioned control authority as authority credentials and be limited by the connection established in control authority Extent of competence in send corresponding control instruction, the first equipment is controlled.
In one embodiment, in the case where obtaining the connection request of multiple second equipment, according to preset user Information bank verifies the identity information of second equipment, when it is implemented, may include the following contents: determining multiple The receiving time of the connection request of second equipment;According to the receiving time of the connection request of the multiple second equipment, selection is connect The second equipment corresponding to the connection request of the second earliest equipment is as request equipment between time receiving;According to preset user information The identity information of the request equipment is verified in library.
In the present embodiment, if had received simultaneously from multiple and different second in some first equipment of period When the connection request that equipment is sent, the receiving time of different connection requests can be received using the first equipment as determination basis, is selected The second equipment corresponding to the earliest connection request of receiving time is selected as request equipment, to being taken in the connection request of the equipment The identity information of band is specifically verified, to improve verification efficiency.So as to there is multiple second equipment transmission connections to ask It accurately chooses the connection request of second equipment to be verified in the scene asked, is attached so as to subsequent.Certainly, above-mentioned Cited selection mode is that one kind schematically illustrates.When it is implemented, according to specific application scenarios and connection request, also The connection request of the second more appropriate equipment can be filtered out from the connection request of multiple second equipment using other modes It is verified.For example, it is also possible to which it is strongest to filter out signal strength according to the signal strength of the connection request of multiple second equipment Equipment corresponding to connection request, and then can only identity entrained by connection request to the request equipment as request equipment Information is verified.
In one embodiment, when sending connection confirmation message to second equipment, actually the first equipment is Connection is established for second, that is, has determined that the second equipment can connect and controls first equipment.At this moment in order to avoid it His user connects the equipment by the second equipment, reduces the connections of other users using conflict, and the first equipment is to send connection true After recognizing information, broadcast data packet again can be stopped, avoiding the connection of other the second equipment.
In the embodiment of the present application, compared to existing method, by obtaining and second being set according to entrained by connection request Standby identity information, it is determined whether respond the connection request of second equipment, the connection with second equipment is established, so as to second Equipment is controlled using the first equipment in which can be convenient, so that solving present in existing method is including multiple second equipment Scene under can not identify be determined to connection use the first equipment the second equipment the technical issues of.
The embodiment of the present application also provides a kind of equipment connection method, specifically can be applied to include multiple first equipment and In the system architecture of multiple second equipment, wherein the multiple first equipment is preset in above system framework.Specific implementation When, this method may include the following contents.
S1: each first equipment in multiple first equipment distinguishes broadcast data packet within a preset range, wherein the number It is included at least according to packet: the device numbering of the first equipment and device address;
S2: the second equipment responds triggering command, obtains the data packet of multiple first device broadcasts in preset range;
S3: the second equipment determines that priority meets preset requirement according to the data packet and preset priority rule The first equipment is as target device corresponding to device numbering;
S4: the second equipment sends connection request to the target device according to the device address of the target device, In, the connection request carries the identity information of the second equipment;
S5: target device obtains the connection request of the second equipment;
S6: target device verifies the identity information of second equipment according to preset user information database;
S7: target device is in the case where the identity information to second equipment is proved to be successful, to second equipment Connection confirmation message is sent, and establishes the connection with the second equipment, and establishes the connection with the second equipment, wherein the connection Confirmation message carries the control authority for target device;
S8: the second equipment obtains the connection confirmation message, and according to the control authority by the connection, described The control target device in extent of competence defined by control authority.
By the above-mentioned means, being adapted to includes that multiple first equipment, multiple second equipment etc. are relatively complicated Application scenarios, realize and be suitble to the equipment of user to be attached control in multiple connectable devices automatically, raising user's body It tests.
Based on the same inventive concept, a kind of equipment connecting device is additionally provided in the embodiment of the present invention, such as following implementation Described in example.Since the principle that equipment connecting device solves the problems, such as is similar to equipment connection method, the reality of equipment connecting device The implementation that may refer to equipment connection method is applied, overlaps will not be repeated.It is used below, term " unit " or " mould The combination of the software and/or hardware of predetermined function may be implemented in block ".Although device described in following embodiment is preferably with soft Part is realized, but the realization of the combination of hardware or software and hardware is also that may and be contemplated.It please refers to shown in Fig. 3, Be a kind of composite structural diagram of equipment connecting device provided by the embodiments of the present application, which can specifically include: first obtains Module 31, determining module 32, sending module 33 and second obtain module 34, and the structure is specifically described below.
First obtains module 31, specifically can be used for responding triggering command, obtains multiple first equipment in preset range The data packet of broadcast, wherein the data packet includes at least: the device numbering of the first equipment and device address;
Determining module 32 specifically can be used for determining that priority accords with according to the data packet and preset priority rule The first equipment corresponding to the device numbering of preset requirement is closed as target device;
Sending module 33 specifically can be used for the device address according to the target device, send to the target device Connection request, wherein the connection request carries the identity information of the second equipment;
Second obtains module 34, specifically can be used for obtaining connection confirmation message, wherein the connection confirmation message is institute State what target device was sent in the case where the identity information to second equipment is proved to be successful.
In one embodiment, the connection confirmation message can also specifically carry the control for the target device Permission processed etc..
In one embodiment, described device can also include specifically control module, specifically can be used for according to Connect control authority entrained by confirmation message, control target device operation.
In one embodiment, described device can also include specifically generation module, for generating triggering command.Its In, above-mentioned generation module according to following procedure when it is implemented, can execute: acquire second by the monitoring program of running background The exercise data of equipment;Whether the exercise data for detecting second equipment meets preset exercise data feature;Determining State the second equipment exercise data meet preset exercise data feature in the case where, generate triggering command.
In one embodiment, above-mentioned determining module 32 is when it is implemented, may include following structural unit:
Resolution unit specifically can be used for parsing the data packet, obtain each first equipment in multiple first equipment Device numbering;
First determination unit specifically can be used for determining that the multiple first sets according to the preset priority rule First priority of each first equipment in standby, wherein the preset priority rule is for characterizing each device numbering Corresponding first priority;
First selecting unit specifically can be used for that the device numbering of the first highest priority is selected to meet as priority pre- If it is required that device number, and the priority is met into the first equipment corresponding to the device numbering of preset requirement and is determined as target Equipment.
In one embodiment, the preset priority rule is specifically generated according to following procedure: receiving user couple The setting of the priority of first equipment operates;The setting of the priority of the first equipment is operated according to the user, described in generation Preset priority rule.
In one embodiment, the data packet specifically can also include the second priority of the first equipment, wherein institute Stating the second priority is that the first equipment is generated according to preset create-rule and the current operating data of the first equipment.
In one embodiment, above-mentioned determining module 32 is when it is implemented, can also include following structural unit::
Resolution unit specifically can be used for parsing the data packet, obtain each first equipment in multiple first equipment Device numbering and the second priority;
First determination unit specifically can be used for determining that the multiple first sets according to the preset priority rule First priority of each first equipment in standby;
Second selecting unit specifically can be used for being determined excellent according to first priority and second priority First grade meets the device numbering of preset requirement, and the priority is met corresponding to the device numbering of preset requirement first and is set It is standby to be determined as target device.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.
It should be noted that system, device, module or unit that above embodiment illustrates, it specifically can be by computer Chip or entity are realized, or are realized by the product with certain function.For convenience of description, in the present specification, it retouches It is divided into various units when stating apparatus above with function to describe respectively.It certainly, when implementing the application can be the function of each unit It realizes in the same or multiple software and or hardware.
In addition, in the present specification, such as adjective as first and second can be only used for an element or move Make to distinguish with another element or movement, without requiring or implying any actual this relationship or sequence.Permit in environment Perhaps in the case where, it should not be interpreted as limited to one in only element, component or step referring to element or component or step (s) It is a, and can be the one or more etc. in element, component or step.
It can be seen from the above description that equipment connecting device provided by the embodiments of the present application, passes through determining module elder generation According to the data packet of the first equipment and preset priority rule, the priority of the device numbering of each first equipment is determined, Determine that user wants the equipment that connection uses and sets as target from multiple first equipment further according to the priority of device numbering It is standby, and then connection request is sent by sending module, control is attached to target device, it is deposited to solve in existing method Include multiple connectable devices scene under can not accurately determine user want connection equipment, connect inadequate intelligence Can, the technical problem of user experience difference, reach can intelligently, accurately selected automatically from multiple attachable equipment and meet use The equipment that family requires is attached control, improves user experience.
The embodiment of the present application also provides a kind of electronic equipment, can specifically be implemented refering to shown in Fig. 4 based on the application The electronic equipment composed structure schematic diagram for the equipment connection method that example provides, the electronic equipment can specifically include input equipment 41, processor 42, memory 43.Wherein, the input equipment 41 specifically can be used for responding triggering command, obtain preset range The data packet of interior multiple first device broadcasts, wherein the data packet includes at least: the device numbering and equipment of the first equipment Address.The processor 42 specifically can be used for determining that priority meets according to the data packet and preset priority rule The first equipment is as target device corresponding to the device numbering of preset requirement;According to the device address of the target device, to The target device sends connection request, wherein the connection request carries the identity information of the second equipment;It is true to obtain connection Recognize information, wherein the connection confirmation message is that the target device is proved to be successful in the identity information to second equipment In the case where send, so that the connection completed with target device is established.The memory 43 specifically can be used for setting through inputting The program instruction when broadcast data packet and processor 42 of standby 41 input execute.
In the present embodiment, the input equipment, which specifically can be, carries out information exchange between user and computer system One of main device.The input equipment may include keyboard, mouse, camera, scanner, light pen, writing input board, language Sound input unit etc.;Input equipment is used to initial data be input in computer with the programs for handling these numbers.The input Equipment, which can also obtain, receives the data that other modules, unit, equipment transmit.The processor can be by any appropriate Mode is realized.For example, processor can take such as microprocessor or processor and storage that can be executed by (micro-) processor Computer readable program code (such as software or firmware) computer-readable medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable logic controller (PLC) and insertion microcontroller Form etc..The storage implement body can be in modern information technologies for protecting stored memory device.The storage Device may include many levels, in digital display circuit, as long as can save binary data can be memory;In integrated electricity The circuit with store function of Lu Zhong, a not no physical form are also memory, such as RAM, FIFO;In systems, have There is the storage equipment of physical form to be also memory, such as memory bar, TF card.
In the present embodiment, the function and effect of electronic equipment specific implementation, can compare with other embodiment It explains, details are not described herein.
The embodiment of the present application also provides a kind of computer storage medium based on equipment connection method, the computer is deposited Storage media is stored with computer program instructions, is performed realization in the computer program instructions: response triggering command obtains The data packet of multiple first device broadcasts in preset range, wherein the data packet includes at least: the equipment of the first equipment is compiled Number and device address;According to the data packet and preset priority rule, determine that priority meets the equipment volume of preset requirement The first equipment corresponding to number is as target device;According to the device address of the target device, sent to the target device Connection request, wherein the connection request carries the identity information of the second equipment;Connection confirmation message is obtained, to connect State target device, wherein the connection confirmation message is the target device in the identity information verifying to second equipment It is sent in successful situation.
In the present embodiment, above-mentioned storage medium includes but is not limited to random access memory (Random Access Memory, RAM), read-only memory (Read-Only Memory, ROM), caching (Cache), hard disk (Hard Disk Drive, HDD) or storage card (Memory Card).The memory can be used for storing computer program instructions.Network is logical Letter unit can be according to standard setting as defined in communication protocol, for carrying out the interface of network connection communication.
In the present embodiment, the function and effect of the program instruction specific implementation of computer storage medium storage, can To compare explanation with other embodiment, details are not described herein.
In a specific implementation Sample Scenario, connection method and device side can be set using the offer of the embodiment of the present application Just, the attachable Intelligent office equipment in Administrative Area is efficiently connected.Specific implementation process, can be refering to the following contents.
In more large-scale Administrative Area, it can lay that (i.e. multiple first sets there are many shared smart machine in advance It is standby).For the convenience used, mobile terminal (i.e. the second equipment) is often used as controller, is uniformly controlled various smart machines.
Specifically, above-mentioned mobile terminal M can be mobile phone, it is used as and moves there may be more mobile phones in above-mentioned Administrative Area Terminal is denoted as respectively: M1, M2...Mn etc., and the smart machine A being laid in above-mentioned Administrative Area can be intelligent electronic lock, Smart machine B can be intelligence printer.Since above-mentioned application scenarios are more large-scale indoor office region, it is above-mentioned May exist more smart machine A (i.e. multiple and different intelligent electronic locks) in Administrative Area, is denoted as respectively: A1, A2...An;And it there are more smart machine B (i.e. multiple and different intelligence printer), is denoted as respectively: B1, B2...Bn.On State in smart machine A and smart machine B that each specific equipment can be by certain time interval broadcast transmission data packet.At this moment, APP (i.e. monitoring program) on user mobile phone M is in background operation state, and mobile phone is in screen lock state.Mobile phone M can be by upper The motion state (obtaining the exercise data of mobile phone) for stating APP monitoring mobile phone, is touched in the state of the lock screen according to mobile phone motion state Hair connection controls corresponding smart machine.For example, controlling intelligent electronic lock A for connection, connection control door can be shown as Lock is unlocked;Intelligence printer B is controlled for connection, connection control printer can be shown as and print the file cached.
When it is implemented, connecting in a Sample Scenario using equipment provided by the embodiments of the present application refering to shown in fig. 5 Connect flow diagram of the method and apparatus based on smart machine side and it is shown in fig. 6 in a Sample Scenario using the application The flow diagram of equipment connection method and device based on terminal device side that embodiment provides, smart machine can be according to one It fixes time to be spaced and sends broadcast data packet (broadcasting respective data packet);Mobile terminal is in screen lock state, by backstage The APP sequential monitoring of operation be moved to running of mobile terminal state change (such as exercise data be greater than preset exercise data Threshold value), start the smart machine around scanning, receives the data (packet) of broadcast.(preset priority rule) is from multiple intelligence again The smart machine (i.e. target device) of a highest priority can be chosen to initiate the connection (i.e. transmission connection request) in equipment.Intelligence Equipment receives connection request, and obtains the identification information (i.e. identity information) of terminal device, controls determining that terminal device has When permission, (by connecting confirmation message) gives terminal device control.Terminal device obtains above-mentioned control, by being established Connection send instruction, control smart machine.
Equipment connection method provided by the embodiments of the present application and device are applied in a Sample Scenario refering to shown in Fig. 7 A kind of flow diagram, terminal device can first judge whether multiple equipment belongs to together when scanning is to multiple smart machines A kind of equipment can generate each when determining that multiple equipment belongs to same class equipment according to the signal strength for receiving data packet The priority (generating preset priority rule) of a equipment, the equipment for selecting highest priority send connection request.In determination When multiple equipment is not belonging to same class equipment, it can detecte whether user is previously provided with priority for device type, such as Fruit has, then first determines the higher device type of priority according to the type priority grade of user setting, then higher from device type Equipment in the strongest equipment of selected signal intensity initiated the connection as the equipment of highest priority.Determining that multiple equipment do not belong to It when same class equipment, and does not detect the case where user is previously provided with the priority for device type, receives user The priority chosen manually, the equipment for choosing highest priority according to the user's choice initiate the connection.
Equipment connection method provided by the embodiments of the present application and device are applied in a Sample Scenario refering to shown in Fig. 8 Another flow diagram can be according to receiving connecing for connection request when smart machine receives multiple connection requests The priority of connection request is determined between time receiving, and then it is higher that the forward connection request of receiving time can be determined as to priority, To receive the connection request of the mobile terminal of highest priority.
Based on above scheme, in first application scenarios, if there was only 1 mobile phone, 1 smart electronics in Administrative Area Door lock, and the identification information (i.e. identity information) of the mobile phone has the permission for opening door lock.When user shakes mobile phone, mobile phone APP monitors that the motion state of mobile phone is changed, around (triggering command can be generated, and respond triggering command) scanning (i.e. preset range) available smart machine (i.e. the first equipment) obtains the data packet of smart machine broadcast, and according to data packet In device address, find the electronic lock broadcasted and send connection request.Electronic lock is in the identification letter for determining mobile phone Connection is established after breath confirmation is errorless, and (connecting confirmation message by returning) gives control.User can be controlled by mobile phone Electronic lock is unlocked.
Based on above scheme, in second application scenarios, if there was only 2 mobile phones, 1 smart electronics in Administrative Area Door lock, and the identification information of 2 mobile phones all has the permission for opening door lock.Mobile phone M1 first shakes, and (the i.e. connection of M1 is shaken after M2 The receiving time of connection request of the receiving time of request earlier than M2), intelligent electronic lock no connection for having handled M1 it Before be not responding to the connection request of M2.If M1, M2 shake simultaneously, (i.e. connection of the receiving time of the connection request of M1 equal to M2 is asked The receiving time asked), then connection one of them can be established with random response according to preset rules intelligent electronic lock.
There was only 1 mobile phone, 2 intelligent electronics in Administrative Area in the application of third scene based on above scheme Lock, and the identification information of the mobile phone has the permission for opening 2 door locks.When user shakes mobile phone, cell phone application scanning is to 2 door locks of broadcast data packet.At this moment user mobile phone can be ranked up according to the wireless signal strength of the data packet received (generating preset priority) issues connection request to the strongest intelligent electronic lock of signal (i.e. the first highest priority).
Based on above scheme, in the 4th application scenarios, there was only 1 mobile phone, 1 intelligent electronic in Administrative Area Lock, 1 intelligence printer, and the identification information of mobile phone have the permission for opening intelligent electronic lock and intelligence printer, intelligence The data to be printed such as have in printer caching.At this moment cell phone application is (according in intelligence printer and the data packet of electronic lock Two priority) determine that the priority of intelligence printer is higher than intelligent electronic lock.It, can be preferentially to intelligence when user shakes mobile phone It can printer sending connection request.Intelligence printer printing finishes, and waits data to be printed for sky, and intelligence printer can be suspended Broadcast.User, which shakes mobile phone again and can only scan, acquires intelligent electronic lock data packet, can only send out to intelligent electronic lock Connection request is sent, door lock is opened in successful connection.
By above-mentioned Sample Scenario, equipment connection method provided by the embodiments of the present application and device are demonstrated, first root is passed through Data packet and preset priority rule according to the first equipment determine the priority of the device numbering of each first equipment, then Determine that user wants to connect the equipment used as target device from multiple first equipment according to the priority of device numbering It is attached control, solving really can not be accurately under the scene including multiple connectable devices present in existing method It determines that user wants the equipment of connection, connects technical problem not smart enough, user experience is poor, reaching can intelligently, accurately Selected automatically from multiple attachable equipment meet user requirement equipment be attached control, improve user experience.
Although mentioning different specific embodiments in teachings herein, the application is not limited to be industry Situation described in standard or embodiment etc., certain professional standards or the implementation base described using customized mode or embodiment On plinth embodiment modified slightly also may be implemented above-described embodiment it is identical, it is equivalent or it is close or deformation after it is anticipated that Implementation result.It, still can be with using these modifications or the embodiment of deformed data acquisition, processing, output, judgment mode etc. Belong within the scope of the optional embodiment of the application.
Although this application provides the method operating procedure as described in embodiment or flow chart, based on conventional or noninvasive The means for the property made may include more or less operating procedure.The step of enumerating in embodiment sequence is only numerous steps One of execution sequence mode, does not represent and unique executes sequence.It, can when device or client production in practice executes To execute or parallel execute (such as at parallel processor or multithreading according to embodiment or method shown in the drawings sequence The environment of reason, even distributed data processing environment).The terms "include", "comprise" or its any other variant are intended to contain Lid non-exclusive inclusion, so that process, method, product or equipment including a series of elements are not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, product or equipment Intrinsic element.In the absence of more restrictions, be not precluded include the process, method of the element, product or There is also other identical or equivalent elements in person's equipment.
Device that above-described embodiment illustrates or module etc. can specifically realize by computer chip or entity, or by having There is the product of certain function to realize.For convenience of description, it is divided into various modules when description apparatus above with function to retouch respectively It states.Certainly, the function of each module can be realized in the same or multiple software and or hardware when implementing the application, The module for realizing same function can be realized by the combination of multiple submodule etc..Installation practice described above is only Schematically, for example, the division of the module, only a kind of logical function partition, can there is other draw in actual implementation The mode of dividing, such as multiple module or components can be combined or can be integrated into another system, or some features can be ignored, Or it does not execute.
It is also known in the art that other than realizing controller in a manner of pure computer readable program code, it is complete Entirely can by by method and step carry out programming in logic come so that controller with logic gate, switch, specific integrated circuit, programmable Logic controller realizes identical function with the form for being embedded in microcontroller etc..Therefore this controller is considered one kind Hardware component, and the structure that the device for realizing various functions that its inside includes can also be considered as in hardware component.Or Person even, can will be considered as realizing the device of various functions either the software module of implementation method can be hardware again Structure in component.
The application can describe in the general context of computer-executable instructions executed by a computer, such as program Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, group Part, data structure, class etc..The application can also be practiced in a distributed computing environment, in these distributed computing environments, By executing task by the connected remote processing devices of communication network.In a distributed computing environment, program module can To be located in the local and remote computer storage media including storage equipment.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can It realizes by means of software and necessary general hardware platform.Based on this understanding, the technical solution essence of the application On in other words the part that contributes to existing technology can be embodied in the form of software products, the computer software product It can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that a computer equipment (can be personal computer, mobile terminal, server or the network equipment etc.) executes each embodiment of the application or implementation Method described in certain parts of example.
Each embodiment in this specification is described in a progressive manner, the same or similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.The application can be used for crowd In mostly general or special purpose computing system environments or configuration.Such as: personal computer, server computer, handheld device or Portable device, laptop device, multicomputer system, microprocessor-based system, set top box, programmable electronics set Standby, network PC, minicomputer, mainframe computer, distributed computing environment including any of the above system or equipment etc..
Although depicting the application by embodiment, it will be appreciated by the skilled addressee that the application there are many deformation and Variation is without departing from spirit herein, it is desirable to which appended embodiment includes these deformations and changes without departing from the application.

Claims (12)

1. a kind of equipment connection method characterized by comprising
Triggering command is responded, obtains the data packet of multiple first device broadcasts in preset range, wherein the data packet is at least It include: device numbering and the device address of the first equipment;
According to the data packet and preset priority rule, determine that priority meets corresponding to the device numbering of preset requirement First equipment is as target device;
According to the device address of the target device, connection request is sent to the target device, wherein the connection request is taken Identity information with the second equipment;
Connection confirmation message is obtained, to connect the target device, wherein the connection confirmation message is that the target device exists It is sent in the case where being proved to be successful to the identity information of second equipment.
2. the method according to claim 1, wherein the connection confirmation message is also carried for the target The control authority of equipment.
3. according to the method described in claim 2, it is characterized in that, obtain connect confirmation message after, the method also includes:
According to control authority entrained by the connection confirmation message, target device operation is controlled.
4. the method according to claim 1, wherein before responding triggering command, the method also includes:
The exercise data of the second equipment is acquired by the monitoring program of running background;
Whether the exercise data for detecting second equipment meets preset exercise data feature;
In the case where determining that the exercise data of second equipment meets preset exercise data feature, triggering command is generated.
5. the method according to claim 1, wherein according to the data packet and preset priority rule, really Determine priority and meet the first equipment corresponding to the device numbering of preset requirement as target device, comprising:
The data packet is parsed, the device numbering of each first equipment in multiple first equipment is obtained;
According to the preset priority rule, determine that first of each first equipment in the multiple first equipment is preferential Grade, wherein the preset priority rule is for characterizing corresponding first priority of each device numbering;
The device numbering of the first highest priority is selected to meet the device number of preset requirement as priority, and by the priority Meet the first equipment corresponding to the device numbering of preset requirement and is determined as target device.
6. according to the method described in claim 5, it is characterized in that, the preset priority rule is given birth in the following way At:
User is received to operate the setting of the priority of the first equipment;
The setting of the priority of the first equipment is operated according to the user, generates the preset priority rule.
7. the method according to claim 1, wherein the data packet further includes the second preferential of the first equipment Grade, wherein second priority is that the first equipment is raw according to preset create-rule and the current operating data of the first equipment At.
8. the method according to the description of claim 7 is characterized in that according to the data packet and preset priority rule, really Determine priority and meet the first equipment corresponding to the device numbering of preset requirement as target device, further includes:
The data packet is parsed, the device numbering and the second priority of each first equipment in multiple first equipment are obtained;
According to the preset priority rule, determine that first of each first equipment in the multiple first equipment is preferential Grade;
According to first priority and second priority, determine that priority meets the device numbering of preset requirement, and The priority is met into the first equipment corresponding to the device numbering of preset requirement and is determined as target device.
9. a kind of equipment connection method characterized by comprising
Obtain the connection request of the second equipment, wherein the connection request carries the identity information of the second equipment;
According to preset user information database, the identity information of second equipment is verified;
In the case where the identity information to second equipment is proved to be successful, connection confirmation letter is sent to second equipment Breath, and establish the connection with the second equipment.
10. according to the method described in claim 9, it is characterized in that, the case where obtaining the connection request of multiple second equipment Under, according to preset user information database, the identity information of second equipment is verified, comprising:
Determine the receiving time of the connection request of multiple second equipment;
According to the receiving time of the connection request of the multiple second equipment, the connection for the second equipment for selecting receiving time earliest The second corresponding equipment of request is as request equipment;
According to preset user information database, the identity information of the request equipment is verified.
11. according to the method described in claim 9, it is characterized in that, to second equipment send connection confirmation message after, The method also includes: data packet of going off the air.
12. a kind of equipment connecting device characterized by comprising
First obtains module, for responding triggering command, obtains the data packet of multiple first device broadcasts in preset range, In, the data packet includes at least: the device numbering of the first equipment and device address;
Determining module, for determining that priority meets setting for preset requirement according to the data packet and preset priority rule The first corresponding equipment of standby number is as target device;
Sending module sends connection request to the target device for the device address according to the target device, wherein The connection request carries the identity information of the second equipment;
Second obtains module, for obtaining connection confirmation message, wherein the connection confirmation message is the target device right What the identity information of second equipment was sent in the case where being proved to be successful.
CN201811180269.7A 2018-10-10 2018-10-10 Equipment connection method and device Active CN109274563B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811180269.7A CN109274563B (en) 2018-10-10 2018-10-10 Equipment connection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811180269.7A CN109274563B (en) 2018-10-10 2018-10-10 Equipment connection method and device

Publications (2)

Publication Number Publication Date
CN109274563A true CN109274563A (en) 2019-01-25
CN109274563B CN109274563B (en) 2021-12-31

Family

ID=65196340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811180269.7A Active CN109274563B (en) 2018-10-10 2018-10-10 Equipment connection method and device

Country Status (1)

Country Link
CN (1) CN109274563B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343058A (en) * 2020-02-07 2020-06-26 北京小米移动软件有限公司 Device control method, device, control device and storage medium
CN111857835A (en) * 2020-07-23 2020-10-30 珠海优特物联科技有限公司 Signal processing method and device, smart card and readable storage medium
CN113115297A (en) * 2021-03-22 2021-07-13 联想(北京)有限公司 Information processing method and device based on UWB, equipment and storage medium
CN113438264A (en) * 2020-03-23 2021-09-24 未来穿戴技术有限公司 Wearable massage instrument connection method and device, computer equipment and storage medium
CN113438260A (en) * 2020-03-23 2021-09-24 未来穿戴技术有限公司 Connection method and device of wearable massage instrument, computer equipment and storage medium
WO2022042460A1 (en) * 2020-08-24 2022-03-03 华为技术有限公司 Device connection method, and electronic device
WO2022237704A1 (en) * 2021-05-08 2022-11-17 广州视源电子科技股份有限公司 Device connection method and apparatus, and device and storage medium
WO2023273639A1 (en) * 2021-07-02 2023-01-05 Oppo广东移动通信有限公司 Device connection method and apparatus, and computer-readable medium and electronic device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002102019A2 (en) * 2001-04-20 2002-12-19 3Com Corporation Network management device and method for managing wireless access to a network
CN103546941A (en) * 2012-07-11 2014-01-29 大陆汽车系统公司 Bluetooth phone reconnection strategy
CN103560814A (en) * 2013-10-31 2014-02-05 宇龙计算机通信科技(深圳)有限公司 Method for pairing Bluetooth devices and Bluetooth devices
CN104010351A (en) * 2013-02-21 2014-08-27 三星电子株式会社 Method and apparatus for connecting short-range wireless communication in terminal
CN104144470A (en) * 2014-03-12 2014-11-12 腾讯科技(深圳)有限公司 Bluetooth connection method and client side
CN104796500A (en) * 2015-03-20 2015-07-22 广东欧珀移动通信有限公司 Terminal and intelligent equipment connecting method and device
CN105472771A (en) * 2014-09-12 2016-04-06 小米科技有限责任公司 Wireless connection method and device
CN105827668A (en) * 2015-01-04 2016-08-03 北京海尔广科数字技术有限公司 Connecting method and connecting system for thin client device and access device
CN108616586A (en) * 2018-04-20 2018-10-02 上海思愚智能科技有限公司 A kind of communication means and intelligence module of intelligence module

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002102019A2 (en) * 2001-04-20 2002-12-19 3Com Corporation Network management device and method for managing wireless access to a network
CN103546941A (en) * 2012-07-11 2014-01-29 大陆汽车系统公司 Bluetooth phone reconnection strategy
CN104010351A (en) * 2013-02-21 2014-08-27 三星电子株式会社 Method and apparatus for connecting short-range wireless communication in terminal
CN103560814A (en) * 2013-10-31 2014-02-05 宇龙计算机通信科技(深圳)有限公司 Method for pairing Bluetooth devices and Bluetooth devices
CN104144470A (en) * 2014-03-12 2014-11-12 腾讯科技(深圳)有限公司 Bluetooth connection method and client side
CN105472771A (en) * 2014-09-12 2016-04-06 小米科技有限责任公司 Wireless connection method and device
CN105827668A (en) * 2015-01-04 2016-08-03 北京海尔广科数字技术有限公司 Connecting method and connecting system for thin client device and access device
CN104796500A (en) * 2015-03-20 2015-07-22 广东欧珀移动通信有限公司 Terminal and intelligent equipment connecting method and device
CN108616586A (en) * 2018-04-20 2018-10-02 上海思愚智能科技有限公司 A kind of communication means and intelligence module of intelligence module

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343058A (en) * 2020-02-07 2020-06-26 北京小米移动软件有限公司 Device control method, device, control device and storage medium
CN113438264A (en) * 2020-03-23 2021-09-24 未来穿戴技术有限公司 Wearable massage instrument connection method and device, computer equipment and storage medium
CN113438260A (en) * 2020-03-23 2021-09-24 未来穿戴技术有限公司 Connection method and device of wearable massage instrument, computer equipment and storage medium
CN113438260B (en) * 2020-03-23 2023-06-27 未来穿戴技术有限公司 Connection method and device of wearable massage instrument, computer equipment and storage medium
CN111857835A (en) * 2020-07-23 2020-10-30 珠海优特物联科技有限公司 Signal processing method and device, smart card and readable storage medium
WO2022042460A1 (en) * 2020-08-24 2022-03-03 华为技术有限公司 Device connection method, and electronic device
CN113115297A (en) * 2021-03-22 2021-07-13 联想(北京)有限公司 Information processing method and device based on UWB, equipment and storage medium
CN113115297B (en) * 2021-03-22 2023-01-17 联想(北京)有限公司 Information processing method and device based on UWB, equipment and storage medium
WO2022237704A1 (en) * 2021-05-08 2022-11-17 广州视源电子科技股份有限公司 Device connection method and apparatus, and device and storage medium
WO2023273639A1 (en) * 2021-07-02 2023-01-05 Oppo广东移动通信有限公司 Device connection method and apparatus, and computer-readable medium and electronic device

Also Published As

Publication number Publication date
CN109274563B (en) 2021-12-31

Similar Documents

Publication Publication Date Title
CN109274563A (en) Equipment connection method and device
CN106448658B (en) The sound control method and intelligent domestic gateway of smart home device
CN104609270B (en) A kind of intelligent elevator control system and method
CN104885406B (en) For the method and apparatus in domestic network system medium-long range control household equipment
CN108920116A (en) Throw control method, device, equipment and the storage medium of screen equipment
WO2018010533A1 (en) Device control system, method and apparatus, and gateway
CN103473826B (en) Register method, system and server automatically in a kind of classroom based on wifi
CN112242980B (en) Screen projection method and device
KR20130116107A (en) Apparatus and method for remote controlling terminal
CN110475273A (en) Mesh network-building method and device for Mesh networking
CN110166439B (en) Equipment sharing method, terminal, router and server
CN110049496A (en) A kind of method for network access and mobile terminal
CN106415501A (en) Companion application for activity cooperation
CN103312573A (en) Household network system equipment discovery and recognition protocol
CN106657203A (en) Dynamic resource management system and method thereof
CN104363304A (en) System and method for inquiring squatting positions in public toilet
CN108390921A (en) The system and method for providing sensing data to electronic equipment
CN110418188A (en) The quick intelligent terminal for throwing screen and method
CN111161522B (en) Method for processing remote control data, storage medium, computer device and remote control system
CN106612291A (en) Net bar Internet surfing method and system
CN105940672A (en) Detecting patterns traced on a screen of a user device
CN115460469A (en) Multi-video playing processing method and device, computer equipment and storage medium
CN108829481A (en) The rendering method of remote interface based on controlling electronic devices
CN109599100B (en) Interactive electronic equipment control system, interactive electronic equipment and control method thereof
CN109766050A (en) Fingerprint identification method, terminal and computer readable storage medium

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
GR01 Patent grant
GR01 Patent grant